User`s manual

MP-4000 TH POS Printer Rev.1.4 Programmer’s Manual
22-aug-2007
Firmware Release: 1.5
42
3.7 Communication
ENQ
[Function] Serial communication status enquiry
[Format] ASCII ENQ
Hexadecimal 05
Decimal 05
[Description] After this command is issued, the printer returns a status by the serial
RS-232 communication port, defined below.
3.7.1 Serial interface status byte
The serial interface status byte is composed of 8 bits – 7 through 0 – the most
significant bit is Bit 7 and the least significant bit is Bit 0.
Status bit number Logic “0” Logic “1”
0 Printer Off Line Printer On Line
1 Replicates Drawer status
2* Drawer pin low Drawer pin high
3 Print head raised Print head down
4 Paper Full Paper Near End
5 Command not executed Command executed
6 – 7 Not used (will always be logic “0”)
* Refer to your drawer’s manual to know what this levels mean.
GS ° 1
[Function] Serial / USB communication advanced status
[Format] ASCII GS ° 1
Hexadecimal 1D F8 31
Decimal 29 248 49
[Description] After this command is issued, the printer returns a status by the serial
RS-232 communication port, defined below.