Citizen iDP3221 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Citizen iDP3221, 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 Citizen iDP3221 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 Citizen iDP3221. 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 Citizen iDP3221 should contain:
- informations concerning technical data of Citizen iDP3221
- name of the manufacturer and a year of construction of the Citizen iDP3221 item
- rules of operation, control and maintenance of the Citizen iDP3221 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 Citizen iDP3221 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 Citizen iDP3221, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Citizen 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 Citizen iDP3221.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Citizen iDP3221 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

    [...]

  • Page 2

    iDP3221 User’ s Manu al CIT IZEN Declaration of Conform ity Manufacturer ’ s Name : : Japan CBM Corporation Manufacturer ’ s Address : CBM Bldg., 5-68- 10, N akano, Nakano-ku T oky o, 164-0001, Japan Declare the Product Product Name Line Therm al P rinter Model Number(s) iDP3221 Series (iDP3221RF , iDP3221P F) (S.No.9990001 ~ ) Conform to t h[...]

  • Page 3

    iDP3221 User ’ s Manual CIT IZE N IMPOR T ANT SAFETY INSTRUCTIONS • Read all of these instructions and save them for future reference. • Fol low all warni ngs and instructions m arked on the product. • Unplug this product from the wall outlet before cleaning. Do not use liquid or aerosol cleaners. Use a damp cloth for cleaning. • Do not u[...]

  • Page 4

    iDP3221 User ’ s Manual CIT IZE N WICHTIGE SICHERHEITSANWEISUNGEN • Lesen Sie die nachfolgenden Anweisungen sor gfältig durch und bewahren Sie sie auf. • Befolgen Sie alle auf dem Drucker vermerkten Hinweise u nd Anweisungen. V or dem Reinigen grundsätzlich Stec ker aus der Steckd ose ziehen. Keine F lüssigkei ten oder Aerosolrei niger ben[...]

  • Page 5

    iDP3221 User ’ s Manual CIT IZE N IMPORT ANT : This equipm ent generates, uses, and can ra diate radio frequency ener gy and if not installed and used in accordance with the instruction manual, m ay cause interference to radio communi cations. It has been tested and found to comply with the limits for a Class A com puting device pursuant to Subpa[...]

  • Page 6

    iDP3221 User ’ s Manual CIT IZE N <CAUTIONS> 1. Prior to using the equi pment, be sure to read t his User' s Manual thoroug hly . Please keep it handy for reference whenever it may be needed. 2. The informat ion contained herein m ay be changed without pr ior notice. 3. Reproduction of part or all of this U ser's Manual without pe[...]

  • Page 7

    iDP3221 User ’ s Manual CIT IZE N SAFETY PRECAUTIONS ----- BE SURE TO OBSE RVE In order to prevent hazards to an operator or other persons and damage to property, be sure to observe the following precautions. The following describes th e degrees of hazard and da mages that can occur if the given instructions are neglected or the equip ment is inc[...]

  • Page 8

    iDP3221 User ’ s Manual CIT IZE N W ARNING Never handle the e quipment in the follow ing manners, as it m a y break, become out of order , or overheat causing sm oke and resulting in fire or electric shock. If the equipment is used in an abnorm al condition, such as when broken, then problems, smoke emission, abnorm al odor/noise, and fire can re[...]

  • Page 9

    iDP3221 User ’ s Manual CIT IZE N PRECAUTIONS FOR I NST ALLA TION • Do not use or store the equi pment i n a place exposed to fire, moist ure, or direct sunshine, or in a place near a heater or thermal d evice where the prescribed operating temperature an d humid ity are n ot met, o r in a place expose d to much oil, i ron powder , or dust. The[...]

  • Page 10

    iDP3221 User ’ s Manual CIT IZE N PRECAUTIONS FOR H ANDLING Do not handle the equip ment in the following manners, because problem s m ay result. • Do not use any other power source besides the access ory AC adapter . Also, do not use the AC a dapter for other purposes. • Do not print without paper . • Do not drop or put any foreign object,[...]

  • Page 11

    iDP3221 User ’ s Manual CIT IZE N DAIL Y MAINTENANCE • At the tim e of maint enance, be sure to turn of f the pow er switch of the printer and unplug i t from t he socket. • When cleaning the platen, wipe off dust or dirt from the platen with a cotton swab dipped in ethyl alcohol. • Use a dry soft cloth to wipe of f stains and dust from the[...]

  • Page 12

    iDP3221 User ’ s Manual CIT IZE N This label warns that the hea d becomes hot in operation, and touching it may result in burns. A caution label is stuck onto the following place. Carefully read the cautions on operation to correct ly use the printe r .[...]

  • Page 13

    iDP3221 User ’ s Manual CIT IZE N CONTENTS 1. OUTLINE ............................................................................................................................................................... 1 1.1 Featu res ......................................................................................................................[...]

  • Page 14

    iDP3221 User ’ s Manual CIT IZE N 6.1.3 Connector P in Assignment .............................................................................................................................. 24 6.2 Parallel Interface (CENTRONICS) ............................................................................................... ....................[...]

  • Page 15

    iDP3221 User ’ s Manual CIT IZE N 1 1. C HARACTER CODES T ABLE ......................................................................................................... .............. 1 12 1 1 .1 CodePage 00H to 7FH & PC437(USA , European, Standard) .............................................................................. .. 1 12 1 1.2 C[...]

  • Page 16

    iDP3221 User ’ s Manual CIT IZE N 4.4.1 Einlegen des Papiers ........................................................................................................ .............................. 150 4.4.2 Papier manuell einlegen ..................................................................................................... ...............[...]

  • Page 17

    iDP3221 User ’ s Manual 1 CIT IZE N 1. OUTLINE This is a small line the rmal printer developed to be u sed for various da ta communication ter minals, POS terminals, kit chen printer , and so on. W ith its abu ndant features, i t can be widely used for various types of applications. Prior to using the printer , read this m anual thoroughly to und[...]

  • Page 18

    iDP3221 User ’ s Manual 2 CIT IZE N (2) Before using the printer , remove the protectiv e paper for the head as shown below: 1. Open the printer cover . 2. P ull the platen levers at both sides of the platen roller unit in the direction of the ar rows. 3. P ull the protective paper in the direction of the ar r ow. 4. Insert a sheet o f printer pa[...]

  • Page 19

    iDP3221 User ’ s Manual 3 CIT IZE N 2. BASIC SPECIFI CA TI ONS 2.1 Model Classif ications The models are classified by the following designation method: iDP3221 - R F 120 * Special AC Adapter and A C P ower Cord 31AD-U (120V AC - -- 3-core cord) 31AD-E (230V AC --- Class I cord) Model Name AC Adapt er 120: 120 V AC 230: 230 V AC Characters Set F:[...]

  • Page 20

    iDP3221 User ’ s Manual 4 CIT IZE N 2.2 Basic Specif ications Model Ite m iDP3221 – RF 120 iDP3221 – PF 120 iDP3221 – RF 230 iDP3221 – PF 230 Printin g system Line thermal dot printing Printing widt h 72.192 mm /512 dots Dot density W idth: 0.141 m m, Lengt h: 180 DPI (0.141 m m) Printing s peed 63.45 m m/sec. (At maxim um speed, print de[...]

  • Page 21

    iDP3221 User ’ s Manual 5 CIT IZE N 2.3 P aper Specif ications 2.3.1 R ecomm ended Paper • T ype : Thermal paper • Paper width : 80 + 0/- 1 m m • Paper thickness : 60 ∼ 75 µ m • Roll diameter : φ 83 mm or less • Printing surface : Outside of the roll (Surface) • Recommended paper : TF 50KS- E2C (Monochrome) m ade by NIPPON SEISHI [...]

  • Page 22

    iDP3221 User ’ s Manual 6 CIT IZE N 2.3.3 Head and P aper Cutter Layout Paper Outlet Auto C utter P osition Head P rinting P osition About 15.5 mm About 42 mm Paper Feed Direction[...]

  • Page 23

    iDP3221 User ’ s Manual 7 CIT IZE N 3. OUTER APPEARANCE AND COMPONENT P ARTS POWER Lamp ERROR Lam p F EED Switch Upper Cover Printer C over Powe r Switch Grounding T erminal Drawer Kick- Out Connector Interface Connector Power Connector[...]

  • Page 24

    iDP3221 User ’ s Manual 8 CIT IZE N 4. OPERA TION 4.1 Connecting AC Adapt er 1. Turn of f the power . 2. W ith the flat surface on the AC adapter cable connec tor facing downwards, plug it i nto the power connector at the rear of the printe r. 3. Connect the AC power cord to the AC adapte r, and plug it into an AC outlet. CAUTION: • Use only th[...]

  • Page 25

    iDP3221 User ’ s Manual 9 CIT IZE N Drawer Kick- O ut Connector Grounding Cable Drawer Kick- O ut Cable Connector 4.2 Connecting Interface Cable 1. Turn of f the power . (Mating side included) 2. Check the top and bottom of cable term inals, and c onnect to the interface connector. 3. Fix the cable ter minals. Serial interface : T ighten screws, [...]

  • Page 26

    iDP3221 User ’ s Manual 10 CIT IZE N Concave Part Upper Cover Platen Lever 4.4 Inserting the Pape r 4.4.1 Inserting the Paper 1. T urn on the power . 2. Put your hands in the concave parts on both sides of the printer cov e r , and open it until it comes to a stop. 3. Cut the end of the paper roll at close to a right angle. 4. Ensure that the pap[...]

  • Page 27

    iDP3221 User ’ s Manual 11 CIT IZE N CAUTION: • Be sure to use the specified paper roll. • Use of non -specified paper may not guarantee the print quality , printing head life, and so on. • The printer cover is not detachable. Do not apply an excessive force beyond its s topping position. • Do not insert a ragged or do g-eared end of the [...]

  • Page 28

    iDP3221 User ’ s Manual 12 CIT IZE N Concave Part Upper Cover 4.4.2 Manually Inserting the Paper The manual insertion is effect ive when DIP s witch DS1 - 2 is set to ON to disable the cover open detection. 1. T urn on the power . 2. Put your hands in the concave parts on both sides of the printer cov er , and open it until it com es to a stop. 3[...]

  • Page 29

    iDP3221 User ’ s Manual 13 CIT IZE N CAUTION: • Be sure to use the specified paper roll. • Use of non -specified paper may not guarantee the print quality , printing head life, an d so on. • The printer cover i s not detachable. Do not apply an excessiv e force beyond its stopping pos ition. • Do not insert a r agged or dog -eared end of [...]

  • Page 30

    iDP3221 User ’ s Manual 14 CIT IZE N 4.6 Eliminating the Paper Jam 1. Turn of f the power . 2. Open the printer cover . 3. Cut the paper roll near the paper insertion slot. 4. Move the head springs on either side in the directions of the arrows to unhook them from the hook part of the chassis, and lift them. (See the figure on the next page.) 5. [...]

  • Page 31

    iDP3221 User ’ s Manual 15 CIT IZE N Guide Bush Head Springs Platen Roller U nit Hook of the Chassis Guide Bush[...]

  • Page 32

    iDP3221 User ’ s Manual 16 CIT IZE N 4.7 Unlocking the Cutter 1. Remove the paper fro m the paper passage as described in 4.6 "Eliminating the Paper Jam." 2. Turn on the power . The auto cutter initialization begins and th e cutter returns to its home position. Then, the alarm is cleared. 3. If the cutter doe s not return to its hom e p[...]

  • Page 33

    iDP3221 User ’ s Manual 17 CIT IZE N 4.8 Cleaning the Head 1. R emove the platen roller unit referring to 4.6 "Eliminating the P aper J am." 2. Clean the heating surface of the head by wiping it with a cotton swab dampened wi th a smal l amount of ethy l alcohol. 3. A ttach the platen roller unit. CAUTION: • Do not touch the heating s[...]

  • Page 34

    iDP3221 User ’ s Manual 18 CIT IZE N 4.9 Operation Panel and Display of Err or 1. PO WER lamp (Green) Illum inated if the power is turned on. Also, f lashes to indicate a mem ory error . 2. ERROR lamp (Red) Indicates an error by illuminating or blinking the lamps. Error POWER Lamp ERROR Lam p Reset Memory check error Quick blinking ON Cannot be r[...]

  • Page 35

    iDP3221 User ’ s Manual 19 CIT IZE N Cu tt er mot or lo ck ----- If t he c ut te r po si ti on s en so r i n th e cu tt er u ni t is left turn ed on or o ff for a pp ro x. 1 second while t he cutter m otor is running, cutter oper ation and printing will be suspended, determi ning it to be motor lock. See 4.7 "Unlocking the Cutte r." 3. [...]

  • Page 36

    iDP3221 User ’ s Manual 20 CIT IZE N 4.10 Hexadecimal Dumps 1. The H exadecima l Dump Functi on This function allows data sent from the host to be printed in h exadecimal not ation, together with a corresponding character printout. 2. Starting the Hexadecimal Dump Press the POW ER switch a nd FEED switch sim ultaneously with t he cover opened. Wh[...]

  • Page 37

    iDP3221 User ’ s Manual 21 CIT IZE N 5. DIP SWITCH SETTING 5.1 Location of DIP Switch 1. Turn of f the power . 2. Remove the bot tom cov er by removi ng the two screws and turning it over in the di rection shown by the arrow to remove it. Bottom Co ver[...]

  • Page 38

    iDP3221 User ’ s Manual 22 CIT IZE N 5.2 DIP S witch Function DS1 No. Funct ion ON OFF Upon Shipment 1 Cutter Enabled Disabled ON 2 Cover open Disabled Enabled OFF 3 CR switching LF operat ion Ignored OFF 4 Kanji code selectio n S-JIS JIS OFF 5 Input buf fer 72 byt es 4 K by tes ON 6 Internati onal character OFF 7“ O F F 8 “ See T able 1. OF [...]

  • Page 39

    iDP3221 User ’ s Manual 23 CIT IZE N 6. P ARALLEL I NTERF ACE 6.1 Bi-directional Parallel Interface (IEEE 1284) 6.1.1 C ompatibility Mode (Host → → → → Printer Comm unication Using the Centr onics Inter face) (1) Outlin e The familiar Cen tronics interface is used in the Compati bility mode. (2) Specifications Data transfer : 8-bit parall[...]

  • Page 40

    iDP3221 User ’ s Manual 24 CIT IZE N 6.1.3 C onnector Pin Assignment NC: Non connection Pin N o. S ource C ompatibility Mode Nibble Mod e Byte Mode 1 Host nSt robe HostClk HostClk 2 Host/Printer Data0(LSB) D ata0(L SB) Data0(LSB) 3 Host/P rinter Data1 Data1 Data1 4 Host/P rinter Data2 Data2 Data2 5 Host/P rinter Data3 Data3 Data3 6 Host/P rinter [...]

  • Page 41

    iDP3221 User ’ s Manual 25 CIT IZE N 6.2 Parallel Interface (CENTRONICS ) 6.2.1 Specifications • Data input sy stem : 8-bit parallel (DA T A1 to D A T A8) • Control signals : ACK , BUS Y , STB , F AUL T , PE, RES ET , SEL ECT , A UT O FEED , SEL ECT IN • Applicable connectors : P rinter side : 57LE-40360 (Anphenol) or its equivalent Cable s[...]

  • Page 42

    iDP3221 User ’ s Manual 26 CIT IZE N 6.3 Input and Output Signals 6.3.1 Input and Output Signals (1) Input signals to the printer • DA T A : 8- bit parallel signal (Active High) • STROBE : Strobe signal to read the 8-bit dat a (Active L ow) • RESET : Signal to reset the entire printer (Activ e Low); 1 ms or more (2) Output signals from the [...]

  • Page 43

    iDP3221 User ’ s Manual 27 CIT IZE N 6.3.2 Electrical Characteristics (1) Input signal level The STB and DA T A1-8 input si gnals are at the C- MOS level. Other input signals are at the TTL level. C-MOS L evel: High level - -- 4.0 V at m inim um Low le ve l ---- 1 .0 V at ma xi mum TTL Le vel: High level - -- 2.0 V at m inim um Low le ve l ---- 0[...]

  • Page 44

    iDP3221 User ’ s Manual 28 CIT IZE N 6.3.3 Timing Chart (Compatibility Mode) Data Input and Print Tim ings T 1 ,T 2 ,T 3 0.5 µ sM I N T 4 270 ns MAX T 5 2.3 µ sT Y P T 6 500 ms MIN ( At power- on) 6.3.4 D ata Receiving Control The data can be received from the host when the BUSY signal is at "L ow," but cannot be received when it is &[...]

  • Page 45

    iDP3221 User ’ s Manual 29 CIT IZE N 7. SERIAL INTERF ACE 7.1 Specifications (1) S ynchronous sys tem : Asynchronous (2) B aud rate : 150, 300, 600, 1,200, 2,400, 4,800, 9,600, 19,200 bps (Selected by the user) (3) 1 -word configurat ion Start bit : 1 bit Data bits : 8 bits or 7 bits (Selected by the user) Parity bit : Odd, even, or no parity (Se[...]

  • Page 46

    iDP3221 User ’ s Manual 30 CIT IZE N 7.3 Input and Output Signals 7.3.1 Input and Output Signals (1) RD Serial received data signal. If a framing error , overrun error , or parity error takes place, the relevant data will be printed as "? ". (2) DTR W rite the data or a command when this signal is Ready . If you writ e at Busy , the pre[...]

  • Page 47

    iDP3221 User ’ s Manual 31 CIT IZE N 7.3.2 D ata Configuration t Mark b 0 ,b 1 ,b 2 ,•••• Space (1) (2) (3) (1) Start Bit (2) D ata Bit (+ P arity B it) (3) Stop Bit (1 or More) (1) Start bit The system reads the status again after a lapse of 1/2 bit from a fall edge from the mark to space, and if it is a space, this bit will be recognize[...]

  • Page 48

    iDP3221 User ’ s Manual 32 CIT IZE N 7.3.4 D ata Receiving Control If DTR/DSR control has been selected, the data from t he host side will be received when the BUSY signal is at "L ow ," but not received when at "High." If DTR/ DSR has not b een selected, the data from the host side wil l be receiv ed after sendi ng XON, but n[...]

  • Page 49

    iDP3221 User ’ s Manual 33 CIT IZE N 8. DRA WER KICK-OUT CONNECTOR, POWER CONNEC TOR 8.1 Drawer Kick- Out Connect or 8.1.1 Specifications of Draw er Kick-O ut Connector (1) D rawer kick-out dri ve signal Outputs a pulse s pecified with ESC p. The stat us of S W (+) can be checked with pin 34 on the parallel interface connector, or with the DLE EO[...]

  • Page 50

    iDP3221 User ’ s Manual 34 CIT IZE N 8.2 Power Connector This connector is to supply the power from the special AC adapter . Connector' s Pin Configurations No. Functi on 1 +24V 2 GND 3N . C SHELL F G Connector used : TCS7960-53- 2010 (Made by HOSHIDEN) or its equivalent Applicable connector : TCP8927-63-1 100 (Made by HOSH IDEN) or its equi[...]

  • Page 51

    iDP3221 User’ s Manu al 35 CIT IZEN 9. MAINTENANCE AND SER VICE For t he information on m aintenance and service, please contact our dealer or at the following address. Northern America Other Areas CBM America Corporati on Japan CBM Corporation Service Center Inform ation System s D ivision 363 V an Ness W ay CBM Bldg., 5-68-10, Nakano Suit 404 N[...]

  • Page 52

    iDP3221 User ’ s Manual 36 CIT IZE N 10. PRINT CONTROL FUNCTIONS 10.1 Command List No. Co mma nd Function Mode Code Page 1 H T Horizontal tab S,P 09H 40 2 LF Printi ng and paper feed S,P 0AH 41 3 CR Printing S,P 0D H 41 4F F Printing in Page m ode and returning to Stan dard mode P0 C H 4 2 5 CA N Canceli ng print data in Page mode P 18H 42 6 D EL[...]

  • Page 53

    iDP3221 User ’ s Manual 37 CIT IZE N No. Co mma nd Function Mode Code Page 29 ESC V Specifying/Canceling 90 ° -right- turned characters S 1BH 56H n 69 30 ESC W Defining the print area i n Page mode P* 1BH 5 7H xH yH dxL dxH dyL dy H 70 31 ES C ¥ Specifying the relative position S,P * 1BH 5 CH nL nH 72 32 ESC a Aligning the characters S,P 1BH 61[...]

  • Page 54

    iDP3221 User ’ s Manual 38 CIT IZE N No. Co mma nd Function Mode Code Page 57 GS f Selecting the font of H RI charactetrs S,P 1D H 66H n 101 58 GS h Specifying the height of t he bar code S,P 1DH 68H n 102 59 GS k Printing the bar code S,P 1DH 6BH m n [d1 .... dn] 103 60 GS r Sending status S,P 1DH 72H n 109 61 GS w Specifying the horizontal size[...]

  • Page 55

    iDP3221 User ’ s Manual 39 CIT IZE N 10.2 Command Details 10.2.1 Descriptions of Each Item XXXXX [Funct ion] Com mand F unction [Code] A sequence of code constituting a comm a nd is represented in hexadecimal number for < >H, binary num ber for < >B, and decim al number for < >, respecti vely; [ ]k represents a repeat count of k[...]

  • Page 56

    iDP3221 User ’ s Manual 40 CIT IZE N 10.2.2 Command Details HT [Funct ion] Horizontal tab [Code] <09> H [Outline] Shifts the printing position to the next horizontal tab pos ition. • Ignored when the next horizontal tab p osition has not been set. [Caution] • T he horizon tal tab position is set by ESC D . • Initial setting of the hor[...]

  • Page 57

    iDP3221 User ’ s Manual 41 CIT IZE N LF Funct ion] Printing and paper feed [Code] <0A>H [Outline] P rints data inside the input buffer and feeds lines based on the line f eed amount having been set. • The head of the line becomes the next print starting position. [See Also] ESC 2, ESC 3 [Sample Program] [Print Results] LP RI NT "AAA&[...]

  • Page 58

    iDP3221 User ’ s Manual 42 CIT IZE N FF [Function] Printing in Page mode and returning to Standard mode [Code] <0C>H [Outline] Executes a batch printout of the data mapped in the print area, and then returns to Stand ard mode. [Caution] • All mapped dat a is erased after print out. • The print area set up by ESC W is initialized. • Th[...]

  • Page 59

    iDP3221 User ’ s Manual 43 CIT IZE N DLE EO T n [Function] Send ing status in real time [Code] <10>H<04>H<n> [Range] 1 ≤ n ≤ 4 [Outline ] S ends in real time th e statu s specifie d by "n." n = 1 : P rinter status n = 2: Status caused by an offl ine condition n=3 : S t a t u sc a u s e db ya ne r r o r n = 4: Paper[...]

  • Page 60

    iDP3221 User ’ s Manual 44 CIT IZE N (1) P rinter status (when n = 1 is specified) Bit Status Hex. Decimal 0 Unused 00 0 1 Unused 02 2 Status of pin 3 of drawer kick connector = L 00 0 2 Status of pin 3 of drawer kick connector = H 04 4 Online statu s 00 0 3 Offline status 08 8 4 Unused 10 16 5 Undefined  6 Undefined  7 Unused 00 0 (2[...]

  • Page 61

    iDP3221 User ’ s Manual 45 CIT IZE N Bit 3: If this error occurred because of a paper jam, for example, remove the cause of the er r or, a n dt h e nD E LE N Q n( 1 ≤ n ≤ 2) can be used to recover fro m the er r or. Howev er, it is not possible to recover from any error due to a circuit problem (e.g., broken wire). Bit 6: If a head overheat e[...]

  • Page 62

    iDP3221 User ’ s Manual 46 CIT IZE N DLE ENQ n [Function] Real-time request to printer [Code] <10>H<05>H<n> [Range] 1 ≤≤ n ≤ 2 [Outline] Th e printer responds in real ti me to the request that the host specified with number "n." n = 1: After recovering from an error, the print er resumes pri nting from t he begin[...]

  • Page 63

    iDP3221 User ’ s Manual 47 CIT IZE N ESC FF [Funct ion] Printing data in Page mode [Code] <1B>H<0C>H [Outline] Executes a batch printout of the data mapped in every print area in Pag e mode. [Caution] • This command is only effectiv e when Page mode is selected. • Mapped data, as well as the ESC T and ES C W setti ngs, and the cha[...]

  • Page 64

    iDP3221 User ’ s Manual 48 CIT IZE N [Sample Program] [P rint Results] LPRINT CHR$ (&H1B) ; " " ; CHR$ (0) ; LP RI NT "AAAAA" ; CH R$ ( &HA) ; LPRINT CHR$ (&H1B) ; " " ; CHR$ (1) ; LP RI NT "AAAAA" ; CH R$ ( &HA) ; LPRINT CHR$ (&H1B) ; " " ; CHR$ (12 ) ; LP RI NT "AAAAA&qu[...]

  • Page 65

    iDP3221 User ’ s Manual 49 CIT IZE N ESC ! n [Function] Collective specifying the printing mode [Code] <1B> H <21> H <n> [Range] 0 ≤ n ≤ 255 [Outline] P rinting mode is assigned. Each "n" bit indicates the following: Va l u e Bit F unction 01 0 Character F ont Font A Font B 1 Undefined 2 Undefined 3 High-lighting C[...]

  • Page 66

    iDP3221 User ’ s Manual 50 CIT IZE N [Print Results][...]

  • Page 67

    iDP3221 User ’ s Manual 51 CIT IZE N ESC $ n1 n2 [Funct ion] Specify ing the absolute posit ions [Code] <1B> H <24> H < n1> <n2> [Range] 0 ≤ n1 ≤ 255 0 ≤ n2 ≤ 1 [Outline] The printing start position is specified in the number of dots (1/203 inch unit) from the beginning of line. • The number of dot s is divided b[...]

  • Page 68

    iDP3221 User ’ s Manual 52 CIT IZE N ESC % n [Funct ion] Specify ing/Canceling downl oad character set [Code] <1B> H <25> H <n> [Range] 0 ≤ n ≤ 255 [Outline] Specify in g/canceling download characters. Further, only the lowest bit (n0) is vali d for n. The lowest bit (n0) indicates the following. n0 Funct ion 0 C anceling do[...]

  • Page 69

    iDP3221 User ’ s Manual 53 CIT IZE N ESC & s n m [a [p] s × a] m − n + 1 [Funct ion] Defining the download characters [Code] <1B> H <26> H <s> <n> <m > [<a> <p1> <p2> … <ps × a>] m -n+1 [Range] s = 3 32 ≤ n ≤ m ≤ 126 0 ≤ a ≤ 12 (Font A) 0 ≤ a ≤ 9 (Font B) 0 ≤ p1 •?[...]

  • Page 70

    iDP3221 User ’ s Manual 54 CIT IZE N ESC * m n1 n2 [ d ] k [Funct ion] Specify ing the bit im age mode [Code] <1B> H <2A> H <m> <n1> <n2> [<d>] k [Range] m= 0, 1, 32, 33 0 ≤ n1 ≤ 255 0 ≤ n2 ≤ 3 0 ≤ d ≤ 255 k = n1 + 256 × n2 (m = 0 , 1) k = (n1+ 256 × n2) × 3 (m = 32, 33) [Outline] Ac cor ding t o[...]

  • Page 71

    iDP3221 User ’ s Manual 55 CIT IZE N [Sample Program] LPRINT CHR$ (&H1B) ; " ∗ "; LPRINT CHR$ (0) ; CHR$ (20) ; CHR$ (0) ; * IMG1: GOSUB * IMG1 LPRINT CHR$ (&HFF) ; LPRINT CHR$ (&HA) ; FOR I=1 TO 18 LPRINT CHR$ (&H1B) ; " ∗ " ; LP RINT CHR$ (&H85 ) ; LPRINT CHR$ (1) ; CHR$ (20) ; CHR$ (0) ; NEXT I GOSUB[...]

  • Page 72

    iDP3221 User ’ s Manual 56 CIT IZE N ESC − n [Funct ion] Specify ing/Canceling underli ne [Code] <1B> H <2D> H <n> [Range] 0 ≤ n ≤ 2 [Outline] Specifying/canceling an underline. • Types of underl ines by " n" v alue are shown below: nT y p e 0 Canceling an underli ne 1 Specify ing an underline for 1-dot width 2[...]

  • Page 73

    iDP3221 User ’ s Manual 57 CIT IZE N ESC 2 [Function] Specifying 1/6-inch line feed rate [Code] <1B> H <32> H [Outline] Th e line feed rate per line is specified by 1/6 inch. [Sample Program] [Print Results] LP RI NT "AAAAA" ; CH R$ ( &HA) ; LPRINT CHR$ (&H1B) ; "3" ; CHR$ (0 ) ; LP RI NT "AAAAA" [...]

  • Page 74

    iDP3221 User ’ s Manual 58 CIT IZE N ESC 3 n [Function] Setting line feed rate o f minimum pitch [Code] <1B> H <33> H <n> [Range] 0 ≤ n ≤ 255 [Outline] Sets the line feed width per line to [n × basic calculation pitch] inches. [Caution] The line feed width can be set separately for the Standard and Page modes. The basic cal[...]

  • Page 75

    iDP3221 User ’ s Manual 59 CIT IZE N ESC = n [Funct ion] Data input control [Code] <1B> H <3D> H <n> [Range] 0 ≤ n ≤ 255 [Outline] Selecting equipment in which data input fro m the host is effective. • Each bit of "n" indicates as follows: Va l u e Bit Equipm ent 01 0 Printer Invalid V alid 1 Not defined 2 Not de[...]

  • Page 76

    iDP3221 User ’ s Manual 60 CIT IZE N ESC ? n [Funct ion] Deleting downloaded characters [Code] <1B>H<3F>H<n> [Outline] Deletes the downloaded characters of specified code. [Caution] • The character "n" indicates the character code use d to delete the defined pattern. After the deletion, characters are printed in the [...]

  • Page 77

    iDP3221 User ’ s Manual 61 CIT IZE N ESC D [ n ] k NUL [Function] Setting horizon tal tab position [Code] <1B> H <44> H [<n>] k <00> H [Range] 1 ≤ n ≤ 255 0 ≤ k ≤ 32 [Outline] Specifying a horizontal tab position. • "n" in dicates the nu mber of colu mns from the be ginning to the horizo ntal tab positi[...]

  • Page 78

    iDP3221 User ’ s Manual 62 CIT IZE N ESC E n [Funct ion] Specify ing/Canceling highl ighting [Code] <1B> H <45> H <n> [Range] 0 ≤ n ≤ 255 [Outline] Specify in g/canceling the highlightin g characters. • "n" is vali d only for the lowest bit (n0). • Control by the lowest bit (n0) is shown as follows: n0 T yp e 0[...]

  • Page 79

    iDP3221 User ’ s Manual 63 CIT IZE N ESC G n [Funct ion] Specify ing/Canceling double pri nting [Code] <1B> H <47> H <n> [Range] 0 ≤ n ≤ 255 [Outline] Specifying/canceling the double printing. • "n" is vali d only for the lowest bit (n0). • Control by "n" is shown as follows. n0 T yp e 0 Cancelin g do[...]

  • Page 80

    iDP3221 User ’ s Manual 64 CIT IZE N ESC J n [Function] Printin g and feeding paper in minimum pitch [Code] <1B> H <4A> H <n> [Range] 0 ≤ n ≤ 255 [Outline] Prints th e data held in the print buffer and feed s paper by n/360 inches. The b eginning of the line is taken as the start position fo r the next print. [Caution] The l[...]

  • Page 81

    iDP3221 User ’ s Manual 65 CIT IZE N ESC L [Funct ion] Selecting Page mode [Code] <1B>H<4C>H<n> [Outline] Switches from Standard mode to Page mode. [Caution] • This command is only effect ive if it entered at the beginning of a line. • This comm and is not effective if it is entered when in P age mode. • Standard m ode is [...]

  • Page 82

    iDP3221 User ’ s Manual 66 CIT IZE N E S CRn [Funct ion] Selecting the international charact er set [Code] <1B> H <52> H <n> [Range] 0 ≤ n ≤ 10 [Outline] Depending on the value of "n," followin g character sets are specified. n Character Set 0 U.S.A. 1 France 2G e r m a n y 3 U.K. 4D e n m a r k I 5 Sweden 6 Italy [...]

  • Page 83

    iDP3221 User ’ s Manual 67 CIT IZE N ESC S [Funct ion] Selecting Standard m ode [Code] <1B>H<53>H<n> [Outline] Switches from P age mode to Standard mode. [Caution] • This command is only effective if it is entered when in Page mode. • Any data m apped in Page mode is erased. • After this command is executed, the beginning [...]

  • Page 84

    iDP3221 User ’ s Manual 68 CIT IZE N ESC T n [Function] Selecting the character printing direction in Page mode [Code] <1B>H<54>H<n> [Range] 0 ≤ n ≤ 3, 48 ≤ n ≤ 51 [Outline] Selects the direction and start position of character printing in Page mode. n Printin g direction Start point 0,48 Left to right T op left ("A[...]

  • Page 85

    iDP3221 User ’ s Manual 69 CIT IZE N ESC V n [Funct ion] Specify ing/Canceling 90 ° - right- turned characters [Code] <1B> H <56> H <n> [Range] 0 ≤ n ≤ 1 [Outline] Specify in g/canceling characters 90 ° -right - turned character. • "n" means the followings. n Cond ition 0 Canceling 90 ° -right- turned Characte[...]

  • Page 86

    iDP3221 User ’ s Manual 70 CIT IZE N ESC W xL xH yL y H dxL dxH dyL dyH [Funct ion] Defining the print area in Page mode [Code] <1B>H<57>H<xH><yH><dxL ><dxH><dyL ><dyH> [Range] 0 ≤ x L ,x H ,y L ,y H ,d x L ,d x H ,d y L ,d y H ≤ 255, except f or dxL = dxH = 0 or dy L = dy H = 0 [Outline] Define[...]

  • Page 87

    iDP3221 User ’ s Manual 71 CIT IZE N • The figure below illustrates the print area, where X = horizontal start point, Y = vertical start point, Dx = horizontal length, and Dy = vertical length. The printable area for thi s printer i s approximately 72.249 mm (512/180 inches) horizontally and 117.263 mm (1662/360 inches) v ertically . [Default] [...]

  • Page 88

    iDP3221 User ’ s Manual 72 CIT IZE N ESC ¥ nL nH [Function] Specifying the relative position [Code] <1B> H <5C> H <nL ><nH > [Range] 0 ≤ nL ≤ 255 0 ≤ nH ≤ 255 [Outline] This comm and specifies the start positio n for the next prin t in terms of a relative position with respect to the current position. The start po[...]

  • Page 89

    iDP3221 User ’ s Manual 73 CIT IZE N ESC a n [Funct ion] Aligning the characters [Code] <1B> H <61> H <n> [Range] 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 [Outline] A ll the printed data within one line are aligned in the specified position. • Depending on "n" value, positional ali gnment is carried ou t as in the table below:[...]

  • Page 90

    iDP3221 User ’ s Manual 74 CIT IZE N ESC c 3 n [Funct ion] Selecting the paper near end sensor vali d for a paper end s ignal output [Code] <1B>H<63>H<33>H<n> [Range] 0 ≤ n ≤ 255 [Outline] This com mand selects at which paper near end sensor a paper end signal should be output. Each b it for "n " has the foll[...]

  • Page 91

    iDP3221 User ’ s Manual 75 CIT IZE N ESC c 5 n [Funct ion] Enabling/Disabli ng the panel switches [Code] <1B> H <63> H <35> H <n> [Range] 0 ≤ n ≤ 255 [Outline] Selecting the FEED switch valid/invalid. • "n" is vali d only in the lowest bit (n0). • "n" bit means the followings. n0 Con dition 0 FE[...]

  • Page 92

    iDP3221 User ’ s Manual 76 CIT IZE N ESC i [Funct ion] Ful l cut [Code] <1B>H<69>H [Outline] Activating auto cu tter unit (Full cut) [Caution] • T his command is valid only when it is inputted at the beginnin g of line. • Prior to cutting the pap er, feed the paper from the printing position to beyond the paper cutting position o [...]

  • Page 93

    iDP3221 User ’ s Manual 77 CIT IZE N ESC m [Funct ion] Partial cut [Code] <1B>H<6D>H [Outline] Activating auto cu tter unit (P artial cut) [Caution] • This command is val id only when it is input ted at the beginning of line. • Prior to cutting the pap er, feed the paper from the printing position to beyond the paper cutting posit[...]

  • Page 94

    iDP3221 User ’ s Manual 78 CIT IZE N ESC p m n1 n2 [Funct ion] Generating the specified pulses [Code] <1B>H<70>H<m><n1><n2> [Range] m = 0, 1 0<n 1 ≤ n2 ≤ 255 [Outline] Th e signals specified by "n1" and "n2" are output to the connector pin specified by "m". • "m" has t[...]

  • Page 95

    iDP3221 User ’ s Manual 79 CIT IZE N n=0 n=1 ESC t n [Funct ion] Selecting the character code table [Code] <1B>H<74>H<n> [Range] 0 ≤ n ≤ 5, n = 255 [Outline] Selecting page "n" on the character code table: The character code table is selected depending on the value of "n. " "n" m eans the follow[...]

  • Page 96

    iDP3221 User ’ s Manual 80 CIT IZE N ESC { n [Function] Specify ing/Canceling the inverted characters [Code] <1B>H<7B>H<n> [Range] 0 ≤ n ≤ 255 [Outline] Specify ing /canceling inverted characters. • "n" is vali d only for the lowest bit (n0). • B it "n" (n0) means the followings. n0 Con dition 0 Cance[...]

  • Page 97

    iDP3221 User ’ s Manual 81 CIT IZE N GS ! n [Function] Specify ing the character size [Code] <1D>H<21>H<n> [Range] 0 ≤ n ≤ 255, where: 1 ≤ vertical magnification ≤ 8, and 1 ≤ horizontal m agnification ≤ 8 [Outline] Specifies the character size (vertical and h orizontal magnification). Va l u e Bit Meaning Hex. Number[...]

  • Page 98

    iDP3221 User ’ s Manual 82 CIT IZE N • If characters of different vertical m agnification are contained in a line, the baseline of each character is lined up. • Horizontal and v ertical magnification can also be spe c ified/canceled by ESC !. The ESC ! or GS ! command, whichev er is handled last, becomes effecti ve. [Default] n = 0 [See Also][...]

  • Page 99

    iDP3221 User ’ s Manual 83 CIT IZE N GS $ nL n H [Function] Specify ing the absolute vertical position of characters in Page mode [Code] <1D>H<24>H<nL><nH> [Range] 0 ≤ nL ≤ 255 0 ≤ nH ≤ 255 [Outline] This command is used in Page mode to specify the vertical position of characters at the data mapping start position [...]

  • Page 100

    iDP3221 User ’ s Manual 84 CIT IZE N G S*n 1n 2[ d ]n 1 × n2 × 8 [Function] Defining the download bit image [Code] <1D>H<2A>H<n1><n2> [ < d > ] n1 × n2 × 8 [Range] 1 ≤ n1 ≤ 255 1 ≤ n2 ≤ 48 n1 × n2 ≤ 1536 [Outline] D efines download bit i mages of the number of dots specifie d by n1/n2. • The numbers [...]

  • Page 101

    iDP3221 User ’ s Manual 85 CIT IZE N [Sample Program] [Print Results] GOS UB I MG LPRINT CHR$ (&H1D) + "/" + CHR$ (0 ) ; LPRINT CHR$ (&H1D) + "/" + CHR$ (1 ) ; LPRINT CHR$ (&H1D) + "/" + CHR$ (2 ) ; LPRINT CHR$ (&H1D) + "/" + CHR$ (3 ) ; END IMG : n1=1 0:n2 = 5 LPRINT CHR$ (&H1 D) + &quo[...]

  • Page 102

    iDP3221 User ’ s Manual 86 CIT IZE N GS / m [Funct ion] Printing the downloaded bit im age [Code] <1D>H<2F>H<m> [Range] 0 ≤ m ≤ 3 48 ≤ m ≤ 51 [Outline] Prints downloade d bit image in a mode specified by "m . " Modes can be selected by "m " are shown below. m Mode Nam e Dot Density in V ertical D irec[...]

  • Page 103

    iDP3221 User ’ s Manual 87 CIT IZE N GS : [Function] Starting/En ding macro definition [Code] <1D>H<3A>H [Outline] Specify ing starting/ending macro definition. Means termination when received while defining a macro. [Caution] Maximum content available for m acro definition is 2048 bytes. A portion exceeding 2048 byt es is not defined[...]

  • Page 104

    iDP3221 User ’ s Manual 88 CIT IZE N GS B n [Function] Specifying/Canceling the b lack/white inverted printing [Code] <1D>H<42>H<n> [Range] 0 ≤ n ≤ 255 [Outline] This command specifies or cancels the black/white inverted printing. • If n = < *******0>B, the blac k/white i nverted printi ng is canceled. • If n = <[...]

  • Page 105

    iDP3221 User ’ s Manual 89 CIT IZE N GS H n [Function] Selecting o f printing p osition of H RI characters [Code] <1D>H<48>H<n> [Range] 0 ≤ n ≤ 3 48 ≤ n ≤ 51 [Outline] Selecting printing position of HR I characters in printing bar codes. • "n" means the followi ngs. n Printin g Pos ition 0,48 No printing 1,49[...]

  • Page 106

    iDP3221 User ’ s Manual 90 CIT IZE N GS I n [Funct ion] Sending the printer ID [Code] <1D>H<49>H<n> [Range] 0 ≤ n ≤ 3 49 ≤ n ≤ 51 [Outline] Sends the specified printer ID. "n" m eans the following. n T y pe of printer ID Specification V alue (hex) 1,49 Model ID iDP3221 20 2,50 T ype ID See table below "T y[...]

  • Page 107

    iDP3221 User ’ s Manual 91 CIT IZE N Le f t M a r g i n Pri n t Ar e a W i d th P r i nt ab l e A r ea G SLn Ln H [Function] Setting the left margin [Code] <1D>H<4C>H<nL><nH> [Range] 0 ≤ nL ≤ 255 0 ≤ nH ≤ 255 [Outline] This com mand sets the left m argin specified by nL and nH. The value of the left margin is [(nL [...]

  • Page 108

    iDP3221 User ’ s Manual 92 CIT IZE N G SPxy [Function] Specifying the basic calculation pitch [Code] <1D>H<50>H<x><y> [Range] 0 ≤ x ≤ 255 0 ≤ y ≤ 255 [Outline] This comm an d sets the horizontal basic calculation pitch to approx. 25.4/x m m (1/x inches), and the vertical basic calculation pitch to approx. 25.4/y mm[...]

  • Page 109

    iDP3221 User ’ s Manual 93 CIT IZE N GS V m ......... (1) GS V m n ... (2) [Function] Cu tting the pape r [Code] (1) <1D>H<56>H<m> (2) <1D>H<56>H<m ><n> [Range] (1) 0 ≤ m ≤ 1, 48 ≤ m ≤ 49 (2) 65 ≤ m ≤ 66, 0 ≤ n ≤ 255 [Outline] Cuts the specified paper. "m " means the following. m[...]

  • Page 110

    iDP3221 User ’ s Manual 94 CIT IZE N GS W nL nH [Function] Settin g the print area width [Code] <1D>H<57>H<nL><nH> [Range] 0 ≤ nL ≤ 255 0 ≤ nH ≤ 255 [Outline] Sets the print area width specified by nL and nH. • The prin t area width will be [(nL + nH × 256) × basic calculation pitch] inches. [Caution] • This [...]

  • Page 111

    iDP3221 User ’ s Manual 95 CIT IZE N Lef t M arg in The left mar gin is trimmed. Printable A rea Print A rea W idth Extended toward the right (2) If a sufficient area cannot be prov ided as a result of st ep (1), the print area is extended toward the left (so that the left margin is decreased). (3) If a sufficient area cannot be prov ided as a re[...]

  • Page 112

    iDP3221 User ’ s Manual 96 CIT IZE N GS ¥ nL n H [Function] Specifying the relative v ertical position of a character in Page mode [Code] <1D>H<5C>H<nL><nH> [Range] 0 ≤ nL ≤ 255 0 ≤ nH ≤ 255 [Outline] This comm and is used in Page mode to specify the verti cal position of a character at the data mapping start posi[...]

  • Page 113

    iDP3221 User ’ s Manual 97 CIT IZE N G S^n 1n 2n 3 [Funct ion] Executing the m acro [Code] <1D> H <5E> H <n1> <n2> <n3> [Range] 0 ≤ n1 ≤ 255 0 ≤ n2 ≤ 255 0 ≤ n3 ≤ 1 [Outline] Executing contents defined in macro. •" n 1 ∼ n3" indicate as follows: n1 : The number of tim es of macro execution n[...]

  • Page 114

    iDP3221 User ’ s Manual 98 CIT IZE N GS a n [Funct ion] Enabling/Disabling ASB (A utomati c Status Back) [Code] <1D>H<61>H<n> [Range] 0 ≤ n ≤ 255 [Outline] Th is comm and selects the status item to be addressed by ASB (automatic status back). Bit Status item addressed by ASB Hex. Dec im al Status of pin 3 of drawer kick conn[...]

  • Page 115

    iDP3221 User ’ s Manual 99 CIT IZE N (1) 1st byte (printer information) Bit Status Hex. Decimal 0 Unused 00 0 1 Unused 00 0 Status of pin 3 of drawer kick connector = "L" 00 0 2 Status of pin 3 of drawer kick connector = "H" 04 4 Online statu s 00 0 3 Offline status 08 8 4 Unused 01 6 Cover cl osed 00 0 5 Cover open 20 32 Not [...]

  • Page 116

    iDP3221 User ’ s Manual 100 CIT IZE N (4) 4th byte (paper detector information) Bit Status Hex. Decimal 0 Undefined — — 1 Undefined — — 2 Undefined — — 3 Undefined — — 4 Unused 00 0 5 Undefined — — 6 Undefined — — 7 Unused 00 0 [See Also] D LE EOT, GS r , "Identification of Send Status " in A ppend ix 3[...]

  • Page 117

    iDP3221 User ’ s Manual 101 CIT IZE N GS f n [Funct ion] Selecting the font of H RI charactetrs [Code] <1D> H <66> H <n> [Range] n = 0, 1 n = 48, 49 [Outline] Selecting the font of HRI characters in printing bar code. The type of font can be printed by selecting " n" is as follows. n Font 0, 48 Font A (12 × 24) 1, 49 [...]

  • Page 118

    iDP3221 User ’ s Manual 102 CIT IZE N GS h n [Funct ion] Specify ing the height of the bar code [Code] <1D> H <68> H <n> [Range] 1 ≤ n ≤ 255 [Outline] Selecting bar code heigh t. "n" denotes the number of dots in t he vertical direction. [Default] n = 162 [Sample Program] [Print Results] See Sample Program and Prin[...]

  • Page 119

    iDP3221 User ’ s Manual 103 CIT IZE N GS k m [ d1 ..... dk] NUL GS k m n [d1 ...... dn] [Funct ion] Printing the bar code [Code] (1) <1D> H <6B> H <m> [d1.....dk] NUL (2) < 1D> H <6B> H <m><n> [d1....dn] [Range] (1) 0 ≤ m ≤ 6 The definitions of "k" a nd "d" depend on the bar code s[...]

  • Page 120

    iDP3221 User ’ s Manual 104 CIT IZE N • For JAN13, the bar code is print ed when 13 by tes of bar code data has been ent ered, and the subsequent data is handled as normal data. • For JAN8, the bar code is printed when 8 bytes of bar code data has been entered, and the subsequent data is handled as normal data. • The data of ITF bar code m [...]

  • Page 121

    iDP3221 User ’ s Manual 105 CIT IZE N UPC-A This bar code, consisting of numerals only, has a fixed lengt h of 12 columns; a 11- column number ent ered from the host or applicat ion software plus a check col umn(12th c olumn) automatically calculated inside the printer. If the 12th-column numeral is sent from the host, the entire bar code will be[...]

  • Page 122

    iDP3221 User ’ s Manual 106 CIT IZE N CODE93 This bar code, consisting of alphanumeric and control characters, has a variable length of columns. The HRI character string is preceded by a " " character. HRI characters for control characters (00H - 1F H , and 7FH) are each printed as a com binat ion of a " " character and an alp[...]

  • Page 123

    iDP3221 User ’ s Manual 107 CIT IZE N When sending print data, not e these: (1) Each string of bar code data must begin with a codeset select character (CODE A, CODE B, or COD E C), which selects the first codeset to use. (2) Ever y special character is specified by a combination of two characters: a brac e "{" followed by one character[...]

  • Page 124

    iDP3221 User ’ s Manual 108 CIT IZE N [Description of Bar Codes] UPC-A, UPC- E, JAN-13 ( EAN), JAN- 8 (EAN), CODE39 , ITF , CODABAR, CODE93, CODE128 T ype Print Sample Ou tline of Symbol Max. column UPC-A Bar Code 1 12-colum n fixed-leng th bar code c onsisting of numeral s only − UPC-E Bar Code 2 8-colum n fixed-leng th bar code c onsisting of[...]

  • Page 125

    iDP3221 User ’ s Manual 109 CIT IZE N GS r n [Funct ion] Sending status [Code] <1D>H<72>H<n> [Range] 1 ≤ n ≤ 2 49 ≤ n ≤ 50 [Outline] Sends the specified status to the host. n = 1, 49: Sends the paper detector status. n = 2, 50: Sends the drawer kick connector status. [Caution] • When the serial interface is used: For D[...]

  • Page 126

    iDP3221 User ’ s Manual 11 0 CIT IZE N • Drawer kick connector stat us (n = 2, 50) Bit Status Hex. Decimal Status of pin 3 of drawer kick connector = "L" 00 0 0 Status of pin 3 of drawer kick connector = "H" 01 1 1 Undefined —— 2 Undefined —— 3 Undefined — — 4 Unused 00 0 5 Undefined — — 6 Undefined —— 7 [...]

  • Page 127

    iDP3221 User ’ s Manual 111 CIT IZE N GS w n [Funct ion] Specify ing the horizontal size (magni fication) of bar code [Code] <1D> H <77> H <n> [Range] 2 ≤ n ≤ 6 [Outline] Selecting bar code width. "n" denotes the number of d ots in fine element width. [Default] n = 3 [Sample Program] LPRINT CHR$ (&H1D) ; "[...]

  • Page 128

    iDP3221 User ’ s Manual 11 2 CIT IZE N 1 1. CHARACTER CODES T ABLE 1 1.1 CodePage 00H to 7FH & PC437(USA, Eur opean, Standard)[...]

  • Page 129

    iDP3221 User ’ s Manual 11 3 CIT IZE N 1 1.2 Code Page Katakana(Japanese)[...]

  • Page 130

    iDP3221 User ’ s Manual 11 4 CIT IZE N 1 1.3 Codepage P C850(Multilingual)[...]

  • Page 131

    iDP3221 User ’ s Manual 11 5 CIT IZE N 1 1.4 Codepage PC860(P ortguese)[...]

  • Page 132

    iDP3221 User ’ s Manual 11 6 CIT IZE N 1 1.5 Codepage PC 893(Canadian-Fr ench)[...]

  • Page 133

    iDP3221 User ’ s Manual 11 7 CIT IZE N 1 1.6 Codepage PC865(Nordic)[...]

  • Page 134

    iDP3221 User ’ s Manual 11 8 CIT IZE N 1 1.7 Blank page(For user setting)[...]

  • Page 135

    iDP3221 User ’ s Manual 11 9 CIT IZE N 1 1.8 International Ch aracter Codes T able[...]

  • Page 136

    iDP3221 User ’ s Manual 120 CIT IZE N APPENDIX 1. P AGE MODE Overview The printer has two print modes: standard and page. In standard mode, the printer prints or feeds paper each time it receives a print or paper feed com mand. In page mode, when t he printer rec eives print comm ands and/or form feed commands, it sim pl y forwards them to the sp[...]

  • Page 137

    iDP3221 User ’ s Manual 121 CIT IZE N (2) The maxim u m printable size of a bit map image is 512 by 512 dots for standar d mode. In page m ode, the size can be extended up to 831 bits in the y direction (paper f eed direction) if 831 bits are reserved for y of the prin t area and the valu e of print direction "n" specified by ES C T is [...]

  • Page 138

    iDP3221 User ’ s Manual 122 CIT IZE N <Example: When printing a do wnloaded bitmap image covering six bytes vertical ly > [V ertically mapped dots (= 8 × 6)  L ine feed width f or the starting point (= 21)] × (V ertical basic calculation pit ch conversion ratio (= 360/180) = 54 54 pitches, or 27 dots, m ust, therefore, be added to the [...]

  • Page 139

    iDP3221 User ’ s Manual 123 CIT IZE N [Mapping Positions for Character Data] Dow nloaded Bit Imag e Bar Code Poi nt A Bit Im age V ertically Doubled Character Baseline (HRI Characters) [Mapping P osition for Prin t Data] Pri nt Are a Mapping Direction Poi nt B Poi nt B Poi nt B Poi nt B Baseline[...]

  • Page 140

    iDP3221 User ’ s Manual 124 CIT IZE N [Mapping Po sition for a Downloaded B it I mage] Downloaded Bit Image Baseline Baseline Poi nt B Poin t B Poi nt A Pri nt Are a Mapping Direction[...]

  • Page 141

    iDP3221 User ’ s Manual 125 CIT IZE N Example of the Use of Page Mode The following explains specific uses of page mode. When in page mode, the co mmands are typically sent from the host to the printer in the following sequence: (1) A n ESC L puts the printer in page mode. (2) A n ESC W specifies the print area. (3) A n ESC T specifies the print [...]

  • Page 142

    iDP3221 User ’ s Manual 126 CIT IZE N In Figure 1- 1, a line feed occurs between " lesson" and " T est 1" becaus e "lesson" and the next spa ce " " do not fit in the horizontal range of t he 200 (400)- pitch print area. The line feed w idth conform s to the value specified by a comm and such as ESC 3 . It i[...]

  • Page 143

    iDP3221 User ’ s Manual 127 CIT IZE N Before an FF is sent, the following program code can be added t o remove part of t he data. 170 PRINT#1, chr$( &H1b); " W" ;chr$(72);c hr$(0);chr$(120);chr $(0); 180 PRINT#1, chr$(36) ;c hr$(0);c hr$(48);chr$( 0); 190 PRINT#1, c hr$(&H 18); 200 P RINT#1, chr$ (&Hc); As a result of the ad[...]

  • Page 144

    iDP3221 User ’ s Manual 128 CIT IZE N APPENDIX 2. BI- DIRECTIONAL P ARALLEL INTERF ACE 1. Overview The interface of the printer is a Level-1 compatible devi ce according to I EEE-P1284. It supports the co mmunication modes descri bed in 1.1 below . 1.1. Parallel Interface Communication Modes The parallel interface of the printer provides th ree c[...]

  • Page 145

    iDP3221 User ’ s Manual 129 CIT IZE N 1.2 Interf acing Phases Interfacing in each comm unication mode is divided into several phases. I n additi on, there is a phase for m ode initialization, as wel l as a phase for mode switching. Interface signals may differ in name and function for di fferent modes and dif ferent phases.[...]

  • Page 146

    iDP3221 User ’ s Manual 130 CIT IZE N 2. Negotiation 2.1 Overview Usually , the printer is started in Compatibility m ode, which corresponds to the Centroni cs interface phase. When the host intends t o switch to the Nibble or By te mode, it sends a request and n egotia tes with the pri nter . A general flow of negotiations is given below. 1) The[...]

  • Page 147

    iDP3221 User ’ s Manual 131 CIT IZE N 2.3 Pr ecautions 1) The N egotiation phase is triggered with th e rising edge of the IEEE 1284 Active signal sent by the host. 2) In Compatibilit y mode, the time when the negotiation process begin s is, as a general rule, after the host sets nStrobe to High and then t he printer output s an nAck pulse. Once [...]

  • Page 148

    iDP3221 User ’ s Manual 132 CIT IZE N 2.4 Data Communication from Printer to Host 2.4.1 N ibble Mode In this mode, data i s transferred between the printer and the host through the procedure described below . The steps beginning from 1) are applicable w hen the Negoti ation phase has switched to the Host Busy Data A vailabl e phase. If the Negoti[...]

  • Page 149

    iDP3221 User ’ s Manual 133 CIT IZE N 13) The printer sets PtrClk back to High. (Ev ent 19) 14) Upon receiving a request for interrupt from the printer , the host responds by setting HostBusy (nAutoF d) to High. (Event 20) 15) Finally , the printer responds to the host b y setting AckDataReq (PError) to L ow , and then the host moves to the Host [...]

  • Page 150

    iDP3221 User ’ s Manual 134 CIT IZE N 10) When no more data is to be received from the printer , the host chooses one of three status selections: 1. Setting HostB usy ( nAutoFd) to L ow and indicating that the host is re ady to receive. 2. Remaining in the Host Busy D ata A vailable phase. 3. P erforming T ermination and returnin g to the Compati[...]

  • Page 151

    iDP3221 User ’ s Manual 135 CIT IZE N 2.6 T erm ination T ermination is the process of returning to Compatib ility mode from the N ibble or Byte modes. When performing T ermination, the host sets the signals as follows: • IEEE 1284 Active (nSel ectln): Low • HostBusy (nAutoFd): High (Event 22) There are two met hods of T ermination: (1) T erm[...]

  • Page 152

    iDP3221 User ’ s Manual 136 CIT IZE N APPENDIX 3. I DENTIFICA TION OF SEND S T A TUS Because the status sent from the printer has certain fixed bits, it is possible to identify to which com mand the status belongs. When using ASB (Autom ati c Status Back), however , the first byte of ASB should be checked, and then the three consecutive by tes ex[...]

  • Page 153

    iDP3221 User ’ s Manual 137 CIT IZE N APPENDIX 4. BLOCK DIAGRAM *1 P arallel Interface --- Centronics com pliant Serial Interface -- - RS-232C compliant[...]

  • Page 154

    iDP3221 User ’ s Manual 138 CIT IZE N APPENDIX 5. OUTLI NE DRA WING iDP3220 Unit : m m[...]

  • Page 155

    iDP3221 User ’ s Manual 139 CIT IZE N AC Ada pter (30AD) Approx . 1550 Unit : m m[...]

  • Page 156

    iDP3221 User ’ s Manual 140 CIT IZE N <<<German>>>[...]

  • Page 157

    iDP3221 User ’ s Manual 141 CIT IZE N <V ORSICHT> 1. B itte lesen Sie die Be dienungsan leitun g vor dem Betrie b des Ger äts aufmerksa m durch und be wahren Sie die Anleitu ng anschließend für späteres Nachschlagen an einem s icheren Platz auf. 2. Änd erunge n des Inha lts d iese r Anle itung bl eibe n ohne V o ra nkündigung vorbehal[...]

  • Page 158

    iDP3221 User ’ s Manual 142 CIT IZE N ZU BEACHTENDE SICHERHEITSMASSREGELN Zur V er meidung von Gefahr en gegenüber dem Bediener un d ander en Person en und Sachschäden sind die folgenden Vorsichtsm aßregeln unbedingt zu beachten . Der folgende T ext beschreibt das Au smaß der Gefahren und potentiellen Sachschäden, die durch eine Mißachtung [...]

  • Page 159

    iDP3221 User ’ s Manual 143 CIT IZE N W ARNUNG Beim Betrieb des Geräts sind die nac hfolgenden V orsichtsmaßregeln unbedi ngt zu beachten. Eine Mißacht ung dieser Hinweise kann z u Schäden, Funktionsstörungen, Rauc hentwicklung und Brandgefahr d urch Überhitzen und zu elektrischen Schläg en führen. Der fortgesetzte Betrieb des Geräts in [...]

  • Page 160

    iDP3221 User ’ s Manual 144 CIT IZE N V ORSICHTSMASSREGELN FÜR DIE AUFSTELLUNG • Das Gerät nicht an Plätzen abstellen oder b etreiben, an denen es Feuer , Feuchtigkeit oder direkter Sonnenbestrahlung ausgesetzt ist. Ebenso sind Plätze in der Nähe von Heizkörpern un d sonstigen Wärmenquellen zu vermeiden, an denen Umgebun gste mperatur un[...]

  • Page 161

    iDP3221 User ’ s Manual 145 CIT IZE N V ORSICHTSMASSREGELN FÜR DIE HANDHABUNG Zur V er mei dung von Problemen sind bei der Handhabung des Geräts die folgenden V orsichtsmaßreg eln z u beachten. • Keine andere Betriebsstrom q uelle als das mitgelieferte Netzteil verwenden. Das Netzteil nich t für andere Zw ecke verwen den. • Nicht ohne ein[...]

  • Page 162

    iDP3221 User ’ s Manual 146 CIT IZE N TÄGLICHE W AR TUNG • Bei der W artung immer den Netzschalter des Druckers auf Aus stellen und den Stecker aus der Steckdose ziehen. • Zur Reinigung der W alze V erschmutzungen m it einem W attestäbchen entfernen, das mi t etwas Äthyal kohol benetzt ist. • Schmutz und Sta ub mit eine m trockenen, weic[...]

  • Page 163

    iDP3221 User ’ s Manual 147 CIT IZE N Dieser Aufkleber warnt dav or , daß der Kopf während des Betriebs sehr heiß w ird und seine Berührung zu V erbrennungen führen kann. An der im folgenden abgeb ildeten Stelle i st ein W arnaufkleber ang ebracht. Die zum korrekten Betrieb des Geräts zu beachtenden Sich erheitshinweise sor gfältig lesen.[...]

  • Page 164

    iDP3221 User ’ s Manual 148 CIT IZE N 4. BETRIEB 4.1 An schließen des Netzteils 1. Das Gerät ausschalten. 2. Den Netzkabelstecker mit der abgeflachten Seite nach unten in die Buchse an der Rückseite des Druckers stecken. 3. Das N etzkabel des Netzteils zwischen Netzteil und Netzstecker anschließen. VO RS IC H T : • Nur das vorgeschriebene N[...]

  • Page 165

    iDP3221 User ’ s Manual 149 CIT IZE N Serienschnittstellenka bel Parallelschn ittstellenkabel Sch nittstelle Parallelschnittstellenbuchse Steckerklemm e Serienschnittstellenbuchse Erdungsanschluß Schubladenausschubbuchse Schubladenausschubstecker 4.2 Anschließen des Schnittstellenkabels 1. Das Gerät ausschalten. (P aßseite eingeschlossen) 2. [...]

  • Page 166

    iDP3221 User ’ s Manual 150 CIT IZE N Konv ex Papierfreigabehebel Druckerabdeckung Papierfreigabehebel 4.4 E inlegen des Pap iers 4.4.1 Einlegen des Papiers 1. Gerät einschalten. 2. Mit den Fingern in die Au ssparungen der Druckerabd eckung greifen und die Ab deckung bis zum Anschlag öffnen. 3. Das Ende der P apierrolle im rechten W inkel absch[...]

  • Page 167

    iDP3221 User ’ s Manual 151 CIT IZE N VO RS IC H T : • Ausschließ lich die vor geschriebene P apiersorte verwenden. • D ie V erwendung anderer Papiersor ten kann zu verminderte r Druckqualität, ve rkü rz ter B etriebslebensdauer des Druckers u. der gl. führen. • Die Druckerabdeckung ist n icht abnehmbar und sollte d eshalb nicht über d[...]

  • Page 168

    iDP3221 Us er ’ s Ma nua l 152 CITIZEN K onvex D r ucke r a b dec kung 4.4.2 Papi er man uell ein le gen Papier kann m a nuell eingelegt werde n, wenn der DIP-Schalter D S1-2 auf ON gestellt ist, um d i e E r kennung d e r S te llun g d e r Dr uck e r ab de c kung zu de ak tiv ie ren. 1. Gerä t einsch a lten. 2. Mit den F i ngern in die Au sspar[...]

  • Page 169

    iDP3221 User ’ s Manual 153 CIT IZE N Papierfreigabehebel VO RS IC H T : • Ausschließ lich die vor geschriebene P apiersorte verwenden. • Die V e rwendung anderer Papiersorten kann zu verminderter Druckqualität, verkürzt er Betriebslebensdauer des Druckers u. dergl. führen. • Die Drucke rabdeckung ist nicht abnehmbar u nd sollte deshalb[...]

  • Page 170

    iDP3221 User ’ s Manual 154 CIT IZE N 4.6 Beseitigen von Papierstau 1. Das Gerät ausschalten. 2. Die Druckerabdeckung öffnen. 3. Die P apierrolle in der Nähe des Papiereinzugschachts abschneiden. 4. Die Kopf federn auf beiden Seiten in Pfeilricht ung bewegen, um sie aus den Gehäusehaken auszu haken; dann anheben. 5. Die Druckwalzeneinheit dur[...]

  • Page 171

    iDP3221 User ’ s Manual 155 CIT IZE N Kopf feder Führungsbuchse Druckwalzeneinheit Gehäusehaken Führungsbuchse[...]

  • Page 172

    iDP3221 User ’ s Manual 156 CIT IZE N 4.7 Initialisierung des Schneidem echanismus 5. P apier aus dem Papierweg entfernen wie im Abschnitt "4.6 Beseitigen von P apierstaus" beschrieben. 6. G erät einschalten. Die Initialisieru ng des automatischen Schn eidemechanismus beginnt, dieser fährt in seine Ausgangsstellung, worauf dann der Al[...]

  • Page 173

    iDP3221 User ’ s Manual 157 CIT IZE N 4.8 Kopf r einigen 1. D ruckwalzeneinheit entfernen wie in 4.6 "Beseitig en von Papierstaus" beschrieben. 2. Heizfläche des Kopfs mit einem W attest äbchen reinigen, das mit etwas Äthy alkohol benetzt ist. 3. Druckwalzeneinheit einbauen. VO RS IC H T : • Nicht die Oberfläche der Hei zeinheit d[...]

  • Page 174

    iDP3221 User ’ s Manual 158 CIT IZE N 4.9 Bedienfeld und Fehleran zeigen 1. PO WER-L ämpchen (grün) Leuchtet beim Einschalten auf. B linkt auch zur Anzeige eines Speicherfehlers 2. ERROR-Läm pchen (rot) Zeigen durch L euchten oder Blinken einen Fehl er an. Fehler P AP ER-L ämpchen ERROR- Läm pche n Rückstellen Speicherprüfung-F ehler Schne[...]

  • Page 175

    iDP3221 User ’ s Manual 159 CIT IZE N < Fehler-Ein zelhei ten > Abdeckung geöffnet ---- De r Öff nungssensor der Druckerabdeckung hat erkannt, daß die Druckerabdec kung geöf fnet ist. In diesem F all leuchtet das ERR OR-L ämpchen, und der Druckvor gang ist gestoppt. Es ist zu beachten, daß der DIP-Schalter so eingestellt werden kann, [...]

  • Page 176

    iDP3221 User ’ s Manual 160 CIT IZE N 4.10 Hexadezimal-Dum ps 1. Hexadezimal- D ump- Funktion Diese Funkt ion ermögli cht die Ausgabe der v om Host-Computer gesendet en Daten in hexa dezimaler Notation zusamm en mit einem Ausdruck der korrespondierenden Zeichen. 2. Hexadezimal-Dum p starten Bei geöffneter Abdecku ng gleichzeitig Netzschalter un[...]

  • Page 177

    iDP3221 User ’ s Manual 161 CIT IZE N 5. DIP-SCHAL TEREINSTELLUNG 5.1 Lage der DIP-Schalter 1. Das Gerät ausschalten. 2. Die untere Abdeckung durc h Lösen der zwei Schrauben ent fernen und das Gerät a uf die Seite stellen, wie unten abgebildet . Untere Abdeckung[...]

  • Page 178

    iDP3221 User ’ s Manual 162 CIT IZE N 5.2 DIP- Schalter funktion DS1 No. Funktion O N OFF Beim V ersand 1 Automati sche Schneideinheit J a N ein ON 2 A bdeckung geöf fnet Nein Ja OFF 3 CR-Umschal ten LF -Betrieb I gnoriert OFF 4 Japanische Schriftcode-W ahl S -JIS J IS O FF 5 Puffer größe 72 bytes 4 K bytes ON 6 Internationale Z eichen O FF 7 [...]

  • Page 179

    iDP3221 User ’ s Manual 163 CIT IZE N 6. P ARALLELSCHNITTSTELLE 6.1 Bidirektionale P arallelschnittstelle (IEEE 1284) 6.1.1 Kompatibilitätsmodus (Übertragung Host-Computer → → → → Drucker über di e Centroni cs-Schnittstelle) (1) Übersicht Die bekannte Centronics-Schnittstelle wird im Kom p atibilitätsmodus v erwendet. (2) T echnische[...]

  • Page 180

    iDP3221 User ’ s Manual 164 CIT IZE N 6.1.3 Pinbelegung der Buchse Pin No. Signalquelle Kompatibilitätsm odus Nibble-Modus By te-M odus 1 Host nStrobe HostClk HostClk 2 Drucker Data0(LSB) Data0(LSB) Data0(LSB) 3 Host/ Drucker Data1 Data1 Data1 4 Host/ Drucker Data2 Data2 Data2 5 Host/ Drucker Data3 Data3 Data3 6 Host/ Drucker Data4 Data4 Data4 7[...]

  • Page 181

    iDP3221 User’ s Manu al 165 CIT IZEN • Sicherstellen, daß die Schni ttstelle m i t TTL- Pegel-Signalen arbeitet , die den im folgenden aufgef ührten Merkmalen ent sprechen, und daß die Signalum schaltzeit 0,5 µsec bet rägt. • W enn die Signale nAck und Busy bei der Datenübe rtragung nicht beachtet w erden, kann dies zu Datenverlusten f?[...]

  • Page 182

    iDP3221 User ’ s Manual 166 CIT IZE N ANHANG 1. SEITENMODUS Übersicht Dieser Drucker verfügt über zwei Druckmodi: Standardm odus und Seitenmodus. Im Standardm odus führt der Drucker den Druckbefehl bzw . den Befehl zum Papierv orschub sofort aus, wenn er einen entsprechenden Befehl erhält. Erhält der Drucker im Seit enmodus Druckbefehle bzw[...]

  • Page 183

    iDP3221 User ’ s Manual 167 CIT IZE N Befehlswerte im Standardm odus und im Seitenmodus (1) D ie mit Befehlen gesetzten W erte sind im Standard- und im Sei tenmodus prinzipiel l gleich. Allerdings werden W erte, die mit eine m der unt en aufgeführten Befehle n gesetzt werden, i m Standard- und im Seitenm odus unterschiedlich behandelt und gespei[...]

  • Page 184

    iDP3221 User ’ s Manual 168 CIT IZE N (4) S tandardmäßi g beträgt ein Zei lenvorschub 1/6 Z oll, was 30 P unkten ents pricht. W enn di e Druckdaten f ür die nächste Zeile ein Zeichen in doppelter oder noch größerer H öhe, ein geladenes Bitmap-Bild, das sich über zwei oder mehr Z eilen erstreckt, oder einen St richcode ent halten, der hö[...]

  • Page 185

    iDP3221 User ’ s Manual 169 CIT IZE N [Ablagepositionen für Zei chendaten] Geladenes Bitmap-Bild Strichcode Punkt A Bitmap-Bild Zeichen mi t doppelter Höhe Grund linie (HRI-Z eichen) [Ablagepositionen für Druckdaten] Druckbereich Ablagerichtung Punkt B Punkt B Punkt B Punkt B Grund linie[...]

  • Page 186

    iDP3221 User ’ s Manual 170 CIT IZE N [Ablagepositionen für geladene Bitm ap-Bilder] Geladen es Bitmap-Bild Grund linie Grund linie Punkt B Punkt B Punkt A[...]

  • Page 187

    iDP3221 User ’ s Manual 171 CIT IZE N Beispiel für den Einsatz des Seitenm odus Der folgende Abschnitt erläutert die besonderen Verwendungsmöglichkeiten des Seitenmodus. Zur V erwendung des Seitenmodus sendet der Host-Com puter Befehle normalerweise in dieser Abfolge zum Drucker: (1) E SC L v ersetzt den Drucker in den Seit enmodus. (2) E SC W[...]

  • Page 188

    iDP3221 User ’ s Manual 172 CIT IZE N In Abbildung 1-1 erfol gt ein Zeilenvorschub zw ischen "lesson" und " T est1", weil "lesson" und den darauf folgende n Leerschritt " " den Horizontalwert des Druckbereichs von 200 ( 400 Schritten übe rschreiten. Der Zeilenv orschubwert entspricht dem W ert, der durch e[...]

  • Page 189

    iDP3221 User ’ s Manual 173 CIT IZE N Pap ie r Abbildung 1-3 Druckbereich Pap ie r Abbildung 1-2 V or dem V ersenden eines Befehls FF besteht die Möglichkeit , den folgenden Programm code hinzuzufügen, um einen T eil der Daten zu löschen. 170 PRINT#1, chr$( &H1b); " W" ;chr$(72);c hr$(0);chr$(120);chr $(0); 180 PRINT#1, chr$( 36)[...]

  • Page 190

    iDP3221 User ’ s Manual 174 CIT IZE N ANHANG 2. BIDIREKTIONALE P ARALLELSCHNITTSTELLE 1. Übersicht Die Schnittstelle dieses Druckers ist ein Level-1-kompatibles G erät gemäß IEEE- P1284. Sie unterstützt die unten in Abschnitt 1.1 beschriebenen Übertragungsm odi. 1.1 Üb ertragungsmodi d er Parallelschnittstelle Die Parallelschnittstelle die[...]

  • Page 191

    iDP3221 User ’ s Manual 175 CIT IZE N 1.2 Kom munikat ionsphasen Der Komm unikationsvorgang in den einzeln en Übertragungsm odi unterteilt sich in unterschiedli che Phasen. Zusätzlich gibt es eine Phase für die Modusinitialisierung und eine Phase für den Moduswechsel. Die Komm unikationssignale i n den verschiedenen Modi und Phasen werden unt[...]

  • Page 192

    iDP3221 User ’ s Manual 176 CIT IZE N 2. V erhandlung 2.1 Übersicht Normalerwei se befindet sich der D rucker na ch dem Einschalten im Kompat ibilitätsmodus, w elcher der Centronics-K o mmuni kationsphase entspricht. W enn der Host-Computer in den Nibble- oder Byte-Modus umschalt en will, sendet er eine Anfrage und ha ndelt das Umschalten m it [...]

  • Page 193

    iDP3221 User ’ s Manual 177 CIT IZE N 10) W enn der Drucker keine Ü bertragungsdaten hat, die für den Host- C omputer bestimm t wären, wechselt der Host-Comput er in die Phase "Host Busy Data Not A vailable" oder "T erminati on" und kehrt dann in den Kom patibilitätsmodus zurück. 1 1) W enn der Drucker de n vom Host- Comp[...]

  • Page 194

    iDP3221 User ’ s Manual 178 CIT IZE N T abelle 2.4.1 Definitionen d er Anforderungsbits im Übertragungsmodus gemäß IEEE 1284 Xfla g Bit Definitio n Bitwerte (76543210) Hex. W enn unterstützt Vo n d i e s e m Drucker 7 Anforderung einer Dehnbarkeitsverbi ndung 10000000 80H High L ow 6 Anforderung von EPP -Modus 01000000 40H High L ow 5 Anforde[...]

  • Page 195

    iDP3221 User ’ s Manual 179 CIT IZE N 2.4 Datenübertr agung vom Drucker zum Host-Com puter 2.4.1 Nibble-Modus In diesem Modus werden Daten zwischen Drucker und Host-Com puter entsprechend der unten beschriebenen V orgeh ensweise übertragen. Die Schritte, beginnend m it 1), sind relevant, wenn aus der V erhandlungsphase in die Phase "Host B[...]

  • Page 196

    iDP3221 User ’ s Manual 180 CIT IZE N 1. Setzen von HostBusy (nAutoFd) auf L ow und Signalisierung, daß der Host -Com puter bereit zum Em pfang ist. 2. V erbleib in der Phase "Host Busy Data A vailable" 3. Durchführung der T erminierung und Rückkehr in den K ompatibilitätsm odus 1 1) Falls der Host- Computer die Phase "Host Bus[...]

  • Page 197

    iDP3221 User ’ s Manual 181 CIT IZE N 6) Der Drucker setzt PtrClk (nAck) auf High (Event 10) und beendet das Byte- Handshake (Event 1 1). 7) Der Host-Computer signalisiert, daß er die Daten erfolgreich empfangen hat. Dies geschieht, ind em er HostClk (nStrobe) zunächst auf L ow (Event 16) und dann auf High (Event 17) setzt . 8) Die Events 10 un[...]

  • Page 198

    iDP3221 User ’ s Manual 182 CIT IZE N Nachdem der Host-Computer di e ID mit der durch die ersten zw ei Byt es festgelegten L änge empfangen hat, m uß er eine T erminierung durchfüh ren, selbst wenn d em Druc ker Daten vorli egen, die gesendet w erden sollen (Dat a A vailable). W enn der Host-Com puter die T ermini erung unterläßt und versuch[...]

  • Page 199

    iDP3221 User ’ s Manual 183 CIT IZE N W enn dem Drucker Daten zum Senden vorliegen, initiiert er die Unterbrechungsphase durch die Events 8 und 9. In diesem F all, falls 128 - Active (nSelectI n) auf Low geht, bevor HostBusy (nAuto Fd) von High auf L ow gewechsel t hat, deutet der Drucker die Sachl age so, als ob der Host- Computer in die T er mi[...]

  • Page 200

    iDP3221 User ’ s Manual 184 CIT IZE N ANHANG 3. ERMITTLUNG DES SENDES T ATUS Da der von diesem Drucker gesendete Status einige unveränderliche Bits enth ält, ist es so möglich, zu ermitteln, zu welchem Befehl der Status gehört. W enn ASB (Automatic Stat us Back) verwendet wird, sollte allerdings d as erste B yte des ASB geprüft werden, und d[...]

  • Page 201

    Information Systems Division CBM Bldg., 5-68-10, Nakano , Nakano-ku, T okyo 164-0001, J apan Head Office T el: (+81- 3) 5345-7540 F ax: (+81- 3) 5345-7541 05E - 20000208 - 1000 - 0204 - 5500 Printed in Japan[...]