SATO CL408E Reference Guide

Page of 242
Unit 5:  Optional Command Codes
E/Pro Programming Reference
5-2
PN: 9001096B
CALENDAR COMMANDS
CALENDAR PRINTING
FUNCTION
Prints the date and/or time field from the printer’s internal clock. 
FORMAT
<ESC>WA(elements)
Elements
= YYYY: 4 digit (1981 to 2080)
YY:
2 digit (00 to 91)
MM:
Month (01 to 12) DD Day (01 to 31)
HH:
12 Hour clock (00 to 11)
hh:
24 Hour clock (00 to 23)
mm:
Minute (00 to 59)
ss:
Seconds (00 to 59)
TT:
 AM or PM
JJJ:
Julian Date (001 to 366)
WW:
Week (00 to 53)
ww:
Week (01 to 54)
Place anywhere within the data stream.
EXAMPLE
<ESC>A
<ESC>H0100<ESC>V0100<ESC>XB1The current date is:
<ESC>XB1<ESC>WAMM/DD/YY
<ESC>H0100<ESC>V0200<ESC>XB1The current time is:
<ESC>XB1<ESC>WAhh:mm
<ESC>Q1<ESC>Z
OUTPUT
There is not a printer output as a result of this command.
NOTES
The date and time elements may be placed in any order for printing. Use slash (/) to separate date
elements and colon (:) to separate time elements. Up to 16 characters are allowed. The font must be
specified prior.
The printer’s internal clock may be set through the Calendar Set command. This command may be
used up to six times per job.
The Copy (<ESC>WD), Mirror Image (<ESC>RM) or Reverse Image (<ESC>/) commands cannot be
used with this command.
Century ranges are: for year = YY, any year equal to or greater than 80 and less than or equal to 99,
then the century equals 19 for year specified as YYYY=1999, and printed as <ESC>WAYY, will be
equal to 99.
The Julian date is the accumulated day from January 1st to the current date. The first day of the year is
January 1st (001) and the last day of the year is December 31st (365 or 366 for leap years).
The TT command should not be specified for printing in numeric only barcodes.