HP (Hewlett-Packard) PCL Photo Scanner User Manual


 
12-8 Macros EN
ROM-Based Macros
Macros can be supplied in ROM (read only memory), such as custom
macro cartridges or on SIMM modules. The following considerations
apply to all ROM-based macros.
z ROM-based macros include the macro ID numbers for their
macros. These numbers cannot be changed. It is possible for
a downloaded macro to be assigned the same ID number as
a ROM macro. If this occurs, the downloaded macro has
precedence. To access the ROM macro, the downloaded
macro must be deleted.
z The ID numbers for ROM-based macros range from 0-32767.
z In case of conflicting ID numbers in ROM-based macros, the
following priorities apply:
1 Cartridge macros. (In printers that have two cartridge slots,
one cartridge has priority over the other. This priority
depends on the printer. Refer to Appendix E of the PCL 5
Comparison Guide for the macro cartridge priority.)
2 SIMM macros. SIMM 1=highest, then SIMM 2, etc.
Example
To define a macro with an ID of 7, send:
E
C
&f7y0X
z
z
z
escape sequences, control codes, and data
z
z
z
To stop the macro definition, send:
E
C
&f1X
To make the macro with an ID of 7 permanent, send:
E
C
&f7y10X