Seiko Instruments DPU-30 manual

1
2
3
4
5
6
7
8
9
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Seiko Instruments DPU-30, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Seiko Instruments DPU-30 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Seiko Instruments DPU-30. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Seiko Instruments DPU-30 should contain:
- informations concerning technical data of Seiko Instruments DPU-30
- name of the manufacturer and a year of construction of the Seiko Instruments DPU-30 item
- rules of operation, control and maintenance of the Seiko Instruments DPU-30 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Seiko Instruments DPU-30 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Seiko Instruments DPU-30, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Seiko Instruments service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Seiko Instruments DPU-30.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Seiko Instruments DPU-30 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    DPU-30 THERMAL PRINTER TECHNICAL REFERENCE U00084936302 Seiko Instruments Inc.[...]

  • Page 2

    DPU-30 TECHNICAL REFERENCE Document Number U00084936302 First Edition January 2004 Second Edition November 2005 Third Edition March 2006 Copyright © 2004, 2005, 2006 by Seiko Instruments Inc. All rights reserved. Seiko Instruments Inc. (SII) has prepared this manual for use by SII personnel, licensees, and customers. The information contained here[...]

  • 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 por t (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 print[...]

  • Page 4

    [...]

  • Page 5

    TABLE OF CONTENTS Section Page CHA PTER 1 OPERATIONAL PRECA UTION 1.1 SAFETY PRECAUTION ............................................................................................... 1-1 1.2 NOTES O N USE .......................................................................................................... 1-2 1.3 NOTES O N T REATMENT OF T HER[...]

  • Page 6

    Section Page 5.2 FUNCTION CO DES ..................................................................................................... 5-5 5.3 CHARACTER CODES ................................................................................................. 5-5 5.3.1 1-Byte Char acter Codes ...........................................................[...]

  • Page 7

    FIGURES Figure Page 2-1 Sy stem Configuration.................................................................................................... 2- 1 3-1 Front Name of the Printer ............................................................................................. 3-1 3-2 Back Name of the Printer...........................................[...]

  • Page 8

    TABLES Table Page 3-1 DIP Switch Setting ........................................................................................................ 3-6 3-2 Comm unic ation Method ............................................................................................... 3-6 3-3 Com m and Mode ......................................................[...]

  • Page 9

    1-1 CHAPTER 1 OPERA TIONAL 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 Failure to follow the guidelines marked with this symbol could resu[...]

  • Page 10

    1-2 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 ex treme 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 s hock, or other serious accidents. Never touch the thermal head i[...]

  • Page 11

    1-3 1.3 NOTES ON TREATMEN T OF THERMAL PAPERS The surface of thermal paper is specially proce ssed using the chemical agent. And the color rises through the thermo chemical reaction proc ess. 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 fro[...]

  • Page 12

    1-4[...]

  • Page 13

    2-1 CHA PTER 2 TERM S USED IN T HIS MANUA L This chapter desc ribes the ter m s used in this m anual. Dot A character or graphic im age is com pos ed of pic ture elem ents called dots. A dot corres ponds to one of the ther m al head heat elem ents. Dot line A line of dots arranged perpendic ular to the paper f eed direction. A dot line corres ponds[...]

  • Page 14

    2-2 One line full print The printing ex ecuted when the data in the line buff er exc eeds one line. Character data f or one line is stor ed in the line buff er. W hen inflowing data exceeds the number of c harac ter s that c an be s tored in the line buf f er, the data in the line buffer are printed. The overf lowing data is stored at the beginning[...]

  • Page 15

    3-1 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 ペーパーカバー ペーパーカバーオープンボ タン ペーパーカッタ Figure 3-1 Front Name of t[...]

  • Page 16

    3-2 3.2 DIMENSIONS 1. Dimensions of the printer 取り付け穴寸法図 単位:mm 95 101 116 61 50 110 約9 0 ° 7.5 54.5 (24.5) 52 11 96+0/-0.5 11 1 . 2+0/-0.5 24.5 Figure 3-3 Printer Dimensions Approx. 90º Dimensions of the fitting hole Unit: mm[...]

  • Page 17

    3-3 2. Dimensions of the fixing bracket 固定金具条件 単位:mm 固定金具参考図 板厚 44.5- 板 厚+0.5 ±0.2 44.5 24 (25 ) 52 25 102 45.5- 板 厚+0.5 ±0.3 2 - φ 3 . 6 Figure 3-4 Fixing Bracket Dimensions Panel thickness Unit: mm 44.5 - Panel thickness + 0.5 ± 0.2 44.5 - Panel thickness + 0.5 ± 0[...]

  • Page 18

    3-4 3.3 INSTALLATION 1. How to Install the Fixing Bracket スペーサーを必要なぶん重ね て使用する。 Figure 3-5 Installing the Fixing Bracket ∗ Use the spacers depending on the fitting panel th ickness referring to the next t able. If not, the body may be deformed, and therefore it ma y be hard to open the paper cover or printing [...]

  • Page 19

    3-5 ① ② ③ ③ Figure 3-6 Setting Paper[...]

  • Page 20

    3-6 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 Sw itch Setting No Function OFF ON 1 to 4 Communication method See Table 3-2. 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 mo[...]

  • Page 21

    3-7 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 si gnal kept low starts the test print. 3.4.2 Hex Dump Print In the hex dump mode, the printer prints data i nput from the computer with hexadecimal[...]

  • Page 22

    3-8 3.4.5 Resetting the Printer While Printing When the data with a lot of dots is printed, t he print data may be missing and then, the printing may often continue in the state that eac h setting by the commands is reset. This is because too many print dots decrease the volt age, which results in the activation of the reset circuit of the printer.[...]

  • Page 23

    4-1 CHA PTER 4 INTERFACE This chapter descr ibes inform ation that is r equired when using the printer connec ted to a host, suc h as the serial and par allel interfac e specif ications . 4.1 CONNECT OR TERM INA L LA YOUT 1. Interf ace and power connector term inal layout Connector (plug) : XG4A-4032( Om ron) Connector signal layout 1 2 39 40 ([...]

  • Page 24

    4-2 into V+ and V -pins. (T o av oid voltage drop s.) W hen supplyi ng the pow er through the DC s ock et, be sure to leave V+ and V- unconnected. Never s upply the pow er into V+ and V- term inals , and never short V+ and V- term inals. ∗ Us e term inal num bers 22, 23 or 26 as the signal ground f or RS-232C. ∗ Shor t term inal num bers 25 and[...]

  • Page 25

    4-3 4.2 PA RALLE L INTERFA CE 1. Data input tim ing T5 T4 T3 T2 T1 DA T A0 to 7 BUSY T6 T7 STROBE A CK Min . Max . Un i t T1 0.1 − µ s T2 0.5 − µ s T3 0.5 − µ s T4 − 0.5 µ s T5 0 − µ s T6 0.5 − µ s T7 − 1.0 µ s 4.3 SERIA L INTERFACE 1. Hardw are con trol The RT S signal (Low or High) c ontrols the trans m ission of the data fro[...]

  • Page 26

    4-4 Data timing f or hardware c ontrol RTS RxD プリント 紙無し 電源 O N バッファ 4046ハ ゙イト 以 上 3995バイト 以 下 バッファ ON-LI NE OFF-LI NE 2. Xon/Xof f contr ol The data trans m ission f rom a host com puter is controlled thr ough the exchange of Xon(11 16 ) com m and and Xof f(13 16 ) com m and betwee[...]

  • Page 27

    4-5 3. Input / Output signal s pecific ations Table 4- 3 I/O Signal Sp ecifications Rate Value Item Condition Min T yp. Max Unit High input voltage !RESET 1.76 − 5.5 V Low input voltage ! RESET 0 − 1.44 V High input voltage DATA0 to 7, ! ST ROBE, !F EED_IN, NEAR_C 3.15 − 5.5 V Low input voltage DAT A0 to 7, ! STRO BE, !F EED_IN, NEAR_C 0 − [...]

  • Page 28

    4-6[...]

  • Page 29

    5-1 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/M ode 2 and Mode 3. The commands are as listed below: 5.1.1 Mode 1/Mode 2 1. Basic commands (DPU-20-20CF/24CF compatible commands) Command Function See page CR Line Feed 5-7 LF Ca[...]

  • Page 30

    5-2 5.1.2 Mode 3 1. Paper feed commands Command Function See page CR Carriage Return 5-12 LF Line Feed 5-12 FF 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 5-14 2. Tab commands Command Function See page HT Horizontal Tab 5-15 ESC D Horizon[...]

  • Page 31

    5-3 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 GS H HRI Character Printing Set 5-27 GS w W[...]

  • Page 32

    5-4 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 5-40 FS S Character Spacing for Kanji Set 5-41 FS ! Print [...]

  • Page 33

    5-5 5.2 FUNCTION CODES All commands start with one of the following cont rol codes (called function codes hereinafter): LF (0A 16 ), CR (0D 16 ), SO (0E 16 ), SI (0F 16 ), DC2 (12 16 ), DC3 (13 16 ), CAN (18 16 ), ESC (1B 16 ), FS (1C 16 ), DEL (7F 16 ) Some function codes form a command by itself and others are followed by parameters and/or image [...]

  • Page 34

    5-6 • The second byte 00 16 through 1F 16 : The first byte already entered is ignored. Function codes are processed as function codes. All the other c odes are ignored along with the first byte. If the following code accompanies a Kanji mode clear command, the next received data is process ed as a 1-byte character code. 20 16 : Ignored along with[...]

  • Page 35

    5-7 5.4.2 Mode 1/Mode 2 1. Basic command CR Carriage Return Code 0D 16 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. Details • After executing this command, a head of a line is set as a starting position of printing. • LF command received immediately f[...]

  • Page 36

    5-8 SI Double–Width Printing Mode Clear Code 0F 16 Function Clears the double − width printing. CAN Cancel Code 18 16 Function Clears the print buffer. Details • After executing this command, a head of a line is set as a starting position of printing. ESC S n1 n2 n3 n4 Bitimage Graphic Code 1B 16 + 53 16 + n1 + n2 + n3 + n4 + [DATA] Domain of[...]

  • Page 37

    5-9 d1 d2 d3 d1 d2 d3 MSB LS B (I nput i m a ge) (De pl oy m ent i m ag e) ESC c Special Character Specify Code 1B 16 + 63 16 Function Replaces the character code table from F9 16 to FD 16 as follows. Category F9 16 FA 16 FB 16 FC 16 FD 16 1 (default value) 市 区 町 村 人 2 Σ μ Ω π δ Details • The operation is executed as a toggle opera[...]

  • Page 38

    5-10 2. Extension commands ESC @ Initialization Code 1B 16 + 40 16 Function Initializes the printer. Details • The allocation of the user memory is initialized. • The receive buffer is retained. • The print buffer is cleared. • The settings of each command are initialized. • ROM SW is reread. DC2 > n Print Drive Mode Select Code 12 16 [...]

  • Page 39

    5-11 DC2 % n Print Drive User Define Code 12 16 + 25 16 + n Domain of function 1 ≤ n ≤ 16 Function Executes the printing according to the print drive defined by a user. n = 1: The amount of 1 × 8 dots n = 16: The amount of 16 × 8 dots Details • When one line is printed, the number of division is calculated every n × 8 dots. Example: Suppos[...]

  • Page 40

    5-12 5.4.3 Mode 3 1. Paper feed commands CR Carriage Return Code 0D 16 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. Details • After executing this command, a head of a line is set as a starting position of printing. • LF command received immediately f[...]

  • Page 41

    5-13 ESC J n Print and Feed Forward Code 1B 16 + 4A 16 + n Domain of function 0 ≤ n ≤ 255 Function Prints the data stored in the print buffer, and then feeds paper n × dot pitch forward. Details • After executing this command, a head of a line is set as a next starting position of printing. • This function is not affected by the setting of[...]

  • Page 42

    5-14 ESC C n Page Length Set Code 1B 16 + 43 16 + n Domain of function 1 ≤ n ≤ 255 Function Sets the amount of page feed. Details • The page feed is executed using the FF command.[...]

  • Page 43

    5-15 2. Tab commands HT Horizontal Tab Code 09 16 Function Moves the printing position to the pos ition of the next horizontal tab. Details • If the position of the horizontal tab is not set, this command is ignored. • If the position of the horizontal tab is out of the printing area, it is set at the head of the next line. • The position of [...]

  • Page 44

    5-16 3. Form commands ESC 2 Default Amount of Line Spacing Specify Code 1B 16 + 32 16 Function Restores the amount of paper feed for one line to its default value. ESC 3 n Amount of Line Spacing Set Code 1B 16 + 33 16 + n Domain of function 0 ≤ n ≤ 255 Function Sets the amount of paper feed for one line at [n × dot pitch]. Details • The defa[...]

  • Page 45

    5-17 GS L nl nh Left Margin Set Code 1D 16 + 4C 16 + nl + nh Domain of function 0 ≤ nl ≤ 255 0 ≤ nh ≤ 255 Function Sets the left margin at [(nh × 256 + nl) × dot pitch]. Details • This setting is only valid at a head of a line. • The maximum settable left margin corresponds to the horizontally printable area. • When a setting value [...]

  • Page 46

    5-18 ESC $ nl nh Absolute Position of Printing Area Specify Code 1B 16 + 24 16 + nl + nh Domain of function 0 ≤ nl ≤ 255 0 ≤ nh ≤ 255 0 ≤ nh × 256 + nl ≤ 127 Function Sets the printing area at the absolute pos ition based on the left margin. The setting range is [(nh × 256 + nl) × dot pitch]. Details • This setting is only valid at[...]

  • Page 47

    5-19 4. Character decoration commands ESC ! n Decorated Characters Collectively Specify Code 1B 16 + 21 16 + n Domain of function 0 ≤ n ≤ 255 Function Collectively specifies the printing modes. Function Bit Description 0 1 0 Font 24 dot type 16 dot type 1 Undefined − − 2 Undefined − − 3 Bold character clear specify 4 Double–height cha[...]

  • Page 48

    5-20 ESC G n ESC E n Bold Characters Specify and Clear Code 1B 16 + 47 16 + n 1B 16 + 45 16 + n Domain of function 0 ≤ n ≤ 255 Function Specifies and clears the bold characters. n = <xxxxxxx0>B: The bold characters are cleared. n = <xxxxxxx1>B: The bold characters are s pecified. Details • n is valid only for the least significant[...]

  • Page 49

    5-21 ESC – n Underline Specify and Clear Code 1B 16 + 2D 16 + n Domain of function 0 ≤ n ≤ 255 Function Specifies and clears the underline. n = <xxxxx000>B: underline 0 dot pitch n = <xxxxx111>B: underline 7 dot pitch Details • n is valid only for the low 3 bits. • This setting is valid only fo r the standard size characters. [...]

  • Page 50

    5-22 GS B n Reverse Character Specify and Clear Code 1D 16 + 42 16 + n Domain of function 0 ≤ n ≤ 255 Function Specifies and clears the reverse characters. n = <xxxxxxx0>B: The reverse character s are cleared. n = <xxxxxxx1>B: The reverse character s are specified. Details • n is valid only for the least significant bit. • In de[...]

  • Page 51

    5-23 5. Character selection commands ESC M n Font Select Code 1B 16 + 4D 16 + n Domain of function 0 ≤ n ≤ 255 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) Details • n is valid only for the least significant bit. • This setting[...]

  • Page 52

    5-24 ESC R n International Character Select Code 1B 16 + 52 16 + n Domain of function 0 ≤ n ≤ 7 Function Selects a set of characters of each country described below. When selecting JAPAN, the set of char acters corresponds to the katakana – compliant character code table (refer to APPENDIX B. DATA CODE TABLE.). When selecting a set of charact[...]

  • Page 53

    5-25 ESC & y c1 c2 [x1 d1...d(y ×x1)]...[xk d1...d(y×xk)] Downloaded Character Register Code 1B 16 + 26 16 + y + c1 + c2 [x1 d1...d (y × x1)]...[xk d1...d (y × xk)] Domain of function y = 3 20 16 ≤ c1 ≤ c2 ≤ 7E 16 0 ≤ x ≤ 12 (When font (12 × 24) is selected) 0 ≤ x ≤ 9 (When font (8 × 16) is selected) 0 ≤ d1…d (y × xk) ?[...]

  • Page 54

    5-26 ESC % n Downloaded Character Specify and Clear Code 1B 16 + 25 16 + n Domain of function 0 ≤ n ≤ 255 Function Specifies and clears the downloaded character set. n = <xxxxxxx0>B: The dow nloaded character set is cleared. n = <xxxxxxx1>B: The downl oaded character set is specified. Details • n is valid only for the least signif[...]

  • Page 55

    5-27 MSB LSB Image of registration Font 12 × 24 d1 d2 d3 d36 d35 d34 d4 d5 d6 Font 8 × 16 d1 d2 d3 d27 d26 d25 d4 d5 d6 ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ Fon t 12 × 24 d1 d2 d3 d36 d35 d34 d4 d5 d6 Font 8 × 16 d1 d2 d23 d22 d4 d5 ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ Charac[...]

  • Page 56

    5-28 6. Barcode commands GS H n HRI Character Printing Set Code 1D 16 + 48 16 + n Domain of function 0 ≤ n ≤ 255 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 charac ters are printed on top of the Barcode. n = <xxxxxx10[...]

  • Page 57

    5-29 GS h n Height of Barcode Set Code 1D 16 + 68 16 + n Domain of function 1 ≤ n ≤ 255 Function Sets the height of Barcode. Details • In default, n = 162.[...]

  • Page 58

    5-30 GS k m d1...dk NUL Barcode Print Code 1D 16 + 6B 16 + m + d1...dk + NUL Domain of function 1 ≤ m ≤ 7 The values of d1 to dk depend on a type of Barcode. Function Selects a type of Barcode and prints the Barcode. m Type of Barcode 1 UPC-E 2 JAN13 3 JAN8 4 CODE39 5 ITF 6 CODABAR 7 CODE128 Details • This command is finished by a NUL code. ?[...]

  • Page 59

    5-31 7. Ruled line control commands DC3 A Ruled Line Buffer A Select Code 13 16 + 41 16 Function Selects the ruled line buffer A. Details • This function selects the ruled line buffer A. • There are 2 independent buffers (A and B) as the ruled line buffer. • The ruled line buffer A is selected as the default. DC3 B Ruled Line Buffer B Select [...]

  • Page 60

    5-32 DC3 D nl nh Write in Position Specified by Dot in Ruled Line Buffer Code 13 16 + 44 16 + nl + nh Domain of function 0 ≤ nl ≤ 255 0 ≤ nh ≤ 3 Function Writes 1 in the specified position in the ruled line buffer. The position is set at [(nh × 256 + nl) × dot pitch]. Details • Regardless of the printable area, this function writes 1 in[...]

  • Page 61

    5-33 DC3 + Print Mode of Ruled Line Approve Code 13 16 + 2B 16 Function Approves the print mode of the dat a stored in the ruled line buffer. Details • When a printing command (CR, LF, etc.) is executed after the approval, the data stored in the selected ruled line buffer is always included in the data to be printed. • This command is not affec[...]

  • Page 62

    5-34 8. Response commands (only for serial mode) GS a n Validity / Invalidity of Automatic Status Transmission and Real Time Command Select Code 1D 16 + 61 16 + n Domain of function 0 ≤ n ≤ 3 Function Specifies the validity or invalidity of the automatic status response which is one of the printer statuses. Specifies the validity or invalidity [...]

  • Page 63

    5-35 GS r n Status Transmit Code 1D 16 + 72 16 + n Domain of function 0 ≤ n ≤ 255 Function Returns the current printer status. n = <xxxxxxx1>B : The status is returned Details • n is valid only for the least significant bit. • Regardless of the validity of the automatic status response, this function returns the current status. • Fo[...]

  • Page 64

    5-36 DLE EOT n Status Transmit in Real Time Code 10 16 + 04 16 + n Domain of function n = 1 Function Returns the current printer status in real time. Details • Regardless of the validity of the automatic status response, this function returns the current status. • For the status values, refer to Table 5-1 Status Response Value Table . • This [...]

  • Page 65

    5-37 DLE ENQ n Major Buffers Clear in Real Time Code 10 16 + 05 16 + n Domain of function n = 1 Function Clears the major buffers in real time while off line. n = 1: The major buffers are cleared. Details • This command is valid while off line. • This command is executed at the reception. • When the real time command is invalid, this command [...]

  • Page 66

    5-38 9. Bitimage commands ESC ∗ m nl nh [d1...dk] Bitimage Select Code 1B 16 + 2A 16 + m + nl + nh + [d1...dk] Domain of function m = 0,1,32,33 0 ≤ nl ≤ 255 0 ≤ nh ≤ 3 0 ≤ d ≤ 255 Function Specifies the Bitimages with the number of dots specified as nl and nh in Mode m. m Mode The number of dots in the vertical direction The number of[...]

  • Page 67

    5-39 8-dot b i timage d1 d2 d3 d1 d2 d3 S i ngle dens i t y Dou bl e dens it y d1 d2 d3 d4 d5 d6 d7 d8 d9 24-dot bi t i mage d 1 - - - - - - - - - - d9 MS B LSB MS B LSB GS ∗ x y [d1...d(x × y × 8)] Downloaded Bitimage Register Code 1D 16 + 2A 16 + x + y + [d1...d (x × y × 8)] Domain of function 1 ≤ x ≤ 255 1 ≤ y ≤ 48 0 ≤ d ≤ 255 [...]

  • Page 68

    5-40 GS / m Downloaded Bitimage Print Code 1D 16 + 2F 16 + m Domain of function 0 ≤ m ≤ 3 Function Prints the downloaded Bitimage in the specified Mode m. m Print mode Description 0 Normal mode Prints the normal size characters 1 Double width mode Prints the double-width characters 2 Double height mode Prints the double-height characters 3 Doub[...]

  • Page 69

    5-41 10. Kanji commands FS & Kanji Mode Specify Code 1C 16 + 26 16 Function Specifies the kanji mode. Details • The Kanji Mode Specify is valid only when the JIS code is selected. • If the kanji mode is selected, each and ev ery character code is processed as 2 byte kanji code. • In default, the kanji mode is cleared. FS . Kanji Mode Clea[...]

  • Page 70

    5-42 FS S nl nr Character Spacing for Kanji Set Code 1C 16 + 53 16 + nl + nr Domain of function 0 ≤ nl ≤ 127 0 ≤ nr ≤ 127 Function Sets the amount of the left (nl) and right (nr) spacing for kanji. Details • The amount of character spacing for norma l size kanji is set. And the amount of character spacing proportionally increases accordin[...]

  • Page 71

    5-43 FS ! n Print Mode for Kanji Collectively Specify Code 1C 16 + 21 16 + n Domain of function 0 ≤ n ≤ 255 Function Collectively specifies the print mode for kanji. Function Bit Description 0 1 0 Undefined − − 1 Undefined − − 2 Double width character clear specify 3 Double height character clear specify 4 Undefined − − 5 Undefined [...]

  • Page 72

    5-44 FS – n Underline of Kanji Specify and Clear Code 1C 16 + 2D 16 + n Domain of function 0 ≤ n ≤ 255 Function Sets the underline of kanji. n = <xxxxx000>B: Underline dot pitch: 0 n = <xxxxx111>B: Underline dot pitch: 7 Details • n is valid only for the low 3 bits. • This command is valid only for kanji. • The underline is [...]

  • Page 73

    5-45 FS 2 c1 c2 d1...dk User–Defined Character Register Code 1C 16 + 32 16 + c1 + c2 + d1...dk Domain of function 0 ≤ d ≤ 255 k = 72 c1 and c2 depend on the kanji code system. Kanji code system c1 c2 JIS code 77 16 21 16 ≤ c2 ≤ 2F 16 Shift JIS code EC 16 40 16 ≤ c2 ≤ 4E 16 Function Registers the codes specified (c1 and c2) as the user[...]

  • Page 74

    5-46 Character o utput rang e MSB LSB Image of registr ation Font 24 × 24 d1 d2 d3 d72 d71 d70 d4 d5 d6 Font 16 × 16 d1 d2 d3 d72 d71 d70 d4 d5 d6 ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ Font 24 × 24 d1 d2 d3 d72 d71 d70 d4 d5 d6 Font 16 × 16 d1 d2 d4 d5 ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅ ⋅[...]

  • Page 75

    5-47 11. Function and setting commands ESC @ Initialization Code 1B 16 + 40 16 Function Initializes the printer. Details • The allocation of the user memory is initialized. • The receive buffer is retained. • The print buffer is cleared. • The settings of each command are initialized. • ROM SW is reread. CAN Print Buffer Clear Code 18 16 [...]

  • Page 76

    5-48 DC2 D n Registration Area of Downloaded Character Ensure and Release Code 12 16 + 44 16 + n Domain of function 0 ≤ n ≤ 255 Function Ensures and releases the registration area of the downloaded characters. n = <xxxxxxx0>B: The r egistration area of the downloaded characters is released. n = <xxxxxxx1>B: The r egistration area of[...]

  • Page 77

    5-49 DC2 > n Print Drive Mode Select Code 12 16 + 3E 16 + n Domain of function 0 ≤ n ≤ 2 Function Sets the print drive mode. n Print driv e mode Feature 0 High speed mode The printer is driven at high speed and high electric power. 1 Medium speed mode 1 The printer is driven at medium speed and low electric power. 2 Medium speed mode 2 The p[...]

  • Page 78

    5-50 DC2 % n Print Drive User-Define Code 12 16 + 25 16 + n Domain of function 1 ≤ n ≤ 16 Function Executes the printing according to the print drive defined by a user. n = 1 : The amount of 1 × 8 dots n = 16 : The amount of 16 × 8 dots Details • When one line is printed, how many times the line is divided is determined depending on the amo[...]

  • Page 79

    A- 1 A PPENDIX A . SPECIFICAIONS General specificat ions □ Pr inting m ethod T herm al line dot □ Data input Parallel type 8-bit parallel (Hands hak e by ST ROBE and BUSY) Serial ty pe RS-232C (2400 to 38400 bps , BUSY control, Xon/Xof f c ontrol) □ Dot dens ity 8 dots/m m □ Max im um printing speed 20 mm / s m ax. (Power s upply 5 V) 50 mm[...]

  • Page 80

    A- 2 (4) Printable charac ter 32 charac ters with standard c haracter s (24 dot standard c haracters with character s pacing of 0 dot) □ Hor izontal dot pitch 0.125 mm □ Paper feed pitc h 0.125 mm □ Us eful s ervice lif e (at 25 °C and the rated energy) Pulse resis tance 100 million pulses or m ore (per centage of pr int: 12.5%) Abrasion res[...]

  • Page 81

    A- 3 □ T herm al paper s used • Product No.: T P-211C-1(10 r olls per box) • Paper width: 58 mm • Outer diam eter of roll paper: φ 50 m m or les s • Core: included ∗ Use the s pecified ther m al paper . If you use another type of thermal paper , the quality of pr int and the useful s ervice lif e of the therm al head m ay not be guaran[...]

  • Page 82

    A- 4[...]

  • Page 83

    B-1 A PPENDIX B. DA TA CODE TA BLE Katakana complian t characters (g othic) • SP m eans spac e. • The codes f or bl ank c ells are ignored. • The codes in t he heavy line fram es are f unc tion c odes. High order bit Low order bit High order bit Low order bit * The characters of a line are not printed in S hift -J IS c ode. * * * *[...]

  • Page 84

    B-2 PC 437 type High order bit Low order bit High order bit Low order bit • SP m eans spac e. • The codes f or bl ank cells are ignored. • The codes in t he heavy line fram es are f uncti on c odes. NOTE) Above DA TA CODE TAB LE shows the form of a charact er to the last, and does not s how the act ual printi ng pat tern it s elf.[...]