Printronix LQH-HWTM Printer User Manual


 
66
Chapter 2 Command Codes
Supplying Dynamic Data for Incremental Fields
Incremental dynamic data fields are created in the Create Form mode using
the incremental alphanumeric or bar code commands. The incremental
dynamic data itself is supplied during the Execute Form mode at the top of the
form prior to any overlay data. The incremental dynamic data (either
alphanumeric or bar code data) can be changed with each new batch of
forms. Incremental dynamic data fields specified in the Create Form mode will
not appear on the form if corresponding incremental dynamic data is not
supplied in the Execute Form mode.
Format For incremental dynamic alphanumeric data:
(cc)IAF
n
; [
idir
]
STEPMASK
; [RPT
n
;] [RST
n
;]
(D)STARTDATA(D)
For incremental dynamic bar code data:
(cc)IBF
n
; [
idir
]
STEPMASK
; [RPT
n
;] [RST
n
;]
(D)STARTDATA(D)
(cc) The Special Function Control Code.
IAF Identifies the command as an incremental
alphanumeric dynamic data; enter IAF.
IBF Identifies the command as an incremental bar code
dynamic data; enter IBF.
n
Identifies the field number of the dynamic data field
as entered in the Create Form mode. Replace
n
with the number used to identify the field when it
was defined.
idir
The optional increment direction parameter to
specify an increase or decrease of the data. Enter a
plus sign (+) or leave the field blank to increment
(the default). Enter a minus sign (-) to decrement.
STEPMASK
Defines the increment amount (step), the number
of character positions in the data field, and provides
a mask to control the increment function on specific
parts of the data. Refer to “Incremental Bar Code
Fields” on page 208 or “Alphanumerics,
Incremental Fields” on page 34 for complete
information on STEPMASK parameter values.
RPT
n
The optional incremental repeat count parameter to
specify the number of times a particular field value
is repeated before it is incremented. A repeated
field value is useful when printing multiple
rows/columns of identical labels before
incrementing to the next value. To use the repeat
count parameter, enter RPT and replace
n
with a
numeric value ranging from 1 through 65,535 to
specify the repeat count. The default repeat count
parameter is 1, which will increment the field value
each time it is printed.