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 (Only Model DP8340F) ..............3 2-3. Handling Care ..................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 DP8340-D (D-Sub 25 PIN CONNeCTOR) ............. 26 8-1. Interface Specifications ..............26 8-2. Interface Circuit ................. 27 8-2-1. RS-232C ..................27 8-2-2. Current Loop ................27 8-3. Setting of the DIP Switches .............. 28 8-3-1. DIP-SW 1 ..................28 8-3-2. DIP-SW 2 ..................28 8-4. Jumper Setting ..................29 8-4-1. Removal of the Bottom Cover ...........29 8-4-2. Setting of Jumper .................29 8-5. Connectors and Signals..............30 8-6. Interface Connections .
1. Outline The DP8340 series of serial dot matrix printers is for use in ECR, POS, electronic instruments, banking machines and computer peripheral equipment. The DP8340 series include the following features; 1) 2 color printing (Red and Black) 2) High-speed bidirectional printing (2 line/sec, 40 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, and red and black printing are provided, which makes the printer very versatile. 6) Simultaneous Data Communication and Printing 7) Error Checking Protocol 8) Peripheral Driver 9) Reverse Channel providing status and full control Model Name Notation DP8340 F M...
2-2. Installation of Paper Holders and Re-Roll Prevention Guard (Only Model DP8340F) Install the Paper Holders in the outermost 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 –...
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.
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.
3. part identificatiOn and nOmenclature 3-1. Power Supply Unit (Option) Model name : PS8340A Input : 100 to 240V AC, 50/60 Hz 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 –...
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.
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...
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 –...
4-3. Paper Insertion 4-3-1. Model DP8340F (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) [Model DP8340F] Figure 4-5. Paper Insertion (2) [Model DP8340F] – 11 –...
4-3-2. Model DP8340S 1. Make a straight cut along the top of the paper, about 1/4 inch away from the sprocket holes, (as shown in the figure). If there is perforation, cut the paper on the perforation. 2. Insert the paper squarely into the paper insertion slot until the ALARM lamp goes out. Then, hold down the FEED switch to advance the paper 8 lines, and release the switch when 8-line feeding is completed. If the paper is not fed straight during 8-line feeding, straighten the paper by pulling it back slowly as you hold the paper release lever down. If a sprocket hole is torn or enlarged, recut the paper and reinsert it as before. 3. After confirming that the paper has been fed in straight, feed the paper continuously by holding the feed switch down.
4-4. Paper Removal Cut the paper close to the slot and use the feed button until paper has passed completely through the printer. Note: Do not try to remove the paper by hand as it could become crooked and get jammed inside the printer. – 13 –...
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...
6. General SpecificationS Printing method : Serial impact dot matrix printing, 9 wires Number of print columns : 40 columns, 12 CPI Print speed : Approx. 2 lines/sec Print direction : Bi-directional Line spacing : 1/6 inch Paper feed method : Friction Feed or Sprocket-feed Paper feed speed : Approx.
Page 20
Paper specification : Paper type Ordinary and carbonless copy paper Size Paper width 114.3 mm (4.5 inches) Roll diameter 80 mm outer diameter (Max) Thickness (single) 0.07 mm (52.3 g/m ) to 0.09 mm (64g/m (2 copy) One copy and one original (max 0.13 mm) Paper end Paper should not be attached to the core Ink ribbon specification : Color Black and red Ribbon material Nylon (#40 denier) Ribbon size 13mm × 6m Spool 13mm (width), 35mm in diameter (two spool) Recommended ribbon SF-03BR Operating conditions : Temperature +5˚C to +40˚C Humidity 10% to 80%RH Storage conditions : Temperature –20˚C to +70˚C Humidity 5% to 95%RH (+40˚C) Head life : 70 million characters Printer reliability : 5.0 million lines MCBF (except head life) – 16 –...
Page 21
Figure 6-1. Roll Paper and Print Area [Model DP8340F] Figure 6-2. Sprocket-feed Paper and Print Area [Model DP8340S] – 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 –...
7. interface fOr mOdel dp8340-m ( 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. See Chapter 9. for details.
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) P aper type SW2-3 Baud rate SW1-1 SW1-2 SW1-3 D P8340F...
7-4. Connectors and Signals Pin No. Signal Direction Function 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 (Machine Error.) Or there is a paper error. GND — Signal ground. This printer turns this pin SPACE when DTR it is ready to receive data. Figure 7-3. Modular Jack Connector – 21 –...
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 –...
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 speci- fications: Note: Do not run cable near devices generating large amounts of electrical noise. Figure 7-7.
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) Figure 7-8. Cable Connection – 24 –...
7-6-2. Peripheral Drive Circuit A bsolute Ratings (Ta = 25˚C) Drive 12V, MAX. 1A V oltage Breakdown 400V Output P eak Forward 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 a peripheral unit continuously, set the duty cycle to 20% or less.
8. interface fOr mOdel dp8340-d ( 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...
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 – 27 –...
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) Baud rate SW1-1 SW1-2 SW1-3 Paper type SW2-3 150 OFF...
8-4. Jumper Setting The serial interface is set to the RS-232C mode upon shipment from the factory. When using in the 20mA current loop mode, it is necessary to set the jumpers. The jumpers built into the Control Board allow for setting of functions shown in the table. However, the Bottom Cover must be removed to perform this setting. For setting the Jumper, disconnect the power source beforehand. 8-4-1. Removal of the Bottom Cover Figure 8-4. Removal of the Bottom Cover 8-4-2. Setting of Jumper Jumper Factory Setting Function Setting OPEN RS-232C SHORT Current Loop Selection of Current Loop A-C Output (between TTY-TXD and TTY-TXDR) Signal Polarity (in- version possible) Consult STAR MICRONICS for details. – 29 –...
8-5. Connectors and Signals Signal Pin No. Direction 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 CTS send 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 the TTY TXDR printer on the 20mA current loop. 10 OUT This pin carries data from the printer on the 20mA cur- TTY TXD...
Figure 8-5. D-Sub 25 Pin Connector 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 – 31 –...
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 speci- fications: Note: Do not run cable near devices generating large amounts of electrical noise. Figure 8-7. Cable Specifications – 32 –...
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) Figure 8-8. Cable Connection – 33 –...
8-7-2. Peripheral Drive Circuit A bsolute Ratings (Ta = 25˚C) Drive 12V, MAX. 1A Output D1 V oltage Breakdown 400V F orward Current CN3 Connector +12V 1 OUTPUT(+) 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. 8-7-3. Control Codes Codes for Drive Circuit control are ESC BEL n , BEL and FS. Refer to the Control Codes in Chapter 5.
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. – 35 –...
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...
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.
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...
12. 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.
13. ferrite cOre installatiOn ( eu Only ) If a peripheral unit drive circuit is to be used, attach a ferrite core using the fol- lowing instructions. ■ A ferrite core noise filter for the peripheral unit cable comes packed with the printer for distribution throughout the European Union. Ferrite cores must be purchased separately in other areas. • Cable is not included. • Use a cable with the following specifications. Product Code 09990713 Model Name Ferrite Core TRCC-16-8-16 ■ The ferrite core is normally packed so it is open, as shown in Figure 13-2. If you find that the ferrite core is not open, use a pointed object to pry the plastic lock of the...
Page 53
■ Clamp the ferrite core onto the peripheral unit cable, looping the cable as shown in Figure 13-2. • Take care to avoid damaging the cable when installing the ferrite core. • The ferrite core should be anchored firmly in place with the fastener that comes with it, as shown in Figures 13-3. and 13-4. • Do not forget to loop the cable. ■ Cable connection Remove the printer Bottom Cover and connect the cable to the CN3 Con- nector. Pass the cable around the control board as shown and through grom- meted hole in bottom cover. (Grommet may have to be cut) Figure 13-5.
Page 54
OVerSeAS SUBSiDiArY COMPANieS STAr MiCrONiCS AMeriCA, iNC. 1150 King Georges Post Road, Edison, NJ 08837-3729 U.S.A. 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.
Need help?
Do you have a question about the DP8340 Series and is the answer not in the manual?
Questions and answers