Programming instructions

146
Intermec Fingerprint 6.13 – Programmer's Guide
5. Clock/Calendar
15. PRINTER FUNCTION CONTROL, cont'd.
The printer's CPU board is provided with an internal clock/calendar
without battery backup, i.e. the setting will be lost when the printer
is turned off.
Intermec Fingerprint-compatible printers may be fitted with a real-
time clock circuit (RTC) in a socket on the CPU board. 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
“Hardware 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.
Please refer to chapter 9.3 for information on how to read the
printer's clock/calendar, and on the standard formats for date and
time.
The following instructions are to set the clock/calendar:
DATE$ = <sexp> Sets the date (YYMMDD format)
TIME$ = <sexp> Sets the time (HHMMSS format)
Example (setting the clock/calendar to 08.11.30 September 1,
1998):
DATE$ = "980901"
TIME$ = "081130"
Note that the values must always be entered as string expressions.
Possible numeric expressions can be converted to string format
using STR$ functions (see chapter 9.2).