Samsung SRP-500 Guía Del Usuario

Descargar
Página de 40
 
 
67 
 
GS  j  n 
[Name] 
Enable/disable Automatic Status Back (ASB) for ink 
[Format]  
ASCII   
GS 
 
Hex    
1D  
6A  
 
Decimal  
29  
106   n 
[Range]  
0 ≤ n ≤ 255 
[Default] 
n = 0 
[Description] 
Enables of disables the ASB for ink 
n specifies the status for the ASB in the table below : 
Bit Function  Binary 
Hexadicimal 
Decimal 
Disable online/offline status 
of the ink mechanism 
0 00  0 
Enable online/offline status 
of the ink mechanism 
1 01  1 
Disable the status of ink 
detection 
0 00  0 
Enable the status of ink 
detection 
1 02  2 
2~7 Reserved 
00 
 
 [Notes] 
 
•  ASB(Automatic Status Back) transmits the status such as ink near-end, ink 
cartridge installed/not installed automatically to the printer in real-time. It is 
called [ASB function] and the status is [ASB status]. If you use ASB, 
application can acquire the printer change in real-time and passively. 
•  Enabling any status (except n =0) starts ASB. Then the current ASB status 
is transmitted. After that, when ASB is active, the selected enabled ASB 
status is transmitted each time the status changes. 
•  When n = 0, ASB is disabled. During ASB is disabled, ASB status is not 
transmitted. 
•  ASB status for ink is 4-byte, consisting of [header + status A + status B + 
NUL]. 
•  Header is [Hexadecimal = 35H/Decimal = 53] 
 
 68 
 
•  Status A : 
Bit Function Binary 
Hexadicimal 
Decimal 
Ink near-end not detected (1
st
 color) 
00 
Ink near-end detected (1
st
 color) 
01 
Ink end not detected (1
st
 color) 
00 
Ink end detected (1
st
 color) 
02 
Ink cartridge installed (1
st
 color) 
00 
Ink cartridge not installed (1
st
 color) 
04 
Ink cartridge installed (2
nd
 color) 
00 
Ink cartridge not installed (2
nd
 color) 
08 
4 Reserved 
Cleaning is not being performed 
00 
Cleaning is being performed 
20 
32 
6 Fixed 
40 
64 
7 Fixed 
00 
 
•  Status B : 
Bit Function Binary 
Hexadicimal 
Decimal 
Ink near-end not detected (2
nd
 color) 
00 
Ink near-end detected (2
nd
 color) 
01 
Ink end not detected (2
nd
 color) 
00 
Ink end detected (2
nd
 color) 
02 
2~5 Reserved 
6 Fixed 
40 
64 
7 Fixed 
00 
 
•  ASB is enabled if any status item is selected. The printer transmits a 4-
byte status when this command is executed. The printer automatically 
transmits a 4-byte status message whenever the status changes. Each 
status represents the current status. 
ASB status 
Bit Status ASB 
status 
Bit 
Detect ink end 
Status A: Bit 1 
Detect ink cartridge 
Status A: Bit 2 
Online/offline status of ink 
mechanism 
Cleaning 
Status A: Bit 5 
Detect ink near-end
Status A: Bit 0 
Detect ink end 
Status A: Bit 1 
Ink detection status 
Detect ink cartridge 
Status A: Bit 2