Date And Time - Intermec EasyCoder 301 Programmer's Manual

Direct protocol 2.0
Hide thumbs Also See for EasyCoder 301:
Table of Contents

Advertisement

3. Date and Time

Intermec EasyCoder 301 Direct Protocol 2.0 – Programmer's Guide Ed. 3
The printer's CPU board is, as standard, provided with an internal
clock/calendar without battery backup, i.e. the setting will be lost
when the printer is turned off.
The CPU board may optionally be fitted with a real-time clock cir-
cuit (RTC). The RTC is battery backed-up and will keep running
even when the printer is turned off.
If no RTC is installed and you try the read the date or time before
the internal clock has been set, an error will occur (error 1010 "Hard-
ware Error"). Once either time or date has been set, the internal
clock will work until next power off or reboot. If only time has been
set, by default the current date will be Jan 01 1980 and if only date
has been set, by default the clock will start running at 00:00:00.
The following commands are used to set the clock/calendar:
DATE$ = "<YYMMDD>"
<YYMMDD>
Note that the input data must be enclosed by double quotation marks.
Example:
DATE$ = "990601"
TIME$ = "<HHMMSS>"
<HHMMSS>
Note that the input data must be enclosed by double quotation marks.
Example:
TIME$ = "131548"
Chapter 6
the current date in the standard format, where
YY = Year, last two digits
MM = Month, two digits
DD = Day, two digits.
the current time in the standard format, where
HH = Hour (00–24)
MM = Minute (00–59)
SS = Second (00–59)
Setting Up the Printer
45

Advertisement

Table of Contents
loading

Table of Contents