Declaration of Conformity Manufacturer’s Name : Japan CBM Corporation Manufacturer’s Address : CBM Bldg., 5-68-10, Nakano, Nakano-ku Tokyo, 164-0001, Japan Declare the Product Product Name Model Number(s) Line Thermal Printer iDP3240 Series (iDP3240RF/PF) (S.No.
IMPORTANT SAFETY INSTRUCTIONS • Read all of these instructions and save them for future reference. • Follow all warnings and instructions marked 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 use this product near water. • Do not place this product on an unstable cart, stand or table. The product may fall, causing serious damage to the product.
WICHTIGE SICHERHEITSANWEISUNGEN • Lesen Sie die nachfolgenden Anweisungen sorgfältig durch und bewahren Sie sie auf. • Befolgen Sie alle auf dem Drucker vermerkten Hinweise und Anweisungen. Vor dem Reinigen grundsätzlich Stecker aus der Steckdose ziehen. Keine Flüssigkeiten oder Aerosolreiniger benutzen. Nut mit einem feuchten Tuch abwischen. • Der Drucker darf nicht in der Nähe von Wasser aufgestellt werden. • Drucker nicht auf einem unstabilen Wagen, Stand oder Tisch aufstellen.
IMPORTANT: This equipment generates, uses, and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual, may cause interference to radio communications. It has been tested and found to comply with the limits for a Class A computing device pursuant to Subpart J of Part 15 of FCC Rules, which are designed to provide reasonable protection against such interference when operated in a commercial environment.
GENERAL PRECAUTIONS • Prior to using the iDP3240 Printer, be sure to read this User’s Manual thoroughly. Please keep it handy so that you can refer to it whenever necessary. • The information contained herein may be changed without prior notice. • Reproduction of part or all of the User’s Manual without permission is strictly prohibited. • Never service, disassemble, or repair parts that are not described in the User’s Manual.
SAFETY PRECAUTIONS — WHICH SHOULD BE STRICTLY OBSERVED In order to help prevent safety hazards to operators or any other persons and damages to property, special warning symbols are used in this User’s Manual to indicate important items to be strictly observed. • The following describes the degrees of hazards and damages that can occur if the iDP3240 Printer is incorrectly operated without observing the instructions indicated by the warning symbols.
WARNING ● Never handle the iDP3240 Printer in the manners descried below; otherwise, it may be damaged, get out of order or overheated, possibly causing smoke, fire or electric shock. If the printer is damaged or breaks down, be sure to turn off the power, disconnect the power plug from the wall outlet, and contact your CBM dealer. • Do not allow the printer to be subjected to any strong impact or shock, such as stamping, hitting, dropping, and the like. • Install the printer in a well-ventilated place.
PRECAUTIONS FOR INSTALLATION • Do not use or store the iDP3240 Printer in a place exposed to heat of fire, moisture or direct sunlight, or in a place where the prescribed operating temperature and humidity are not met, or in a place exposed to oily mist, iron powder or dust; otherwise, the printer may get out of order, emit smoke or catch fire.
PRECAUTIONS FOR HANDLING Observe the following precautions to use the iDP3240 Printer correctly and avoid troubles from occurring. • Do not use any other power supply than the specified AC adapter. • Do not allow the printer to start printing when there is no recording paper installed. • Be careful not to drop foreign substances, such as paper clips, pins or screws, into the printer. • Do not spill any liquid on the printer, or spray it with any chemical-containing liquid.
In the position indicated below, a label is provided to alert your attention. Read the cautionary information on it, and handle the printer properly. This label alerts you to the print head as it becames HOT, and if you touch it, you may get burnt. Print head HOT AREA: Be careful not to touch this area to avoid burns as it becomes HOT.
i DAILY MAINTENANCE • Prior to start maintenance work, be sure to turn off the printer. • When cleaning the platen, use a cotton swab applied with ethyl alcohol and wipe off stains. Platen CAUTION: Avoid cleaning the print head immediately after printing is finished. The print head is HOT. • Use a dry soft cloth to wipe off stains and dust from the surfaces of the printer covers. • When wiping clean heavily stained areas, use a cloth which should be dipped in water and then wrung strongly.
i DAILY MAINTENANCE Cleaning the print head 1 Turn off the power of the printer. 2 Remove the platen roller unit. Refer to “4.6 Removing paper Jams”. 3 Using a gauze impregnated with a small amount of alcohol, wipe off stains and dust on the heat-emitting surface of the head. 4 Replace the platen roller unit. Print head CAUTION: Avoid cleaning the print head immediately after printing is finished. The print head is HOT. Do not touch the heat-emitting surface of the head with bare hands or metal objects.
THE TABLE OF CONTENTS 1. GENERAL OUTLINE ................................................................... 1 1.1 Features ..................................................................................................... 1 1.2 Unpacking .................................................................................................. 2 1.3 Before using the printer ............................................................................ 3 2. BASIC SPECIFICATIONS ....................................
6. PARALLEL INTERFACE ............................................................. 29 6.1 Bidirectional Parallel Interface (IEEE1284) ............................................ 29 6.1.1 Compatibility Mode (Host → Printer communication : Centronics compliant) .................................................................... 29 6.1.2 Reverse Mode (Printer → Host communication) .......................... 29 6.1.3 Connector Pin Configuration .......................................................... 30 6.
10. PRINT CONTROL FUNCTIONS .............................................. 42 10.1 Command List ....................................................................................... 42 10.2 Command Details .................................................................................. 45 10.2.1 Description of Each Item .............................................................. 45 10.2.2 Command Details .......................................................................... 46 11.
14. APPENDIX 3. IDENTIFICATION OF SEND STATUS ............... 166 15. APPENDIX 4. OUTLINE DRAWING...................................... 167 15.1 iDP3240 ................................................................................................ 167 15.2 AC Adapter (31AD) .............................................................................. 168 16. APPENDIX 5. BLOCK DIAGRAM ..........................................
<<< German >>> INHALT 4. BETRIEB .................................................................................. 179 4.1 Anschließen des Netzteils und Netzkabels ......................................... 179 4.2 Anschließen der Schnittstellenkabel ................................................... 180 4.3 Anschließen des Drawer Kickout-Steckers ......................................... 181 4.4 Einlegen / Auswechseln von Papierrollen ........................................... 182 4.4.
7. SERIELLE SCHNITTSTELLE ................................................... 203 7.1 Technische Daten .................................................................................. 203 7.2 Belegung der Anschlußstifte ................................................................ 204 7.3 Beschreibung der Eingangs- und Ausgangssignale .......................... 205 7.3.1 Eingangs- und Ausgangssignale ................................................. 205 7.3.2 Fehlererkennung ...........................
1. GENERAL OUTLINE The iDP3240 is a compact-sized, line thermal printer developed for a variety of applications. It has abundant built-in features, and can be used as a data communication terminal, pos terminal, kitchen terminal and for other applications. 1.1 Features • Compactness and lightweight with a small footprint. • Low-cost design accomplished by using as small a component count as possible. • Simple paper setting - All you have to do is just drop in a paper roll and closing the cover.
1.2 Unpacking When unpacking the printer, confirm that the following are provided: • Printer ............................................................................................ 1 unit • Sample paper roll ......................................................................... 1 piece • AC adapter ..................................................................................... 1 piece • AC power cord ..............................................................................
1.3 Before using the printer Before using the printer, remove the head protective paper using the following procedure: 1 Open the printer cover. 2 Pull the platen levers in the direction shown. 3 Pull out the protective paper in the direction of the arrow. When the printer is not used for a prolonged period of time, insert a sheet of printing paper in use between the platen roller and the head. Platen lever Printer cover CAUTION: • Install the printer on a flat, sturdy table.
2. BASIC SPECIFICATIONS 2.
2.2 Basic Specifications Model iDP3240-RF120 iDP3240-RF230 iDP3240-PF120 iDP3240-PF230 Line thermal dot print method 104 mm/832 dots 8 dots/mm (203 dpi) 80 mm/sec (Fastest, printing ASCII, print density level 2, applicable to printing of 60 or fewer columns) Number of print Font A: 69/60 columns (12 × 24) columns*1 Font B: 92/80 columns (9 × 24) Character size Font A: 1.25 × 3.00 mm; Font B: 0.88 × 3.
2.3 Print Paper Specifications 2.3.
2.3.2 Print Position and Barcode Printing Roll paper width 112 mm provided: Paper width 112 mm applies to printing area 103.5 mm (832 dots), and both left and right margins each ca. 4.25 mm. Paper width 112 mm 0.125 mm Print area 103.5 (90) mm The values in ( ) are for when the 60 column format is used. 4.25 (11) mm Figure 1 4.25 (11) mm Printing Area 1 field 1 1 field 3 192 449 193 448 704 705 field 2 832 Slight shift possible.
2.3.3 Cutter Position Top print line —8— Paper feed direction Approx. 15.5 mm Auto cutting position Approx.
3. OUTER APPEARANCE AND COMPONENT PARTS 3.
4. OPERATION 4.1 Connecting the AC Adapter and AC Power Cord 1 2 3 Turn off the power of the printer. With the flat side of the AC adapter’s cable connector facing upward, insert the cable connector into the power connector on the back side of the printer. Cable connector Connect the AC power cord to the AC adapter of the printer or the AC AC adapter adapter, and insert the AC powercord plug into a suitable wall outlet.
4.2 Connecting Interface Cables 1 Turn off the power of the printer. (As well as the host computer connected.) 2 Orienting the interface cable terminal correctly, insert it into the interface connector. 3 Secure the cable terminal as shown below. Serial interface cable: Fasten the connector with screws. Parallel interface cable: Hold the connector with clamps. 4 Connect the other end of the interface cable to the host computer.
4.3 Connecting the Drawer Kick-Out Connector 1 2 Turn off the power of the printer. 3 Fasten the ground wire to the ground connector on the printer with a screw. Drawer kick-out connector Orienting the Drawer Kick-Out Cable Connector correctly, insert it into the Drawer Kick-Out Connector on the back of the printer. Ground wire Drawer Kick-Out Cable connector CAUTION: • Do not connect any other device than the specified drawer (Solenoid) to the Drawer Kick-Out Connector.
4.4 Setting / Replacing Paper Rolls 4.4.1 Setting Paper Rolls 1 2 3 Turn on the power of the printer. Placing your hands on the small hollows on both sides of the printer cover, lift the cover up until it comes to a stop. Small hollows Cut the end of the paper roll at right angles and in a straight line.
4 Check the winding direction of the paper roll, and then place it into the paper roll holder in the Top cover. 5 With the paper roll placed between the platen levers on both sides of the printer, pull the end of the paper roll out up to the end of the Top cover, and close the printer cover. The paper roll is set to come out of the printer through the paper output slot automatically.
CAUTION: • Always use the specified types of paper roll. • Use of other types of paper roll may not be able to guarantee the specified print quality or service life of the printer. • Pull out the end of the paper roll up to the end of the upper cover. The end of the paper should not go beyond or short of the end of the Top cover. • When the paper roll is set, the paper end may sometimes come out folded over.
4.4.2 Setting Paper Rolls when Easy Loading is Disabled (“5.2” DS1-3 ON) 1 2 Follow steps 1 to 4 in “4.4.1 Setting Paper Rolls”. 3 The paper is automatically pulled in by the platen roller and guided into the auto-cutter. (The end of the paper will slightly stick out of the paper output slot of the cutter.) 4 After closing the printer cover, the paper will be fed for a few more lines and then automatically cut. Now, the printer is ready for printing. Remove the piece of paper cut off.
4.5 Removing the Remainder of Paper Rolls 1 2 Open the printer cover. Platen lever Pull both platen levers in the direction of the arrows to separate the platen roller from the head, and then pull out the paper roll. Printer cover CAUTION: When removing the paper roll (in either direction), the platen levers must be pulled.
4.6 Removing Paper Jams 1 2 3 4 Turn off the power of the printer. 5 Hold and lift the platen levers, and the platen roller unit can be removed. Chassis hook Open the printer cover. Cut the paper near the paper insertion slot. Move the head springs on both sides in the direction of arrows to unhook them from the chassis hooks, and lift them up. Push guide Head spring Platen roller unit 6 Remove any paper remaining in the paper path.
4.7 Releasing a Locked Cutter 1 Remove any paper in the paper path following the procedure in “4.6 Removing Paper Jams”. 2 Turn on the power of printer. The auto cutter initializes itself, returning the cutter blade to the normal position. The alarm condition is also cleared.
4.8 Cleaning the Print Head 1 Remove the platen roller unit following the procedure in “4.6 Removing Paper Jams”. 2 Wipe off stains, such as dust and the like, on the heating element of the head using a cotton swab impregnated with ethyl alcohol. 3 Replace the platen roller unit. Platen roller unit Print head CAUTION: • Do not touch the heat-emitting surface of the head with bare hands or metal objects.
4.9 Operation Panel and Error Indication POWER lamp (Green) Lights when the power is turned on. It blinks when a memory check error has occurred. ERROR lamp (Red) Lights or blinks to show different error states.
Description of errors Cover open: When you open the printer cover, the cover open sensor is activated, causing the ERROR LED to light and the printing operation to stop. However, by making a proper setting on the DIP switch, the paper can be fed through the printer with the cover open. Head overheat: To protect the print head from being overheated, the head temperature sensor is activated if the head temperature rises over approx. 65°C, causing the ERROR LED to blink and the printing operation to stop.
4.10 Self Printing Performing Self Printing If you press the POWER switch while holding down the FEED switch, self printing is performed.
4.11 Hexadecimal Dump Hexadecimal dump function allows data sent from the host computer to be printed in hexadecimal numbers as well as in characters corresponding to the numbers. Starting hexadecimal dump 1 2 3 Open the top cover. While pressing the FEED switch, turn on the power of the printer “➀”. When you close the cover “➁”, a message “Hexadecimal Dump” is printed on paper, and then the data received afterward is printed in hexadecimal numbers and the corresponding characters.
5. SETTING DIP SWITCHES 5.1 Location of DIP Switches To access the DIP switches, follow these steps: 1 2 Turn off the power of the printer. 3 Remove the back cover. (Unfasten the two screws and lift the back cover in the direction of the arrow.) Disconnect the Power Unit Connector.
5.2 Table for Setting DIP Switches DIP switch 1 No. Function ON OFF Factory setting 1 Auto cutter Available Not available ON 2 Cover open Invalid Valid OFF 3 Easy Loading Invalid Valid OFF 4 Print columns 60 columns 69 columns OFF 5 CR mode LF Operation Ignored OFF 6 Input buffer 4K bytes 64K bytes OFF 7 8 Print density ON See the table below OFF Print density (DIP switch 1) Print density No.
DIP switch 2 No. Function 1 Character code 2 Character code 3 Character code 4 Character code 5 JIS/Shift JIS 6 Condition for BUSY to occur 7 8 ON OFF Factory setting OFF * OFF * See the table below. OFF * OFF * Shift JIS JIS OFF Reception buffer full • Off-line • Reception buffer full OFF Unused — — OFF Unused — — OFF * : Depends on destinations. Selection of Character Code tables (DIP switch 2) No.
DIP switch 3 No. Function 1 Bit length 2 Parity 3 Odd /Even 4 Communication mode ON OFF Factory setting 7 bits 8 bits OFF Available Not available OFF Even number Odd number OFF XON/XOFF DTR/DSR OFF ON OFF Factory setting DIP switch 4 No. 1 Function Baud rate OFF See the table below. 2 Baud rate 3 DSR Reset DSR OFF 4 INIT Reset — OFF Baud rate (DIP switch 4) No.
6. PARALLEL INTERFACE 6.1 Bidirectional Parallel Interface (IEEE1284) 6.1.1 Compatibility Mode (Host → Printer communication : Centronics compliant) • General description This printer provides Compatibility Mode, which specifies the Centronics interface conventionally used for a wide variety of applications.
6.1.
CAUTION: • The first letter “n” of each signal name indicates that the signal is active “L”. • If any one of the above signals is not available, bidirectional communication cannot be accomplished. • In interfacing signals, be sure to use twist-paired wires for signal lines, and the return side must be connected to signal ground level. • All interfacing conditions are specified based on C-MOS level and must satisfy the following characteristics. Also, specify the rising and falling time of each signal as 0.
6.2.2 Electrical Characteristics Input signal level (nStrobe, Data 0-7) All the input signals are at the C-MOS level. “HIGH” level: 4.0 V minimum “LOW” level: 0.9 V maximum Output signal level All the output signals are at the C-MOS level. “HIGH” level: 2.4 V minimum “LOW” level: 0.4 V maximum Input and output conditions All the input signals, Data 0-7, are each pulled up with 50 kΩ resistor, and the other input signals are each pulled up with a 3.3 kΩ resistor.
6.2.3 Timing Chart (Compatibility Mode) Data input and print timing Power Data T2 nStrobe T1 T3 T6 T4 Busy nAck T5 T1, T2, T3: T4: T5: T6: 0.5 µs MIN 270 ns MAX 2.3 µs TYP 500 ms MIN (At power- on) 6.2.4 Data Reception Control When the Busy signal is at “LOW”, the printer can receive data from the host computer, but when at “HIGH”, data reception is not possible. 6.2.5 Buffering Since the printer can buffer 64K bytes of data, the host computer is immediately made free.
7. SERIAL INTERFACE 7.
7.2 Connector Pin Configuration No.
7.3 Description of Input and Output Signals 7.3.1 Input and Output Signals (1) RD This is a serial reception data signal. When a framing error, overrun error or parity error occurs, the data containing the error is printed as a “?”. (2) DTR, RTS When this signal is Ready, you can write data or commands into the input buffer. If you do so while the signal is Busy, an overrun error occurs, and the previously written data will be ignored. Data can be written into the input buffer even during printing.
7.3.2 Error Detection Detection of parity errors, framing errors, and overrun errors is provided with this printer. When an error is detected, the data containing the error is stored in the buffer as a “?”. (1) Framing error If a space state is detected at the timing of stop bit detection, this indicates that an error has occurred. The data containing the error is stored in the buffer as a “?”.
7.3.
8. DRAWER KICK-OUT CONNECTOR AND POWER CONNECTOR 8.1 Specifications of Drawer Kick-Out Connector 8.1.1 Drawer Kick-Out drive signal A pulse specified by ESC p, DLE DC4 is output. In parallel interface mode, the SW(+) state can be confirmed at No. 34 pin of the interface connector or by the DLE EOT, GS a and GS r commands at the serial/parallel interface. 8.1.2 Electrical characteristics • Drive voltage: DC 24 V • Drive current: 0.8 A maximum (Within 510 ms) • SW signal: Signal level “L” = 0 to 0.
8.1.4 Drive Circuit +5V 1 2 3 VDR 4 5 6 8.2 Specifications of the Power Connector The following shows the power connector from the dedicated AC adapter. Pin configuration of Power connector (Pin number and function) FG GND 2 3 1 +24V N.
9. MAINTENANCE AND SERVICE For the information on maintenance and service, please contact your CBM dealer or at the following addresses: Northern America CBM America Corporation Service Center 365 Van Ness Way Suite 510 Torrance, CA 90501, U.S.A Other Areas Japan CBM Corporation Information Systems Division CBM Bldg.
10. PRINT CONTROL FUNCTIONS 10.1 Command List No. 1 2 3 4 5 6 7 Command Function HT Horizontal tab LF Printing and paper feed CR Back to printing Printing in PAGE MODE and returning to FF STANDARD MODE CAN Canceling print data in PAGE MODE DLE EOT Sending status in real-time DLE ENQ Real-time request to printer Mode Code S.P. <09>H S.P. <0A>H S.P. <0D>H P <0C>H P <18>H S.P. <10>H<04>H S.P. <10>H<05>H <10>H<14>H 8 DLE DC4 Outputting specified pulse in real-time S.P.
No. Command 30 ESC T 31 ESC V Function Selecting the character printing direction in PAGE MODE Specifying/Canceling 90°-right-turned characters Mode <1B>H<54>H 82 S <1B>H<56>H 83 P* Defining the print area in PAGE MODE 33 ESC \ 34 ESC a Specifying the relative position S.P.* Aligning the characters S.P. Selecting the Paper Sensor valid for S.P. a paper end signal output Selecting the Paper Near-end Sensor valid S.P.
No.
10.2 Command Details 10.2.1 Description of Each Item XXXX [Function] The name of a command. [Code] The string of codes comprising the command is represented by < >H for hexadecimal numbers, < >B for binary numbers, and < > for decimal numbers, [ ] k denotes the number of repetition of “k” times. [Range] Indicates the values (setting range) of argumeuts of the command.
10.2.2 Command Details HT [Function] Horizontal tab [Code] <09>H [Outline] Shifts the printing position to the next horizontal tab position. • Ignored when the next horizontal tab position has not been set. [Caution] • The horizontal tab position is set by ESC D. • The initial setting of horizontal tab positions is at intervals of 8 characters for font A at 9th, 17th, 25th, 33rd, columns.
LF [Function] Printing and paper feed [Code] <0A>H [Outline] Prints data inside the print buffer and feeds paper based on the line feed amount having been set. • The head of the line becomes the next print starting position.
CR [Function] Back to printing [Code] <0D>H [Outline] 1) When DSW1-5 is OFF: This command is ignored. 2) When DSW1-5 is ON: With data held inside the internal print buffer, printing and line feed are performed. Without data inside the internal print buffer, however, only line feed is performed.
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 entire print area, and then returns to STANDARD MODE. [Caution] • All mapped data is erased after printout. • The print area set up by ESC W is initialized. • This command does not execute a paper cut. • After this command is executed, the beginning of the line is taken as the start position for the next print.
CAN [Function] Canceling print data in PAGE MODE [Code] <18>H [Outline] Erases all data contained in the currently effective print area in PAGE MODE. [Caution] • This command is only effective when PAGE MODE is selected. • If any data mapped in the previously established print area overlaps the data in the currently set print area, the overlapped data in the previously established area will be erased when this command is executed.
DLE EOT n [Function] Sending status in real-time [Code] <10>H<04>H [Range] 1 [Outline] Sends in real-time the status specified by “n”. n 4 n = 1: Printer status n = 2: Status caused by an offline condition n = 3: Status caused by an error n = 4: Continuous paper detector status [Caution] • Each status represents the current status of the printer. • The status is transferred without checking whether the host is ready to receive or busy.
(1) Printer status (When n = 1 is specified) Bit 0 1 2 3 4 5 6 7 Status Unused (Fixed at 0) Unused (Fixed at 1) Status of pin 3 of Drawer Kick-Out Connector = L Status of pin 3 of Drawer Kick-Out Connector = H Online status Offline status Unused (Fixed at 1) Undefined Undefined Unused (Fixed at 0) Hex.
(3) Status caused by an error (when n = 3 is specified) Bit 0 1 2 3 4 5 6 7 Status Unused (Fixed at 0) Unused (Fixed at 1) Undefined Auto cutter error not occurred Auto cutter error occurred Unused (Fixed at 1) Unrecoverable error not occurred Unrecoverable error occurred Auto recovery error not occurred Auto recovery error occurred Undefined (Fixed at 0) Hex.
DLE ENQ n [Function] Real-time request to printer [Code] <10>H<05>H [Range] 1 [Outline] The printer responds in real-time to the requests from the host. n 2 n = 1: After recovering from an error, the printer resumes printing from the beginning of the line where the error occurred. n = 2: The printer clears the receive buffer and the print buffer, and then recovers from the error. [Caution] • This command is only effective if an auto cutter error has occurred.
DLE DC4 n m t [Function] Outputting specified pulse in real-time. [Code] <10>H<14>H [Range] n=1, m=0,1 1 [Outline] t A signal specified with “t” is output to the connector pin specified with “m”. m 0 1 [Details] 8 Connector pin Pin No. 2 of drawer Kick-Out Connector Pin No. 5 of drawer Kick-Out Connector • On-time and off-time are set at t × 100 msec, respectively. • In case an error occurred during the processing of this command, the command is ignored.
ESC FF [Function] Printing data in PAGE MODE [Code] <1B>H<0C>H [Outline] Prints out all the data mapped in the entire print area in PAGE MODE. [Caution] • This command is only effective when PAGE MODE is selected. • Mapped data, as well as the ESC T and ESC W settings, and the character mapping position are held even after printing.
ESC SP n [Function] Setting the right spacing of the character [Code] <1B>H<20>H [Range] 0 [Outline] Sets the right spacing of character to [n × basic calculation pitch]. [Caution] • If the horizontal magnification of character is set, the right spacing increases with the magnification. n 255 • The right spacing can be set separately for the STANDARD and PAGE MODES. • The basic calculation pitch is set by GS P.
[Sample Program] LPRINT CHR$(&H1B) + “ ” + CHR$(0) ; LPRINT “AAAAA” + CHR$(&HA) ; LPRINT CHR$(&H1B) + “ ” + CHR$(1) ; LPRINT “AAAAA” + CHR$(&HA) ; LPRINT CHR$(&H1B) + “ ” + CHR$(12) ; LPRINT “AAAAA” + CHR$(&HA) ; END [Print Results] ← AAAAA AAAAA A A A A A — 58 — 0-dot space ← 1-dot space ← 12-dots space
ESC ! n [Function] Collectively specifying the printing mode [Code] <1B>H<21>H [Range] 0 [Outline] Printing mode is assigned. [Caution] n 255 Bit Function 0 1 2 3 4 5 6 7 Character Font Undefined Undefined Emphasis Double height Double width Undefined Underline Value 0 Font A 1 Font B Canceled Canceled Canceled Specified Specified Specified Canceled Specified • With double height and double width being specified simultaneously, quadruple characters are created.
[Sample Program] LPRINT CHR$(&H1B) + “!” + CHR$($H00) + “H” ; LPRINT CHR$(&H1B) + “!” + CHR$($H01) + “H” ; LPRINT CHR$(&H1B) + “!” + CHR$($H08) + “H” ; LPRINT CHR$(&H1B) + “!” + CHR$($H10) + “H” ; LPRINT CHR$(&H1B) + “!” + CHR$($H20) + “H” ; LPRINT CHR$(&H1B) + “!” + CHR$($HB9) + “H” ; LPRINT CHR$(&HA) ; END [Print Results] Font A Font B Font A + Emphasis ∨ ∨ ∨ ∨ ∨ ∨ Font B + Emphasis + Quadruple + Underline Font A + Underline Font A + Double Width Font A + Double Height — 60 — ∨
ESC $ n1 n2 [Function] Specifying the absolute positions [Code] <1B>H<24>H [Range] 0 n1 255 0 n2 255 [Outline] The printing start position is moved to a position specified with (n1 + (n2 × 256) ) × basic calculation pitch from the beginning (left margin) of a line. • The moved position is divided by 256, whose quotient is taken as “n2” and the residual as “n1”. • Therefore, the printing start position is equal to n1 + n2 × 256 from the beginning of a line.
[Sample Program] [Print Results] LPRINT CHR$(&H1B) + “$” ; LPRINT CHR$(0) + CHR$(0) + “A” ; LPRINT CHR$(&H1B) + “$” ; LPRINT CHR$(50) + CHR$(0) + “B” ; LPRINT CHR$(&H1B) + “$” ; LPRINT CHR$(0) + CHR$(1) + “C” ; LPRINT CHR$(&HA) ; LPRINT CHR$(&H1B) + “$” ; LPRINT CHR$(100) + CHR$(0) + “A” ; LPRINT CHR$(&H1B) + “\” ; LPRINT CHR$(&HC2) + CHR$(&HFF) + “B” ; LPRINT CHR$(&HA); END Absolute Position Specified 0 50 A B ↓ B A ↓ ↓ 100 ← 256 ↓ C –62 Relative Posit
ESC % n [Function] Specifying/Canceling download character set [Code] <1B>H<25>H [Range] 0 [Outline] Specifying/canceling download characters. n 255 • Only the lowest bit (n0) is valid for n. n0 Function 0 1 Canceling download character set Specifying download character set [Caution] Download characters and download bit images cannot be defined simultaneously.
ESC & s n m [a [p] s × a] m–n+1 [Function] Defining the download characters [Code] <1B>H<26>HH[ ⋅ ⋅ ]m-n+1 [Range] s=3 32 [Outline] n m 126 0 a 12 (Font A) 0 a 9 (Font B) 0 p1 ⋅ ⋅ ps × a 255 Defines the fonts of download characters. Independent download characters can be defined for Font A and Font B. • “s” indicates the number of bytes in vertical direction. • “n” indicates the start character code and “m” the end character code.
[Example] 12dot 9dot p1 p4 p34 p1 p4 p25 MSB 24dot p2 p5 p35 p3 p6 p36 MSB 24dot p2 p5 p26 p3 p6 p27 LSB Font A LSB Font B Create each data bit by setting “1” for a printed dot and “0” for an unprinted dot. [Sample Program] Refer to Sample Program and Print Results for ESC % on page 63.
ESC * m n1 n2 [ d ] k [Function] Specifying the bit image mode [Code] <1B>H<2A>H [] 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] According to the number of dots specified in “n1”, “n2”, specify the bit image of mode “m”. • The number of dots printed is divided by 256, whose quotient is taken as n2 and residual as “n1”.
[Sample Program] LPRINT CHR$(&H1B) + “ ”; LPRINT CHR$(0) + CHR$(20) + CHR$(0); GOSUB IMG1 LPRINT CHR$(&HA); LPRINT CHR$(&H1B + “ ”; LPRINT CHR$(1) + CHR$(20) + CHR$(0); GOSUB IMG1 LPRINT CHR$(&HA); LPRINT CHR$(&H1B) + “ ”; LPRINT CHR$(32) + CHR$(20) + CHR$(0); GOSUB IMG2 LPRINT CHR$(&HA); LPRINT CHR$(&H1B) + “ ”; LPRINT CHR$(33) + CHR$(20) + CHR$(0); GOSUB IMG2 LPRINT CHR$(&HA); END * * * * [Print Results] IMG1: LPRINT CHR$(&HFF); FOR I=1 TO 18 LPRINT CHR$(&H85); NEXT I LPRINT CHR$(&HFF); RETURN IMG2:
ESC – n [Function] Specifying/Canceling underline [Code] <1B>H<2D>H [Range] 0 n 48 [Outline] n 2 50 Specifying/canceling an underline. n=0, 48 Canceling an underline n=1, 49 Specifying an underline for 1-dot width n=2, 50 Specifying an underline for 2-dots width [Caution] • An underline is attached to the full character width. It is, however, not attached to the part having been skipped by horizontal tab command. • An underline is not attached to a 90 - right-turned characters.
ESC 2 [Function] Specifying 1/6-inch line feed rate [Code] <1B>H<32>H [Outline] The line feed rate per line is specified by 1/6 inch. [Caution] Line feed rate can be specified respectively for both STANDARD MODE and PAGE MODE.
ESC 3 n [Function] Setting line feed width [Code] <1B>H<33>H [Range] 0 [Outline] Sets the line feed width per line to [n × basic calculation pitch] . [Caution] The line feed width can be set separately for the STANDARD and PAGE MODES. n 255 The basic calculation pitch currently set is used. Once defined, the line feed width is not changed even if the basic calculation pitch is changed.
ESC = n [Function] Data input control [Code] <1B>H<3D>H [Range] 0 [Outline] Selecting equipment for which data input from the host is valid. n 255 • Each bit of “n” indicates as follows: [Caution] Bit Equipment 0 1 2 3 4 5 6 7 Printer Not defined Not defined Not defined Not defined Not defined Not defined Not defined Value 0 Invalid 1 Valid • Even when the printer has not been selected, it can become BUSY state through printer operation.
ESC ? n [Function] Deleting download characters [Code] <1B>H<3F>H [Range] 32 [Outline] Deletes the downloaded characters of specified code. [Caution] • Specifies the character code for the defined pattern to be deleted. After the deletion, internal characters are printed. n 126 • This command deletes the code-defined pattern of the character font selected currently.
ESC @ [Function] Initializing the printer [Code] <1B>H<40>H [Outline] Clears data stored in the print buffer and brings various settings to the initial state (Default state). [Caution] • The settings of DIP switches are not read again. • Data inside the internal input buffer is not cleared. • Macro definitions are not cleared. • NV bit image definitions are not cleared. • Data in the user NV memory is not cleared.
ESC D { n } k NUL [Function] Setting horizontal tab position [Code] <1B>H<44>H [] k<00> [Range] [Outline] 1 n 255 0 k 32 Specifying a horizontal tab position. • “n” indicates the number of columns from the beginning (left margin) to the horizontal tab position. Note, however, that “n= set position – 1”. For example, to set the position at 9th column, n=8 is to be specified. • “k” denotes the number of horizontal tab positions you want to set.
ESC E n [Function] Specifying/Canceling Emphasis Printing [Code] <1B>H<45>H [Range] 0 [Outline] Specifying/canceling the emphasized characters. n 255 • “n” is valid only for the lowest bit (n0). • Control by the lowest bit (n0) is shown as follows: n0 0 1 Type Canceling emphasis printing Specifying emphasis printing • This is effective to all characters. • Dot configuration of a emphasized character includes one extra dot added at its side.
ESC G n [Function] Specifying/Canceling Double strike printing [Code] <1B>H<47>H [Range] 0 [Outline] Specifying/canceling the double strike printing. n 255 • “n” is valid only for the lowest bit (n0). • Control by “n” is shown as follows. n0 0 1 Type Canceling double strike printing Specifying double strike printing This is effective to all characters. [Caution] Double-strike printing and emphasis printing provide completely the same results.
ESC J n [Function] Printing and feeding paper [Code] <1B>H<4A>H [Range] 0 [Outline] Prints the data held in the print buffer and feeds paper by [n × basic calculation pitch] inches. The beginning of the line is taken as the next print start position. [Caution] The line feed width can be set separately for the STANDARD and PAGE MODES. n 255 • This command does not affect the line feed width currently set.
ESC L [Function] Selecting PAGE MODE [Code] <1B>H<4C>H [Outline] Switches from STANDARD MODE to PAGE MODE. [Caution] • This command is only effective if it entered at the beginning of a line. • This command is not effective if it is entered when in PAGE MODE. • STANDARD MODE is restored when printing specified by FF is finished or when ESC S is issued. • The character mapping start position will be the point specified by ESC T in the print area specified by ESC W.
ESC M n [Function] Selection of character fonts [Code] <1B>H<4D>H [Definition value] n=0, 1, 48, 49 [Outline] Selects character fonts. n 0, 48 1, 49 Function Selection of font A (12 × 24) Selection of font B (9 × 24) [Details] Fonts can also be selected with ESC !, but are only valid with the command that is set last.
ESC R n [Function] Selecting the international character set [Code] <1B>H<52>H [Range] 0 [Outline] Depending on the value of “n”, one of the following character sets is specified; n 13 n 0 1 2 3 4 5 6 7 8 9 10 11 12 13 Character Set U.S.A. France Germany U.K.
ESC S [Function] Selecting STANDARD MODE [Code] <1B>H<53>H [Outline] Switches from PAGE MODE to STANDARD MODE. [Caution] • This command is only effective if it is entered when in PAGE MODE. • Any data mapped in PAGE MODE is erased. • After this command is executed, the beginning of the line is taken as the next print start position. • The print area defined by ESC W is initialized.
ESC T n [Function] Selecting the character printing direction in PAGE MODE [Code] <1B>H<54>H [Range] 0 n 48 [Outline] n 3 51 Selects the direction and start point of character printing in PAGE MODE.
ESC V n [Function] Specifying/Canceling 90°-right-turned characters [Code] <1B>H<56>H [Range] n = 0, 1, 48, 49 [Outline] Specifying/canceling 90°-right- turned characters. n Function 0, 48 1, 49 Canceling 90°-right- turned Characters Specifying 90°-right- turned Characters [Caution] No underlines are attached to 90°-right- turned characters. The settings of this command have no effect on PAGE MODE, but items set in PAGE MODE are valid even after STANDARD MODE resumes.
ESC W xL xH yL yH dxL dxH dyL dyH [Function] Defining the print area in PAGE MODE [Code] <1B>H<57>H [Range] 0 xL, xH, yL, yH, dxL, dxH, dyL, dyH 255, except for dxL = dxH = 0 or dyL = dyH = 0 [Outline] Defines the location and size of the print area. • Horizontal start point = [(xL + xH × 256) × basic calculation pitch]. • Vertical start point = [(yL + yH × 256) × basic calculation pitch]. • Horizontal length = [(dxL + dxH × 256) × basic calculation pitch].
• The figure below illustrates the print area, where X = horizontal start point, Y=vertical start point, Dx=horizontal length, and Dy=vertical length. Paper Print Area ↑ Paper Feed Direction The printable area for this printer is approximately 104.1 mm (832/203 inches) horizontally and 117 mm (1662/360 inches) vertically.
ESC \ nL nH [Function] Specifying the relative position [Code] <1B>H<5C>H [Range] 0 nL 255 0 nH 255 [Outline] This command specifies the next print start position in a relative position with respect to the current position. The next print start position will be at a point of [(nL + nH × 256) × basic calculation pitch] away from the current position. [Caution] • Specification of a position outside the print area is ignored.
ESC a n [Function] Aligning the characters [Code] <1B>H<61>H [Range] 0 n 48 [Outline] n 2 50 All the printed data within one line are aligned in the specified position. • Depending on the value “n”, positional alignment is carried out as shown in the table below: n 0,48 1,49 2,50 [Caution] Position Left end alignment Centering Right end alignment • This command is valid only when it is inputted at the beginning of a line.
ESC c 3 n [Function] Selecting the Paper Sensor valid for a paper end signal output [Code] <1B>H<63>H<33>H [Range] 0 [Outline] This command selects by which Paper Sensor a paper end signal should be output.
ESC c 4 n [Function] Selecting the Paper Near-end Sensor valid for print stop [Code] <1B>H<63>H<34>H [Range] 0 [Outline] This command selects the Paper Near-end Sensor which helps to stop printing when the paper supply almost runs out.
ESC c 5 n [Function] Enabling/Disabling the panel switches [Code] <1B>H<63>H<35>H [Range] 0 [Outline] Enabling/disabling the FEED switch. n 255 • “n” is valid only in the lowest bit. n0 0 1 Condition FEED switch valid FEED switch invalid [Caution] When the panel switch is disabled with this command, the FEED switch is also disabled. Therefore, the paper cannot be fed by operating the FEED switch.
ESC d n [Function] Printing and feeding the paper by “n” lines [Code] <1B>H<64>H [Range] 0 [Outline] Prints data in the print buffer and feeds paper by “n” lines. n 255 • Specified lines do not remain. • The beginning of the line is specified as the next print start position. [Caution] If [n × line feed width] exceeds approximately 1016 mm, this command feeds paper by approximately 1016 mm (40 inches). [Default] The initial value is not defined.
ESC p m n1 n2 [Function] Generating the specified pulses [Code] <1B>H<70>H [Range] m = 0, 1, 48, 49 [Outline] 0 n1 255 0 n2 255 The signals specified by “n1” and “n2” are output to the connector pin specified by “m”. • “m” has the followings. m 0, 48 1, 49 Connector Pin Drawer Kick-Out pin No.2 Drawer Kick-Out pin No.5 • The ON time is n1 × 2 ms, and OFF time n2 × 2 ms. [Caution] • When “m” is beyond a definition range, no signal is output, discarding “n1” and “n2”.
ESC t n [Function] Selecting the character code table [Code] <1B>H<74>H [Range] 0 [Outline] Selecting the character code table: n 9, n = 255 The character code table is selected based on the value of “n”.
ESC { n [Function] Specifying/Canceling the inverted characters [Code] <1B>H<7B>H [Range] 0 [Outline] Specifying/canceling inverted characters. n 255 • “n” is valid only for the lowest bit. [Caution] n0 Condition 0 1 Canceling inverted characters. Specifying inverted characters. • Inverted printing means printing the line turned 180°. • This command is valid only when it is specified at the beginning of a line.
GS ! n [Function] Specifying the character size [Code] <1D>H<21>H [Range] [Outline] 0 n 1 vertical magnification 1 horizontal magnification 255, where: 0 1 2 3 4 5 6 7 Function 112 [Caution] Value Hex. Number Decimal Number Vertical magnification specification Refer to Table 2, “Vertical Magnification”. Horizontal magnification specification Refer to Table 1, “Horizontal Magnification”.
• 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.
GS $ nL nH [Function] Specifying the absolute vertical position of characters in PAGE MODE [Code] <1D>H<24>H [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 as an absolute value measured from the start point. The vertical position of a character at the next data mapping start position will be at a point [(nL + nH × 256) × basic calculation pitch] inches away from the start point.
GS * n1 n2 [ d ] n1 × n2 × 8 [Function] Defining the download bit image [Code] <1D>H<2A>H [< d >] n1 × n2 × 8 [Range] 1 n1 255 1 n2 48 n1 × n2 0 [Outline] d 1536 255 Defines download bit images of the number of dots specified by n1 and n2. • The numbers of dots are n1 × 8 in horizontal direction and n2 × 8 in vertical direction. • ”d” indicates bit image data.
[Sample Program] GOSUB IMG LPRINT CHR$(&H1D) + “/” + CHR$(0); LPRINT CHR$(&H1D) + “/” + CHR$(1); LPRINT CHR$(&H1D) + “/” + CHR$(2); LPRINT CHR$(&H1D) + “/” + CHR$(3); END IMG: n1=10 : n2=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 * * [Print Results] ← NORMAL MODE ← DOUBLE WIDTH MODE ← DOUBLE HEIGHT MODE ← QUADRUPLE MODE — 99 —
GS (A pL pH n m [Function] Execution of test printing [Code] <1D>H<28>H<41>H [Definition] [Outline] (pL+(pH × 256))=2 (pL=2, pH=0) 0 n 1 m 2, 48 3, 49 n m 50 51 Specified test printing will be executed. • pL, pH will specify the number of subsequent parameters by (pL+(pH × 256)) bytes. • n will specify the paper for test printing in the following table.
GS / m [Function] Printing the downloaded bit image [Code] <1D>H<2F>H [Range] 0 m 48 [Outline] m 3 51 Prints downloaded bit image in a mode specified by “m”. Modes that can be selected by “m” are shown below.
GS : [Function] Starting/Ending macro definition [Code] <1D>H<3A>H [Outline] Specifying starting/ending macro definition. Reception of this command during macro definition signifies ending the macro definition. [Caution] Maximum content available for macro definition is 2048 bytes. A portion exceeding 2048 bytes is not defined. • Even with ESC @ (Initialization of the printer) having been executed, defined content is not cleared.
GS B n [Function] Specifying/Canceling the black/white inverted printing [Code] <1D>H<42>H [Range] 0 [Outline] This command specifies or cancels the black/white inverted printing. n n0 0 1 [Caution] 255 Function The black/white inverted printing is canceled. The black/white inverted printing is specified. • Number “n” is only valid in the lowest bit. • The black/white inversion works on internal and downloaded characters.
GS H n [Function] Selecting of printing position of HRI characters [Code] <1D>H<48>H [Range] 0 n 48 [Outline] n 3 51 Selecting printing position of HRI characters in printing bar codes. • “n” means the followings. n 0,48 1,49 2,50 3,51 [Caution] Printing Position No printing Above the bar code Below the bar code Both above and below the bar code • The HRI characters refer to the bar code-turned characters so that you can read them.
[Print Results] No HRI characters Printed above Printed below Printed above and below — 105 —
GS I n [Function] Sending the printer ID [Code] <1D>H<49>H [Range] 1 n 49 [Outline] n 3 51 Sends the specified printer ID. n 1,49 2,50 3,51 Type of printer ID Model ID Type ID ROM version ID Specification Value (Hex.) iDP3240 40 Refer to table “Type ID” below As per ROM version Type ID Bit 0 1 2 3 4 5 6 7 [Caution] Meaning Equipped for 2 byte code support Equipped with autocutter Undefined Undefined Unused (Fixed at 0) Undefined Undefined Unused (Fixed at 0) Hex.
GS L nL nH [Function] Setting the left margin [Code] <1D>H<4C>H [Range] [Outline] 0 nL 255 0 nH 255 This command sets the left margin specified by nL and nH. The value of the left margin is [(nL + nH × 256) × basic calculation pitch]. Printable Area Left Margin [Caution] Print Area Width • This command only works when it is entered at the beginning of a line. • The setting of this command does not affect PAGE MODE.
GS P x y [Function] Specifying the basic calculation pitch [Code] <1D>H<50>H [Range] 0 x 255 0 y 255 [Outline] This command sets the horizontal basic calculation pitch to approx. 25.4/x mm (1/x inches), and the vertical basic calculation pitch to approx. 25.4/y mm (1/y inches). • If x = 0, the horizontal basic calculation pitch is reverted to the default value. • If y = 0, the vertical basic calculation pitch is reverted to the default value.
GS V m ......... (1) GS V m n ..... (2) [Function] Cutting the paper [Code] (1) <1D>H<56>H (2) <1D>H<56>H [Range] (1) m = 1, m = 49 (2) m = 66 0 [Outline] m 1,49 66 [Caution] n 255 Performs the specified paper cutting. Function Partial cut (Leaving a bridge area uncut) Paper feed by “cut position + {n × basic calculation pitch}” and partial cut (Leaving a bridge area uncut) • In STANDARD MODE, this command only works when it is entered at the beginning of a line.
GS W nL nH [Function] Setting the print area width [Code] <1D>H<57>H [Range] [Outline] 0 nL 255 0 nH 255 Sets the print area width specified by nL and nH. • The print area width will be [(nL + nH × 256) × basic calculation pitch]. Printable Area Left Margin [Caution] Print Area Width • This command only works when it is entered at the beginning of a line.
(2) If a sufficient area cannot be provided as a result of step (1), the print area is extended toward the left (So, the left margin is decreased). Printable Area A Left Margin (1) Extended toward the right (2) The left margin is trimmed Print Area Width (3) If a sufficient area cannot be provided as a result of step (2), the right spacing is trimmed.
GS \ nL nH [Function] Specifying the relative vertical position of a character in PAGE MODE [Code] <1D>H<5C>H [Range] 0 nL 255 0 nH 255 [Outline] This command is used in PAGE MODE to specify the vertical position of a character in the data mapping start position, in a relative position with respect to the current position. The next data mapping start position will be at a point [(nL + nH × 256)× basic calculation pitch] away from the current position.
GS ^ n1 n2 n3 [Function] Executing the macro [Code] <1D>H<5E>H [Range] [Outline] 0 n1 255 0 n2 255 0 n3 1 Executing contents defined in macro. n1 : The number of times of macro execution n2 : Waiting time on macro execution Waiting time of n2 × 100 msec is given for every execution. n3 : Macro execution mode n3=0 Continuous execution: The Macro is executed “n1” times continuously at the time interval specified by “n2”.
GS a n [Function] Enabling/Disabling ASB (Automatic Status Back) [Code] <1D>H<61>H [Range] 0 [Outline] This command selects the status item to be addressed by ASB (Automatic Status Back.
(1) 1st byte (Printer information) Bit 0 1 2 3 4 5 6 7 Status Hex.
(4) 4th byte (Paper Sensor information) Bit 0 1 2 3 4 5 6 7 [Default] Status Undefined Undefined Undefined Undefined Unused (Fixed at 0) Undefined Undefined Unused (Fixed at 0) Hex — — — — 00 — — 00 Decimal — — — — 0 — — 0 DIP Switch 2-6 OFF: n = 0 DIP Switch 2-6 ON: n = 2 [See Also] DLE EOT, GS r, “IDENTIFICATION OF SEND STATUS” in APPENDIX 3 — 116 —
GS f n [Function] Selecting the font of HRI characters [Code] <1D>H<66>H [Range] n = 0, 1, 48, 49 [Outline] Selecting the font of HRI characters in printing bar code. The type of font can be selected with “n” as follows: n 0, 48 1, 49 Font Font A (12 × 24) Font B (9 × 24) The HRI characters refer to the bar code-turned characters so that you can read them. [Caution] The HRI characters are printed at the position specified with GS H.
GS h n [Function] Specifying the height of the bar code [Code] <1D>H<68>H [Range] 1 [Outline] Selecting bar code height. n 255 “n” denotes the number of dots in the vertical direction. [Default] n = 162 [Sample Program] Refer to Sample Program and Print Results for GS w on page 131.
GS k m [d1 ..... dk] NUL GS k m n [d1 ...... dn] [Function] Printing the bar code [Code] (1) <1D>H<6B>H [d1.....dk] NUL (2) <1D>H<6B>H [d1....dn] [Range] (1) 0 (2) 65 [Outline] m 6 m The definitions of “k” and “d” vary with the bar code system. 73 The definitions of “n” and “d” vary with the bar code system. Selects a bar code system and prints the bar code.
[Caution] 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 have been entered, and the subsequent data is handled as normal data. • For JAN13, the bar code is printed when 13 bytes of bar code data have been entered, and the subsequent data is handled as normal data. • For JAN8, the bar code is printed when 8 bytes of bar code data have been entered, and the subsequent data is handled as normal data.
For PAGE MODE: • This command only maps the bar code, without performing a printout. After the bar code is mapped, the dot next to the last data item of the bar code is taken as the start position for the next data mapping. • If “d” is out of the range, the processing of the command is aborted, and the subsequent data is handled as normal data. In this case, the data mapping start position does not move.
[Description of Bar Codes] UPC-A This bar code, consisting of numerals only, has a fixed length of 12 columns; a 11-column number entered from the host or application software plus a check digit (12th column) automatically calculated inside the printer. If the 12th-column numeral is sent from the host, the entire bar code will be printed as it is.
CODABAR (NW-7) This bar code, consisting of alphanumerics, has a variable length of columns. Available characters include “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. CODE93 Control character ASCII Hex. NUL 00 SOH 01 STX 02 ETX 03 EOT 04 ENQ 05 ACK 06 BEL 07 BS 08 HT 09 LF 0A VT 0B FF 0C CR 0D SO 0E SI 0F This bar code, consisting of alphanumeric and control characters, has a variable length of columns.
CODE128 This bar code consists of 103 bar code characters and three code sets, enabling 128 ASCII code characters to be printed. It has a variable length of columns. • Code set A ASCII characters 00H - 5FH can be represented. • Code set B ASCII characters 20H - 7FH can be represented. • Code set C Two-digit numbers 00 - 99 can each be represented by one character. In addition to the above characters, special characters are available.
Special characters Hex. 7B53 7B41 7B42 7B43 7B31 7B32 7B33 7B34 7B7B ASCII {S {A {B {C {1 {2 {3 {4 {{ Code set A SHIFT –N/A– CODE B CODE C FNC1 FNC2 FNC3 FNC4 ‘{‘ Code set B SHIFT CODE A –N/A– CODE C FNC1 FNC2 FNC3 FNC4 ‘{‘ Code set C –N/A– CODE A CODE B –N/A– FNC1 –N/A– –N/A– –N/A– ‘{‘ To print “No.” in code set B, followed by “123456” in code set C, send the following data string: GS k <73><10><7Bh 42h> “No.
[Description of Bar Codes] UPC-A, UPC-E, JAN-13 (EAN), JAN-8 (EAN), CODE39, ITF, CODABAR, CODE93, CODE128 Type Print Sample Outline of Symbol UPC-A 12-column fixed-length bar code consisting of numerals only. UPC-E 8-column fixed-length bar code consisting of numerals only. Abbreviated version of UPC-A. JAN-13 13-column fixed-length bar code consisting of numerals only. JAN-8 8-column fixed-length bar code consisting of numerals only.
GS r n [Function] Sending status [Code] <1D>H<72>H [Range] 1 n 49 [Outline] n 2 50 Sends the specified status to the host. n = 1, 49: Sends the Paper Sensor status. n = 2, 50: Sends the Drawer Kick-Out Connector status. [Caution] • When the serial interface is used: For DTR/DSR control: The printer sends the status after verifying that the host is ready to receive. If the host is not ready to receive, the printer waits for the host to become ready to receive.
• Drawer Kick-Out Connector status (n = 2, 50) Bit 0 1 2 3 4 5 6 7 [See Also] Status Status of pin 3 of Drawer Kick Connector = “L” Status of pin 3 of Drawer Kick Connector = “H” Undefined Undefined Undefined Unused (Fixed at 0) Undefined Undefined Unused (Fixed at 0) Hex.
GS v 0 m xL xH yL yH d1...dk [Function] Printing of raster bit image [Code] <1D>H<76>H<30>H [] k [Range] 0 m 3, 48 0 yL 255, 0 m yH 51, 0 8, 0 xL d 255, 0 xH 255, 255, k=(xL+xH × 256) × (yL+yH × 256), however, k≠0 [Outline] Prints raster bit images in mode “m”.
• If this command is executed during macro definition, the macro definition is suspended, and the processing of the command starts. The macro is left undefined. • “d” denotes defined data. Dots to be printed are specified as “1”, and those not to be printed as “0”.
GS w n [Function] Specifying the horizontal size (Magnification) of bar code [Code] <1D>H<77>H [Range] 2 [Outline] Selecting bar code width. n 6 “n” denotes the number of dots in fine element width.
FS g1 m a1 a2 a3 a4 nL nH d1…dk [Function] Writing data into the download user NV memory [Code] <1C>H<67>H<31>H []nL+(nH × 256) [Range] m=0 6000H (a1+(a2 × 256)+(a3 × 65536)+(a4 × 16777216)) Sto rage start address (nL+(nH × 256)) 7FFFH 1024 k=(nL+(nH × 256)) [Outline] This command loads data into the download user NV memory. • “m” is fixed at 0. • a1, a2, a3, a4 set the data storage start address at (a1+(a2 × 256)+(a3 × 65536)+(a4 × 16777216)).
[Caution] • Because frequent writing in the non-volatile memory can destroy the memory, the writing command (FS g1) should be used less than 10 times a day. • It may happen that the printer becomes BUSY during the process of writing data into the non-volatile memory while this command is executed. When the printer becomes BUSY, it will stop receiving data. Therefore, sending data from the host (Including real time commands) is prohibited.
FS g2 m a1 a2 a3 a4 nL nH [Function] Reading data from the download user NV memory [Code] <1C>H<67>H<32>H [Range] m=0 6000H (a1+(a2 × 256)+(a3 × 65536)+(a4 × 16777216)) Write start address +n1+nH × 256 8000H K=(nL+(nH × 256)) 7FFFH [Outline] • This command reads data from the download user NV memory. • “m” is fixed at 0. • a1, a2, a3, a4 set the data sending start address at (a1+(a2 × 256)+(a3 × 65536)+(a4 × 16777216)).
• When the XON/XOFF control is selected, all the codes are sent continuously without verifying that the host can receive the data. Data that has been sent is always continuous except for the XOFF code. • When parallel interface is used, the size of the buffer for sending data (The buffer that stores all data to be sent except for ASB status) is 99 bytes. Data which exceeds 99 bytes, will be discarded. • Data can be written into the download user NV memory using the FS g1 command.
FS pnm [Function] Printing the download NV bit images [Code] <1C>H<70>H [Range] 1 n 255 0 m 3 m 48 [Outline] 51 This command prints the download NV bit images (n) using a specified mode (m). m 0,48 1,49 2,50 3,51 Dot Density in Vertical Direction NORMAL MODE 203 DPI DOUBLE WIDTH MODE 203 DPI DOUBLE HEIGHT MODE 101 DPI QUADRUPLE SIZE MODE 101 DPI Mode Name Dot Density in Horizontal Direction 203 DPI 101 DPI 203 DPI 101 DPI •“n” denotes the number of the download bit image.
• When the size of a bit image exceeds the limits of the printing area, the data within the limits of the printing area will be printed but the parts exceeding the limit will not be printed. • Regardless of the amount of line feed set with ESC 2 and ESC 3, NORMAL MODE and DOUBLE WIDTH MODE execute a paper feed of (Height n of NV bit image) dots while DOUBLE HEIGHT MODE and QUADRUPLE SIZE MODE execute a paper feed of (Height n of NV bit image × 2) dots.
F S q n [xL xH yL yH d1…dk] 1… [xL xH yL yH d1…dk] n [Function] Defining the download NV bit image [Code] <1C>H<71>HH [Range] 1 n 0 xH 3 but, 1 0 yL 255 0 yH 0 d 255, 0 xL 1 but, 1 255, (xL + xH × 256) 1023 (yL + yH × 256) 288 255 k = (xL + xH × 256) × (yL + yH ×256) × 8 Total definition area = 2M bit (256K bytes) [Outline] This command defines the specified NV bit image. • “n” denotes the number of bit images to be defined.
• If outside-defined-area arguments are processed for the second or subsequent NV bit image data groups, the processing of this command is suspended, and a writing process into the non-volatile memory starts. At this time, the NV bit image being defined becomes invalid (Undefined), but the preceding NV bit images are valid. • “d” denotes the definition data. Bits which correspond to dots to be printed are represented as 1, and those not to be printed as 0.
[Caution] • Too frequent use of this command may destroy the non-volatile memory. • Just after the completion of the writing operation into the nonvolatile memory, the printer hardware will be reset. Therefore, download characters, download bit images, and macro definition will be cleared. Then, the status of dip switches will be checked once more.
11. CHARACTER CODES TABLE 11.1 Code Page 11.1.
11.1.
11.1.
11.1.
11.1.
11.1.
11.1.
11.1.
11.1.
11.1.
11.2 International Character Codes Table Country U.S.A. France Germany U.K.
12. APPENDIX 1. PAGE MODE 12.1. 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 command. In PAGE MODE, when the printer receives print commands and/or form feed commands, it simply forwards them to the specified print area of memory. Only when an ESC FF or FF is executed, all the data mapped in the print area will then be printed in a batch.
12.2 Mapping of print data in the print area Print data is mapped in the print area as follows: (1) The print area is set by ESC W. When the printer has finished all of the print and paper feed actions specified before receiving an ESC W, the ESC W sets the left end (As viewed facing the printer) as the start point (x0, y0) of the print area.
Mapping Direction A Baseline 3 24-3 x0,y0 Point A Print Area dx,dy [Mapping Position for Character Data] x*8 Double Height Character Downloaded Bit Image Bar Code GS k m 12 Point B Point B GShn 6*8=48 24 A nH*256+nL Bit Image Baseline Esc * m nL nH 6 3 24-3 12 24*2-6=42 GS * x y (HRI Characters) Point B Point B [Mapping Positions for Print Data] —154 —
12.2.1 Example of the Use of PAGE MODE The following explains specific uses of PAGE MODE. When in PAGE MODE, the commands are typically sent from the host to the printer in the following sequence: (1) An ESC L puts the printer in PAGE MODE. (2) An ESC W specifies the print area. (3) An ESC T specifies the print direction. (4) Print data is sent. (5) An FF instructs the printer to print the print data in a batch. (6) After printing, the printer returns to STANDARD MODE.
In Figure 1-1, a line feed occurs between “lesson” and “Test 1” because the space “ “ next to “lesson” dose not fit in the horizontal range of the 200 × 400-pitch print area. The line feed width conforms to the value specified by a command such as ESC 3. It is possible to set as many print areas as desired before executing FF. If print areas overlap each other, the print area setup data are ORed with the previous data. If you want to erase a section of mapped data, use the CAN command.
Before an FF is sent, the following program code can be added to remove part of the data. LPRINT CHR$(&H1B) + “W” + CHR$((72) + CHR$(0) + CHR$(120) + CHR$(0); LPRINT CHR$(36) + CHR$(0) + CHR$(48) + CHR$(0); LPRINT CHR$(&H18); LPRINT CHR$(&HC); END As a result of the additional program code, a printout is executed as shown in Figure 1-3, where the string “GHI” is removed.
13. APPENDIX 2. BIDIRECTIONAL PARALLEL INTERFACE 13.1 Overview The interface of the printer is a Level-1 compatible device according to IEEE-P1284. It supports the communication modes described in 13.1.1 below. 13.1.1 Parallel Interface Communication Modes The parallel interface of the printer provides three communication modes as outlined below. When the printer is turned on or reset, it defaults to Compatibility mode.
13.1.2 Interfacing Phases 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.
13.2 Negotiation 13.2.1 Overview Usually, the printer is started in Compatibility mode, which corresponds to the Centronics interface phase. When the host intends to switch to the Nibble or Byte mode, it sends a request and negotiates with the printer. A general flow of negotiations is given below. 1) The host sets the IEEE 1284 Active signal to High. In response, the printer moves into the Negotiation phase. 2) The printer replies whether it can execute the mode requested by the host.
13.2.3 Precautions 1) The Negotiation phase is triggered when the IEEE 1284 Active signal sent by the host becomes High. 2) In Compatibility mode, the time when the negotiation process begins is, as a general rule, after the host sets nStrobe to High and then the printer outputs an nAck pulse.
13.2.4 Data Communication from Printer to Host 13.2.4.1 Nibble Mode In this mode, data is transferred between the printer and the host through the procedure described below. The steps beginning from 1) are applicable when the Negotiation phase has switched to the Host Busy Data Available phase. If the Negotiation phase has switched to the Host Busy Data Not Available phase, the procedure starts at step 9).
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) 13) The printer sets PtrClk back to High. (Event 19) 14) Upon receiving a request for interrupt from the printer, the host responds by setting HostBusy (nAutoFd) to High.
10) When more data is to be received from the printer, the host chooses one of three status selections: 1. Setting HostBusy (nAutoFd) to Low and indicating that the host is ready to receive. 2. Remaining in the Host Busy Data Available phase. 3. Performing Termination and returning to the Compatibility mode. 13.2.5 Device ID The device ID is a character string that provides the ID, the type, and other information regarding the printer connected to the interface.
(1) Termination through a handshake between the host and the printer: When switching from Reverse mode to Compatibility mode, this termination method can be used if the interface is activated (IEEE 1284 Active: High) and event 22 has taken place. 1) The printer responds to IEEE 1284 Active by setting PtrBusy (Busy) and nDataAvail (nFault) to High. (Event 23) 2) The printer then inverts Xflag (Select) and sets PtrClk (nAck) to Low. (Event 24) 3) The host sets HostBusy (nAutoFd) to Low.
14. APPENDIX 3. IDENTIFICATION OF SEND STATUS Because the status sent from the printer has certain fixed bits, it is possible to identify to which command the status belongs. When using ASB (Automatic Status Back), however, the first byte of ASB should be checked, and then the three consecutive bytes except for XOFF should be treated as ASB data.
15. APPENDIX 4. OUTLINE DRAWING 15.1 iDP3240 201 9 186 119.5 37 123 2.
15.
16. APPENDIX 5. BLOCK DIAGRAM OSC 20MHz FLASH ROM RAM LED FEED Switch Cover Switch Print Head G/A Cutter Driver CPU DIP Switch Paper Near-end Paper End Stepping Motor Driver DC 5V DC 24V Driver Drawer1 Drawer2 Interface Reset Parallel Centronics compliant IEEE1284 compliant Serial RS-232C compliant —169 — Power Source DC 24V 1.
GERMAN — 170 —
ALLGEMEINE VORSICHTSMASSNAHMEN • Bevor Sie den Drucker iDP3240 verwenden, lesen Sie dieses Benutzerhandbuch gründlich. Bewahren Sie es griffbereit auf, so daß Sie darin gegebenenfalls nachschlagen können. • Die in diesem Handbuch enthaltenen Informationen können ohne vorherige Ankündigung geändert werden. • Das Benutzerhandbuch darf ohne zuvor erteilte Genehmigung weder in Auszügen noch insgesamt reproduziert werden.
SICHERHEITSVORSCHRIFTEN — BITTE UNBEDINGT EINHALTEN! In diesem Benutzerhandbuch werden spezielle Warnsymbole verwendet, um Sicherheitsrisiken für das Bedienungspersonal oder andere Personen sowie Sachschäden auszuschalten. Diese Warnsymbole machen auf wichtige Punkte aufmerksam, die unbedingt eingehalten werden müssen. • The following describes the degrees of hazards and damages that can occur if the iDP3240 Printer is incorrectly operated without observing the instructions indicated by the warning symbols.
WARNUNG ● Behandeln Sie den Drucker iDP3240 niemals in der nachstehend beschriebenen Weise. Anderenfalls kann er beschädigt werden, funktionsuntüchtig werden oder überhitzen, Rauch entwickeln, und es entsteht möglicherweise ein Brand, oder es besteht die Gefahr eines elektrischen Schlags. Sollte der Drucker beschädigt werden oder ausfallen, schalten Sie unbedingt die Stromversorgung aus, ziehen Sie den Netzstecker aus der Netzsteckdose, und setzen Sie sich mit Ihrem CBM-Händler in Verbindung.
VORSICHTSMASSNAHMEN FÜR DIE INSTALLATION • Betreiben und lagern Sie den Drucker iDP3240 auf keinen Fall an Orten, die Feuer, Feuchtigkeit oder direkter Sonneneinstrahlung ausgesetzt sind, oder an Orten, an denen die vorgeschriebene Betriebstemperatur und Feuchtigkeit nicht eingehalten werden, oder an Orten, die Ölnebel, Eisenpulver oder Staub ausgesetzt sind. Anderenfalls der Drucker beschädigt werden, Rauch absondern oder Feuer fangen.
VORSICHTSMASSNAHMEN FÜR DIE HANDHABUNG Beachten Sie die folgenden Vorsichtsmaßnahmen, um den Drucker iDP3240 richtig zu betreiben und um zu verhindern, daß Probleme auftreten. • Verwenden Sie ausschließlich das vorgeschriebene Netzteil. • Achten Sie darauf, daß der Drucker nicht druckt, wenn kein Papier eingelegt ist. • Lassen Sie keine Fremdkörper, wie z. B. Büroklammern, Nadeln oder Schrauben, in den Drucker fallen.
Nachstehend wird ein Warnschild des Druckers beschrieben, das Sie auf eine potentielle Gefahr aufmerksam machen soll. Lesen Sie den Warnhinweis auf diesem Schild, und verhalten Sie sich im Umgang mit dem Drucker entsprechend. Dieses Etikett warnt Sie davor, daß der Druckkopf HEISS wird. Sie können sich Verbrennungen zuziehen, wenn Sie ihn berühren. Druckkopfs HEISSER BEREICH: Berühren Sie den Druckkopf nicht, um Verbrennungen zu vermeiden, da er HEISS wird.
i TÄGLICHE WARTUNGSARBEITEN • Schalten Sie den Drucker unbedingt aus, bevor Sie Wartungsarbeiten durchführen. • Wenn Sie die Walze reinigen, verwenden Sie einen in Ethylalkohol getränkten Wattebausch, um Flecken abzuwischen. Puraten ACHTUNG: Vermeiden Sie es, den Druckkopf zu reinigen, wenn gerade ein Druckvorgang beendet worden ist. Der Druckkopf ist HEISS. • Verwenden Sie ein trockenes weiches Tuch, um Flecken und Staub vom Druckergehäuse abzuwischen.
i TÄGLICHE WARTUNGSARBEITEN Reinigen des Druckkopfs 1 Schalten Sie die Stromversorgung des Druckers aus. 2 Bauen Sie die Papierwalze aus. Weitere Informationen finden Sie in Abschnitt “4.6 Beseitigen von Papierstaus”. 3 Verwenden Sie Gaze, die mit etwas Alkohol benetzt ist, um Flecken und Staub auf der Seite des Druckkopfes abzuwischen, die Wärme abstrahlt. 4 Setzen Sie die Papierwalze wieder ein.
4. BETRIEB 4.1 Anschließen des Netzteils und Netzkabels 1 2 3 Schalten Sie die Stromversorgung des Druckers aus. Drehen Sie die flache Seite des Netzteilkabelanschlusses nach oben, und stecken Sie den Netzkabelanschluß in den Netzanschluß auf der Rückseite des kabelanschluß Druckers. Flache seite Stromanschluß Schließen Sie das Netzkabel an den Netzteil Druckereingang oder das Netzteil an, und stecken Sie den Netzkabelstecker in ein geeignete Wandsteckdose.
4.2 Anschließen der Schnittstellenkabel 1 Schalten Sie die Stromversorgung des Druckers (Und die Stromversorgung des angeschlossenen Computers) aus. Serielle Schnittstelle Serielles 2 Richten Sie das Schnittstellenkabel Schnittstellenkabel richtig aus, und schließen Sie es an die entsprechende Schnittstelle an. 3 Sichern Sie das Kabel gemäß der Darstellung weiter unten. Serielles Schnittstellenkabel: Befestigen Sie den Stecker mit Schrauben.
4.3 Anschließen des Drawer Kickout-Steckers 1 2 Schalten Sie die Stromversorgung des Druckers aus. 3 Befestigen Sie den Erdungsleiter an der Erdungsklemme am Drucker mit einer Schraube. Drawer Kickout-Stecker Richten Sie den Drawer KickoutKabelstecker richtig aus, und stecken Sie ihn in den Drawer Kickout-Stecker auf der Rückseite des Druckers. Erdungsleiter Drawer Kickout-Kabelstecker ACHTUNG: • Schließen Sie nur den vorgeschriebenen Drawer (Solenoid) an den Drawer KickoutStecker an.
4.4 Einlegen / Auswechseln von Papierrollen 4.4.1 Einlegen von Papierrollen 1 2 3 Schalten Sie den Drucker ein. Legen Sie Ihre Hände in die Mulden auf beiden Seiten der Druckerabdeckung, und heben Sie die Abdeckung bis zum Anschlag an. Mulde Schneiden Sie das Ende der Papierrolle im rechten Winkel und in gerader Linie ab.
4 Überprüfen Sie die Wickelrichtung der Papierrolle, und legen Sie sie richtig in den Papierrollenhalter der oberen Abdeckung. 5 Wenn sich die Papierrolle zwischen den Walzenhebeln auf beiden Seiten des Druckers befindet, ziehen Sie Walzenhebel das Papierende bis zum Ende der oberen Abdeckung heraus, und schließen Sie anschließend die Druckerabdeckung. Die Papierwalze ist so eingelegt, daß das Papier automatisch über den Papierausgabeschlitz herausgeführt wird.
ACHTUNG : • Verwenden Sie stets den vorgeschriebenen Papierrollentyp. • Wenn andere Papierrollentypen verwendet werden, kann die angegebene Druckqualität möglicherweise nicht erzielt oder die Lebensdauer des Druckers reduziert werden. • Ziehen Sie das Ende der Papierrolle bis zum Ende der oberen Abdeckung heraus. Das Papierende sollte genau mit dem Ende der oberen Abdeckung abschließen. • Wenn die Papierrolle eingelegt ist, wird das Papier manchmal umgeschlagen herausgeführt.
4.4.2 Einlegen von Papierrollen bei deaktiviertem einfachen Ladevorgang (“5.2”DS1-3 ON) 1 Führen Sie die Schritte 1 bis 4 aus Kapitel “4.4.1 Einlegen von Papierrollen” durch. 2 Führen Sie das Ende der Papierrolle gerade zwischen Papierwalze und Kopf ein. 3 Das Papier wird von der Papierwalze eingezogen und in den automatischen Papierschneider geführt. (Das Papierende schaut soeben aus dem Papierausgabeschlitz des Papierschneiders heraus.
4.5 Entfernen von Papierrollenresten 1 2 Öffnen Sie die Druckerabdeckung. Walzenhebel Ziehen Sie beide Walzenhebel in Pfeilrichtung, um die Papierwalze vom Kopf anzuheben, und ziehen Sie die Papierwalze anschließend heraus. Druckerabdeckung ACHTUNG: Bevor Sie die Papierrolle (in beiden Richtungen) herausnehmen können, müssen Sie die Walzenhebel ziehen.
4.6 Beseitigen von Papierstaus 1 2 3 4 Schalten Sie die Stromversorgung des Druckers aus. 5 Halten und heben Sie die Walzenhebel an. Anschließend kann die Papierwalze herausgehoben werden. Gehäusezapfen Öffnen Sie die Druckerabdeckung. Schneiden Sie das Papier in der Nähe des Papierladeschlitzes. Verschieben Sie die Kopffedern auf beiden Seiten in Richtung der Pfeile, um sie von den Gehäusezapfen zu lösen, und heben Sie sie anschließend an. 6 7 Beseitigen Sie alle Papierreste im Papierweg.
4.7 Freigeben eines verriegelten Papierschneiders 1 Beseitigen Sie alle Papierreste im Papierweg, und führen Sie hierzu das Verfahren durch, das in Abschnitt “4.6 Beseitigen von Papierstaus” beschrieben wird. 2 Schalten Sie die Stromversorgung des Druckers ein. Der automatische Papierschneider wird initialisiert, und die Klinge wird in die normale Position zurückgefahren. Die Alarmbedingung wird ebenfalls gelöscht.
4.8 Reinigen des Druckkopfes 1 Nehmen Sie die Papierwalze heraus, und führen Sie hierzu das Verfahren durch, das in Abschnitt “4.6 Beseitigen von Papierstaus” beschrieben wird. 2 Wischen Sie Schmutz, wie beispielsweise Staub und ähnliches, vom Heizelement des Kopfes mit Hilfe eines Wattebausches ab, der mit Ethylalkohol getränkt ist. 3 Setzen Sie die Papierwalze wieder ein. Papierwalze Druckkopfs ACHTUNG: • Berühren Sie den Druckkopf nicht, um Verbrennungen zu vermeiden, da er HEISS wird.
4.9 Bedienungsfeld und Fehleranzeige Anzeigeleuchte POWER (Grün) Diese Anzeigeleuchte leuchtet bei eingeschalteter Stromversorgung. Sie blinkt, wenn ein Speicherfehler aufgetreten ist. Anzeigeleuchte ERROR (Rot) Diese Anzeigeleuchte leuchtet oder blinkt, um unterschiedliche Fehlerzustände anzuzeigen. Fehleranzeige Speicherprüfehler POWER LED (Blinkt schnell) ERROR LED Fehlerbehebungsverfahren Leuchtet Nicht behebbar. Leuchtet Schließen Sie die Abdeckung.
Fehlerbeschreibung Abdeckung geöffnet: Wenn Sie die Druckerabdeckung öffnen, wird der Abdeckungssensor aktiviert. Dieser schaltet die LED ERROR ein und unterbricht den Druckvorgang. Wenn Sie jedoch den DIP-Schalter richtig setzen, kann das Papier auch bei geöffneter Abdeckung zugeführt werden. Überhitzung des Kopfes: Um den Druckkopf vor Üerhitzung zu schützen, wird der Sensor für die Druckkopftemperatur aktiviert, wenn die Temperatur des Druckkopfes über ca. 65°C ansteigt.
Taste FEED • Wenn Sie diese Taste einmal kurz drücken, wird das Papier um eine Zeile vorgeschoben. Wenn Sie die Taste länger drücken, wird das Papier kontinuierlich vorgeschoben. • Wenn der Schalter gedrückt wird, während der Drucker auf die Ausführung eines Makros wartet, wird der Makro ausgeführt. 4.10 Drucktest Durchführen des Drucktests Wenn Sie den Schalter POWER drücken, während Sie die Taste FEED gedrückt halten, wird der Eigendrucktest ausgeführt.
4.11 Hexdump Funktion zur Erstellung eines hexadezimalen Speicherauszugs Mit dieser Funktion können Daten, die vom Computer gesendet werden, in Hexadezimalzahlen sowie in Zeichen gedruckt werden, die diesen Zahlen entsprechen. Starten des Hexdump 1 2 3 Öffnen Sie die obere Abdeckung. Halten Sie die Taste FEED gedrückt, und schalten Sie dabei die Stromversorgung des Druckers “➀” ein.
5. EINSTELLEN DER DIP-SCHALTER 5.1 Position der DIP-Schalter Führen Sie die folgenden Schritte aus, um auf die DIP-Schalter zuzugreifen: 1 2 Schalten Sie die Stromversorgung des Druckers aus. 3 Nehmen Sie die hintere Abdeckung ab. (Lösen Sie die beiden Schrauben, und heben Sie die hintere Abdeckung in Pfeilrichtung an.) Trennen Sie den Netzteilanschluß vom Netz.
5.2 DIP-Schaltertabelle DIP-Schalter 1 No. Funktion ON OFF Werkseinstellungen 1 Automatischer Papierschneider Verfügbar Nicht verfügbar ON 2 Abdeckung geöffnet Invalide Gültig OFF 3 Einfacher Ladevorgang Invalide Gültig OFF 4 Druckspalten 60 columns 69 columns OFF 5 CR-Modus LF-Betrieb Ignoriert OFF 6 Eingangspufferspeicher 4K Byte 64K Byte OFF 7 8 Druckdichte ON Vgl. nachstehende Tabelle OFF Druckdichte (DIP-Schalter 1) Druckdichte No.
DIP-Schalter 2 No. Funktion 1 Zeichencode 2 Zeichencode 3 Zeichencode 4 Zeichencode 5 JIS/Umschalt-JIS ON OFF Werkseinstellungen OFF * OFF * Vgl. nachstehende Tabelle. OFF * OFF * Umschalt-JIS JIS OFF Eingangspufferspeicher voll • Offline • Eingangspufferspeicher voll OFF 6 Bedingung für Busy-Signal 7 Nicht verwendet — — OFF 8 Nicht verwendet — — OFF *: Länderabhängig Wählen der Zeichencodetabellen (DIP-Schalter 2) No.
DIP-Schalter 3 No. Funktion 1 Bitlänge 2 Parität 3 Ungerade/Gerade 4 Kommunikationsmodus ON OFF Werkseinstellung 7-Bit 8-Bit OFF Verfügbar Nicht verfügbar OFF Gerade Zahl Ungerade Zahl OFF XON/XOFF DTR/DSR OFF ON OFF Werkseinstellung DIP-Schalter 4 No. 1 Funktion Baud-Rate OFF Vgl. nachstehende Tabele. 2 Baud-Rate 3 DSR Rücksetzung DSR OFF ON 4 INIT Rücksetzung — OFF Baud-Rate (DIP-Schalter 4) No.
6. PARALLELE SCHNITTSTELLE 6.1 Bidirektionale parallele Schnittstelle (IEEE1284) 6.1.1 Kompatibilitätsmodus (Host → Druckerkommunikation: Centronics-kompatibel) • Allgemeine Beschreibung Dieser Drucker bietet den Kompatibilitätsmodus, der die Centronics-Schnittstelle spezifiziert, die konventionell für eine Vielzahl von Anwendungen verwendet wird.
6.1.
ACHTUNG: • Wenn der erste Buchstabe eines Signalnamens mit “n” beginnt, bedeutet dies, daß das Signal im Tiefpegelzustand aktiv ist. • Wenn eines der obigen Signale nicht zur Verfügung steht, läßt sich keine bidirektionale Kommunikation durchführen. Verwenden Sie für Schnittstellensignale verdrillte Doppelleitungen als Signalleitungen. • Die Antwortseite muß an Signalerde angeschlossen sein.
6.2.2 Elektrische Kenndaten Eingangssignalpegel (nStrobe, Data 0-7) Alle Eingangssignale entsprechen dem C-MOS Pegel. Hochpegel: maximal 4,0 V Tiefpegelzustand: maximal 0,9 V Ausgangssignalpegel Alle Ausgangssignale entsprechen dem C-MOS Pegel. Hochpegel: maximal 2,4 V Tiefpegelzustand: maximal 0,4 V Eingangs- und Ausgangsbedingungen Alle Eingangssignale (Data 0-7) werden jeweils über einen 50 kΩ-Widerstand gesteuert, und die anderen Eingangssignale werden über einen 3,3 kΩWiderstand gesteuert.
6.2.3 Timing-Tabelle (KompatibilitätsModus) Timing von Dateneingang und Datendruck Stromversorgung Data T2 nStrobe T1 T3 T6 T4 Busy nAck T5 T1, T2, T3: T4: T5: T6: minimal 0,5 µs maximal 270 ns typischerweise 2,3 µs minimal 500 ms (Beim Einschalten der Stromversorgung) 6.2.4 Datenempfangssteuerung Wenn sich das Busy-Signal im Tiefpegelzustand befindet, kann der Drucker Daten vom Computer empfangen. Wenn sich das Signal jedoch im Hochpegelzustand befindet, ist ein Datenempfang nicht möglich. 6.2.
7. SERIELLE SCHNITTSTELLE 7.
7.2 Belegung der Anschlußstifte No.
7.3 Beschreibung der Eingangs- und Ausgangssignale 7.3.1 Eingangs- und Ausgangssignale (1) RD Hierbei handelt es sich um ein serielles Empfangsdatensignal. Wenn ein DÜBlockfehler, Überlauffehler oder Paritätsfehler auftritt, werden die fehlerhaften Daten so geduruckt: “?”. (2) DTR, RTS Bei entsprechendem Signal können Sie Daten oder Befehle in den Eingangspufferspeicher schreiben.
(7) GND Hierbei handelt es sich um die gemeinsame Erde von Schaltkreisen. 7.3.2 Fehlererkennung Dieser Drucker kann Paritätsfehler, DÜ-Blockfehler und Überlauffehler erkennen. Wenn ein Fehler erkannt wird, werden die fehlerhaften Daten im Pufferspeicher als “?” gespeichert. (1) DÜ-Blockfehler Wenn ein Leerzeichenzustand zum Zeitpunkt einer Stoppbiterkennung erkannt wird, ist ein Fehler aufgetreten. Die fehlerhaften Daten werden im Pufferspeicher als “?” gespeichert.
7.3.
8. DRAWER KICKOUT-ANSCHLUSS UND STROMANSCHLUSS 8.1 Technische Daten des Drawer KickOut-Anschlusses 8.1.1 Drawer KickOut-Treibersignal Ein Impuls (ESC p, DLE DC4) wird gesendet. Im Parallelmodus kann der SW(+)Zustand an Stift 34 des Schnittstellenanschlusses oder durch die Befehle DLE EOT, GS a und GS r an der seriellen/parallelen Schnittstelle überprüft werden. 8.1.
8.1.4 Treiberschaltung +5V 1 2 3 VDR 4 5 6 8.2 Technische Daten des Stromanschlusses Nachstehend ist der Stromanschluß des speziellen Netzteils dargestellt. Stiftbelegung des Netzanschlusses (Stiftnummer und Funktion) FG GND 2 3 1 +24V N.
9. WARTUNG UND KUNDENDIENST Informationen über Wartung und Kundendienst erhalten Sie bei Ihrem CBMHändler oder unter den folgenden Anschriften. Nordamerika CBM America Corporation Service Center 365 Van Ness Way Suite 510 Torrance, CA 90501, U.S.A Sonstige Länder Japan CBM Corporation Information Systems Division CBM Bldg., 5-68-10, Nakano Nakano-ku, Tokyo 164-0001 Japan Tel.: +1-310-781-1460 Fax: +1-310-781-9157 Tel.
Information Systems Division CBM Bldg.