Руководство Пользователя для Samsung SRP-500

Скачать
Страница из 40
 
 
61 
 
GS  (  A  pL  pH  n  m 
[Name]  
Execute test print 
[Format]  
ASCII   
GS   (  
pL 
pH 
 
Hex    
1D 
28  
41 
pL 
pH 
 
Decimal  
29  
40  
65 
pL 
pH 
 
[Range]  
(pL + (pH ×256) ) = 2    (where   pL = 2, pH = 0) 
0 ≤ n ≤ 2, 48  ≤ n  ≤ 50 
1 ≤ m ≤ 3, 49 ≤ n  ≤ 51 
[Description]  
•  Executes a test print with a specified test pattern on a specified paper. 
•  pL and pH specifies the number of the parameter such as n,m to (pL + (pH 
×
256) ) bytes. 
•  n specifies the paper to be tested. 
Paper 
0, 48 
Basic sheet (paper roll) 
1, 49 
2, 50 
Paper roll 
 
•  m specifies a test pattern. 
Test pattern 
1, 49 
Hexadecimal dump 
2, 50 
Printer status print 
3, 51 
Rolling pattern print 
 
[Notes] 
•  When the hexadecimal dump is printed by this command, the data which 
is transmitted after the command may not be printed because the printer 
clears the receive buffer. To avoid this, transmit data from the host after 
the printer prints the starting message of the hexadecimal dump. 
•  This command is enabled only when processed at the beginning of a line 
in standard mode. 
 
 62 
 
GS I n 
[Name]  
Transmit printer ID 
[Format]  
ASCII  
GS  
I  
Hex  
1D  
49  
Decimal   29  
73  
[Range]  
1 ≤ n ≤ 3 
[Function]  
Transmits the printer ID specified by n as follows: 
 
Bit 
Printer ID 
Specification 
ID (hexadecimal) 
1,49 
Printer model ID 
SRP-500 series See table 
0D 
2,50 Type 
ID 
below 
3,51 
ROM version ID 
ROM version 
 
n = 2, Type ID 
Bit 
Off/On
Hex 
Decimal
Function 
Off 
00 
Two-byte character code not supported. 
 
On 
01 
Two-byte character code supported. 
Off 
00 
Auto cutter not equipped. 
 
On 02  2 Auto 
cutter 
equipped. 
2 -  -  - 
Undefined. 
3 -  -  - 
Undefined. 
Off 
00 
Not used. Fixed to Off. 
5 -  -  - 
Undefined. 
6 -  -  - 
Undefined. 
Off 
00 
Not used. Fixed to Off. 
 
[Notes] 
•  The printer ID is transmitted 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. 
[Reference]