Spec. No D-F0301
Specifications for
Kiosk module printer
NP-215
NP-225
NP-325
NP-415W
Revision 1.00 2000.08.01 1 edition
Revision 2.00 2001.04.18 2 edition
Revision 2.10 2001.06.13 3 edition
Revision 2.20 2002.01.29 4 edition
Revision 2.30 2002.02.15 5 edition
Revision 2.40 2002.03.26 6 edition
Revision 2.50 2002.04.12 7 edition
Revision 2.60 2002.07.09 8 edition
Revision 2.70 2003.01.31 9 edition
《Notice》 ・All features and specifications described are subject to change without notice.
Download from Www.Somanuals.com. All Manuals Search And Download.
Table of Contents
1. Overview
1.1 Overview
1
1
2
1.2 Features
1.3 Configuration
2. Specifications
2.1 Basic specifications
2
4
5
5
2.2 Printing area and cutter position
2.3 Power supply specifications
2.4 Reliability
2.5 Dimensions
1) NP-215 dimensional drawing
2) NP-225 dimensional drawing
3) NP-325 dimensional drawing
4) NP-415W dimensional drawing
6
7
8
9
3. Interface specifications
3.1 Parallel interface (Centronics)
3.2 Serial interface (RS-232C)
3.3 Connector connections
3.4 Connector signal details
10
11
12
12
4. Functions
4.1 Function setting
4.2 Processing error
4.3 Buffer full print
4.4 Automatic paper cut
4.5 Winder drive
16
17
17
18
18
18
4.6 Partition drive
5. Control commands
5.1 Control command table
5.2 Printer driver
19
20
20
5.3 Control command details
6. Character code table
6.1 Domestic code table
39
40
41
6.2 Overseas character code table
6.3 International character code table
7. Cable
7.1 B501 power cable
42
Download from Www.Somanuals.com. All Manuals Search And Download.
1. Overview
1.1 Overview
The printer is categorized as following.
NP - *
* 5 *
*
4
1
2
3
1: Paper width, 2 = 2 inches, 3 = 3 inches
2: Paper setting, 1= Paper holder type, 2 = Drop-in type
3: Interface, P = Parallel, R = Serial, D = Parallel/Serial compatible
4: OEM number
* D type is parallel and serial compatible. Interface connector is not incorporated.
NP - 4 1 5 W * *
1
2
3
1: Windows driver available
2: Interface, P = Parallel, R = Serial, D = Parallel/Serial compatible
3: OEM number
* D type is parallel and serial compatible. Interface connector is not incorporated.
1.2 Features
This module printer is designed on the basis of our long experience as a printer manufacturer.
Individual unit such as printer mechanism, controller board and auto-cutter is assembled in
compact with our reliable design concept.
Simple integration to the system requiring only power and data supplies, that contributes to the
short development time and improvement of product reliability.
1) Important areas such as paper entrance and auto-cutter guide are designed professionally on
the basis of our long experience as a printer manufacturer.
2) Small, compact and light weight. Easy to integrate into various kinds of system.
3) Short development time.
4) High speed and quality of printing
5) Both parallel and serial interfaces are available as a standard.
6) Various barcode symbols, 1-D and 2-D (QR code) are available.
7) Various kinds of application are available.
8) Possible to control paper presenter (paper transfer and present device).
9) User-friendly drop-in type of roll paper holder with paper end sensor. * 1
10) Windows drivers (Windows95/98/NT4.0/2000) are available.
11) Easy to write/rewrite F/W by using flash memory. Also, 3 patterns of registration are
available with NV bit image.
*1 Drop-in type of paper holder is for NP-225, NP-325 and NP-415W. NP-215 is paper holder
type.
1
Download from Www.Somanuals.com. All Manuals Search And Download.
1.3 Configuration
The printer consists of the following components.
Product Name
NP-215
X
NP-225
X
NP-325
NP-415W
Description
Specification
NP-215
Part No.
Q’ty
1
NP-225
NP-325
1
1
1
1
1
1
1
1
Printer
X
X
NP-415W
60xØ 48mm
80xØ 48mm
112xØ 48mm
80R
80L
tight
D-P44507
X
X
24-X117
24-X121
24-X116
35-029Q
35-030Q
21-U196
30-439A
X
X
Thermal paper
Paper holder
X
X
X
Screws
B501power
cable
2
1
X
X
X
X
*B501 power cable : D type only
2. Specifications
2.1 Basic specifications
No.
Specifications
1. Print method
2. Total dots / line
3. Dot density
NP-215/225
NP-325
Å
NP-415W
1
Print specs.
Line thermal dot
432 dots
Å
832 dots
576 dots
8 dots / mm
54 mm
Å
72 mm
Å
104 mm
70 mm / s
4. Print width
5. Print speed (Max.)
*It can be changed by the
condition.
85 mm / s
70 mm / s
1 partition drive
(ASCII print)
1 partition drive
(ASCII print)
Automatic partition
drive (ASCII 38 print)
6. Print digits
Font A (12×24)
Font B (9×17)
7. Line feed pitch
1. Character size
Font A (12×24)
Font B (9×17)
2. Character types
ASCII
36 digits (Font A)
48 digits (Font B)
0.125 mm
48 digits (Font A)
64 digits (Font B)
Å
69 digits (Font A)
92 digits (Font B)
Å
2
Character
specs.
1.50×3.00 mm
Å
Å
Å
Å
1.13×2.13 mm
224
80×2
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Block graphics
International
32
3. Character modification
Double width
Vertical double
Quadruple
Bold
Double strike
Inverted
90°clockwise rotation
Black/white reverse
Underline
4. Line spacing (Default)
1-D symbology
4.25 mm (1/6 inch)
ANK mode
Bit image mode
Barcode mode
UPC-A
3
4
Print mode
Barcode
specs
UPC-E
EAN-13 (JAN-13)
EAN-8 (JAN-8)
CODE39
ITF
2
Download from Www.Somanuals.com. All Manuals Search And Download.
CODABAR (NW-7)
CODE128
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
Å
2-D symology
Parallel
QR code
5
6
Interface
Centronics
Serial
RS-232C
Auto-cutter
1. Cut method
2. Applicable paper
Guillotine type
Thermal 65 - 125
(micro)
3. Cut cycle
30 cuts / minute
Total cut
Å
Å
Å
Å
4. Cut mode (by command
setting)
Partial cut (a 2mm tab
left at the center)
300,000 cuts
5. Life time
Å
Å
7
Paper
specs.
1. Paper width
60 mm
80 mm
112mm
2. Max. diameter
3. Core diameter
Ø80 mm / Ø83 mm
Inner Ø12mm
Outer Ø18mm
Ø83 mm
Ø83 mm
←
←
4. Papers recommended
TF50KS-E2D (Nihon Seishi)
PD160R-N (Shin Oji Seishi)
AFP235 (Mitsubishi Seishi)
TL69KS-R2 (Nihon Seishi)
TL69KS-HW74 (Nihon Seishi)
TC98KS-T1 (Nihon Seishi)
←
8
9
Receiving
buffer
Approx. 10K bytes
←
Operation
SW
ALMLED OUT
Line feed SW input
approx. 550g / 650g
←
←
←
←
10
11
Weight
Net weight
approx. 750g
approx. 1,250g
Low sensor
Approx. 22.5 Ø (approx.2.5m+-1m. When inner Approx. 3m +- 1.5m
of paper core is Ø 12 and outer is Ø 18)
Reflection sensor.
(When inner of paper
core is Ø 12 and outer
is Ø 18.) Changeable
reflection sensor
3
Download from Www.Somanuals.com. All Manuals Search And Download.
2.2 Printing area and cutter position
Cutter position (Cutting place)
A
TOP
0.0mm
3.0mm
Cutter position
Unprintable area
Head position
17.5mm
28.5mm
Sensor position
NP-215
NP-225
60mm
3mm
54mm
432dot 576dot
NP-325 NP-415W
1
2
D
…………
A
B
C
D
80mm
4mm
112mm
4mm
0.125mm
C
72mm
104mm
832dot
B
B
9.1+-0.5mm
1. Black mark printing is used
when preprint paper is formatted
and used.
Black mark printing
5.3+-0.2mm min.
2. Black mark printing is printed on
the backside with black ink.
3. Do not print around the black
mark printing area with dark ink.
10.3+-0.2 mm min
4
Download from Www.Somanuals.com. All Manuals Search And Download.
2.3 Power supply specifications
1) Power voltage
: DC24V±5%
2) Current consumption *2, *3
NP-215/225
NP-325
NP415W
1 partition 2 partition 1 partition 2 partition 1 partition 2 partition
Approx. 0.1A
Standby
ASCII printing
Approx.
1.4A
Approx.
6.0A
Approx.
0.9A
Approx.
3.2A
Approx.
1.7A
Approx.
7.8A
Approx.
1.1A
Approx.
4.1A
Approx.
1.3A
Approx.
5.7A
-
-
(Printing average of 16%)
Bit image printing
(Max 100%)
*2: A sufficient volume of power supply is required to maintain print quality due to high peak current
that may run according to printing.
*3: If power supply cable is excessively long, the operation may become unstable. Cable should be
made as short as possible. If not available, connect cables near the printer and place an electrolysis
condenser of 2200μ between power supply and ground. Voltage resistance should be higher than
35V.
* For preventing from static electric discharge, make sure to connect FG wire.
2.4 Reliability
1) Head life
: Average resistance change rate to head less than 15%, except
defects caused by dust or others
Pulse
: More than 100 million pulses (with recommended paper)
: More than 50 km (with recommended paper)
Wear distance
2) Operation environment : Temperature 0 – 45℃
Print guarantee 5 - 40℃, no condensation
: Temperature -20 - 60℃
3) Storage environment
* When storing for a long time, paper must be kept loaded between head and platen.
4) Frame Ground (FG) wire
The FG wire (Green and Yellow) is coming from the printer body. Make sure to ground the wire
near the body frame when installing the printer. FG grounding is effective for minimizing the noise
level, preventing from SED and maintaining the FG safety for head, cutter, body frame, power
supply and Data connectors.
5) Safety regulation
CE marking
UL60950
6) EMC
EMI: EN55022
VCCI: Class A
FCC: Class A
EMS: EN55024
5
Download from Www.Somanuals.com. All Manuals Search And Download.
2.5 Dimensions
1) NP-215 dimensional drawing
NP-215R
M3 screw holes to fix frame ground.
frame ground wires L=(75)
111.3
27.8
118
R type
frame ground
φ3.4
frame ground
φ5.4×3.4
D type
(33)
60
paper width
(33)
(54)
paper exit
60.5
NP-215D
frame ground
This drawing is for NP-215P.
6
Download from Www.Somanuals.com. All Manuals Search And Download.
2) NP-225 dimensional drawing
M3 screw holes to fix frame ground.
NP-225R
frame ground wires L=(75)
120.8
79.3
frame ground
frame ground
(54)
paper exit
118
60
paper width
(33)
(33)
60.5
NP-225D
frame ground
This drawing is for NP-225P.
7
Download from Www.Somanuals.com. All Manuals Search And Download.
3) NP-325 dimensional drawing
M3 screw holes to fix frame ground.
NP-325R
frame ground wires L=(75)
120.8
79.3
frame ground
frame ground
(53)
paper exit
45.2
118
80
paper width
(23)
(23)
59.5
NP-325D
frame ground
This drawing is for NP-325P.
8
Download from Www.Somanuals.com. All Manuals Search And Download.
4) NP-415W dimensional drawing
9
1
NP-415WR
115.5
82.2
6.0
5.9
156.1
54.3
paper exit
112.0
28.0
28.0
paper width
NP-415WD
This drawing is for NP-415WP.
9
Download from Www.Somanuals.com. All Manuals Search And Download.
3. Interface specifications
3.1 Parallel interface (Centronics)
1) Data input
: 8 bit parallel method(DATA 0 – DATA 7)
: /ACK, BUSY, /STB, /ERROR, PE, SLCT, /INIT
2) Control signals
3) Input signal to a printer
DATA 0 – 7
/STB
: 8 bit parallel signal(positive logic)
: Signal to read 8 bit data(negative logic)
/INIT
: Signal to reset an entire printer(negative logic)
: Signal to feed paper to print mechanism(negative logic)
/LF
4) Output signal from a printer
/ACK
: Enquiry signal for 8 bit data. It’s also pulse signal which is output after
BUSY signals (negative logic)
BUSY
/ERROR
: Indicate BUSY status of the printer. Inputs new data at LOW status
(positive logic)
: This signal becomes LOW when a printer is in the alarm status.
In the LOW status, all control circuits in the printer stops (negative logic)
: Outputs when roll paper becomes empty (positive logic)
: Signal to indicate on-line status (positive logic)
PE
SLCT
5) Input/Output signal level
Standard value
TYP.
Code
Unit
Min.
Max.
Input low level
Input high level
Output low level
Output high level
*IOL4mA
VIL
VIH
VOL
VOH
-
-
-
-
-
0.18Vcc
V
V
V
V
0.7Vcc
-
0.7Vcc
-
0.7Vcc
-
6) Input/Output conditions
VCC
VCC
100
STROB
74LV14
IN PUT
VCC
10K
74LV574
3.3k
PD0~PD7
IN PUT
○ LF
IN PUT
510
INIT IN
IN PUT
1SS319
47
ACK, P E, SLCT, ERROR
OUT PUT
74LV14
47
BUSY
OUT PUT
74LV32
10
Download from Www.Somanuals.com. All Manuals Search And Download.
7) Timing chart
POWER
T2 T3
DATA
/STB
BUSY
T1
T4
T5
T6
/ACK
T1 = 3500msec (Max)
T2, T3 = 500nsec (Min)
T4 = 500nsec (Max)
T5, T6 = 4microsec(TYP)
8) Receive control
When BUSY signal stays at LOW, it is feasible to receive data from host computer.
But not feasible when BUSY signal stays at HIGH.
3.2 Serial interface (RS-232C)
1) Synchronization
: Asynchronous
2) Transmission speed: 4800, 9600, 19200, 38400bps (user selectable)
3) A word consists of
Start bit
: 1bit
Data bit : 7 or 8 bit (user selectable)
Parity bit
Stop bit
: odd, even or no parity (user selectable)
: more than 1 bit
4) Signal polarity
RS-232C
Mark
Space
=
=
Logic “1” (-3V -- -12V)
Logic “0” (+3V -- +12V)
5) Receive data (RD signal)
RS-232C
Mark
=
=
1
0
Space
6) Reception control (DTR signal)
RS-232C
Mark
=
=
1
0
Space
7) Transmission control (TD signal)
DC1, [11]h
DC3, [13]h
XON:
Enable data receiving
XOFF: Disable data receiving
11
Download from Www.Somanuals.com. All Manuals Search And Download.
3.3 Connector connections
1) J1 Power input
2) CN2 Connect to printer mechanism (head)
3) CN3 Connect to printer mechanism (motor)
4) CN4 Connect to printer mechanism (sensors)
5) CN5 Data signal input
6) CN6 Connect to autocutter
7) CN7 Connect to auxiliary sensor(paper low end)
8) CN8 Connect to operation panel
9) CN9 Connect to presenter (NPT-301 only)
3.4 Connector signal details
1.J1 power input connecter (D type)
Printer side connector
: B4B-XHA (JST)
Mating connector : XHP-4 (JST)
Pin #
Signal name
VH
Input/Output
Function
Power DC +24V
Power DC +24V
Power GND
1
2
3
4
Input
Input
VH
GND
GND
-
-
Power GND
* A sufficient volume of power supply is required to maintain print quality due to high peak
current that may run according to printing. If power supply cable is excessively long, the
operation may become unstable. Cable should be as short as possible. If not available,
connect cables near the printer and place an electrolysis condenser of 2200μ between
power supply and ground. Voltage resistance should be higher than 35V. Make sure to
connect FG wire to prevent from ESD problems.
2. Power input connecter (P type, R type)
Printer side connector
: TCS7960-532010 (Hoshiden)
Mating connector : TCP8927-53-1100, TCP8935-53-1100 (Hoshiden) Equivalent
Pin #
1
2
3
Shell
Signal name
VH
GND
Not available
FG
Input/Output
Function
Power DC +24V
Power ground
Input
-
-
-
FG
* A sufficient volume of power supply is required to maintain print quality due to high peak
current that may run according to printing. If power supply cable is excessively long, the
operation may become unstable. Cable should be as short as possible. If not available,
connect cables near the printer and place an electrolysis condenser of 2200μ between
power supply and ground. Voltage resistance should be higher than 35V. Make sure to
connect FG wire to prevent from ESD problems.
12
Download from Www.Somanuals.com. All Manuals Search And Download.
3. Data signal input connecter (Parallel)
Printer side connecter: 57-40360 (DDK) equivalent
Mating connecter: 57F-40360-20N (DDK) equivalent
Pin#
1
2
3
4
5
6
7
8
Signal
/STB
PD0
PD1
PD2
PD3
PD4
PD5
PD6
In/Output
Input
Input
Input
Input
Input
Input
Input
Input
Function
Data read assign signal
Parallel print data 0
Parallel print data 1
Parallel print data 2
Parallel print data 3
Parallel print data 4
Parallel print data 5
Parallel print data 6
Parallel print data 7
Data processing end signal
Receive data not ready signal
No paper signal
Connection select signal
*
Common ground
Initialize signal
Control stop signal
*
Remarks
9
PD7
Input
10
11
12
13
14
19
31
32
36
15-18
20-30
35
/ACK
BUSY
PE
SLCT
Not fixed
GND
/INIT
Output
Output
Output
Output
For extension
For extension
-
Input
Output
/ERROR
Not fixed
Not fixed
* 14 and 36 are kept as “HIGH”. Do not connect them.
4. Data signal input connecter (Serial)
Printer side connecter: JEC-9S (JST) equivalent
Mating connecter: JEC-9P (JST) equivalent
Pin#
2
3
4
5
6
7
8
1, 9
Signal
RXD
TXD
DTR
GND
CTS
DTR
CTS
N.C
In/Output
Output
Input
Output
-
Input
Output
Input
-
Function
Serial receive data
Serial transmit data
Data transmit permit signal
GND for signal
Transmit permit signal
Data transmit permit signal
Transmit permit signal
Remarks
Connect to No.7
Connect to No.8
Connect to No.4
Connect to No.6
13
Download from Www.Somanuals.com. All Manuals Search And Download.
5. Data signal input connecter (Parallel/Serial)
Printer side connecter: XG4C-2631 (Omron) equivalent
Corresponding housing: XG4M-2630-T (Omron) equivalent
Pin#
1
2
3
4
5
6
7
8
Signal
/STB
PD0
PD1
PD2
PD3
PD4
PD5
PD6
In/Output
Input
Input
Input
Input
Input
Input
Input
Input
Interface
Parallel
Parallel
Parallel
Parallel
Parallel
Parallel
Parallel
Parallel
Parallel
Parallel
Parallel
Function
Data read assign signal
Parallel print data 0
Parallel print data 1
Parallel print data 2
Parallel print data 3
Parallel print data 4
Parallel print data 5
Parallel print data 6
Parallel print data 7
Data processing end signal
Receive data not ready signal
Remarks
9
PD7
Input
10
11
12
13
14
15
16
17
18,19
20
21
22
23
24
25
26
/ACK
BUSY
PE
SLCT
Not fixed
/ERROR
/INIT
Not fixed
GND
/LF
TXD
RXD
CTS
DTR
GND
VH
Output
Output
Output
Output
Para/Ser. No paper signal
Parallel Connection select signal
*
For extension
For extension
Output
Input
Para/Ser. Control stop signal
Para/Ser. Initialize signal
*
Para/Ser. Ground for signal
Para/Ser. Paper feed signal
Serial
Serial
Serial
Serial
-
Input
Output
Input
Input
Output
-
Transmit data
Receive data
Transmit permit signal
Data transmit permit signal
Para/Ser. Signal ground
Para/Ser. DC +24V
Input
z Connect GND and DC+24V to stabilize circuit. Since 14 and 17 are kept as
“HIGH”, do not connect them.
6. CN6 Autocutter sensor (control switch), motor
Printer side connector : 5483-04AX (Molex)
Mating connector : 5480-04 (Molex)
Pin #
Signals
M+
M-
CSW1
CSW2
Input/output
Output
Output
Input
Functions
1
2
3
4
Motor drive signal
Motor drive signal
HP detect SW output
HP detect SW GND
-
7. CN7
Auxiliary sensor (paper near end sensor)
Printer side connector: 53047-0310(Molex)
Mating connector: 51021-0300(Molex)
Pin# Signal name
In/Output
Output
Input
Functions
Anode of LED
Collector of
Remarks
At High
1
2
LED+
PNE
phototransistor
Paper out
3
SG
-
Signal ground
Cathode or emitter
connect
4
SG
-
Signal ground
* Valid when DIP SW S2-7 is on.
* When PNE signal is “High”, PE signal of CN5 outputs. Printing operation is not affected.
14
Download from Www.Somanuals.com. All Manuals Search And Download.
8. CN8 Connect to operation panel
Printer side connector: 53047-0310(Molex)
Mating connector 51021-0300(Molex)
Pin# Signal name
In/Output
Input
Output
Functions
Paper feed signal input
Printer error signal
Output
Remarks
Active at L
Output in
1
2
/LF
ALM
printer error
3
SG
-
Signal ground
1) Paper feed is executed according to the paper feed pitch set by ESC 2, ESC 3. However, if
there is no paper, line feed is not executed.
2) While paper feed signal is at “L”, set Power on to activate self-diagnostic printing.
3) While paper feed signal is at “L”, release INIT signal to “H” to activate diagnostic printing.
4) ALM signal (for operation panel) indicates printer statuses as follows:
A protective resistance is incorporated on the board, a light diode can be located between
2 and 3. 2: anode and cathode.
Display pattern
Printer status
Normal status
How to solve the problem
1
0
Print (receive) ready
1
0
No paper
Head up status
F/W write mode
Load the paper
Set head down
1
0
Set the power on again
Presenter in cramp status
Head temp high (80˚c)
Pull out the clamped paper
Printer returns normal at head temp of
60˚c
1
0
Wrong head connection
Connect head cable properly
1
0
Auto-cutter error
Presenter error
Remove jammed paper and turn
power on again, or input INIT signal
9. CN9 Connect to presenter (NPT-301 only)
Printer side connector: 53047-0810
Mating connector: 51021-0800
Pin #
6
7
Signal
LED +
Sensor 1
SG
Input/output
Output
Input
Remarks
To sensor LED1
From sensor 1
Signal GND
8
-
9
LED2 +
Sensor2
SG
Output
Input
To sensor LED2
From sensor2
Signal GND
Motor drive output
Motor drive output
10
11
12
13
-
M +
M -
Output
Output
* Connect to NPT-301 only. When connect to other product, it would cause problems.
15
Download from Www.Somanuals.com. All Manuals Search And Download.
4. Functions
4.1 Function setting
4.1.1 DIP switch S1
Factory setting
Function
ON
OFF
**5P
**5R
ON
**5D
S1-1 Interface
S1-2 Select emulation
S1-3 Select fixed division
Serial
Windows
2 partition
Refer to the following
table
Parallel
ESC/POS
1 partition
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
OFF
S1-4
Baud rate
S1-5
S1-6 Parity check
S1-7 Parity bit
S1-8 Data bit
Baud rate
Yes
Odd
7 bit
No
Even
8 bit
4,800bps 9,600bps 19,200bps 38,400bps
S1-4
S1-5
OFF
OFF
OFF
ON
ON
OFF
ON
ON
4.1.2 DIP switch S2
Factory setting
Function
ON
OFF
**5P
ON
**5R
ON
**5D
ON
S2-1 Auto cutter
Yes
No
S2-2 Character set
S2-3 Serial control (DTR)
S2-4
S2-5 Presenter
S2-6 Flash ROM
S2-7 Paper low end
S2-8 Print density
Note:
Overseas
XON/XOFF
Japanese settings
Japanese
DTR/DSR
OFF
OFF
OFF
OFF
OFF
ON
OFF
OFF
OFF
OFF
OFF
ON
OFF
OFF
OFF
OFF
OFF
ON
Yes
Rewrite
Yes
No
No
No
Thick
Standard
OFF
OFF
OFF
1. S2-1 OFF (autocutter OFF) will be in winder drive setting (current consumption
should be less than 200mA). If autocutter is connected, the autocutter activates
and paper is cut off. It may cause paper jam.
2. For writing ROM, set the DIP switches as stated below and turn the power on
after changing CN8 NO.1 pin LF to “L” position or while pressing the paper feed switch on
the operation panel. After the operation, set the power off.
3. Rewriting Flash ROM boot program: S2-6 ON and S2-2 OFF.
4. Rewriting Flash ROM F/W: S2-6 ON and S2-2 OFF.
5. Use S2-6 in OFF position. If set ON to use, the program may be destroyed.
6. For NP-215, S2-7 (factory setting for “near end”) should be set OFF.
7. For NP-415W, S1-2 (factory setting for emulation) should be set ON.
4.1.3 Self diagnostic print
1. By performing self-diagnostic print following items are checked.
a) Proper function of control circuitry
b) Proper function of printer mechanism
c) Print quality
d) Control F/W version
e) DIP switch setting status
f) Correct function of paper out sensor
g) Head wide and head rank (automatically detected)
16
Download from Www.Somanuals.com. All Manuals Search And Download.
2. Start and end of self diagnostic print
Set the power on while pressing the FEED switch and release the FEED switch after the printer
mechanism activates to start self-printing.
The self diagnostic print automatically ends when a preset number of characters are finished
printing. While printing, the printer is in Off-line mode.
4.1.4 No paper sensor
No paper sensor is mounted on the paper path in the printer mechanism.
It detects no paper status of the roll paper. When detecting no paper status, the printer sends
PE signal to the host and stop printing. Pay special attention to the end of roll paper. The end
should not be glued to the core of the roll. If no paper status is detected, replace the roll paper.
4.2 Processing error
1) Error detection details
/ERROR 232C
PL
status
-
Name
Status
BUSY PE
Removal
Align comm.
status
Comm. error 232C Comm. error
-
-
-
-
Parity
condition
Overrun
Flaming
Data “?” print
Paper near
end
Paper remain sense
CN7 sensor
L
H
H
Obit 1
-
Load paper
Head up
Head up
L
L
L
L
H
L
L
L
L
1bit 1
2bit 1
3bit 1
On
On
Head up lever
down
Load paper
Paper end
No paper
Over 80°C
Head temp
high
Flash Return normal
with 60°C
Cutter error
Cutter jam
Remove jam and
POWER OFF , /INIT
When the above errors are detected except transmission error and paper low end error, printer
stops all operations and outputs error signal.
In the case of parallel interface: Error signal becomes “LOW”
In the case of serial interface:
Error signal becomes “LOW” and error bit in the status information is set to “ON”.
2) Return to normal status from error statuses
Remove causes of error statuses and turn the power on again or input the /INIT signal to
return to normal. When this process is activated, at the time of power switch turned off, the
printer will be initialized, so that settings are required again.
If data remains in the buffer, attention should be paid
4.3 Buffer full print
If there remains data in the buffer after one line of data is received, printer automatically prints
preceding data. The volume of buffer full data varies depending on ASCII characters or bit
images.
17
Download from Www.Somanuals.com. All Manuals Search And Download.
4.4 Automatic paper cut
“Automatic paper cut” after paper is manually fed by pressing FEED button.
If manual line feed is conducted for more than 10 lines, the paper is automatically cut off after
the paper feed is finished. This function is not available when the line feed is conducted by
control command.
4.5 Winder drive
When no autocutter is mounted, autocutter drive motor functions as external rewinder drive.
CN6
S2-1
Autocutter sensor (control switch), Outputs to motor pins 1 and 2
OFF: rewinder drive
ON: autocutter drive
DC motor with DC 24V, approx. 200mA
In about 1 to 2 sec. rewinder output is turned OFF after printing and paper
feed.
If overloaded with higher current than specified and the status continues,
the ICs may be damaged.
4.6 Partition drive
The fixed drive (1 or 2 partition drives) or “automatic partition drive” can be selected by the DIP
switch and commands. It should be selected according to the power supply and print duty.
1) Fixed partition
Function
ON
OFF
S1-3 Fixed partition select
2 partitions
1 partition
1) NP-415W is assigned to 2 fixed partitions.
2) 2 fixed partition select may decrease print speed.
3) 2 fixed partition select may decrease print quality.
2) Automatic partition drive
1 partition
NP-215/225 Less than 215 dots
2 partitions
Higher than 216 dots
Higher than 288 dots
Higher than 416 dots
NP-325
Less than 287 dots
Less than 415 dots
NP-415W
1. Automatic partition drive select will automatically change the print speed according to
print ratio. Print noise may appear.
2. The default value selected by commands will be the fixed partition selected by. The
DIP switch. Refer to the section 5.3.
3. Automatic partition select may decrease print quality.
18
Download from Www.Somanuals.com. All Manuals Search And Download.
5. Control commands
5.1 Control command table
Control codes
Functions
Pages
20
20
20
20
20
20
21
21
21
24
26
26
26
26
26
27
27
27
27
28
28
28
28
29
29
29
29
30
30
30
30
30
31
31
32
32
32
33
33
33
33
34
34
36
36
36
37
37
37
37
38
38
1
2
HT
CR
Horizontal tab
Carriage return
3
LF
Print and line feed
4
FF
Page feed
5
6
7
ESC C n
ESC SP n
ESC ! n
Page length set for n lines
Character right space set
Print mode overall set
Down load character set/reset
Down load character definition
Bit image mode set
8
9
ESC % n
ESC & s n m a Dn
ESC * m n1 n2 Dn
ESC – n
ESC 2
*10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
*26
27
28
29
30
31
32
33
34
35
36
37
38
*39
*40
41
42
43
44
45
46
47
48
49
50
51
52
Underline set/rest
1/6 inches line feed set
Smallest line feed pitch set
Initialize printer
Set horizontal tab position
Bold print set/reset
Double strike print set/reset
Print and smallest pitch line feed
Select international character
Feed switch enable/disable
Print and n line feed
Select character code table
Send printer status
Inverted character set/reset
Character 90° clockwise rotation set/reset
Absolute position set
Relative position set
Barcode print
Barcode width select
Barcode height select
HRI character print position select
HRI character style select
Download bit image define
Download bit image print
Macro definition start/end
Macro define
ESC 3 n
ESC @
ESC D n1 n2 --- NUL
ESC E n
ESC G n
ESC J n
ESC R n
ESC c 5 n
ESC d n
ESC t n
ESC v
ESC { n
ESC V n
ESC $ n1 n2
ESC \ n1 n2
GS k n Dn NUL
GS w n
GS h n
GS H n
GS f n
GS * n1 n2 Dn
GS / m
GS :
GS ^ n1 n2 n3
ESC = n
ESC a n
ESC i
ESC m
ESC c 3 n1 n2
ESC r n
ESC q S E M
GS T n
GS P n
GS d Dn
GS B n
ESC h n
ESC B n
DC1
Data input control
Position align
Full cut
Partial cut
No paper signal sensor select
Compulsory eject
QR code print
Register NV bit image
Print NV bit image
Download firmware
Black/white reverse print set/reset
Presenter eject mode select
Back feed
Reset software
GS % n
GS ~ n
Partition drive select
Print density set
* Functions differently between printer with standard type driver and Windows type.
19
Download from Www.Somanuals.com. All Manuals Search And Download.
5.2 Printer driver
Please apply the driver stated below for using under Windows environment. Please refer to the
User’s Manual for a driver.
1) Windows 95/98: NII printer driver Windows 95/98, Version 1.00
2) Windows NT4.0: NII printer driver Windows NT4.0, Version 1.00
3) Windows 2000: NII printer driver Windows 2000, Version 1.00
5.3 Control command details
1) Horizontal tab
Code
: <<HT>>
: [09] h
Shift the print position to the next horizontal tab position
* Horizontal tab position is set by [horizontal tab set] command.
* The default of horizontal tab position is every 8th character (9th digit,
17th digit, 25th digit and 33rd digit) in font A.
* Maximum digit position for NP272 is 33rd and for NP-372 is 41st.
* If the next tab position is not set, this command is ignored.
2) Carriage return: <<CR>>
Code : [0D] h
This command is ignored.
3) Line feed
Code
: <<LF>>
: [0A] h
Prints data stored in the input buffer and executes line feed according to data
of feed pitch.
4) Page feed
: <<FF>>
This command is effective only in Windows mode.
Code
: [0C] h
* Prints data in the print line buffer and executes page feed to the head of next page
according to the page length in the setting.
* Default setting for the page length is 66 lines.
5) “n” line page length setting: <<ESC C n>>
Code
: [1B] h + [43] h +n
* [01≤n≤FF] h
Sets a page length for “n” lines with current line feed pitch.
* Position is set to the head of page
* Line pitch change after setting will not change page length.
* Default value for “n” is [42] h for 66 lines.
* If printer is initialized, the head of page is also initialized.
6) Setting right space of a character: <<ESC SP n>>
Code
: [1B] h + [20] h + n
* [00≤n≤20] h
Sets the right space of a character by unit of dot (1/203 of an inch). In the case of
double width mode, the space will be doubled. The default value of “n” is [00] h.
20
Download from Www.Somanuals.com. All Manuals Search And Download.
7) Overall print mode setting: <<ESC ! n>>
Code : [1B] h + [21] h + n
Sets print mode. “n” has following meanings
* [00≤n≤FF] h
Values
Bit
Function
Character font
Undefined
Undefined
Bold
Double height
Double width
Undefined
Underline
0
Font A
-
1
Font B
-
0
1
2
3
4
5
6
7
-
-
Reset
Reset
Reset
-
Set
Set
Set
-
Reset
Set
* If double height and double width are set at the same time quadruple character will be formed.
* All of the printed characters will be underlined except for the 90° rotated characters and spaces
created by horizontal tab.
* Underline width is determined by the value set in [Underline set/reset] section.
The default value is “1”.
* Different sizes of character mixed such as double width and normal size can be printed.
* The default value of “n” is [00]h.
8) Down load characters set/reset: <<ESC % n>>
Code
: [1B] h + [25] h + n
* [00≤n≤FF]h
Setting or resetting the characters to be downloaded.
* Unable to use download character set & download bit image set at the same time.
* Only LSB (b0) is valid for “n” value. LSB (b0) has the following meanings.
b0
0
1
Function
Resets download chraracter
Sets download chraracter
Default value is “n” = [00]h
9) Definition of download character:<< ESC & s n m a Dn>>
Code
: [1B ] h + [26] h + s + n + m + a + Dn
* [s = 03 ] h
* [20≤n≤7E ] h
* [20≤m≤7E ] h
* font A [ 00≤a≤0C ] h
* font B [ 00≤a≤09] h
Definition of download character( such as alpha numeric).
1. “s” indicates a number of bytes in a vertical direction and “a” is a number of dots in
horizontal direction.
2. “n” indicates the start character code, and “m” means the end character code. If only 1
character should be defined, then n = m.
3. Definable characters are from <20>h to <7E>h in ASCII code (95 characters).
4. “Dn” indicates the data to be defined. It indicates the “a” dots pattern from the left.
Remaining area on the right of a character is filled with spaces.
5. Once a download character is defined, it remains valid until the download character is
redefined, printer is initialized, reset signal is input, or the power is turned off.
6. Only area specified will be reset.
21
Download from Www.Somanuals.com. All Manuals Search And Download.
< Reference >
In the case of Font A
12dots
P1 P4 P7
P34
P35
MS
24dots
P2 P5
P3 P6
LSB
P36
P1=〔00〕h,P4=〔00〕h,P7=〔00〕h,P10=〔00〕h,…
P2=〔00〕h,P5=〔00〕h,P8=〔0F〕h,P11=〔72〕h,…
P3=〔08〕h,P6=〔F8〕h,P9=〔08〕h,P12=〔00〕h,…
22
Download from Www.Somanuals.com. All Manuals Search And Download.
< Reference >
In the case of Font B
9dots
MSB
P1 P4 P7
P25
P26
17dots
LSB
P2 P5
P3 P6
MSB
P27
LSB
P1=〔40〕h,P4=〔7F〕h,P7=〔41〕h,P10=〔41〕h,…
P2=〔04〕h,P5=〔FC〕h,P8=〔04〕h,P11=〔04〕h,…
P3=〔00〕h,P6=〔00〕h,P9=〔00〕h,P12=〔00〕h,…
23
Download from Www.Somanuals.com. All Manuals Search And Download.
10) Bit image mode set: << ESC * m n1 n2 Dn >>
Code: [1B] h + [2A] h + m + n1 + n2 + Dn
* [m = bit image mode(refer to below)] h
* [00≤n1≤FF] h
* [00≤n2≤02] h
Data is printed in bit image by following the bit image mode specified by “m”.
* Print total dots divided by 256, quotient is n2 and remainder is n1.
* Total dots in bit image mode are n1 + (256 x n2).
* If the bit image input data exceeds specified position, the exceeded data will be disregarded.
NP-215/225: 432 dots. NP-325: 576 dots. NP-415W: 832dots.
* Bit image data (Dn) interprets bit 1 as print and bit 0 as not print.
* Bit image mode is indicated below.
* If “m” is out of conditions set, the data after n1 is treated as normal data.
[Standard]
Vertical direction
Dot Dot
Horizontal direction
Maximum dot number
m
(hex)
Bit image
mode
Dot
density
NP-215
NP-225
quantiy density
NP-325
288
NP-415W
416
8 dots
single density
8 dots
double density
24 dots
single density
24 dots
double density
00
8
8
67DPI
67DPI
101DPI
203DPI
216
01
20
21
432
216
432
576
832
24
24
203DPI 101DPI
203DPI 203DPI
288
416
576
832
[Windows]
Vertical direction
Dot Dot
Horizontal direction
Maximum dot number
m
(hex)
Bit image
mode
Dot
density
NP-215
NP-225
quantiy density
NP-325
192
NP-415W
277
24 dots
single density
24 dots
double density
24 dots
20
24
24
24
24
24
203DPI
67DPI
144
21
22
23
24
203DPI 101DPI
203DPI 135DPI
203DPI 203DPI
216
288
432
288
416
384
554
single density
24 dots
double density
24 dots
576
832
203DPI
203DPI
432
832
832
double density
(406DPI)
(864)
(1664)
(1664)
* The data for [Windows] m = 24h is equivalent to m=23h due to the mechanical specification.
24
Download from Www.Somanuals.com. All Manuals Search And Download.
< Relationship between bit image data and printed dots >
8 dots bit image
MSB
D1 D2 D3
D1 D2 D3
LSB
DATA
=1dot
single
double
24 dots bit image
D1 D4 D7
D2 D5 D8
MSB
D1 D2 D3 D4 D5 D6 D7 D8 D9
LSB
D3 D6 D9
DATA
=1dot
single
double
25
Download from Www.Somanuals.com. All Manuals Search And Download.
11) Underline set/reset
Code
: <<ESC - n>>
: [1B] h + [2D] h + n
* [00≤ n ≤02 ]h
Sets and resets the underline
* Underline is valid for all characters except for the area skipped by horizontal tab.
* Also Underline is not valid for 90° rotated character.
* Underline is verified with n value as shown bellow.
n(hex)
00
Type of underlines
Reset underline
01
02
Set one dot underline
Set two dot underline
Default value is “n” = [00]h
12) 1/6th of an inch line feed pitch
Code : [1B ] h + [32] h
: << ESC 2>>
Sets one line feed to 1/6th of an inch.
13) Sets smallest pitch line feed : << ESC 3 n >>
Code
: [1B ] h + [33 ] h + n
* [00≤ n ≤FF] h
Sets a line feed pitch to n/203rd of an inch.
* Despite of height set by value, the same space with character height is sent by line feed.
* The default value of n is [22]h
* If n=[00]h is set, printer will not feed by pressing FEED button.
14) Printer initialization
Code
: << ESC @ >>
: [1B ] h + [ 40 ] h
Clears the data stored in the print buffer and resets each setting to default values.
* It does not clear the data stored in the internal receive buffer.
* Rewrites the DIP switchs.
* It is stored in the internal receive buffer and activated in sequential.
15) Horizontal tab position set
: << ESC D n1 n2 --- NUL >>
*[00≤ n ≤FF ] h
Code : [1B ] h + [44] h + n1+ n2+ --- + [00 ] h
Sets the horizontal tab position
1. “n” indicates the digits number from the left. In this case, n = tab position - 1.
2. Tab position is set at the location of character width x n from the beginning of a
line. The character width in this case includes character right space. When double
width function is set, then the width becomes double of ordinary character.
3. Maximum number of tab positions is 32. If setting exceeds 32, then
the exceeded values are neglected.
4. < ESC D NUL > clears all tab positions being set. After the tab is cleared,
horizontal tab will be ignored.
5. Default value is set at every 8 characters of font A (at 9 th, 17th, 25th and 33rd
digit).
26
Download from Www.Somanuals.com. All Manuals Search And Download.
16) Bold print set/reset :<< ESC E n >>
Code : [1B] h + [45] h + n
* [00≤ n ≤FF] h
Sets and resets the bold print
* “n” is only valid for LSB(b0)
LSB (b0) is defined as following.
b0
0
1
Values
Resets bold print
Sets the bold print
Valid for all characters
Bold print and double strike results in the same on this printer.
The default value of “n” is [00]h.
17) Double strike set/reset
:<< ESC G n >>
Code : [1B] h + [47] h + n
* [00≤n≤FF] h
Sets and resets the double strike function
* “n” is only valid for LSB(b0)
* Control by “n” is explained as following.
b0
0
1
Description
Resets double strike
Sets double strike
* Double strike and bold print result in the same on this printer.
* The default value of “n” is [00]h.
18) Print and smallest pitch line feed:
<< ESC J n >>
* [00≤n≤FF] h
Code : [1B ] h + [4A ] h + n
Prints the data in the print line buffer and feeds the paper by n/203rd of an inch.
* The height of character for a line is always sent by line feed. If the value of height is set
by “n” below the height of character, the same space with character height is sent by
line feed.
* Beginning of a line is a print start position.
19) International character select :<< ESC R n >>
Code
: [1B ] h + [52] h + n
* [00≤n≤0A] h
Selects the international characters.
* The values of “n” have following meanings
n(Hex)
00
Character sets
U.S.A.
01
France
02
03
04
05
Germany
England
Denmark 1
Sweden
Italy
06
07
Spain
08
Japan
09
0A
Norway
Denmark 2
Default value of “n” is [08]h.
27
Download from Www.Somanuals.com. All Manuals Search And Download.
20) Panel switch enable/disable:<< ESC c 5 n >>
Code : [1B ] h + [63] h + [35] h + n
* [00≤n≤FF] h
Changes the FEED switch valid or invalid.
* “n” is only valid for LSB(b0)
* “n” bit has a following meanings
b0
0
1
Description
enable FEED switch
disable FEED switch
Default value of “n” is [00]h.
21) Print and “n” line feed:<< ESC d n >>
Code : [1B] h + [64] h + n
* [00≤n≤FF] h
Prints the data in the print buffer and feeds paper by “n” lines.
* Beginning of a line is a print start position.
* If there is print data remained, line feed is activated for the same height of character.
22) Character code table select:<< ESC t n >>
Code
: [1B] h + [74]h + n
* [00≤n≤01]h
Selects either Japan code table or non-Japan code table.
Explanation : “n” value has following meaning.
n(Hex)
00
01
character code table
Non-Japan character code table
Japan character code table
The default value of “n” is [S2-2] for DIP SW.
23) Printer status transmission :<< ESC v >>
Code
: [1B] h + [76] h
Sends current printer status
* Status to be transmitted consist of 1 byte and the content is explained in the chart
below.
Value
bit
Functions
0
1
0
1
2
3
4
5
paper near end
platen open
paper end
head temp. abnormal
cutter problem
presenter problem
paper remove sensor
information
paper present
normal
paper present
normal
near end
head open
no paper
Temp. high
cutter problem
presenter problem
normal
normal
6
no paper
paper present
7
not defined
* Make sure that command is issued before transmission of print data.
(commands are stored in the input buffer and executed sequentially)
* Reception is available except in the buffer full status.
* The commands above are valid only for serial interface.
* Regarding DTR/DSR control, only one byte is transmitted after confirmation that the
host is able to receive data, that is DSR signal is in SPACE status. For XON/OFF
control, one byte is transmitted without confirmation of DSR signal status.
* For DTR/DSR control, if host is not in a receivable status, it waits until host can receive
data.
24) Inverted character set and reset
:<< ESC { n >>
28
Download from Www.Somanuals.com. All Manuals Search And Download.
Code
: [1B] h + [7B] h + n
* [00≤n≤FF] h
Sets or resets the inverted character function
* “n2 is only valid for the LSB(b0)
* LSB (b0) has the following meaning
b0
0
1
Description
resets inverted character
sets inverted character
* The command is only valid when it is assigned at the beginning of a line.
* The default value of n is [00]h.
25) 90° clockwise rotated character set and reset :<< ESC V n >>
Code
: [1B] h + [56] h + n
* [00≤n≤01] h
Sets and resets 90° clockwise rotated character.
* Underline cannot be assigned to the 90° clockwise rotated character.
* “n” has the following meaning.
n(hex)
00
01
description
reset 90° rotated character
set 90° rotated character
* Default value for “n” is [00]h.
26) Absolute position set
:<< ESC $ n1 n2>>
*The function of this commands differ between Standard type and Windows type.
Code
:[1B] h + [24] h +n1 +n2
* [00≤n1≤FF] h
* [00≤n2≤02] h
Print start position is assigned by dots in 1/203rd of inch from the beginning of line.
* Divide the value of dot by 256, place quotient to n2, and remainder to n1.
* The print start position is n1 + n2 x 256 from top of the line.
* Setting which exceeds end of line is ignored.
* If the command is received in the middle of line, the action will be:
Standard: the value that does not exceed the current position is ignored.
Windows: the value that does not exceed the current position is also valid.
27) Relative position set
Code
:<< ESC \ n1 n2>>
: [1B] h + [5C] h + n1 +n2
* [00≤n1≤FF] h
* [00≤n2≤02] h
Print start position is assigned by dots from current position in unit of 1/203rd of inch.
* Right direction is treated as plus and left as minus.
* For assigning N dots in minus direction (left), it will be: N dots = 65536 - N
* Divide dots by 256, quotient is n2 and remainder is n1.
* Assigning beyond the end of a line is neglected
29
Download from Www.Somanuals.com. All Manuals Search And Download.
28) Barcode print
Code
:<< GS k n Dn NUL >>
: < 1D >h + < 6B >h + n + Dn + < 00 >h
* < 00≤n≤07 >h
Description : Selects barcode symbology and prints barcode.
* The next print start position is on the line head
* Select following barcode symbology with “n” value.
* Dn indicates the character code to be printed.
n (Hex)
Barcode symbology
00
01
UPC-A
UPC-E
02
03
04
EAN-13 (JAN-13)
EAN-8 (JAN-8)
CODE 39
05
ITF
06
07
CODABAR
CODE128
* When there is data in the buffer this command is neglected.
* If character code Dn is not a printable character, following data after Dn will be treated
as normal data.
* If the print character numbers are fixed in the barcode symbology the input character
numbers should match to the print character numbers.
* If horizontal data exceed one line, the exceeded data cannot be printed.
29) Barcode width size select :<< GS w n >>
Code
: < 1D >h + < 77 >h + n
* < 02≤n≤04 >h
Description : Selects width of barcode
* Default value of “n” is [03]h.
30) Barcode height select
:<< GS h n >>
Code : < 1D >h + < 68 >h + n
* < 00≤ n ≤FF >h
Description : Selects barcode height
* “n” shows the vertical dot number
* Default value of “n” is 162([A2]h).
31) Select of HRI character print position
:<< GS H n >>
* < 00≤ n ≤03 >h
Code
: < 1D >h + < 48 > h +n
Description : Selects the print position of HRI characters in printing barcode.
* “n” has the following meaning.
n (Hex)
00
Print position
No printing
01
Above barcode
02
Below barcode
03
Above and below barcode
* HRI characters are the characters selected by “HRI character style select”.
* Default value of “n” is [00]h.
32) Select of HRI character style
:<<GS f n>>
Code : <1D>h+<66>h+n
* < 00≤ n ≤01 >h
Description : Selects HRI character style in printing barcode
* “n” has the following meanings:
n (hex)
00
Style
Font A
Font B
01
* Default value of “n” is [00]h.
30
Download from Www.Somanuals.com. All Manuals Search And Download.
33) Download bit image definition
Code : < 1D >h + < 2A >h + n1 + n2 + Dn * < 0≤n1≤FF >h
* < 00≤n2≤30 >h
* < n1 x n2≤51F >h
:<< GS * n1 n2 Dn >>
Description : Defines “download bit image” of number of dots specified by n1 and n2.
* Horizontal dot numbers are obtained by n1 x 8 and vertical dot numbers by n2 x 8.
* Dn is bit image data.
* Once “download bit image” is defined, it is valid until it’s redefined, download
character is defined, external characters are specified, software is reset, power is set
off or INIT signal is input.
* “Download bit image” cannot be defined at the same time with “download
characters” or “external characters”. If this command is executed, “download
character definition” or “external characters contents” are cleared.
* The relationship between bit image data & defined dots is shown below.
n1x8dots
d1
d2
MSB
dn2+1
dn2x2+1
dn2+2
dn2x2+2
n2x8dots
LSB
dn2
dn1xn2x8
dn2x2
34) Download bit image print :<< GS / m >>
Code : < 1D >h + < 2F >h + m
* < 00≤m≤03 >h
Description : Prints “download bit image” in a mode assigned by “m”.
* Modes to be assigned by m are as follows.
Dot density
m
Modes
Vertical Horizontal
00 Normal mode
01 Double width
02 Vertical double
03 Quadruple
203 dpi
203 dpi
101 dpi
101 dpi
203 dpi
101 dpi
203 dpi
101 dpi
* If there are some data left in the print buffer, this command is neglected.
* If “download bit image” is not defined yet, this command is neglected.
* “Download bit image” data exceeding 1 line cannot be printed.
* “Download bit image” cannot be defined at the same time with “download character” or
“external characters”
31
Download from Www.Somanuals.com. All Manuals Search And Download.
35) Macro definition, start and end
:<< GS : >>
Code : < 1D >h + < 3A >h
Description : Assigns Macro definition start and end. The size of data defined by Macro
is up to 1,024 bytes. Exceeding to 1,024 byte cannot be defined.
* Defined Macros cannot be cleared by “Printer initialization”. Therefore “printer
initialization” can be included in the Macro definition.
* During the Macro definition, printing can be proceeded.
* Once Macro is defined, the contents become effective until software is reset, power is
set off, or INIT signal is input.
36) Macro execution :<< GS ^ n1 n2 n3 >>
Code
: < 1D >h + < 5E >h + n1 + n2 + n3 * < 0≤n1≤FF >h
* < 00≤n2≤FF >h
* < 00≤n3≤01 >h
Description : Executes Macros being defined
* The definitions of n1, n2 and n3 are:
n1 : times of Macro execution
n2 : wait time of Macro execution
At every execution, there is a wait time of n2 x 100msec.
n3 : Macro execution mode
n3
Mode
00
01
Consecutive execution
Execution by FEED switch
z
z
Consecutive execution: Executes “n1” times with a wait time specified at n2.
FEED switch execute: After a time specified at n2, waits for PE LED blinks and the FEED
switch depressed. After FEED switch is pressed, it executes Macro once. This action is
repeated by n1 times.
* If the printer receives this command during Macro definition, it stops Macro definition. If
this happened, defined Macros are cleared.
* Nothing happens if Macro is not defined or n1 = 0.
* During Macro execution with n3 = 1, line feed by FEED switch is disabled.
37) Data input control :<< ESC = n >>
Code : < 1B >h + < 3D >h + n
* < 00≤n≤FF >h
Description:Selects valid device where data input is possible through host computer.
* Each bit of “n” has the following meaning.
Values
Bit
Function
0
1
0
1
2
3
4
5
6
7
Printer
Invalid
Valid
Not defined
Not defined
Not defined
Not defined
Not defined
Not defined
Not defined
* If printer is not in “no selection” status, printer will discard all received data until it is in
the selection status by this command.
* Even if printer is in no selection status, the status may become BUSY by printer
operation.
* The default value of “n” is [01]h.
38) Print position alignment
:<< ESC a n >>
32
Download from Www.Somanuals.com. All Manuals Search And Download.
Code
: < 1B >h + < 61 >h + n
* < 00≤n≤02 >h
Description : Aligns all data to be printed on the assigned position in a line.
* “n” values are assigned to:
n (Hex)
00
Position
Left
01
02
Center
Right
* This command is valid only when it is input at the head of a line.
* The default value of “n” is [00]h.
39) Total cut (Full cut)
:<< ESC i >>
* The command functions differently between Standard and Windows models.
Code
: < 1B >h + < 69 >h
[Standard]
* Full-cut the paper.
* Effective at the head of a line
* Feeds paper by 3mm after paper cut to prevent from paper jam.
[Windows]
* Full-cut the paper after feeding by 21.25mm
* Effective at the head of a line
* Feeds paper by 3mm after paper cut to prevent from paper jam
40) Partial cut
:<< ESC m >>
* The command functions differently between Standard and Windows models.
Code
: < 1B >h + < 6D >h
[Standard]
* Partially cut paper (with one point left uncut at the center position)
* Effective at the head of a line
* Feeds paper by 3mm after paper cut to prevent from paper jam.
[Windows]
* Partially cut paper (with one point left uncut at the center) after feeding paper by
21.25mm.
* Effective at the head of a line.
* Feeds paper by 3mm after paper cut to prevent paper jam.
41) No paper sensor select
:<<ESC c 3 n1 n2>>
Black mark sensor command
Code
:<1B>h + <63>h + <33>h + n1 + n2 * < 00≤n1≤01 >h
* < 00≤n2≤FF >h
* n1 = 0, no paper sensor
(thermal paper)
* n1 = 1, black mark sensor (label paper)
* Value “n2” is available only at label selection in “n1”.
Feeds paper by dots assigned after label position is confirmed.
Minimum amount of paper feed: 0.125mm
Feeds 0.125mm x “n2” amount of paper
Default value selects the thermal paper.
Auto loading function is not available at label selection.
33
Download from Www.Somanuals.com. All Manuals Search And Download.
42) Compulsory eject :<<ESC r n>>
Code: <1B>h + <72>h + n
* < 0≤n≤1 >h
* When a ticket or receipt is cramped and it is left untaken for a certain period of time, this
command is used to execute compulsory eject.
* This command rotates a motor either clockwise or counter-clockwise until ticket or
receipt is ejected totally.
n(Hex)
Mode
Clockwise
Counter clockwise
0
1
43) QR code print
:<<ESC q S E M>>
ESC + ”q” + S + E + M + DATA [+ ”,” + M + DATA +……] + NUL
HEX CODE <1B>h + <71>h + S + E + M + DATA [+ <2C>h + M + DATA +….] + <00>h
About parameter
1. S: module size
* Assign 1 module size of QR code by printer’s dot numbers.
* There are 5 sizes which can be assigned, 1, 2, 3, 4, 8 dots
* If invalid size is assigned, the printer assigns it as 4 dots
2. E: Correction level
* Selects error correction level to be used for restoring QR symbol.
* Following values can be assigned.
* If invalid value is assigned, the printer determines it to be L.
E
0
1
2
3
Correction level
Restore. capability
L
7%
M
Q
M
15%
25%
30%
3. M: Input data mode
* Assign input data mode
* Following modes can be assigned
* If invalid mode is assigned, data is ignored until valid
Mode is assigned.
M
Input data mode
Numeric mode
Alpha numeric mode
8 bit byte mode
Kanji mode
“N”
“A”
“B”
“K”
* If multiple modes should be input, each mode data (M + data) needs to be separated by
“ , ”.
* If you want to input “ , ” and NULL in the data of 8 bit byte mode, input “ ! ” <21>h+”,” and
“ ! ”<21> h + NULL.
* “ ! ” itself is input as “ ! ” + ” ! ”
* Kanji data should be input by Shift JIS code.
Restrictions
Available QR codes are from version 1 to version 14 of model 1 symbols.
If input data exceeds the area to be printed, QR code is not printed.
34
Download from Www.Somanuals.com. All Manuals Search And Download.
Following table shows the number of characters and input data capacity for the model 1 in
version 1 to 14.
Correction Data code
Alpha
numeric
24
Version
Data bit Numeric
Byte
Kanji
level
Word
L
19
148
124
40
33
17
14
11
7
34
10
8
6
4
20
M
Q
H
L
16
13
9
36
20
15
10
49
1
100
25
68
16
284
81
M
Q
H
L
M
Q
H
L
M
Q
H
L
M
Q
H
L
M
Q
H
L
M
Q
H
L
M
Q
H
L
M
Q
H
L
M
Q
H
L
M
Q
H
L
M
Q
H
L
M
Q
H
30
24
16
57
44
36
24
80
60
50
34
108
82
68
46
136
106
86
236
188
122
452
348
284
188
636
476
396
268
860
652
540
364
1084
844
66
52
33
131
100
81
40
31
20
79
60
49
31
113
84
69
46
154
116
95
28
22
14
55
42
34
22
78
58
48
32
106
80
66
44
134
104
84
17
13
8
33
25
20
13
48
35
29
19
65
49
40
27
82
64
51
34
103
80
65
43
126
97
77
2
3
52
186
138
114
76
4
253
191
157
105
321
249
201
133
402
311
253
167
493
378
301
203
585
441
369
239
690
526
433
291
800
608
493
342
915
694
576
390
1030
790
656
454
5
63
194
151
122
81
6
684
460
1356
1052
860
58
56
170
132
108
72
208
160
128
87
244
188
154
101
299
229
183
123
354
267
223
145
418
319
262
176
485
368
299
207
555
421
351
236
624
479
398
275
168
130
106
70
206
158
126
85
7
572
1660
1276
1020
692
1964
1484
1244
812
2316
1772
1460
988
2684
2044
1660
1156
3068
2332
1948
1316
3452
2652
2204
1532
8
52
246
186
156
102
290
222
183
124
336
256
208
145
384
292
244
165
432
332
276
192
244
184
154
100
287
219
180
121
333
253
205
142
381
289
241
162
429
329
273
189
150
113
94
9
61
177
135
111
74
205
156
126
87
234
178
148
100
264
202
168
116
10
11
12
13
35
Download from Www.Somanuals.com. All Manuals Search And Download.
L
M
Q
H
489
368
310
210
3908
2940
2476
1676
1167
877
738
498
707
531
447
302
486
365
307
207
299
225
189
127
14
1. The first code word is 4 bit length, and following all code words consist of 8 bit length.
2. Data bit numbers include “mode indicator” and “character number indicators”.
44) NV bit image registration :<<GS T n>>
Code
: <1D>h + <54>h + n
Description : Register the predetermined bit image print data.
* It is possible to register from 0 to 2 different kinds of patterns (3 patterns).
* In each pattern, up to the maximum of 15cm length (for 2” model) of bit image print data
can be registered; up to the maximum of 11cm for 3” model and up to 7cm for 4” model
can also be registered. The bit image print data exceeding the maximum length is
neglected.
* The registered data is not erased when the power is set on or off or the printer is
initialized.
* “n” has a following meanings.
n (hex)
00
01
02
FF
Function
Start of pattern 0 registration
Start of pattern 1 registration
Start of pattern 2 registration
End of registration
* When registrations started in the middle of a line, whole line is registered.
* When registration ended in the middle of a line, whole line is not registered.
* Following is a command sequence of pattern 0 registration.
GS T 0h + (bit image data assigned by ESC *) x n lines + GS T FFh
45) NV bit image print :<< GS P n >>
Code
: <1D>h + <50>h + n
* < 00≤n≤02 >h
Description : Prints the bit image print data registered.
* Selects one of the print pattern among three registered patterns by assigning 0 to 2
value to “n”.
46) Firmware download
Code
:<<GS d Dn>>
: <1D>h + <64>h + Dn
Description : Download printer firmware in hexadecimal code and rewrite firmware
according to the outcome.
* Dn is firmware’s hex code which complies with INTELLEX Hex format.
36
Download from Www.Somanuals.com. All Manuals Search And Download.
47) Reverse print set and reset :<< GS B n >>
Code
: < 1D > h + < 42 > h + n
* < 00≤n≤FF >h
Function
: Sets and resets reverse print.
* “n” is available only for the least significant bit.
* The characters incorporated and downloaded can be reverse printed.
* The right side space of character set by [Set right space of a character] is also included
for reverse print. However, it does not cover the skipped space made by bit image,
download bit image, NV bit image, barcode, HRI characters, horizontal tab, specify
absolute position, specify relative position.
* It does not include the space between the lines.
* Reverse print has a priority over “underline specified”. If a character is reversed, the
character is not underlined. However, the underline setting remains effective.
* If “highlight” or “double strike” is set on the reverse print, the print may result in
damages.
48) Presenter eject mode selection
:<< ESC h n >>
Code
: < 1B > h + < 68 > h + n
* < 00≤n≤01 >h
Description
: Selects either “cramp eject” or “total eject” for the presenter paper eject
mode.
“n” indicates the following:
n (HEX)
00
Function
Cramp eject
Total eject
01
Default value is “n” = [00]h
49) Back feed
:<< ESC B n >>
Code
Description
: < 1B > h + < 42 > h + n
: Feed the paper backward.
* < 00≤n≤FF >h
* Paper feed amount is specified by n dot line.
* Paper is not fed backward when 0 is set.
* If this command is used for many times, paper may be jammed. To avoid this problem,
enter only once and feed paper in the forward direction.
* Double strike print is available by using this command.
* Considering the backlash, there may be a gap of printing.
* When data remains in the print line buffer, it first prints data, then back feeds.
* Paper might get jammed while a presenter is in use. In this regard, please do not use
the command once paper is set in the presenter.
50) Software reset
:<< DC1 >>
: < 11 > h
: Restart the firmware as the same procedure as power on.
Code
Description
* This command is stored in the receive input buffer and activated in sequence.
* When the cutter is in a movement, soft reset is executed after finishing cutting.
37
Download from Www.Somanuals.com. All Manuals Search And Download.
51) Partition drive select
:<< GS % n >>
Code
Description
: < 1D > h + < 25 > h + n
: Selects partition drive.
* < 01≤n≤03 >h
* “n” indicates the following:
n(HEX)
01
Divide
1 fixed partition
2 fixed partitions
automatic partition
02
03
* Default value is selected by the DIP switch (1 or 2 partitions).
* If assigned beyond the specified area, the data is neglected and the select will not
change.
* Automatic partition is as follows:
1 partition
2 partitions
NP-215/225 Less than 215 dots More than 216 dots
NP-325
NP-415W
Less than 287 dots More than 288 dots
Less than 415 dots More than 416 dots
52) Print density set :<< GS ~ n >>
Code
Description
: < 1D > h + < 7E > h + n
* < 00≤n≤FF >h
: Sets print density in the range between 65% ~ 135% of the standard value,
S2-8 Off.
* “n” ranges from 41h(65%) to 87h(135%). However, set it for actual use in the range
41h(65%) ≤ n ≤ 82h(130%).
* At the initial status, 100% or 125% can be selected by the DIP switch, S2-8.
* This command has priority over the setting by DIP switch.
38
Download from Www.Somanuals.com. All Manuals Search And Download.
6. Character code table
6.1 Domestic code table (International character set: Japan)
*[SP] indicates "space".
*Printer operation cannot be guaranteed if the blank control code (codes below [1F]h) is transmitted to
printer.
39
Download from Www.Somanuals.com. All Manuals Search And Download.
6.2 Overseas code table (International character set: U.S.A)
*[SP] indicates "space".
*Printer operation cannot be guaranteed if the blank control code (codes below [1F]h) is transmitted to
printer.
40
Download from Www.Somanuals.com. All Manuals Search And Download.
6.3 International character code table
41
Download from Www.Somanuals.com. All Manuals Search And Download.
7 Cable
7.1 B501 power cable
No.1
CUT ONLY
No.
1
2
3
4
PARTS NAME
Mating connector
Terminal
High temp Vinyl cable (Red)
High temp Vinyl cable (Black)
Q'TY
MATERIAL
XHP-4
SXH-001T-P0.6
UL1007-AWG#22 No 1.2
UL1007-AWG#22 No 3.4
TREATMENT
JST
JST
1
4
2
2
42
Download from Www.Somanuals.com. All Manuals Search And Download.
|