![Unitech MP300 Developer'S Manual Download Page 22](http://html1.mh-extra.com/html/unitech/mp300/mp300_developers-manual_4015125022.webp)
Copyright 2008 Unitech Electronics Co., Ltd. All rights reserved. Unitech is a registered trademark of Unitech Electronics Co., Ltd.
42
Copyright 2008 Unitech Electronics Co., Ltd. All rights reserved. Unitech is a registered trademark of Unitech Electronics Co., Ltd.
43
B.5.0 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 enablethe
•
magnetic card reader (e.g. Esc-m004-cr). The printer turns on the GREEN
<READY> LED.
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.
Printer transmits timeout error message if the operator fails to swipe a card in the
•
time period set by the host application.
Chapter 9.0
Appendix C
Printer Configurations
The MP300 printers support Serial RS232 and IrDA compatible infrared
communication interfaces. Blue Tooth communication is also available as an optional
feature. Serial, IrDA and Bluetooth communication settings can be changed via a DIP
switch located on the control card. In the following Sections Each Setting is discussed
in more detail.