Copyright 2008 Unitech Electronics Co., Ltd. All rights reserved. Unitech is a registered trademark of Unitech Electronics Co., Ltd.
50
Copyright 2008 Unitech Electronics Co., Ltd. All rights reserved. Unitech is a registered trademark of Unitech Electronics Co., Ltd.
51
Font Name
Character size (WxH)
Command String
Section
24 CPI normal
8x23
ESC+’k’+’5’
2.1
21 CPI normal
9x23
ESC+’k’+’4’
2.1
19 CPI normal
10x23
ESC+’k’+’3’
2.1
16 CPI normal
12x23
ESC+’k’+’2’
2.1
12 CPI normal
16x23
ESC+’k’+’1’
2.1
13 CPI rotated
14x16
ESC+’k’+’0’
2.1
Table QR 2 – Printer Font Commands – Courier Character Set
Printer Font Commands:
Command String
Printer Action
Section
ESC – ‘F’ – ‘1’
Selects “International” character set
A.1.2.
ESC – ‘F’ – ‘2’
Selects “PC Line Draw” character set
A.1.2.
ESC – ‘U’ – ‘1’
Enable emphasized print
2.3
ESC – ‘U’ – ‘0’
Disable emphasized print
2.3
Table QR3 - Printer Font Commands
Printer Graphic Commands:
Printer Command String
Printer Action
Section
ESC – ‘A’ – n
Select dot line spacing between printed lines.
2.4
ESC – ‘J’ – n
Graphic Line Feed command
2.4
ESC – ‘P’ – ‘#’
Select Online mode, characters printed as received
5.5
ESC – ‘P’ – ‘$’
Select Buffer mode, characters are printed on (^D)
5.5
ESC – ‘V’ – n1 – n2 –
<data>
8-bit Graphic command
3.1
ESC – ‘v’ – n1 – n2 –
<data>
8-bit Compressed Graphic Command
3.2
Table QR4 - Printer Graphic Commands
Graphic Logo and Bar code commands:
Command String
Printer Action
Section
ESC – ‘L’ – ‘G’ – n
Prepare printer to load image
A.2.2
ESC – ‘G’ – 0x0FF
Loading Logo Complete
A.2.2
ESC – ‘L’ – ‘g’ – n
Print stored logo image
A.2.2
ESC – ‘z’ – n1 – n2 – L – [data]
Print Bar Code without visible text
4.0
ESC – ‘Z’ – n1 – n2 – L – [data]
Print Bar Code with visible text
4.0
ESC – ‘Q’ – ‘J’ – n
Reverse Dot Feed
6.2
ESC – ‘Q’ – ‘Q’ – n
Set Out of Paper Sensitivity
6.2
ESC – ‘Q’ – ‘F’ – m
Set Forward Black Mark Seek
6.2
ESC – ‘Q’ – ‘B’ – m
Reverse Black Mark Seek
6.2
Table QR 5 – Graphic Logo and Bar Code Commands
Printer Supervisory and Control Commands:
Command String
Printer Action
Section
^V
Buffer, power timer & battery status
5.6
^B
Buffer status
5.6
ESC – ‘P’ – ‘^’
Print Battery Voltage
5.3
ESC – ‘P’ – alpa
Time and date print and control
ESC – ‘M’ – ‘000’ - cr
Disable the power down timer
5.4
ESC – ‘M’ – ‘nn0’ - cr
Sets the power down timer to nn seconds
5.4
ESC – ‘C’
Reset Auto power down to 20 seconds
5.4
ESC – ‘P’ – ‘( ‘
Firmware version query
5.6
ESC – ‘P’ – ‘)’
Hardware model query
5.6
Table QR6 – Printer Supervisory and Control Commands