Samsung SRP-275 Operator's Manual page 69

Pos impact dot matrix printer
Hide thumbs Also See for SRP-275:
Table of Contents

Advertisement

CHAPTER 5
CONTROL COMMANDS LIST
GS a
[Name]
Enable/disable Automatic Status Back (ASB)
[Format]
ASCII
GS
a
Hex
1D
61
Decimal 29
97
0 ≤ n ≤ 255
[Range]
[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
Off
00
0
On
01
Off
00
1
On
02
Off
00
2
On
04
Off
00
3
On
08
4
-
-
5
-
-
6
-
-
7
-
-
[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.
5-68
n
n
n
Decimal
Status for ASB
0
Drawer kick-out connector pin 3 status disabled.
1
Drawer kick-out connector pin 3 status enabled.
0
On-line/off-line disabled.
2
On-line/off-line enabled
0
Error status disabled.
4
Error status enabled.
0
Paper sensor status disabled.
8
Paper sensor status enabled.
-
Undefined.
-
Undefined.
-
Undefined.
-
Undefined.
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
Drawer kick-out
Drawer kick-out connector
0
Bit 2 of the first byte
connector status.
pin 3 status
Bit 3 of the first byte
Online/ offline status.
Bit 5 of the first byte
Cover status.
Paper is being fed by paper
Bit 6 of the first byte
Online/offline
feed button status.
1
status.
Waiting for online recovery
Bit 0 of the second byte
status.
Bit 0 and 1 of the third
Paper near-end sensor
byte[Note]
Bit 2 and 3 of the third
Paper end sensor status.
byte[Note]
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.
Automatically recoverable error
Bit 6 of the second byte
status.
Roll pap
Paper near-end sensor
Bits 0 and 1 of the third byte
3
sensor
status
Bits 2 and 3 of the third byte
Paper end sensor status.
Panel switch
6
Bit 1 of the second byte
Paper feed status
status.
Status
status.
status.
5-69

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents