Справочник Пользователя для Samsung SRP-500

Скачать
Страница из 41
 
 
63 
 
  GS V m 
  GS V m n 
[Name]  
Feeds paper for cutting position. 
[Format]  
  1 ASCll   GS   V  
Hex  
1D  
56   m 
Decimal   29  
86   m 
 
  ASCll  
GS   V  
m  
Hex  
1D  
56   m  
Decimal   29  
86   m  
[Range]  
  m = 1, 49  
  m = 66, 0 ≤ n ≤ 255 
[Description]  
Feeds paper for cutting position as follows; 
 
Bit 
Print mode 
1, 49 
Partial cut (one portion left uncut) 
66 
Feeds paper for ( cutting position + [n x 0.122 mm {1/192 inches}]), and partial cut.
 
[Notes] 
•  This command is effective only at the beginning of a line. 
•  When n = 0, the printer feeds the paper to the cutting position. 
•  When n , 0,the printer feeds the paper to (cutting position +[ n x 0.122 mm 
{1/192 inches}]). 
 
 
GS a n 
[Name]  
Enable/Disable Automatic Status Back 
[Format]  
ASCII  
GS  
a  
n  
Hex  
1D  
61  
Decimal   29  
97  
[Range]  
0 ≤ n ≤ 255 
[Description]  
Enables or disables ASB and specifies the status items to 
include, using n as follows: 
 
 
 
 64 
 
 
Bit 
Off/On
Hex 
Decimal
Status for ASB 
Off 
00 
Drawer kick-out connector pin 3 status disabled. 
 
On 
01 
Drawer kick-out connector pin 3 status enabled. 
Off 00  0 On-line/off-line 
disabled. 
 
On 02  2 On-line/off-line 
enabled 
Off 00  0 Error 
status 
disabled. 
 
On 04  4 Error 
status 
enabled. 
Off 
00 
Paper roll sensor status disabled. 
 
On 
08 
Paper roll sensor status enabled. 
4 -  -  - Undefined. 
5 -  -  - Undefined. 
6 -  -  - Undefined. 
7 -  -  - Undefined. 
 
[Notes] 
•  Even if only one of the statuses is enabled, the status is sent when this 
command is executed. Subsequently, whenever the state of a valid status 
changes, that status is sent. In this case, because the current state is 
shown for each status, there is a possibility of a state change for a status 
for which ASB is not enabled. 
•  If all statuses are disabled, the Automatic Status Back (ASB) function is 
disabled. 
•  When transmitting a status, the printer transmits only four bytes. 
•  Four bytes of status data must be consecutive, except for XOFF code. 
•  This command is executed when the data in the receive buffer is 
developed. Therefore, there may be a time lag between receiving this 
command and transmitting the status, depending on the receive buffer 
status. 
•  When the printer is disabled by ESC = (Select peripheral device), this 
command is disabled but ASB is not disabled.  
•  The status to be transmitted are as follows: