background image

– 28 –

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)

Summary of Contents for DP8340R Series

Page 1: ...DOT MATRIX PRINTER DP8340R SERIES SERIAL INTERFACE USERS MANUAL ...

Page 2: ...erference Regulations This digital apparatus does not exceed the Class A limits for radio noise emissions from digital apparatus set out in the Radio Interference Regulations of the Canadian Department of Communications Le présent appareil numérique n émet pas de bruits radioélectiques dépassant les limites applicables aux appareils numériques de la classe A prescrites dans le Règlement sur le bro...

Page 3: ...Insertion 10 4 3 1 For Roll Paper 10 4 3 2 Roll Paper Installation When using the optional Printer Cover 8340R 11 4 3 3 Validation Option Installation 12 4 4 Roll Paper Removal 12 5 CONTROL CODES 13 6 GENERAL SPECIFICATIONS 20 7 INTERFACE FOR MODEL DP8340RM MODULAR JACK CONNECTOR 24 7 1 Interface Specifications 24 7 2 Interface Circuit 24 7 3 Setting of the DIP Switches 25 7 3 1 DIP SW 1 25 7 3 2 ...

Page 4: ...4 Jumper Setting 33 8 4 1 Removal of the Bottom Cover 33 8 4 2 Setting of Jumper 33 8 5 Connectors and Signals 34 8 6 Interface Connections 35 8 7 Peripheral Unit Drive Circuit 36 8 7 1 Cable Connection 36 8 7 2 Peripheral Drive Circuit 37 8 7 3 Control Codes 37 9 DATA STRUCTURE AND CONTROL 38 9 1 DTR Mode 1 BLOCK 38 9 2 X ON X OFF Mode 39 9 3 STX ETX Mode 41 10 CHARACTER CODE LIST 43 11 WHEN POWE...

Page 5: ... 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 6 Simultaneous Data Communication and Printing 7 Error Checking Protoc...

Page 6: ...opening the box check if all necessary accessories are included A Printer B Power Supply Unit Figure 2 1 Unpacking 1 Printer 2 User s Manual 3 Paper Holders 4 Re Roll Prevention Guard 5 Ink Ribbon 6 DIP Switch Cover 1 1 Power Supply Unit 2 User s Manual ...

Page 7: ... 3 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 ...

Page 8: ...soft cloth soaked in alcohol or benzine Do not use Lacquer thinner Trichlorethelene or Ketone solvents because they may damage plastic parts 6 Use a soft brush etc for cleaning the printer mechanism and PCB 7 Keep hands out of printer while power is on 8 Do not attempt to print when there is no ink ribbon or paper in the unit The print head life could be severly reduced 9 If the paper is fastened ...

Page 9: ... 5 3 PART IDENTIFICATION AND NOMENCLATURE 3 1 Power Supply Unit Figure 3 1 Power Supply Unit DC Power Connector Output Shape of AC Power plug will vary according to destinations ...

Page 10: ... 6 3 2 Printer Figure 3 2 Printer Front View Figure 3 3 Printer Rear View ...

Page 11: ...peration 7 ON LINE Button Toggles between the on line and off line modes The printer will go on line after turning power on 8 FEED Button Momentary operation of this button provides one line feed Pressing this button continuously will cause continuous paper feed If power is turned on while pressing this button self printing 1 will be performed 9 Interface Connector Connects the printer to host com...

Page 12: ...n Whilekeepingtheribbontaut wrap one side around the black ribbon guide on the end of the platen and droponespoolonthespoolshaft Asyoumovethespooldownwards 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 3 While continuing to hold the ribbon taut install the rem...

Page 13: ...ently 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 Ribbon Life Description Ribbon life Black SF 03B Approx Fuji Kagakushi 0 8 million Kogyo Co Ltd characters ...

Page 14: ...ch 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 ...

Page 15: ...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 3 Insert the paper into the slot in the Printer Cover 8340R 4 Install the Printer Cover 8340R on the printer Figure 4 6 Replace the Printer Cover Figure 4 7 Printer ...

Page 16: ...e 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 Note Do not try to remove the paper by hand as it could become crooked and get jammed i...

Page 17: ...TLINE This code causes the printer to print expanded characters twice as wide as the regular ones This remains in effect until a DC4 code is received CODE DC4 14 H FUNCTION Release from expanded characters OUTLINE The expanded character instruction is released by the DC4 code and the succeeding data is printed as regular width characters CODE ESC 1 1B H 2D H 01 H or 1B H 2D H 31 H FUNCTION Underli...

Page 18: ...CODE ESC E 1B H 45 H FUNCTION Emphasized print mode instruction OUTLINE Data following this command is printed with emphasized characters In this mode characters are printed in a single direction CODE ESC F 1B H 46 H FUNCTION Release from emphasized print instruction OUTLINE Emphasized print is released CODE ESC 4 1B H 34 H FUNCTION Red character print instruction OUTLINE This command causes subse...

Page 19: ...ialization the page length default condition will be 42 lines The line feed pitch is one sixth inch CODE ESC Nn 1B H 4E H n FUNCTION Sets bottom margin in lines OUTLINE Upon receiving this code the bottom margin is set to n lines 0 n 120 Default Value n 0 CODE ESC O 1B H 4F H FUNCTION Cancels bottom margin OUTLINE Upon input of this code bottom margin setting is cleared CODE FF 0C H FUNCTION Form ...

Page 20: ...e duration OUTLINE This command sets the pulse duration for peripheral unit drive Paper Cutter Take Up Device cash drawer etc Pulse Duration 10 n1 ms Delay 10 n2 ms 1 n1 127 1 n2 127 Default value n1 n2 20 Executed by BEL code and FS code after printing CODE BEL 07 H FUNCTION Trigger peripheral unit drive Deferred OUTLINE Causes a peripheral drive pulse to be generated This code is normallystoredi...

Page 21: ...xt OUTLINE When this code is received the printer enters the STX ETX mode ThiscodeisignoredifreceivedwhenSTX ETXmode is already in effect CODE ETX 03 H FUNCTION End of text OUTLINE When this code is received the printer leaves the STX ETX mode Contents of the data buffer is printed this code is ignored if received before ENQ CODE CAN 18 H FUNCTION Clears print buffer OUTLINE Upon input of this cod...

Page 22: ... shifted up and the ON LINE lamp blinks This lamp goes on and off at a 0 5 second interval until the end of the va lidation mode Afterthematerialtobevalidatedisinserted and the LF button is pressed the validate line is printed followed by a single line feed When the check is removed and the ON LINE button is pressed the printer returns to regular mode and is set to ON LINE status REMARKS 1 The pri...

Page 23: ...haracter print release 13 ESC a n 1B H 61 H n n line feed instruction 14 ESC C n 1B H 43 H n Sets page length in lines 1 n 120 default n 42 15 ESC N n 1B H 4E H n Set bottom margin in lines 0 n 120 default n 0 16 ESC O 1B H 4F H Cancel Bottom margin 17 FF 0C H Form feed 18 ESC 1B H 40 H Printer initialization instruction 19 ESC BEL 1B H 07 H Set peripheral unit drive pulse duration n1 n2 n1 n2 1 n...

Page 24: ...phics 5 6 dots Graphic Feed Not Available Character size 10CPI 2 00 H 2 42 V mm 15CPI 1 32 H 2 42 V mm Character spacing 10CPI 2 55 mm 1 10 inch 15CPI 1 70 mm 1 15 inch Dot spacing 10CPI H 0 425 mm V 0 353 mm 15CPI H 0 340 mm V 0 353 mm Gross dot 10CPI 174 dots wire line 15CPI 220 dots wire line Print area 10CPI 73 53 mm 15CPI 74 46 mm Print Buffer Approx 1 5 KB Peripheral drive 1 output 1A max at...

Page 25: ...core One line validation Check Refer to Fig 6 2 Paper width 70 to 90 mm Thickness 0 1 to 0 15 mm Requires the optional Printer Cover 8340R Ink ribbon specification Color Black and red Black only Ribbon material Nylon 40 denier Ribbon size 13mm 6m Spool 13mm width 35mm in diameter two spool Recommended ribbon SF 03BR Black and red SF 03B Black manufactured by Fuji Kagakushi Kogyo Co Ltd or approved...

Page 26: ... 22 Figure 6 1 Roll Paper and Print Area Figure 6 2 Material to be validated and One Line Validation Printing ...

Page 27: ... 23 Shape of AC Power plug will vary according to destinations Figure 6 3 External Dimensions Printer Figure 6 4 External Dimensions Power Supply Unit 120mm 2 0m 36mm 60mm ...

Page 28: ...t 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 Y 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 2 Interface Circuit Input RXD CTS Output DTR FAULT TXD RTS Figur...

Page 29: ... 1 6 8 data bits 7 data bits ON 1 7 No parity Parity checked ON 1 8 Odd parity Even parity ON 1 Baud rate SW1 1 SW1 2 SW1 3 150 OFF OFF OFF 300 OFF OFF ON 600 OFF ON OFF 1200 OFF ON ON 2400 ON OFF OFF 4800 ON OFF ON 9600 ON ON ON OFF Note DIP switches are only read by the controller at power turn on DIP switch changes should be made with power off or after changing switch setting turn the power of...

Page 30: ...s a paper error 7 GND Signal ground 8 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 motors will be de energized It is necessary to turn the printer power off and on again in...

Page 31: ...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 ...

Page 32: ...t the Peripheral Unit to the DriveCircuit WhenusingthiscircuitconnecttheperipheralunitcabletotheCN3 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 cab...

Page 33: ...ure 7 8 Cable Connection 7 6 2 Peripheral Drive Circuit Figure 7 9 Drive Circuit Caution Do not use external power supply with peripheral drive circuit 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 Drive Output 12V MAX 1A ...

Page 34: ...its 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 5 Handshaking 1 DTR Mode 1 block 2 X ON Y OFF Mode 3 STX ETX Mode Note STX ETX Mode may use DTR or X ON Y OFF selected by DIP SW 1 5 See Chapter 9 for details 1 Start bit 2...

Page 35: ...t 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 ...

Page 36: ... 2400 ON OFF OFF 4800 ON OFF ON 9600 ON ON ON OFF 8 3 2 DIP SW 2 Switch ON OFF Factory setting 2 1 International character set ON U S A FRANCE 2 2 Always ON ON 2 3 2 2 color Ribbon Monochrome Ribbon ON 2 4 CR Invalid CR Valid ON Note DIP switches are only read by the controller at power turn on DIP switch changes should be made with power off or after changing switch setting turn the power off and...

Page 37: ...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 Setting Function Factory No Setting OPEN RS 232C J3 SHORT Current Loop A C J7 B C Selection of Current Loop Output between TTY TXD and TTY TXDR Signal...

Page 38: ...ady to receive data This line carries the same signal as pin 20 12 N C Unused 13 GND Signal ground 14 FAULT OUT This is MARK when the printer is abnor mal Refer to Error Condition Alarm Mode 1 Or there is a paper error 15 16 N C Unused 17 TTY TXDR This pin is the return path for data transmit ted from the printer on the 20mA current loop 18 TTY RXDR This pin is the return path for data trans mitte...

Page 39: ...ub 25 Pin Connector to IBM PC 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 ...

Page 40: ...henusingthiscircuitconnecttheperipheralunitcabletotheCN3 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 th...

Page 41: ... 25 C D1 Voltage Breakdown 100V Peak Forward Current 1A Drive Output 12V MAX 1A Figure 8 9 Drive Circuit Caution Do not use external power supply with peripheral drive circuit 8 7 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 42: ...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 Amachineerrormaybegeneratedbypaperjammingorwhentheprinterisunable 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 afte...

Page 43: ...ting begins when the amount of empty space in the buffer becomes less than 256 bytes When the computer receives the X OFFsignal itwillhaltdatatransmissionassoonasitcan Howeverevenatthis 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...

Page 44: ...ngorwhentheprinterisunable toprintdata Whenamachineerroroccurstheprinterstopsprinting IntheX ON X OFF mode the printer outputs an X OFF signal immediately At this time the host computer can receive the printer status after transmitting an ENQ code to printer The printer goes OFF LINE and sets the DTR to MARK status within 5 seconds after the occurrence of Machine Error It is necessary to turn the ...

Page 45: ...ost computer checks the status character to determine if any vertical parity 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 be printed but if an error is detected CAN code clears the buffer and the data is transmitte...

Page 46: ... 42 STX ETX Mode Flow Diagram ...

Page 47: ... 43 10 CHARACTER CODE LIST ...

Page 48: ... 44 ...

Page 49: ... 45 International Character Sets ...

Page 50: ...25V to 6800µF 25V must be connected across the output of the power supply Note 2 A DC power plug is available as an option Reference Design the power supply referring to the power supply circuit shown below Note A line noise filter must be used to prevent line transients from passing through power supply Filter design to be determined by environmental noise requirements 11 WHEN POWER IS SUPPLIED B...

Page 51: ...47 VAC 14V C2 100 200µF 25V VDC 12V ZD1 VZD 14V 1W IAC 2 3A C3 4700 6800µF 25V C1 6800µF 25V TR1 2SD633 TOSHIBA Other parameters may be determined by user Figure 11 1 Power Supply Reference Circuit 10 5 ...

Page 52: ...ccess the following URL http www star micronics co jp service sp_sup_e htm for the lastest revision of the manual OVERSEAS SUBSIDIARY COMPANIES STAR MICRONICS AMERICA INC 70 D Ethel Road West Piscataway NJ 08854 U S A Tel 732 572 9512 Fax 732 572 5095 STAR MICRONICS U K LTD Star House Peregrine Business Park Gomm Road High Wycombe Bucks HP 13 7DL U K Tel 01494 471111 Fax 01494 473333 ...

Reviews: