Calendar Increment - SATO GL408e Programming Reference Manual

Sbpl
Hide thumbs Also See for GL408e:
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 GL4xxe SBPL Programming Reference
a
= Y: Years
M: Months
D: Days
h: Hours
W: Week number
Page 5-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gl412e

Table of Contents