Xiamen Cashino Technology Co.,Ltd
A2L User Manual
13
DEC
:
27 33 n
HEX
:
1B 21 n
Function
Set character printing methods (font,highlight,inversion,bold,double
hight,double width and underline),parameter n bit definition as below:
Bit Function
Value
0
1
0 Font
Normal
Small character
1 Undefined
2 Undefined
3 Bold
Cancel
Setting
4 Double hight
Cancel
Setting
5 Double width
Cancel
Setting
6 Undefined
7 Underline
Cancel
Setting
Range
None
Defaults
n = 0
Support Model
All
Notes
The command is effective with Chinese and foreign languages.
The command is disabled when ESC@, printer reset or power off
Example
1B 40 1B 21 01 30 31 32 0D 0A
1B 40 1B 21 02 30 31 32 0D 0A
1B 40 1B 21 04 30 31 32 0D 0A
1B 40 1B 21 08 30 31 32 0D 0A
1B 40 1B 21 10 30 31 32 0D 0A
1B 40 1B 21 20 30 31 32 0D 0A
1B 40 1B 21 40 30 31 32 0D 0A
1B 40 1B 21 80 30 31 32 0D 0A
Set character size
Name
Set character size
Code
ASCII
:
GS ! n
DEC
:
29 33 n
HEX
:
1d 21 n
Function
Set character size as 1-8 times width,1-8 times height. Definition is as
below:
Use 0-3 set character height 4 - 7 bits set character width show as
below:
Chart 1
Chart 2
Character width setting
Character height setting