: CBM Bldg., 5-68-10, Nakano, Nakano-ku Tokyo, 164-0001, Japan Declare the Product Product Name Line Thermal Printer Model Number(s) iDP3221 Series (iDP3221RF, iDP3221PF) (S.No.9990001 ~ Conform to the following Standards : EN60950 A11: 1997 : EN55022 : 1998 Class A...
F. If the product exhibits a distinct change in performance, indicating a need for service. • Please keep the poly bag which this equipment is packed in away from children or throw it away to prevent children from putting it on. Putting it on may cause suffocation. CITIZEN...
Bitte halten Sie den Kunststoffbeutel, in den die Ware verpackt ist, von Kindern entfernt, oder werfen Sie ihn weg, damit er nicht in die Hande von Kindern gerät. Das Überstülpen des Beutels kann zum Ersticken führen. Lärmemission kleiner 70dBA CITIZEN...
Canadian department of communications. Pour L’utilisateurs Canadiens Cet appareil numérique ne dépasse pas les limites de carégorie a pour les émissions de bruit radio émanant d’appareils numériques, tel que prévu dans les réglements sur l’interférence radio du départment Canadien des communications. CITIZEN...
Seite 6
8. If you have any questions or notice any clerical errors or omissions regarding the information in this manual, please contact our office. 9. Please note that, notwithstanding Item 8 above, we will not be responsible for any effects resulting from operation of the equipment. CITIZEN...
Seite 7
CAUTION Negligence of this precaution may result in injury or damage to property. This is an illustration mark used to alert your attention. This is an illustration mark used to indicate such information as an instruction or the like. CITIZEN...
Seite 8
Do not overload a single electrical outlet, using a table tap or a current tap socket. It may result in fire or electric shock. An equipment packing bag must be discarded or kept away from children. A child can suffocate if the bag is placed over the head. CITIZEN...
• When the equipment will not be used for a long period of time, unplug it and remove the paper roll from • When transporting the equipment, remove the paper roll from the paper holder. CITIZEN...
Seite 10
Should any error occur while operating the equipment, stop it immediately and disconnect the power plug from the plug socket. • Should a problem occur, leave solving it to our serviceman. Do not disassemble the equipment on your own. CITIZEN...
3. Reattach the platen roller unit. CAUTION: The printing head and motor are very hot. Be careful not to touch them immediately after printing. Do not touch the heating surface of the head with a bare hand or metal. CITIZEN...
Seite 12
User’s Manual A caution label is stuck onto the following place. Carefully read the cautions on operation to correctly use the printer. This label warns that the head becomes hot in operation, and touching it may result in burns. CITIZEN...
Seite 14
Connector's Pin Configuration......................... 33 8.2 Power Connector ..............................34 9. MAINTENANCE AND SERVICE ........................35 10. PRINT CONTROL FUNCTIONS........................36 10.1 Command List ................................36 10.2 Command Details ..............................39 10.2.1 Descriptions of Each Item ..........................39 10.2.2 Command Details ............................40 CITIZEN...
Seite 15
IDENTIFICATION OF SEND STATUS...................136 APPENDIX 4. BLOCK DIAGRAM ........................137 APPENDIX 5. OUTLINE DRAWING........................138 <<< German >>> 4. BETRIEB ................................148 4.1 Anschließen des Netzteils............................148 4.2 Anschließen des Schnittstellenkabels ........................149 4.3 Anschluß des Schubladenausschubsteckers......................149 4.4 Einlegen des Papiers ............................... 150 CITIZEN...
Seite 16
Verhandlung ................................176 Übersicht................................ 176 Vorgehensweise bei der Verhandlung ......................176 Besonders beachten ............................177 Datenübertragung vom Drucker zum Host-Computer................... 179 2.4.1 Nibble Mode ............................179 2.4.2 Byte Mode..............................180 Geräte-ID ............................... 181 Terminierung..............................182 ANHANG 3. ERMITTLUNG DES SENDESTATUS ..................184 CITIZEN...
----- 1 unit • Sample paper roll ----- 1 roll • AC adapter ----- 1 piece • AC power cord ----- 1 piece • User's manual ----- 1 copy Printer Body Sample Paper Roll AC Adapter User's Manual AC Power Cord CITIZEN...
Seite 18
• Do not install the printer near a heater or in a place exposed to direct sunlight. • Do not use the printer in a high-temperature, high-humidity, and contaminated environment. • Do not allow dew condensation on the printer. If dew is condensed on it, leave the power turned off until dew condensation is gone. CITIZEN...
230: 230 V AC Characters Set F: International Interface R: Serial (RS-232C) P: Parallel (IEEE 1284 Compliant, Bi-directional communication) * Special AC Adapter and AC Power Cord 31AD-U (120V AC --- 3-core cord) 31AD-E (230V AC --- Class I cord) CITIZEN...
Auto cutter life: 500,000 cuts (With recommended thermal paper at normal temperature and humidity) Applicable standard *1 UL, C-UL, FCC Class-A TUV, GS, CE Marking Note: *1 indicates the standard satisfied when the AC adapter (31AD series) is used. CITIZEN...
• Do not rub the paper surface strongly with a nail or hard metal. It may discolor. •. Discoloring starts at about 70°C. Watch out for effects of heat, humidity, light, and so on. 2.3.2 Printing Position Paper Width: 80 mm Printing Area: 72.2 mm About 3.9 mm About 3.9 mm CITIZEN...
• After using the printer or when not using it for a long period of time, be sure to unplug the AC adapter from a plug socket for your safety. Cable Connector AC Adapter AC Power Cord Flat Surface Power Connector CITIZEN...
3. Screw the grounding cable of the drawer to the grounding terminal of the printer. CAUTION: • Connect only the prescribed drawer (Solenoid) to the drawer kick-out connector. (Do not connect a telephone line.) Drawer Kick-Out Connector Drawer Kick-Out Cable Connector Grounding Cable CITIZEN...
The paper is automatically fed in and comes out the paper outlet of the printer. Cut the surplus paper by the tear bar at the paper outlet of the auto cutter. Concave Part Platen Lever Platen Lever Upper Cover CITIZEN...
Seite 27
• Do not open the printer cover while printing. • Holding or touching the paper roll during printing may result in a paper jam. • When the auto cutter is used for full cutting, remove the cut paper before starting the next print operation to prevent jamming. CITIZEN...
When the printer cover is closed, the paper is fed in a few more lines, cut, and printing is then possible. Remove cut paper before printing. Concave Part Upper Cover CITIZEN...
2. Pull both platen levers in the direction of the arrow. The platen roller is then separated from the printing head and the paper may then be removed. CAUTION: • When removing the paper (in either the forward or reverse direction), pull the platen levers in the direction of the arrow. Platen Lever CITIZEN...
• When eliminating remaining paper, do not touch the heating surface of the head with a bare hand or metal piece. • When putting back the platen roller unit, be sure to confirm that it is correctly reattached. • Always turn off the power before removing the platen roller unit. CITIZEN...
Seite 31
User’s Manual Hook of the Chassis Platen Roller Unit Guide Bush Head Springs Guide Bush CITIZEN...
When using the printer with the cutter disabled, be sure that the cutter has returned to the home position. If it is not, return it to the home position by turning the emergency knob on the bottom of the printer. Emergency Knob CITIZEN...
Do not carry out this work just after printing because the printing head is very hot. • Always turn off the power before removing the platen roller unit. Platen Roller Unit Heating Surface of the Printing Head Emergency Knob CITIZEN...
ERROR lamp is lit, resulting in halting printing. (See the function of the control codes ESC c3 and ESC c4 in "PRINT CONTROL FUNCTION.") When paper is inserted into the paper path, loading of the paper roll begins. CITIZEN...
Seite 35
Press it continuously to feed paper continuously. Press this switch to execute macro when the system is awaiting macro-execution. 4. FEED and Power Switches Press the FEED and POWER switches simultaneously to run self-print. POWER Lamp (Green) ERROR Lamp (Red) FEED Switch CITIZEN...
• When less than one line of data is available for printing, pressing the FEED switch prints a single line. 3. Terminating the Hexadecimal Dump After the data has been printed, printing is terminated by either turning off the power, or by receipt of a reset signal. < Print Example> CITIZEN...
User’s Manual DIP SWITCH SETTING Location of DIP Switch 1. Turn off the power. 2. Remove the bottom cover by removing the two screws and turning it over in the direction shown by the arrow to remove it. Bottom Cover CITIZEN...
The existing control lines are used in transferring data in the Nibble mode (transferred in 4-bit units (nibbles)). Data is transferred in both directions on 8 data lines in the Byte mode (8-bit units (bytes)). As simultaneous execution with the Compatibility mode is not possible, half-duplex communication is employed. See Appendix 2 for details. CITIZEN...
• Ensure that the interface employs TTL level signals with the following mentioned characteristics, and that signal rise and fall times are 0.5 µsec. • Ignoring nAck and Busy signals while transferring data may result in loss of data. • Ensure that the interface cable is of the minimum length possible. CITIZEN...
↑ DATA 2 ↑ DATA 3 ↑ DATA 4 ↑ DATA 5 ↑ DATA 6 ↑ DATA 7 ↑ DATA 8 ↑ ↑ BUSY ↑ SELECT RESET AUTO FEED FAULT Drawer Switch Output FRAME GND +5V DC SELECT IN CITIZEN...
: Output if the printing paper has run out or is running out. (Active High) • Drawer Switch Output: When connecting a drawer, turned to "High" if the switch is open. Turned to "Low" if the switch is closed. (3) Power source and the related • GND : Common ground for the circuits CITIZEN...
The DATA1-8 input signals are pulled up at 50kΩ, and the other input signals at 50kΩ. [Printer Side] [Host Side] The DATA1-8 output signals are pulled up at 50kΩ and the other output signals 3.3kΩ. [Printer Side] [Host Side] CITIZEN...
Data Receiving Control The data can be received from the host when the BUSY signal is at "Low," but cannot be received when it is "High." 6.3.5 Buffering The host side is immediately freed, because 4 KB data can be buffered. CITIZEN...
Notes: 1. The RS-232C signals are based on the EIA RS-232C. 2. The received data should be always maintained in the Mark status when no data is being transferred. Applicable connectors (D-Sub connectors) Printer side : 17LE-13250 (DDK) or its equivalent Cable side : 17JE-23250 (DDK) or its equivalent CITIZEN...
When sending the status information, it is confirmed that DSR is a space prior to sending the data, if DTR/DSR control has been selected. If DTR/DSR control has not been selected, the data will be sent, ignoring the DSR signal. (4) FG Ground for the case (5) GND Common ground for the circuits CITIZEN...
This error results if the Space status is detected at stop bit detection time. The relevant data will be stored in the buffer as "?". (3) Overrun error If an overrun error is detected, the relevant data will be stored in the buffer as "?". CITIZEN...
• A solenoid used for the drawer should be of 36Ω or more. An output current should be kept below 0.8 A. Use beyond this limit cannot be assured. • This connector cannot be connected to a telephone line. Do not connect other than the solenoid. 8.1.3 Drive Circuit CITIZEN...
• Do not connect the power source with different polarity. • After using the printer or when not using it for a long period of time, be sure to unplug the AC adapter from a plug socket for your safety. CITIZEN...
For the information on maintenance and service, please contact our dealer or at the following address. Northern America Other Areas CBM America Corporation Japan CBM Corporation Service Center Information Systems Division 363 Van Ness Way CBM Bldg., 5-68-10, Nakano Suit 404 Nakano-ku, Tokyo 164-0001 Torrance, CA 90501, U.S.A Japan +1-310-781-1460 +81-3-5345-7540 +1-310-781-9157 +81-3-5345-7541 CITIZEN...
Selecting Standard mode 1BH 53H n Selecting the character printing direction in Page 28 ESC T 1BH 54H n mode In the Mode column: S = Standard Mode, P = Page Mode * shows the command affected by GS P. CITIZEN...
Seite 53
Executing the macro 1DH 5EH n1 n2 n3 56 GS a Enabling/Disabling ASB (Automatic Status Back) 1DH 61H n In the Mode column: S = Standard Mode, P = Page Mode * shows the command affected by GS P. CITIZEN...
Seite 54
Sending status 1DH 72H n Specifying the horizontal size (magnification) of bar 61 GS w 1DH 77H n code In the Mode column: S = Standard Mode, P = Page Mode * shows the command affected by GS P. CITIZEN...
For details , see the manual for the language used. [Print Result] Shows a print result obtained by running the above-mentioned program. However, the print result shown here has a different scale from the actual print result. XXXX Represents the command. CITIZEN...
Seite 57
Without data inside the internal print buffer, however, no printing is performed. [See Also] [Sample Program] [Print Results] LPRINT "AAA" ; CHR$ (&HD) ; When DSW1-3 is OFF LPRINT "BBB" ; CHR$ (&HD) ; AAABBBCCC LPRINT CHR$ (&HD) ; LPRINT "CCC" ; CHR$ (&HD) ; When DSW1-3 is ON CITIZEN...
Seite 58
• This command is only effective when Page mode is selected. • If the previously established print area overlaps the currently effective print area, the overlapped data in the previously established area will be erased. [See Also] ESC L, ESC W, "Page Mode" in Appendix 1 CITIZEN...
Seite 59
ESC 3 n, the printer handles the ESC 3 as ESC 3 <10>H. Thus, the user should be cautious. • If ASB (automatic status back) is enabled by GS a, it is necessary to discriminate between the status due to AS and the status due to this command. CITIZEN...
Seite 60
(3) Status caused by an error (when n = 3 is specified) Status Hex. Decimal Unused Unused Undefined Auto cutter error not occurred Auto cutter error occurred Unused Unrecoverable error not occurred Unrecoverable error occurred Auto recovery error not occurred Auto recovery error occurred Undefined CITIZEN...
Seite 61
Paper not found by paper near end detector Unused Paper found by paper end detector Paper not found by paper end detector Unused [See Also] DLE ENQ, GS a, and GS r, "Identification of Send Status" in Appendix 3 CITIZEN...
Seite 62
• When DEL ENQ 2 is executed, the settings made by, for example, ESC ! and ESC 3 remain the same as those in effect when the error occurred. A combined use of this command and ESC @ can completely initialize the printer. [See Also] DLE EOT CITIZEN...
Seite 63
(2) If the start point specified by ESC T is top right or bottom left, the command uses the vertical basic calculation pitch (y). • The maximum settable right spacing is approximately 35.983 mm (255/180 inches). setting greater than this maximum is trimmed to the maximum. [Default] n = 0 [See Also] GS P CITIZEN...
Seite 68
DATA &HF8, &H06, &H01 LPRINT CHR$ (D) ; DATA &HF8, &H06, &H01 NEXT I DATA &H9F, &H06, &H01 NEXT J DATA &H87, &HFE, &H01 RETURN DATA &H80, &HFF, &HF9 DATA &H80, &H07, &HF9 DATA &HFF, &HFF, &HFF [Print Results] CITIZEN...
Seite 69
Same as the internal character set [See Also] ESC % [Example] Create each data bit by setting "1" for a printed dot and "0" for an unprinted dot. [Sample Program] [Print Results] See Sample Program and Print Results for ESC % on page 52. CITIZEN...
Seite 70
• When the values set in m (Bit image mode) are out of the above range, the data following after n1 is processed as normal printing data. • After completion of bit image printing, printer returns to normal data processing mode. [Example] CITIZEN...
Seite 71
LPRINT CHR$ (&H00) ; LPRINT CHR$ (&HA) ; LPRINT CHR$ (&H05) ; NEXT I FOR I=1 TO 3 LPRINT CHR$ (&HFF) ; NEXT I RETURN [Print Results] 8-dots single density 8-dots double density 24-dots single density 24-dots double density CITIZEN...
Seite 74
(perpendicular to the paper feed direction) basic calculation pitch (x). The maximum settable line feed width is 1016 mm (40 inches). A setting greater than this maximum is trimmed to the maximum. [Default] 4.23 mm [See Also] ESC 2, ESC c1, GS P CITIZEN...
Seite 76
LPRINT CHR$ (&H1B) ; " ! " ; CHR$ (&H30) ; LPRINT CHR$ (&H1B) ; "V" ; CHR$ (1) ; Each setting has been LPRINT "AAA" ; CHR$ (&HA) ; initialized this LPRINT CHR$ (&H1B) ; "@" ; command. LPRINT "AAA" ; CHR$ (&HA) ; CITIZEN...
Seite 77
[Default] • Initial value is specified for each eight characters (9th., 17th., 25th. columns) of Font A. [See Also] [Sample Program] [Print Results] See Sample Program and Print Results for HT on page 40. CITIZEN...
Seite 79
The print result of double printing and highlight character printing is completely same. [See Also] ESC E [Sample Program] [Print Results] LPRINT CHR$ (&H1B) ; "G" ; CHR$ (0) ; LPRINT "AAABBB" ; CHR$ (&HA) ; LPRINT CHR$ (&H1B) ; "G" ; CHR$ (1) ; LPRINT "AAABBB" ; CHR$ (&HA) ; CITIZEN...
Seite 80
The beginning of the line is taken as the start position for the next print. [Default] Undefined [Sample Program] [Print Results] See Sample Program and Print Results for ESC 2 on page 57. CITIZEN...
Seite 81
(4) GS L Setting the left margin. (5) GW W Setting the print area width. ESC @ restores Standard mode. [See Also] "Page Mode" in Appendix 1 FF, CAN, ESC FF, ESC S, ESC T, ESC W, GS S, GS ¥ CITIZEN...
Seite 82
FOR I=0 TO 10 LPRINT CHR$ (&H1B) ; "R" ; CHR$ (I) ; LPRINT " #$@[¥]^" ; ∼ LPRINT CHR$ (&H60) ; " { ¦ } " ; LPRINT "n=" ; STR$ (I) ; LPRINT CHR$ (&HA) ; NEXT I [Print Results] CITIZEN...
Seite 83
Standard mode use. (1) Spacing setting: ESC SP (2) Line feed width setting: ESC 2, ESC 3 • Standard mode is selected when the printer is turned on or when ESC @ is executed. [See Also] FF, ESC FF, ESC L CITIZEN...
Seite 85
No underlines are attached to 90°-right- turned characters . [Default] n = 0 [Sample Program] [Print Results] LPRINT CHR$ (&H1B) ; "V" ; CHR$ (0) ; LPRINT "AAAAA" ; LPRINT CHR$ (&H1B) ; "V" ; CHR$ (1) ; LPRINT "AAAAA" ; CHR$ (&HA) ; CITIZEN...
Seite 86
• Fractions resulting from calculations are corrected with the minimum pitch of the mechanism, and the remainder is omitted. • The horizontal start point and horizontal length are calculated with the basic calculation pitch (x). The vertical start point and vertical length are calculated with the basic calculation pitch (y). CITIZEN...
Seite 88
(2) If the start point is top right or bottom left, the command specifies the relative position in the paper feed direction (the character’s side-to-side direction), using the vertical basic calculation pitch (y). [See Also] ESC $, GS P [Sample Program] [Print Results] See Sample Program and Print Results for ESC $ on page 51. CITIZEN...
Seite 90
This printer can only select one kind of paper-end detection, a paper-near-end sensor. "n" is valid for the least significant bit (n0). [Default] n = 0 [Sample Program] LPRINT CHR$(&H1B);"c4";CHR$(0); •••••••When stopping printing at the paper end LPRINT CHR$(&H1B);"c4";CHR$(1); •••••••When stopping printing at the paper near end CITIZEN...
Seite 91
If [n × line feed width] exceeds approximately 1016 mm, this command feeds paper by [Caution] approximately 1016 mm (40 inches). [Default] The initial value is not defined. [Sample Program] LPRINT "AAAAA" LPRINT CHR$ (&H1B) ; "d" ; CHR$ (2) ; LPRINT "AAAAA" ; CHR$ (&HA) ; [Print Results] CITIZEN...
Seite 94
The initial value for "m", "n1" and "n2" is not defined. [Sample Program] LPRINT CHR$ (&H1B) + "p" LPRINT CHR$ (0) ; ••••••• Selects pin No. 2. LPRINT CHR$ (5) ; ••••••• Sets ON time to 10ms LPRINT CHR$ (50) ; ••••••• Sets OFF time to 100ms CITIZEN...
Seite 95
LPRINT CHR$ (&HA) ; LPRINT CHR$ (&H1B) + "t" + CHR$ (1) ; LPRINT " n=1 " ; FOR C=&HB1 TO &HB5 LPRINT CHR$ (C) ; NEXT C LPRINT CHR$ (&HA) ; [Print Results] n = 0 n = 1 CITIZEN...
Seite 97
These definitions are, therefore, interchanged when 90°-right-turned characters are specified. • In Page mode, the vertical direction means the top-bottom direction of each character. The horizontal direction means the side-to-side direction of each character. CITIZEN...
Seite 98
• If characters of different vertical magnification are contained in a line, the baseline of each character is lined up. • Horizontal and vertical magnification can also be specified/canceled by ESC !. The ESC ! or GS ! command, whichever is handled last, becomes effective. [Default] n = 0 [See Also] ESC ! CITIZEN...
Seite 99
• The basic calculation pitch is set by GS P. • Fractions resulting from calculations are corrected with the minimum pitch of the mechanism, and the remainder is omitted. [See Also] ESC $, ESC T, ESC W, ESC ¥, GS P, GS ¥ CITIZEN...
Seite 100
• A download character and a download bit image cannot be defined simultaneously. With this command executed, defined content of a downloaded character is cleared. • Relations between the bit image data and the dot defined are shown below: [See Also] GS / n1×8 dots n2×8 dots CITIZEN...
Seite 101
IMG : n 1 = 10 : n 2= 5 LPRINT CHR$ (&H1D) + "∗" ; LPRINT CHR$ (n1) + CHR$ (n2) ; FOR J=1 TO n1∗8 FOR I=1 TO n2 LPRINT CHR$ (J) ; NEXT I NEXT J RETURN CITIZEN...
Seite 102
• A downloaded character and a downloaded bit image cannot be defined simultaneously. [Default] The initial value is not specified. [See Also] GS * [Sample Program] [Print Results] See Sample Program and Print Results for GS * on page 84. CITIZEN...
Seite 104
• This command does not affect the space between lines. • Black/white inversion specification take precedence over underline specification. Underline printing due to underline specification is, therefore, nullified if black/white inversion is specified; the underline setting, however, remains unchanged. [Default] n = 0 CITIZEN...
Seite 106
ID sending depending on the condition of the receive buffer. • If ASB (automatic status back) is enabled by GS a, the host must discriminate between the printer ID due to this command and the status due to ASB. CITIZEN...
Seite 107
(1) The print area is extended toward the left (so that the left margin is decreased) until it is 9-dot wide, but not wider than the printable area. [Default] nL = 0, nH = 0 [See Also] GS P, GS W CITIZEN...
Seite 108
[Default] x = 180, y = 360 [See Also] "Page Mode" in Appendix 1 ESC SP, ESC $, ESC 3, ESC J, ESC W, ESC ¥, GS $, GS L, GS W, GS ¥ CITIZEN...
Seite 109
• The basic calculation pitch is set by GS P. The paper feed amount is calculated with the vertical basic calculation pitch (y). A fractionresulting from the calculation is corrected with the minimum pitch of the mechanism, and the remainder is omitted. CITIZEN...
Seite 110
(1) The print area is extended toward the right to accommodate the first character, but not wider than the printable area. Printable Area Extended toward the right Left Margin Print Area Width CITIZEN...
Seite 111
(1) The print area is extended toward the left (so that the left margin is decreased) until it is equal to the minimum width of the image, but not wider than the printable area. [Default] nL = 0, nH = 2 [See Also] GS L, GS P CITIZEN...
Seite 112
(the character's top-bottom direction) using the horizontal basic calculation pitch (x). • The basic calculation pitch is set by GS P. • Fractions resulting from calculations are corrected with the minimum pitch of the mechanism, and the remainder is omitted. CITIZEN...
Seite 113
• While in macro execution with n3=1, paper feed with the FEED switch is not available. [Default] Initially, this command is not specified. [See Also] GS : [Sample Program] [Print Results] See Sample Program and Print Results for GS : on page 87. CITIZEN...
Seite 114
(ESC =), the 4 bytes of status is sent to the host whenever status changes. • When DLE EOT, GS I, or GS r is used, the host must discriminate between the status due to that command and the status due to ASB. CITIZEN...
Seite 115
Status Hex. Decimal Paper found by paper near end detector Paper not found by paper near end detector Paper found by paper end detector Paper not found by paper end detector Unused Undefined — — Undefined — — Unused CITIZEN...
Seite 116
(4) 4th byte (paper detector information) Status Hex. Decimal Undefined — — Undefined — — Undefined — — Undefined — — Unused Undefined — — Undefined — — Unused [See Also] DLE EOT, GS r, "Identification of Send Status" in Appendix 3 CITIZEN...
Seite 117
LPRINT CHR$ (&H1D) ; "f" ; CHR$ (1) ; GOSUB *BC *BC : LPRINT CHR$ (&H1D) ; "k" ; LPRINT CHR$ (4) ; LPRINT "123" ; CHR$ (0) ; LPRINT CHR$ (&HA) ; RETURN [Print Results] FONT A FONT B CITIZEN...
Seite 118
1 ≤ n ≤ 255 [Range] [Outline] Selecting bar code height. "n" denotes the number of dots in the vertical direction. [Default] n = 162 [Sample Program] [Print Results] See Sample Program and Print Results for GS w on page 111. CITIZEN...
Seite 119
For (1): • This command ends with a NUL code. • For UPC-A or UPC-E, the bar code is printed when 12 bytes of bar code data has been entered, and the subsequent data is handled as normal data. CITIZEN...
Seite 120
• If the bar code is wider than the print area, the bar code is not printed, but the data mapping start position is moved to the left end outside the print area. [Default] Undefined [Description of Bar Codes] <For print examples, see page 108.> CITIZEN...
Seite 121
" 0 1 2 3 4 5 6 7 8 9 A B C D $ + − . / : " A start/stop code is required; any one of A, B, C, and D is used. CITIZEN...
Seite 122
The codeset following a codeset select character is switched to codeset A, B, or C. • Function characters (FNC1, FNC2, FNC3, FNC4) How the function characters are used depends on each application. In codeset C, only FNC1 is available. CITIZEN...
Seite 123
An HRI character for either a function character or a control character is treated as a space character. [Sample Program] [Print Results] LPRINT CHR$ (&H1D) ; "H" ; CHR$ (2) ; LPRINT CHR$ (&H1D) ; "k" ; LPRINT CHR$ (4) ; LPRINT "123" ; CHR$ (0) ; CITIZEN...
Seite 124
Variable-length bar code consisting of all Bar Code 9 128 ASCII code characters. Printing is done depending on bar code specification type, number of print digits, bar code height, width (magnification), HRI character presence, and bar code data specification. CITIZEN...
Seite 125
Bits 2, 3: Whenever the paper end detector detects a "paper out" state, the printer goes offline, and the command is not executed. The printer, therefore, never sends a status where bit 2 = "1" or bit 3 = "1". CITIZEN...
Seite 126
Status of pin 3 of drawer kick connector = "H" Undefined — — Undefined — — Undefined — — Unused Undefined — — Undefined — — Unused [See Also] DLE EOT, GS a, "Identification of Send Status" in Appendix 3 CITIZEN...
User’s Manual 11.8 International Character Codes Table CITIZEN...
Seite 136
(1) The values set with commands are common to the standard and page modes. The values set with any of the four commands listed below are, however, treated differently and stored separately for the standard and page modes. ESC SP, ESC 2, ESC 3, FS S CITIZEN...
Seite 137
The line feed width needs to be increased. In the following example the line feed width for the first line should equal at least 27 dots (see the figure "Mapping Position for a Downloaded Bitmap Image"). CITIZEN...
Seite 138
Because the default of the basic calculated pitch is 1/180 for the horizontal direction and 1/360 for the vertical direction, some error can occur, such as position specification, depending on the print direction. No error occurs if the basic calculated pitch for the vertical direction is set to 1/180 by the GSP command. CITIZEN...
Seite 139
User’s Manual Mapping Direction Baseline Point A Print Area [Mapping Positions for Character Data] Bar Code Downloaded Vertically Doubled Character Image Bit Image Baseline (HRI Characters) Point B Point B Point B Point B [Mapping Position for Print Data] CITIZEN...
Seite 140
User’s Manual Mapping Direction Baseline Point A Downloaded Bit Image Baseline Point B Point B Print Area [Mapping Position for a Downloaded Bit Image] CITIZEN...
Seite 141
The program in Example 1 reserves a print area of 200 (400 pitches extending from the start point (0, 0)), and then prints the text "Page mode lesson Test 1" on the first line of the print area as shown in Paper Print Area Figure 1-1 CITIZEN...
Seite 142
ESC T is used to specify the print direction to be 0 (line 130). After the above setup, print data is sent (lines 140 - 160). Finally, an FF is sent (line 170) to Figure 1-2 produce a print-out as shown in Figure 1-2. CITIZEN...
Seite 143
When strings are removed with CAN, the area where the string would have been is not used by the rest of the data, instead it is converted into a sequence of spaces. Paper Print Area Figure 1-3 Figure 1-3 CITIZEN...
8-bit data signal line. For Byte mode, the host must be capable of toggling the signal direction over the 8-bit data signal line. Communication from the host to the printer is called Forward mode, while communication from the printer to the host is called Reverse mode. CITIZEN...
Interfacing in each communication mode is divided into several phases. In addition, there is a phase for mode initialization, as well as a phase for mode switching. Interface signals may differ in name and function for different modes and different phases. CITIZEN...
Available phase or Termination phase, and then returns to the Compatibility mode. 11) If the printer cannot support the communication mode requested by the host, it sets Xflag (Select) as follows: When Nibble mode is requested: High When Byte mode is requested: CITIZEN...
None Nibble Mode Reverse Channel Transfer 00000000 Other than Illegal or Contradictory Request Other than above above Note: The printer only supports the Nibble and Byte modes. For a request for any other mode, Xflag is set to Low. CITIZEN...
2) onwards. 12) If the host selected the Reverse Idle phase and new data becomes available to be sent from the printer, the printer sets PtrClk to Low to request the host for an interrupt. (Event 18) CITIZEN...
Seite 149
1. Performing Termination and returning to the Compatibility mode. 2. Remaining in the Host Busy Data Not Available phase. 3. Setting HostBusy (nAutoFd) to Low and moving to the Reverse Idle phase (Event 7). CITIZEN...
After receiving the ID of the length indicated by the first two bytes, the host must carry out the termination even if the printer has data to send (Data Available). If the host does not carry out Termination and tries to receive data, the printer sends the printer status. CITIZEN...
Seite 151
If the printer has data to send, it initiates the Interrupt phase indicated by events 8 and 9. In this case, if 128 - Active (nSelectIn) was set to Low before HostBusy (nAutoFd) changed from High to Low, the printer interprets that the host has switched to the Termination phase and completed the normal termination handshake. CITIZEN...
Seite 152
XOFF should be treated as ASB data. Identification of Send Status Command and function Status GS I <0**0****>B GS r <0**0****>B <00010001>B XOFF <00010011>B DLE EOT <0**1**10>B ASB (1st byte) <0**1**00>B ASB (2nd - 4th bytes) <0**0****>B CITIZEN...
Seite 157
8. Bitte wenden Sie sich mit Fragen oder Hinweisen auf Fehler oder Auslassungen im Text dieser Anleitung an unsere Geschäftsstelle. 9. Beachten Sie jedoch, daß wir, ungeachtet des obigen Punkts 8, keinerlei Haftung für negative Folgeerscheinungen im Zusammenhang mit dem Betrieb dieses Geräts übernehmen. CITIZEN...
Die Mißachtung dieser Vorsichtsmaßregel kann zu Körperverletzungen mit möglicher Todesfolge führen. VORSICHT Die Mißachtung dieser Vorsichtsmaßregel kann zu Körperverletzungen oder Sachschäden führen. Dieses Symbol ruft den Bediener zu erhöhter Wachsamkeit auf. Dieses Symbol weist auf wichtige Informationen, wie z.B. Bedienungsschritte oder dergleichen, hin. CITIZEN...
Seite 159
• Wenden Sie sich bei einer Beschädigung des Netzteilkabels bitte an unsere Kundendienstvertretung. • Das Netzteil niemals mit nassen Händen anschließen oder trennen. Hierdurch können Brände, elektrische Schläge und sonstige Probleme entstehen. Verpackungsbeutel sind vorschriftsgemäß zu entsorgen oder ansonsten von Kindern fernzuhalten. Kleinkinder können durch Überstreifen eines Plastikbeutels ersticken. CITIZEN...
Das Gerät an einem Platz in der Nähe einer Steckdose betreiben, wo sich der Netzstecker zum Unterbrechen der Stromversorgung jederzeit schnell und mühelos abziehen läßt. • Wenn das Gerät längere Zeit lang nicht benutzt wird, den Stecker abziehen und die Papierrolle herausnehmen. • Beim Transport des Geräts die Papierrolle aus dem Papierhalter nehmen. CITIZEN...
Darauf achten, körperliche Verletzungen und die Beschädigung anderer Objekte durch scharfe Kanten zu vermeiden. • Bei Auftreten jeglicher Störungen während des Betriebs den Drucker sofort ausschalten, und das Netzkabel aus der Steckdose ziehen. • Die Beseitigung von Betriebsstörungen ist qualifiziertem Fachpersonal zu überlassen. Niemals versuchen, das Gerät eigenhändig zu zerlegen. CITIZEN...
3. Die Druckwalzeneinheit wieder anbringen. VORSICHT: Die Wartung nicht direkt nach dem Drucken ausführen, da Druckkopf und Motor sich beim Betrieb stark erhitzen. Nicht die Oberfläche der Heizeinheit des Druckkopfes mit der bloßen Hand oder mit Metallgegenständen berühren. CITIZEN...
Seite 163
An der im folgenden abgebildeten Stelle ist ein Warnaufkleber angebracht. Die zum korrekten Betrieb des Geräts zu beachtenden Sicherheitshinweise sorgfältig lesen. Dieser Aufkleber warnt davor, daß der Kopf während des Betriebs sehr heiß wird und seine Berührung zu Verbrennungen führen kann. CITIZEN...
• Das Netzkabel nicht in der Nähe von Heizkabeln verlegen. Die Ummantelung könnte schmelzen und zu Bränden oder elektrischen Schlägen führen. • Nach der Verwendung des Druckers oder wenn das Gerät längere Zeit über nicht verwendet werden soll immer aus Sicherheitsgründen, Netzstecker abziehen. Stecker Netzteil Netzkabel Abgeflachte Seite Netzanschlußbuchse CITIZEN...
Sie ihn an den Anschluß des Schubladenausschubsteckers am unteren Teil des Druckers an. 3. Schrauben Sie das Erdungskabel der Schublade an den Erdungsanschluß an, den Sie am unteren Teil des Druckers sehen. VORSICHT : • Nur den vorgeschriebenen Schubladenausschubbuchse Lade-(Magneten) an den Laden-Auszugstecker anschließen. (Nicht an eine Telefonleitung anschließen.) Schubladenausschubstecker Erdungsanschluß CITIZEN...
5. Überprüfen, daß sich die Papierrolle zwischen den Papierfreigabehebeln befindet, das Papierrollenende bis an die Kante der Druckerabdeckung ziehen und die Druckerabdeckung schließen. Das Papier wird automatisch eingezogen und tritt am Papierauslauf des Druckers aus. 6. Überschüssiges Papier Papierabreißkante Papierauslauf automatischen Schneidemechanismus abreißen. Konvex Papierfreigabehebel Papierfreigabehebel Druckerabdeckung CITIZEN...
Seite 167
Wenn die Papierrolle während des Druckvorgangs gehalten oder berührt wird, führt dies möglicherweise zu einem Papierstau. • Wenn der automatische Schneidemechanismus zum vollständigen Abschneiden des Papiers verwendet wird, das abgeschnittene Papier vor dem nächsten Druckvorgang entfernen, um einen Stau zu vermeiden. CITIZEN...
Schneidemechanismus eingeführt (und ragt ein wenig aus dem Papierauslauf des automatischen Schneidemechanismus heraus). 7. Wenn die Druckerabdeckung geschlossen ist, wird das Papier einige Zeilen weiter transportiert, so daß Schneiden und Drucken möglich ist. Abgeschnittenes Papier vor dem Druckvorgang entfernen. Konvex Druckerabdeckung CITIZEN...
Herausnehmen der Restpapierrolle 1. Die Druckerabdeckung öffnen. 2. Beide Papierfreigabehebel in Pfeilrichtung stellen. Die Druckwalze wird dann vom Druckkopf abgehoben, und das Papier kann entfernt werden. VORSICHT: • Beim Herausziehen Papiers Vorwärts- oder Rückwärtsrichtung) den Papierfreigabehebel in Pfeilrichtung stellen. Papierfreigabehebel CITIZEN...
• Beim Entfernen von verbleibendem Papier nicht die Heizoberfläche des Kopfes mit bloßen Händen oder Metallgegenständen berühren. • Beim Wiedereinsetzen der Druckwalzeneinheit immer bestätigen, daß sie korrekt angebracht ist. • Vor dem Entfernen der Druckwalzeneinheit das Gerät immer ausschalten. CITIZEN...
Seite 171
User’s Manual Gehäusehaken Druckwalzeneinheit Führungsbuchse Kopffeder Führungsbuchse CITIZEN...
Drucker mit deaktiviertem automatischen Schneidemechanismus verwendet wird, sicherstellen, daß der automatische Schneidemechanismus in der Ausgangsstellung steht. Wenn dies nicht der Fall ist, muß er durch Drehen des Notfallknopfs an der Unterseite des Druckers in Pfeilrichtung in die Ausgangsstellung gebracht werden. Notfallknopf CITIZEN...
• Nicht die Oberfläche der Heizeinheit des Druckkopfes mit der bloßen Hand oder mit Metallgegenständen berühren. • Diese Arbeit nicht sofort nach dem Drucken ausführen, da sich der Druckkopf stark erhitzt. • Vor dem Entfernen der Druckwalzeneinheit das Gerät immer ausschalten. Druckwalzeneinheit Heizeinheit Emergency Knob CITIZEN...
Nach Druckstopp eine neue Papiervorrat fast leer Papierrolle einsetzen. Papierende Eine neue Papierrolle einsetzen Schneidemechanismus- Schnelles + Den Papierstau beseitigen. Motorsperre Langsames Blinken Warten auf Den FEED-Schalter drücken Makroausführung Langsames Blinken POWER (grün) Lämpchen ERROR (rot) Lämpchen FEED -Schalter CITIZEN...
Seite 175
Durch einmaliges kurzes Drücken dieser Taste wird das Papier um eine Zeile vorgeschoben. Durch anhaltendes Drücken wird das Papier laufend vorgeschoben. Diese Taste drücken, um ein Makro auszuführen, wenn das System die Ausführung eines Makros erwartet. 4. FEED-Schalter und Netzschalter Bei gleichzeitigem Drücken von FEED-Schalter und Netzschalter wird ein Testdruck durchgeführt. CITIZEN...
• Falls weniger als eine Zeile mit Daten gedruckt werden soll, wird durch Drücken der FEED-Taste eine Einzelzeile ausgegeben. 3. Hexadezimal-Dump beenden Nach dem Druck der Daten wird die Funktion beendet, indem entweder das Gerät ausgeschaltet wird oder ein Zurücksetzen-Signal gesendet wird. < Druckbeispiel > CITIZEN...
User’s Manual DIP-SCHALTEREINSTELLUNG Lage der DIP-Schalter 1. Das Gerät ausschalten. 2. Die untere Abdeckung durch Lösen der zwei Schrauben entfernen und das Gerät auf die Seite stellen, wie unten abgebildet. Untere Abdeckung CITIZEN...
Einheiten von 4 Bit (Nibbles)) verwendet. Daten werden in beiden Richtungen auf den 8 Datenleitungen im Byte-Modus (Einheiten von 8 Bit (Bytes)) übertragen. Eine gleichzeitige Ausführung zusammen mit dem Kompatibilitätsmodus ist nicht möglich; Übertragungen im Halbduplexverfahren sind möglich. Einzelheiten siehe Anhang 2. CITIZEN...
• "n" vor dem Signal bedeutet, daß es bei "L" aktiv ist. • Es ist keine bidirektionale Übertragung möglich, wenn eines der oben aufgeführten Signale fehlt. • Es sollten immer verdrillte Adern für die Signalleitungen verwendet werden; die Rückleitungen müssen mit Signalmasse verbunden sein. CITIZEN...
Bitte wenden Sie sich an die folgenden Stellen für weitergehende Informationen. Nordamerika Andere Gebiete CBM America Corporation Japan CBM Corporation Service Center Information Systems Division 363 Van Ness Way CBM Bldg., 5-68-10, Nakano Suite 404 Nakano-ku, Tokyo 164-0001 Torrance, CA 90501, USA Japan +1-310-781-1460 +81-3-5345-7540 +1-310-781-9157 +81-3-5345-7541 CITIZEN...
Zeitpunkt empfangenen Daten in einem Durchgang gedruckt, danach kehrt der Drucker in den Standardmodus zurück. Nach dem Befehl ESC S kehrt der Drucker sofort in den Standardmodus zurück; dabei werden alle im Seitenmodus gespeicherten Druckdaten gelöscht, statt gedruckt zu werden. [Wechsel zwischen Standardmodus und Seitenmodus] Druck Seitenmodus Standardmodus Druck CITIZEN...
Seite 183
Zeilenvorschub auslöst (beispielsweise die Befehle LF oder ESC J), wird automatisch ein Zeilenvorschub ausgelöst, so daß die Ablageposition der Druckdaten um eine Zeile verschoben ist. Die nächste Position ist der Anfang dieser Zeile. Der Zeilenvorschub ist dabei durch Befehle wie ESC 2 oder ESC 3 festgelegt. CITIZEN...
Seite 184
Da der Standardwert für die Schrittweite in horizontaler Richtung 1/180 und in vertikaler 1/360 beträgt, können, abhängig von der Druckrichtung, Fehler auftreten, wie beispielsweise bei der Festlegung der Position. Es treten keine Fehler auf, wenn der Wert für die Schrittweite in vertikaler Richtung mittels des GSP-Befehls auf 1/180 gesetzt ist. CITIZEN...
Seite 185
User’s Manual Ablagerichtung Grundlinie Punkt A Druckbereich [Ablagepositionen für Zeichendaten] Strichcode Geladenes Zeichen mit doppelter Höhe Bitmap-Bild Bitmap-Bild Grundlinie (HRI-Zeichen) Punkt B Punkt B Punkt B Punkt B [Ablagepositionen für Druckdaten] CITIZEN...
Seite 186
User’s Manual Grundlinie Punkt A Geladenes Bitmap-Bild Grundlinie Punkt B Punkt B [Ablagepositionen für geladene Bitmap-Bilder] CITIZEN...
Das Programm in Beispiel 1 reserviert einen Druckbereich von 200 ( 400 Schritte ausgehend vom Startpunkt (0, 0) und gibt dann den Text "Page mode lesson Test1" in der ersten Zeile des Druckbereichs aus, wie in Abbildung 1-1 gezeigt. Papier Druckbereich Abbildung 1-1 CITIZEN...
Seite 188
ESC T die Druckrichtung 0 festgelegt (Zeile 130). Nach der oben erläuterten Einrichtung werden die Druckdaten gesendet (Zeilen 140 - 160). Schließlich wird der Befehl FF gesendet (Zeile 170), um die Ausgabe des in Abbildung 1-2 gezeigten Ausdrucks zu starten. CITIZEN...
Seite 189
Als Ergebnis des zusätzlichen Programmcodes erfolgt der Druck wie in Abbildung 1-3 gezeigt, in welchem die Zeichenkette "GH1" gelöscht wurde. Wenn Daten mit dem Befehl CAN gelöscht werden, wird der gelöschte Bereich nicht mit den verbleibenden Daten aufgefüllt, sondern er wird in eine Folge von Leerschritte konvertiert. Papier Druckbereich Abbildung 1-3 CITIZEN...
Datenübertragung vom Drucker wird eine 8-Bit-Daten-Signalleitung verwendet. Zum Einsatz des Byte-Modus muß der Host-Computer in der Lage sein, die Signallaufrichtung über die 8-Bit-Daten-Signalleitung umzuschalten. Die Übertragung vom Host-Computer zum Drucker wird Forward-Modus (Vorwärtsmodus) genannt, die Übertragung vom Drucker zum Host-Computer Reverse-Modus (Rückwärtsmodus). CITIZEN...
Der Kommunikationsvorgang in den einzelnen Übertragungsmodi unterteilt sich in unterschiedliche Phasen. Zusätzlich gibt es eine Phase für die Modusinitialisierung und eine Phase für den Moduswechsel. Die Kommunikationssignale in den verschiedenen Modi und Phasen werden unterschiedlich benannt und haben unterschiedliche Funktionen. CITIZEN...
8) Der Drucker setzt PtrClk (nAck) auf High, um anzuzeigen, daß er bereit ist, die Statusleitung zu lesen (Event 6). 9) Wenn der Drucker Übertragungsdaten hat, die für den Host-Computer bestimmt sind, wechselt der Host-Computer in die Phase "Host Busy Available" oder "Termination" und kehrt dann in den Kompatibilitätsmodus zurück. CITIZEN...
Verhandlungen befand, sondern in denjenigen Druckerstatus, in dem er sich nach der Terminierung befindet. 4) Wenn der Host-Computer einen Übertragungsmodus angefordert hat, der vom Drucker nicht unterstützt wird, muß er in die Terminierungsphase eintreten und dann in den Kompatibilitätsmodus zurückkehren. CITIZEN...
Seite 194
Byte-Modus, Rückwärtskanalübertragung 00000001 High Ohne Nibble-Modus, Rückwärtskanalübertragung 00000000 Anders Illegale oder widersprüchliche Anforderung Anders als oben als oben Hinweis: Dieser Drucker unterstützt nur den Nibble- und den Byte-Modus. Wenn ein anderer Modus angefordert wird, geht Xflag auf Low. CITIZEN...
3. Setzen von HostBusy (nAutoFd) auf Low (Event 7) und Wechsel in die Phase "Reverse Idle". 10) Wenn nach der Übertragung eines Bytes (zwei Nibble) der Drucker weitere Daten senden will, wählt der Host-Computer einen der folgenden drei Stati: CITIZEN...
Seite 196
Zurückgekehrt in den Status, der im Forward-Modus galt. •nDataAvail (nFault): Auf Low gesetzt, wenn Daten zu senden sind. •AckDataReq (PError): Auf Low gesetzt, wenn Daten zu senden sind. •Xflag (Select): Xflag (Select): Auf den Status gesetzt, der bei der letzten Verhandlung ausgehandelt wurde (beispielsweise auf Low). CITIZEN...
Geräte-ID empfangen ist. Wird der Vorgang während der Durchführung beendet, verwirft der Drucker den Rest der Zeichenkette; wenn der Drucker ein weiteres Mal die Anforderung der Geräte-ID empfängt, sendet er die Geräte-ID beginnend mit dem ersten Zeichen der ID. CITIZEN...
In der Phase "Reverse Idle" kann der Drucker dem Host-Computer mitteilen, daß Daten zur Übertragung an den Host-Computer vorliegen. Diese Mitteilung kann gleichzeitig mit der Terminierung erfolgen, um den Host-Computer aus der Idle-Phase in den Kompatibilitätsmodus wechseln zu lassen. CITIZEN...
Seite 199
Fall, falls 128 - Active (nSelectIn) auf Low geht, bevor HostBusy (nAutoFd) von High auf Low gewechselt hat, deutet der Drucker die Sachlage so, als ob der Host-Computer in die Terminierungsphase gewechselt und den normalen Terminierungs-Handshake abgeschlossen hätte. CITIZEN...
Bytes - mit Ausnahme von XOFF - als ASB-Daten behandelt werden. Ermittlung des Sendestatus Befehl und Funktion Status GS I <0**0****>B GS r <0**0****>B <00010001>B XOFF <00010011>B DLE EOT <0**1**10>B ASB (1. Byte) <0**1**00>B ASB (2. - 4. Byte) <0**0****>B CITIZEN...
Seite 201
Information Systems Division CBM Bldg., 5-68-10, Nakano, Nakano-ku, Tokyo 164-0001, Japan Head Office Tel: (+81-3) 5345-7540 Fax: (+81-3) 5345-7541 05E-20000208-1000-0204-5500 Printed in Japan...