System-Level Command Functions; Introduction; Stx A Set Time And Date - Datamax A-4310 Programmer's Manual

Class series
Hide thumbs Also See for A-4310:
Table of Contents

Advertisement

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 Codes.
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
mm
dd
yyyy
hh
MM
jjj
Sample:
Printed response:
Notes: (1) When set to 000, the Julian date is automatically calculated; otherwise, the Julian date will print
as that entered number, without daily increments. If factory defaults are restored the actual Julian
date will also be restored.
(2) Printers without the Real Time Clock option lose the set time/date when power is removed.
(3) Response format is variable; see the Special Label Formatting Command <STX>T.
Class Series Programmer's Manual
<STX>AwmmddyyyyhhMMjjj
1 digit for day of week; 1 = Monday; 7 = Sunday
2 digits for month
2 digits for day
4 digits for year
2 digits for hour in 24 hour format
2 digits for minutes
3 digits for Julian date (numerical day of the year) / constant; see notes below.
<STX>A1020319960855034
Mon. Feb 3, 1996, 8:55AM, 034
15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents