Samsung SRP-275 Operator's Manual page 72

Pos impact dot matrix printer
Hide thumbs Also See for SRP-275:
Table of Contents

Advertisement

CHAPTER 5
CONTROL COMMANDS LIST
GS r
[Name]
Transmit status
[Format]
ASCII
GS
r
Hex
1D
72
Decimal 29 114
[Range]
n = 1, 2, 49, 50
[Description]
Transmits 1 byte of status data using n as follows:
n
1, 49
Transmits paper sensor status
2, 50
Transmits drawer kick-out connector status
[Notes]
Each status is 1 byte.
The status to be transmitted is as follows:
- Paper sensor status (n = 1, 49)
Bit
Binary
Hex
00
00
0,1
11
03
00
00
2,3
11
0C
4
0
00
5,6
-
-
7
0
00
The status to be transmitted is as follows:
- Drawer kick-out connector status (n = 2, 50)
Bit
Binary
Hex
0
00
0
1
01
1-3
-
-
4
0
00
5,6
7
0
00
5-72
n
n
n
Function
Decimal
Status
0
Paper near-end sensor: paper adequate.
3
Paper near-end sensor: paper not present.
0
Paper end sensor: paper present.
12
Paper end sensor: paper not present.
0
Not used. Fixed to Off.
-
Undefined.
0
Not used. Fixed to Off.
Decimal
Status
0
Drawer kick-out connector pin 3 is LOW.
1
Drawer kick-out connector pin 3 is HIGH.
-
Undefined.
0
Not used. Fixed to Off.
Undefined
0
Not used. Fixed to Off.
When you use this command, obey the following rules.
- After the host PC transmits the function data, the printer will send
response data or status data back to the PC. Do not transmit more data
from the PC until the response data or status data are received from the
printer.
- When operating with a serial interface, be sure to configure operation so
that the host computer uses the printer only when it is READY.
- With a parallel interface, a real-time status is stored in the transmission
buffer of the printer temporarily the same as the other transmission data
(except for ASB status), and when the host enters reverse mode, data is
transmitted in order from the beginning of the transmission buffer.
5-73

Advertisement

Table of Contents
loading

Table of Contents