Samsung SRP-275CEPG Operation Manual - Page 71

Function, Binary, Decimal, Status

Page 71 highlights

CHAPTER 5 CONTROL COMMANDS LIST GS r [Name] Transmit status [Format] ASCII GS r n Hex 1D 72 n Decimal 29 114 n [Range] n = 1, 2, 49, 50 [Description] Transmits 1 byte of status data using n as follows: [Notes] n Function 1, 49 Transmits paper sensor status 2, 50 Transmits drawer kick-out connector status Each status is 1 byte. The status to be transmitted is as follows: - Paper sensor status (n = 1, 49) Bit Binary Hex Decimal Status 0,1 00 11 00 03 0 Paper near-end sensor: paper adequate. 3 Paper near-end sensor: paper not present. 2,3 00 11 00 0C 0 Paper end sensor: paper present. 12 Paper end sensor: paper not present. 4 0 00 0 Not used. Fixed to Off. 5,6 - - - Undefined. 7 0 00 0 Not used. Fixed to Off. The status to be transmitted is as follows: - Drawer kick-out connector status (n = 2, 50) Bit Binary Hex Decimal Status 0 0 1 00 01 0 Drawer kick-out connector pin 3 is LOW. 1 Drawer kick-out connector pin 3 is HIGH. 1-3 - - - Undefined. 4 0 00 0 Not used. Fixed to Off. 5,6 Undefined 7 0 00 0 Not used. Fixed to Off. 5-72 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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110

5-73
5-72
GS r
[Name]
Transmit status
[Format]
ASCII
GS
r
n
Hex
1D
72
n
Decimal
29
114
n
[Range]
n = 1, 2, 49, 50
[Description]
Transmits 1 byte of status data using n as follows:
n
1, 49
2, 50
Function
Transmits paper sensor status
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)
The status to be transmitted is as follows:
- Drawer kick-out connector status (n = 2, 50)
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.
Bit
Binary
Hex
Decimal
Status
4
5,6
7
00
11
00
11
0
-
0
00
03
00
0C
00
-
00
0
3
0
12
0
-
0
Paper near-end sensor: paper adequate.
Paper near-end sensor: paper not present.
Paper end sensor: paper present.
Paper end sensor: paper not present.
Not used. Fixed to Off.
Undefined.
Not used. Fixed to Off.
Bit
Binary
Hex
Decimal
Status
1-3
4
5,6
7
0
1
-
0
0
00
01
-
00
00
0
1
-
0
0
Drawer kick-out connector pin 3 is LOW.
Drawer kick-out connector pin 3 is HIGH.
Undefined.
Not used. Fixed to Off.
Undefined
Not used. Fixed to Off.
CONTROL COMMANDS LIST
CHAPTER 5
0,1
0
2,3