14
5. Control commands
5.1 Printer driver
The following drivers, supplied by Nippon Primex Inc., are recommended when NP-345 is used
with the Windows driver. Please refer to the driver manual for details.
1. Windows 95/98:NII printer driver Windows 95/98, V1.00
2. Windows NT4.0: NII printer driver Windows NT4.0, V1.00
3. Windows 2000: NII printer driver Windows 2000, V1.01
5.2 Line mode command table
Control
codes
Functions
Pages
1 HT
Horizontal tab
15
2 CR
Carriage return
15
3 LF
Print and line feed
15
4 FF
Page feed
15
5 ESC C n
Page length set for n lines
15
6 ESC SP n
Character right space set
15
7 ESC ! n
Print mode overall set
16
8 ESC % n
Down load character set/reset
16
9 ESC & s n m a Dn
Down load character definition
16
*10
ESC * m n1 n2 Dn
Bit image mode set
19
11 ESC – n
Underline set/rest
21
12 ESC 2
1/6 inches line feed set
21
13 ESC 3 n
Smallest line feed pitch set
21
14 ESC @
Initialize printer
21
15 ESC D n1 n2 --- NUL
Set horizontal tab position
21
16 ESC E n
Bold print set/reset
22
17 ESC G n
Double strike print set/reset
22
18 ESC J n
Print and smallest pitch line feed
22
19 ESC R n
Select international character
22
20 ESC c 5 n
Feed switch enable/disable
23
21 ESC d n
Print and n line feed
23
22 ESC t n
Select character code table
23
23 ESC v
Send printer status
23
24 ESC { n
Inverted character set/reset
24
25 ESC V n
Character 90
°
clockwise rotation set/reset
24
*26
ESC $ n1 n2
Absolute position set
24
27 ESC ¥ n1 n2
Relative position set
24
28 GS k n Dn NUL
Barcode print
25
29 GS w n
Barcode width select
25
30 GS h n
Barcode height select
25
31 GS H n
HRI character print position select
25
32 GS f n
HRI character style select
26
33 GS * n1 n2 Dn
Download bit image define
26
34 GS / m
Download bit image print
27
35 GS :
Macro definition start/end
27
36 GS ^ n1 n2 n3
Macro define
27
37 ESC = n
Data input control
28
38 ESC a n
Position align
28
39 ESC c 3 n1 n2
No paper signal sensor select
28
40 ESC q S E M
QR code print
29
41 GS T n
Register NV bit image
31
42
GS P n
Print NV bit image
31
43 GS d Dn
Download firmware
32