Advertisement

Quick Links

DPU-30
THERMAL PRINTER

TECHNICAL REFERENCE

U00084936302
Seiko Instruments Inc.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DPU-30 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for SII DPU-30

  • Page 1: Technical Reference

    DPU-30 THERMAL PRINTER TECHNICAL REFERENCE U00084936302 Seiko Instruments Inc.
  • Page 2 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.
  • Page 3 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.
  • Page 5 TABLE OF CONTENTS Section Page CHAPTER 1 OPERATIONAL PRECAUTION SAFETY PRECAUTION ....................NOTES ON USE ......................NOTES ON TREATMENT OF THERMAL PAPERS............ NOTES ON INSTALLATION ..................CHAPTER 2 TERMS USED IN THIS MANUAL CHAPTER 3 PREPARATIONS AND OPERATION PARTS NAME ......................DIMENSIONS .......................
  • Page 6 Section Page FUNCTION CODES..................... CHARACTER CODES ....................5.3.1 1-Byte Character Codes ................5.3.2 2-Byte Character Codes ................FUNCTION CODE DESCRIPTION................5.4.1 Function Code Description Format ............. 5.4.2 Mode 1/Mode 2 ................... 5.4.3 Mode 3 ......................5-12 APPENDICES APPENDIX A. SPECIFICAIONS .................... APPENDIX B.
  • Page 7 FIGURES Figure Page System Configuration....................Front Name of the Printer ..................... Back Name of the Printer....................Printer Dimensions ....................... Fixing Bracket Dimensions ................... Installing the Fixing Bracket..................Setting Paper ........................
  • Page 8 TABLES Table Page DIP Switch Setting......................Communication Method ....................Command Mode......................Connector Terminal Assignment .................. DC Socket Terminal Assignment ................. I/O Signal Specifications....................Status Response Value Table ..................5-35...
  • Page 9: Safety Precaution

    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. Failure to follow the guidelines marked with this symbol could WARNING result in severe personal injury or death.
  • Page 10: Notes On Use

    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.
  • Page 11: Notes On Treatment Of Thermal Papers

    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. Store the papers in a dry, cool and dark place. Do not rub the papers with hard substance.
  • Page 13: System Configuration

    A line of dots arranged perpendicular to the paper feed direction. 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.
  • Page 14 One line full print The printing executed when the data in the line buffer exceeds one line. Character data for one line is stored in the line buffer. When inflowing data exceeds the number of characters that can be stored in the line buffer, the data in the line buffer are printed.
  • Page 15: Parts Name

    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 ペー...
  • Page 16: Dimensions

    3.2 DIMENSIONS Dimensions of the printer 7.5 111 .2+0/-0.5 Approx. 90º 11 0 11 6 54.5 Unit: mm Figure 3-3 Printer Dimensions...
  • Page 17: Fixing Bracket Dimensions

    Dimensions of the fixing bracket 固 定 金 具 条 件 固 定 金 具 参 考 図 2 4 2- φ3.6 44.5 - Panel thickness + 0.5 ± 0.3 45.5-板厚+0.5 ±0.3 44.5 - Panel thickness + 0.5 ± 0.2 Panel thickness 44.5-板厚+0.5 ±0.2 板厚...
  • Page 18: Installation

    3.3 INSTALLATION 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.
  • Page 19: Setting Paper

    ① ② ③ ③ Figure 3-6 Setting Paper...
  • Page 20: Settings Of The Functions

    3.4 SETTINGS OF THE FUNCTIONS Printer functions can be set with the dip switches. indicates the factory default setting. Table 3-1 DIP Switch Setting Function 1 to 4 Communication See Table 3-2. method Bit length 8BIT 7BIT Flow RTS/CTS Xon/Xoff 7 to 8 Command mode See Table 3-3.
  • Page 21: Test Print

    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...
  • Page 22: Resetting The Printer While Printing

    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.
  • Page 23: Connector Terminal Layout

    CHAPTER 4 INTERFACE This chapter describes information that is required when using the printer connected to a host, 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 1...
  • Page 24: Dc Socket Terminal Assignment

    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. ∗...
  • Page 25: Parallel Interface

    4.2 PARALLEL INTERFACE 1. Data input timing DATA0 to 7 STROBE BUSY Min. Max. Unit − µs − µs − µs − µs − µs − µs − µs 4.3 SERIAL INTERFACE 1. Hardware control The RTS signal (Low or High) controls the transmission of the data from a host computer. When the data stored in the input buffer of the printer exceeds 4,046 bytes, the RTS signal turns Low.
  • Page 26 Data timing for hardware control RT S R x D Print フ ゚ リン ト Paper out 紙 無 し Buffer ハ ゙ ッフ ァ バ ッ ファ Buffer 電 源 ON Power ON 4,046 bytes 40 46 バ イ ト 以 上 3 99 5 バ...
  • Page 27: I/O Signal Specifications

    3. Input / Output signal specifications Table 4-3 I/O Signal Specifications Rate Value Item Condition Unit Typ. − High input voltage !RESET 1.76 − Low input voltage !RESET 1.44 − DATA0 to 7, !STROBE, High input voltage 3.15 !FEED_IN, NEAR_C −...
  • Page 29: Function Outline

    CHAPTER 5 COMMAND FUNCTION This chapter describes the functions of the commands processed by the printer. 5.1 FUNCTION OUTLINE DPU-30 has two sets of commands: Mode 1/Mode 2 and Mode 3. The commands are as listed below: 5.1.1 Mode 1/Mode 2 1.
  • Page 30: Mode 3

    5.1.2 Mode 3 1. Paper feed commands Command Function See page Carriage Return 5-12 Line Feed 5-12 Page Length Print 5-12 ESC J Print and Feed Forward 5-13 ESC j Print and Feed Backward 5-13 ESC d Print and Continuous Line Feed 5-13 ESC C Page Length Set...
  • Page 31 5. Character selection commands Command Function See page ESC M Font Select 5-23 ESC R International Character Select 5-24 ESC & Downloaded Character Register 5-25 ESC ? Downloaded Character Delete 5-25 ESC % Downloaded Character Specify and Clear 5-26 6. Barcode commands Command Function See page...
  • Page 32 9. Bitimage commands Command Function See page ESC ∗ Bitimage Select 5-37 GS ∗ Downloaded Bitimage Register 5-38 GS / Downloaded Bitimage Print 5-39 10. Kanji commands Command Function See page FS & Kanji Mode Specify 5-40 FS . Kanji Mode Clear 5-40 FS C Kanji Code System Select...
  • Page 33 5.2 FUNCTION CODES All commands start with one of the following control codes (called function codes hereinafter): LF (0A ), CR (0D ), SO (0E ), SI (0F ), DC2 (12 ), DC3 (13 ), CAN (18 ), ESC (1B FS (1C ), DEL (7F Some function codes form a command by itself and others are followed by parameters and/or image...
  • Page 34 • The second byte through 1F : The first byte already entered is ignored. Function codes are processed as function codes. All the other codes are ignored along with the first byte. If the following code accompanies a Kanji mode clear command, the next received data is processed as a 1-byte character code.
  • Page 35 5.4.2 Mode 1/Mode 2 1. Basic command Carriage Return Code Function Prints the data stored in the print buffer, and then starts a new line according to the defined amount of paper feed for one line. • After executing this command, a head of a line is set as a starting position of Details printing.
  • Page 36 Double–Width Printing Mode Clear Code Function Clears the double−width printing. Cancel Code Function Clears the print buffer. • After executing this command, a head of a line is set as a starting position of Details printing. ESC S n1 n2 n3 n4 Bitimage Graphic + 53 + n1 + n2 + n3 + n4 + [DATA]...
  • Page 37 (Input image) (Deploy ment image) d1 d2 d3 ESC c Special Character Specify + 63 Code Function Replaces the character code table from F9 to FD as follows. Category 1 (default value) 市 区 町 村 人 Σ μ Ω π...
  • Page 38 2. Extension commands ESC @ Initialization + 40 Code Function Initializes the printer. • The allocation of the user memory is initialized. Details • The receive buffer is retained. • The print buffer is cleared. • The settings of each command are initialized. •...
  • Page 39 DC2 % n Print Drive User Define + 25 Code 1 ≤ n ≤ 16 Domain of function Function Executes the printing according to the print drive defined by a user. The amount of 1 × 8 dots n = 1: n = 16: The amount of 16 ×...
  • Page 40 5.4.3 Mode 3 1. Paper feed commands Carriage Return Code Function Prints the data stored in the print buffer, and then starts a new line according to the defined amount of paper feed for one line. • After executing this command, a head of a line is set as a starting position of Details printing.
  • Page 41 ESC J n Print and Feed Forward + 4A Code 0 ≤ n ≤ 255 Domain of function Prints the data stored in the print buffer, and then feeds paper n × dot pitch forward. Function • After executing this command, a head of a line is set as a next starting position of Details printing.
  • Page 42 ESC C n Page Length Set + 43 Code 1 ≤ n ≤ 255 Domain of function Function Sets the amount of page feed. • The page feed is executed using the FF command. Details 5-14...
  • Page 43 2. Tab commands Horizontal Tab Code Function Moves the printing position to the position of the next horizontal tab. • If the position of the horizontal tab is not set, this command is ignored. Details • If the position of the horizontal tab is out of the printing area, it is set at the head of the next line.
  • Page 44 3. Form commands ESC 2 Default Amount of Line Spacing Specify + 32 Code Function Restores the amount of paper feed for one line to its default value. ESC 3 n Amount of Line Spacing Set + 33 Code 0 ≤ n ≤ 255 Domain of function Sets the amount of paper feed for one line at [n ×...
  • Page 45 GS L nl nh Left Margin Set + 4C + nl + nh Code 0 ≤ nl ≤ 255 Domain of 0 ≤ nh ≤ 255 function Sets the left margin at [(nh × 256 + nl) × dot pitch]. Function •...
  • Page 46 ESC $ nl nh Absolute Position of Printing Area Specify + 24 + nl + nh Code 0≤ nl ≤ 255 Domain of 0 ≤ nh ≤ 255 function 0 ≤ nh × 256 + nl ≤ 127 Function Sets the printing area at the absolute position based on the left margin. The setting range is [(nh ×...
  • Page 47 4. Character decoration commands ESC ! n Decorated Characters Collectively Specify + 21 Code 0 ≤ n ≤ 255 Domain of function Function Collectively specifies the printing modes. Function Description Font 24 dot type 16 dot type − − Undefined −...
  • Page 48 ESC G n ESC E n Bold Characters Specify and Clear + 47 Code + 45 0 ≤ n ≤ 255 Domain of function Function Specifies and clears the bold characters. n = <xxxxxxx0>B: The bold characters are cleared. n = <xxxxxxx1>B: The bold characters are specified. •...
  • Page 49 ESC – n Underline Specify and Clear + 2D Code 0 ≤ n ≤ 255 Domain of function Function Specifies and clears the underline. n = <xxxxx000>B: underline 0 dot pitch n = <xxxxx111>B: underline 7 dot pitch • n is valid only for the low 3 bits. Details •...
  • Page 50 GS B n Reverse Character Specify and Clear + 42 Code 0 ≤ n ≤ 255 Domain of function Function Specifies and clears the reverse characters. n = <xxxxxxx0>B: The reverse characters are cleared. n = <xxxxxxx1>B: The reverse characters are specified. •...
  • Page 51 5. Character selection commands ESC M n Font Select + 4D Code 0 ≤ n ≤ 255 Domain of function Function Selects the character font. n = <xxxxxxx0>B: character font (12 × 24 and 24 × 24) n = <xxxxxxx1>B: character font (8 × 16 and 16 × 16) •...
  • Page 52 ESC R n International Character Select + 52 Code 0 ≤ n ≤ 7 Domain of function Function Selects a set of characters of each country described below. When selecting JAPAN, the set of characters corresponds to the katakana – compliant character code table (refer to APPENDIX B.
  • Page 53 ESC & y c1 c2 [x1 d1...d(y×x1)]...[xk d1...d(y×xk)] Downloaded Character Register + y + c1 + c2 [x1 d1...d (y × x1)]...[xk d1...d (y × xk)] + 26 Code y = 3 Domain of function ≤ c1 ≤ c2 ≤ 7E 0 ≤...
  • Page 54 ESC % n Downloaded Character Specify and Clear + 25 Code 0 ≤ n ≤ 255 Domain of function Function Specifies and clears the downloaded character set. n = <xxxxxxx0>B: The downloaded character set is cleared. n = <xxxxxxx1>B: The downloaded character set is specified. •...
  • Page 55 Image of registration Font 12 × 24 Font 8 × 16 ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ Character output range Font 12 × 24 Font 8 × 16 ⋅...
  • Page 56 6. Barcode commands GS H n HRI Character Printing Set + 48 Code 0 ≤ n ≤ 255 Domain of function Function Specifies the printing position of the HRI characters when printing a Barcode. n = <xxxxxx00>B: HRI characters are not printed. n = <xxxxxx01>B: HRI characters are printed on top of the Barcode.
  • Page 57 GS h n Height of Barcode Set + 68 Code 1 ≤ n ≤ 255 Domain of function Function Sets the height of Barcode. • In default, n = 162. Details 5-29...
  • Page 58 GS k m d1...dk NUL Barcode Print + 6B + m + d1...dk + NUL Code 1 ≤ m ≤ 7 Domain of The values of d1 to dk depend on a type of Barcode. function Function Selects a type of Barcode and prints the Barcode. Type of Barcode UPC-E JAN13...
  • Page 59 7. Ruled line control commands DC3 A Ruled Line Buffer A Select + 41 Code Function Selects the ruled line buffer A. • This function selects the ruled line buffer A. Details • There are 2 independent buffers (A and B) as the ruled line buffer. •...
  • Page 60 DC3 D nl nh Write in Position Specified by Dot in Ruled Line Buffer + 44 + nl + nh Code 0 ≤ nl ≤ 255 Domain of 0 ≤ nh ≤ 3 function Function Writes 1 in the specified position in the ruled line buffer. The position is set at [(nh ×...
  • Page 61 DC3 + Print Mode of Ruled Line Approve + 2B Code Function Approves the print mode of the data stored in the ruled line buffer. • When a printing command (CR, LF, etc.) is executed after the approval, the data Details stored in the selected ruled line buffer is always included in the data to be printed.
  • Page 62 8. Response commands (only for serial mode) GS a n Validity / Invalidity of Automatic Status Transmission and Real Time Command Select + 61 Code 0 ≤ n ≤ 3 Domain of function Function Specifies the validity or invalidity of the automatic status response which is one of the printer statuses.
  • Page 63: Status Response Value Table

    GS r n Status Transmit + 72 Code 0 ≤ n ≤ 255 Domain of function Function Returns the current printer status. n = <xxxxxxx1>B : The status is returned • n is valid only for the least significant bit. Details •...
  • Page 64 DLE EOT n Status Transmit in Real Time + 04 Code n = 1 Domain of function Returns the current printer status in real time. Function • Regardless of the validity of the automatic status response, this function returns Details the current status.
  • Page 65 DLE ENQ n Major Buffers Clear in Real Time + 05 Code n = 1 Domain of function Function Clears the major buffers in real time while off line. n = 1: The major buffers are cleared. • This command is valid while off line. Details •...
  • Page 66 9. Bitimage commands ESC ∗ m nl nh [d1...dk] Bitimage Select + 2A + m + nl + nh + [d1...dk] Code m = 0,1,32,33 Domain of 0 ≤ nl ≤ 255 function 0 ≤ nh ≤ 3 0 ≤ d ≤ 255 Function Specifies the Bitimages with the number of dots specified as nl and nh in Mode m.
  • Page 67 8-dot bitimage d1 d2 d3 24-dot bitimage d1 - - - - - - - - - - d9 Double Single density density GS ∗ x y [d1...d(x × y × 8)] Downloaded Bitimage Register + x + y + [d1...d (x × y × 8)] + 2A Code 1 ≤...
  • Page 68 GS / m Downloaded Bitimage Print + 2F Code 0 ≤ m ≤ 3 Domain of function Function Prints the downloaded Bitimage in the specified Mode m. Print mode Description Normal mode Prints the normal size characters Double width mode Prints the double-width characters Double height mode Prints the double-height characters...
  • Page 69 10. Kanji commands FS & Kanji Mode Specify + 26 Code Function Specifies the kanji mode. • The Kanji Mode Specify is valid only when the JIS code is selected. Details • If the kanji mode is selected, each and every character code is processed as 2 byte kanji code.
  • Page 70 FS S nl nr Character Spacing for Kanji Set + 53 + nl + nr Code 0 ≤ nl ≤ 127 Domain of 0 ≤ nr ≤ 127 function Function Sets the amount of the left (nl) and right (nr) spacing for kanji. •...
  • Page 71 FS ! n Print Mode for Kanji Collectively Specify + 21 Code 0 ≤ n ≤ 255 Domain of function Function Collectively specifies the print mode for kanji. Function Description − − Undefined − − Undefined Double width character clear specify Double height character clear...
  • Page 72 FS – n Underline of Kanji Specify and Clear + 2D Code 0 ≤ n ≤ 255 Domain of function Function Sets the underline of kanji. n = <xxxxx000>B: Underline dot pitch: 0 n = <xxxxx111>B: Underline dot pitch: 7 •...
  • Page 73 FS 2 c1 c2 d1...dk User–Defined Character Register + 32 + c1 + c2 + d1...dk Code 0 ≤ d ≤ 255 Domain of k = 72 function c1 and c2 depend on the kanji code system. Kanji code system ≤...
  • Page 74 Image of registration Font 24 × 24 Font 16 × 16 ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ Character output range Font 24 × 24 Font 16 × 16 ⋅...
  • Page 75 11. Function and setting commands ESC @ Initialization + 40 Code Function Initializes the printer. • The allocation of the user memory is initialized. Details • The receive buffer is retained. • The print buffer is cleared. • The settings of each command are initialized. •...
  • Page 76 DC2 D n Registration Area of Downloaded Character Ensure and Release + 44 Code 0 ≤ n ≤ 255 Domain of function Function Ensures and releases the registration area of the downloaded characters. n = <xxxxxxx0>B: The registration area of the downloaded characters is released. n = <xxxxxxx1>B: The registration area of the downloaded characters is ensured.
  • Page 77 DC2 > n Print Drive Mode Select + 3E Code 0 ≤ n ≤ 2 Domain of function Function Sets the print drive mode. Print drive mode Feature High speed mode The printer is driven at high speed and high electric power.
  • Page 78 DC2 % n Print Drive User-Define + 25 Code 1 ≤ n ≤ 16 Domain of function Function Executes the printing according to the print drive defined by a user. : The amount of 1 × 8 dots n = 1 n = 16 : The amount of 16 ×...
  • Page 79 APPENDIX A. SPECIFICAIONS General specifications □ Printing method Thermal line dot □ Data input Parallel type 8-bit parallel (Handshake by STROBE and BUSY) Serial type RS-232C (2400 to 38400 bps, BUSY control, Xon/Xoff control) □ Dot density 8 dots/mm □ Maximum printing speed 20 mm/s max.
  • Page 80 (4) Printable character 32 characters with standard characters (24 dot standard characters with character spacing of 0 dot) □ Horizontal dot pitch 0.125 mm □ Paper feed pitch 0.125 mm □ Useful service life (at 25 °C and the rated energy) Pulse resistance 100 million pulses or more (percentage of print: 12.5%) Abrasion resistance...
  • Page 81 □ Thermal papers used • Product No.: TP-211C-1(10 rolls per box) • Paper width: 58 mm • Outer diameter of roll paper: φ50 mm or less • Core: included ∗ Use the specified thermal paper. If you use another type of thermal paper, the quality of print and the useful service life of the thermal head may not be guaranteed.
  • Page 83 APPENDIX B. DATA CODE TABLE Katakana compliant characters (gothic) High order Low order High order Low order • SP means space. • The codes for blank cells are ignored. • The codes in the heavy line frames are function codes. The characters of a line are not printed in Shift-JIS code.
  • Page 84 PC 437 type High order Low order High order Low order • SP means space. • The codes for blank cells are ignored. • The codes in the heavy line frames are function codes. NOTE) Above DATA CODE TABLE shows the form of a character to the last, and does not show the actual printing pattern itself.
  • Page 85 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Seiko Instruments DPU-30-0B-E...

Table of Contents