Page 2
Trademark Acknowledgements LC-20, NX-1OOO, LC.1O, ND.10/15: StarMicronicsCo., Lid. Proprinter IBM PC, PC-AT, PC-XT, III, ProprhrterII, PC.DOS: International B usiness Machines Corp. Microaoft BASIC, MS-DOS: Microsoft Corporation LX.85Q FX86q Fx286e: seikO @sOn Corp. NOTICE All rights reserved. Reproduction of aoy partof this manual in any form whatsoeverwithout .
Page 3
HOW TO USE THIS MANUAL This manualis organizedintonine chapters.Tolearn how to makethe best use of yourprinteryou areurgedto readthroughchapten 1through3. The remainingchaptersmay be treated as a referenceguide for programming operations, etc. It assumes a degree of knowledge of the operation of computexx (forinstance,it assumesyouknowabouthexadecimal n umbers).
Page 4
Chapter 6 — MS-DOSand yourprinter Since the PC or PC-AT family of computemrunningunder MS-DOS is curnmtlythe most popular configurationof microcomputer,we have in- cludeda few hints and tips to help you use yourprinterwith such systems. SincevirtuallyallPCsaresoldwitha MicrosoftBASICinterpreter,wehave also included some hints, and a sample program in this language to demonstratethe capabilitiesof the printer.
Page 5
FEATURES OF THE PRINTER Thisprinteris aconvenient,monochrome p rinterwithoutfiillsbutwitha full complementof features, making it an excellent partner for a personal computer.It supportsthe IBM/Epsonprintercommandsandcharactersets, enablingit to printjust aboutanythingyourcomputercangenerate,bothtext and graphics.Some of its main featuresare the following: . ExtensivesoftwareSupport Since it is compatiblewith the Epson and IBM printers,it works with any softwarethat supportsthose printem.That includesmost word-processing and graphicsprograms,spread-sheets,and integratedsoftwarepackages.
TABLE OF CONTENTS Chapter 1 SETTING UP THE PRINTER Locating thePrinter Unpacking a ndInspection Checkthecartoncontents Partsnameof theprinter Setting Mount the platen knob Install the ribbon cartridge Comection Loading Single Sheets Automatic loading Manual loading Loading and Parking Fanfold Forms Loading the paper Paper parking Paper unparking Printing Gap...
Page 7
Chapter 3 DIP SWITCH SETTINGS Location of theDIPSwitches Functions o ftheDIPSwitches Chapter 4 PRINTER CONTROL COMMANDS FontControl C ommands Character S etCommands Character S izeandPitchCommands Vertical P osition Commands Horizontal Position Commands Graphics C ommands Download C haracter C ommands OtherPrinterControl C ommands Chapter 5 DOWNLOAD CHARACTERS Designing Y ourOwnDraftCharacters...
Page 8
Chapter 8 SPECIFICATIONS Chapter 9 CHARACTER SETS Standard Character S et International Character S ets IBMCharacter S et IBMCharacter S et#1 IBM Special Character Set INDEX COMMAND SUMMARY...
chapter 1 SETTING UP THE PRINTER Subjects covered in Chapter 1 include — Locatingthe printer Unpackingand inspection(namesof parts) Settingup and connection Loadingsinglesheets Loadingand parkingfanfoldforms Adjustingthe printinggap LOCATING THE PRINTER Beforeyou startunpackingand settingup yourprinter,make surethat you have a suitableplaceon whichto locateit. By “a suitableplace”,we mean: A firm, level surfacewhichis fairly vibration-free Away from excessiveheat (such as directsunlight,heaters,etc) Away from excessivehumidity...
UNPACKING AND INSPECTION Checkthe cartoncontents Nowunpackthe contentsof the shippingcarton,andcheckeachitemin the box againstFigwe 1-1to makesurethat youhaveeverything(thereshould be five items). If any of these items are missing,contactyour supplier. Figure 1-1.Check to make sure you have all five items: 1) Printer, 2) Paper guide, 3) Platen knob, 4) Ribbon cartridge, and 5) User’s manual.
Theoptionalaccessorieswhichyoumayhaveorderedwithyourprinterare: Serial-Parallelconverter(SPC-8K) Automaticsheetfeeder (SF-1ODR) Parts name of theprinter Makean externalinspectionof theprinter.Notethelocationsof thefollow- ing parts in Figure 1-2. Power knob Control panil Figut@1-2 The printer’s external parts Bail lever: opensandclosesthe paperbail whichholdsthe paper againstthe platen. Release lever: releasesthe platen.Thislever must be back for singlesheets,and up for fanfoldforms.
SETIWJG UP Place the printer in the desiredlocation,and remove all packingmaterial from inside the top cover. This packing material is intendedto prevent damageto theprinterwhilein transit.You willwantto keep allthepacking material,alongwiththeprintercarton,in caseyouhaveto movethe printer to a new location. Mount theplaten knob The platenknobis packedinto a recessof the whitefoampackingmaterial whichheld yourprinterinsidethe carton.Be sureto removethe knob from the packaging.
Page 13
Figure 1-4. Removing the lop cover 1. Turn the tension knob counterclockwiseon the ribbon cartridge to tightenthe ribbonif it is slack. 2. Guidethe ribbonbetweenthe printhead andthe platen,makingcertain that the spindles on the cartridge holder fit into the sockets on the cartridgeitself.
Page 14
3. Theribbon shouldpassbetweenthe printhead andtheprinthead shield (see Figure 1-6). Print head Print head shield ‘ h~,.kribbo. Figure 1-6. Pass the ribbon between the print head and print haad shield To replacethe top cover, insert the tabs into the slots on the printer case. Swingthe front edge down to closethe cover.
Connection printer to your computerusing a standard parallel interface Connect t he cable.On a PC or PC/AT-typecomputer,thismeansthat youuse the 25-pin D-typeconnectorat the computerend, andthe Amphenol-type 36-pincon- nector at the printer end. The configurationof the printer’s connectoris given in Chapter 8 should you need a cable for connectionto another computer.
LOADING SINGLE SHEETS This sectionwilltake you throughtheproceduresfor loadingsinglesheets of paper. If youareusingthe optionalautomaticsheetfeeder(AN?),referto the ASF instructionbooklet. Automaticloading Singlesheetscan be loadedmanuallywith the poweroff, or automatically with the poweron. We will start the easy way with automaticloading. 1. Place the paper guide in positionby insertingthe tabs, locatedon the bottomof the assembly,into the slotson the rear coverof the printer.
Page 17
Make sure that the releaselever is down. If fanfoldpaperis alreadymountedin theprinter,pressthe PAPER FEED buttonwhileholdingthe FONT buttonto park the paperin the off-line state,then movethe releaseleverdownwards. Adjustthe paper guidesto match the size of paper you will be using. Rememberthatprintingwillstartsomedistancefromtheleft-handedge of the carriage. Turnonthepowerusingtheswitchlocatedatthefrontof theprinter.The pnnterwill beep,indicatingthatthereisnopaperinpositionforpnnting.
Manualloading It isalsopossibletoloadpapermanuallywhiletheprinter’spowerisoff.The procedureis: Place the paper guide in positionby insertingthe tabs, locatedon the bottomof the assembly,into the slotson the rear coverof the printer. Checkthat printerpower is off and the releaselever is down. Openthetopcover,thenmovethebailleverontopof theprinterfonvard to open the paper bail. Adjustthe paper guidesto match the size of paper you will be using.
LOADING AND PARKING FANFOLD FORMS Fanfold forms have holes along the sides and perforationsbetween the sheets.They are also called sprocketforms, punchedforms, or just plain “computerpaper”.This printeracceptsformsup to 10”wide.This section will take you throughthe proceduresfor loading,parking and unparking fanfoldforms. Loadingthepaper Placea stackof fanfoldpaperbehindandatleastonepage-lengthbelow the printer.
Page 20
Withthe sprocketcoversopen,mountthe paperby aligningholes with the pins on the sprockets. Adjustthe spacingof the sprocketsby slidingthemalongthe bar, using the clampleverat the backof each sprocketto releaseandlock themin position.Whenthe lever is down,the sprocketis released,and when it is up, the sprocketis locked. Figuru 7-11. Mount the fanfold psper over the sprockets. Now closethe sprocketcovers,againmakingsure that the paperholes are aligned with the pins on the sprockets.
Page 21
13.Mountthe paperguidein the horizontalpositionshownin Figure 1-12, so that it will separatethe printedfrom the unprintedpaper. F/gufo 1-12. Mountingthe paper guide for fanfold forms...
Paperparking Afterloadingfanfoldpaper,youdo nothaveto unloadit whenyou wantto print on a singlesheet.The printerwill “park”it for you if you followthe procedurebelow. 1. To beginpaper parking,start with power ON, fanfoldpaperloadedin printingposition,and the releaselever up. 2. Press the ON buttonon the controlpanelto set the printeroff-line. LINE indicatorwill turn off.
ADJUSTING THE PRINTING GAP The distance between the print head and the platen can be adjusted to accommodate differentpaperthicknesses. T o makethisadjustment, r emove the top cover.The adjustmentleveris locatednearthe left sideof the paper bail. Fullingthe adjustmentlever towardsyou widensthe gap; pushingit away from you narrowsthe gap.
chapter2 CONTROL PANEL OPERATIONS The controlpanelbuttonscan be pressedindividually to performtheopera- tionsindicatedby theirnames.Otherfunctionscan be achievedby holding thesebuttonsdownwhenyouturntheprinter’spoweron,or by pressingthe controlpanelbuttonsin combination. This chapterexplainsall the buttonand indicatorfunctions. Pauseprinting Feed paper (fast and slow,forwardand reverse) Park fanfoldforms Set the top-of-formposition Selectthe print pitch Selecta font Print test patterns Preventsoftwarefrom changingthe panelpitch and font selections...
Page 26
ON L/NE button buttonsetstheprinteron-lineand off-line.The statuschanges The ON LINE each time you press the button. Whentheprinteris on-line,it can receiveandprintdatafromthe computer. Whentheprinteris off-line,it stopsprintingandsendsthecomputera signal indicatingthat it cannotacceptdata. Theprinterpowersup in the on-linestatusif paperis loaded.If paperis not loaded,the printer powersup off-linewith the indicatorflashing.
PAPERFEED button If you press this buttonwhile off-line,the paper will feed forward.If you hold the buttondown,the printerwill performconsecutiveline feeds. IfyoualsopresstheON whileyouareline-feeding, t hepaperwill LINE button feed automaticallyto the top of the next page.This is explainedlater. If youpress thisbuttonwhileon-line,this willalternatelyselectand cancel the Quiet mode.
FONTbutton This button selectsthe font to be printed.Draft font is always selectedat power-up.To changeto one of the NLQ (near letterquality)fonts, set the printeroff-line,then press the buttonrepeatedlyuntil the indicators FONT besidethe desiredselectionilluminate.The selectionscycle in the follow- ing order: Font Indicator(s) DRAFT Draft Courier COURIER...
POWER-UP FUNCTIONS In additionto their normal functions,all the control panel buttonshave specialfunctionsthatoperateif youholdthemdownwhileswitchingpower J,,,,, Il:,:;,:a,:,t[lTyj,g Stay in panel pitch Stay in panel font Eigum 2-2. Power-up functions of control panel Short test mode Iftheprinteris turnedon whiletheON buttonispressed,theprinterwill LINE enterthe short self-testmode.The printerwill start printingas soon as the buttonis released,andwillprinttheversionnumberof theprinter’s LINE ROM, followedby six lines of the characterset.
Long test mode Iftheprinteristurnedon whilethe PAPER FEED buttonispressed,theprinter will enterthe long self-testmode.The printerwill startprintingas soon as the PAPER FEED buttonis released,andwillprintthe versionnumberof the printer’sROMandthe currentsettingsof the DIPswitches,followedby the wholecharacterset printedin each font and pitch available. The test cyclesendlessly,so you mustturn the poweroff to stop it. Sincethe self-testoccupiesthefill widthof thecarnage,it is recommended thatthe printeris loadedwiththe widestpaperpossibleto avoiddamageto the printhead and/orplaten.In addition,thetotalnumberof linesprintedis...
Hexadecimaldump This feature is useful for programmed who are debuggingprinting pro- grams and want to see the actual codes the printer is receiving.(Some computerschangethe codesthe programmerintended.) Inthismode,alldatareceivedwillbeprintedin ahexadecimal d umpformat, ratherthan the controlcodesbeing actedon as commandcodes. This modeis accessedwith the followingprocedu~: While holding both the PAPERFEEDand PITCH buttons down, turn power ON.
Page 32
Most however,arenotquitethatstraightfonvard. F orexample,the BASICS, will give a printoutsimilarto Figure2-5. IBM-PC ....... . x+, -.
SWITCH COMBINATION FUNCTIONS Severaladditiomdfunctionscan be achievedby pressingthe controlpanel buttonsin combinations. Reverse mmu-teed Figwe2-6. Switch combination functions of control panel Form feed If you are usingsinglesheets,this operationejectsthe currentpage.If you are using fanfoldforms,it feedsto the top of the next page. Press the ON to set the printeroff-line.
Paper Parking This procedurefeedsthe paper backward.It parks the fanfoldform at the backoftheprintersothatyoucanswitchto signal-sheet f eeding(bymoving the releaseleverto the down position). Beforeparkingfanfoldforms,tear off all but the last page,leavingless (at least three inchesless) than a full page showingabovethe top cover. 1. Press the ON buttonto set the printeroff-line.
Reversemicro-feed You can also feed the paper in small incrementsin reverse,to return to a higherpositionon the same page. NOTE: Withfanfoldforms,do nottryto returnto apreviouspage.Theper- forationmay catch insidethe printerand cause a jam. Press the ON buttonto set the printeroff-line. ‘1. LINE 2. Press the ONLINE buttonagain and hold it down. 3.
chapter 3 DIP SWITCH SETTINGS The bank of DIP (DualIn-linePackage)switchesinsidethe printeris used for variousfunctions. This chapterexplainswhere the DIP switchesare located,and how to use them. LOCATION OF THE DIP SWITCHES Whenyou removethe printer’scover and look inside,you will see on the greenboard at thebottomof the printertwogroupsof smallwhiteswitches markedDSW1andDSW2.Thesearetheprinter’sDIPswitches.DSW1has eightswitches,named 1-1to 1-8fromleftto right.DSW2hasfourswitches named 2-1 to 2-4.
FUNCTIONS OF THE DIP SWITCHES The printeris factory-setwith all DIP switchin the ONposition.These are thestandardsettings.By changingthe settings,youcan altervariousprinter fimctionsto match your requirements.The followingquestionswill help you choosethe proper settings. Function Switch Printermode Standard Buffer Download UsageofRAM AutoLF Inactive Active Autosheetfeeder Enabled Paper-outdetector Disabled Smatlcaps...
Page 39
you want an automaticline feed? Switch 1-3: Do If you leave this switch at the ON position, a separate line-feed code is required from your computer to obtain a line feed. If you move this switch to the OFF position,the printer performsboth a carriagereturn and line feed each time it receivesa carriage-returncode.
Page 40
actionof this switch dependson the mode chosen with Switch 2-1: The switch 1-1. mode, do you want italics or graphics If you selected standard characters? Setthis switchOFFto printitalicsin the standardcharacterset. If youleave this switch in the ON position,in place of italicsyou will get the graphic characte~, internationalcharacters, and mathematicalsymbols of IBM characterset #2.
chapter PRINTER CONTROL COMMANDS The printer has two emulationmodes:Standardmode and IBM mode. IiIstandardmode,the printeremulatesthe functionsof the EpsonLX-850. In IBM mode, the printer emulates the IBM Propnnter III. Additional commandcodes are includedas a supersetof these emulations. Theemulationis changedbymeansof DIPswitch1-1.WhenON,theprinter will be in standard mode, and when OFF, the printer will be in IBM emulationmode (see Chapter3).
FONT CONTROL COMMANDS Select draft qualitycharacters Decimal Hexadecimal Mode ] ASCII Both I “(” ‘T’ “F” “)” “)” “9” I 40407041 41 57 I 282846292939 <ESC> “O” 27 ?20 48 16 78 30 “X” std. <o> “x” 27120 78 00 <ESC>...
Page 43
Select NLQ font Decimal Hexadecimal Mode ASCII <ESC> “k” n Both 27107 IB 6B SelectsanNLQfontaccordingto thevalueof n. In draflmode,this command remains dormant and takes effect later when NLQ is selected.Ignoredif the buttonwas pressedduringpower-up. FONT n Font name O Courier(initialvalue) 1 Sanserif 7 Oratorwith smallcapitals 8 Oratorwith lower case Se!ectCouriercharacters...
Page 44
Select Oratorcharacters with lower case Mode ASCII Decimal Hexadecimal “8” 40 40 7041 41 56 28 2846 29 29 36 Both “ “ “ “ “F’ ‘S“ “ “ Changesto the Orator with lower case NLQ font. Ignored if the buttonwas pressedduringpower-up.
Page 45
Cancelemphasjzedprjntjng Decimal Hexadecimal Mode ASCII <ESC> “F’ Borh IB 46 27 70 CanWlsemphasizedprinting. Double-strikeprinting Mode ASCII Decimal Hexadecimal Both -@3C> “G” IB 47 27 71 Causessubsequentcharactersto be printedin double-strikemode witha slightverticalpapermotionin between,causinga thickening of horizontalstrokes. For boldprint,use of double-strike is ~commendedin NLQmode, and combined use of emphasized and double-strikeis recom- mendedin draft mode.
Cancelsuperscriptor subscript Hexadecimal Mode ASCII Decimal Both ! CEsc> ‘“r” 27 64 Stops printing superscriptsor subscripts and Eturns to normal printing. SET COMMANDS CHARACTER Selectstandardcharacterset Hexadecimal Mode ASCII Decimal IB 74 30 CEsc> “t” “o” 27116 Both - IB 74 00 27116 0 CEsc>...
Page 48
Select internationalcharacterset Decimal Hexadecimal Mode ASCII “R” n IB 52 std. &SC> Selectsan internationalcharacterset accordingto the valueof n. n Characterset n Characterset O U.S.A 7 Spain I 1 France 8 Japan 2 Germany 9 Norway 10 DenmarkII 3 England 11 Spain II 4 DenmarkI 12 Latin America 5 Sweden...
Select slash zero Mode ASCII Decimal Hexadecimal 27126 49 IB 7E 31 <ESC> “ - “ “l” std. IB 7E 01 <ESC> “ - “ <1> 27126 Causes subsequentzero charactersto be overprintedwith a slash Select normalzero Mode ASCII Decimal Hexadecimal <ESC>...
Page 50
Condensedprinting Hexadecimal Mode Decimal ASCII <Sb Both <ESC> <Sb 27 15 IB OF Changes from pica to condensedpica (17 cpi) or from elite to condensedelite (20 cpi). Ignoredif the buttonwas pressed PITCH duringpower-up. Cancelcondensedprinting Mode ASCII Decimal Hexadecimal Both <DC2> In Standardmode,changesfrom condensedpicato normalpicaor fromcondensedeliteto normalelite.In IBMmode,alwayschanges to normal pica.
Page 51
Expandedprinting for one /ine Mode ASCII Decimal Hexadecimal <so> Both IB OE <ESC> <SO> 27 14 Causessubsequentcharactersin the currentline to be expandedto doublewidth.Charactemreturnto normalwidthafterthe nextline feed (<LF>).The <DC4>,cVT>, d%-, and cESC> “W” Ocom- mands also cancelexpandedprinting. Cancelone-lineexpandedprinting ASCII Decimal Hexadecimal IMode ] Both I <X4>...
Page 52
Selectmasterprint mode Mode ASCII Decimal Hexadecimal std. <ESC> “!” 27 33 IB 21 n Selects a combinedprint mode accordingto the value of n. The valueof n is the sumof thevaluesgivenbelowfor the desiredchar- acteristics. Examples:n = 1 giveselite;n = 9 (1 +8) givesemphasizedelite;n = 137(1 + 8 + 128)givesunderlinedemphasizedelite.
Page 53
n Effect O Normal size 1 Double-high,double-wide 2 Quadruple-high, q uadruple-wide Select charactersize Hexadecimal Decimal Mode ASCII 40 40 E3 41 41 28 28 53 29 29 Both “ “ “ “ “S” “ “ “)” Selectsacombinationofcharacterheightandwidthaccordingto the value of n, as below.Does not movethe base line. Characterheight n Characterwidth Singleheight...
Page 54
Returnto normalheight Mode ASCII Decimal Hexadecimal “O” 27119 48 IB 77 w <ESC> “W” std. <ESC> <O> 27119 16 77 00 “W” Terminatesdouble-height p rintingandpxintssubsequent c haractem at normalheight.Resumessuper/subscript a ndcondensedprinting if thesemodeswere in effect beforedoubleheightwas selected. Select characterheight, width,and line spacing Hexadecimal Mode ASCII...
..,, VERTICAL POSITION COMMANDS Set line spacingto 1/8inch Hexadecimal Decimal Mode ASCII Both <ESC> “0” IB 30 27 48 Setsthe distancethe paper advancesor revemesin subsequentline feedsto 1/8inch. Set line spacingto 7Y72 inch Hexadecimal Mode ASCII Decimal IB 31 27 49 Both <ESC>...
Page 56
Set line spacingto n/72 inch Mode ASCII Decimal Hexadecimal Both <ESC> “A” 27 65 In Standardmode,sets the distancethe paperadvancesor reverses in subsequent l inefeedsto n/72inch,wheren is betweenOand255. .If n =0, the line spacingis set to O. In IBMmodethis commanddoesthe sameexceptthat (1) the new line spacing does not take effect until the next <ESC>...
Page 57
Performone line feed n/216-imh Decimal Hexadecimal Mode ASCII <!3SC> “ J” Both ] IB 4A 27 74 Feedsthepaperonceby n/216inches,wherenis between1and255. Doesnotmovethe printpositionrightor left in the standardmode. Does not changethe line-spacingsetting. Performone n/216-inchreverseline feed Mode ASCII Decimal Hexadecimal std. IB 6A n <ESC>...
Page 58
Setpage length ton lines Decimal Hexadecimal Mode ASCII Both <ESC> “C” 27 67 IB 43 Sets the page lengthto n lines in the currentline spacing,where n isbetween1and 127in Standardmodeorbetween 1and255inIBM mode. Changingthe line spacinglater does not alter the physical page length.The currentline becomesthe top of the page. Set page length ton inches Mode ASCII...
Page 59
Form feed Decimal Hexadecimal Mode ASCII <FF> Both Feedsthe paperto the top of thenextpage accordingto the current pagelength,andmovesthe printpositionto the left margin.When the automaticsheet feeder (ASF) is selected (DIP switch 14 is OFF), this commandejectsthe currentpage. Returnto top of currentpage ASCII Decimal Hexadecimal...
Page 60
Set verticaltab stops Mode ASCII Decimal Hexadecimal Both IB 42 <ESC> “II” ... <0> 2766 d n2 ... nl d ...00 Cancelsallcurrmt verticaltab stopsandsetsnewverticaltab stops at lines nl, n2, etc., whered, w2,etc. are numbersbetween 1 and 255. A maximumof 16verticaltab stopscan be set.The tab stops must be specifiedin ascendingorder any violationof ascending orderterminatesthetabstoplist.
Verticaltab Mode ASCII Decimal Hexadecimal <VT> Both Feeds the paper to the next verticaltab stop and moves the print positiontotheleftmargin.Performsalinefeedifnoverticaltabsaxe set, as at power-up.Feedsto the top of the nextpageif verticaltabs are set but the currentline is at or belowthe last verticaltab stop. HORIZONTAL POSITION COMMANDS Set left margin Mode...
Page 62
Set right margin ASCII Decimal Hexadecimal Mode std. IB 51 n <ESC> “Q” 27 81 Setstherightmarginatcolumnn inthecurrentcharacterpitch(pica pitch if proportionalspacing is currently selected). Column n ‘becomesthelastcharacterposition intheline.The nghtmargindoes not move if the characterpitch is changedlater. The rightmargin must be withinthe limitsMow: 4<...
Page 63
Set automaticline feed Mode ASCII Decimal Hexadecimal CEsc> IB 36 01 “’5” cl> 27 63 Causesthe printer to performboth a carriage~tum and line feed each time it receivesa <CR> code. This commandtakes priority over DIP switch 1-3. Cancelautomaticline feed Mode ASCII Decimal Hexadecimal...
GRAPHICS COMMANDS Print normal-density8-bitgraphics Mode ASCII Decimal Hexadecimal cESC> “K” 27 75 n] d Both ..bit-image graphics at 60 dots per inch horizontally.The Prints graphicimageis 8dotshighandnl + n2x 256dotswide.Maximum widthis 8 inches(480 dots).ml, m2,... are the dot data, each a 1- bytevaluefromOto 255representing8 verticaldots,withthemost significantbit at the top and the least significantbit at the bottom.
Page 67
Print quadruple-density 8-bitgraphics Mode ASCII Decimal Hexadecimal <ESC> “Z” IB 5A nl 27 90 nl Both . . . m2 ..Printsbit-imagegraphicsat 240 dots per inch horizontally(maxi- mum 1920dotswide),skippingevery seconddot in the horizontal direction.See <ESC>“K” for otherinformation. Selectgraphicsmode Mode ASCII...
Page 68
Print 9-pingraphics Mode ASCII Decimal Hexadecimal <ESC> “” “ nO nl 27 94 nO nl IB 5E nO std..n2 ml . . . n2 ml . . . Selectsone of eight graphicsmodesdependingon the valueof M and prints 9-pin bit-image graphics in this mode. The graphics imageis 9 dotshigh and nl + n2 x 256dotswide.Maximumwidth is 8 inches.Dotsbeyondtherightmarginareignored.ml, m2,...
DOWNLOAD CHARACTER COMMANDS Define draft downloadcharacters Hexadecimal Mode ASCII Decimal IB 26 W nl 27 30 cESC> “&” <O> n] n2 mO . std. ml d mO ml m2 ..mll . . . mll Definesone or morenew draftcharactersand storesthemin RAM for lateruse.
Page 70
DefineNLQ downloadcharacters IMode/ ASCII Decimal Hexadecimal cESC> “&” <O> nl 27 36 0 nl IB 26 LII nl std. ml d mo ml d nd ... m46 ... m46 ..Definesoneor morenewNLQcharactemand storesthemin RAM for later use. DIP switch 1-2 must be OFF. NLQ mode must be selectedbeforethis commandis executed.The parametersare the same as for the draftdownloadcharactercommandexceptthat the attributebytespecifiesrightspaceinsteadofcharacterwidthandthe...
Page 71
DefineNLQ downloadcharacters Mode ASCII Decimal Hexadecimal 27 61 n] n2 21 IB 3D nl n2 15 <ESC> “=” dJAU aO al aO al . . . m46 . . . m46 Definesoneor morenewNLQcharactersand storesthemin RAM for later use. DIP switch 1-2 must be OFF. NLQ mode must be selectedbeforethis commandis executed.The parametemare the sameas for thedraftcharactercommandexceptthatthe dotdensity is doubledin each direction,so each characterconsistsof 16 dots...
OTHER PRINTER CONTROL COMMANDS Set MSB to 1 Mode ASCII Decimal Hexadecimal std. IB 3E <ESC> “>” 27 62 Setsthe mostsignificantbit of each subsequentbytereceivedto 1, allowinguserswitha7-bitinterfaceto accesscharacterswithASCII codes greaterthan 127. Set MSB to O Mode ASCII Decimal Hexadecimal std. <ESC> “=” 27 61 mostsignificantbit of each subsequentbytereceivedto O.
Page 75
Bell Decimal Hexadecimal Mode ASCII Both -+lEb Soundsa brief beep tone from the printer’sbeeper. Bidirectionalprinting Decimal IModel ASCII Hexadecimal 27 85 48 IB 55 30 <ESC> “U” “O” Both <ESC> “U” <O> 27 85 16 55 00 Causessubsequentprintingto be done in the normalbidirectional mode, whichis faster than unidirectionalprinting.
chapter 5 DOWNLOAD CHARACTERS Withthisprinteryoucancreatenewcharactersandsymbols,downloadtheir dotdata,andhavethemprintedin placeof selectedcharactersin the regular characterset.Charactersthatcanbegeneratedin thiswayrangefromsimple but useful symbols like the check mark through complex Chinese or Japanesecharacters. Regular characters are permanently stored in the printer’s ROM, but charactersyou design are downloadedand storedin RAM for use. DESIGNING YOUR OWN DRAFT CHARACTERS Designingand printing your own charactershas two requirements:first, designingthe shapeof the character,calculatingthe datanecessaryto make...
The minimumwidthof a characteris five dots. The user-definedcharactersmay use eightdots vertically. Dots cannotoverlap— that is, youmay not have a dot insidea box next to one that is on a line. You may defineany positionin the ASCIItable. PhotocopythegridinFigure5-2tohelpdesignyournewcharacters.Wewill use a tiny-rep=sentationof a car-shapedsymbolfor our example. ml m3 ti m7 m9 mll m2 m4 m6 m8 m10...
Page 79
ml m3 nd m7 m9 mll nl~ “,4 m6 n,8 ~,]() ASCII Code: Descender: 7 Left space: O Last column: ?Z Descender m(l = x ]28 (bft X 16) + Last at the bottom Addthe FigureS3. values of the dote in each column and write the sum of each column Next you must choose whetherto make the car symbolan ascenderor a descender.This determineshow the characteris seatedon the line: Ascender:...
Assigningthe characterdata Now,we calculatetheverticalnumericalvaluesof thecolumnsof dots,and enterthemunderneaththe grid.For example,lookingat Figure5-3, we see thatintheleft-mostcolumntherearefivedots,andtheyaresittinginthe“64” box,“32’’box, “ 16”twx,“8”box,and“4”box.Thusitsverticalvalueis 124. In the next column,there is no dot straddlingthe verticalline; its value is nxorded as O. You will see the lettersml, nd, m3,etc., are aboveyourvalues.Whenyou definethe character,you will substituteyourvaluefor eachof theseletters.
Page 81
450 L, P RINT “CHEMICALS” ;CHR$ (9) ; 460 FOR 1=.4 TO 5.7 STEP .4 470 LPRINT CHR$(60) ; 480 NEXT 1 490 LPRINT 500 LPRINT “GUNS” ;CHR$ (9) ; 510 FOR 1=.4 TO 1.4 STEP .4 520 LPRINT CHR$(62); 530 NEX’1”I 540 LPRINT 550 LPRINT CHR$(9) ;“+––”;...
DEFINING YOUR OWN NLQ CHARACTERS As you probablynoticed,NLQ charactersare printedby two passesof the printhead.Halfofthecharacters printedonthefirstpass,andtheremainder onthesecondpass.Thepaperisrolledup halfa dotheightinbetweenpasses to let the printhead print dotson the secondpass that overlapthe previous dots,b onler to fill in the spacesand producedenserchamctem.Addition- ally,the print head speed is halved,and the dots are printed at doublethe densityof draft characters.For this reason,NLQ charactemcan containup to 23 dots in the horizontaldirection.
Page 83
simultaneoususe of ~gular anddownloadcharactersin the draft character sectionapplyequallyto NLQ characters. (1s1) ml ..m23 (2nd) rr124. ..m46 ASCII Code: Descender: Left space: Right space: mO= Descender x 128 + (Lef{ X 16) + Right lst: 2nd: Figure 5-4. Use this grid (or one similar to it) to define your own NLO characters lst) m] ..., ..m23 (2nd)
chapter 6 MS-DOS AND YOUR PRINTER WhenusingyourprinterwithanIBMPC, PC-XT,orPC-ATor compatible, youwillprobablybe usingPC-DOSor MS-DOSas anoperatingsystem.A numberof softwaretricksmaybe usefulhere.This chapteris not,however, a substitutefor the operatingsystemmanualssuppliedwith yourcomputer. To learn how to print files, etc. it is best to read the relevantparts of these manuals. INSTALLING APPLICATION SOFTWARE WITH YOUR PRINTER Wheninstallingapplicationsoftware,you may find that yourprinteris not...
Numberof columns Pica Elite Condensedpica 17.1 Condensedelite Proportional Variable Sometimes the software installation will ask you for an initialization sequenceto returnto the defaultsettings.The commandfor yourprinteris <ESC>@. MakesurethattheDIPswitchesaresetforthecorrectpnnteremulation,and thatyouhave selectedthe appropriatecharactersetusingthe DIP switches. If you arein doubtaboutthecofilgrationof yourapplicationsoftware,seek expertadvice.Yoursoftwaresupplierwillprobablybe yourmostqualified reference. EMBEDDING PRINTER COMMANDS Many word-processorsand other software lack commandsfor changing font, or printing double-sizecharactem.Your printer thereforehas com-...
Page 87
File as seen on computerscreen: ((F))7 ((S))3 Printer commands (( F))CI (( S))0 Font commands (( F))lcan (( F))7embeddecl ((Fl)8anywhere ((F) )9in a document. Printout: PRINTER COMMANDS When youuse these commandsthere are severalpointsto note: The font ((F)) commandis ignored if the button was held down FONT when power was switchedon.
PROGRAMMING THE PRINTER WITH DOS COMMANDS If your system includesthe file PRINT.COMyou can use the main DOS printingcommand.Simplytypethe wordPRINT followedby the name of the file you want to print. To print a fde named README.DOC,for example,type: A >PRINT README .DOC The computer may respond with the following message, asking which printerto use: Name of 1ist device [PRN] :...
Page 89
I youprintfromtheDOScommandlevelveryoften,itwillbe advantageous to createa printersetupfde. Theninsteadof settingfontetc.manuallyeach time, you can compIete the setup with a single command from your computer.For example,you can createa file containingprintercommands to selectnear letter quality,and selectelite pitch with the Standardmode. You can find the commandsin Chapter4. We suggestthe following: <ESC>...
You can now set up the printerby sendingit the file NLQELITE.DAT. T o avoidumecessary loggingof commands,switchhard-copyoutputoff (by pressingClllL-PRTSC ifhardcopyis on).ToprintthefileREADME.DOC in NLQ elite type, give the followingtwo commands: A?COPY NLC?ELITE. PAT PRN A )PRINT README .DOC For greaterconvenienceyoucanmakeabatchfde thatwillsetup theprinter and print any specifiedfile with a singlecommand.To createsuch a batch file withthenameNLQPRINT.BAT, t ypein the firstfourlinesshownnext.
Thisprogrambeginsby assigninga numberof printercommandsto BASIC stringvariables(lines 1000to 1090).Youcan findmostof thesecommands near the beginningof chapter4. The WIDTH“LPT1:“255 statementin line 1110meansintlniteline width. It preventsthe IBM-PCfrom insertingunwantedcarriagereturnsand line feeds in graphicsdata. Actualprintingbeginsin line 1120.Usingthe preassignedcommands,the programprints samplesof its differentfonts, includinga line showingall stylesin italics,followedby samplesof the printpitches,then somedouble and quadruple-sizedprinting.
Page 95
Fonts are: ;,l!. ..,.:<..,.;. ( ::/ ”’”1; ::,/ ’”!(:{l.:::”! ”:.(::!’” Courier characters, SanSet characters, ORATOR ITALICS fof-all ~’~:~:”;fc:. Print pitches are: Pica pitch, Elite pitch, Condensed picap]tch, Condensed el]tepltch, and proportional spacing, Double-height, Expdncled.. Ihub 1e–s ized, Various 1i ne and charac<er spacings Other features...
TROUBLESHOOTING AND MAINTENANCE The followingsectionon troubleshooting andmaintenanceis intendedonly as a brief guide. Remember that your printer is a highly sophisticated electronicdevice,whichalso containshigh voltageinside.For that reason, only carry out thoseoperationsthat ate describedin this chapter. CAUTION: Anyattemptto carryoutoperationsotherthanthosedescribed heremayresultin electricshockand/ordamageto theprinter. Whencarryingoutanyrepairsor maintenance, a lwaysfollow the instructionscarefidly.
Page 98
If the indicatordoes not illuminate,checkthe following: POWER Check Possible remedy Is the power cable properly Turn off the printer, make certain that the power cable plugged into the eledrical is securely connected, and then tumtheprinterback on. outlet?. Is power being supplied to Turn off the printer and unplug it- TV out another the outlet? appliance of theoutletto determin eifelectricity is being...
Page 99
If the print is faint,or uneven,checkthe following: Check Possible remedy Is the ribbon properly in- Check and reinstall ifnecessaxy. stalled? Is the ribbon worn out? The ribbon has a long tife, but will eventually need re- placing. Fit a new ribbon cartridge if necessary. If dots are missingin the printing,checkthe following: I Check I Possible remedv...
If cut sheet paper (withoutthe ASF) is not feeding smoothly,check the following: Check Possible remedy Is the papa release leva Set the release lever to the * position. pushedback(toti ~ posi- tion)? Is the paper guide in plwe The paper guide should be in place vertically for cut and Veltical? sheets to feed smoothly.
Page 101
Check Possible remedy trying Are you feed paper You can only feed paper in this way when the printer is using the front panel buttons off-line. Set the printer off-line and then feed paper. while the ON indicator LINE is illuminated? I the paper thick? There are limits to the thickness of paper that can be fed...
Page 102
If the paperpark facilitydoesnot appearto be workingcorrectly,checkthe following: Check Possible remedy Is the paper r elease lever in Thepaper release lever must be set to the ~ position the ~ position? after the fanfold paper has been parked. Has the fanfold paper been Make sure that the indicator comes on flashing properly parked?
MAINTENANCE Essentially,your printer is a robust piece of equipment, but shouId be treatedwitha modicumofcarein orderto avoidmalfunctions. F orexample: Keepyourprinterin a “comfortable” environment. R oughlyspeaking,if you arecomfortable, t henthe environment i s suitablefor yourprinter,too (see Chapter1). Do not subjectthe printerto physicalshocksor excessivevibration. Avoidextremelydustyenvironments.
Page 105
6. Disengagethecablefromthetabsholdingitdown,thenremovethepnnt head. 7. Foreasy instaUationofthenewpnnthead, movethecarriagetowardthe left end of the rail. 8. Place the new printhead on its support,seatingit on the two pins. 9. ‘ITuead thenewcablethe samewayas theold, securingitunderthe three tabs on the printhead carnage. 10.Plug the cable into the connector,insertingit as far as it will go. 11.Fasten the printhead down with the two screws.
SPECIFICATIONS Printingsystem ......Serial ImpactDot-matrix Printingspeed ........ 150cps (Draftpica) 37.5cps (NLQpica) Print direction ........Bidirectional,logic-seeking Unidirectional, l ogic-seeking (selectable) Numberofpnnt pins..,...,9 Printhead life.........100 millioncharacters Line spacing........1/6, l/8, n/72, n/216inches Character ......ASCII International 14 sets(*) IBM special...
Page 108
Characterdot matrix ...... 9 x 11 (Draft) 18X 23 (NLQ) Bit imagedot-matrix...... DPI Normal (8 or 9) x 480 (8 or 9) x 960 Double High-speeddouble* (8 or 9) x 960 (8 or 9) x 1920 Quadruple CRT I (8 or 9) x 640 (8or 9) x 720 CRT II Plotter...
Page 110
Thefollowingdescribesthepinoutof theparallel(Centronics-type) i nter- face connector(signalswhich are low when activeare overlined): Name Function Goes fIom high to low (for 20.51.M) w hen active I STROBE I DATAO I Hi~hwhenactive DATA1 High when active DATA2 High when active DATA3 I Hi~hwhen active DATA4 High when active DATA5...
CHARACTER SETS The followingtables showthe standardand IBM charactersets. The decimalcharactercode of each characteris shown in an inset to the lower right of the character. Thehexadecimalcodecanbe foundby readingthe entriesat thetop andleft edgesof the table. For example,the character“A” is in column4 and row 1, so its hexadecimalcharactercodeis 41.
Page 114
STANDARD CHARACTER SET #2 Othercharactersare identicalto standard characterset #1.
Page 115
INTERNATIONAL CHARACTER SETS Whenan international c haractersetis selectedDIPswitches or by a commandfromsoftware,the followingchangesaremadein the character set: See Chapter3 for the DIP switch settings. The commandfor selectingthe internationalcharactersets is: <ESC>“R” n Wheren meanscharactercode n, i.e. CHR$(n)in BASIC.The valuesof n are: 10 Denmark11 5 Sweden O U.S.A.
Page 116
IBM CHARACTER SET #2 &l I’m 4 ‘ — (so) ~ (s1)
Page 118
IBM CH/ ,RAC’ ‘ER SET (Ml) (DC2) (GC4) __lZ -_-b Othercharactersare identicalto characterset #2. The duplicationof controlcodesenablessystemswith a 7-bit interfaceto obtain control functionswhen the most significantbit is set to 1 by the <ESC>“>” commandin the standardmode.