ESC!b#Z
where # is a number that enables/disables printing of leading zeroes in incrementing fields
as follows:
0
Disable (default). Use spaces as placeholders. When the field value is zero, the
final zero is not suppressed.
1
Enable (use zeroes as placeholders).
In addition, the following standard PCL macro commands must be used:
Specify Macro ID
ESC&f0Y
027 038 102 # 089
Start Macro Definition
ESC&f0X
027 038 102 048 088
Stop Macro Definition
ESC&f1X
027 038 102 049 088
Enable Macro for Automatic Overlay
ESC&f4X
027 038 102 052 088
The application must specify the Macro ID (see Section 10), download the entire page into
the macro, enable the macro for automatic overlay, set the copy count, and issue a form
feed. The first copy of the page will print the macro exactly as downloaded. Subsequent
copies will print with appropriately modified incrementing or decrementing fields within
the macro. Incrementing/decrementing fields is limited to 20 characters each, and the
number of auto-incrementing fields is limited to 10 per page.
IntelliBar M Series Extensions to HP PCL Commands
2-13