5525B/31/32 Line Matrix Printer IGP/PGL Programmer's Reference Manual
38
Chapter 2 Command Codes
Alphanumerics, Incremental: Fixed Data Fields
Purpose To automatically increment/decrement fixed alphanumeric data
fields.
Mode CREATE
NOTE: In the command format below, incremental alphanumeric command
parameters are shown in boldface type. Standard alphanumeric
command parameters and optional nonincremental parameters are
shown in
italics
and are described in the Alphanumerics section
(starting on page 29). Due to space constraints, the command
parameters are separated into two lines. During actual IGP/PGL
input, DO NOT separate command parameters.
Format
ALPHA
[R;] [E;] [Cn;]
I;
[DIR;] [UC;] [DARK;] [POINT;] [HSn or HSDn;]
SR; SC; VE; HE;
[
idir
]
STEPMASK
; [RPT
n
;] [RST
n
;]
(D)STARTDATA(D)
STOP
I Identifies this alphanumeric command as an
Incremental Alphanumeric 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), 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 Table 5 on page 35 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 increasing
to the next value.
To use the repeat count parameter, enter RPT and
replace
n
with a numeric value ranging from 1 to
65,535 to specify the repeat count. The default
repeat count parameter is 1, which will increment
the field value each time it prints.