Stx a enable feedback characters, Stx b get printer time and date information – Datamax-O'Neil Class Series Programmer’s Manual User Manual

Page 30

Advertising
background image

System-Level Command Functions







Class Series Programmer’s Manual

16

STX a

Enable Feedback Characters

This command enables the feedback ASCII hex characters to be returned from the printer following
specific events after each completed batch of labels when using serial communications. The default
value is ‘Off’.

Syntax:

<STX>a

Printer response:

Event dependent. (Also, see Appendix D for error codes.)

Where:

Event

Return Characters

Invalid character

0x07

( BEL )

Label printed

0x1E

( RS )

End of batch

0x1F

( US )







STX B

Get Printer Time and Date Information

This command instructs the printer to retrieve its internal time and date information.

Syntax:

<STX>B

Sample:

<STX>B

Printer response format: wmmddyyyyhhMMjjj<CR>

Where:

w

1 digit for day of week; 1 = Monday

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 <STX>A for details and restrictions.



Printer response sample: 1020319960855034<CR>

Advertising