dp8340iis en hm

Upload: alejandro-martinez

Post on 05-Apr-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/31/2019 Dp8340iis en Hm

    1/54

    Dot Matx Pnt

    DP8340 SerieS

    [SeriALiNTerFACe ]

    USERS ManUal

  • 7/31/2019 Dp8340iis en Hm

    2/54

  • 7/31/2019 Dp8340iis en Hm

    3/54

    TABLE OF CONTENTS

    1. OuTLINe ........................................................................................... 1

    2. uNPACkINg AND INSTALLATION ............................................. 2 2-1.Unpacking............................................................................................. 2 2-2.InstallationoPaperHoldersandRe-RollPreventionGuard (OnlyModelDP8340F)...................................................................... 3 2-3.HandlingCare...................................................................................... 4 2-4.Maintenance......................................................................................... 5

    3. PART IDeNTIFICATION AND NOmeNCLATuRe ..................... 6

    3-1.PowerSupplyUnit............................................................................... 6

    3-2.Printer................................................................................................... 7 3-3.PartFunctionalDescription............................................................... 8

    4. INSTALLATION OF INk RIbbON AND PAPeR .......................... 9

    4-1.InstallationoInkRibbon................................................................... 9 4-2.RemovaloInkRibbon..................................................................... 10 4-3.PaperInsertion................................................................................... 11 4-3-1. ModelDP8340F...........................................................................11

    4-3-2. ModelDP8340S...........................................................................12

    4-4.PaperRemoval................................................................................... 13

    5. CONTROL CODeS ......................................................................... 14

    6. geNeRAL SPeCIFICATIONS ....................................................... 15

    7. INTeRFACe FOR mODeL DP8340-m

    (mODuLAR JACk CONNeCTOR) ............................................... 19

    7-1.InteraceSpecications..................................................................... 19 7-2.InteraceCircuit................................................................................. 19 7-3.SettingotheDIPSwitches.............................................................. 20 7-3-1. DIP-SW1......................................................................................20

    7-3-2. DIP-SW2.......................................................................................20 7-4.ConnectorsandSignals..................................................................... 21 7-5.InteraceConnections....................................................................... 22 7-6.PeripheralUnitDriveCircuit........................................................... 23 7-6-1. CableConnection........................................................................24

    7-6-2. PeripheralDriveCircuit.............................................................25

    7-6-3. ControlCodes..............................................................................25

  • 7/31/2019 Dp8340iis en Hm

    4/54

    8. INTeRFACe FOR mODeL DP8340-D

    (D-Sub 25 PIN CONNeCTOR) ..................................................... 26

    8-1.InteraceSpecications..................................................................... 26 8-2.InteraceCircuit................................................................................. 27 8-2-1. RS-232C........................................................................................27

    8-2-2. CurrentLoop................................................................................27 8-3.SettingotheDIPSwitches.............................................................. 28 8-3-1. DIP-SW1......................................................................................28

    8-3-2. DIP-SW2......................................................................................28 8-4.JumperSetting.................................................................................... 29

    8-4-1. RemovalotheBottomCover...................................................29 8-4-2. SettingoJumper.........................................................................29 8-5.ConnectorsandSignals..................................................................... 30 8-6.InteraceConnections....................................................................... 31 8-7.PeripheralUnitDriveCircuit........................................................... 32 8-7-1. CableConnection........................................................................33

    8-7-2. PeripheralDriveCircuit.............................................................34

    8-7-3. ControlCodes..............................................................................34

    9. DATA STRuCTuRe AND CONTROL .......................................... 35

    9-1.DRMode(1BLOCK)..................................................................... 35 9-2.X-ON/X-OFFMode.......................................................................... 36 9-3.SX-EXMode................................................................................. 38

    10. CHARACTeR CODe LIST ........................................................... 40

    11. FONT LIST..................................................................................... 43

    12. WHeN POWeR IS SuPPLIeD by THe uSeR ........................... 4713. FeRRITe CORe INSTALLATION (eu ONLy) ......................... 48

  • 7/31/2019 Dp8340iis en Hm

    5/54

    1

    1. Outline

    TeDP8340seriesoserialdotmatrixprintersisoruseinECR,POS,electronic

    instruments,bankingmachinesandcomputerperipheralequipment.

    TeDP8340seriesincludetheollowingeatures;

    1) 2colorprinting(RedandBlack)

    2) High-speedbidirectionalprinting(2line/sec,40columnsperline)

    3) 9-pinprinthead

    4) he interace conorms to RS-232C in M type, and to RS-232C/20mA

    CurrentLoopinDtype.

    5) Commands or expanded characters, inverted characters, emphasized

    characters,andredandblackprintingareprovided,whichmakestheprinter

    veryversatile.6) SimultaneousDataCommunicationandPrinting

    7) ErrorCheckingProtocol

    8) PeripheralDriver

    9) ReverseChannelprovidingstatusandullcontrol

    Model Name Notation

    DP8340 F M

    Interface

    Paper Feed

    D: D-sub 25 Pin Connector

    ( RS-232C / 20mA Current Loop )

    M: Modular Jack Connector

    ( Only RS-232C )

    F: Friction Type

    S: Sprocket Type

  • 7/31/2019 Dp8340iis en Hm

    6/54

  • 7/31/2019 Dp8340iis en Hm

    7/54

    3

    2-2. Installation of Paper Holders and Re-Roll Prevention Guard(Only Model DP8340F)

    InstallthePaperHoldersintheoutermostholesintherearotheprinter.

    Figure 2-2. Installation o Paper Holders

    InstalltheRe-RollPreventionWireintheholesotheprintercover.wistingthe

    Wireasshowninthegurebelow,willmaketheinstallationeasier.

    Figure 2-3. Installation o Re-Roll Prevention

  • 7/31/2019 Dp8340iis en Hm

    8/54

    4

    2-3. Handling Care

    1. b carl not to drop papr clips, pins or othr orin attr into th nitas ths cas theprintertomalunction.

    2. Do not attpt to print whn ithr papr or rion cartrid is not locatdin th printr, othrwis th print had can daad.

    3. Do not opn th covr whil printin.4. Do not toch th print had idiatl ar printin as it ts vr hot.5. us onl roll papr that is not ld to th cor.6. Whn th papr nd ar appars on th papr, rplac th roll papr or

    it rns ot.

    WARNING

    PSht down or qipnt idiatl i it prodcs so, a stranodor, or nsal nois. Idiatl npl th qipnt and contactor dalr or advic.PNvr attpt to rpair this prodct orsl. Ipropr rpair wor can

    danros.PNvr disassl or odi this prodct. Taprin with this prodct

    a rslt in injr, fr, or lctric shoc.PDrin and idiatl ar printin, th ara arond th print had is

    vr hot. Do not toch it, as o cold rnd.

    CAUTION

    PW rcond that o npl th printr ro th powr otltwhnvr o do not plan to s it or lon priods. bcas o this, oshold locat th printr so that th powr otlt it is pld into isnar and as to accss.

    PI th volta shown on th lal on th o or printr dos not atch th

    volta or or ara, contact or dalr idiatl.Pma sr that th printr is trnd o and npld ro th AC otlt

    and that th coptr is trnd o or ain connctions.PDo not connct a tlphon lin into th odlar connctor.PDo not pll ot papr whil th printr covr is closd.P I liqids, orin ojcts coins and papr clips, and so on ntr th

    printr, trn o th printr, npl it ro th AC otlt, and contact ordalr or advic. Contind s cold cas a short circit, which a

    rslt in fr or lctric shoc.

  • 7/31/2019 Dp8340iis en Hm

    9/54

  • 7/31/2019 Dp8340iis en Hm

    10/54

    6

    DCPowerConnector(Output)

    ShapeoACPowerplugwillvaryaccordingtodestinations.

    3. part identificatiOn and nOmenclature3-1. Power Supply Unit (Option)

    Modelname: PS8340A

    Input: 100to240VAC,50/60Hz Output: DC12V5%2.0A

    Figure 3-1. Power Supply Unit

  • 7/31/2019 Dp8340iis en Hm

    11/54

    7

    3-2. Printer

    Figure 3-2. Printer: Front View

    Figure 3-3. Printer: Rear View

    Donotconnectthistoa

    telephone.

  • 7/31/2019 Dp8340iis en Hm

    12/54

    8

    3-3. Part Functional Description

    (1) ACPowerPlug: Connecttoanoutletothespeciedvoltage.

    (2) DCPowerOutlet: SuppliesDC12Vpowertotheprinter.

    (3) PrinterCover: Protectstheprinteragainstdustandreducesnoise.

    (4) POWERLamp: Lightsup(greenLED)whenpowerison.

    (5) ONLINELamp: Lightsup(greenLED)whentheunitisintheonlinemode.

    (6) ALARMLamp: Lights up (red LED) when printer operation is not

    normal,ortheprinterisoutopaper.Itisnecessary

    to install paper into the printer and press the ON

    LINE Button to recover rom paper empty status.

    urnotheprinterpowerinordertorecoverrom

    abnormaloperation.

    (7) ONLINEButton: ogglesbetweentheon-lineando-linemodes.Te

    printerwillgoon-lineaerturningpoweron.

    (8) FEEDButton: Momentary operation o this button provides one

    line eed. Pressing this button continuously will

    causecontinuouspapereed.Ipoweristurnedon

    while pressing this button, sel printing*1 will be

    perormed.

    (9) InteraceConnector: Connectstheprinter tohostcomputers.Checkthatbothcomputerandprinterareobeoreconnecting.

    (10) DIPSwitches: Allows or setting o various unctions according to

    userrequirements.

    *1SelPrinting Tis printer has another convenient unction, the

    Automatic est Printing. With the ink ribbon and

    paper properly installed in the printer, turn the

    powerONwhileholdingdowntheFeedswitch.estprintingwillstartandstopagainautomatically.

  • 7/31/2019 Dp8340iis en Hm

    13/54

    9

    4. installatiOn Of ink ribbOn and paper

    4-1. Installation o Ink Ribbon

    (1) urnpowero,lithePrinterCoverupandremoveit.

    Note: Becareulnottotouchtheprintheadimmediatelyaterprinting,becauseitcangetveryhot.

    Figure 4-1. Printer Cover Removal

    (2) UnwindribbonsothatthespoolsareseparatedasshowninFigure4-3.

    Hold theribbon tautasshownwith thedrivepins acingdown andslide

    theribbonbetweentheprintheadandtheplaten.Whilekeepingtheribbon

    taut,wraponesidearoundtheblackribbonguideontheendotheplaten

    anddroponespoolonthespoolsha.Asyoumovethespooldownwards,

    movethedetectingleverasidetoallowthespooltodropintoplace.Make

    surethespooldrivepinsengagewiththespooldriveholes.Asthespooldropsintoplacetherewillbeaclick.

    (3) Whilecontinuingtoholdtheribbontaut,installtheremainingribbonspool

    inasimilarashion.

    (4) urnthespoolthatrotatesreelytotakeuptheribbonslack.

    RibbonLie

    Description Ribbonlie

    Black Red SF-03BR

    Approx. Approx.

    0.8millioncharacters0.4millioncharacters

  • 7/31/2019 Dp8340iis en Hm

    14/54

    10

    Figure 4-2. Installation o Ink Ribbon

    Figure 4-3. Ribbon Spools

    4-2. Removal o Ink Ribbon

    Holdthespoolandligently,rotatingituntiltheribbonsags.Pushtheribbon

    detectingleverout,lithespooluntilitcomesothesha.Removethesecond

    spoolinasimilarmanner.

    (Donotapplyexcessiveorcewhenliingspools.)

  • 7/31/2019 Dp8340iis en Hm

    15/54

    11

    4-3. Paper Insertion

    4-3-1. Model DP8340F

    (1) CuttheRollPaperendstraightandsquare.Holdtherollsothatthepaper

    comesromthebottom.

    (2) AttachtheRollPapertotheHoldersPaperbyslippingonesideotherollontotheHubandpullingtheotherHubouttoallowtherolltoslipinplace.

    (3) InsertthepaperevenlyintothePaperInsertionSlot.

    (4) urnthePowerSwitchON,andpresstheFEEDButton.Tepaperwillbe

    edintotheunit.

    Figure 4-4. Paper Insertion (1) [Model DP8340F]

    Figure 4-5. Paper Insertion (2) [Model DP8340F]

  • 7/31/2019 Dp8340iis en Hm

    16/54

    12

    4-3-2. Model DP8340S

    1. Makeastraightcutalongthetopothepaper,about1/4inchawayromthe

    sprocketholes,(asshowninthegure).Ithereisperoration,cutthepaper

    ontheperoration.

    2. Insert the paper squarely into the paper insertion slot until the ALARM

    lamp goesout.Ten, holddown the FEED switch to advancethe paper 8lines,andreleasetheswitchwhen8-lineeedingiscompleted.

    Ithepaperisnotedstraightduring8-lineeeding,straightenthepaperby

    pullingitbackslowlyasyouholdthepaperreleaseleverdown.Iasprocket

    holeistornorenlarged,recutthepaperandreinsertitasbeore.

    3. Aer conrming that the paper has been ed in straight, eed the paper

    continuouslybyholdingtheeedswitchdown.

    4. Releasetheeedswitchwhenthepaperemergesthroughthepaperoutlet.

    Figure 4-6. Paper Insertion (1) [Model DP8340S]

    Figure 4-7. Paper Insertion (2) [Model DP8340S]

  • 7/31/2019 Dp8340iis en Hm

    17/54

    13

    4-4. Paper Removal

    Cut the paper close to the slot and usethe eedbutton until paper haspassed

    completelythroughtheprinter.Note: Donottrytoremovethepaperbyhandasitcouldbecomecrookedand

    getjammedinsidetheprinter.

  • 7/31/2019 Dp8340iis en Hm

    18/54

    14

    5. cOntrOl cOdes

    Character Code List

    Character Code Function

    1 LF (0A)H Printandlineeedinstruction 2 CR (0D)H Printandlineeedinstruction

    (sameasLF)

    3 SO (0E)H Expandedcharacterinstruction

    4 DC4 (14)H Expandedcharacterrelease

    5 ESC-1 (1B)H(2D)H(01)H Underlineinstruction

    (1B)H(2D)H(31)H

    6 ESC-0 (1B)H(2D)H(00)H Underlinerelease

    (1B)H(2D)H(30)H 7 SI (0F)H Invertedprintinstruction

    8 DC2 (12)H Invertedprintrelease

    9 ESCE (1B)H(45)H Emphasizedprintinstruction

    (one-wayprinting)

    10 ESCF (1B)H(46)H Emphasizedprintrelease

    11 ESC4 (1B)H(34)H Redcharacterprintinstruction

    12 ESC5 (1B)H(35)H Redcharacterprintrelease

    13 ESCan (1B)H(61)Hn n-lineeedinstruction 14 ESCCn (1B)H(43)Hn Setspagelengthinlines

    1n120(deaultn=42)

    15 ESCNn (1B)H(4E)Hn Setbottommargininlines

    0n120(deaultn=0)

    16 ESCO (1B)H(4F)H CancelBottommargin

    17 FF (0C)H Formeed

    18 ESC@ (1B)H(40)H Printerinitializationinstruction

    19 ESCBEL (1B)H(07)H Setperipheralunitdrivepulseduration n1n2 n1n2 1n1127,1n2127

    (deaultn1=n2=20)

    20 BEL (07)H riggerperipheralunitdrive(Deerred)

    21 FS (1C)H riggerperipheralunitdrive

    (Immediate)

    22 ENQ (05)H Enquiry

    23 SX (02)H StartotextenterSX-EXmode

    24 EX (03)H EndotextendSX-EXmode 25 CAN (18)H Clearsprintbuer

  • 7/31/2019 Dp8340iis en Hm

    19/54

    15

    6. General SpecificationS

    Printing method : Serial impact dot matrix printing,

    9 wires

    Number o print columns : 40 columns, 12 CPI

    Print speed : Approx. 2 lines/sec

    Print direction : Bi-directional

    Line spacing : 1/6 inch

    Paper eed method : Friction Feed or Sprocket-eed

    Paper eed speed : Approx. 12 lines/sec

    Character set : ASCII 96 characters

    International and symbol 64 characters

    Block graphics* 64 charactersFont conguration : Ordinary characters 5 9 dots

    Block graphics* 6 6 dots

    * Graphic Feed Not Available

    Character size : 2.42 (H) 1.71(W) mm

    Dot spacing : 0.35 (H) 0.35 (W) mm

    Print area : 84.3 mm

    Print Bufer : Approx. 1.5 KBSerial Interace :

    Model DP8340-M Only RS-232C

    Model DP8340-D RS-232C/20mA Current Loop

    External dimensions :

    (Printer) 202(W) 200(D) 98(H) mm

    (without paper holder, DC Power Connector)

    (Power supply unit) 54(W) 114(D) 36(H) mm (without AC cable)

    Weight :(Printer) Approx. 1.9 kg

    (Power supply unit) Approx. 0.3 kg (without AC cable)

    Power supply unit :

    Four supplies available with ollowing ratings

    Input Output

    AC 100 to 240 V DC 12.0 V 5%

    50/60 Hz0.6 A 2.0 A

  • 7/31/2019 Dp8340iis en Hm

    20/54

    16

    Paperspecication:

    Papertype Ordinaryandcarbonlesscopypaper

    SizePaperwidth 114.3mm(4.5inches)

    Rolldiameter 80mmouterdiameter(Max)

    Tickness(single) 0.07mm(52.3g/m2)to0.09mm(64g/m2)

    (2copy) Onecopyandoneoriginal(max0.13mm) Paperend Papershouldnotbeattachedtothecore

    Inkribbonspecication:

    Color Blackandred

    Ribbonmaterial Nylon(#40denier)

    Ribbonsize 13mm6m

    Spool 13mm(width),35mmindiameter(twospool)

    Recommendedribbon SF-03BROperatingconditions: emperature +5Cto+40C

    Humidity 10%to80%RH

    Storageconditions: emperature 20Cto+70C

    Humidity 5%to95%RH(+40C)

    Headlie: 70millioncharacters

    Printerreliability: 5.0millionlinesMCBF(exceptheadlie)

  • 7/31/2019 Dp8340iis en Hm

    21/54

    17

    Figure 6-1. Roll Paper and Print Area [Model DP8340F]

    Figure 6-2. Sprocket-eed Paper and Print Area [Model DP8340S]

  • 7/31/2019 Dp8340iis en Hm

    22/54

    18

    Figure 6-3. External Dimensions (Printer)

    Figure 6-4. External Dimensions (Power Supply Unit)

    ShapeoACPowerplugwillvaryaccordingtodestinations.

    114 mm 2.0 m36 mm

    54mm

  • 7/31/2019 Dp8340iis en Hm

    23/54

    19

    7. interface fOr mOdel dp8340-m( mOdular Jack cOnnectOr )

    7-1. Interace Specifcations

    (1) Synchronizationsystem:Asynchronous(2) Baudrate: 150,300,600,1200,2400,4800,9600bps

    (Selectable)

    (3) Wordlength:

    Startbit: 1bit

    Databit: 7or8bits(Selectable)

    Paritybit: Odd,Even,orNone(Selectable)

    Stopbit: 1or2bitlength(Selectable)

    (4) Signalpolarity: RS-232C MARK :Logic1(3Vto25V)

    SPACE :Logic0(+3Vto+25V)

    (5) Handshaking:

    1DRMode(1block) 2X-ON/X-OFFMode

    3SX-EXMode

    Note: STX-ETXModemayuseDTRorX-ON/X-OFF,selectedbyDIPSW1-5.See

    Chapter9.ordetails.

    7-2. Interace CircuitInput(RXD,CS)

    Output(DR,FAUL,XD,RS)

    Figure 7-1. RS-232C Interace

  • 7/31/2019 Dp8340iis en Hm

    24/54

    20

    7-3-2. DIP-SW2

    Switch ON OFF Factory setting

    2-1 Internationalcharacterset: ON 2-2

    (1) ON,ON...U.S.A. (2) OFF,ON...FRANCE ON

    (3) ON,OFF...IALY (4) OFF,OFF...GERMANY

    2-3 Papertypeseeabove(*2) ON

    2-4 CRInvalid CRValid ON

    7-3. Setting o the DIP Switches

    7-3-1. DIP-SW 1

    Switch ON OFF Factory

    setting

    1-1 ON

    1-2 Datatranserrateseebelow(*1) ON 1-3 ON 1-4 Stopbit1 Stopbit2 ON 1-5 DRMODE(1BLOCK) X-ON/X-OFFMODE ON

    1-6 8databits 7databits ON 1-7 Noparity Paritychecked ON 1-8 Oddparity Evenparity ON

    (*1)

    Baudrate 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

    (*2)

    Papertype SW2-3 DP8340F ON DP8340S Single OFF

    2copy ON

    Note: DIPswitchesareonlyreadbythecontroller at power turn on. DIP

    switch changes should be made

    withpowero,oraterchanging

    switchsetting,turnthepowero

    andonagain.

    Figure 7-2. Setting o DIP Switch

  • 7/31/2019 Dp8340iis en Hm

    25/54

    21

    7-4. Connectors and Signals

    PinNo. Signal Direction Function Name

    1 GND ShieldGround

    2 GND FrameGround

    3 XD OU Tispincarriesdataromtheprinter. (Returnchannel)

    4 RXD IN Tispincarriesdatatotheprinter.

    5 RS OU TisisSPACEwhentheprinterpowerisON.

    6 FAUL OU

    TisisMARKwhentheprinterisabnormal.

    (MachineError.)Orthereisapapererror.

    7 GND Signalground.

    8 DR OU

    TisprinterturnsthispinSPACEwhen

    itisreadytoreceivedata.

    Figure 7-3. Modular Jack Connector

  • 7/31/2019 Dp8340iis en Hm

    26/54

    22

    7-5. Interace Connections

    Forinteraceconnections,reertotheinstructionsorinteraceothehostcom-

    puter.Teollowinggivesbasicexamples.

    Figure 7-4. Interace Connections using Modular/D-Sub 25 Adapter to IBM PC

    (Use with straight through cable wiring)

    Beoreselectinginteracecablewiring,itisnecessarytoknowthewiringothe

    modularinterconnectcable.Figure7-5.belowshowsthewaytodetermineithe

    cable is straight connected, orcross connected.Crossconnected wiring isnot

    suitableorshieldedcable.

    Figure 7-5.

  • 7/31/2019 Dp8340iis en Hm

    27/54

    23

    Figure 7-6. Wiring o cable or direct connection between DP8340

    and IBM PC serial part

    7-6. Peripheral Unit Drive Circuit

    TeControlBoardothisunitisequippedwithacircuitordrivingaperipheralunit(PaperCutter,ake-UpDevice,CashDrawer,etc.)TeControlBoardConnector(CN3)isused toconnectthePeripheralUnitto

    theDriveCircuit.WhenusingthiscircuitconnecttheperipheralunitcabletotheCN3Connector(cableisnotincluded).Useacablewiththeollowingspeci-cations:

    Note: Donotruncableneardevicesgeneratinglargeamountsoelectricalnoise.

    Figure 7-7. Cable Specifcations

  • 7/31/2019 Dp8340iis en Hm

    28/54

    24

    7-6-1. Cable Connection

    RemovetheprinterBottomCoverandconnectthecabletotheCN3Connector.Passthecablearoundthecontrolboardasshownandthroughgrommettedholeinbottomcover.(Grommetmayhavetobecut)

    Figure 7-8. Cable Connection

  • 7/31/2019 Dp8340iis en Hm

    29/54

  • 7/31/2019 Dp8340iis en Hm

    30/54

    26

    8. interface fOr mOdel dp8340-d( d-sub 25 pin cOnnectOr )

    8-1. Interace Specifcations

    (1) Synchronizationsystem Asynchronous(2) Baudrate 150,300,600,1200,2400,4800,9600

    BPS(Selectable)

    (3) Worldlength

    Startbit: 1bit

    Databit: 7or8bits(Selectable)

    Paritybit: Odd,Even,orNone(Selectable)

    Stopbit: 1or2bitlength(Selectable)

    (4) Signalpolarity RS-232C MARK :Logic1(3Vto25V)

    SPACE :Logic0(+3Vto+25V)

    CurrentLoop MARK :Logic1(CurrentON)

    SPACE :Logic0(CurrentOFF)

    (5) Handshaking

    1 DRMode(1block)

    2 X-ON/X-OFFMode

    3 SX-EXMode

    Note: STX-ETXModemayuseDTRorX-ON/X-OFF,selectedbyDIPSW1-5.See

    Chapter9.ordetails.

    1Start bit

    2Data bits

    3Parity bit

    4Stop bit

  • 7/31/2019 Dp8340iis en Hm

    31/54

    27

    8-2. Interace Circuit

    8-2-1. RS-232C

    Input(RXD,CS)

    Output(DR,FAUL,XD,RCH,RS)

    Figure 8-1. RS232-C Interace

    8-2-2. Current Loop

    Input(Y-RXD,Y-RXDR)

    Output(Y-XD,Y-XDR)

    Note: ResistanceshouldbesetsothatCurrentLoopisrestrictedtotherangeo

    10~20mA.

    Figure 8-2. Current Loop Interace

  • 7/31/2019 Dp8340iis en Hm

    32/54

    28

    8-3. Setting o the DIP Switches

    8-3-1. DIP-SW 1

    Switch ON OFF Factory

    setting

    1-1 ON

    1-2 Datatranserrateseebelow(*1) ON 1-3 ON 1-4 Stopbit1 Stopbit2 ON 1-5 DRMODE(1BLOCK) X-ON/X-OFFMODE ON

    1-6 8databits 7databits ON 1-7 Noparity Paritychecked ON 1-8 Oddparity Evenparity ON

    (*1)

    Baudrate 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

    (*2)

    Papertype SW2-3 DP8340 ON

    DP8340S Single OFF

    2copy ON

    8-3-2. DIP-SW 2

    Switch ON OFFFactory

    setting

    2-1 Internationalcharacterset: ON 2-2

    (1) ON,ON...U.S.A. (2) OFF,ON...FRANCE ON

    (3) ON,OFF...IALY (4) OFF,OFF...GERMANY

    2-3 Papertypeseeabove(*2) ON

    2-4 CRInvalid CRValid ON

    Note: DIPswitchesareonlyreadbythe

    controller at power turn on. DIP

    switch changes should be made

    withpowero,oraterchanging

    switchsetting,turnthepowero

    andonagain.

    Figure 8-3. Setting o DIP Switch

  • 7/31/2019 Dp8340iis en Hm

    33/54

    29

    8-4. Jumper Setting

    TeserialinteraceissettotheRS-232Cmodeuponshipmentromtheactory.

    Whenusinginthe20mAcurrentloopmode,itisnecessarytosetthejumpers.

    TejumpersbuiltintotheControlBoardalloworsettingounctionsshownin

    thetable.However,theBottomCovermustberemovedtoperormthissetting.

    ForsettingtheJumper,disconnectthepowersourcebeorehand.

    8-4-1. Removal o the Bottom Cover

    Figure 8-4. Removal o the Bottom Cover

    8-4-2. Setting o Jumper

    Jumper Setting Function Factory

    No.

    Setting

    OPEN RS-232C

    J3

    SHOR CurrentLoop

    A-C

    J7 B-C

    SelectionoCurrentLoopOutput(betweenY-XDand

    Y-XDR)SignalPolarity(in-versionpossible)ConsultSAR

    MICRONICSordetails.

  • 7/31/2019 Dp8340iis en Hm

    34/54

  • 7/31/2019 Dp8340iis en Hm

    35/54

  • 7/31/2019 Dp8340iis en Hm

    36/54

    32

    8-7. Peripheral Unit Drive Circuit

    TeControlBoardothisunitisequippedwithacircuitordrivingaperipheral

    unit(PaperCutter,ake-UpDevice,CashDrawer,etc.)

    TeControlBoardConnector(CN3) isusedtoconnectthe PeripheralUnitto

    theDrive Circuit.Whenusingthiscircuitconnect theperipheralunitcableto

    theCN3Connector(cableisnotincluded).Useacablewiththeollowingspeci-cations:

    Note: Do not run cable near devices generating large amounts o electrical

    noise.

    Figure 8-7. Cable Specifcations

  • 7/31/2019 Dp8340iis en Hm

    37/54

    33

    8-7-1. Cable Connection

    RemovetheprinterBottomCoverandconnectthecabletotheCN3Connector.

    Passthecablearoundthecontrolboardasshownandthroughgrommettedhole

    inbottomcover.(Grommetmayhavetobecut)

    Figure 8-8. Cable Connection

  • 7/31/2019 Dp8340iis en Hm

    38/54

    34

    8-7-2. Peripheral Drive Circuit

    Figure 8-9. Drive Circuit

    Caution:Donotuseexternalpowersupplywithperipheraldrivecircuit.

    Todriveaperipheralunitcontinuously,setthedutycycleto20%orless.

    8-7-3. Control Codes

    CodesorDriveCircuitcontrolareESCBELn1 n2,BELandFS.Reertothe

    ControlCodesinChapter5.

    AbsoluteRatings(a=25C)

    D1 VoltageBreakdown 400V

    ForwardCurrent 1A

    Drive

    Output12V,MAX.1A

    +12V

    CN3 Connector

    D1TR

    2A1 OUTPUT(+)

    2 OUTPUT(-)

    3 S-GND

  • 7/31/2019 Dp8340iis en Hm

    39/54

    35

    9. data structure and cOntrOl9-1. DTR Mode (1 BLOCK)

    ControlsDataranserbyusingDRlineasBUSYFLAG

    (a)

    (b)IncaseoPaperEmpty

    Paper Empty

    Whenthepaperoutdetectorindicatesendopaper,theprinterstopsprintingaer

    amaximumotwolinesoprintingorpapereed.TeprintergoesOFFLINEandsetstheDRtoMARKstatusimmediatelyaeroccurrenceoapaperempty.It

    isnecessarytoinstallpaperintotheprinterandpresstheONLINEBUONto

    lighttheONLINELAMPinordertorecoverrompaperemptystatus.

    Machine Error

    Amachineerrormaybegeneratedbypaperjammingorwhentheprinterisunable

    toprintdata.Whenamachineerroroccurstheprinterstopsprinting.Teprinter

    goesOFFLINEandsetstheDRtoMARKstatusimmediatelyaertheoccur-

    renceoMachineError.Itisnecessarytoturntheprinterpoweroandonagainin

    ordertorecoverromMachineError.

  • 7/31/2019 Dp8340iis en Hm

    40/54

    36

    9-2. X-ON/X-OFF Mode

    heprintertransmitsanX-ON(ControlCode;DC1,HexadecimalValue;11H,)

    signal ater power is turned on, i there is no printer error being generated.

    Whenthissignalisreceivedbythehostcomputer,thehostcomputertransmits

    thedatatotheprinter.heX-ONsignalisoutputintermittentlyeverythreesecondsuntilthehostcomputerreceivesandrespondstothissignal.

    heX-OFF(DC3,13H)signaloutputtingbeginswhentheamountoempty

    spaceinthebuerbecomeslessthan256bytes.Whenthecomputerreceives

    theX-OFFsignal,itwillhaltdatatransmissionassoonasitcan.Howevereven

    at thistimetheprintercanreceivedata untilthebueris completelyull.An

    X-ONsignalisoutputwhenthecontentsothebuergoesbelow256bytes.

    Teincreaseotheemptyareainthebueriscausedbyprinting.Ithecomputer

    causesabueroverfow,afagbitinthestatusregisterwillbeset.(SeeStatus)heX-OFFsignalwillcontinuetobeoutputata3-secondintervaluntilthe

    databuerbecomesnearempty(lessthan256bytes).

  • 7/31/2019 Dp8340iis en Hm

    41/54

    37

    Paper Empty

    Whenthepaperoutdetectorindicatesendopaper,theprinterstopsprinting

    aeramaximumotwolinesoprintingorpapereed.Tehostcomputercan

    receivetheprinterstatusbytransmittinganENQcodetotheprinter.Teprinter

    goes OFF LINE and sets the DR to MARK status in 5 seconds aer occur-

    renceoapaperempty.ItisnecessarytoinstallpaperintotheprinterandpresstheONLINEBUONtolighttheONLINELAMPinordertorecoverrom

    paperemptystatus.

    Machine Error

    Amachineerrormaybegeneratedbypaperjammingorwhentheprinterisun-

    abletoprintdata.Whenamachineerroroccurstheprinterstopsprinting.Inthe

    X-ON/X-OFF mode, the printer outputs anX-OFF signal immediately. At this

    timethehostcomputercanreceivetheprinterstatusaertransmittinganENQcodetoprinter.TeprintergoesOFFLINEandsetstheDRtoMARKstatus

    within5secondsaertheoccurrenceoMachineError.Itisnecessarytoturn

    theprinterpoweroandonagaininordertorecoverromMachineError.

    STATUS

    Parity

    InDRmodeandX-ON/X-OFFmodeparitycheckisdoneonverticalparity

    only.

    Framing Error

    FramingErroroccurswhenSPACEsignalisdetectedatSOPBittime.Framingerrorandverticalparityerrorwillbeindicatedbyprinting?.

  • 7/31/2019 Dp8340iis en Hm

    42/54

    38

    9-3. STX-ETX Mode

    TestartotheSX-EXmodeshould occurwithatotallyempty print buer.

    TiscanbeachievedbysendinganENQcodetotheprinterandcheckingthe

    statusuntilthestatuscodeindicatesanemptybuer.Atthatpoint,theSXcode

    issentbythehostcomputer ollowedbya datablock.Whilereceivingthe data

    block, the printer generates a horizontal parity check character. Aer the datablockissent,thehostcomputersendsanENQwhichcausestheprintertoreturn

    2characters,onewouldbethenormalstatuscharacter,andthesecondwouldbe

    thehorizontalparitycheckcharacterthatwasgeneratedbytheprinterwhilethe

    datablockwasreceived.

    Tehostcomputerchecks thestatuscharacter todetermine iany verticalpar-

    ity errors or other errors occurred during block transmission, and checks the

    horizontal parity character against a character generated in the host computer

    whilethedatawastransmitted. I therearenoerrors, EXcausesthebuer tobeprinted,butianerrorisdetected,CANcodeclearsthebuerandthedatais

    transmittedagain.AnycontrolcodestransmittedtotheprinterduringtheSX-

    EX mode will be ignoredas control codes, but will be includedin the check

    character.Tisisdonetopreventacontrolcodereceivedinerrorromcausing

    printingoerroneousdata.

    STATUS

    Parity

    VerticalandhorizontalparitycheckisexecutedinSX-EXmode.

    Framing ErrorFramingErroroccurswhenSPACEsignalisdetectedatSOPBittime.Framing

    errororevenverticalparityerrorwillbeindicatedbyprinting?.

  • 7/31/2019 Dp8340iis en Hm

    43/54

    39

    STX-ETX Mode Flow Diagram

  • 7/31/2019 Dp8340iis en Hm

    44/54

    40

    10. character cOde list

  • 7/31/2019 Dp8340iis en Hm

    45/54

    41

  • 7/31/2019 Dp8340iis en Hm

    46/54

    42

    International Character Sets

  • 7/31/2019 Dp8340iis en Hm

    47/54

    43

    11. fOnt list

  • 7/31/2019 Dp8340iis en Hm

    48/54

    44

  • 7/31/2019 Dp8340iis en Hm

    49/54

    45

  • 7/31/2019 Dp8340iis en Hm

    50/54

    46

    International Characters

  • 7/31/2019 Dp8340iis en Hm

    51/54

    47

    Note: TheoptionalACadapter(PS8340A)hasbeendesignedspecifcallyorthisunit(DP8340).

    OtherACadaptersmaynotmeettheEMCtechnicalstandards.

    Whenprinterpowerissuppliedbytheuserratherthanthroughtheaccessory

    powersourceunit,pleasebecareulotheollowingpoints.

    Note1: An electrolytic capacitor (C = 4700F/25V to 6800F/25V) must be

    connectedacrosstheoutputothepowersupply.Useapowersupply

    oDC12V5%andmorethan2.0AwithSELVoutputandLPSorClass

    2(double-insulationstructure)outputapprovedbyIEC60950.

    Note2: ADCpowerplugisavailableasanoption.

    12. When pOWer is supplied by the user

    Note3: Becareulaboutinstallingtheprinterinanareawherethereisnoise.TaketheappropriatemeasurestoprotectagainstelectrostaticACline

    noise,etc.

    +12V

    GND

    GND

  • 7/31/2019 Dp8340iis en Hm

    52/54

    48

    13. ferrite cOre installatiOn (eu Only)Iaperipheralunitdrivecircuitistobeused,attachaerritecoreusingtheol-

    lowinginstructions.

    Aerritecorenoiselterortheperipheralunitcablecomespackedwiththe

    printerordistributionthroughouttheEuropeanUnion.Ferritecoresmustbepurchasedseparatelyinotherareas.

    Cableisnotincluded.

    Useacablewiththeollowingspecications.

    ProductCode 09990713

    ModelName FerriteCoreRCC-16-8-16

    Te errite core is normally packed so itis open, as shown in Figure 13-2. I you

    ndthattheerritecoreisnotopen,usea

    pointedobjecttoprytheplasticlockothe

    erritecoreapart(Figure13-1.).Whenyou

    do,takecarenottodamagetheerritecore

    ortheplasticlock.Figure 13-1.

    Figure 13-4.Figure 13-3.Figure 13-2.

  • 7/31/2019 Dp8340iis en Hm

    53/54

    49

    Clamp the errite core onto the peripheral unit cable, looping the cable as

    showninFigure13-2.

    akecaretoavoiddamagingthecablewheninstallingtheerritecore.

    Teerritecoreshouldbeanchoredrmlyinplacewiththeastenerthat

    comeswithit,asshowninFigures13-3.and13-4.

    Donotorgettoloopthecable.

    Cableconnection

    Remove theprinterBottom Cover andconnect thecable to theCN3Con-

    nector.Passthecablearoundthecontrolboardasshownandthroughgrom-

    metedholeinbottomcover.(Grommetmayhavetobecut)

    Figure 13-5.

  • 7/31/2019 Dp8340iis en Hm

    54/54

    SPeCiAL PrODUCTS DiViSiON

    STAr MiCrONiCS CO., LTD.536 Nanatsushinya, Shimizu-ku, Shizuoka,

    424-0066 Japan

    Tel: (int+81)-54-347-0112

    Fax: (int+81)-54-347-0409

    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

    STAr MiCrONiCS eUrOPe LTD.

    Star House, Peregrine Business Park, Gomm Road,

    High Wycombe, Bucks, HP13 7DL, U.K.

    Tel: (int+44)-1494-471111, Fax: (int+44)-1494-473333

    STAr MiCrONiCS ASiA LTD.