beautypg.com

Special label formatting command functions, Stx d print adjusted date – Datamax-O'Neil DPL Programmer’s Manual User Manual

Page 137

background image

Label Formatting Command Functions



129

Special Label Formatting Command Functions

Two Special Label Formatting Commands, the S and the T, are entered directly
into the data field of label format records. (Do not confuse them with System-Level

Commands because the same control character is used.) If alternate control codes are
enabled the becomes “~” (hexadecimal 0x7E); see Control Code Command Functions.

Label Formatting Character

Command Description

D

Print adjusted date

S

Recall global data and place in field

T

Print time and date

STX D

Print adjusted date

This command prints the adjusted date generated by the ‘t’ label formatting command.

Using string characters, allows the adjusted date data to be selected and printed. In
addition, the D may be preceded by data to be printed/encoded, and/or the
string may be terminated by an command followed by more data, then

terminated. The string characters are not printed; instead, the label will show the
corresponding print value.

Syntax:

Dstring

Where:

string - Is any set of characters, A – Z and a - h; see the table
below.

String

Characters

Print Values

String

Markers

Print Values

A

Week Day (Mon = 1, Sun = 7)

VW

24-hour time format

BCD

Day Name

XY

12-hour time format

EF

Month Number

Za

Minutes

GH...O

Month Name

gh

Seconds

PQ

Day

bc

AM or PM

RSTU

Year

def

Julian Date

Sample 1:

Assume printer date is set to January 01, 2013
L
tD0005
121100001000100 Expiration Date:D GHI PQ, RSTU
E

Prints: Expiration Date:JAN 06, 2013

This manual is related to the following products: