Руководство Пользователя для Compuprint 10300

Скачать
Страница из 229
Commands 
71
 
ESC [ g  
Selects 8 or 24 needle dot graphics mode. (IBM) 
ASCII Code 
ESC [ g l h m n
1
 … n
k
 
Hexadecimal Value 
1B 5B 67 l h m n
1
 … n
k
 
Decimal Value 
27 91 103 l h m n
1
 … n
k
 
This command selects dot graphics in 8 or 24 needle configuration. h*256+l  represents the 
number of data + 1. The m parameter represents the dot graphics modes as shown in the 
following table: 
m DENSITY  NEEDLE 
FUNCTION 
60 
Same as ESC K (8 needles) 
120 
Same as ESC L (8 needles) 
120 
Same as ESC Y (8 needles) 
240 
Same as ESC Z (8 needles) 
60 
24 
Same as ESC * (32) 
120 
24 
Same as ESC * (33) 
11 
180 
24 
Same as ESC * (39) 
12 
360 
24 
Same as ESC * (40) 
  
The n
1
, n
2
  up  to  n
k
 parameters are dot graphics data. If you select the 8 needle dot graphics 
mode, one byte data is needed for each column so that the formulas h*256+l = number of 
columns + 1
 is valid. If you select the 24 needle dot graphics mode, three bytes data is needed for 
each column so that the formulas h*256+l = number of columns *3+1 is valid.