P8-26 Mobile Printer CPCLProgramming Manual
The USE-FORMAT (or UF) command instructs the printer
to use a specified format file. The label will be created
using that format file with data supplied following the
USE-FORMAT command. After accessing the specified
format file, the printer substitutes the '\\' delimiters with
the data supplied, producing the desired label.
Input (FORMATD.LBL):
! UF SHELF.FMT
$22.99
SWEATSHIRT
40123456784
40123456784
Input (FORMATF.LBL):
! DF SHELF.FMT
! 0 200 200 210 1
CENTER
TEXT 4 3 0 15 \\
TEXT 4 0 0 95 \\
BARCODE UPCA 1 1 40 0 145 \\
TEXT 7 0 0 185 \\
FORM
PRINT
USING FORMAT FILES (continued)
Defining a label format file is accomplished using the
DEFINE-FORMAT (or DF) command to mark the begin-
ning of the format, and PRINT to mark the end. A '\\'
(double-backslash) acts as a place holder for data.