Command Reference 5-67
PRINT
Purpose Prints the Printer Buffer's contents, by a source field, in the format specified.
Syntax PRINT [ CONTINUOUS ] #
format-number,
[ quantity ]
[
,
[
invalid label
] [
, valid label
] ]
Process The PRINT command images and prints the format specified by
format-number
.
Format-number
contains a format number between 0 and 999. Numbers greater
than 255 cannot be constants. If
format-number
equals 0, the same image prints.
Use this method to avoid reimaging the data.
Quantity
represents the number of labels to print. The printer pauses before
printing each label. However, the printer does not pause when you use
CONTINUOUS and
quantity
is greater than 1; it prints one strip with the number of
labels in
quantity
.
Quantity
can be 1-99 (the default is 1).
Format-number
and
quantit
y can be one of the following:
Format-number
and
quantity
Description
INPUT Input Buffer
Logical Field Name
(TEMP1)
Temporary Buffer
Field
Logical Field Name (LU1) Lookup Buffer Field
Logical Field Name (PR1) Printer Buffer Field
Logical Field Name
(Field1) [Index]
Array Buffer Field
Number Number prefixed by a
number sign (#)
Rule:
Format-number
and
quantity
must be numeric.
Optional Fields
Invalid
and
valid labels
are discussed in "Script Flow" at the beginning of this
chapter.
Example
This example prints the Printer Buffer's contents using Format 2 and then passes
control to the next line if successful. If the operator presses an exception key,
control passes to *Exception.
PRINT #2,*Exception