Datamax A-4310 Programmer's Manual page 139

Class series
Hide thumbs Also See for A-4310:
Table of Contents

Advertisement

+ (>)(()
Make Last Field Entered Increment Numeric (Alphanumeric)
(Hexadecimal)
This command, useful in printing sequenced labels, causes the printer to automatically increment a
field on the labels in a batch. The numeric data in the field will increment by the value assigned after
the plus sign (+) each time a label is produced (or the greater than symbol [>] can be substituted to
make the field increment alphabetically, or the left parenthesis [(] can be substituted to make the field
increment hexadecimal data*). This command is effective only on the label format record that it
follows, and is intended to be used with the Q, <STX>E, or <STX>G commands.
Syntax:
Where:
Sample:
The sample will generate a single field label format that prints the initial label with a value of 12345,
and then increments that number by one for the next two labels.
Embedding
Numeric strings for incrementing may also be embedded between alphabetic characters (e.g., when
systems require alphanumeric bar codes with alphabetic prefixes or suffixes).
Sample:
The sample will print three labels, incrementing 0001 by 1 on each label with AB and CD remaining
untouched: AB0001CD, AB0002CD, AB0003CD. Note that the increment value has one leading
blank and two trailing zeros, while the blank is a pad character and the trailing zeroes are
placeholders that leave CD unchanged.
* Valid hexadecimal data is 0-9 or A-F, usually in pairs.
Class Series Programmer's Manual
Label Formatting Command Functions
*pii
-
Is + for numeric increment, > for alphanumeric increment, or
*
(for hexadecimal increment.
-
Is the fill character for the left-hand character of the field.
p
-
Is the amount by which to increment the field.
ii
<STX>L<CR>
13220000000000012345<CR>
+01<CR>
Q0003<CR>
E<CR>
<STX>L<CR>
161100000100010AB0001CD<CR>
+ 100<CR>
Q0003<CR>
E<CR>
123

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents