beautypg.com

Datamax-O'Neil DPL Programmer’s Manual User Manual

Page 131

background image

Label Formatting Command Functions



123

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:

L
T00
191100200000000TEST
141100001000100TERMIATOR
Q0001
E


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 , 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 D. This command does not

change the printer date.

Syntax:

txnnnn


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
L
tD0005
121100001000100 Expiration Date:D GHI PQ, RSTU
E

Sample 1 prints: Expiration Date:JAN 06, 2013

This manual is related to the following products: