System-level command functions, Introduction – Datamax-O'Neil Class Series II Programmer’s Manual User Manual
Page 31
Class Series 2 Programmer’s Manual
17
4
System-Level Command Functions
Introduction
The most commonly used commands are the System-Level Commands. These are used to
load and store graphics information, in addition to printer control. System-Level Commands
are used to override default parameter values (fixed and selectable) and may be used
before or after Immediate Commands but cannot be issued among Label Formatting
Commands. System-Level Commands consist of:
1. Attention-Getter, 0x02 or 0x7E; see Control Code Command Functions.
2. Command Character
3. Parameters (if any).
STX A
Set Time and Date
This command sets the time and date. The initial setting of the date will be stored in the
printer’s internal inch counter. This date can be verified by printing a Configuration
Label.
Syntax:
Where:
w
1 digit for day of week; 1 = Monday; 7 = Sunday
mm
2 digits for month
dd
2 digits for day
yyyy
4 digits for year
hh
2 digits for hour in 24 hour format
MM
2 digits for minutes
jjj
3 digits for Julian date / constant; see notes below.
Sample:
Printed response:
Mon. Feb 3, 1996, 8:55AM, 034
•
When set to 000, the Julian date is automatically calculated; otherwise, the Julian
date will print as entered, without daily increments. If factory defaults are restored
the actual Julian date will also be restored.
•
Printers without the Real Time Clock option lose the set time/date when power is
removed.
•
Response format is variable; see the Special Label Formatting Command