Calendar Increment - SATO /gt Series Programmer's Reference Manual

E+ programming reference
Hide thumbs Also See for /gt Series:
Table of Contents

Advertisement

Unit 5: Optional Command Codes

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.
SATO E+ Programming Reference
a
= Y: Years
M: Months
D: Days
h: Hours
W: Week number
PN 9001149A
Page 5-3

Advertisement

Table of Contents
loading

Table of Contents