Microcom 814M Programming Manual User Manual
Page 12

8
n = 9: Transmit PRST status.
n = 10: Reset printer
n = 11: Clear printer errors.(function as the clear errors command)
[Notes] When n is out of range, the return value is invalid.
The printer transmits specified status immediately upon receiving this command
Even though the printer is not selected using ESC = (select peripheral device), this command
is still effective.
The printer transmits the status without confirming whether the host computer can receive
data.
This command is only valid for serial, USB and Ethernet interfaces.
The reset command is used to clear the error status and the print buffer. Do not attempt to
print while using this command.
n = 2, Transmits printer status defined as below:
Bit
Off/On
Hex.
Description
0
0
0
Fixed to 0
1
1
2
Fixed to 1
2
0/1
00/04
Top cover closed / Top cover open
3
0/1
00/08
No FEED button action / FEED button action
4
1
10
Fixed to 1
5
0/1
0/20
Paper adequate / Paper end
6
0/1
00/40
Normal / Error
7
0
00
Fixed to 0
n=3, Transmits error status defined as below:
Bit
Off/On
Hex.
Description
0
0
00
Fixed to 0
1
1
02
Fixed to 1
2
0
00
Fixed to 0
3
0/1
00/08
Cutter normal / Cutter error
4
1
10
Fixed to 1
5
0/1
00/20
Top cover closed / Top cover open
6 0/1 00/40
Print head temperature normal / Print head
overheated
7
0
00
Fixed to 0
n=4, Transmits paper roll sensor status defined as below:
Bit
Off/On
Hex.
Description
0
0
00
Fixed to 0
1
1
02
Fixed to 1
2
0/1
00/04
Paper adequate / Paper near end
3
0/1
00/08
Paper adequate / Paper near end
4
1
10
Fixed to 1
5
0/1
00/20
Paper adequate / Paper end
6
0/1
00/40
Paper adequate / Paper end
7
0
00
Fixed to 0
n = 5, Transmits printer status defined as below:
Bit
Off/On
Hex.
Description
0
0/1
00/01
Paper adequate / Paper near end
1
1/1
00/02
Top cover closed / Top cover open
2
0/1
00/04
Paper adequate / Paper end
3
0/1
00/08
Print head normal / overheated