Zebra Technologies EPL2 manual TD Command Define Date Layout, Syntax TDp1p2p3

Models: EPL2

1 138
Download 138 pages 45.57 Kb
Page 105
Image 105

TD Command - Define Date Layout

Description Use this command to define the date format when printing.

Use the variable TD in a Text or Bar Code (A & B commands) DATA parameter to print the date.

Syntax TDp1[p2p3]

Parameters p1, p2, p3 = The parameters describe the format of the date display. At lease one parameter must be supplied. Each pa- rameter can be any of the acceptable values listed below.

Value

Description

y2

Year displayed as 2 digits (95)

y4

Year displayed as 4 digits (1995)

me

Month displayed as 3 letters (JAN)

mn

Month displayed as 2 digits (01)

dd

Day displayed as 2 digits (15)

 

 

= Separator character. The separator may be any ASCII character value between 032 and 063. The separator character is printed between the results of each of the supplied parameters.

This command only works in printers equipped with the Real Time Clock time and date option.

Examples: If the current date is January 15, 2000:

TDy2/me/dd↵ :00/JAN/15

TDdd-me-y4↵ :15-JAN-2000

TDdd,mn,y4↵ :15,01,2000

TDdd/me/y2

:15/09/00

A100,100,0,4,1,2,N,"Today is"TD

:Today is 15/09/00

A100,200,0,4,1,2,N,"Next Week-"TD+07

:Next Week-22/09/00

A100,300,0,4,1,2,N,"Next Month-"TD+30

:Next Month-15/10/00

A100,400,0,4,1,2,N,"Two Months-"TD+61

:Two Months-15/11/00

980352-001 Rev.A

3-87

Page 105
Image 105
Zebra Technologies EPL2 manual TD Command Define Date Layout, Syntax TDp1p2p3, Examples If the current date is January 15