Variable information in text and bar code fields – Datamax-O'Neil Labelpoint Programmer’s Manual User Manual
Page 35

PROGRAMMER’S REFERENCE MANUAL
Label layout definition commands
Page 31
Variable information in text and bar code fields
Lines that are not commands (i. e. lines that do not begin with the command character) are
assumed to be variable information (text). The printer counts the number of variable text lines
received, and each line is assigned to the next variable text. The first line of text is copied to
variable text no. 1, the next line to text no. 2, etc. The variables are cleared and the count is
reset to zero when either the !C or the !R command is received.
Copies of the last label printed, will be printed if the print button is pressed before the next
print command is received. (Clearing the label format or the variable data prevents printing
copies.)
Example 1:
!C
!F T N 100 100 L 10 0 94021 "Type: %1V
Serial no. %1C
Date: %D/%N/%y"
!F C N 370 100 L 120 3 1 "%2V"
!F T N 410 100 L 10 0 94023 "PART NO: %2V"
THERMAL PRINTER (BASIC)
123456
!P
THERMAL PRINTER (EXTENDED)
987654
!P
The resulting printout of this example would contain the current date and current value of
counter 1 and might look as shown below. Note how the date print is created and the empty
line between the "Type" and "Serial no" lines. Variable 2 is referenced twice, in the bar code
and the text below the code.
First printout:
Second
printout:
Note! Only the variable information has to be sent for each label to be printed, once the
print format has been defined.
Changing a single variable