10-2 HP PCL Macro Commands and Programming Hints
When a macro is executed, the macro starts its routine using the modified print environ-
ment. Any parameter changes made during the execution are recorded in the modified print
environment. The changes remain after the macro routine has finished execution.
When a macro is called, the macro starts its routine using the modified print environment.
Any parameter changes made during the call are recorded in the modified print environ-
ment but the changes do not remain after the call is completed. The previously existing
modified print environment is restored.
When a macro is invoked for automatic overlay, the macro routine will be the final opera-
tion each time a page is printed. Before the macro is executed, the current modified print
environment is recorded and replaced by the overlay print environment.
The overlay print environment is a combination of the user default and current modified
print environments. Any parameter changes made during a macro overlay are recorded in
the modified print environment. The changes do not remain after the overlay routine is
complete. The previously existing modified is restored.
The overlay environment uses the current settings for the following parameters (all other
parameters are set to the user default values):
Page Length
Paper source
Page size
Number of copies
Orientation
Cursor position stack.
NOTE:
The current active print position is not
part of the modified print environment. Cursor
position is neither saved when a macro is in-
voked or restored after the routine has finished.
Use the push/pop cursor position escape se-
quence to save and recall a cursor position.
TEMPORARY/PERMANENT MACROS
A macro is automatically defined as temporary, and deleted from user memory during a
printer reset. You can designate a macro to be permanent so it will not be deleted during a
printer reset. Macro status is designated through a sequence that references the macro ID
number.
Содержание Intellibar M412
Страница 115: ...9 2 HP PCL Graphics Commands Figure 9 1 Star Shaped Raster Image...
Страница 122: ...HP PCL Graphics Commands 9 9 Figure 9 4 Example of Raster Graphic Image Data...
Страница 126: ...HP PCL Graphics Commands 9 13 Figure 9 6 Shading Levels...
Страница 127: ...9 14 HP PCL Graphics Commands Figure 9 7 Fill Patterns...