beautypg.com

Datamax-O'Neil DPL Programmer’s Manual User Manual

Page 136

background image

Label Formatting Command Functions



128

Embedding

Numeric strings for decrementing may also be embedded between alphabetic characters
(e.g., when systems require alphanumeric bar codes with alphabetic prefixes or

suffixes).

Sample:

L
1611000001000101000CD
- 100
Q0003
E

The sample above will print three labels: 1000CD, 999CD, and
998CD. Note that the pad character is a placeholder for digits
removed from the left side in the subtraction process. When a

fixed pitch font is used, the justification of the rightmost character
is sustained regardless of the number of digits replaced by the pad

character on the left side.





^

Set Count by Amount

This command allows applications using the increment / decrement field command to

print more than one label with the same field value before the field data is updated. The
default is 1.

Syntax:

^nn

Where:

^

- May be 0x55 or 0x40; see note below.

nn

- Is a two-digit value that specifies the number of

labels to be generated before incrementing (or
decrementing) the field value.

Sample:

L
13220000000000012345
-01
^02
Q0006
E

The sample above prints two labels containing the same field

value before decrementing the field. Six labels are printed.

This command can only be issued once per label format. In addition, when alternate
Control Codes are enabled, the ^ character must be replaced by the @ character

(hexadecimal 0x40); see Control Code Command Functions.

This manual is related to the following products: