Interfacing to the Magnetic Card Reader
This section details the software steps required to access the MC reader from a computer or a
terminal. The Host Selects the printer by activating the RTS input line or sending wake-up
characters to the printer. The Printer Sends the XON command to the host to indicate that it is
ready to receive data from host. Once XON is received the host sends ASCII serial command
string to enable the magnetic card reader (e.g. Esc-m004- cr). The printer turns on the
GREEN <READY> LED.
Note: On version 0.9 if communication is done in 802.11b mode and the Esc m command
is sent to the printer the Green LED and the error LED does not turn on but the MCR
processing is still working as usual. Once the operator swipes the magnetic card, the printer
transmits in ASCII format the tracks information found on the magnetic card. A good read
automatically turns off the MC reader and the <READY> LED. The <READY> LED
illuminates RED if an error is encountered, while reading the magnetic card. ON version 0.8
the RED led will not illuminate on a bad read but the MCR is still functioning as usual. Printer
transmits timeout error message if the operator fails to swipe a card in the time period set by
the host application.
Bit Dot Addressable Graphic Commands
The Extech 4500THS printer uses a single line thermal head, which has 832 heating
elements pitched at 0.125 mm. The total print width is 104 mm. The 8-bit graphic
commands enable control of each one of the 832 heating elements and advancing of the
paper by increments of 0.125 mm.
To select the 8-bit graphic mode the user application must issue the ESC-V command, next
the host application sends two bytes to indicate the number of the graphic lines desired,
followed with a packet of 104 bytes for each graphic line. The printer prints the graphic
line and advances to the next line automatically.
Bit Dot addressable Graphic Commands
The following table displays the 8-bit dot addressable graphic commands and the printer
actions. It also illustrates the Commands with an example. Please note that characters <> ''
and '-' are not part of the command string.
Need help?
Do you have a question about the S4500THS and is the answer not in the manual?