Samsung 275C User Manual - Page 63

Function, Binary, Decimal, Status

Page 63 highlights

CHAPTER 4 Control commands list GS r [Name] [Format] [Range] [Description] [Notes] Transmit status ASCII GS r n Hex 1D 72 n Decimal 29 114 n n = 1, 2, 49, 50 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 • Each status is 1 byte. • The status to be transmitted is as follows: - Paper sensor status (n = 1, 49) Bit 0, 1 2, 3 4 Binary 00 11 00 11 0 Hex 00 03 00 0C 00 Decimal 0 3 0 12 0 Status 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. 5,6 - - 7 0 00 - Undefined. 0 Not used. Fixed to Off. • The status to be transmitted is as follows: - Drawer kick-out connector status (n = 2, 50) Bit Binary 0 0 1 1-3 - 4 0 5,6 7 0 Hex 00 01 00 00 Decimal 0 1 0 0 Status 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. 4-27

  • 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

CHAPTER 4
Control commands list
4-27
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
Function
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
Decimal
Status
00
00
0
Paper near end sensor: paper adequate.
0, 1
11
03
3
Paper near end sensor: paper not present.
00
00
0
Paper end sensor: paper present.
2, 3
11
0C
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
00
0
Drawer kick-out connector pin 3 is LOW.
0
1
01
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.