Calendar Increment - SATO CL408 Programming Reference Manual

E/pro programming reference
Hide thumbs Also See for CL408:
Table of Contents

Advertisement

CALENDAR INCREMENT

FUNCTION
Prints the date and/or time field from the printer's internal clock.
FORMAT
<ESC>WPabbb
Place anywhere within the data stream.
EXAMPLE
<ESC>A
<ESC>H0100<ESC>V0100<ESC>XB1Current Date:
<ESC>WAMM/DD/YY
<ESC>WPM06
<ESC>H0100<ESC>V0200<ESC>XB1Expiration Date:
<ESC>WAMM/DD/YY
<ESC>Q1<ESC>Z
OUTPUT
(5-1)
NOTES
Once the year increments past "99" it will wrap back to "00". This command can only be used once per
data stream.
The printer's internal clock may be set through the Calendar Set command.
If a print quantity of more than one label per job is used, the same time and date will be on each label of
the entire print job.
Calendar Increment Example: 1998 January 15 (ww=03) plus 48 weeks = week 51.
The Week Calendar specification follows ISO8601. Days of the week are numbered 1 through 7,
beginning with Monday. The first week of the year is the week containing the first Thursday. If January
1st falls on Friday, it belongs to the last week of the previous year. If December 31st falls on a
Wednesday, it belongs to the first week of the following year. If Calendar Increment calculation extends
over the year, the result belongs to the week number of the following year.
E/Pro Programming Reference
Unit 5: Optional Command Codes
a
= Y: Years
M: Months
W: Week number
D: Days
h: Hours
bbb
= Numeric data
Years (0 to 9)
Months (01 to 99)
Weeks (00 to 99)
Days (001 to 999)
Hours (000 to 999)
5-3
PN: 9001096E

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents