Paxar 9430R User Manual

Page 39

Advertising
background image

Using the Magnetic Card Reader 5-3

Command Description

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.

Error Messages

Following is the format of the data returned when an error occurs with the
magnetic card reader. When an error occurs, the reader’s LED blinks once.

Syntax Description

'%'-'E,'-#error#-','-(text)-

CR-LF

Indicates an error occurred.

#error#,(text) Error number and corresponding text.

05 Timeout

Expired.

07

Invalid Track Number.

08

Unsupported Track Selected.

09 Cancel

Request.

Keep the value for the timer long enough to allow the swipe, but small
enough to not allow multiple swipes. If multiple swipes are done (with
different cards) and each uses different tracks to store data, the data sent
back to the host is a mixture from the two cards.

Advertising