Samsung SRP-275CEPG Operation Manual - Page 69

When DIP Switch or Memory Switch BUSY condition is Off: n = 0

Page 69 highlights

CHAPTER 5 CONTROL COMMANDS LIST GS a [Name] Enable/disable Automatic Status Back (ASB) [Format] ASCII GS a n Hex 1D 61 n Decimal 29 97 n [Range] [Default] 0 ≤ n ≤ 255 When DIP Switch or Memory Switch (BUSY condition) is Off: n = 0 When DIP Switch or Memory Switch (BUSY condition) is On: n = 2 [Description] Enables or disables basic ASB (Automatic Status Back) and specifies the status items to include, using n as follows: [Notes] 5-68 Bit Off/On Hex Decimal Status for ASB 0 Off On 00 01 0 Drawer kick-out connector pin 3 status disabled. 1 Drawer kick-out connector pin 3 status enabled. 1 Off On 00 02 2 Off On 00 04 0 On-line/off-line disabled. 2 On-line/off-line enabled 0 Error status disabled. 4 Error status enabled. 3 Off On 00 08 0 Paper sensor status disabled. 8 Paper sensor status enabled. 4 - - - Undefined. 5 - - - Undefined. 6 - - - Undefined. 7 - - - Undefined. ASB is the function that transmit the status of [cover open/close], [Online/ Offline] from the printer automatically. It is called [ASB function] and the status is [ASB status]. If you use ASB, application can acquire the printer change in a real-time and passively. Select any status enabled (except n = 0) and basic ASB starts. Then transmit the current basic ASB status. After that, while ASB is active the selected enabled basic ASB status is transmitted whenever the status changes. When n = 0, basic ASB is disabled. When ASB is disabled, basic ASB status is not transmitted. Multiple status items can be selected. When ASB is active, ASB status is transmitted whenever the status changes even if ESC = is not selected. This command setting is effective until ESC @ is executed, the printer is reset or power is turned off. During Block data [header - NUL] transmission, ASB is disabled temporarily. Therefore you cannot get the printer status change through ASB status when block data [header - NUL] is transmitted. Any basic ASB status represents the enabled status whenever the status changes. Therefore the disabled status items may change, because each status transmission represents the current status. The basic ASB statuses, corresponding to each bit for n are as follows: n ASB status Bit Function Bit Status Drawer kick-out 0 connector status. Bit 2 of the first byte Drawer kick-out connector pin 3 status Bit 3 of the first byte Online/ offline status. Bit 5 of the first byte Cover status. 1 Online/offline status. Bit 6 of the first byte Bit 0 of the second byte Paper is being fed by paper feed button status. Waiting for online recovery status. Bit 0 and 1 of the third Paper near-end sensor byte[Note] status. Bit 2 and 3 of the third byte[Note] Paper end sensor status. Bit 2 of the second byte Mechanical error status. 2 Error status. Bit 3 of the second byte Auto cutter error status. Bit 5 of the second byte Unrecoverable error status. Bit 6 of the second byte Automatically recoverable error status. 3 Roll pap sensor Bits 0 and 1 of the third byte Paper near-end sensor status. status Bits 2 and 3 of the third byte Paper end sensor status. 6 Panel switch Bit 1 of the second byte status. Paper feed status 5-69

  • 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

The basic ASB statuses, corresponding to each bit for n are as follows:
5-69
5-68
GS a
[Name]
Enable/disable Automatic Status Back (ASB)
[Format]
ASCII
GS
a
n
Hex
1D
61
n
Decimal
29
97
n
[Range]
0
n
255
[Default]
When DIP Switch or Memory Switch (BUSY condition) is Off: n = 0
When DIP Switch or Memory Switch (BUSY condition) is On: n = 2
[Description]
Enables or disables basic ASB (Automatic Status Back) and specifies the
status items to include, using n as follows:
Bit
Off/On
Hex
Decimal
Status for ASB
4
5
6
7
Off
On
Off
On
Off
On
Off
On
-
-
-
-
00
01
00
02
00
04
00
08
-
-
-
-
0
1
0
2
0
4
0
8
-
-
-
-
Drawer kick-out connector pin 3 status disabled.
Drawer kick-out connector pin 3 status enabled.
On-line/off-line disabled.
On-line/off-line enabled
Error status disabled.
Error status enabled.
Paper sensor status disabled.
Paper sensor status enabled.
Undefined.
Undefined.
Undefined.
Undefined.
[Notes]
ASB is the function that transmit the status of [cover open/close], [Online/
Offline] from the printer automatically. It is called [ASB function] and the
status is [ASB status]. If you use ASB, application can acquire the printer
change in a real-time and passively.
Select any status enabled (except n = 0) and basic ASB starts. Then
transmit the current basic ASB status. After that, while ASB is active the
selected enabled basic ASB status is transmitted whenever the status
changes.
When n = 0, basic ASB is disabled. When ASB is disabled, basic ASB
status is not transmitted.
Multiple status items can be selected.
When ASB is active, ASB status is transmitted whenever the status changes
even if ESC = is not selected.
This command setting is effective until ESC @ is executed, the printer is
reset or power is turned off.
During Block data [header - NUL] transmission, ASB is disabled temporarily.
Therefore you cannot get the printer status change through ASB status
when block data [header - NUL] is transmitted.
Any basic ASB status represents the enabled status whenever the status
changes. Therefore the disabled status items may change, because each
status transmission represents the current status.
n
ASB status
Bit
2
3
Function
Drawer kick-out
connector status.
Online/offline
status.
Error status.
Roll pap
sensor
status
Panel switch
status.
Bit
Bit 3 of the first byte
Bit 5 of the first byte
Bit 0 and 1 of the third
byte[Note]
Bit 2 and 3 of the third
byte[Note]
Bit 2 of the second byte
Bit 3 of the second byte
Bit 5 of the second byte
Bits 2 and 3 of the third byte
Status
Drawer kick-out connector
pin 3 status
Online/ offline status.
Cover status.
Paper is being fed by paper
feed button status.
Waiting for online recovery
status.
Paper near-end sensor
status.
Mechanical error status.
Auto cutter error status.
Unrecoverable error status.
Automatically recoverable error
status.
Paper near-end sensor
status.
Paper end sensor status.
CONTROL COMMANDS LIST
CHAPTER 5
0
1
2
3
0
1
6
Bits 0 and 1 of the third byte
Bit 1 of the second byte
Bit 6 of the second byte
Bit 0 of the second byte
Paper end sensor status.
Paper feed status
Bit 6 of the first byte
Bit 2 of the first byte