5525B/31/32 Line Matrix Printer Code V Programmer's Reference Manual
50
Chapter 2 Command Codes
Auto Increment/Decrement Vertical Duplication
Purpose Updates increment and decrement data within a Vertical
Duplication command sequence (page 48).
Format (cc) Y
start# inc/dec amount (cc)G
(cc) Represents the Special Function Control Code
(SFCC). Enter the specific SFCC for your Code V
configuration.
Y Specifies the Auto Increment/Decrement
command. Enter Y to activate automatic update of
repeated alphanumeric data fields.
start#
Represents the starting alphanumeric data to
automatically update. Enter the starting reference
of the alphanumeric data field ranging from 1
through 12 digits. This reference is the first
alphanumeric data printed and subsequently
updated according to the
inc/dec
and
amount
parameters. Spaces are converted to zeros when
necessary.
inc/dec
Specifies increment or decrement updates to the
alphanumeric data. Enter + to increment the data or
enter - to decrement the data.
amount
Represents the alphanumeric amount to update the
data field. Enter the update amount ranging from 1
through 12 digits. Spaces are converted to zeros
when necessary.
(cc)G The universal terminator. Enter the SFCC for your
Code V configuration immediately followed by G to
terminate the auto increment/decrement command.
Comments The Auto Increment/Decrement command is input as part of the
vertical duplication command data.
Any type of an alphanumeric sequence can be updated, including
bar code data fields. (Although not yet implemented, the (cc)Y
command in conjunction with the IREPV Vertical Duplication
command described on page 52, any alphabetical sequence can
also be updated, including bar code data fields.) The Horizontal
Tab command also can be updated, causing the tab position to
increment/decrement with each repeat pass. If the data is non-
alphanumeric (except for space characters) and you are using
the (cc)Y command with the (cc)R Vertical Duplication command
described on page 48, an error will occur. If the data exceeds 12
digits in length, an error will also occur.