Samsung SRP-350PG - SRP 350 B/W Direct Thermal Printer Service Manual page 78

Thermal receipt printer srp-350 ver.2 series
Table of Contents

Advertisement

Command
GS a n
[Name]
Enable/Disable Automatic Status Back.
[Format]
ASCII
Hex
Decimal
[Range]
0 ≤n ≤255
[Description]
Enables or disables ASB 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-7
-
-
[Details]
* If any of the status items in the table above are enabled, the printer
transmits the status when this command is executed. The printer
automatically transmits the status whenever the enabled status item
changes. The disabled status items may change, in this case, because
each status transmission represents the current status.
* If all status items are disabled, the ASB function is also disabled.
* If the ASB is enabled as a default, the printer transmits the status when
the printer data reception and transmission is possible at the first time
from when the printer is turned on.
* The following four status bytes are transmitted without confirming
whether the host is ready to receive data. The four status bytes must be
consecutive, except for the XOFF code.
* Since this command is executed after the data is processed in the
receive buffer, there may be a time la between data reception and
status transmission.
* When the printer is disabled by ESC= (Select peripheral device), the
four status bytes are transmitted whenever the status changes.
* The status to be transmitted are as follows :
First byte (printer information)
Bit
Off/On
Hex
0
Off
00
1
Off
00
Off
00
2
On
04
Off
00
3
On
08
4
On
10
Off
00
5
On
20
Off
00
6
On
40
7
Off
00
Samsung Electro-Mechanics
GS
a
n
1D
61
n
29
97
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 status disabled.
2
On-line / Off-line status enabled.
0
Error status disabled.
4
Error status enabled.
0
Paper roll sensor status disabled.
8
Paper roll sensor status enabled.
-
Undefined.
Decimal
Status for ASB
0
Not used. Fixed to Off.
0
Not used. Fixed to Off.
0
Drawer kick-out connector pin 3 is LOW.
4
Drawer kick-out connector pin 3 is HIGH.
0
Online.
8
Offline.
16
Not used. Fixed to On.
0
Cover is closed.
32
Cover is open.
0
Paper is not being fed by using the PAPER FEED button.
64
Paper is being fed by using the PAPER FEED button.
0
Not used. Fixed to Off.
8-15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents