Datamax-O'Neil Class Series II Programmer’s Manual User Manual
Page 151

Label Formatting Command Functions
Class Series 2 Programmer’s Manual
137
T
Set Field Data Line Terminator
This command, intended for use with record types that accept binary data (e.g.,
PDF417), allows binary control codes (e.g., a carriage return) to be embedded in the
printed data by setting an alternate data line terminator. Valid only for the next format
record, the terminator then defaults back to the carriage return.
Syntax:
Tnn
Where:
nn
- Is an ASCII two-character representation of a HEX
code to be used for the end of data terminator.
Sample:
<STX>L<CR>
T00<CR>
191100200000000TEST<NULL>
141100001000100TERMIATOR<CR>
Q0001<CR>
E<CR>
The sample above sets the a NULL terminator (ASCII NULL: HEX
00) for the data line termination code. The terminator is
immediately restored to a carriage return <CR>, as seen in the
format record containing the text “TERMINATOR”.
t
Add or subtract date time from the printer date
This command allows the user to print an adjusted date of the printer. This date can be
printed using the Special Label Formatting Command <STX>D. This command does not
change the printer date.
Syntax:
txnnnn<CR>
Where: x=
D = adjust by days
W = adjust by weeks
M = adjust by months
Y = adjust by years
nnnn = 4 digits to be added or subtracted. An optional ‘-‘ may
precede the digits to indicate subtraction.
Sample 1:
Assume printer date is set to January 01, 2013
<STX>L
tD0005
121100001000100 Expiration Date:<STX>D GHI PQ, RSTU
E
Sample 1 prints: Expiration Date:JAN 06, 2013