Important programming rules – CognitiveTPG DLXi User Manual
Page 13
![background image](/manuals/334304/13/background.png)
I N T R O D U C T I O N
Example
Sample program code is included here showing
proper use of the command.
NOTE: The sample code shown does not always include
all the lines in the label format that produced the sample
label. Header lines,
END
statements and the like are
often omitted to save space.
Also, the label images shown only illustrate the features
or command under discussion. They are not to scale.
The labels your printer produces using the sample code
will differ considerably from the label images in this
document.
Important Programming Rules
Use blank spaces exactly as shown in the command descriptions.
Blank spaces are the delimiters between parameters. Omitting a
necessary space may cause incorrect label printing.
Do not send extraneous control characters to the printer.
End every command line with a line feed or a carriage return and line
feed. If you create labels using a word processor, confirm that your
system uses "hard" carriage returns (inserts ASCII characters 10 and
13 at the end of each line) to form the newline sequence.
Begin every label format with a header line. End every format with an
END
statement, unless otherwise noted in the command descriptions.
(A few commands are "stand alone" and should not be followed by an
END
statement or any other commands.)
Not all printers support all commands, and there may be some
variation in command use depending on the printer model. Review
your printer's User's Guide and the compatibility information in
Tables
before you begin writing label formats or software.
4
Revision F, January 2012, CognitiveTPG