Samsung SRP-275CEPG Operation Manual - Page 70

Off/On, Decimal, Function

Page 70 highlights

CHAPTER 5 CONTROL COMMANDS LIST [Note] Only if ESC 4 is selected or paper stop printing sensor is not selected. Basic ASB status is 4-byte configuration [first byte - fourth byte]. The status to be transmitted are as follows: First byte (printer information) Bit Off/On Hex Decimal Function 0 Off 00 0 Not used. Fixed to Off. 1 Off 00 Off 00 2 On 04 0 Not used. Fixed to Off. 0 Drawer kick-out connector pin 3 is LOW. 4 Drawer kick-out connector pin 3 is HIGH. Off 00 3 On 08 0 On-line. 8 Off-line. 4 On 10 16 Not used. Fixed to On. Off 00 0 Cover is close 5 On 20 32 Cover is open Off 00 0 Paper is not being fed by the paper feed button. 6 On 40 64 Paper is being fed by the paper feed button. 7 Off 00 0 Not used. Fixed to Off. Second byte (printer information) Bit Off/On Hex Decimal Function 0 Off 00 0 Not used. Fixed to Off. 1 Off 00 0 Not used. Fixed to Off. Off 00 2 On 04 Off 00 3 On 08 0 No mechanical error. 4 Mechanical error. 0 No auto cutter error. 8 Auto cutter error occurred. 4 Off 00 0 Not used. Fixed to Off. Off 00 0 No unrecoverable error. 5 On 20 32 Unrecoverable error. Off 00 0 No automatically recoverable error. 6 On 40 64 Automatically recoverable error occurred. 7 Off 00 0 Not used. Fixed to Off. - If mechanical error (bit 2) or auto-cutter error (bit 3) occurs due to paper jams or the like, it is possible to recover by correcting a cause of the error and executing DLE ENQ. - If an unrecoverable error (bit 5) occurs, turn off the power as soon as possible. 5-70 Third byte (paper sensor information) Bit Off/On Hex Decimal Function Off 00 0,1 On 03 0 Paper near end sensor: paper adequate. 3 Paper near end sensor: paper near end. 2,3 Off On 00 0C 0 Paper end sensor: paper present. 12 Paper end sensor: no paper present. 4 Off 00 0 Not used. Fixed to Off. 5 Off 00 0 Not used. Fixed to Off. 6 Off 00 0 Not used. Fixed to Off. 7 Off 00 0 Not used. Fixed to Off. - Some paper sensors are not present, depending on the printer model. The names of some paper sensors are different, depending on the printer model. Fourth byte(paper sensor information) Bit Off/On Hex Decimal Function 0 On 01 1 Not used. Fixed to On. 1 On 02 2 Not used. Fixed to On. 2 On 04 3 On 08 4 Not used. Fixed to On. 8 Not used. Fixed to On. 4 Off 00 0 Not used. Fixed to Off. 5 Off 00 0 Not used. Fixed to Off. 6 Off 00 0 Not used. Fixed to Off. 7 Off 00 0 Not used. Fixed to Off. 5-71

  • 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-71
5-70
[Note]
Only if ESC 4 is selected or paper stop printing sensor is not selected.
Basic ASB status is 4-byte configuration [first byte - fourth byte].
The status to be transmitted are as follows:
First byte (printer information)
Second byte (printer information)
-
If mechanical error (bit 2) or auto-cutter error (bit 3) occurs due to paper
jams or the like, it is possible to recover by correcting a cause of the error
and executing DLE ENQ.
-
If an unrecoverable error (bit 5) occurs, turn off the power as soon as
possible.
Bit
Off/On
Hex
Decimal
Function
0
1
4
7
Off
Off
Off
On
Off
On
On
Off
On
Off
On
Off
00
00
00
04
00
08
10
00
20
00
40
00
0
0
0
4
0
8
16
0
32
0
64
0
Not used. Fixed to Off.
Not used. Fixed to Off.
Drawer kick-out connector pin 3 is LOW.
Drawer kick-out connector pin 3 is HIGH.
On-line.
Off-line.
Not used. Fixed to On.
Cover is close
Cover is open
Paper is not being fed by the paper feed button.
Paper is being fed by the paper feed button.
Not used. Fixed to Off.
Bit
Off/On
Hex
Decimal
Function
0
1
4
7
Off
Off
Off
On
Off
On
Off
Off
On
Off
On
Off
00
00
00
04
00
08
00
00
20
00
40
00
0
0
0
4
0
8
0
0
32
0
64
0
Not used. Fixed to Off.
Not used. Fixed to Off.
No mechanical error.
Mechanical error.
No auto cutter error.
Auto cutter error occurred.
Not used. Fixed to Off.
No unrecoverable error.
Unrecoverable error.
No automatically recoverable error.
Automatically recoverable error occurred.
Not used. Fixed to Off.
Third byte (paper sensor information)
-
Some paper sensors are not present, depending on the printer model.
The names of some paper sensors are different, depending on
the printer model.
Fourth byte(paper sensor information)
Bit
Off/On
Hex
Decimal
Function
4
5
6
7
Off
On
Off
On
Off
Off
Off
Off
00
03
00
0C
00
00
00
00
0
3
0
12
0
0
0
0
Paper near end sensor: paper adequate.
Paper near end sensor: paper near end.
Paper end sensor: paper present.
Paper end sensor: no paper present.
Not used. Fixed to Off.
Not used. Fixed to Off.
Not used. Fixed to Off.
Not used. Fixed to Off.
Bit
Off/On
Hex
Decimal
Function
0
1
2
3
4
5
6
7
On
On
On
On
Off
Off
Off
Off
01
02
04
08
00
00
00
00
1
2
4
8
0
0
0
0
Not used. Fixed to On.
Not used. Fixed to On.
Not used. Fixed to On.
Not used. Fixed to On.
Not used. Fixed to Off.
Not used. Fixed to Off.
Not used. Fixed to Off.
Not used. Fixed to Off.
CONTROL COMMANDS LIST
CHAPTER 5
2
3
5
6
2
3
5
6
0,1
2,3