First Edition January 2004
Second Edition
Third Edition March 2006
Seiko Instruments Inc. (SII) has prepared this manual for use by SII personnel, licensees, and
customers. The information contained herein is the property of SII and shall not be reproduced in
whole or in part without the prior written approval of SII.
SII reserves the right to make changes without notice to the specifications and materials contained
herein and shall not be responsible for any damages (including consequential) caused by reliance
on the materials presented, including but not limited to typographical, arithmetic, or listing errors.
SII is a trademark of Seiko Instruments Inc.
ESC/POS is a trademark of EPSON.
Introduction
DPU-30-0B-E is a compact printer unit which is connected to a computer or a host system via a
parallel port (Centronics interface) or serial port (RS-232C) and prints the data input through such
interface in the direct thermal printing.
Features of this printer
• Provides the High-speed and noiseless print according to thermal printing system.
• Because of the direct thermal printing, this printer is very quiet while printing.
• Prints both 16×16 and 24×24 dot size characters clearly.
• Prints the Kanji characters (JIS level 1 non-kanji, level 1 and 2).
• Prints barcodes using the barcode print function. (UPC-E, JAN13, JAN8, CODE39, ITF,
CODABAR, and CODE128).
• Test patterns can be printed.
• Prints the test pattern and dump mode characters.
• Print the various size characters such as enlargement character.
Standard size character
Kanji size character
Enlargement characters (64 times characters size max)
• Defines the line spacing and character spacing arbitrarily.
• Prints the various size characters such as enlargement character.
• Prints the graphic using the Bitimage.
• Registers and prints any font using the downloaded character function and user-defined
character function.
• Feeds paper forward or backward using the paper feed functions.
• Characters to be printed can be inverted from black-on-white to white-on black, or vice versa.
• Characters to be printed can be flipped from top to bottom.
• Provides various functions including the reverse printing, flip or ruler line.
• Changes the print density using print density command.
• ESC/POS compliant command system is adopted.
Structure of this printer
• This printer is compact and thin so that it takes less space than the others.
• Its design is simple so that it can be used with any type of devices.
Functions
• The out-of-paper detection sensor is mounted on this printer.
• The easy-to-use operation function allows to easily replenish paper.
4-2 DC Socket Terminal Assignment ................................................................................. 4-2
4-3 I/O Signal Specifications............................................................................................... 4-5
5-1 Status Response Value Table...................................................................................... 5-35
CHAPTER 1
OPERATIONAL PRECAUTION
1.1 SAFETY PRECAUTION
Meanings of symbols
The following symbols are used in this Instruction Manual in order to make use of the printer
properly and prevent the printer from being damaged.
Follow the instructions marked with the symbol.
WARNING
CAUTION
Symbol Examples
The symbol indicates caution(including danger and warning).
The example on the left indicates warning or caution.
The symbol indicates prohibition.
The example on the left means prohibition of disassembling.
Do not use a power supply outside of its specified range.
Doing so may cause fire leading to serious accidents.
Do not forcefully bend, or put a heavy matter on, the power cable. Failure to
follow this instruction may damage the power cable, which may result in a fire
or electric shock. Do not use the power cable if it is damaged.
Failure to follow the guidelines marked with this symbol could
result in severe personal injury or death.
Failure to follow the guidelines marked with this symbol could
result in minor personal injury or product and/or peripheral
damage.
WARNING
Never disassemble the printer. Failure to follow this instruction may cause
overheating or burning of the printer which may lead to fires or accidents.
1-1
CAUTION
Do not drop any metallic objects or liquids such as water or coffee into the
printer.
Never use the printer in a place of extreme humidity or any place where it
can possibly be splashed by any liquids. If any liquids get into the printer, it
could lead to fire, electric shock, or other serious accidents.
Never touch the thermal head immediately after printing because it
becomes very hot. Make sure that the thermal head is cool before setting
papers or cleaning the thermal head.
Be sure to hold the connector part of the power cable when disconnecting
the cable. Pulling on the cable portion may cause it to fray and break.
Power OFF the printer in any of the following cases:
•
•
•
printer.
Using the printer in any manner other than for which it was designed may
cause accidents or fire.
The printer does not recover from an error.
Smoke, strange noise or smells erupt from the printer.
A piece of metal or any liquid touches the internal parts or slot of the
1.2 NOTES ON USE
• Do not disassemble or repair the printer by yourself.
• Do not drop the printer down on the floor or hit it against the walls.
• Avoid exposure to the water.
• Use the specified type of thermal paper.
• When a trouble such as a paper jam occurs, turn off the power first to fix it.
• The printer does not receive the data in some cases such as a paper out. Monitor the printer
to check if an error occurs and not to stop the system.
• Fix an error if something happens to the printer in order to prevent the whole system from
hanging up. Thus, you need to take an action to prevent the error from affecting the whole
system.
• Immediately turn off the power if the printer fails (for example, you smell something strange,
hear a noise, or smoke rises from the printer). After checking that such failure does not
continue, contact your dealer or us.
1-2
1.3 NOTES ON TREATMENT OF THERMAL PAPERS
The surface of thermal paper is specially processed using the chemical agent. And the color rises
through the thermo chemical reaction process. Be aware of the following points.
1) Store the papers in a dry, cool and dark place.
2) Do not rub the papers with hard substance.
3) Keep the papers away from organic solvent.
4) Do not let the papers touched with vinyl chloride film, eraser or adhesive tapes for hours.
5) Do not put the papers on diazo print or wet copy that is just copied
6) Use the water-based glue (for example, starch glue and synthetic glue) when you glue
thermal paper.
7) Adhesive tape may discolor the surface of thermal paper. Put two-sided tape on the back
side of thermal paper if you need to tape it.
8) If you touch thermal paper with sweaty hand, your fingerprint may be left on the surface of
thermal paper and the characters may printed unclearly.
9) If you use this printer to print receipts given to your customers, print the notice which states
that the paper used is thermal paper and the instructions on how to keep it.
10) Use dedicated thermal papers only.
1.4 NOTES ON INSTALLATION
Avoid such places with:
1) Dusty places
2) Unstable places and places that significantly shakes
3) Watery and oily places
4) Places which receive direct sunlight
5) Places where the temperature is 50°C or higher
6) Places where the temperature is 0°C or lower
7) Places where the electromagnetic interference or corrosive gas is generated
8) Places where the relative humidity is over 80%
9) Places where the significant temperature change may result in the formation of any
condensation
1-3
1-4
Li
CHAPTER 2
TERMS USED IN THIS MANUAL
This chapter describes the terms used in this manual.
DotA character or graphic im age is c om posed of picture elem ents called dots.
A dot corresponds to one of the thermal head heat elements.
Dot lineA line of dots arranged perpendicular to the paper feed direc tion. A dot
line corresponds to a line of thermal head heat elements.
One dot line consists of 384 dots in DPU-30.
Character spacing The space separating contiguous characters on one character line.
Line spacing The space separating character lines.
Input buffer The mem ory for temporarily storing the data (characters and commands)
received from the host device. Data is executed when fetched fr om the
input buffer. The capacity of the input buffer is 4,096 bytes.
Line bufferThe memory for storing one line of char acter data fetched from the input
buffer. W hen the line buff er is f illed with character data (i.e. printing of an
entire line) or the printing conditions are m ade valid through a command,
the data in the input buffer is printed.
The system configuration is shown in Figure 2-1.
Host device
DPU-30
Input buffer
ne buffer
Printer
Figure 2-1 System Configuration
2-1
One line full print The printing executed when the data in the line buffer ex ceeds one line.
Character data for one line is stored in the line buffer. When inflowing
data exceeds the number of characters that can be s tor ed in the line buf f er,
the data in the line buffer are printed. The overflowing data is stored at
the beginning of the next line.
Kanji size characters Kanji and user-defined characters.
Standard size Extended graphics characters, katakana, and downloaded characters.
characters
Font The form of a character. A character is composed of a group of dots.
The user can define a font using downloaded fonts, etc.
Font sizeThe size of a character. There are two font sizes, 16-dot font size and
24-dot font size.
The sizes for standard size and Kanji size characters are shown below.
Each size is represented as vertical dots by horizontal dots.
1-byte characters/ Classification by character codes.
2-byte characters Characters can be specified by 2 types of character codes: 1-byte
character codes and 2-byte character codes.
2-byte character is effective when the situation of kanji mode is specified.
Characters that can be specified by 1-byte character codes include:
• Alphabets, Numbers, and Katakana
• Extended graphics characters
• Downloaded characters
Characters that can be specified by 2-byte character codes include:
• Kanji
• User-defined characters
24-dot (height × width)
2-2
CHAPTER 3
PREPARATIONS AND OPERATION
This section describes the information necessary to use the printer connecting to a host device such
as the part names and dimensions of the printer, and how to set the functions.
3.1 PARTS NAME
ペーパーカバーオープンボタン
Paper cover open button
ペーパーカッタ
Paper cutter
Paper cover
ペーパーカバー
Figure 3-1 Front Name of the Printer
インターフェース用コネクタ
固定金具用インサートナット
Interface Connector
Dip switches
ディップスイッチ
Insert nut for fitting
DC socket
DCソケット
ON
1
234567
890
Figure 3-2 Back Name of the Printer
3-1
3.2 DIMENSIONS
1. Dimensions of the printer
111.2+0/-0.5
取り付け穴寸法図
Dimensions of the fitting hole
7.5
単位:mm
96+0/-0.5
°
0
約9
Approx. 90º
110
50
61
11
95
Figure 3-3 Printer Dimensions
101
3-2
116
54.5
24.5
52
(24.5)
Unit: mm
2. Dimensions of the fixing bracket
固定金具条件
固定金具参考図
24
24
(25)
(25)
2
-
φ
3
2- φ3.6
.
6
44.5 - Panel thickness + 0.5 ±0.3
45.5-板厚+0.5±0.3
52
5225
25
102
102
板厚
44.5 - Panel thickness + 0.5 ±0.2
44.5-板厚+0.5±0.2
44.5
44.5
単位:mm
Unit: mm
Panel thickness
Figure 3-4 Fixing Bracket Dimensions
3-3
3.3 INSTALLATION
1. How to Install the Fixing Bracket
Use the spacers as much as you need
スペーサーを必要なぶん重ねて使用する。
Figure 3-5 Installing the Fixing Bracket
∗ Use the spacers depending on the fitting panel thickness referring to the next table. If not,
the body may be deformed, and therefore it may be hard to open the paper cover or printing
quality may be deteriorated. (If the fitting panel thickness exceeds 2.2 mm, it may be hard to
tighten the screws.)
Panel thickness
Spacer
thickness
Panel thicknessSpacer thickness
1.0 mm None 1.7 to 1.8 mm 0.5 mm and 0.2 mm
1.2 mm 0.2 mm 2.0 mm 1.0 mm
1.5 to 1.6 mm 0.5 mm 2.2 mm 1.0 mm and 0.2 mm
∗ The screw torque is 49 cN m (5 kgf cm).
[Note] Do not touch the end of the DC plug.
2. Setting Paper
(1) Press the paper cover open button, and open the paper cover.
Handle the paper cutter carefully not to cut your hand.
(2) Set a paper roll as shown in the figure.
(3) Close the paper cover by pressing both ends of the cover so the tip end of the paper will
be emerged from the printer.
3-4
①
②
③
③
Figure 3-6 Setting Paper
3-5
3.4 SETTINGS OF THE FUNCTIONS
Printer functions can be set with the dip switches.
The indicates the factory default setting.
Table 3-1 DIP Switch Setting
No Function OFF ON
1 to 4 Communication
See Table 3-2.
method
5 Bit length 8BIT 7BIT
6 Flow RTS/CTS Xon/Xoff
7 to 8 Command mode See Table 3-3.
9 Direction Upright Invert
0 Test pin Normal mode Prohibited
Table 3-2 Communication Method
Method Baud Parity DP1 DP2 DP3 DP4
Serial
38400 OFF OFF OFF OFF
None
19200 ON OFF OFF OFF
9600 OFF ON OFF OFF
4800 ON ON OFF OFF
2400
38400 ON OFF ON OFF
Odd
OFF OFF ON OFF
19200 OFF ON ON OFF
9600 ON ON ON OFF
4800 OFF OFF OFF ON
2400
38400 OFF ON OFF ON
Even
ON OFF OFF ON
19200 ON ON OFF ON
9600 OFF OFF ON ON
4800 ON OFF ON ON
2400
OFF ON ON ON
Parallel −−ON ON ON ON
Table 3-3 Command Mode
Mode DP7 DP8
Mode 1 (20 digit DPU-20-20CF compatible) ON ON
Mode 2 (24 digit DPU-20-24CF compatible) OFF ON
Mode 3 (32 digit ESC/POS compliant) OFF OFF
HEX dump mode ON OFF
3-6
3.4.1 Test Print
The detail of the setting by dip switches is confirmed by test printing.
In the test print mode, characters (ANK, Kanji) and barcode are printed.
Turning power ON with the !FEED_IN signal kept low starts the test print.
3.4.2 Hex Dump Print
In the hex dump mode, the printer prints data input from the computer with hexadecimal numbers
and characters.
Set the dip switch No.7 ON, No.8 OFF, and turn the power on to enter the HEX dump mode.
• If the input data exceeds a line long, such data will be printed as follows. If the input data
does not exceeds a line log, set the !FEED_IN signal to Low. The rest of the data will be
printed.
• Turn off the power to finish the HEX dump mode.
[ HEX DUMP MODE ]
00 01 02 03 04 05 06 07........
08 09 0A 0B 0C 0D 0E 0F........
10 11 12 13 14 15 16 17........
18 19 1A 1B 1C 1D 1E 1F
20 21 22 23 24 25 26 27
28 29 2A 2B 2C 2D 2E 2F()∗+,-./
0D 0A 20 20 0D 0A
.. ..
........
!″ #$%&′
3.4.3 Paper Empty (Paper Out) Detection Function
Detects the existence of paper using the photo interrupter.
Use the specified type of paper.
3.4.4 Adjustment of Print Density
The print density is automatically adjusted by the head resistance, the number of dots, the head
temperature, and the head voltage.
The commands are also able to correct the print density.
It can be adjusted in the range from 0% to 255% of the rated energy.
3-7
3.4.5 Resetting the Printer While Printing
When the data with a lot of dots is printed, the print data may be missing and then, the printing may
often continue in the state that each setting by the commands is reset.
This is because too many print dots decrease the voltage, which results in the activation of the reset
circuit of the printer.
The commands which tend to increase the number of print dots are:
• Underline
• Reverse
• Ruled line (in case that the number of dots is many)
• Bitimage
Case that a horizontal line is printed when printing a full line of “H” characters without spaces
between the characters.
The print density set command (case that the print density is set at over 100%) expands the length
of strobe, which very often resets the settings, although this command does not increase the
number of print dots. Be aware of these points when using the printer.
3.4.6 Memory
1. Input buffer memory
An input buffer memory (RAM) with the capacity of 4,096 bytes is built in the printer.
2. User memory
A user memory (RAM) with the capacity of 16,384 can be used when setting the printer in Mode 3.
The data registered in this memory are cleared when turning off the power.
This memory is used when using the downloaded characters, the user-defined characters, and
the downloaded Bitimages.
The memory used by the downloaded characters and user-defined character is restricted as
follows. The remaining is used for the downloaded Bitimages. However, it can release the
memory of the downloaded character and use-defined character so that ensuring the capacity
for Downloaded Bitimage.
The memory capacity immediately after the initialization
Application Capacity (in byte)
Downloaded character 4,560
User-defined character 1,080
Downloaded Bitimage 10,744
Total 16,384
The capacity for the downloaded characters and the user-defined characters is readily ensured
at the initialization.
This area can be released by a command to use the area for the downloaded Bitimages.
When registering the downloaded Bitimages, calculate the remaining capacity of the memory
before registering them.
Be sure that the data with the larger capacity than the remaining capacity is ignored even if you
trying to register such data.
3-8
CHAPTER 4
INTERFACE
This chapter describes inform ation that is requir ed when using the printer connected to a hos t, such
as the serial and parallel interface specifications.
4.1 CONNECTOR TERMINAL LAYOUT
1. Interface and power connector terminal layout
Connector (plug) : XG4A-4032(Omron)
Connector signal layout
39
40
1
2
(!signal name indicates Active Low.)
Table 4-1 Connector Terminal Assignment
No. Signal name Direction Description
1 !STROBE In Parallel data input
2 to 9 DATA0 to 7 In High:1, Low:0
10 !ACK Out Acknowledge
11 BUSY Out Busy to read
12 PE Out Paper empty
13 SEL OUT Out Online High
14 !ERROR Out Error
15 !RESET In Reset (Valid in Low 20ms)
16 TxD Out Serial data ouput
17 RxD In Serial data input
18 RTS Out RS-232C Request to send
19 CTS In RS-232C Clear to send
20 NEAR_A Out Paper near end ⋅ A (+)
21 NEAR_C In Paper near end ⋅ C (+)
22 NEAR_K −Paper near end ⋅ K (−)
23 NEAR_E −Paper near end ⋅ E (−)
24 NEAR_OUT Out Paper near end signal
25 !FEED_IN In Feed signal
26 GND − Ground
27 SEL_LED+ Out SEL LED on (+)
28 SEL_LED- Out SEL LED on (−)
29 to 34 V+ − Power (+)
35 to 40 V− − Power (−)
∗ Connect to all the No.29 to 34 and No.35 to 40 terminal when supplying the power
4-1
into V+ and V-pins. (To avoid voltage drops.)
When supplying the power through the DC socket, be sure to leave V+
and V- unconnected. Never supply the power into V+ and V- terminals,
and never short V+ and V- terminals.
∗ Use terminal numbers 22, 23 or 26 as the signal ground for RS-232C.
∗ Short terminal numbers 25 and 26 to feed the paper.
∗ SEL LED lights up at the time on-line by connecting it to terminal numbers 27 and 28.
∗ Paper near end sensor:
This printer does not have the paper near end function. However, this function can be
built in by mounting a device such as a photo sensor.
NEAR_A: Pull up it with +4.75 to +5.1 V through the current limit resistance.
NEAR_OUT: The logic of NEAR_C is inversed and output.
Example:
The following diagram describes how a device such as a photo sensor is mounted to
use.
1. Hardware control
The RTS signal (Low or High) controls the transmission of the data from a host computer.
When the data st ored in the input buf f er of the pr inter ex c eeds 4,046 bytes, the RTS s ignal turns
Low.
Once the RTS signal turns Low, the host computer stops to transmit the data.
If the data stored in the input buffer of the printer falls below 3,995 bytes, the RTS signal turns
High.
Once the RTS signal turns High, the host computer resumes transmitting the rest of the data.
∗ When the printer fails (for example, paper-out), the RTS signal also turns Low.
And then, after the printer gets back to normal, the RTS signal turns High.
4-3
Data timing for hardware control
RTS
RTS
RxD
RxD
Print
プリント
Paper out
紙無し
ON-LINE
ON‑LINEOFF‑LINE
OFF-LINE
Power ON
電源ON
4046バイト以上3995バイト以下
Buffer
バッファ
4,046 bytes
or more
Buffer
バッファ
3,995 bytes or less
2. Xon/Xoff control
The data transmission from a host computer is controlled through the exchange of Xon(11
command and Xoff(13
When the data stored in the input buff er of the pr inter ex ceeds 4,046 bytes, the printer sends the
Xoff command to the host computer.
Upon the reception of the Xoff command, the host computer stops to send the data.
If the data stored in the input buffer of the printer falls below 3,995 bytes, the printer sends the
Xon command to the host computer.
Upon the reception of the Xon com mand, the host computer resum es sending the rest of the
data.
∗ When the printer fails (for exam ple, paper-out), the printer sends the Xoff c ommand to the
host computer.
And then, after the printer gets back to normal, the printer sends the X on command to the
host computer.
Data timing for Xon/Xoff control
) command between the printer and the host computer.
16
)
16
RTS
RTS
RxD
TxD
RxD
RxD
Print
プリント紙無し
Paper out
ON‑LINE
ON-LINE
OFF‑LINE
OFF-LINE
Xon
Xon
電源ON
Power ON
4046バイト以上3995バイト以下
Xoff
Xoff
Buffer
バッファバッファ
4,046 bytes
or more
4-4
Xon
Buffer
3,995 bytes or less
Xoff
Xoff Xon Xon
Xon
Loading...
+ 58 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.