Samsung SRP-275CEPG Operation Manual - Page 102

ESC ACK SOH

Page 102 highlights

CHAPTER 5 CONTROL COMMANDS LIST ESC ACK SOH [Name] Inquire status [Format] ASCII ESC ACK SOH Hex 1B 06 01 Decimal 27 6 1 [Range] ------ [Default] ------ [Description] This command is effective only when using an interface capable of bi-directional data communications. When this command is received, the printer sends the status in real time to the host (not taking it from the reception buffer, but executing it immediately upon reception from the host). Bi-directional parallel interfaces enter a "data present" state. When in the serial interface DTR mode, and using a parallel interface, set so that the status can be inquired even when offline for errors, etc. When this command is sent once to the printer, do not send the next ESC ACK SOH command until the final auto status has been received. [Note] Refer to following tables(Auto status) 5-112 Auto status Header 1 (First byte) Bit Contents "0" 7 Fixed at "0" 6 Reserved (Fixed at "0") 5 Printer status Byte count 4 Fixed at "0" 3 Printer status Byte count 2 Printer status Byte count 1 Printer status Byte count 0 Fixed at "0" - Transmission byte count = 9 = 00100011B (23 Hex) Status "1" - checked - checked checked Header 2 (Second byte) Bit Contents 7 Fixed at "0" 6 Version No. 5 Version No. 4 Fixed at "0" 3 Version No. 2 Version No. 1 Version No. 0 Fixed at "0" Version No.n = 3 = 00000110B (06 Hex) Status "0" "1" - - - checked checked - Printer status 1 Printer status (Third byte) Bit Contents 7 Fixed at "0" 6 OFFLINE by switch input 5 Cover status 4 Fixed at "0" 3 ONLINE/OFFLINE status 2 Drawer kick-out connector status 1 command 0 Fixed at "0" "0" No Close Status ON-LINE OPEN Not executed - "1" Yes Open OFF-LINE CLOSE Executed 5-113

  • 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-112
5-113
Auto status
Header 1 (First byte)
Transmission byte count = 9 = 00100011B (23 Hex)
Bit
Contents
Status
7
6
5
4
3
2
1
0
Fixed at "0"
Reserved (Fixed at "0")
Printer status Byte count
Fixed at "0"
Printer status Byte count
Printer status Byte count
Printer status Byte count
Fixed at "0"
"0"
-
"1"
-
-
checked
-
checked
checked
Header 2 (Second byte)
Version No.n = 3 = 00000110B (06 Hex)
Bit
Contents
Status
7
6
5
4
3
2
1
0
Fixed at "0"
Version No.
Version No.
Fixed at "0"
Version No.
Version No.
Version No.
Fixed at "0"
"0"
-
"1"
-
-
-
checked
checked
Printer status 1 Printer status (Third byte)
Bit
Contents
Status
7
6
5
4
3
2
1
0
Fixed at "0"
OFFLINE by switch input
Cover status
Fixed at "0"
ONLINE/OFFLINE status
Drawer kick-out connector status
<ETB> command
Fixed at "0"
"0"
No
Close
ON-LINE
OPEN
Not executed
-
"1"
Yes
Open
-
OFF-LINE
CLOSE
Executed
CONTROL COMMANDS LIST
CHAPTER 5
ESC ACK SOH
[Name]
Inquire status
[Format]
ASCII
ESC
ACK
SOH
Hex
1B
06
01
Decimal
27
6
1
[Range]
------
[Default]
------
[Description]
This command is effective only when using an interface capable of
bi-directional data communications. When this command is received,
the printer sends the status in real time to the host (not taking it from the
reception buffer, but executing it immediately upon reception from the host).
Bi-directional parallel interfaces enter a "data present" state. When in the serial
interface DTR mode, and using a parallel interface, set so that the status can
be inquired even when offline for errors, etc. When this command is sent once
to the printer, do not send the next ESC ACK SOH command until the final
auto status has been received.
[Note]
Refer to following tables(Auto status)