Samsung 275C User Manual - Page 41

DLE EOT

Page 41 highlights

CHAPTER 4 Control commands list DLE EOT [Name] [Format] [Range] [Description] [Notes] Real-time status transmission ASCII DLE EOT n Hex 10 04 n Decimal 16 4 n 1 ≤ n ≤ 4 Transmits 1 byte of status data specified in real time, using n as follows: n Function 1 Transmit printer status 2 Transmit offline status 3 Transmit error status 4 Transmit paper sensor status • Printer status (n = 1) is as follows: Bit Binary Hex Decimal Status 0 0 00 0. Not used. Fixed to Off 1 1 02 2 Not used. Fixed to On 2 0 00 1 04 0 Drawer kick-out connector pin 3 is LOW 4 Drawer kick-out connector pin 3 is HIGH 3 0 1 00 08 0 Online 8 Offline 4 1 10 16 Not used. Fixed to On 5 0 00 0 Not used. Fixed to Off 6 0 00 0 Not used. Fixed to Off 7 0 00 0 Not used. Fixed to Off • Offline status (n = 2) is as follows: Bit Binary 0 0 1 1 Hex 00 02 Decimal 0. 2 2 0 1 00 04 0 4 3 0 1 00 08 0 8 4 1 10 16 5 0 1 00 20 0 32 6 0 1 00 04 0 4 7 0 00 0 Status Not used. Fixed to Off Not used. Fixed to On Cover is closed 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 On No paper end stop Printing stops due to a paper end No error Error occurred Not used. Fixed to Off • Error status (n = 3) is as follows: Bit Binary Hex Decimal 0 0 00 0 1 1 02 2 2 0 1 00 04 0 4 3 0 1 00 08 0 8 4 1 10 16 5 0 1 00 20 0 32 6 0 00 0 1 04 4 7 0 00 0 Status Not used. Fixed to Off Not used. Fixed to On No mechanical error Mechanical error occurred No auto cutter error Auto cutter error occurred Not used. Fixed to On No unrecoverable error Unrecoverable error occurred No auto-recoverable error Auto-recoverable error occurred Not used. Fixed to Off • Paper sensor status (n = 4) is as follows: Bit Binary Hex Decimal Status 0 0 00 0 Not used. Fixed to Off 1 1 02 2 Not used. Fixed to On 2,3 00 11 00 0C 0 Paper near end sensor: paper adequate 12 Paper near end sensor: paper near end 4 1 10 16 Not used. Fixed to On 5,6 00 00 11 60 0 Paper end sensor: paper present 96 Paper end sensor: paper not present 7 0 00 0 Not used. Fixed to Off 4-5

  • 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-5
DLE EOT
[Name]
Real-time status transmission
[Format]
ASCII
DLE
EOT
n
Hex
10
04
n
Decimal
16
4
n
[Range]
1
n
4
[Description]
Transmits 1 byte of status data specified in real time, using
n
as follows:
n
Function
1
Transmit printer status
2
Transmit offline status
3
Transmit error status
4
Transmit paper sensor status
[Notes]
• Printer status (
n
= 1) is as follows:
Bit
Binary
Hex
Decimal
Status
0
0
00
0.
Not used. Fixed to Off
1
1
02
2
Not used. Fixed to On
0
00
0
Drawer kick-out connector pin 3 is LOW
2
1
04
4
Drawer kick-out connector pin 3 is HIGH
0
00
0
Online
3
1
08
8
Offline
4
1
10
16
Not used. Fixed to On
5
0
00
0
Not used. Fixed to Off
6
0
00
0
Not used. Fixed to Off
7
0
00
0
Not used. Fixed to Off
• Offline status (
n
= 2) is as follows:
Bit
Binary
Hex
Decimal
Status
0
0
00
0.
Not used. Fixed to Off
1
1
02
2
Not used. Fixed to On
0
00
0
Cover is closed
2
1
04
4
Cover is open
0
00
0
Paper is not being fed by the paper feed button
3
1
08
8
Paper is being fed by the paper feed button
4
1
10
16
Not used. Fixed to On
0
00
0
No paper end stop
5
1
20
32
Printing stops due to a paper end
0
00
0
No error
6
1
04
4
Error occurred
7
0
00
0
Not used. Fixed to Off
• Error status (
n
= 3) is as follows:
Bit
Binary
Hex
Decimal
Status
0
0
00
0
Not used. Fixed to Off
1
1
02
2
Not used. Fixed to On
0
00
0
No mechanical error
2
1
04
4
Mechanical error occurred
0
00
0
No auto cutter error
3
1
08
8
Auto cutter error occurred
4
1
10
16
Not used. Fixed to On
0
00
0
No unrecoverable error
5
1
20
32
Unrecoverable error occurred
0
00
0
No auto-recoverable error
6
1
04
4
Auto-recoverable error occurred
7
0
00
0
Not used. Fixed to Off
• Paper sensor status (
n
= 4) is as follows:
Bit
Binary
Hex
Decimal
Status
0
0
00
0
Not used. Fixed to Off
1
1
02
2
Not used. Fixed to On
00
00
0
Paper near end sensor: paper adequate
2,3
11
0C
12
Paper near end sensor: paper near end
4
1
10
16
Not used. Fixed to On
00
00
0
Paper end sensor: paper present
5,6
11
60
96
Paper end sensor: paper not present
7
0
00
0
Not used. Fixed to Off