![SPRT pos76 II Скачать руководство пользователя страница 15](http://html1.mh-extra.com/html/sprt/pos76-ii/pos76-ii_user-manual_1352020015.webp)
SPRT
14
Default n=0
ESC
!
Set character print mode
Format: ASCII
:
ESC
!
n
Decimal:
27
33
n
Hexadecimal: 1B
21
n
Explanation:
ESC
!
n is a comprehensive command to set character print mode, is used
for selecting print character size and underline. Each bit of print parameter
is defined as:
Value
Bit
Function
0
1
0
Character Selection
5×7
7×7
1
Undefined
2
Undefined
3
Undefined
4
Double height
Disabled
Enabled
5
Double height
Disabled
Enabled
6
Undefined
7
Underline
Disabled
Enabled
Default: n=0, namely select 5×7 dots, normal character size, no underline.
Notice: should select single directional print mode firstly, then can carry on
double height print.
ESC % Select/Cancel User-defined Characters
Format: ASCII
:
ESC
%
n
Decimal:
27
37
n
Hexadecimal: 1B
25
n
Explanation:
Parameter n is one byte, only the LSB is valid.
When n=<*******1>B, select user-defined character set;
When n=<*******0>B, select normal character set.
0≤n≤255
,
default n=0
ESC & Define User-defined Characters
Format: ASCII
:
ESC & s
n m [a,P1,P2,
…
Ps
×
a]m-n+1
Decimal:
27 38 s n m [a,P1,P2,
…
Ps
×
a]m-n+1
Hexadecimal: 1B 26 s
n m [a,P1,P2,
…
Ps
×
a]m-n+1
Explanation:
ESC & is used to define m-n+1 users-defined characters.