Download Star Micronics 4111 Printer User Manual
Transcript
MULTI-FONT MULTI-FONT 8082 0415 USERS MANUAL Sdf Declaration Radio intcrfcrcnceregardingthis equipment has bear eliminated according to Vfg 1046/1984 arnounced by the DBP. DBP has been infosmedof the introductionof his specialquipment andhas been grantedthe rightso ex-e the whole series. It is the user’s responsibilityto see thathis own assembledsystem is in mmr&nee with the technical regulationsunderVfg 104( Y1984. To conformto FTZ-regulationsit is ncccssaryto makeailcmmectionstothepMkr with shieldedcable. The equipmentmay only be opened by qualif]edservice representatives, The obovc stafensanfapplies only foprinters mrkted in WestGermany, Trademark Acknowlcdgcmcnta FR-10, FR-15, ND-10/15, NR-10/15: StarMicrcnics Co., Ud. IBM PC, PC-AT, PC-XT, Proprinter, Proprhster II, PC.DOS: InternationalBusiness Machines Corp. MicroaofI BASIC, MS-DOS: Microsoft Corporatiar EX-800, EX-1OOO, EX-~ FX-286+XSeiko Epson Cap. WordStar: MicsQPmfntemationalCorporation NOTICE ● All rights reserved.Reproductionof any partof this manualin any form wharmeverwithout mrissionis forbidden. ● ‘llrecontems of Mmanualare subjcztto change wilhout notice ‘TAR’sexpss117 ● Aif effortshave been made to ensurethe accumc of the contentsof tis manualat the time of press. IIowever,should any errorsbe &tected, S f AR worddgreatlyappreciatebeing informed of them. ● The above n~witistanding, STAR can assumeno rcspcmsibiiityfor any errorsin this manual. (3 Copyright1989Sbr MicronicsCo., Ltd. i. I CONGRATULATIONS Thankyou for buyingthisprinter.This printeris providedwith the following featunx: ● ● ● ● ● 2 print modes- Draft and Near Letter Quality Many diffenmttypefacesbuilt into the printer Epson or IBM Pmprintercompatibilityincludinggraphics Comprehensivepaper-handlingfacilities(cut-sheetor tractoras standard, with optionalAutomaticSheetFeeder) Paper-park facility for loading cut-sheet paper without having to unloadfanfoldpaper MemorySwitchfacility,enablingcomprehensiveprogrammingfrom the front panel Optionalcolor facilities ORGANIZATIONOF THIS MANUAL Thismanualis dividedinto9 chaptm. Usechapters1through3 as a “User Guide”,givingyouinformationon howto set up andstartyourprinter.The remainingchaptersmay be treated as a referenceguide for programming operations,etc. It assumes a degree of knowledgeoff the operation of computers(forinstance,it assumesyouknowabouthexadecimalnumbers). The chaptersam as follows: Chapter 1- Introduction Readthis sectionfirst,as it explainshowto unpackandinstallyourprinter. Chapter 2- Front panel controls There am a numberof controlson the frontpanel which performvarious functionsrelated to paper handling,print modes and font selection.This sectionshowsyou how to use the frontpanelcontrols. Chapter 3- Setting up the Memory Switches Your printer has a Memory Switch function,which allows you to make certain system settings fmm the front panel. This section explains the operationof these MemorySwithes. Chapter 4- Emulations and escape codes Thischapterexplainsthedifferentemulationsprovidedby yourprinter,and the softwarecommandsused to drive it. This sectionis of use if you zue writingor modifyingprogramsto take advantageof the printer’sfeatwvs. Chapter 5- DIP Switches This sectionexplainshow to set the DIP switchesto make systemsettings on the printer. Chapter 6- MS-DOS and your printer Since the PC or PC-AT family of computersrunningunder MS-DOS is currentlythe most popular ccmflgurationof microcomputer,we have includeda few hints andtips to help you use yourprinterwith such systems. SincevirtuallyallPCsaresoldwitha MicrosoftBASICinteqmxer,wehave also included some hints, and a sample program in this language to demonstratethe capabilitiesof the printer. Chapter 7- Troubleshooting and maintenance Thissectiongivea checklistof pointsto checkif yourprinteris not working in the expectedway. It also includesdetailsof some routinemaintenance operationsyoucan carryoutyourself.It is no~however,a completeservice manual.Calla qualifiedserviceengineerif you areumnueof yourabilityto carry out any maintenanceor servicingoperations. Chapter 8- Specifications This sectiongivesthe specificationsof yourprinter. Chapter 9- Character sets Thesechartsgivethe diffenmtcharactersets available,and the differences between‘nationalcharactersets (as set up with the DIP switches). TABLEOF CONTENTS 1 Chapter 1 INTRODUCTION 1 .......................................................... LOCATING THEPRINTER UNPACKING,SEITING UP ANDCONNECTION.................... 1 Settingup.....................................................................................3 Comection...................................................................................5 LOADINGPAPER......................................................................... 7 Cut-sheetpaper............................................................................7 Fanfoldpaper(continuous) stationery.........................................8 Oncethepaperhasbeenloaded................................................ 10 11 Chapter 2 FRONT PANEL CONTROLS CONTROLSAND INDICATORS ............................................... 11 Controls..................................................................................... 11 Indicators...................................................................................11 PITCHSETTING.......................................................................... 12 PitchPanelLock........................................................................ 12 FONT SETTING........................................................................... 13 FontPanelLock......................................................................... 13 QUIETMODE.............................................................................. 13 PAPERHANDLING....................................................................14 Formfeed................................................................................... 14 Paperparking............................................................................. 14 Shorttear-offfunction............................................................... 15 MicroFeed................................................................................. 16 BUFFERCLEAR/RESET............................................................ 16 TEST AND MAINTENANCESETTINGS................................. 16 17 Chapter 3 SETTING UP THE MEMORY SWITCHES MENUOPTIONS......................................................................... 19 CommandMenu........................................................................ 19 Fontmenu.................................................................................. 19 PrintMenu.................................................................................20 PaperMenu................................................................................20 FormsMenu...............................................................................21 Factorysettings..........................................................................22 Chapter 4 EMULATIONS AND ESCAPE CODES 23 EMULATIONS............................................................................. 23 NUMERICALREPRESENTATION...........................................23 COMMANDCODESANDESCAPESEQUENCES..................24 Font styleand charactersetcontrolcodes.................................26 Fontpitchcontrolcodes ............................................................30 Specialprintmodecontrolcodes ..............................................32 Line spacecontrolcodes...............................................,............36 Formfeedcontrolcodes............................................................39 Marginsand verticaltab settingcontrolcodes......................,...41 Horizontalprintpositioncontrolcodes.....................................44 Downloadedcharactercontrolcodes.........................................48 Graphics.....................................................................................52 Miscellaneouscodes..................................................................55 ASCIIcommandsequences.......................................................63 Chapter 5 DIP SWITCHES 67 Chapter 6 TROUBLESHOOTING AND MAINTENANCE 69 TROUBLESHOOTING................................................................69 Powersupply.............................................................................70 Printing......................................................................................70 Paperfeeding.............................................................................72 MAINTENANCE.........................................................................75 ADJUSTINGTHE PRINTINGGAP ...........................................75 RIBBONREPLACEMENT..........................................................76 REPLACINGTHE PRINTHEAD...............................................78 FRONTPANELDIAGNOSTICAND TEST MODES..............................................................................80 Shorttestmode..........................................................................80 Longtest mode..........................................................................81 Text testmode ...........................................................................82 Hexadecimaldumpmode..........................................................83 Bidirectionaltest/adjustmentmode...........................................84 Chapter 7 MS-DOS AND YOUR PRINTER 87 INSTALLINGAPPLICATIONSOFI’WARE WITH YOURPRINTER..............................................................87 GRAPHICSHARDCOPY...........................................................89 SE’ITINGUP THEPRINTERFROMTHE DOSPROMPT ......89 PROGRAMMINGUSINGBASIC ..............................................90 Sampleprogram.........................................................................90 Howthe programworks............................................................93 Patchesnecessaryto use the BASICinterpreter........................96 Chapter 8 SPECIFICATIONS 97 Chapter 9 CHARACTER SETS 101 STANDARDCHARACTERSET#1 ......................................... 102 STANDARDCHARACTERSET#2......................................... 104 IBMCHARACTERSET#2 .......................................................105 IMBCHARACTERSET#l ....................................................... 107 ADDITIONALCHARACTERSET...........................................108 INTERNATIONALCHARACTERSETS................................. 109 INDEX 111 I chapter 1 INTRODUCTION The followingsectioncovemtheunpackingandinstallationof yourprinter, togetherwith informationon paperloadingand handling(bothcontinuous and cut-sheetpaper). LOCATINGTHE PRINTER Beforeyou startunpackingand settingup yourprinter,make sure that you have a suitableplaceon whichto locateit. By “a suitableplace”,we mean: ● ● ● ● ● ● A firm, level surfacewhichis fairly vibration-free Awayfromexcessiveheat (ie awayfrom directsunlightand away from heaters,etc) Away fmm excessivehumidity Away from excessivedust A locationwith sufficientspaceto locatethe printerand any paperto be fed into it, as well as the printedpapercomingout If you areusinga parallelconnectionto yourcomputer,makesurethatit is within2m (6ft)of theprinter(anRS-232connectionusingtheoptional RS-232interfacecan be made overlongerdistances). UNPACKING,SE’l_HNGUP AND CONNECTION Now unpackthe contentsof the printershippingcontainer,and make sure that you have the following: The printeritself Paper guideassembly s The platenknob . A fabricribbon If any of these items m missing,cmtact your supplier. ● ● 1 Theoptionalaccessorieswhichyoumayhaveorderedwithyourprinterare: Serial(IN-232) interfaceboard Automaticsheet feeder Coloroptionkit See the installationinstructionscontainedwith these optional items for detailsof how to attachthem to your printer. ● ● ● 2 Settingup Placeyourprinterin the positionwhereit is goingto be permanentlysited, and remove all packingmaterialfrom inside the top cover. This packing materialis intendedto pnwentdamageto theprinterin transit.Youmaylike to keep this packingwith the printer cartonif you intendtranspofiingthe printerfor use at a differentlocation. The platen knob should be removed from the accessory box inside the s~pping carton.Mountthe platenknob on the shaft on the right-handside of the printer.Turn theknobon the shaftbeforepushingtheknobfullyinto position. NOTE I Beforeturningtheplatenknob,alwaysensurethatthepowertotheprinter ~ is OFF. I 3 Removethe top coverby liftingthe front (usingthe two grips at the side), and pullingtowardsyou. Now installthe ribbon. 1 Usethetensioningknobon the ribboncartridgeto tightenthe ribbonif it is slack (turn clockwise). 2 The ribbonshouldpass betweenthe printhead and the printhead shield (see illustrationbelow). ,Print head shield bon 3 Usethegnpson thesideoftheribboncartridgeto helplocatethecartridge (squeezethem inwardsgently),and make sure that the spindleson the cartridgeholderfit into the socketson the cartridgeitself. Ribbon cartridge Ribbon holder Connection Comect the printerto yourcomputer,usinga standardparallel-typecable. On a PC or PC/AT-typecomputer,this meansthat you use the 25-way Dtypeconnectoratthecomputerend,andtheAmphenol-type36-wayconnector at the printer end. The pinoutsof the printer’scomector m given in Chapter8 if you need a cable for connectionto anothercomputer. Plugtheprinterintoa suitablemainsoutlet.However,DONOTturn on the power switchat the back of the printeryet. 5 I You may needto set someDIP switchesinsidethe printerbeforeyou start using it. Theseswitchesenableyou to configwethe printeras an Epsonor as an IBM Proprinterprinter.The DIP switchesalso enableyou to selecta character set other than the USA character set, if your supplier has not alreadyset theseup for you.The DIP switchcoveris locatedinsidethe top cover(seebelow).Usetheendof apaper-clip(orsimilar)to settheswitches. Detailsof theseswitchesaregivenin Chapter5. If youfeelunsureasto your abilityto set these switches,contactyour supplier. DIP switch covel / 6 LOADINGPAPER Thefollowingsectionsexplainhowto loadpaper- single-sheet(cut-sheet), withoutthe AutomaticSheetfeeder,and also the operationsnecessaryfor loadingcontinuous(fanfold)stationery. If youtm usingthe AutomaticSheetFeeder,pleasereferto the instructions suppliedwith the AutomaticSheetFeederunit. Cut-sheetpaper 1 Placethe paperguidein position,locatingthe lugs on the bottomof the assemblyinto the slotson the printerbody. 2 Makesurethatthe releaseleveris pushedtowardstheback of theprinter (~ position). 3 Adjustthe paperguidesto matchthe sizeof paperyou will be using (rememberingthatprintingwill startsomedistancefmm theleft-handedge of the carnage). There are markingsmolded into the back plate of the assemblyto helpyouif youwishto centerthepaper.If you arecentering thepaperusingthemarkingsmoldedintothepaperguide,rememberthat printingwill start from the left-handedge, unlessyou reset the left and rightmarginsusing softwmvcommands. 4 Placethe paperbetweenthe guides,placingthe sideon whichyou want to printtowardsthebackof theprinter.Gentlypushthepaperdownin the guidesuntil you feel it stop. s per guide 7 5 Turn on thepowerusingthe switchat thebackof theprinter.The printer wilibeep,indicatingthatno paperis in positionfor printing.The orange PAPERindicatoralso showsthis. button.ThepaperbailWillmoveclearofthepaper, 6 Nowpmssthe (SE’’WT’PARK: and he paper will be fed and adjust&1past the print head to a position ready for printing.The paperbail will be movedback to grip the paper againstthe platen,and the printhead will moveto the start position. The actualverticalpositionof thepaperafterauto-loadingis determinedby the MemorySwitchsetting(see Chapter3). The verticalpositionof the paper can be finely adjustedby means of the micro feed function(see Chapter2). Fanfoldpaper (continuous)stationery If you aregoingto use fanfold(continuous)paper,thenyouwillneedto use theintegraltractormechanismassembly,situatedundertherearcoverofthe printer. 1 Removethe top and rear coversof the printerto insertthe paper. Clamp lever 8 Rear cover 2 Pushthe releaselevertowardsthefrontof theprinter(tothe ~ position). This has the effect of releasingthe paper from the platen roller, and engagingthe tractorfeed. 3 With the sprocket covers open, tluvad the paper over the sprockets, aiigningthe sprocketholes withthe pins on the sprockets. 4 Adjustthe spacingof the sprocketsby slidingthem alongthe bar, using the clamp lever at the back of each sprocketto release and lock the sprocketimposition(whentheleverisup, thesprocketmaybemoved,and when it is down,the sprocketis locked). Release lever / Sprocket cover 5 Nowclosethespmcketcovers,againmakingsurethatthe papersprocket holes are alignedwith the pins on the sprockets.If they are not aligned properly,you willhaveproblemswith paperfeeding,possiblyresulting in tearingandjammingof the paper. 6 Tumonthe printerusingthe switchattheback of theprinter.Theprinter will beep (indicatingthat the paper is not yet fullyloaded).This is also confirmedby the orange PAPERindicator. 9 I 7 Nowpnxthe @&@button.Thepaperbailwi llmoveclearof thepaper, and the paper will be fed and adjustedpast the print head to a position ~ady for printing.The paperbail will be movedback to grip the paper againstthe platen,and the printhead willmoveto the startposition.As whenloadingcut-sheetpaper,theMemorySwitchsettingwilldetermine the initialpositionof the paper after auto-feeding,and the micm feed functionmay be used to adjustthe paperposition. 8 Remountthe top cover rear cover and the transparentprintercover. 9 Remountthe paperguideas shownbelow: Once thepaper has been loaded The printerwillnowbe on-line(theONLINEindicatorwillbe lighted).You may nowwantto choosea font,a pitchanda printquality.Thiscanbe done from the frontpanel,but you must put the printeroff-linefirst by pressing the.[=~~~-;button.The indicatorwill go out and the printer will beep to confirmthis. 10 chapter2 FRONT PANELCONTROLS The followingsectiondescribesthe front panelcontrolsand indicatorson yourprinter,togetherwithadescriptionofthefunctionsperformedby them. CONTROLSAND INDICATORS The followingis a brief guide to the controlsand indicatomon the front panel. Controls I m 9 CO”mm m W-LIGHT m WcFl LETTER-Q _ SCRIPT m Izcm 9 SANSERIF = CINEMA M INTERNAL = DRAFl FONT = ‘mp -“NDn MICRO FEED PITCH \ 5ETIWECTiT.ARU u _ POWER = PAPER I PAPER FEm a– fi The printeris equippedwith fivebuttons:fmm left to right they are, LFONT; and .@!I (smaller buttons), and @E@, (PA~R~EEtj and (, ONPUI~”> (larger buttons). Indicators The first two buttonshave a seriesof indicatorsnext to them which show whichoptionhas been currentlyselectedusing them (font or pitch).Some oftheseindicatomcanbeeitherorangeorgreen,dependingupontheoptions cunently selected. button(as its operationis There is no indicatorassociatec’withthe obvious when paper has been inserted), but the PAPERFEED’and ‘“ONLINE”” buttons both have indicatmxembedded in the buttons themselves.The FEEO’I button,howeverdoesnot indicatepaper indicatorembeddedin the PAPER feeddirectly,butindicates(whenilluminated)whetherQuietmodehasbeen selected(see below).The .-ONWE’. button also has an embeddedindicator. Pushingthe ~-LINE”’ buttonwill alternatelyset the printeron- and off-line and illuminateor extinguishthe indicator. SETEJECTPA~K; 11 Inadditiontotheseindicators,the~ m twoothers, POWERandPAPER.The POWERindicatorwill illuminatewhenpoweris suppliedto the printer,and the PAPERindicatorwill illuminatewhen no paperhas been inserted. PITCHSEITING Usethe PITCH’ buttontosetthepitchthatwillbe printed.Rememberthatthe printer.mustbe off-linefor you to do this. Successivepnxses of thisbutton will illuminate(and select)the followingoptionsin this order: ( Pitch 10 charactersper inch I Indicator(s) IOCPI 12charactersper inch 17charactersper inch 20 charactersuer inch Proportional 12CPI 10CPI,COND ] 12CPI.COND I PROP 1 1 Holdingdown this buttonwill cyclecontinuouslybetweenthese options. Pitch Panel Lock If the PITCH’ buttonis pressedwhenthe printeris turnedon, the pitch will be “locked”,and no pitch changescan be made from software. It is still pssible, however,to put the printeroff-lineandchangethe pitchusingthe PITCH button. 12 I FONTSEITING the ~‘oNT: buttonwill illuminatea font indicator.Rememberthat theprintermustbeoff-linefor youto dothis.Notethattheselectionof some fonts(shownin yellowon the frontpanel)is shownby an orangeindicator, and the selectionof others(shownin greenon the frontpanel)is shownby a green indicator.Holdingdownthe (FONT~ button will cycle continuously Mtween the fonts available. hXSiIlg I Font I I courier I I !kliDt sanserif Cinema Internal Draft I I I Font Panel Lock lfthe .TONTI buttonimpressedwhenthe printeris turnedon,the fontwillbe “locked”,andno fontchangescanbemadefromsoftware.It is stillpossible, however,to put the printer off-line and change the font using the ‘~ONf’ button. QUIETMODE To selectQuietmode,the printermustbe on-line.Whileit is on-line,press the I.PAPE!FEED button. This will alternately illuminate and extinguish the QUIETindicator.When in Quiet mode,theprinterwillprintslightlyslower, but at a reducednoiselevel. NOTE If you press the PAPERFEEO? button while the printer is off-line, the -EEZ buttonwill performits normalfunction,ie it will feed paper. 13 I PAPERHANDLING The followingsectionsdescribethe ways in which you can controlpaper feeding,etc by means of the front panelcontrols: Form feed A formfeed can be achievedfrom the frontpanelin the followingway: 1 Put the printer off-line, by pressing the indicatoris extinguished. 2 Press the ON.LINE button, so that the button,and keep it depnxsed. .!APEBFEED 3 Press the =‘ buttonmomentarily. 4 The paper will then move forwardto the top of the next sheet (fanfold paper),or eject a cut sheet. 5 Set the printeron-lineagain (.. ONLINE. button)to resumeprinting. Paperparking Paperparkingis usefulif you areusingfanfoldpaper,and youwantto print a documenton oneor two sheetsof cut-sheetpaper.The printer“parks”the fanfoldpaper safelyout of the way, so that you do not need to unloadthe paper before inserting cut-sheet paper, then, when you have finished printingon cut-sheetpaper, moves the fanfold paper back to its original positionso that you can restat printing. To use this facility,followthe instructionsbelow: 1 Puttheprinteroff-line@ess the :-OWW ‘button,sothattheindicatorgoes out). button, so that the fanfoldpaper is moved out of the 2 Press the {ET:::CT:PARK’ paper path. 3 Nowmovetheteleaselevertotherearof theprinter( ~ position)toselect cut-sheetpaper (disengagingthe fanfoldsprockets). NOTE If youdo notmovethereleaseleverat thisstage,theprinterwillwarnyou at‘thenext step by emittinga continuousseriesof &ps. 14 I 4 Insertthe cut sheetpaperin the paper guides buttonin orderto feedthe cut sheetto the startingprint 5 Pressthe 6fi~~ECTPAR~ position.The printer will automaticallygo on-line. 6 Print as normalon the cut sheet(s),andwhenyouhaveftished printing, put the printeroff-line(by p~ssing the . ONLNE.; buttonagtin). 7 If the softwarehas not donethis for you,eject the paper by pressingthe @IS!:@button. 8 Move the releaselever to the front of the paper (~position) to select fanfoldpaper (engagingthe fanfoldsprockets). 9 Now feed the fanfoldpaperto the printpositionby pressingthe {EKJECTP(R] button.The paper will moveto its formerprintposition,and the printer will automaticallygo on-line. You are now ready to start printingon fanfoldpaper again. Short tear-offfunction The short-tear-offfunction is handy when using fanfold paper. It ejects the paper so that the perforation isjust above the transparent cover, allowing you tear it off withouthavingto open up the printer.It then reversesthe paper feed afteryouhavetom off the paper,the~by startingprintingat the top of the next form.This featureis especiallyusefulif you are usingpre-printed stationery(such as invoices,etc), whichwill not be printedall together. To use the shorttear-offfunction,pressthe{ ON”LINEIbuttonwhenthe printer is on-line,andholdit downfor a few seconds.Whenyoureleasethebutton, thepnnter willgooff-line,andthepaperwillmoveup a fewinches,allowing you to tear off the form. To ~tum the paperto its previousposition,press the ONLINE buttononce again. When you ~lease the button, the printer will return to its on-line status,andthepaperwillbe fedbackwards,withtheprintheadalignedwith the top of the next form. 15 Micro Feed The Micro Feed facilityis usefulif you wish to alignthe paper exactly.It feedsthe paper forwardsor backwardsin l/216th inch increments. To use this featwe, put the printeroff-line(usingthe (- button). Then press the @@> button, and either the (PAP-O) button (to feed the paper forwatis), or the @W@ button(to feed the paper backwards). Holdingdownthesebuttonscontinuouslywillcontinueto feedthepaperforwardsor backwardsin small increments. BUFFERCLEAR/RESET It is possibleto clearthe buffer of the printeror to mtum it to its power-on statusby usingthe frontpanelbuttonswithouthavingto turn the poweroff andon.To dothis,puttheprinteroff-line(pressthe [ONL~.1 button),andthen press the :-0N~i~~7 button again.Before releasingthe (“~~ button,hold buttonwithintwo secondsof downthe “F!NT button.Releasingthe (:0~~1 holdingit down (beforereleasingthe CON.LNSI button)will clear the data in the buffer.Releasingthe buttonafter two seconds(again,before releasing the @~-’ button)will reset the printerback to the settingsat power-on. TEST AND MAINTENANCESETTINGS printerisequippedwithanumberoffunctionsto assisttestingandmainThe tenance.Sinceit is anticipatedthattheywillnotbe usedveryoften,theyare not describedhem, but in Chapter6. However,briefly,they are: ● A text test printmode ● A short test printmode ● A long test print mode . A hexadecimaldump mode ● 16 A bidirectionalprint test SETTING UP chapter 3 THE MEMORYSWITCHES In additionto the pitchand font,manyotheroptionsregardingthe setupof the printercan be carriedout fromthe frontpanel.To accesstheseoptions, it is necessaryto turnoff theprinter,andthenturn it on again,whileholding .WR.FEED’Iand 4*S buttonstogether.Thiswillcausethe downthe [~IE’1, printerto print a series of questionsand optionsto which you can answer usingthe frontpaneibuttons.This is calledthe MemorySwitchmode. ) -- - 12CPI - MICROFEED PROP PITCH COND ,.,:,:;;..;;:”:: Q SET/EJECT/PARK ~— PAPERFEED PAPER ONLINE .,..,,, --QUIET EXIT d - ENTER The principleinvolvedis thatthe printerwill print a list of optionson one ,.—.———. .——, and ‘P~ERFEEObuttonsto movetheprintheadsothat line.Youuse the it is belowthe optionyou wantto choose. SET:WPARK Theprinterwillmovethepaperup anddownasappropriate,sothatthemenu optionsa~ visible. The SETEJECTPAriK’ button moves the print head one option to the left, and the PAPERFEED button moves one optionto the right(asmarkedin blueon the front panelunderthebuttons).Holdingdownoneof thesebuttonswill stillmove the print head only one optionforwardor back. Whentheprintheadis belowthedesiredoption,pressthe ONLINE buttonto enterthisintotheprinter’smemory.Anyoptionchosenatthisstagewillnow be stored,even when the printeris turnedoff. 17 Whenyoupress the { ON- buttonto enter an option,a “*” (asterisk)will be printedto confirmthat the optionhas been chosen. The menusare organizedin a hieramhical(tm-structumd) fashion.Some menus do not choose options directly,but instead, move down to other menus. To move up through the menu structure towards the “root” or button (a.. marked in blue “trunk”, use the ~PITCH’ button as an ““EXIT underneaththe button). The structwe of the menusis shownbelow.: Main menu , , Print currentsettings 1-[ , Use factorysettings 1000- Commandmenu Font menu Print menu Papermenu The optionswithineach menu are givenbelow. As mentionedabove,whenyoupressthe (“-EX-”’I buttonfromany sub-menu or fromanoptionwithinamenu,youwillreturnto themenulevelabovethe currentone. If you pressthe ‘ EXIT-’ buttonfromthe main menu,the printer E~***” ~d exitto beingon-line,withthe settingschosen willprint “*** in MemorySwitchmode beingnow set in the printer. 18 MENUOPTIONS Thefollowingis a list of the optionswithinthe menus,andtheirmeanings, togetherwiththepromptsprintedinMemorySwitchmode.Thepromptsare givenin capitallettersin squarebrackets,thus: [OFF].Factorysettingsare markedhem with an asterisk(for example,[ON*]).A summaryof factory settingsis also providedfollowingthis section. CommandMenu This menu allowsyou to setup variousparameterscontrollingthe overall setupof the printer: RAM USAGE QUIETMODE GRAPHICS DIRECTION AUTOON-LINE The printer RAM may be used as a print buffer [BUFFER*],fordownloadingfonts[DOWNLOAD],or as a single-linebuffer [lLINE.BUFFER]. Theprintermayeitherprintslowerand quieter[ON],or faster,makingslightlymorenoise IOFP]. Whenprintingin graphicsmode,the printermay either print bidirectionally(in alternatedirections)for speed IBI*] or in one directiononly (unidirectiomlfor increased accuracy CUNI].For practicallyall purposes, however,bidirectionalprintingis sufficientlyaccurate. If this is set [ON*], then when paper is inserted,the printerwillautomaticallycomeon-line.Ifset[OFFI,then youwillhaveto pressthebuttonto bringtheprinteron- line. Font Menu Thismenuallowsyouto settwoparametm concerningfontswhichwillbe automaticallyselectedwheneveryou turn on the printer: ZERO STYLE In computerusage,a zero is often writ?enwith a slash through it, as follows: ‘@”. This style is called [SLASHED].If a zero is written as a slightlythinner capital“O”,withouttheslash(“O”),thisismaybechosen byselectirwrNOW*I. NLQ FONT STYLE Thisoptionallowsyoutochoosethedefaultfontselected whenNLQmodeisselected.Allavailablefontsaregiven as options.The defaultis [COURIER*]. 19 Print Menu Thismenuallowsyouto setup variousprintingoptionswhichwillbe automaticallyselectee-wheneveryou turn the printeron: PRINT QUALITY PRINTPITCH CONDENSED PRINT ITALICPRINT k OPTIONASF AUTOLOADING r AUTOLOADING (ASF) PAPER-OUT DETECTOR 20 ThiswillselecteitherNearLetterQualityWQ] orDraft [DRAFF] mode. You may select a print pitch of either [1OCPI*]or [12CPIl(c’CPI”standsfor“charactersper inch”),orproportionalspacingPROP]. You may selectcondensedprint to be either IOIP] or IONlat power-up. YoumayselectitalicprintingtobeeitherIOW] or [ONI at power-up. Withthisoption,youmayselectorcanceltheAutomatic SheetFeederoption[OFF] or [ONI. When you load paper automatically,this optiondeterminesthenumberof tinesby whichthepaperwillbe fed forwardffomthetopofthepaper.Theoptionsrangefrom 1 to 6, and the factorysettingis 6. l%isoption,liketheoneabove,determinesthenumberoi linesby whichthepaperwillbe fedforwardfromthetop of the paper, but here the optionis determinedfor the AutomaticSheetFeder. Again,the optionsrangefrom 1 to 6, and6 is the factorysetting. Frequently,theprinter willdetectthe lackof paperand gooff-linewithanumberof beepsif nopapcris inserted in the printer [ON*]. However, this can lx disabled [Ore. I FormsMenu menuallowsyouto setvariousoptionsassociatedwithpaperhandling: This SHORTTEAROFF SKIPOVER PERFORATION I I AUTOLF AUTOCR LINESPER INCH PAGELENGTH Whenusingfanfold(continuous) paper, this ShortTear Off option allows you to tear off one sheet of paper withouthavingto ejectthewholeof thefollowingsheet. Ifthisoptionis set[ON*],whenthepaperreachesthetop of the form, it will automaticallybe advanceda little, allowingyouto tearoff thepapereasily.Set thisoption to IOFFIif Youdo not wantto use it. When usingfanfold(continuous)paper, you may wish printingto stopa littlebeforethe bottomof each shee~ andstartprintingaLittleafterthebegimingofthenext(in otherwords,skippingoverrheperforation).Thisisuseful if youwantto produceprogramlistings,etc.Thiscanbe enabledby settingthisoption[ONI,or, if usingsoftware whichperformsthisfunctionautomatically,it canbe set [OFF]. If sel [ONI,this willexpandall receivedcarriagereturn codesto a line feed and carriagereturnpair. However, this maybe set [OFF*Iif yoursoftwaredemandsit. If set [ON*],this functionwill expandall receivedline feedcodesto a carriagereturnand line-feedpair.However, this may be set [OFF] if you do not want to be expanded. Thissetsthenumberof linesperverticalinchwhichwill be printedto [3 LPI], [4 LPI], [6 LPI*]or [8 LPI]. Thepagelengthmaybesetbymeansof theDIPswitches [DIP-SW*](see Chapter5 for details)or to any of the followinglengths(in inches): [31,[3.51,[41, [5.51,[61, [7],[8],[8.5],[11.7]or [14].A4 paper is equivalentto 11.7inches,whilethe DIP switchsettingsof 11 inches and12incheswillnormallybe used for fanfoldpaper. 21 I Factory settings The followingis a list of the settingssetup at the factory,whichmaybe restoredby choosingthe FACTORYSET optionfrom the main menu: COMMAND MENU RAMUSAGE QUIETMODE GRAPHICSDIRECTION AUTOON-LINE [BUFFER] IOm IBI] [ONI FONTMENU ZERO STYLE NLQ FONT STYLE NORMAL] [COURIER] PRINT MENU PRINTQUALITY PRINTPITCH CONDENSEDPRINT ITALICPRINT [DRAFT’1 [1OCPI] [OFFI [OFFI PAPER MENU OPTIONASF AUTOLOADING AUTOLOADING(ASF) PAPER-OUTDETECTOR IOm [6 LINES] [6 LINES] [ONI FORMSMENU SHORTTEAROFF SKIPOVERPERFORATION AUTOLF AUTOCR LINESPER INCH PAGELENGTH(INCH) 22 [ONI IOm IOm [ONI [6 LPI] IDIP-SWl chapter 4 EMULATIONS AND ESCAPECODES EMULATIONS The printer has two emulation modes: standard mode and IBM mode. In standard mode, the printer emulates the fhnctions of the Epson EX-800 and EX-lOOOpnnters. Additional command codes are included as a supset of these emulations. In IBM mode, the printer emulates the IBM Proprinter II. Additional command codes are included as a superset of these emulations. The emulationis changedby meansof DIP switch1.When ON,the printer willbe in standardmode,andwhenOFF,the printerwillbe in IBMemulationmode(seeChpter5). It is notpossibleto changetheemulationmodeby meansof softwarecontrolor the frontpanelcontrols. NOTE Rememberto turnoff theprinterbeforemakinganyDIPswitchchanges. NUMERICALREPRESENTATION When in either standard or IBM mode, any numerical parametem taken by command sequences are usually binary ratherthanASCIInumericalvalues. In @ismanual,anyASCIIvalueswillbe representedin quotes,eg “21”will represent the ASCII string 32h concatenated with 31h (in BASIC, CHR$(50)+CHR$(51 )). Usuallyin theseexamples,however,hexadecimal valueswillbe quoted,as shownby thelowercase“h”followingthenumber, eg 32h. Binary numbersover FFh are obtainedby dividingthe number into two bytes,thefirstbeingthelowbyte,andthesecondbeingthehighbyte.Inthis way, the value 123hwill be dividedinto the two followingbytes:23h and Olh. If negative numbers are required, they are obtained by subtracting the absolutevalueof the negativenumberfrom 65536(10000h),and dividing theresultintohighandlowbytes.Forinstance,to representthenumber-l Oh, the followingoperationis carriedout: 23 1000Oh- IOh= FFFOh and the nxdt is dividedinto the two bytesof F7)hand FFh, If “non-printable” codes are given, ie those codes fmm OOhthrough IFh and 71%,these codes will be enclosed in angle brackets, for example cDC1>. The name in the angle brackets is that assigned to the code in the ASCII convention. The name of the character should not be used, the binary value should”beinput. In the same way, it should be noted that the angle brackets are not to be input - they are merely there as delimitem in the printed text. Of course, in a program, a meaningful variable name can be given to these charactem, for instance (the following example is written in BASIC): 10 ESC$=CHR$(27) :BS$=CHR$(8) 20 LPRINT ESC$;BS$; COMMANDCODESAND ESCAPESEQUENCES Somecommandcodesarecommonto boththe standardandIBMmodes.In the descriptionsof the commandcodes,all commandcodeswill be given, togetherwithanoteofthemodestowhicheachcommandcodeis applicable. Most of the following command codes are available in both the standard mode and the IBM emulation mode. If a command is common to both modes, the descriptive heading is followed by “Both”. If the command is specific to one mode, then either “Standard” or “IBM” will follow the descriptive heading. Occasionally, there am two identical commands to perform the same function. In these cases, the relevant sign follows the escape sequence. Whenparametemare given,the accompanyingtext describeswhetherthe parameteris an ASCIIcharacteror a binaryvalue. In the following descriptions, first the function of the command sequence is given. This is followed by the emulation for which this command is appropriate (“Standard”, “Both” or “IBM”). 24 Followingthe heading,the full form of the commandis given, using the ASCIInamesfor controlcodes,eg <ESC>(theanglebracketson eitherside of thenamearenotpartof thename,beingsimplydelimitem,andshouldnot be entered).Variableparametersrueindicatedby a letter(usually“n”), and an optional number, enclosed in angle brackets (eg cnO>). Where an indefinitenumberof pararnetemare to be supplied,the cos are separated by an ellipsis(“... “). The sequenceis then givenusinghexadecimalcodes (twohexadecimaldigitsfollowedby a lowercase“h”),withvariablesagain representedby letters enclosedin anglebrackets.The decimalequivalent followsthe hexadecimal.The followingis an example: Examplecommand <ESC> IBh I 27 cBS> 08h 8 Both <?0 <0 <0 (codes) (hexadecimal) (decimal) \ Note that the above command sequence is for example purposes only - it does not have any real function. 25 Font style and characterset controlcodes Select italic characters <ESC> Standard 4 hz- 34h 27 52 <FS> 4 i IBM I ICh 34h I I 52 I 28 The sequence above selects italic character printing. Deselectitalic printing IBh 27 5 35h 53 <FS> 5 ICh 35h 28 53 <ESC> I The sequence \ select <ESC>, IBh 27 above deselects Standard IBM I I italic printing. printmode Both I x -3P 78h 120 <n> <n> This command selects the print mode for subsequent printing, where <n> may be a binary value of OOhorOl h, or either of the,ASCHcharacters “O”or”l” (30h or 3 lh). If -a> is equal to OOhor “O”,then Draft mode will be selected, and if equal to Olh or “ l“, then NLQ mode will be selected. All other parameters are invalid. This command will also be ignored if Font Panel Lock has been selected. 26 Both I Selectfont <ESC> k <0 IBh 27 6Bh 107 <0 <n I Thecommandaboveselectsa typefaeeforsubsequentNLQprinting,where<n>is a binaryvaluein the rangeof OOhto 07h.The followingtableshowsthe effectof differentvaluesof thisparameter: Binary Value Binary Vatue Selectedfont I OOh I Courier I I Olh I Sanserif I 02h I Letter-Gothic Selectedfont 1 I Script I I 05h I 06h ] OCR-B I TW.Li~ht I I I I Cinema I 04h 07h Any otherparametersare invalidand will be ignored.This commandwillalso be ignoredif FontPanelLockhas beenselected. Both Select charactertable <ESC> t <* IBh 74h 116 <0 <0 I Theeommandabovewillselectthecharaetertabletobeusedinsubsequentprinting, where<n>canbea binaryorASCIIvaluefromOOhthrough02hor”O”through“2”. The followingtableshowstheeffectof thisparameter: I Value of cO I Description OOhor “O” I Selects standard character table Olh or “i” I Selects IBM character 02h or “2” table Moves character set downloaded in OOhto 7Fh area to 80h to FFh area Anyothervaluesare invalidand willbe ignored, 27 I Both I Select primarycharacterset IBh 27 37h 55 The commandaboveselectstheprimarycharacterset. Thereye no parameters.The area from80h to 9Fh is usedfor controlcodes. Both [ Seiect secondarycharacterset IBh 36h 27 54 The commandaboveselectsthe secondarycharacterset. Thereare no parameters.Theareafrom80hto 9Fh is usedforprintablecharacters. Select internationalcharacterset <m <Esc> R IBh 27 52h 82 <0 <0 <FS> ICh 28 R 52h 82 <m <* <0 Standard IBM The commandaboveselectsan internationalcharacterset, where<n> is a binary valuein the rangeOOhthroughOEh.Thecharacterset selectedis dependenton the valueof cn>, as shownin the tablebelow: Value of ~ OOh 28 Intemationat character set USA Value of ac= International character set 08h Japan Olh France 09h Norway 02h Germany oAh Denmark II 03h England OBh Spain II 04h Denmark I OCh Latin America 05h Sweden ODh Denmark/Norway 06h Italy OEh Irish 07h Spain I Any other valuesof <n> are invalidand will be ignored.The specialcharacters affectingeach symbolset are givenin Chapter9. \ Printcontinuouslyfrom the AHCharactersChart IBh I ‘27 5Ch 92 C/lb ah IBM I al> d> I The commandaboveallowsa seriesof specialcharactersto be printedfrom the controlcodearea(OOhthru IFh),wherethetwoparametersgivethetotalnumberof charactersto be printed(low byte fiist). On receiptof this command,any codes receivedin therangeOOhthroughIFh willnot be interpretedas controlcodes,but will print the characterscorrespondingto thosecodes.This will continuefor the numberof charactersdesignatedby <n@ and <nI>. I Print asinale characterfrom the All CharacterChart IBM A <ES(7> IBh 27 \ 1 5Eh 94 Thecommandaboveprintsa singlecharacterffomtheAllCharactersChart.There arenoparameters.Ifthenextcharactertoreprinted hasacodebetw=n OOhand IFh, it willnotbe treatedasa controlcode,and thecharactercorrespondingto thiscode willbe printed. \ Select/cancelundefinedcontrolcode area <ESC> IBh I 27 I <* 49h 73 <0 <m Standard 1 I Thiscommandselectstheprintablecodeareaexpansion,wherea> maybea binary valueofOOhorOlh, oreitherof theASCIIcharacters“O”or”l” (30hor 3lh). If <n> isequaltoOOhor”O”,thentheundefinedcontrolcodearearemainsasnon-printable codes.If cn> is equlto Olh or “l”, thosearea shiftsto theprintablecharacters. 29 Fontpitch controlcodes Set pica pitch printing <ESC> IBh I 27 Standard P 50h 80 I The command above sets all subsequentprinting to pica pitch. There are no parameters.Thiscommandwillbe ignoredif PitchPanelLockhasbeenselected.It maybe candled by a cESC>M (elitepitchset)command. Set pica pitch printing I <Dc2> IBM 1 I 12h 18 The commandabove sets the print pitch to pica. There are no parameters.This commandis ignoredif PitchPanelLock modehas been selected. Set elite pitch printing <Esc> M IBh I 27 Both 4Dh 77 I The command above sets all subsequentprinting to elite pitch. There are no parameters.Thiscommandwillbeignoredif PitchPanelLockhasbeenselected.It may be cancelled by a <ESC> P (standardmode) or a <DC2> (lBM mode) command. Set eiite pitch printing <Esc> IBh 27 IBM 3Ah 58 The commandabove sets the print pitch to elite. There are no parameters.This commandis ignoredif PitchPanelLock modehasbeen selected. 30 Set condensedprint mode <ESC> <S1> IBh 27 Om 15 Both <S1> II oFh Eitherof the two commandsabove will set condensedprint mode. There are no parameters.Subsequentprintingwill take place at approximately1.7 times the numberofcharacters/inchthanwaspreviouslythecase.Thisis cancelledonreceipt of a cDC2>command.Thiscommandwillbe ignoredifPitchPanelLockmodehas been selected. I Cancelcondensedprint mode Standard i 12h 18 Thecommandabovecancelsthecondensedprintmode.Therearenopammeters.On receiptof this command,all subsequentprintingwillbe doneat the pitch selected priorto a cESC> <S1> or <S1>command.Thiscommandwillbe ignoredif Panel PitchLock modehasbeen selected. Select/cancelproportionalprinting CEsc> IBh 27 P 70h 112 Both <w <?0 </0 The sequenceaboveselectsor cancelsproportionalprinting,whereen> is a binary or ASCIIvaluefmm OOhthroughOlh or “O”through“l”. If <n>–+tlhor “O”,then proportionalprintingisdeselected(cancelld), andif a>=olh or “l”, then proportional printing is selected. This command willbe ignoredif PanelPitchLock mode hasbeen selected. 31 I Set or cancel pica proportionalpitch <ESC> P <m IBh 27 50h 80 <m <0 iBM The commandabovesetsor cancelspicaproportionalpitchprinting,wherecn> is abinaryvalueofeitherOOhorOlh.Ifcn>issetto Olh,thenpicaproportionalprinting is enabled,and if Q> is setto OOh,thenpicaproportionalprintingis disabled.Any othervaluesof<m withthiscommandwillsetpicapitch,andthepMter willattempt toprint<n>.If PanelPitchLockmodehasbeenselected,thenthiscommandwillbe ignored. Specialprint mode control”codes Seiectkancei expandedprinting <ESC> w <0 IBh 27 57h 87 <0 <?D Both Thecommandaboveselectsor cancelsexpandedprinting,where<n> isa binaryor ASCII valuefrom OOhthroughOlh or “O”through“l”. If cn>=OOhor “O”,then expandedprintingis deselected(canceled),and if cn>=olh or “l”, thenexpanded printingis selectedfor all printingsubsequentto thereceiptof thiscommand. Seiect one-iineexpandedprinting <ESC> IBh 27 Both <so> OEh 14 <so> I OEh 14 Eitherof the commandsabovewill selectone-lineexpandedprint. There are no parameters.Expandedprintingwillbe performedsubsequentto the receiptof this commanduntilanyof thefollowingcommandsisreceived:<DC4>,.&E-, &! SC> <B, cVT>, =&I+,<ESC>cFI%=or &! SC>W. 32 Both Cancelone-lineexpandedprint I I I <DC4> I 14h I 20 I The commandabove cancelsthe one-lineexpandedprint mode set by cSO> or cESC> <SO>. There are no parameters Both I Select Masterprint mode 1cESC> I <0 l13h 27 <m <0 21h 33 The commandaboveselectsa “Masterprint”mode, where <n> is a binary value composedof the additionof the following bit settings: 73= Bit Value Value (dec) (hex) Function Effect when Effect when bit=O bit=l m= 01 Olh Pitch [ 12cvi I IOcui 1 2 02h Proportionalprinting set csi-kcei 2 4 04h Condensed printing set cancel 3 8 08h Emphasized tnintimz I set cancel 4 16 IOh Et=E= I 61 64 I 40h I 7 I 128 I 80h Hence, if condensed italic underlined print is required at 12cpi, the values of bits 2, 6,7 and Omust be added together.Tl& comesto (in decim~) 4+64+128+1= 197, or (in hexadecimal)04h+40h+80h+Olh=C5h. The mastermodeis hencea useful way of selectinga numberof printparameterssimultaneously. 33 I IBM I Select print mode <ESC> IBh 27 <0 <Lb <0 I 49h 73 The commandabove selects the print mode (resident/downloadedfont, pitch), wherecn> is a binaryvalue.Theprintmodeselectedby differentvaluesof-> is shown‘inthe tablebelow: I+ I I oI I 1 I Printmode Draft Dniftwith elite pitch I 2 I sanserif 3 \ 4 I I I I Courier Draft download 5 Draft download with elite pitch 6 NLQ download 7 Courier Thiscommandis ignoredif PanelLock modehas been selected. I Select emphasizedprint mode <ESC> IBh 27 I Both 1 E 45h 69 I The commandaboveselectstheemphasizedprintmode.Thereare no parameters. All charactersprinted subsequentto receiptof this commandwill be printed in emphasizedmode.Thiscommandis validonlyin draftmode. Cancelemphasizedprint mode <ESC> IBh I 27 F 46h 70 Both i I Thecommandabovecancelstheemphasizedprintmode.Thereareno parameters. Allcharactersprintedsubsequenttoreceiptof thiscommandwillbeprintedin nonemphasizedmode(canceling theeffectof the @SC> E command). 34 Select double-strikeprinting <ESC> G- IBh 27 47h 71 ‘ I Thecommandabovewillselectthedouble-strikeprintmode.‘Ilere areno parameters.Anycharactersprintedsubsequenttothereceiptofthiscommandwillreprinted in double-strikemode. Cancel double-strikeprinting <ESC> H IBh 27 48h 72 Both The command above will cancel the double-srnkeprint mode. There are no parameters.AnychamcterspMted subsequentto thereceiptof thiscommandwill be printedin non-double-strikeprintmode(canceling the effectof the cESC> G command). Both Select/cancelunderline <m <ESC> I IBh 27 2Dh 45 I <m <m The commandabovewill selector cancelunderlining,where <n> is a binary or ASCIIvaluewhichmaytakethevaluesOOhthroughOlh or “O”through“l”. If the value is OOhor “O”,thenunderliningwillbe cancelled.If cn>=olh or “l”, then all printablecharactersincludingspaces(butexcludinghorizontaltabsandIBMblock graphiccharacters)willbe underlined. Both Select/canceloverline <?0 <ESC> IBh 27 5Fh 95 <* <m I I Thecommandabovewillselectorcancdoverlining,where<n>isabinaryorASCII . valuewhichmaytake thevaluesOOhthroughOlh or “O”through“l”. If the value is OOhor’’O”,then overlining will becancelled. If -a>=Olh or’’l”, then all printable characters including spaces (but excluding horizontal tabs)willbe overlined. 35 Select superscriptkubscript <ESC> s <0 IBh 53h <m Both Thecommandabovewillselecteithersuperscriptor subscriptprinting,where<O isabinaryor ASCIIvaluewhichmaytakethevaluesOOhthroughOlhor”o” through “l”. If&e valueis Wh or “O”,superscriptprintingwillbe selected,andif c~=olh or “l”, thensubscriptprintingwillbe selected. Cancel superscripthubscript Both 1 i <ESC> T I I 84 I 27 Thecommandabovewillcancelsuperscriptor subscriptprinting(ifeitherhas been selected).Therearenoparameters.Ifeithersuperseriptorsubscriptprintinghasbeen selected,thenprintingsubsequentto receiptof thiscommandwillbe in thenormal position. Line space controlcodes ] Linefeed <LF> OAh I 10 I Thecommandaboveadvancesthepaperoneline.Thereare noparameters.If Auto CR hasbeen selectcxl,a carriagereturnwillalsobe generatedon receiptof a Line Feed character.1/6inchline spacingwillautomaticallybe selectedat power-on. I Reverseline feed 1<ESC> Both 1 <Lfi I 10 I The command above will reverse line-feed the paper one line. There are PO parameters.1/6inchlinespacingis automaticallyselectedat power-on. 36 Set line spacingto 1/8 inch <ESC> o IBh 27 30h 48 Both Thereare no parameters.The commandabovesetslinespacingto 1/8inch,where “O”is the ASCIIvalue“O”. Set iine spacingto 7/72 inch <ESC> 1 IBh 27 31h 49 Both Therearenoparameters.Thecommandabovesetslinespacingto 7/72inch,where “l” is the ASCIIvalue“l”. Set iine spacingto 1/6 inch <ESC> IBh 27 Standard 2 32h 50 Thereare no parameters.The commandabovesetslinespacingto 1/6inch,where “2” is the ASCIIvalue“2”. Set iine spacingto n/216 inch <ESC> IBh 27 3 <m 33h 51 <0 <m Both The commandaboveallowsprecisecontrolof line spacing,whereco is a binary value.Uponreceiptof thiscommand,thelinespacingwillbe set to <n>/216inch. 37 Set line spacingto n/72 inch IBh A 41h <* <m I 27 65 <* <E!W> Standard I Thecommandabovesetsthe linespacingin incrementsof 1/72inch,where<O is a binaryv~ue. on receiptof thiscommand,linespacingwillbe setto <0f72 inch. Define line spacing(1/72 inch increments) <ESC> A <m IBh 27 41h 65 <m <0 IBM I Thecommandabovedefineslinespacingin 1/72inchincrements,wherecn> is an optionalbinaryvalueifit knot txqualtozero,~> definesthelinespacingwhichwill be implementedafteran cESC>2commandhasbeenreceived.If <P = O,thenthe currentvalueof line spacingset by a previouscESbA commandwill remainin force. Execute<ESC>Adefinition <ESC> IBh 27 IBM 2 32h 50 Thecommandaboveexecutesthelinespacingpreviouslydefinedby the43SC>A command.Therearenoparameters.Ifan &SC>A sequencehasnotpreviouslybeen entered,thenlinespacingwillbeset at l/6th inch.Ifan <ES~A sequencehasbeen receivedpriorto thiscommand,thenanysubsequentlinefeedswillmovethepaper by theamountspecifiedby the cESC>A command. I One-timeline feed (in 1/216 inch increments) <ESC> IBh J 4Ah 74 <m <m <m Both I I The commandabovecausesa precisepaperfeed,whereen> is a binaryvalue.On receiptofthiscommand,thepaperwillbefedforwardby ~>/216inch. No carriage returnwilltakeplace,and the currentlinespacingvaluewillbe unaffected. 38 Reverseone-timelinefeed (in 1/216 inch Increments) Both IBh 27 6Ah 106 <* <m The commandabove causesa precisereversepaper fmxl,where <n> is a binary value.Onreceiptofthiscommand,thepaperwillbefedbackwardsby<n>/216inch. No carriagereturnwilltakeplace,and thecurrentline spacingvaluewillbe unaffected. Set verticsi print position(in iines) <ESC> IBh I 27 f 66h 102 1 31h 49 Both <m <* <m I Thecommandabovesetsthenextverticalprintposition,wherecn> isabinaryvalue specifyingthenumberof lines(atcurrentlinepitchsetting)downfromthecurrent positionat whichprintingwillnexttakeplace.In thecommandthebinarycharacter Olh can be substitutedfor the ASCIIcharacter“l”. Form feed controlcodes Formfeed <m Both OCh Thecommandabovewillcausea formfeed.Thereare noparameters.On receiptof thiscommand,theprinterwillprintalldatastoredin theprintbuffer,andwillmove to the top of the next page (as determinedby the form lengthset by @! SC>C or <ESC>C< NUb. A carriagereturn(to the leftmargin)willalsotakeplace.If the ASF has been selected,thiscommandfunctionsas a pageejectcommand. 39 Both I Reversefeed to top of form [“<ESC> IBh 27 I <FF> OCh 12 The command above reverses the paper to the top of the form. There are no parameters.On receiptof thiscommand,thepaperwillbe fedbackwardsto thetop of thecurrentpage.A carriagereturn(to the leftmargin)willalso takeplace.This commandis invalidif the ASF has been selected. Both Set page length(in inches) <ESC> c IBh 27 43h 67 <Nub <0 OOh 0 <m <0 The commandabovesets the page lengthin inches,where<n> is a binaryvalue (ls~><22 in standardmode,lS<n>S127in IBMmode)repmenting thenewpage lengthin inches.Thebottommarginis reset,and thecurrentlineafterexecutionof thiscommandis madethe newtop of form. Set page iength(in iines) <ES(2> IBh I 27 c <m 43h 67 <0 <* Both I The commandabove sets the page length in lines, where cn> is a binary value (ISCn>S127in standardmode,lgQ>s255 in IBMmode).The newpagelengthis set accordingto the current line spacingvalue. Subsequentchangesof the line spacingvaluewill not affectthe page length.The bottommarginis reset,and the currentlineafterexecutionofthiscommandis madethenewtopofform.Thiscommandis invalidif the linespacingis set to,O. 40 IBM I Set top-of-form <ESC> IBh 4 34h 27 52 I! I Thecommandabovesetsthetopof-formPositionatthecurrentpaperposition.There areno parameters.On receiptof thiscommand,thetop-of-formpositionwillbe set to thecurrentpaperposition. Marginsand verticaltab settingcontrolcodes I Move to next verticaitab position Both t <V’b OBh 11 Thecommandabovemovesthepaperto thenextverticaltabposition.Thereareno parameters.On receiptof thiscommand,the printerprintsdata storedin the print buffer,andthepapermovesto thenextverticaltabpositionor (if rhereare no more verticaltabpositionson thepage),to the topof thenextpage.If no verticaltabpositionshavebeensetwiththecESG B commandor if theyhavebeencleared,the papermovesforwardby one line. Both I Set verticaitab positions <ESC> IBh B 42h cn~ <n@ ... ... 27 66 Q@ ... <nl> <nl> cnl> <NuL> OOh 00 The commandabovesets verticaltab positions,where the valuesrepresentedby cnb to-ad> arebinaryvaluesgivingthevefical tabpositionsinlinesfromthetop ofthepage.Thevaluesgivenmustkin ascendingorder.Iftheyareno~thesequence willbeterminated.Thesequencemustendwitha -WUL>(ASCIIOOh).If no values are givenbetweenthecESC> B andthe@JUL>,thenallverticaltabpositionspreviouslysetwillbecleared.Printingwillstartonthe(cm+lth) linein standardmode, and the (cn>th)linein IBM mode. 41 Both 1 I Selectverticalform unit (VFU) channel <ESC> IBh 27 cm> a> cm> I 2Fh 47 Thecommandaboveselectsa VFUwithinwhichall subsequent<VT>commands willbe executed,wherem is a binaryvaluefromOto 7. Differentsetsof vertical tabscan be storedin differentchannels‘usingthe<ESC>b command,and selected usingthiscommand. [ Set VFU verticaltabs <ESC> IBh 27 Both <m> cm> -an> b 62h 98 <n(b <n@ O@ ... ... ... cd> d> al> <NuL> OOh o ThecommandabovesetsverticaltabsinsideaVFW,wherem is theVFUchannel (0S-<7) (accessedby the <ESG / C- command),and subsequentabsolute values(in lines)of verticaltabs(accessedby thecVb command)are represented by <n@ to <nZ>.These valuesmustbe given in ascendingorder,otherwisethe commandwillbe terminated.The sequencemustend with a @JUL>(oOh).If no verticaltab valuesare givenbetweenthechannelnumberand the@JUb, thenall previousverticaltab positionsset for thatchannelwillbe cleami. I Set reiativeverticaltab positions Both L <ESC> IBh 27 e 65h 101 1 31h 49 <* <m <* The commandabovewill setrelativeverticaltab positions,where<n> is a binary valuegivingthe distancein linesbetweenverticaltabs set by this command.The verticaltabssetbythiscommandaresubsequentlyaccessedbythecV’b command. Allverticaltabspreviouslysetarecleared.Insteadof theASCII“l”, thebinaryOlh charactercan be used. 42 Both Set top margin <ESC> IBh 27 c 63h 99 <* <0 <m Thecommandaboveset.sthetopmargin,whereaisabinary valuewhichspecifies the”heightof thetopmarginto thefmt printedlinein lines(at thecurrentlinepitch setting).Printingwillstarton the (*>+lth) lineon the page.Subsequentchanges to the linepitch settingwill not affectthisvalue. Both Set bottommargin <ESC> IBh 27 N 4Eh 78 <n <n <0 Thecommandabovesetsthebottommargin,wherea> isa binaryvaluespecifying thebottommargindeprhin linesat thecurrentlinepitchsetting.If thepagelength is reset (with the cESCX or <ESC>C<NUL>commands),the effect of this commandwillbelost.Subsequentchangestothelinepitchsetting,however,willnot affectthe lengthset by thiscommand. Both Canceltop and bottommargins I <ESC> IBh 27 o 4Fh 79 Thecommandabovecancelsthesettingsfortopandbottommargins.Thereare no parameters. Both Set left and right margins <ESC> I IBh I 27 x 58h 88 <* <0 <0 <?0 I <n I The commandabovesets the left and rightmargins,where the two valuesrepresentedby the <n>sare binarynumbersused for settingthe left and right margins respectively.Marginsare set at the currenthorizontalpitch. 43 I Set left margin I 1 I<ESC> Thecommandabovesetstheleftmargin,where“l” is a lowercase“L” (not“one”), and<o is a binaryvalueusedto settheleftmargin.Themarginis definedin terms ofthenumberofcharacterpositionsatcurrentpitch.Ifproportionalspacinghasbeen selected,thenthecharacterwidthforpicapitchis used.Theleftmarginmaynotbe closer than two print positionsto the right margin,otherwisethis command is ignored. I I Set right margin I <ESC> I IBh I 27 ICh 28 Standard I Q I 51h 81 <m Q <m <m <0 51h 81 I IBM I Thecommandabovesetstherightmargin,wherecn> is a binaryvalueusedto set therightmarginin characterspacesat thecurrentpitch.If proportionalspacinghas been selected,thenthe characterwidthfor picapitch is used. Horizontalprint position controlcodes [ Carriage return Both I I <CR> I I I 13 The commandaboveperformsa carriagerehun. The printhead will return to the beginningof theprintline.If AUTOLF hasbeensetup withtheMemorySwitches, a line feed willbe performedas will (at the currentlinespacing). 44 IBM Set/cancelautomaticline feed <ESC> IRh 27 5 35h 53 <m <m <n l%ecommandabovesetsorcancelsautomaticlinefeed,wherec- isabinary value ofeitherOOhorOlh. If<m=Olh, thenwhenevertheprinterreceivesa <CR>(ODh), a linefeedwillautomaticallybeaddedby theprinter.If cn>=OOh,thenthisfunction willbe cancelled. Both I Moveto next horizontaltab I <I-In I 09h 9 I Thecommandabovemovestheprintheadto thenexthorizontaltab setting.There arenoparameters.If therearenohorizontaltabssetonthelinefollowingthecurrent print position,this commandis ignored.If underliningis on, then skippedprint positionsare not underlined. Both I Set/clearhorizontaltabs <ESC> IBh 27 D 44h 67 *b cn(b *b ... ... ... al> <n]> all> <NuL> OOh o The commandabovesetshorizontaltabs,where-a@ and al> arebinaryvalues representingthe new tabpositions.If no valuesare given,all tab stopsare cleared. Thedefaulttabsettingiseveryeightcharacters.Tabsaresetat thecurrentcharacter pitch. If proportionalspacing has been selected, then pica pitch is used for determiningthepositionsof thetabs.In Standardmode,oncethetabshavebeenset, thepositionof thetabswillremainthesameif thecharacterpitchis changed.In the IBM mode,the tab settingswill changerelativeto the new characterpitch if the characterpitchis changed. 45 I IBM Restoretabs to defaultsettings <ESC> IBh 27 1 R 52h 82 The commandaboverestoresall tabs (verticaland horizontal)to defaultsettings. Thereare no parametm. On receiptof thiscommand,all verticaltab settingswill be cleared,and all horizontaltabswillbe resetto everyeighthposition,startingat column9. Set relativehorizontaltab positions <ESC> IBh I 27 e 65h 101 o 30h 48 Both <* <m ‘cm I The command above sets horizontal tabs, where -> is a binary value. On receiptof thiscommand,all horizontaltabswillbe cleared,and newonesinserted every <n> characters.Thesehorizontaltabscan be accessedwith an ccorn. mand. Both Set horizontalprint position <ESC> IBh 27 f 66h 102 o <0 30h 48 <n <* The commandabovesets thenexthorizontalprintposition,where-> is a binary value.The nexthorizontalprintingwilltakeplacecn> characterspaces(at current printpitch)fromthe currenthorizontalprintposition. 46 Both I Set justificationmode L I IBh a 61h <?0 <w 27 97 <m <Esc> I The commandabove will set the justifkation mode in which the printer prints receiveddata,where-> isabinaryorASCIIvalueintherangeOOh(or’’O”)through 02h (or “2”).The meaningsof thesevaluesare shownin the tablebelow: Meaning Value The default(whenthe printeris f~st turnedon) is leftjustifkation. Producecharacterspace <ESC> IBh I 27 <s> Standard <?0 20h <* 32 <0 I The commandaboveproducesa spacecharacter,wherecSI% is the ASCIIspace character(20h),anda> isabinary valuefromOthrough127givingthespacewidth indots.Whenindraftmode,thedotspacingis 1/120inch,andwheninNLQ,thedot spacingis 1/240inch.If in superscriptor subscriptprinting,the dot spacingis the sameas above,but if in expandedmode,the resolutionis halfthe above. Select next horizontalprint position(by dot) <ESC> IBh 27 $ 24h 36 <nib Cnb *b Both Cnl> al> al> The commandabovewill startsubsequentprintingat a horizontalpositiondeterminedly dotspacing,where~ andd> aretwobinarynumbers(lowbytefirst) specifyingthe numberof dots (at 1/60inch spacing)by whichthe print head will moveto therightfromtheleftmargin.If thesubsequentpMt positionisbeyondthe rightmargin,thenprintingwillstartat the left margin. 47 I I Move print head I <ESC> IBh 27 \ 5Ch 92 <FS> ICh \ 5Ch Standard ad> al> d> Cnb Cnb Cnb IBM d> -all> ad> 92 Cn(b / 28 I Thecommandabovemovestheprintheadrelativeto the lastprintposition,where o~ and cnl> are two binarynumbers(lowbytefwst)specifyingthe amount(in inches)by whichtheprintheadwillmovefromthelastprintposition.Thenumber representedbytheparameterssignifiesmove~entin l/120thsinch.Apositivevalue willmovetheprintheadtotherighganda negativevaluewillmoveit totheleft.See “NumericalRepresentation”for derailsof hownegativevaluesare representedin this way. Downloadedcharactercontrolcodes Copy standard ROM font into RAM <ESC> IBh 27 e~Standard <NLJb <* OOh <* OOh 0 <?0 o 3Ah 58 <NuL> <FS> <NUb <0 IBM <0 ICh OOh OOh 3Ah <m 28 58 0 o Thecommandabovecopiesthecharactersfromtheselcctcdcharactersetwitha>, as shownbelow,intothedownloadRAMarea.<NUb is theASCIIcharacterOOh. This commandis only valid if “DOWNWARD”has been selectedin the RAM USAGEmenuoftheMemorySwitch(seeChaptcr3fordetails).Allcharactersfrom 20hto FFharecopied.Regardlessof thecharacterse~thecharacters80hto 9Fhare copied.However,theblockcharactersof theIBMcharacterset(BOhthroughDFh, F4h and F5h)are copiedas spacecharacters. Binary Value 48 Selected font Binary Value Selected font OOh Courier 04h Script Olh Sanserif 02h Letter-Gothic 05h ~h ‘lW-Light 03h orator 07h Cinema OCR-B I Definedraft downloadcharacter(s) <ESC> IBh I 27 & <NUb 3Dh OOh 61 0 <cl> <cl> <d> Both <C2> C* <C2> <C2> cdl> ... <?0 ‘4> ... <m’ 4> ... ~n> ain> cdn> I The commandaboveenablesthedefinitionof “soft’’charactersto be downloaded. This commandis only valid if “DOWNLOAD”has been selectedin the RAM USAGEmenuof theMemorySwitch(seeChapter3 fordetails),andthedraftmode hasbeen selectedbeforethiscommandis executed. Thefollowingrulesareobsexved.<cl> andec2> arebinaryvalueswhichdetermine the characterrange which will be replacedby downloadeddata. For instance,if <cZ>=20hand cc2>.30h, all charactersfrom20h through30hwillbe overwriuen by thedownloadeddata.If a downloadedcharacteris storedin thearea80hthrough 9Fh, it can only be printed in the characterset #2 mode. It is possibleto store downloadedcharactersin the part of rhe character set reserved for IBM block graphics(BOhrhroughDFh,F4handF5h),but thesecharacterscan onlybe printed when the standardcharacterset hasbeen selected. Eachcharacterisdefiiedby anattributebyte(cn>)and 11databytes(dl> ...<A>). Theattributebyte,en>, indicateswhetherthecharacterisanaseender(notusingthe lowestof the nineverticaldots)or a descender(not usingthe highestdot). It also indicatestheamountof whitespaceto theleftof thechamcter(Oto 7 dots),and the widthof thecharactercell,includingthisspace(4to 15dots).Theleftspaceandcell widthattributesare usedonlyin proportionalspacing. Eachdatabyteindicateseightverticaldots,withtheMSBbeingthetop dotandthe LSB the bottomdot. Thesecorrespondto pins 1 to 8 or 2 to 9 of the print head, deWndingon whetherthecharacteris an ascenderor descender. 49 IBM Definedraft downloadcharacter(s) <ESC> = al> I IBh 3Dh cd> 27 61 al> 4> <DC4> cm> d> cd> 4> 14h cm> cal> cd> 42> 20 -> al> cd> cdl> ail> 41> ... 411> ... 42>1 ... 411> Thecommandaboveenablesthe definitionof “soft”charactersto be downloaded. This commandis only valid if “DOWNLOAD”has been selectedin the RAM USAGEmenuof theMemorySwitch(seeChapter3 fordetails),and thedraftmode hasbeen selectedbeforethis commandis executed. The followingrules are observed.cnl> and d> give the numberof bytes of characterdata that will follow.cm is the charactercode of the frostcharacter defined.al> and CU2>are attributesbytes.’<all>to cdll> are thecharacterdata, and are the sameas in cESC> “&”. Theatrnbutebyte d> indicateswhetherthe characters anascender(notusingthelowestofthenineverticd dots)ora descender (notusingthe highestdot) and whetherit has a downwardextensionto 12dots. The atrnbutebyte d?> givesproportional-spacinginformation.Bit 7 is ignored. Bits4 to6 specifytheoffsetto thefwstbyteprinted(Oto 7),enablingleadingspaces inthecharactertobeignored.BitsOto3 specifythewidthofthecharactercell(maximum 11 dots).The characterwill be followedby a mandato~ blank dot column whichis not includedin thiswidth. Charactersdefinedby this commandcan be selectedby cESb % 1,cESC> 14, cESC> 15, or cESC> 16. Define NLQ downloadcharacter(s) <ESC> Cal> I IBh I Cal> 27 Cal> Both <NUb <cl> d> <* ... 26h d> 38 cd> OOh <* 0 <m & ccl> ... ccl> ... <C2> ‘C* cab <C2> cab <0 <C2> <0 -b Thecommandaboveenablesthedefinitionof “soft”charactersto be downloaded. Thefollowingrulesareobserved.<cl> andec2> arebinaryvalueswhichdetermine the characterrange which will be replacedby downloadeddata. For instance,if ccZ>=20handec2>=30h,all charactersfrom20hthrough30hwillbe overwritten by thedownloadeddata.Ifa downloadedcharacteris storedin thearea80hthrough 9Eh, it can only be printed in the characterset #2 mode. It is possibleto store downloadedcharactersin the part of the characterset reserved for IBM block 50 graphics(130hthroughDFh,F4handF5h),but thesecharacterscan onlybe printed when the standardcharactersethasbeen selected. a~, <al> andca2> are attributebytes,settingthe startingdot column,printable width(in dots),and endingdot columnrespectively. Theverticaldefinitionof thecharactersis 18dots.Eachbytethereforerepresentsa third of the vertical definition.If co bytes am required for a character, the arrangementofthesebytesis asfollows(wherethebytenumbersarerepresentedby decimalnumbers,startingatO),andthctotalwidthof thecharacterhasbeendefined by theparametercal>: Bit 1St Byte ??nd B}’le “1-i 6 5 B 4 3rd 3 Byte 2 1 0 51 Select download/standardcharacterset <ESC> IBh 27 % 25h 37 Both <m <* <0 I Thecommandaboveselectseitherthestandardordownloadedcharacterse~where cn> is abinaty value(OOhorOlh) oran ASCIIvalue(“O”or’’l”). If cn> equalsOOh or “O”,the standardcharacterset is selected.Thisis thedefaultvalueat power-on. If Olh or “l” hasbeen selected,thenthedownloadedcharacterset is selected. Graphics Thefollowingcommandsrelatetothegraphicalcapabilitiesof theprintex(bitimage mode).Allbit-imageprintingis carriedoutasrastergraphics(iedatais acceptedin blocks,and thenprintedas adjacentlinesof graphicsone dot wide). Select-bitimagemode <ESC> ... IBh ... 27 ... I * CA> 2Ah dt> 42 dn> Both m> -b <nl> Cdb cm> -07 otl> db m> -aO> CnI> -do> I The commandaboveselectsoneof thegraphicmodesavailableon theprinterand printsgraphicdata,where-is a binaryvaluerepresentingthegraphicsmode(see tablebelow),and<nb andcnl>arebinary values(lowbytefirst)givingthenumber of graphic data bytes following(as representedby dO> ... <tin>).The actual numberof databytesvariesaccordingto thegraphicmodechosen.The numberof databytesis equalto the numberof graphiccolumnstQbe printed. [Graphicprintmodes] CfrD 0 1 2 3 Mode Single Double High-speeddouble* Quadruple DPI urc- 60 120 120 240 4 5 6 7 * Adjacentdotsare not printablein this mode. 52 Mode DPI CRTI Plotter CRTH Double plotter 80 72 90 144 ~elationship of bit numberto dot position] When the printeris printingbit-image&ta, therelationshipof dots to pins usedis as follows: Pin number Bi[ number 7 ; 3 4 5 6 7 8 9 6 5 4 3 2 1 0 Qzl Both Select 8-dot normaldensity <ESC> IBh 27 K 4Bh 75 Cnb *b Cnb -all> d> Cnl> db Ufb Cdb ... ... ... cdn> cdn> cdn> The commandaboveselects8dot normaldensitybit-imageprinting,where<n@ and cnl> are binaryvalues(lowbyte frost)representingthe numberof databytes followingthe command.The data bytes are representedby d(b ... dn>. This commandhas the sameeffectas <ESG * O. Both 1 [ Select 8-dot doubl-density <ESC> IBh 27 L L 4Ch 76 Cnb Cnb ab al> d> d> db d-b Cd_b ... ... ... cdn> dn> cdn> 1 The commandaboveselects8-dotdouble-densitybit-imageprinting,wherecnb and <nl> are binaryvalues(lowbyte fwst)representingthe numberof databytes followingthe command.The data bytesare representedby cdtb ... ==zfn>. This commandhas the sameeffectas <ESG * 1. 53 Both I Select 8-dot double-speeddouble-density <Esc> I IBh 27 2 Y 59h 89 cnb Cnb all> Cnl> Qll> Clib ... db d(b ... ... C&> i cdn> I cdn> l%ecommandaboveseleas 8-dotdouble-speed,double-densitybit-imageprinting, wherec@- and cnl> arebinaryvalues(lowbytef~st) representingthenumberof databytesfollowingthecommand.Thedatabytesarerepresentedbycdb... <d-. Thiscommandhas the sameeffectas cESC> * 2. Set 8-dot quadruple-density <ESC> I IBh I 27 z 5Ah 90 Cn(b cn~ ~(b Both Qll> <nl> Cnl> Qo <d& Qi(b ... ... ... cdn> -ain> I cdn> I The commandaboveselects8-dotquadruple-densitybit-imageprinting,where cn~ and”cnl>arebinaryvalues(lowbytefrost)representingthenumberof data bytesfollowingthe command.The databytesare representedby cd~ ... cdn>. Thiscommandhas the sameeffectas cESC> * 3. [ Redefinebit-imagemode I Both 1 ? <ESC> IBh 27 cd> Cml> Cml> 3Fh 63 Thecommandaboveredefinesa bit-imagemodeto anothermode,wherecm@ is the modeto be redefined.This may take the ASCIIvalues“K”, “L”, “Y” or “Z”. cml> is a binaryvaluerepresentingthemodeto whichcmb is redefined,beinga value used after the cESC> * command (O through 7). If any of the modes representedby <m@ are subsequentlyselected,bit-imageprintingwill now take placein themodeas definedby ml>. Select 9-dot graphics <ESC> IBh I 27 A 5Eh 94 Standard a> UIO> cm> un> <n(b Q(b Cnl> all> =W> cdlb db cd(h ... ... ... .ain> cdn> -dn> I Thecommandaboveselectsthe9dot bit imagemode,wherecm isa binaryvalue representingthe graphicsmode(see tablebelow),and cnb and cnl> arebinary 54 values (low byte f~st) giving the number of graphicsdata bytes following(as representedby ~ ... -do). The numberof data byte is twice the numberof graphicscolumnsto be printed. Miscellaneouscodes The followingcommandsdo not relate specificallyto graphics,but have more generalapplications: I Set MSB to 1 <ESC> IBh -27 > 3Eh 62 > ThecommandabovesetstheMSBto 1.Thereareno parameters.On receiptof this command,themostsignificantbit (MSB)of subsequentdatawillalwaysbe set to 1. Set MSBto O <ESC> IBh r , 27 <FS> t ICh = 3Dh 61 = Standard IBM 3Dh ThecommandabovesetstheMSBtoO. Therearenoparameters. Onreceiptofthis command, the most significantbit (MSB)of subsequentdata will alwaysbe set too. 55 Both I CancelMSB control I cESC> I # IBh 27 I 23h 35 ThecommandabovecancelssoftwarecontroloftheMSB.Therearenoparameters. On receiptof thiscommand,softwarecontrolof themostsignificantbit (MSB)by the <ESC>>,<ESC>=(standard)or dYi>= (IBM)commands,willbe cancelled. I Select zero stvle 1<ESC> IBh 27 7Eh 126 Both <0 I I <?0 <w Thecommandaboveselectsthestylein whichzeroeswillsubsequentlybeprinted, where<n> is eithera binaryvalueofOOhor Olhor an ASCIIvalueof “O”or “l”. If o> isOOhor“O”,rhen“normal”(non-slashed)zeroeswillbeprinted,butif it is Olh or “l”, thenthe“computer-style”(slashed)zerostylewillbeprinted(thisoverrides the MemorySwitchsetting,in Chapter3). Backspace Both cBS> I The command above moves the print head back one position. There are no parameters.This commandmoves the print head back one position(at current spacing)to the left. If proportionalspacinghas been selected,the print head will movebackby a distanceequalto thewidthof thelastcharacterprinted.It doesnot deletethe lastcharacter. ( Cancel last character ! <DEL> 7Fh 127 Standard I Thecommandabovedeletesthe lastcharactertransmittedto theprinter.Thereare no parameters.Thiscodeis effectivelya destructivebackspace. 56 Both [ Cancel last line 1 <CAN> 18h 24 The commandabovedeletesthe last linetransmittedto the printer. There are no parameters.The lastlinetransmittedto theprinterwillbe erasedfromtheprinter’s buffer. Standard I Set printeroff-line <DC3> I 13h I 19 I I The commandabovesetsthe printeroff-line.Thereare no parameters.This commandis notequivalentto pressingthe . ONLINE buttonon thefrontpanelwhenthe printeris on-line,as afterthe cDC3> commandhasbeenreceived,theprinterwill ignoreany data transmittedto i~ exceptfor the cDC1> command(below). Both Set printeron line <Del> llh Thecommandabovesetstheprinteron-lineaftera<DC3>command(above).There are no parameters. Deselectprinter(1O“carriagemodelonly) <ESC> IBh 27 Q 51h 81 IBM <ETX> 03h 3 Thecommandabovedeselectstheprinter.Therearenoparameters.Thiscommand willdeselecttheprinter,forcingit to disregardall dataandcommandcodesuntila <DCl> (1Ih) commandis receivedto put theprinterback on-line.Thiscommand appliesonly to the modelof printerequippedwitha 10”carriage. 57 Deselectprinter(15” carriagemodelonly) <ESC> IBh 27 Q <SYN> 51h 81 16h 22 IBM ThecommandabovedeselectsthepMter. Therearenoparameters.Thiscommand willdeselecttheprinter,forcingit to disregardalldataandcommandcodesuntila cDCI> (1lh) commandis receivedto put theprinterbackon-line.Thiscommand appliesonly to the modelof printerequippedwitha 15”carriage. Both I Sound buzzer <BEb 07h 7 The commandabovesoundstheprinter’sbuzzer.Thereare no parameters. I Disablepaper-outdetection <ESC> IBh 27 Both I 8 38h 56 The command above disables the printer’s paper-outdetection.There are no parameters.ThisoverndesthesettingmadebytheMemorySwitchSettings(Chapter 3). Enablepaper-outdetection <ESC> IBh 27 Both 9 39h 57 The command above enables the printer’s paper-out detection. There am no parameters.ThisoverridesthesettingmadebytheMemorySwitchsettings(Chapter 3). 58 Both I Enable/disablebidirectionalprinting i cESC> u I 85 27 I I <m Thecommandaboveenablesordisablesbidirectionalprinting,wherea> isabinary valueofeitherOOhorOlh oran ASCIIvalueof either”O”or’’l”. If <n>is setto OOh or “O”,then bidirectionalprintingwill be performed,and if it is Olh or “l”, then unidirectionalprintingwillbeperformedsubsequenttothereceiptofthiscommand. If the Memory Switch setting has been made for bidirectionalprinting, this commandwillbe ignored. ] Enableunidirectionalprintingfor one line only Both I < I <ES-c> IBh I 27 3Ch 60 I Thecommandaboveenablesunidirectionalprintingforonelineonly.Thereare no parameters.Printingwillbe performedfromleft-to-rightfor the currentlineonly. Both Define macro instruction <ESC> IBh 27 + 2Bh 43 cdl> Cdl> 41> ... ... ... .dn> cdn> -ah> <RS> IEh 30 Thecommandabovecancelsanyexistingmacroinstructionandreplacesit withthe definedinstruction.The definedmacro instructionconsistsof the charactersbetweenthe’’+’’andcRS>.‘fhesecanbeanyprintablecharactersorcontrolcharacters exceptcRS>, up to a maximumof 16characters. I Execute macro instruction <ESC> IBh 27 + 2Bh 43 Both 1I <NUb OOh 0 I The commandaboveexecutesa previouslydefinedmacroinstruction. 59 I Enable/disablelarge characterprinting <ESC> IBh I 27 h 68h 104 1 Both <m <m <m I Thecommandaboveenlargeswholeor partof characters,or cancelssuchenlargemen~where<n> is a binary valueof OOhthrough06h or an ASCII valueof “O” through“6”. <n> Effect 1 I Olh, “l” Double-high,double-wide 02h,“2” Quadruple-high,quadruple-wide 03h,“3” Double-high,double-wide(Lowerhalfonly) 04h,“4” Double-high,double-wide(Upperhalfonly) 05h,“5” Quadruple-high,quadruple-wide(Lowerhalfonly) 06h,“6” Quadruple-high,quadruple-wide(Upperhalfonly) It is theuser’sresponsibilityto altertheIinepitchso thatit is inaccordancewiththe new characterheigh~and to producea linefeed at the new pitchin orderto leave sufficientspaceforthenewcharacters.If therearedifferentsizesofprintonthesame line,theprintingwillbealignedalongthetopof thecharacters.Anypreviouscommandsforenlargement(verticalorhorizontal)ofcharacterswillbecancelledbythis command. 1 I Enabie/disabiedoubie-heightmode <ESC> IBh I 27 Both I w 77h <* <0 I 119 <ID 1 The commandabove enablesor disablesdouble-heightprinting,where co is a binaryvalueofeitherOOhorOlh oran ASCIIvalueofeither“O”or’’l”. If<n>is set to OOhor “O”,thendouble-heightprintingis cancelled.If <n> is set to Olh or “l”, thendouble-heightprintingis enabled.The characterwidthis unaffected.It is the user’sresponsibilityto alter the linepitchso that it is in accordancewith the new character height,and to producea line feed at the new pitch in order to leave sufficientspaceforthenewcharacters.If therearedifferentsizesofprintonthesame line,the printingwillbe alignedalongthebottomof the normal-sizedcharacters. Anypreviouscommandsforverticalenlargementofcharacterswillbecancelledby thiscommrmd. 60 Both Select characterheight,width, line spacing <ESC> [ IBh 5Bh 27 91 @ 40h 64 C?lLb <d> -b cd> -b 4> <NUb CNUb OOh OOh 0 0 Cn2> crt2> 4> cn.3> C?L?> Cn.b The commandaboveis used to controlcharacterheighgwidth and line spacing, wherecnb andcnl> (lowbytefnt) ate usedto supplythenumberof subsequent databytes(1 or 2).The effectof thetwodatabytes(d> and <rd>) is determined as follows: d> ISingle-heightcharacters 1 2 I Double-heightcharacters 16 I 17 Sinzle line feed ]Single line f~ single-height characters I Single line fed double-heightcharacters 18 32 ]Double line feed 33 ]Doublelinef~single-heightcharacters 34 IDouble line fed double-heightcharactersI AnY othervalues INo effect I I I Cn3> 1 \Single-widthcharacters 2 IDouble-widthcharacters 1 Any othervalues INo effect I Anysuperscript/subscript orcondensedmodeprintsettingspreviouslyselectedwill be cancelled,but if double-heightprintingis cancelled,the printerwill return to superscriptlsubscriptor condensedmodeprinting,ifthesewereselectedpreviously. Any previouscommandsfor verticalcharacterenlargementare cancelledby this command.Ifdouble-heightandnormal-sizedcharactersareprintedinthesameline, thentheprintingwillbe alignedalongthebottomof rhenormal-sizedcharacters. 61 Set/cancelimmediatemode Both ] <* <m <* I <ESC> IBh I 27 i 69h 105 I Thecommandaboveselectsor cancelsthe“immediate”printmode,wherecn> is a binmyvalueof eitherOOhor Olh or an ASCIIvalueof either“O”or “l”. If <n>is set to OOhor “O”,thenimmediateprintingis cancelled.If ~ is set to Olh or “l”, thenimmediateprintingis enabled.In immediateprintmode,eachcharacteris sent straightto theprintheadas it is receivedfromthehostcomputer(unbuffered),and the papermovesup so that it is possibleto read what is on the paper,similarto a typewriter. Both 1 ~ Reset I <ESC> @ IBh 27 40h 64 I Thecommandaboveresetstheprinter.Themare no parameters.On receiptof this command,thebufferis cleared,andall settings(withthefollowingexceptions)are restoredto theirpower-upvalues. ASF settingsmadewith the cESC> EM command ● “ Panelmodesettings ASF (AutomaticSheet Feeder)control <ESC> IBh 27 62 <ENb <m 19h 25 <# <* Both Thecommandabovecontrolstheoperationof theASF,wherecEIkb is theASCII code 19h,and<O maytakethebinaryvaluesOOhor 04h or theASCIIvalues“R” or “T”. The effectof tkesevaluesis summarizedbelow: Value Effect OOh Select manualmode r I 04h I Selectautomode “R” Ejectpaper “T” Set top printposition. This parametermust be followed by anotherbinaryvalue (>1) signifying the distance (in 1/6 inch units) at which printingshouldstartbelow the topof the paper. Thesecommandswillbe ignoredif the ASF has not been selected. ASCII commandsequences Themrnmandabovesequencesarenotprecededbya cESG orcFS>character,but insteadamprecededbydoubleparentheses,thus’’((”.Theyapplyequallytoboththe standardand the IBMemulationmodes.They are givenbelow: Both I Select font ( I 28h 28h F 46h ) 29h ) 29h <* <m 40 40 70 41 41 <?0 ( I The commandaboveselectsa fon~wherecn> is artASCII valuewhichmaytake the followingvalues: C?P Effect 4’0.. Courier ,,5?. Sanserif I “6” t “1” 44 . . 2 “3.. I “7” ,,9.. Letter-Gothic orator I “4” I Script TW-Light Cinema +Draft I 63 Select/cancelitalic mint Both 28h 28h 49h 29h 29h <# 40 40 73 41 41 <0 Thecommandaboveselectsor cancelsitalicprinting,wherecn> is an ASCIIvalue whichmaybeeither“l” or “O”.Anyothervalueswillbeignored.If->= “l” then italicprintingis enabled,and if cm = “O”,then italicprintingis cancelled. Select/cancelbold print B ( ( Both 28h 28h 42h ) 29h ) 29h <m <m 40 40 66 41 41 <* Thecommandaboveselectsorcancelsboldprinting,wheree~ isan ASCIIvalue whichmaybeeither”l” or’’O”.Anyothervalueswillbeignored.If<~ = “l” then boldp;nting is enabled,and if m> = “O”,thenboldprintingis cancelled. I Selecticancelunderline I ( 28h 40 Both (28h 40 2Dh 45 ) ) <* 29h 41 29h 41 <0 <m The commandaboveselectsor cancelsunderlining,whereen> is an ASCIIvalue whichmaybe either“l” or “O”.Anyothervalueswillbe ignored If ~>=”1” then underliningis enabled,and if en>=’’O”,thenunderliningis cancelled. Both 1 I Sekcffcancel expandedprint ( 28h 40 (- 28h 40 -s 53h 83 ) 29h 41 ) <* 29h 41 <m <m Thecommandaboveselectsor cancelsexpandedprinting,where<n is an ASCII valuefrom“O”through“3”. The effectof cn> is givenin the tablebelow: 64 “l” I Double I Normal “2” I Normal ] Double “3” I Double ] Double I Select color printing(with color optiononly) c t ( ( ) Both 1 ) <)0 28h 28h 43h 29h 29h <* 40 40 67 41 41 <* 1 The commandaboveselectsthecolorto be printedwhenthecoloroptionis fitted, wherea> is artASCIIvaluefrom“O”through“6”. The color selectedby <n> is shownin the tablebelow: ControlASF ( ( - Color ,’o!! ‘,1,? Black Red ‘,2.. Blue “3” Violet “4” Yellow “5” .,6., Orange Green <?0 ) ) 28h 28h <0 29h 29h 40 40 <m 41 41 ThecommandabovecontrolstheASF (AutomaticShmt Feeder),where<n>is an ASCIIparameterwhichcantakethevalues“O“,’’4’’,’’R’’or’ ’T”. Thiscommandhas exactlythe samefunctionas theESC<Ehb command. 65 66 chapter 5 DIP SWITCHES The bank of DIP switchesinsidethe printer(see illustrationbelow)is used for variousfunctions.All switchesare set ON when the printerleavesthe factory. -“”’’’’’”’’” Accessthe switchesby removingthe top cover,and then slidingthe black switch cover to the left and then pullingup, using the tab at the right, as shownin the illustrationabove. The functionsof the switchesare shownin the tablebelow: Switch Function ON 1,2 Emulationandchancter set See table below I OFF 3 Page length 11 inches 4-7 Internationalcharacterset See table below 8 Not used Leave ON 12 inches NOTE Any changesto the DIP switchsettingsmust be made with the power to the printerturnedOFF. Switches 1 and 2 are used to determinethe emulationmode (standardor IBM)of the printer,and also to determinethe characterset to be used. Switch 11 I /2 I Emulation I ON I OFF Standard ON OFF ON ON i OFF I OFF I I CharacterSet 1 STDf/1 Standard IBM #2 IBM IBM #2 IBM I IBM#l I I I Switches4 through7 are used to select the Internationalcharacterset, as shownin the tablebelow: Switch 68 InternationalCharacterSet 4 5 6 7 ON ON ON ON OFF ON ON ON France ON OFF ON ON Germany USA OFF OFF ON ON England ON ON OFF ON DenmarkI OFF ON OFF ON Sweden ON OFF OFF ON Italy OFF OFF OFF ON SpainI ON ON ON OFF Japan OFF ON ON OFF Norway ON OFF ON OFF DenmarkII OFF OFF ON OFF spain II ON ON OFF OFF LatinAmerica OFF ON OFF OFF Denmark/Norway ON OFF OFF OFF Irish OFF OFF OFF OFF Not uaed &ipter6 TROUBLESHOOTING AND MAINTENANCE The followingsectionon troubleshootingandmaintenanceis intendedonly M a brief guideto these functions.Rememberthat your printeris a highly sophisticatedelectronicdevice,which also containshigh voltagesinside. For that ~ason, only carry out thoseoperationsdescribedin this section. CAUTION Anyattempttocarryoutoperations otherthanthosedescribedheremayresultin electricshockand/ordamageto theprinter.When carryingout any repairsor maintenance,alwaysfollowthe instructionscarefully. TROUBLESHOOTING Your printer is a tdiable piece of precisionmachinery,which shouldnot causeyouanytmttble,providedit isusedandtreatedsensibly.However,the few elementarytips below shouldavoidyou havingto make unnecessary servicecalls.The followingtable gives you ideas on whereto look in this sectionif you experiencefaults: Regionoffault Power supply Printing Paper feeding Description Power is not being suppliedto the printer The printerdoes not pring or stops printing The mint is faint or uneven Dots aremissing in charactersor graphics Whileusingapplicationsoftwsre,fontsorcharacterscannotbeprinted The printoutis not whatis expected when runninga program Single sheets do not feed properly(withoutASF) ContinuousDauerdoes not feed moxrly with the tractorfeed I The ASF is not operatingor is not feeding paperproperly Psperpsrk (switchingbetweencontinuouspaperandcutsheets) is not workingproperly The shorttear-offfimctiondoes not work Text is being printedall on one line, or with extrablanktines Page length andmarginsettings arenot what is expected. Remember- it is betternotto attemptoperationsor repairsaboveyourlevel of competence.Otherwise,you run the risk of damagingthe printer. 69 Powersupply If the POWERindicatordoesnot illuminate, checkthe following: Check Is the power cable properly plugged into the electrical outlet? Is power being supplied to the outlet? Is theprintervoltagecorrect? Possible remedy Turnoff theprinter,ensurethepower cable is securely cormec@ andthen turnthe printerback on. Turn off the printer,unplug i~ and try with another applianceto determineif electricity is beingsuppliedto thatoutlet. Checkthebottompartelofyourprintertoensurethatthe outletvokagecorrespondstothevoltagerequiredby the printer.If theydo notmatch,DONOT tryto operatethe printer.contact yoursupplier. Printjng If yourprinterdoes not print,or suddenlystopsprinting,checkthe following: Check Is the interface cable connected securely? Is the ONLINE indicatorilluminated? Is the PAPER indicatoritluminated? Is the papercaughtup internally? Is the ribbon caught up aroundthe printhead? Is the softwareyou areusing properly installed for your Orinter? Canthe printerperformselftest operations? 70 Possible remedv 1 Check bothends of the cable - printerandcomputerto make sure thatthe comector is ftiy in position. bUttOn to 5(3 the printeronEit is n@ press the ON LINE line. If it is, the paperhas nm out. Loadmorepaper. Turnoff thepower,remove thejammedpaper,replace, tumontheprinter,andcondnueprindng.Makesurethat the leadingedge of the paperis smooth andm-creased. Turnoff thepower,removethenbbon, retensionit, and replace it- This problemoccurs most frequentlywith a wornribbon.so vou may need to replace the ribbon. Checkthe installationsettings in yoursoftware,andreinstall ifnec+xsary. Turntheprinteroff, andturnit on again,holdingdown one of thebuttonsto performa self-test. If these do not work,contactyour dealer. If the print is faint,or uneven,checkthe following: Check Is the ribbon properly inStalted? Is the ribbonwornout? Possible remedy Check andreinstall if necessary. The ribbon has a long life, but eventually will need replacing.Fit anew ribboncartridgeif necessary. If dots are missingin the printing,checkthe following: Check Are dots missing at random in the printing? Isa line of dots missing consistently throughout the Possible remedy The ribbonhas become slack causing it to get caught up. Stop printing,remove the ribboncartridge,retension andreplace it. The printhead is damaged.Stop printing,andcontact your supplierfor a new printhead. printing? If your applicationsoftwarecannotprint the fonts or charactemselected, check the following: I Check Possible remedy Is your applicationsoftware Checkthe softwareinstallation+andre-installthe softpr@rly ‘titalled? ware if necessq. Are fonts not being selected Check the software installation and insert the comproperly? I mandsnece.ssaryfor fontchanges into the software. Eitheryou areusingthe wrongInternationalCharacter Are characters other than being those expected Set (reset with DIP switches or software commands), printed? or you have the wrong character set selected (for example if charactersother thanIBM block graphic charactersare being printed). Correct this with DIP switches or the appropriatesoftware sequences. If the printoutis not what is expected: I Check I Possible remedv Is the printer installed corYour software may think that it is driving a different rectly? emulationto theone actuallvset. Checkthe DIP switch . settings to make sure you have the right emulation. Is the printer not printing Use theHex Dunmmodeto analvzetheouhmt fromthe anythingthatyou areexpectcomputerto the p%nter.This will enable you to determine that the right escape sequences, etc are being transmitted. ing? 71 Paper feeding If cut sheet paper (withoutthe ASF) is not feeding smoothly,check the following: Check Is the paper release lever pushedback (to the ~ position)? . Is the paper guide in place andvertical? Are the left andright guides too close together? Is the ASF selected with the Memory Switch settings? Are you tryingto feed paper using the frontpanel buttons while the ON LINE indicator is illuminated? Is the papertoo thick? Possible remedy Set the release lever to the ~ psition. - The paper guide should be in place vertically for cut sheets to feed smoothly. If the left andright guides are too close together, the paperwill notfeed smoothly.Move themalittle further apt to Now the paperto feed freely. If it is, thendeselect it. You can only feed paperin this way when the printeris off-line. Set the printeroff-line andthen feed paper. Therearelimits to thethicknessof paperthatcanbe fed in this way. Try with thinnerpaper. If fanfold(continuous)paperisnotbeingfedcorrectlyusingthetractorfeed, check the following: Check Is the paper lever pushed to the ~ position? Is the paperguide in the vertical position? Are theholes on each side of thepaperalignedwithregard to each other in the sprocke~? Possible remedy Makesurethereleaseleveris pushedto the B position. Arethesprocketstoocloseor too far apart? Are the sprockets locked in position and the covers closed? Is the paper feeding freely into the printer? Misalignmentof the sprockets, making the paper too loose or tootigh~ will preventa smoothpaperfeed. Correctthis if necessary. 72 When using the tractorf~ the paperguide shouldbe horizontal. Ifthetwosidesof thepaperareoutof alignmen~realign them so thatthe sprocketholes matchup. The papershould not be too fm from the printer(less than 1 meter/3 feet), andthereshould be no cables or other obstacles obstructingits path.The papershould also be feeding straightinto the printer,andan angled feed may cause jams andblockages. Check Are you hying to feed paper using the frontpanelbuttons while the ON LINE indicator is illuminated? ISthe paper toothick? You can only feed paperin this way whenthe printeris off-line. Set the @nter off-line andthen feed paper. Therearelimits to thethicknessof paperthatcanbe fed in this way (one top copy andthreeNCR copies). Try with thinnerpaper. If the ASF is not operatingor is not feeding paper carectly, check the following: Check Has the ASF option been selected using the Memory Switch functions? Is the release lever set to the ~ position? Is the ASF correctly mounted? Is paper caught up near the orinthead? Are the left andright guides too close together? Is theretoomuchpaperin the paperfeedhopperorstacker? Was thepaperfannedbefore being fed into the ASF? Haathe paperbeen used alreadyor is it creased? Are you b-yingto feed paper using the frontpanel buttons while the ON LINE indicator is illuminated? ts the papertoo thick or too ~? Possible remedy Select this option The release lever should be set to the single-sheet position. MakesurethattheASF improperlyseatedontheprintcr. Stopprinting,remove thejsrnmedsheet (you mayhave to remove the ASF for this), andcontinue. If the left andright guides are too close together, the paperwill not feed smoothly.Move thema little further aW to Mow the paperto feed freely. The ASF’Spaperfeed hopperandstackercan hold 120 sheets each. Makesurethatthereis no morepaperthan this in either the hopperor stacker. If this is not done, paperjams may occur. Remove the stackof paperfrom the ASF andfan it before reinsertilw. Only new, uncreaaedpaper should be used with the ASF. You can only feed paperin this way when theprinteris off-line. Set the printeroff-line andthen feed paper. Therearelimits to thethicknessof paperthatcan be fed in this way. Try with differentpaper. 73 If the paperpark facilitydoesnot appearto be workingcorrectly,checkthe following: Check Is the paperrelease lever in the ~ position? Has the fanfold paper been WWIY puked? Possible remedy The paperrelease lever must be set to the ~ position afterthe fanfoldpaperhas been parked. Make strrethatthe PAPERindicatorcomes on afterthe fanfoldpaperhas been parked. If theshorttear-offfunctiondoesnot appearto be workingproperly,check: Check Has printing ended in the middle of a page? Possible remedy EithersendacFF>orenough <LF>ccmunandstoe ject the page. If text is being printed all on one line, or with extra blank lines, check the following: I Check ] Possible remedv Carriage returns are not being expanded to tine? -& R>+cLF>pairs. ChecktheMemorySwitchSetting andcorrect. Is text being printed with Two line feeds are being printed. Either make your extrablanklines? software printjust a carriagereturnor (if this is not possible), set the AUTOLFto OFFusing theMemory Switch menus. Is the text all on the same Ifthepagelengthandmarginsarenotwhatisexpected,checkthefollowing: Check Is the printing starting too high or too low on the page? Does the printer’s page lengthnotmatchthephysical page length? Is the Skip-over perforation facility not working? 74 Possible remedy Use the Micro Feed facility to adjustthe printposition relative to the wwze. Use the Memory Switch settings, or the DIP switch to set up the correct page lengti or use software cOmmandsto do it. Makesure@isis set withtheMemorySwitchmenus.If the skip occurs in the wrongplace, make sure the page length is properly se~ and that the top of the print position is abouttwo lines down from the top of the uaver. I MAINTENANCE Essentially,yourprinterisa robustpieceof equipment,butshouldbetreated with a modicumof cam in orderto avoidmalfimctions.For example: ● Keepyourprinterin a ’’comfortable”environment.Roughlyspeaking,if youamcomfortable,thentheenvironmentis suitableforyourprinter,too ,(see Chapter1). s Do not subjectthe printerto physicalshocksor excessivevibration. c Avoidover-dustyenvironments.Dust is the enemyof all precisionmechanicaldevices.If you haveto use the printerin such an situation,you might like to consider the use of an acoustic hood, whose primary functionisto reducetheprinter’snoise,butcanalso actasabarneragainst dus~ Consultyour supplierfor detailsof a suitablemodel. s To clean the exteriorof the printer,use a barely damp cloth (use either waterwitha littledetergentor alittlealcohol),butdonot allowanyliquid to fall insidethe printer. ● The interiorof thepnntermay be cleanedwithasmallvacuum cleaneror a compressed-airaerosol(sold for this purpose).Whenperformingthis operation, be sure not to bend or damage any cable connectionsor electroniccomponents. ADJUSTINGTHE PRINTINGGAP Thedistance between the print head and the platen can be adjusted to accommodate different paper thicknesses. To make this adjustment, remove the top cover. The adjustment lever is located near the left end of the paper bail. Fulling the adjustment lever towards you widens the gap; pushing it away from you narrows the gap. There are fourpositions;you can feel the leverclickinginto each position. The firstposition(narrowestgap)is theonemostcommonlyusedfor single sheetsofpaper.Trydifferentpositionsuntilyougetthebestprintingnxmlts. 75 RIBBONREPLACEMENT The ribbons used by your printer MEendless-loopribbons in which the ribbonis recycled.Whentheprintqualitybecomestoo faint,you willneed to replacetheribbon.Useonlyribbonsnxommendedforuse withtheprinter (yoursupplierwill be able to adviseyou). 1 To removethe old ribbonfmm the printer,first turn off the power. 2 Removethe top cover,and holdthe ribbonby the two lugson each side. Push in the two lugs slightly,and pull upwardsto removethe ribbon. Rihhon / car[ridgc Rihh,,~ni,,i,:~nb Ribbon 76 holder I 3 Takethe new ribbonandtensionit byturning the knobonthe top of the ribboncartridgeclockwise. 4 Nowinsertthe nbboncartridgeintotheholdergrippingitbythelugs, and turning the knob slightly ckwkwiseif necessary. Make sum that the ribbongoesbetweentheprinthead andthe platenguard (see illustration below). ,Print headshield 5 Now replacethe top coverandturn on the printer.You are now readyto start nxsing the printer. 77 REPLACINGTHE PRINTHEAD Thisisnot ajob which you will need to do very often. The print head has been designed to give a life of about 200 million dots. In normal everyday use, this will mean years of life. However, if the print quality is faint, even after you have changed the ribbon, the print head will need replacement. Only use a replacementprint head as recommendedby your supplier. 1 Turn OFF the printer,and removethe powercable. 2 Iftheprinterhas beeninoperationimmediatelybeforethisoperation,the print head will be hot. NOTE Allow time for the print head to cool before attempting to work on it. I 3 Open the top cover. 4 Remove the ribbon cartridge (as described above) 5 Using a Phillips-type screwdriver, carefully unscrew the two bolts securingthe print head to the print head assembly(see the illustration below). 6 Pulltheprinthead firmlyupwards,releasingthepnntheadcard edgeconnectorsfrom the connectormountedon the chassis. 7 Removetheretainingscrewsand washersfromthe printhead assembly. Put them on one side. 8 Take,the new print head, and locateit in position,makingsure that the card edge connectionsfit securelyinto the chassisconnector. 78 Print headbolts ~ Print head NOTE DO NOT applyexeessiveforce,as this mayresultin damageto theprinthead. 9 Fastendownthe newprintheadusingthe nmining washersand screws. @not applyexcessiveforcewhentighteningthescrews,asthismaystrip the t.lmad,but ensu~ that the printhead is firmly secured. 10 Replaeethe ribboncaruidge: 11 Replacethe top cover. 12 Re-insertthe powercableand re-applypower.Yourprintermay nowbe used. You may like to checkthe printqualityusing one of the test print pmeedums (SW below). 79 FRONTPANELDIAGNOSTICAND TEST MODES The printeris equippedwitha numberof differentmodesfor diagnosisand testing.These am accessedfrom the front panel by holdingdown a front panelbutton(or combinationof buttons)whileturningon the powerto the printer. The test and diagnostic modes available are listed below ● A text test print mode c A short test print mode “ A long test print mode ● A hexadecimal dump mode ● A bidirectional print test Short test mode Iftheprinteristumed onwhilethe ~~~ buttonispressed,thepnnterwill enter the short self-testmode.The printerwill start printingas soon as the @ElilEliEC buttonis released,andwillprintthevemionnurnberoftheprinter’s ROM, eg “*** Ver 1.0 ***”,followedby sevenlines of the characterset. Eachline willbe offsetby onecharacterfromthe onebeforeit. If the color optionhas been installed,each line will be in a differentcolor. The final (blackand white)result will be somethinglike the following: [Standardmode] KBM mode] Since the test print occupies the whole width of the carriage, it is recommended that the printer is loaded with continuous stationery to avoid possible damage to the print head and/or platen. L I e test mode t l f m s b w t [PAPERR”ED T p s t a s p h a t PAPERFEED button is released, and will print the vemionnumberof the printer’S ROM, eg “*** Ver 1.0 ***”, followed by the whole character set printed in each typeface and pitch available. Since the test print occupies the whole width of the carriage, it is recommended that the printer is loaded with continuous stationery to avoid possible darnage to the print head and/or platen. In addition, the total number of lines printed is considerable, more than can be accommodated on a single sheet, so fanfold paper is certainly suggested for this test. The printout below shows a short sample of the mults of this test: — d ( c -W. m — — _ y ) -em-.ll,!l, .“ m ”l ! ~ llnL, tl t . < x ! . ] ( : ’ lnn-t-w’mm — 1 F—*=— / W ~ ,!,, N — —o ~ 1 p.. 0 ~U ~ - ~p . ,Ja... k % = - - -,..,”.. ,4567ss y t , 2 ) [ . r , / 1 t -- ) , I - U.rJ ! . . sl 1 4 :3 ,“ > \ -. W 1 i > >--m U . .=. , “ ~ - - > , 2 — _ + . i 81 w1 *- l 1 . - C, D . t Texttest mode Int m t p T d T Xlt m t r i a @ p w p b t t M o t p w b s t t S a t m a s t o a h b e b HEtlORY SWITCH TREE $Xx MAIN HEN1 FRINT CURRENT SET INSTOLL MENU COHt4AND MENU RAM USAGE EWFFER / DOWNLOAD / QUIET fiOOE OFF / ON GRAPHICS OIRECTION FONT MENU 1 PRINT HENU OFF / ON ZERO STYLE NORMAL / SLASHED NLQ-FONT COURIER LETTER-G SCRIFT / TW-LIGHT QUALITY FRINT PITCH ITALIC / SANSERIF / ORATOR OCR-C! / CINEMA : NLO / OF(AFT 1 CONDENSED FT(INT PAPER MENU : SIX / UNI NITO ON-LINE PRINT / I / PROP : OFF / ON F,RINT OFF / ON OPTION ASF OFF / ON AUTO L0401NG 1 ,~,~,~,~,~ AUTO LOtiDING IL INEEWFFER ($ISF) : 1 / 2/ (6LP1) 3/ 4 / 5/ 6 (6LFI) PAPER-OUT DETECTOR : OFF /ON FORHS MENU — SHOh’T TEAR OFF : OFF /.ON SKIP OVER PERFORATION : OFF / ON NJTO CR : OFF/ LINES : 3LPI PER INCN PAGE LENGTH (INCH) ‘f4cTORY SET 8 : OFF / ON AUTO LF ON / 4LF1 / 6LPI a DIP-SW /5/S.5/4/5.5 6/ 7/s/s.5/ / SLPI 11.7/ 14 Hexadecimaldumpmode I t r T h m t m a r t c d c i a d w b p b a b t i ah o a c o t (“ p d c w s t k tixiFEED’ f mode, it is necessary to turn off the printer completely. tie printout will be similar to that produced by aMS-DOS DEBUG Display command, ie the hexadecimal values of the bytes received will be given in rows of 16, divided into two blocks of eight. “Unprintable” charactem, ie control codes from OOhthrough IFh and 7Fh t.hugh FFh, are represented by peliOdS. The following (BASIC) program will produce the result below it: 10 20 30 40 50 FOR 1=0 TO 255 LPRINT CHR$ ( I ) ; NEXT I LPRINT END After the program has been run, the printer’s buffer should be flushed by pressing the -OWN. button. OS 18 28 38 48 58 68 78 S8 98 AS !38 C8 DE ES FE T m i u t c a w a a w c r i a tj9 19 29 39 49 5? 69 79 B9 99 C)9 69 C9 D9 E9 F9 fjAIJB fic ~D {jE 1A IB IC ID IE 2(3 3A 4A 59 6A 7A 8Q 9A M W CA DA EA FCI 2EI 2C 3B 3C 4J3 4C 513 SC 6B 6C 7B 7C EI13 EC 9E+ 9C AH AC 13B EC CB CC DB DC EB EC FF4 FC a b ~D 3D 4D SD 6D 7D ED 9D (2D BD CD DD ED FD d ~ 2E 3E 4E 5E 6E 7E BE 9E AE BE CE DE EE FE ........ ..... ... ........ ........ , ( ) x+, -./ ,:)F IF ~F 3F 4F 5F 6F 7F SF 9F AF BF CF DF EF FF 1 01234567 WBCDEFG POllSTUVW ‘ abcde+g pqt. stuvw . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89: . . . . ........ ........ ........ ........ .. s b t ; <=)? J XYZ h i j Xyz . . . . . . . . . . . . [\ ]’”’- k 1mno { . . . . ; 1 *LI . . . . . . . . . . . . . . . . ........ . ....... ........ ........ t e p t a t 8 BidirectionaltestYadjustment m T b i o m i u p o o a i g 1T S f t t a t a o t p h o A ap o s m y pi o l a r p p s p T m w t b u p o a b a #i X DOT 2 T o p w 3 T v b p t o 5 T — 8 P1OI)E p t v a i f c o o p o t d p u t p ? t t v t b l t f m b l f w T a t t l d “ o .EERFEE! w t b p i E buttons. e o i c a ’ t t t a b m o ap l t t l IPAPERFEEDb a a t b w c d a o t l h a t a m T h s a b f o p l w AX~ f t b w m t b t s o t l f @ 7 T c p t t y t n o 6 W c t i o a T p w AD JL15T11ENT f a 4 T a t .-oNE!!:.’ s m w i m v r ( Es w p t f b t t o oi i p “DRAFT-B”, “NLQ-A”, “NLQ-B”, “NLQ-C”, “GRAPHICS-A” and “GRAPHICS-B”. 8 ( I I I : + S tw,n 1, E -13 W I ON LINE ‘:— I I N-D-A 1 I I ! I I [-ON LINE “ 4 N I I I I O LINE i _ N C I I :PkPER FEED’ 4 tJL.13--i; I ! I I I j 9 T e f t m p t PITCH’ I ! I b 8 8 c MS-DOS AND YOUR PRINTER 7 W u y p w a I y w p b u P n o s t m u f t o s as T l h t p f e i i m I Y W s e p A S u W P i a m t s w I y E I n p h I y P a h I t P P o P o c o M a a o s A h T s i n h m s w y c b t m t r p o t I s y m f i t l o p g p n p R t s y s o p i t f y p s u i s m t o E 1 a y p t b s o t a m c o o t f S N 1 S N E F y p s I s c s l P t w t D s f t l o p I i n m y p i p a t g c E t e a i n H a E ( o rF o a I i t p u P You may be a t c y a s t i s o t c c s t y p ( i c f w a n a t y u t s e F i i y m i W y m w t u t ‘ ‘ * a diffenmt typefaces. This can all be done with the A c t c WordStar installation program. Read the section on escape sequences for details of how to change fonts (for example). 8 r I I y w d n a y t c f i p i p I a“ c i y t f w y w t c f W t d i p t p a t p Y c t p t p o f w t f p b T p t p o m p I y s p w f y p “ y p p f Y s a O s S t b p N p p T S s M n m p b n b a i c o t m c q ab a “ i d ah “ t b t q m w a y t i w o a f t m i g b o c P E C C P d . C 1 1 1 2 p e s 1 m M S t t t y h s I y a i a d s e a c n i s t a a Y s a f a s f t c t c s p 1 m 8 9 1 1 1 1 2 2 V w a y f a i t t d s ( f y p i < @( p c D i f o c n V t s t r t S T mo a a a t p p w a c a a r p s u o y a w p t e D s s b y r b t 4 a m o G H O aP ~ a ( t s T p G . C o a e o b u S P T P C r o t c ag s S y M c u k o t o t o T P t t M t y m y c Cu t t o ap o a w h t r t p f f d s t t p c @ k c ( F T b t o D command can be used to transmit control codes and escape sequences 120ma file to the printer in order to setup various parameters. For instance, if you want to set up NLQ printing, the command is <ESG x 1 (lBh 78h 31h). A file must therefore be created using these tie charactem. Though the MS-DOS line editor EDLIN can be used, there is a small difficulty in inputting the <ESO character. This is achieved with the following sequence: mm and then the ASCII “xl” can be input. The file is then saved, and output to t p A E N F I T s N c t b s l t f .D * O c i y h at e o w i c s a t < c t u E F f d o h t u E s m w i p c a y p y o t t 8 T e resulting f A N s b s .D P t t p u t C c I prior to printing document files. Of course, this command can also be included in a batch file. P A d e c m u t L C f U B av W t o B B a c c i u c c s a s a d w t t P p u o t Sampleprogram The following lines of BASIC give examples of how the printer may be driven from within your own programs: 1000 ‘ Set control 1010 E$=CHR$( 27) 1020 D$=E$+”XO“ codes ‘ Escape code ‘Draft quality ‘Letter quality ‘Select font ‘Select Courier ‘Horizonta1 tab ‘Pica pitch 1030 L$=E$+’’x1° 1040 F$=E$+”k ” 1050 C$=F$+CHR$( O )+L$ 1060 H$=CHR$(9) 1070 P$=E$+”P” 1080 ‘ Start printing 1090 WIDTH “LPT1:“,255 1100 LPRINT E$;“D”;CHR$(3);C~$ (27);CHR$(O); 1110 LPRINT C$;“Font settings:“ 1120 LPRINT H$;D$;“Draft characters, ” ;L$; 1130 LPRINT H$;F$;CHR$(0);“Courier characters,“ 1140 LPRINT H$;F$;CHR$(l);’’Sanserif characters,”; 1150 LPRINT H$;F$;CHR$(2);“Letter-Gothic, “ 1160 LPRINT H$;F$;CHR$(3);“Oratorcharacters,“; 1170 LPRINT H$;F$;CHR$(4);“Script characters,“ 1180 LPRINT H$;F$;CHR$(5);“OCR-B characters,“; 1190 LPRINT H$;F$;CHR$(6);“TW-Lightcharacters, “ 1200 LPRINT H$;F$;CHR$(7);“Cinema characters” 1210 ‘ 1220 LPRINT 1230 LPRINT C$;“Print pitches are:” 1240 LPRINT H$;P$;’’Pica pitch (10 CPI),”; 1250 LPRINT H$;E$;’’M’’Eliteite pitch (12 CPI),” 1260 LPRINT H$;P$; 1270 LPRINT CHR$(15); ‘Selectcondensedprint 1280 LPRINT “Condensedpica pitch (17 CPI),”; 1290 LPRINT H$;E$;’’M’’Condensedsed elite pitch (20 CPI),”; 1300 LPRINT CHR$(18) ‘Cancelcondensedprint 9 1310 LPRINT H$;E$;“pi”; ‘Selectproportionalspacing 1320 LPRINT P$;’’Proportional spacing,”; 1330 LPRINT E$;’’PO” ‘Cancel proportional spacing 1340 1350 1360 1370 1380 1390 1400 1410 1420 1430 1440 1450 1460 1470 1480 1490 1500 1510 1520 1539 1540 1550 1560 1570 1580 1590 1600 1610 1620 1630 1640 1650 1660 1670 1680 1690 LPRINT LPRINT H$;E$; ’’Wl’’Doubleble width,’’ ;E$;’’WO” ; LPRINT H$;E$; ”wl’’; ”Double-height ,“;E$;’’wO” LPRINT H$;E$; ’’h’’;CHR$(l) ;“Double-sized,” LPRINT H$;E$; ’’h’’ ;CHR$(2J ;“Quad-sized.”; LPRINT E$;’’h’’;CHR$(O) LPRINT :LPRINT ‘ LPRINT E$;”Q’’;CHR$(47) ‘Set right margin LPRINT C$;’’Various line and character spacings:” ‘Center text LPRINT E$;’’al” FOR 1=1 TO 10 LPRINT E$;’’A’’;CHR$(I); ‘Set line spacing LPRINT E$;” “;CHR$(I); ‘Increase character space LPRINT “THE SPACINGS ARE CHANGED” NEXT I FOR 1=10 TO 1 STEP -1 LPRINT E$;”li’’;CHR$(I); ‘Set line spacing LPRINT E$;” “;CHR$(I); ‘Increase character space LPRINT “THE SPACINGS ARE CHANGED” NEXT I ‘Left justify LPRINT E$;’’aO” LPRINT E$;’’3’’;CHR$(36); ‘Set 1/6” line spacing ‘Normal character space LPRINT E$;” “;CHR$(0); LPRINT :LPRINT E$;’’Q’’;CHR$(8O) ‘ LPRINT C$;’’Other features:” LPRINT H$;E$; ’’4’’ Italics”cs” ;E$;’’5” ;”, “; LPRINT E$; ’’E’’Emphasizedz;E$’;E$ ;“F’’;”, “; LPRINT E$; ’’G’’Doublebstrike”ke” ;E$;’’H’’;”, “ LPRINT H$;E$; ’’-;’’ ;’’Underlining” ;E$;’’-;”,;”, “; LPRINT E$; ’’-;’’ ;’’Overlining” ;E$;”-O’’ ;”, “; LPRINT E$; ’’SO’’SUPER”;E$;E$;“T’’;” and “; LPRINT E$; ’’S1’’S UBSCRIPT”PT” ;E$;’’T’’ ;”, “ LPRINT H$;C$;’’Download characters: “; GOSUB 3020 ‘Selectdownload character 1700 LPRINT E$;’’%l”; 1710 FOR 1=1 TO 5 ‘Printdownload character 1720 LPRINT CHR$(60); 1730 NEXT I E$;II%OII: ‘ n c 1740 L 1750 GOSUB 3130 ‘Selectdownload character 1760 LPRINT E$;’’%l”; 1770 FOR 1=1 TO 5 ‘Printdownload character 1780 LPRINT CHR$(60); 1790 NEXT I ‘Selectnormal character 1800 LPRINT E$;’’%O” 1810 ‘ 1820 LPRINT H$;C$;’’Dot graphics:” 1830 DIM LOGO$(4) 1840 RESTORE 4170 1850 FOR ROW=l TO 4 1860 FOR COL=l TO 65 91 1870 READ GD 1880 LoGO$(ROW)=LOGO$(ROW)+CHR$(GD) 1890 NEXT COL 1900 NEXT ROW 1910 LPRINT E$ ; “A” ;CHR$(8) ; ‘Set 8/72” line spacing 1920 FOR ROW=l TO 4 “; 1930 LPRINT “ 1940 FOR B=O TO 6 1950 IF B=2 THEN 2000 1960 IF B=5 THEN 2000 normal density 1970 LPRINT E$;’’*’’;CHR$(B) ; ‘Select 1980 LPRINT CHR$(65);CHR$(0) ;LOGO$(ROW); 1990 LPRINT “ “; 2000 NEXT B 2010 LPRINT 2020 NEXT ROW ‘Initialize printer 2030 LPRINT E5;”@” 2040 END 3000 3010 ‘ SUBROUTINES 3020 ‘ Define Draft download character ;CHR$(0);CHR$(O) ;CHR$(0); 3030 LPRINT E$;’’xO’’;E$;”:U ;CHR$(60);CHR$(60) ; 3040 LPRINT E$;’’&’’;CHR$(O) 3050 RESTORE 4020 3060 READ LS :LPRINTCHR$(LS); 3070 FOR M=l TO 11 3080 READ MM 3090 LPRINT CHR$(MM); 3100 NEXT M 3110 RETURN 3120 3130 ‘ Define NLQ download character 3140 LPRINT C$; ;CHR$(60):CHR$(60) ; 3150 LPRINT E$;’’&’’;CHR$(O) 3160 RESTORE 4060 3170 READ LS :LPRINTCHR$(LS); 3180 READ CW :LPRINTCHR$(CW); 3190 Rl?ADRS :LPRINTCHR$(RS); 3200 FOR M=l TO CW*3 3210 READ MM 3220 LPRINT CHR$(NM); 3230 NEXT M 3240 RETURN 4000 4010 ‘ DATA 4020 ‘ Draft download characterdata 4030 DATA 139 4040 DATA 124, 0, 66, 4, 64, 36, 16, 2, 16, 12, 0 4050 4060 ‘ NLQ download characer data 4070 DATA O, 23, 0 1,248, 0, 6, 0, 0. 8.124, 0 4080 DATA 4090 DATA 16, 2, 0, 32,124, 0> 0, 2, 0 4100 DATA 32,124, 0, 0, 0. 0, 63,248, 0 O, 0> 0, 32, 0, 0, 0,120, 0 4110 DATA 4120 DATA 16, 0, 0, 8,120, 0, 4, 0, 0 9 4130 DATA 4140 DATA 4150 DATA 4160 4170 0,124, 0 0,128, 0 1,130, 0, 0,124, 0, 0, 0, 0 2,124, 0, 0,130, 0, 0,120, 0, ‘ ‘ Dot graphics data 4180 ‘ ROW i 4190 DATA 0, 0. 0, 0. 1. 3> 7. 7, 7, 15 4200 DATA 14. 14, 14, 14, 14. 7, 7, 3, 3, 15 4210 DATA 15, 15, 0, 0. 0. 0, 6. 7. 7, 7 4220 DATA 7. 7. 7, 7. 7, 6. 6. 0. 0, 7 4230 DATA 7. 7, 7. 7. 7, 7, 7, 7. 7. 7 4240 DATA O. 0. 7, 7. 7, 7. 7, 7, 7. 7 4250 DATA 7. 7. 0. 0. 0 4260 ‘ ROW 2 ,143, 15 4270 DATA O. 0. 60,255,255,255>255.255 4280 DATA 7. 7. 7. 7. 3, 3, 3,131,193,241 4290 DATA 240,240. 0. 0s O, 0, 0> 0,224,255 4300 DATA 255>255,255.255,31. 0> 0. 0, 1> 3 4310 DATA 31,255,255,255,255.255 ,255, 1, 0. 0 4320 DATA 0, 1> 7, 31,255,252,240,192.128,O 433o DATA 0, 0. 0. 0, 0 4340 ‘ ROW 3 ,192 4350 DATA o, 31, 31, 3,129,128,192,192,192 4360 DATA 192,224.224.224.224,240 ,255.255,255.255 4370 DATA 255,127> 0, 0, 0. 0> 0> 0> 0,192 4380 DATA 255,255,255,255,255>15, 15> 63.252n240 ,255, 7, 15 4390 DATA 192, 0,240,255,255,255,255 4400 DATA 127.252,240,192> 0> 0. 0> 0, 0> 0 4410 DATA 0, 0, 0, 0> 0 4420 ‘ ROW 4 0,248,248,240,224,224. 112,112> 56, 56 4430 DATA 4440 DATA 56, 56, 56,120.120,240,240>224> 224,192 445o DATA 128> 0, 0> 0> 0> 0, 0. 0. 0, 0 4460 DATA 128,248,248>248,248,240 ,192, 0, 0, 0 ,240,192. 0 4470 DATA 0, 0,240,248,248,248,248 4480 DATA 0, 0, 0> 0, 0> 0, 0. 0, 0. 0 449o DATA 0, 0, 0, 0, 0 T r h m h How theprogram works T s n h v T I p f A p p p t p p a 1 1 i Y o s u o e h t n a e1 I i u c W a r 0 e b s 1 d o t s d e U p f a s q t f b e o p 9 I N c t c t i e a i d b f p 1 ac c ( 1 a 1 c ( 1 N t p i s p w r a c c o t p al o t p t l t g ab e T w ac s t r m ( ( 1 a v t l s a ac t m t s b a 1 t n a s i a g p ad b o t p o u e u The K)Wo c s i t next printed line is created by downloading two new character patterns, which are printed in place of the character “<” (character 60). The final part of the program uses dot graphics to print an “SW” logo. The dot pattern of the logo was originally laid out on graph paper, then converted to the data in lines 4180 to 4490 with the help of a calculator. Each number represents eight vertical dots. (See “Graphics commands” in Chapter 4 for details.) The pattern is printed in four rows, each eight dots high and 65 dots wide. Lines 1830 to 1900 read the dot data into a string array variable named LOGC)$. Line 1910 sets the line spacing to 8172inch SOthat the rOwSwill connect vertically. The loop in lines 1920 to 2020 does the printing in four passes of the print head. This program can also be run in IBM mode if you change a few of the lines as shown below to allow for differences in some of the commands. You will get a cylinder instead of a barrel effect, bccuase the IBM m d n h a M c t m f I t m c s i o 1070 P$=CHR$(18) ‘Pica pitch 1250 LPRINT H$;E$;“:“;“Elite pitch (12 CPI),“ 1290 ‘ LPRINT H$;E$;“M”;“Condensede1ite pitch (20 CPI),“; 1420 LPRINT CHR$(28);“Q”;CHR$(47) ‘Set right margin 1460 LPRINT E$;“A”;CHR$(I);E$;“2”; ‘Set 1ine spacing 1470 ‘ LPRINT E$;“ “;CHR$(I); ‘Increase characterspace 1510 LPRINT E$;“A”;CHR$(I);E$;“2”; ‘Set 1ine spacing 1520 ‘ LPRINT E$;“ “;CHR$(I); ‘Increase characterspace 1570 ‘ LPRINT E$;“ “;CHR$(O); ‘Normal characterspace 1580 LPRINT :LPRINT CHR$(28);“Q”;CHR$(80) 1610 LPRINT H$ ;CHR$(28);“4”;“Italics”;CHR$(28);“5”;“, “; 1910 LPRINT E$;“A”;CHR$(8);E$;“2”; ‘Set 8/72” 1ine spacing ; CHR$(28);“:“;CHR$(O);CHR$(O);CHR$(O); 3030 LPRINT E$;“ 3150 LPRINT CHR$(28);“&”;CHR$(O);CHR$(60);CHR$(60); 94 F s 1 < c t S c ” C t S ORATOR CHARACTERS, OCR-B characters, C c : Letter–Gothic, sap-k dumu+ww, c T c h a c Print pitches are: Pica pitch (10 CPI), Condensed picapitch(17CP1), Proportional spacing, Elite pitch (12 CP1), Con~ensed el]tepitch(20CP1), V s 1i a c : !il\ THE T O S P A C I N’GS S A I N S f I U D D A A C E : E 1i i n 1o c g U : D 1I n I n : L M S S x . Sw 9 I O c g y p m s m i f a t h a a y c w t p t p d u b t y m o Patchesnecessaryto use the BASICinterpreter W M B i u s w hP a c an o p m a F i t io t ac r ( c t t p i a t al f a w S t B i w n t E m ( A a a N t w n c p b i s ac i i i ac d o g d s p m o T g r t t p t u o t f s p i r 3 G M 5 5 5 5 t O O R C 5 5 5 5 C i c o N 5 d o (& & ) :I :O 0 , ) :I :O 0 , & T , 5 :O & , & T , 5 :O & , d ‘ o I O & R t s o u t d a e w d C Ks h a L c s t c F o b o d h oe c ‘fhesepatchesar conlyforusewithMicrosoftBASICinteqxetersunderPC-DOS or MS-DOSon PCs/PC-ATsor compatibles.They will not work with other languages,machinesand/oroperatingsystems. 9 u l o I c 8 S P s P s P p F N I G E D o c P E C C P p p e l l . ......................................A I I I D N p . ................................... 1 s * U ‘ J N D ................................B U ( o p C I ................................2 c ( 6 c ( d N L ..............................S 1 s b n n S .......................C 1 1 1 2 9 1 s 1 5 1 g D I i I S I L I A h ( S 1 m 1 m 8 9 1 1 V I D V 1 1 2 2 r 97 C d m ...................... 9 x 1 ( 1 2 ( B i d s d h q C C p d s d ...................... D 6 1 d 1 2 8 9 7 1 6 1 8 8 8 8 8 8 8 8 9 9 I I *I i i ( P P P f f ......................................F P s . b W W 9 i t m s D D 1 m 8X 8 8X 1 8X 1 8X 3 8X 1 8X 1 8X 9 8oX 1 9x8 9X 1 m a t p w t a a m ( ( i . 2 i m ( 1 5 ( . A A 1 6 3 ............................................ O M I adjacent d w .................................... C s F ( C E t p 1 m 8X4 8X 9 8 8X 1 8X 6 8X7 8X 5 8X 1 9X4 9X9 4 c +3c ..................... 3 1 .....................................E I .........................................C R m m P m p s ( ( R R t l D ................................. O B ............................... ( C m . m d ( c ( D ( m ( x3 x1 x3 x1 1 . 2 ( p x1 m. x5 i x1 . m x5 i i i Weight (10” model) ....................... 8kg (17.61b) W P O ( s . m ....................... 1 ( ................................. 1 ( c a . . R C P 2 2 t t c s . f 5 o p . . i p t k f 99 I T f f c I Pin I Name 1 STROBE 2 DATAO 3 DATA1 I d ( 4 I DATA2 5 D 6 t p o t p w a l w ( a i a o I Function Goesfromhightolow(forM.5ps)whenactive Highwhenactive Highwhenactive I Hirzhwhenactive High when active 7 DATA5 High when active 8 D High when active 9 DATA7 High when active 10 ACK 5ps low pulse acknowledgesreceipt of data I 11 I BUSY I 12 13 14, 15 16 17 18 19-30 31 32 33 I Lowwhenorinterreadv toreceivedata I SELE~ High when printeris on-line NIC SIGNALGND Signal ground CHASSIS +5V GND RESET ERROR EXT GND Chassis ground (isolated fromsignal ground) +5VDC output fromprinter Twisted uair mound return .Whenthis input signal islow, printer isreset Outputs lowwhenprinter cannot continue, duetoanerror Extendmound I N/C I \ I SELECTIN I Alwayshigh 1 I High when paper out. Can be disabled with Memory Switch setting I 34.35 36 I High when active DATA4 PAPER I I c 9 C T c T l d r g t c o t c o t c p o e T h c c e o t t f e s i h c t d 6 t n b f C i b t > c p ~ b s t c i t a c b n c i 4 t i p I i s c s i a i t t t e at t a l e “ i i c 4a r 1 i e ( 1 1= 6 e a i b a c T r Character Hexadecimal value (high order) 101 S C S $3 0 1 (Ntk) o 1 ( 1 151 ml ml I 1 1 i I I 1 L I 6 2 7 2 I I I 9 “ 1 I ●7 I W W Ir c I I 7 -l 8 ( ‘ 1 40 56 1(’T)I%(E”)14 i 19 ) , I I I Ivl I I 39 ( R I I I ( ( 4 I 1 * IL 41 mu 57 % I I I%71(ESC)G71 Ic I I ( ’ B I u 1 . . 1 1 .“, H fT 1 (CR) 1 2 ( (RS) 14 30 (s1) I 1 1 I 15 . 1 1 31 1 1 1 L I . I 1 - 1 1 . 1 1 I 8 I 1 I I. I I I ‘ I . I1 s , I I Il-l Im l--iii I 1 I7 1 1 I A I Elt I I I I. 1 I I t , % m I I . 5 m IA E l-iii 6 I A I l-iii F L 1L e u m l% i v 1 L u l-xi 1 1 . “ (CAN) l-m 9 F I 1. m) 8 E I . A I6 D I . I 1 . ~ I c I Iinr: I ml I 1 4 B 1 .-1-. I . , I 3 I1 I A 1 1 1 . I 1 II t 9 I I1 I1 I( ( * l Imlp 11691 11851 I2 [ m (w) I t I I (FF) c I (CR) D ( E I 1 I . , L (s1) F — 103 S C S lther charactem are identical to Standard character set #1. 104 I C S I m-l [- 6 -P-P I (CAQ QI(BS}J I n2 (HT) ~ ( 1 I n u ‘ I ‘ i ‘ 1:’ iJ ‘ iz ‘ , i 9 H I (SYN) I 25 41 * I 1I [ 261 I I I 271 1 431 111 57 73 891 I 1051 I1 z 421 105 . 1 E 1 I1 &n I1 I 1831 I 1991 -1 1 I C S o 1 I 8 9 {N(IL) o 1 m L m (E)cl) m ( 2 m l-iii ( 3 4 5 n l 5 m l (SYN) 6 I 6 n IT (BEl) 7 p p ( ( 8 I-I w 1 1 1q M) (EH) 9 m l ( 7 m ( 8 m ( m m ( 9 m n l ( I b d ( ~’ ’ ) l m l I 1 1 A .“, ( (m c I I m ( L ( D m ( I ( E I m ( ~ c a i d o c c “ f ~ t I c w c e t l ( F ~ m ( c ~ I 1 L O T o < B m ( E F ( ( D I l I m I ( m s # s s w a7 i t b i s t 1b t c 1 u I A A C c c [Standardmode] 108 S b p b s c [[MBmode] d INTERNATIONALCHARACTERSETS W c s a i c f s f D s a m c 4 t 7 on b a i t c C 3 3 6 9 9 9 9 %1 1 1 1 1 1 U.S.A. PRANCE # $ @ [ / ] “ ‘ { ! } - c ~ # $ & “ g s ‘ ‘ 6 h & “- e Y GERMANY # $ s i-i0 u - ‘ a 0 u h c v ENGLAND f. $ g! [ / ] “ ‘ { ! } - c v INzNMARK 1 SWEDEN # $ @ z 0 A “ ‘ u !3 8 - C Y # a E A G A u 6 a o a u ~ Y ITALY # $ @ “ \ 6 “ t.1h 6 b i c Y SPAIN1 R $ @ JAPAN # $ @ [ Y ] “ ‘ { ; } “ c Y # ~ E E 0 A u 6 u @ & u ~ Y NORWAY i N L - ‘ “ K - } C Y # $ k E 0 A u 6 e 0 a u c Y SPAIN2 # $ & i N L 6 ‘ f f 6 I C % L # $ a i N L 6 u i f 6 Q c Y D # $ @ [ \ ] - ‘ { N } “ Z 0 IRISH L $ @ [ / ] ‘ ‘ A E f 6 u . D 2 A S C 5f t T c f D s s O 1 2 3 4 5 6 7 8 9 I c “ c U F G E D i < n means c i s t Standard m W a s i s t n I n i S I S J N m C I s 1 1 1 1 1 < a “ i B T D S L D I I n v o n I A 1 110 INDEX m Applicationsoftwareinstallation,87 ASF,220 Troubleshooting,7.3 AutoCR, 21 AutoLF, 21 Autoloading,20 ASF,20 Autoon-line,19 Automaticsheetfeeder- see ASF m BASICprogramming,90,96 Bidirectionalprinting,19 Bidirectionaltestmode,84 Bufferclear/reseq16 m Charactersets,101 Characterset,67,68 Cleaning,75 Commandcodes,24 Commandmenu,19 Condensedpring20 Comection to computer,5 Continuousstationery- See Fanfold paper Controls,11 Cut-sheetpaper,7 D Defaultsettings,22 Diagnosticand testmodes,80 DIP switches,67 Location,6 Draftmode,20 El Emulation,23,67,68 Environment,1 Epsonmode- see Standardmode Escapesequenceexample,25 Escapesequences,24 m Factorysettings,22 Fanfoldpaper,8 Shorttear-offfunction,25 Fontpanellock,13 Fontselection,13 Formfeed,14 Frontpanelcontrols,11 m Graphicsdirection,19 Graphicsdump,89 m Hexadecimalconventions,23 Hexadecimaldumpmode,83 m IBMmode,23 Indicatom,11 Internationalcharactersets,68,109 Italicprinting,20 m Linesper inch,21 111 I ..- El Maintenance settings, 16 Maintenance, 75 Maximum number of columns, 89,97 Memory switches, 17 Memory switch tree, 18,82 Micro Feed, 16 cm NearLetter Quality mode -seeNLQ mode Negative numbers, 23 NLQ mode,20 Numerical representation, 23 m O A 2 ml Pagelength,21,67 Pa~r Cut-sheet,7 Fanfold,8 Parking,14 Size,21,67 Paperfeeding,troubleshooting,72 Papermenu,20 Paperout detector,20 Parallelinterface,1,5,100 Patchesfor BASICinterpreter,96 Pitchpanellock,12 Pitch s 1 P k f m RAMusage,19 Ribboninstallation,4, 76 RS232interface,1 El Settingup fromDOS,89 Shorttear-off(MemorySwitches),21 Shorttear-offfunction,15 Skipoverperforation,21 Slashedzero,19 Specifications,97 Spreadsheetinstallation,88 Standardmode,23 m Testmode Long,81 Short,80 Text,82 Test settings,16 Troubleshooting,69 w Unidirectionalprinting,19 Unpacking,1,3 ml Verticalpitch,21 3 Powersupply,troubleshooting,70 Printheadreplacement,78 Printmenu,20 Printquality,20 Printing,troubleshooting,70 Printinggap adjustment,75 Proprintermode- see IBMmode 1 Quietmode,11,13,19 e i Ld Zero style,19 I ConsumerResponse Star Micronics Co., L i your suggestions and comments on your printer and this manual. Please address your correspondence to: Worldwide Headquarters: STAR MICRONICS CO., LTD. 194 Nakayoshida Shizuoka, JAPAN 422-91 Attn: Product Manager American Market: STAR MICRONICS AMERICA, INC. 420 Lexington Avenue, Suite 2702-25 New York, NY 10170 Attn: Product Manager European Market: STAR MICRONICS DEUTSCHLAND GMBH Westerbachstrat3e59 P.O. Box 940330 D-6000 Frankfurt/Main 90 F.R. of Germany Attn: Product Manager U.K. Market: STAR MICRONICS U.K., LTD. Star House Peregrine Business Park Gomm Road, High Wycombe Bucks. HP13 7DL, U.K. ‘Attn: Product Manager French Market: S M 2 r M 7 M A P F SA F o M Asian Market: STAR MICRONICS ASIA LTD. Room 2408-10 Sincere Building; 173 Des Voeux Road, Central, HONG KONG Attn: Product Manager n PRINTED IN JAPAN