beautypg.com

Avery Dennison Monarch 6017 Programmer Manual User Manual

Page 30

background image

5-2 Using the Magnetic Card Reader

Command

Description

The reader responds to the read command
with:

#trck#-(data)-'?'-CR-LF-NAK

#trck# Track indicator. Values are %/1/

(track 1), ;/2/ (track 2), and + / 3 /
(track3).

(data) The data read from the card. This

field can be empty. If an error
occurs, this field contains an E
character and the error message text
(see ”Error Messages”).

2 hex (Ctrl-B)

Requests the print buffer and card reader
statuses. The printer responds with:

ESC-'B' -#pb#-CR-LF-ESC-'M'-#sleep#-CR-LF-

NAK

#pb#

The number of characters currently
in the print buffer, shown as four
hex digits, which are “OR’d” with
30 hex.

#sleep# Four ASCII hex digits (which are

“OR’d” with 30 hex) representing
the time left before the printer
enters sleep mode.

ESC-'C'

Cancels the reading process.