PROGRAMMER’S REFERENCE MANUAL
Label layout definition commands
Page 32
The command
!W<n> "<data>"
allows text to be entered into one specific variable. The
string <data> is assigned to the variable specified by <n>. All other variables remain
unchanged. If the variable does not exist, it will be created.
Clearing variable information
The command
!R
deletes all the variable texts from memory. The next non-command line
will be copied to variable text no. 1, etc. This command is useful to remove any stray
information which may have been assigned to the variable texts. It also clears the print buffer
and so prevents making copies of the last label printed.
Clearing the layout
The command
!C
clears the print format, i. e. removes all the fields defined. It also clears
all variables. This command is used to delete the current print format before defining a new
layout and whenever it is desirable to reset the printer to a known idle state.
Send the
!C
command twice when clearing the printer, since any stray characters
preceding the command character may make the command look like a variable text line.
Print command
The command
!P<n>
prints out
<n>
copies of the current label layout. If
<n>
is
omitted or is not a positive number it defaults to 1.
The counters are updated after each label printed. If the time or date is printed, it is updated
for each label. Copies of the last label can be printed by pressing the print button, until the
!R
or
!C
command is received. Such copies are identical to the last label printed, i. e. the
date/time and up-down counters are not updated.
Dormant print (or trigged printkey)
This printmode requires parameter 67, printkey mode, to be set to dormant print. When set,
the printkey can be used to trig a new printout, updating counters, time and date. There are
two dormant print modes; limited and unlimited. Which mode to use depends on the print
command. If the
!P
command is used, a label or a batch of labels will be printed as normal, but
an unlimited number of new printouts can be made after this by repeatedly pressing the
printkey. By using
!p<n>
no printout will be made until the printkey is pressed and only <n>
printouts are possible. After this a new layout must be loaded, or
!P
can be used to enter the
unlimited dormant print mode. Use service commands 93 and 39 to find out how many
dormant printouts that have been made or are remaining, respectively.
The dormant print mode is useful if the printer is to be used standalone to generate unique
printouts without having to be connected to a host after the layout is loaded and/or it is
important that only a specific amount of unique labels are to be printed, but not all at once.