5525B/31/32 Line Matrix Printer IGP/PGL Programmer's Reference Manual
Incremental Bar Code Fixed Data Fields
201
Incremental Bar Code Fixed Data Fields
The Incremental Bar Code Fixed Data Fields command is a variation of the
standard IGP/PGL bar code commands. Use this command with the
appropriate parameters from the standard bar code command when
automatic incrementing of fixed bar code data fields is required. The
Incremental Bar Code Fixed Data Fields command format is shown and
defined below. (Incremental command parameters are shown in boldface
type; standard bar code command parameters and optional nonincremental
parameters are shown in
italics
.)
BARCODE
type; [VSCAN;] [MAG;] [Hn;]
I;
[DARK;] SR; SC
[
idir
]
STEPMASK
; [RPT
n
;] [RST
n
;]
(D)STARTDATA(D)
[PDF [;LOC] [;FONT]]
STOP
I Identifies this bar code command as an
Incremental Bar Code command; enter I.
idir
The optional increment direction parameter to
specify an increment (add) or decrement (subtract)
to 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), 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 “Incrementing Bar Code
Data” on page 198 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
will repeat before it is incremented. A repeated field
value is useful when printing multiple rows/columns
of identical labels before increasing 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.
RST
n
The optional incremental reset count parameter to
specify the number of times an incremented field is
printed (on one or more forms) before it is reset to
the starting value. A reset count is useful when
printing a hierarchy of fields where a low-level field
generates a sequence of numbers, is reset, and the
next higher field level is incremented (such as in a
unit/box/carton application). To use the reset count
parameter, enter RST and replace
n
with a number
ranging from 1 through 65,535 to specify the reset
count. The default reset count value is 0.