Star Micronics DP8340R Series User Manual
Star Micronics DP8340R Series User Manual

Star Micronics DP8340R Series User Manual

Serial interface
Hide thumbs Also See for DP8340R Series:

Advertisement

Quick Links

Dot Matrix Printer
DP8340R SeRieS
[ SeRiAL iNTeRFACe ]
USERS ManUal

Advertisement

Table of Contents
loading

Summary of Contents for Star Micronics DP8340R Series

  • Page 1 Dot Matrix Printer DP8340R SeRieS [ SeRiAL iNTeRFACe ] USERS ManUal...
  • Page 2: Federal Communications Commission

    DP8340: Star Micronics Co. Ltd. notice • All rights reserved. Reproduction of any part of this manual in any form whatsoever, without STAR’s express permission is forbidden. • The contents of this manual are subject to change without notice.
  • Page 3: Table Of Contents

    TABLE OF CONTENTS 1. OuTlINE ................... 1 2. uNPACkINg ANd INSTAllATION ..........2 2-1. Unpacking ..................... 2 2-2. Installation of Paper Holders and Re-Roll Prevention Guard ................3 2-3. Handling Notes ..................4 2-4. Maintenance ..................5 3. PART IdENTIFICATION ANd NOMENClATuRE ..... 6 3-1. Power Supply Unit ................6 3-2. Printer ....................7 3-3. Part Functional Description ............... 8 4. INSTAllATION OF INk RIBBON ANd PAPER ......9 4-1. Installation of Ink Ribbon..............
  • Page 4 8. INTERFACE FOR MOdEl dP8340Rd (d-SuB 25 PIN CONNECTOR) ............. 25 8-1. Interface Specifications ..............25 8-2. Interface Circuit ................. 26 8-2-1. RS-232C ..................26 8-2-2. Current loop ................26 8-3. Setting of the DIP Switches .............. 27 8-3-1. DIP-SW 1 ..................27 8-3-2. DIP-SW 2 ..................27 8-4. Jumper Setting ..................28 8-4-1. Removal of the Bottom Cover ...........28 8-4-2. Setting of Jumper .................28 8-5. Connectors and Signals..............29 8-6. Interface Connections .
  • Page 5: Outline

    1. OUTLINE The DP8340R series of serial dot matrix printers is for use in eCR, POS, elec- tronic instruments, banking machines and computer peripheral equipment. The DP8340R series include the following features; 1) 2 color printing (Red and Black) 2) High-speed bidirectional printing (2 line/sec, 29 or 44 columns per line) 3) 9-pin print head 4) the interface conforms to RS-232C in M type, and to RS-232C/20ma Current loop in D type. 5) Commands for expanded characters, inverted characters, emphasized characters, red and black printing, and 10CPI or 15CPI characters etc. are provided, which makes the printer very versatile.
  • Page 6: Unpacking And Installation

    2. UNpackINg aNd INsTaLLaTION 2-1. Unpacking after opening the box, check if all necessary accessories are included. (a) Printer 1 Printer 4 Re-Roll Prevention Guard 2 User’s Manual 5 Ink Ribbon 3 Paper Holders 6 DIP Switch Cover (B) Power Supply Unit (Option: PS8340a) 1 Power Supply Unit 2 User’s Manual Figure 2-1. Unpacking – 2 –...
  • Page 7: Installation Of Paper Holders And Re-Roll Prevention Guard

    2-2. Installation of Paper Holders and Re-Roll Prevention Guard Install the Paper Holders in the intermost holes in the rear of the printer. Figure 2-2. Installation of Paper Holders Install the Re-Roll Prevention Wire in the holes of the printer cover. twisting the Wire as shown in the figure below, will make the installation easier. Figure 2-3. Installation of Re-Roll Prevention – 3 –...
  • Page 8: Handling Notes

    2-3. Handling Care 1. Be careful not to drop paper clips, pins or other foreign matter into the unit as these cause the printer to malfunction. 2. do not attempt to print when either paper or ribbon cartridge is not located in the printer, otherwise the print head can be damaged. 3.
  • Page 9: Maintenance

    2-4. Maintenance Essentially, your printer is a robust piece of equipment, but should be treated with a modicum of care in order to avoid malfunctions. For example: 1. keep your printer in a “comfortable” environment. Roughly speaking, if you feel comfortable, then the environment is suitable for your printer. 2.
  • Page 10: Part Identification And Nomenclature

    3. parT IdENTIfIcaTION aNd NOmENcLaTUrE 3-1. Power Supply Unit (Option) Model name : PS8340a Input : 100 to 240V aC, 50/60 Hz 6.0a Output : DC12V 5% 2.0a DC Power Connector (Output) Shape of AC Power plug will vary according to destinations. Figure 3-1. Power Supply Unit – 6 –...
  • Page 11: Printer

    3-2. Printer Figure 3-2. Printer: Front View Do not connect this to a telephone. Figure 3-3. Printer: Rear View – 7 –...
  • Page 12: Part Functional Description

    3-3. Part Functional Description (1) aC Power Plug : Connect to an outlet of the specified voltage. (2) DC Power Outlet : Supplies DC 12V power to the printer. (3) Printer Cover : Protects the printer against dust and reduces noise. (4) POWeR lamp : lights up (green leD) when power is on. (5) ON lINe lamp : lights up (green leD) when the unit is in the online mode. (6) alaRM lamp : lights up (red leD) when printer operation is not normal, or the printer is out of paper. It is necessary to install paper into the printer and press the ON lINe Button to recover from paper empty status.
  • Page 13: Installation Of Ink Ribbon And Paper

    4. INsTaLLaTION Of INk rIbbON aNd papEr 4-1. Installation of Ink Ribbon (1) turn power off, lift the Printer Cover up and remove it. Note: Be careful not to touch the print head immediately after printing, because it can get very hot. Figure 4-1. Printer Cover Removal (2) Unwind ribbon so that the spools are separated as shown in Figure 4-3. Hold the ribbon taut as shown with the drive pins facing down and slide the ribbon between the print head and the platen. While keeping the ribbon taut, wrap one side around the black ribbon guide on the end of the platen and drop one spool on the spool shaft. as you move the spool downwards, move the detecting lever aside to allow the spool to drop into place. Make sure the spool drive pins engage with the spool drive holes. as the spool drops into place there will be a click.
  • Page 14: Removal Of Ink Ribbon

    Ribbon life Description Ribbon life Black approx. SF-03B 0.8 million characters Figure 4-2. Installation of Ink Ribbon Figure 4-3. Ribbon Spools 4-2. Removal of Ink Ribbon Hold the spool and lift gently, rotating it until the ribbon sags. Push the ribbon detecting lever out, lift the spool until it comes off the shaft. Remove the second spool in a similar manner. (Do not apply excessive force when lifting spools.) – 10 –...
  • Page 15: Paper Insertion

    4-3. Paper Insertion 4-3-1. For Roll Paper (1) Cut the Roll Paper end straight and square. Hold the roll so that the paper comes from the bottom. (2) attach the Roll Paper to the Holders Paper by slipping one side of the roll onto the Hub and pulling the other Hub out to allow the roll to slip in place. (3) Insert the paper evenly into the Paper Insertion Slot. (4) turn the Power Switch “ON”, and press the FeeD Button. The paper will be fed into the unit. Figure 4-4. Paper Insertion (1) Figure 4-5. Paper Insertion (2) – 11 –...
  • Page 16: Roll Paper Installation (When Using The Optional Printer Cover 8340R)

    4-3-2. Roll Paper Installation (When using the optional Printer Cover 8340R) When installing roll paper with the optional “Ptinter Cover 8340R”, please use the following procedure. (1) turn power off, lift the Printer Cover up and remove it. Note: Be careful not to touch the print head immediately after printing because it can get very hot. (2) Insert paper into the printer, and feed the paper so it extends 3 inches or more above the top surface of the printer.
  • Page 17: Validation Option Installation

    4-3-3. Validation Option Installation The validation printing requires the optional printer cover 8340R. Refer to item 4-3-2 for the installation. (1) turn power ON. (2) enter the printer the validation mode. (Refer to the control code “GS” in Chapter 5.) (3) Insert the material to be validated against the right side of the slot in the Printer Cover 8340R. Figure 4-8. Insertion of Material to be validated 4-4. Roll Paper Removal Cut the paper close to the slot and use the feed button until paper has passed completely through the printer.
  • Page 18: Control Codes

    5. cONTrOL cOdEs Character Code List Character Code Function 1 lF (0a)H Print and line feed instruction 2 CR (0D)H Print and line feed instruction (same as lF) 3 SO (0e)H expanded character instruction 4 DC4 (14)H expanded character release 5 eSC-1 (1B)H (2D)H(01)H Underline instruction (1B)H (2D)H (31)H 6 eSC-0 (1B)H (2D)H(00)H Underline release (1B)H (2D)H (30)H 7 SI (0F)H Inverted print instruction 8 DC2...
  • Page 19: General Specifications

    6. gENEraL spEcIfIcaTIONs Printing method : Serial impact dot matrix printing, 9 wires Number of print columns : 29 columns (10CPI), 44 columns (15CPI) Print speed : approx. 2 lines/sec Print direction : Bi-directional line spacing : 1/6 inch Paper feed method : Friction Feed Paper feed speed : approx. 12 lines/sec Character set : aSCII 96 characters Special 64 characters Block graphics* 64 characters 10CPI Ordinary characters 5 × 9 dots Font configuration : 6 × 6 dots Block graphics* 15CPI Ordinary characters 7 × 9 half dots 5 × 6 dots Block graphics* * Graphic Feed Not available 2.00 (H) ×...
  • Page 20 Power supply unit : Four supplies available with following ratings Input Output DC 12.0 V ± 5% AC 100 to 240 V 50/60 Hz 0.6 A 2.0 A Paper specification : Paper type Ordinary and carbonless copy paper Size Paper width 82.55 0.5mm (3.25 inches) ±...
  • Page 21 Figure 6-1. Roll Paper and Print Area Figure 6-2. Material to be validated and One Line Validation Printing – 17 –...
  • Page 22 Figure 6-3. External Dimensions (Printer) 36 mm 114 mm 2.0 m Shape of AC Power plug will vary according to destinations. Figure 6-4. External Dimensions (Power Supply Unit) – 18 –...
  • Page 23: Interface For Model Dp8340Rm (Modular Jack Connector)

    7. INTErfacE fOr mOdEL dp8340rm ( mOdULar Jack cONNEcTOr ) 7-1. Interface Specifications (1) Synchronization system : asynchronous (2) Baud rate : 150, 300, 600, 1200, 2400, 4800, 9600 bps (Selectable) (3) Word length : Start bit: 1 bit Data bit: 7 or 8 bits (Selectable) Parity bit: Odd, even, or None (Selectable) Stop bit: 1 or 2 bit length (Selectable) (4) Signal polarity : RS-232C MaRk : logic “1” (–3V to –25V) SPaCe : logic “0” (+3V to +25V) (5) Handshaking : 1 DtR Mode (1 block) 2 X-ON/X-OFF Mode 3 StX-etX Mode Note: STX-ETX Mode may use DTR or X-ON/X-OFF, selected by DIP SW 1-5.
  • Page 24: Setting Of The Dip Switches

    7-3. Setting of the DIP Switches 7-3-1. DIP-SW 1 Factory Switch OFF setting 1-1 1-2 D ata transfer rate — see below (*1) 1-3 1-4 Stop bit 1 Stop bit 2 1-5 DtR MODe (1 BlOCk) X-ON/X-OFF MODe 1-6 8 data bits 7 data bits 1-7 No parity Parity checked 1-8 Odd parity even parity (*1) (*2) DIP Switch 2-3 should Baud rate SW1-1 SW1-2 SW1-3...
  • Page 25: Connectors And Signals

    7-4. Connectors and Signals Signal Direction Function Pin No. Name GND — Shield Ground GND — Frame Ground This pin carries data from the printer. tXD (Return channel) RXD This pin carries data to the printer. RtS OUt This is SPaCe when the printer power is ON. This is MaRk when the printer is abnormal. FaUlt (Refer to error Condition alarm Mode *1.) Or there is a paper error. GND — Signal ground. DtR OUt This printer turns this pin SPaCe when it is ready to receive data. Figure 7-3. Modular Jack Connector *1 Error Condition Alarm Mode If an error condition is detected during operation, the printer will stop printing and cause the FaUlt signal to go MaRk. all solenoides &...
  • Page 26: Interface Connections

    7-5. Interface Connections For interface connections, refer to the instructions for interface of the host com- puter. The following gives basic examples. Figure 7-4. Interface Connections using Modular/D-Sub 25 Adapter to IBM PC (Use with straight through cable wiring) Before selecting interface cable wiring, it is necessary to know the wiring of the modular interconnect cable. Figure 7-5. below shows the way to determine if the cable is straight connected, or cross connected. Cross connected wiring is not suitable for shielded cable. Figure 7-5. – 22 –...
  • Page 27: Peripheral Unit Drive Circuit

    Figure 7-6. Wiring of cable for direct connection between DP8340 and IBM PC serial part 7-6. Peripheral Unit Drive Circuit The Control Board of this unit is equipped with a circuit for driving a peripheral unit (Paper Cutter, take-Up Device, Cash Drawer, etc.) The Control Board Connector (CN3) is used to connect the Peripheral Unit to the Drive Circuit. When using this circuit connect the peripheral unit cable to the CN3 Connector (cable is not included). Use a cable with the following specifications: Note: Do not run cable near devices generating large amounts of electrical noise. Figure 7-7. Cable Specifications 7-6-1. Cable Connection Remove the printer Bottom Cover and connect the cable to the CN3 Connector. Pass the cable around the control board as shown and through grommetted hole in bottom cover. (Grommet may have to be cut) – 23 –...
  • Page 28: Peripheral Drive Circuit

    Figure 7-8. Cable Connection 7-6-2. Peripheral Drive Circuit a bsolute Ratings (ta = 25˚C) Drive 12V, MaX. 1a D1 V oltage Breakdown 400V Output F orward Current CN3 Connector 1 OUTPUT(+) +12V 2 OUTPUT(-) 3 S-GND Figure 7-9. Drive Circuit Caution: Do not use external power supply with peripheral drive circuit. To drive them continuously, set the duty cycle ratio to 20% or less. 7-6-3. Control Codes Codes for Drive Circuit control are eSC Bel n1 n2, Bel and FS. Refer to the Control Codes in Chapter 5.
  • Page 29: Interface For Model Dp8340Rd (D-Sub 25 Pin Connector)

    8. INTErfacE fOr mOdEL dp8340rd ( d-sUb 25 pIN cONNEcTOr ) 8-1. Interface Specifications (1) Synchronization system : asynchronous (2) Baud rate : 150, 300, 600, 1200, 2400, 4800, 9600 bps (Selectable) (3) World length : Start bit: 1 bit Data bit: 7 or 8 bits (Selectable) Parity bit: Odd, even, or None (Selectable) Stop bit: 1 or 2 bit length (Selectable) (4) Signal polarity : RS-232C MaRk : logic “1” (–3V to –25V) SPaCe : logic “0” (+3V to +25V) Current loop MaRk : logic “1” (Current ON) SPaCe : logic “0” (Current OFF) 1 Start bit 2 Data bits...
  • Page 30: Interface Circuit

    8-2. Interface Circuit 8-2-1. RS-232C Input (RXD, CtS) Output (DtR, FaUlt, tXD, RCH, RtS) Figure 8-1. RS232-C Interface 8-2-2. Current Loop Input (ttY-RXD, ttY-RXDR) Output (ttY-tXD, ttY-tXDR) Note: Resistance should be set so that Current Loop is restricted to the range of 10 ~ 20 mA. Figure 8-2. Current Loop Interface – 26 –...
  • Page 31: Setting Of The Dip Switches

    8-3. Setting of the DIP Switches 8-3-1. DIP-SW 1 Factory Switch OFF setting 1-1 1-2 D ata transfer rate — see below (*1) 1-3 1-4 Stop bit 1 Stop bit 2 1-5 DtR MODe (1 BlOCk) X-ON/X-OFF MODe 1-6 8 data bits 7 data bits 1-7 No parity Parity checked 1-8 Odd parity even parity (*1) (*2) DIP Switch 2-3 should Baud rate SW1-1 SW1-2 SW1-3...
  • Page 32: Jumper Setting

    8-4-1. Removal of the Bottom Cover Figure 8-4. Removal of the Bottom Cover 8-4-2. Setting of Jumper Factory Jumper Function Setting Setting OPeN RS-232C SHORt Current loop Selection of Current loop Output a-C (between ttY-tXD and ttY- J7 tXDR) Signal Polarity (inversion possible) Consult StaR MICRON- ICS for details. – 28 –...
  • Page 33: Connectors And Signals

    8-5. Connectors and Signals Signal Direction Pin No. Function Name GND — Frame Ground OUt This pin carries data from the printer. tXD (Return channel) RXD This pin carries data to the printer. RtS OUt This is SPaCe when the printer power is ON. IN This pin is SPaCe when the computer is ready to send CtS data. The printer does not check this pin. IN This pin is SPaCe when the computer is ready to send DSR data. The printer does not check this pin. GND — Signal ground. N/C Unused. This pin is the return path for data transmitted from ttY tXDR — the printer on the 20ma current loop. This pin carries data from the printer on the 20ma ttY tXD current loop.
  • Page 34: Interface Connections

    Figure 8-5. D-Sub 25 Pin Connector *1 Error Condition Alarm Mode If an error condition is detected during operation, the printer will stop printing and cause the FaUlt signal to go MaRk. all solenoides & motors will be de- energized. It is necessary to turn the printer power off and on again in order to recover from the alarm mode. This printer can detect the following error coditions: a. Motor lock b. Defective timing detector c. Micro-proccessor out of program sequence 8-6. Interface Connections For interface connections, refer to the instructions for interface of the host com- puter. The following gives one basic example of connections. Figure 8-6. Interface Connections with D-Sub 25 Pin Connector to IBM PC – 30 –...
  • Page 35: Peripheral Unit Drive Circuit

    8-7. Peripheral Unit Drive Circuit The Control Board of this unit is equipped with a circuit for driving a peripheral unit (Paper Cutter, take-Up Device, Cash Drawer, etc.) The Control Board Connector (CN3) is used to connect the Peripheral Unit to the Drive Circuit. When using this circuit connect the peripheral unit cable to the CN3 Connector (cable is not included). Use a cable with the following specifications: Note: Do not run cable near devices generating large amounts of electrical noise. Figure 8-7. Cable Specifications 8-7-1. Cable Connection Remove the printer Bottom Cover and connect the cable to the CN3 Connector. Pass the cable around the control board as shown and through grommetted hole in bottom cover. (Grommet may have to be cut) – 31 –...
  • Page 36: Peripheral Drive Circuit

    Figure 8-8. Cable Connection 8-7-2. Peripheral Drive Circuit a bsolute Ratings (ta = 25˚C) Drive 12V, MaX. 1a Voltage Breakdown 400V Output P eak Forward Current CN3 Connector 1 OUTPUT(+) +12V 2 OUTPUT(-) 3 S-GND Figure 8-9. Drive Circuit Caution: Do not use external power supply with peripheral drive circuit. To drive a peripheral unit continuously, set the duty cycle to 20% or less.
  • Page 37: Data Structure And Control

    9. daTa sTrUcTUrE aNd cONTrOL 9-1. DTR Mode (1 BLOCK) Controls Data transfer by using DtR line as BUSY FlaG (b) In case of Paper empty Paper Empty When the paper out detector indicates end of paper, the printer stops printing after a maximum of two lines of printing or paper feed. The printer goes OFF lINe and sets the DtR to “MaRk” status immediately after occurrence of a paper empty. It is necessary to install paper into the printer and press the ON lINe BUttON to light the ON lINe laMP in order to recover from paper empty status. Machine Error a machine error may be generated by paper jamming or when the printer is unable to print data. When a machine error occurs the printer stops printing. The printer goes OFF lINe and sets the DtR to “MaRk” status immediately after the occur- rence of Machine error. It is necessary to turn the printer power off and on again in order to recover from Machine error. – 33 –...
  • Page 38: X-On/X-Off Mode

    9-2. X-ON/X-OFF Mode The printer transmits an X-ON (Control Code; DC1, Hexadecimal Value; 11H,) signal after power is turned on, if there is no printer error being generated. When this signal is received by the host computer, the host computer transmits the data to the printer. The X-ON signal is output intermittently every three seconds until the host computer receives and responds to this signal. The X-OFF (DC3, 13H) signal outputting begins when the amount of empty space in the buffer becomes less than 256 bytes. When the computer receives the X-OFF signal, it will halt data transmission as soon as it can. However even at this time the printer can receive data until the buffer is completely full. an X-ON signal is output when the contents of the buffer goes below 256 bytes. The increase of the empty area in the buffer is caused by printing. If the computer causes a buffer over- flow, a flag bit in the status register will be set. (See Status) The X-OFF signal will continue to be output at a 3-second interval until the data...
  • Page 39 Paper Empty When the paper out detector indicates end of paper, the printer stops printing after a maximum of two lines of printing or paper feed. The host computer can receive the printer status by transmitting an eNQ code to the printer. The printer goes OFF lINe and sets the DtR to “MaRk” status in 5 seconds after occur- rence of a paper empty. It is necessary to install paper into the printer and press the ON lINe BUttON to light the ON lINe laMP in order to recover from paper empty status.
  • Page 40: Stx-Etx Mode

    9-3. STX-ETX Mode The start of the StX-etX mode should occur with a totally empty print buffer. This can be achieved by sending an eNQ code to the printer and checking the status until the status code indicates an empty buffer. at that point, the StX code is sent by the host computer followed by a data block. While receiving the data block, the printer generates a horizontal parity check character. after the data block is sent, the host computer sends an eNQ which causes the printer to return 2 characters, one would be the normal status character, and the second would be the horizontal parity check character that was generated by the printer while the data block was received. The host computer checks the status character to determine if any vertical par- ity errors or other errors occurred during block transmission, and checks the horizontal parity character against a character generated in the host computer while the data was transmitted. If there are no errors, etX causes the buffer to...
  • Page 41 STX-ETX Mode Flow Diagram – 37 –...
  • Page 42: Character Code List

    10. characTEr cOdE LIsT – 38 –...
  • Page 43 – 39 –...
  • Page 44 International Character Sets – 40 –...
  • Page 45: When Power Is Supplied By The User

    11. WhEN pOWEr Is sUppLIEd by ThE UsEr Note : The optional AC adapter (PS8340A) has been designed specifically for this unit(DP8340). Other AC adapters may not meet the EMC technical standards. When printer power is supplied by the user rather than through the accessory power source unit, please be careful of the following points. Note 1: An electrolytic capacitor (C = 4700µF/25V to 6800µF/25V) must be connected across the output of the power supply. Use a power supply of DC 12 V ± 5% and more than 2.0 A with SELV output and LPS or Class 2 (double-insulation structure) output approved by IEC60950.
  • Page 46 Tel: (int+1)-732-623-5500, Fax: (int+1)-732-623-5590 SPeCiAL PRODUCTS DiViSiON STAR MiCRONiCS eUROPe LTD. STAR MiCRONiCS CO., LTD. 536 Nanatsushinya, Shimizu-ku, Shizuoka, Star House, Peregrine Business Park, Gomm Road, 424-0066 Japan High Wycombe, Bucks, HP13 7DL, U.K. Tel: (int+81)-54-347-0112 Tel: (int+44)-1494-471111, Fax: (int+44)-1494-473333 Fax: (int+81)-54-347-0409 STAR MiCRONiCS ASiA LTD.

This manual is also suitable for:

Dp8340rmDp8340rd

Table of Contents