Star Micronics LC-15 User Manual

Specifications and Main Features

  • Type: Monochrome printer
  • Application of IBM/Epson printer commands and character sets is Supported
  • Accepts: single sheets, fanfolds, multi-interface copy forms (thick to a maximum of three)
  • Available feed types: Tractor or friction feed.
  • Compatible with almost all word-processing, graphics, and spreadsheet software
  • Easy to understand indicator lights with audible beeping sounds as feedback
  • Simple Replacement of Ribbon cartridge within seconds
  • Modes of Printing: Draft style and four NLQ styles( Courier, Sans serif, Orator Small cap’s or Low case)
  • Available font styles include italicized, condensed print, bold printer, double-sized printer and quadruple-sized printer
  • Appropriate functions like paper handling and font selection have been given five buttons on the control panel
  • Printer functions are user-customizable via DIP switch settings.
  • Has automatic or manual paper loading
  • Has Paper parking and un-parking features
  • Printing gap is adjustable to suit different thickness papers
  • Self test includes: short test and long test and a print area

Frequently Asked Questions

Q: Which type of paper do you recommend for this printer?

A: The printer readily accommodates single, folds, multi-copy sheets and feeds them using either tractor or friction.

Q: In what manner must I change the ribbon cartridge?

A: A ribbon cartridge is attached to a device that can be secured and changed in a matter of minutes ensuring that the ribbon sits neatly in between the print head and print head shield after which the cartridge can be changed after removing the tops cover.

Q: Which of the print quality settings are of utmost importance?

A: The printer includes a draft and several NLQ, which contains Courier, Sanserif, Orator (with an option for upper case only or lower case only).

Q: Explain the process through which I can add paper to the printer manually?

A: You can load the paper manually by opening the top lid, adjusting the paper guides, placing the sheet between the guides and twisting the platen knob to draw the paper in.

Q: Do it yourself test which the printer can complete is possible right?

A: Yes, to begin the short and long self test you have to as usual switch the printer on while holding a button that is specifically assigned for this task.

Q: So what changes can I make when I have a thicker paper?

A: The printing gap can be arranged by the adjustment lever which is on the right side of the paper bail near its end.

User Manual

MULTI-FONT
8082 0390
USERS MANU AL
LC-15
USERS MANUAL
NOTINTENDEDFORSALE
Trademark Acknowledgements
LC-15, ND-10/15, NR-10/15: Star Micronics Co., Ltd. IBM PC,PC-AT, PC-XT, Proprinter XL, Proprinter II, PC-DOS: International Business Machines Corp. Microsoft BASIC, MS-DOS: Microsoft Corporation
FX-1050, EX-1000, FX86e, FX286e: Seiko Epson Corp
NOTICE
All rights reserved. Reproduction of any part of this manual in any form whatsoever without
STAR’s express permission is forbidden.
The contents of this manual are subject to change without notice.
All efforts have been made to ensure the accuracy of the contents of this manual at the time of
press. However, should any errors be detected, STAR would greatly appreciate being informed of them.
The above notwithstanding, STAR can assume no responsibility for any errors in this manual.
O Copyright1989StarMicronicsCo.,Ltd.
I

HOW TO USE THIS MANUAL

Thismanualis organizedintoninechapters.Tolearnhowtomake thebest useof yourprinteryouareurgedto readthroughchapters1through3.The remainingchaptersmay be treatedas a ~fenmce guidefor programming operations,etc. It assumesa degreeof acknowledgeoff the operationof computm (forinstance,itassumesyouknowabouthexadecimalnumbers). Thechaptersareas follows:
Chapter 1— Settingup theprinter
Thischapterexplainshowtogetthe printerunpackedandsetup. Readthis
chapterbeforeyoudo anythingelse.
Chapter 2 — Controlpaneloperations Therearea numberof controlsonthe frontpanelwhichperformvarious
functionsrelatedto paperhandling,printmodesand fontselection. Aftergettingsetup,readthischapterandtryouttheproceduresinittofind
outhowtheprinterworks.
Chapter 3— DIP switchsettings Thischapterexplainshowto settheDIPswitchesto makesystemsettings
on theprinter.
Chapter 4— Printercontrolcommands Thischapterexplainsthedifferentemulationsprovidedbyyourprinter,and
the softwarecommandsusedto driveit. This sectionis of use if you are writingor modifyingprogramstotake advantageof theprinter’sfeatures.
Chapter S— Downloadcharacters
Thischapterexplainstheproceduresto createyourown characters.
I
Chapter 6— MS-DOSandyourprinter Sincethe PC or PC-AT family of computersrunningunder MS-DOSis
currentlythe mostpopularconflgmationof microcomputer,we have in­cludeda fewhintsandtipstohelpyouuseyourprinterwithsuchsystems. Sincevirtuallyall PCsaresoldwithaMicrosoftBASICinterpreter,wehave also included some hints, and a sample program in this language to
demonstratethecapabilitiesofthe printer.
Chapter 7 — Troubleshootingandmaintenance Thissectiongivesachecklistofpointstocheckifyourprinterisnotworking
in the expectedway.It alsoincludesdetailsof someroutinemaintenance operationsyou cancarryoutyourself.Itisnot,however,acompleteservice manual.Callaqualifiedserviceengineerifyouareunsureofyourabilityto carryout anymaintenanceor servicingoperations.
Chapter 8 — Specifications
Thissectiongivesthespecificationsof yourprinter.
Chapter 9 — Charactersets Thesechartsgivethedifferentcharactersetsavailable,andthedifferences
betweennationalcharactersets (asset up withthe DIP switches).

FEATURES OF THE PRINTER

Thisprinterisaconvenient,monochromeprinterwithoutfrillsbutwithafull complementof features, making it an excellentpartner for a personal computer.It supportstheIBM/Epsonprintercommandsandcharactersets, enablingittoprintjustaboutanythingyourcomputercangenerate,bothtext
andgraphics.Someof itsmainfeatwesarethe following:
Extensivesoftwaresupport
Sinceitis compatiblewiththeEpsonand IBMprinters,it workswithany softwarethatsupportsthoseprintem.Thatincludesmostword-processing andgraphicsprograms, spread-sheets,andintegratedsoftwarepackages.
. Easy operation
Clearlyunderstandableindicatordisplaysandbeeptonesprovideimmedi­ate feedbackwhen you press the buttonson the controlpanel.The five buttonscan operate in combinationsto perform a surprisingvariety of functions,includingmicro-alignment.
. Easycareandmaintenance
The ribboncartridgecan be replacedin secondsthe print head in a few minutes.
. Versatilepaperhandling Singlesheets,fanfoldforms,andmulti-copyforms(upto triple-ply)areall
accepted,andyou canuse eithertractoror frictionfeed.A specialfeature enablesyou to keep fanfoldformsparkedin readinesswhile printingon otherpaper.
Largevarietyoftypestylesand sizes
Theprinterhas onedraftstyleandfourNLQstyles(Courier,Sansenf,and
Oratorwith small capitalsor lower case), plus italics for all styles,plus
condensedprint,boldprint,double-sizedprint,quadruple-sizedprint.

TABLE OF CONTENTS

Chapter 1 SETTING UP THE PRINTER .......................... .....................1
Locatingtheprinter................... ............................... ........................1
UnpackingandInspection..... ................................... ...................... ..2
Checkthecartoncontents...... ............. ............ .........................2
Partsnameoftheprinter... ... .... ... ............. ...................... .... ......3
SettingUp..................... ... .... ............ .................................................4
Mounttheplatenknob.......... ............. ......................................4
Installtheribboncartridge.. ...................... ... ... .... .....................5
Connection............... ............. ...................... ...................... ... ....6
LoadingSingleSheets
Automaticloading............... ............ .........................................8
Manualloading........................... ... ............. ...................... .....10
LoadingandParkingFanfoldForms.. ... .... ... ...................... ............11
Loadingthepaperfromtherearoftheprinter................... ....11
Loadingthepaperfromthebottomoftheprinter..................13
Paperparking........................ ... ............. ...................... ... ........15
Paperunparking.......................... ... ... .... ...................... ...........15
AdjustingthePrintingGap.......................... ... .... ... .........................16
Chapter 2 CONTROL PANEL OPERATIONS ..................................17
ButtonsandIndicators.. ...................... ... ...................... ............. ......17
ONLINEbutton...... ............. ... ... ............. ............. ............. ....18
PAPERFEEDbutton............................. ................................19
SET/EJECTPARKbutton..... .... ..................... .... ............. ......19
PRINTPITCHbutton
NLQTYPESTYLEbutton.. ..................................................20
Power-UpFunctions
Shorttestmode Longtestmode Printareatestmode Stayinpanelpitch
Stayinpanelstyle.... ... ............................... ... .... .....................23
Stayinpanelpitchandstyle................................. ... ............. .23
Hexadecimaldump. ............ .... ............................... ... .............23
SwitchCombinationFunctions................. ...................... ...............26
Formfeed........ .... ... ............ ....................................................26
Topofform
Forwardmicro-feed...............................................................27
Reversemicro-feed... ............. ...................... ..........................27
Clearingthebuffer
.. ............................... ... ...................... ... .........
.. ...................... ... ...................... ...........
...........................................#...........................21
......................................................................2l
.. ............................... ... ...................... ... ..........
.. ...................... ... ............................... ... ...
.................... .... ... ...................... ............ .....
.. .............................. .... ...................... ... ............. ..
.. ............................... ... ............. ............. ...
8
19
22 22 22
27
28
I
Chapter 3 DIP SWITCH SETTING ........... ........... ........... ......... ........29
LocationoftheDIPSwitches.. ............. ... ...................... .................29
FunctionsoftheDIPSwitches............ ... ... ............. ........................30
Chapter 4 PRINTER CONTROL COMMANDS
FontControlCommands
CharacterSetCommands..... ............................... ... ........................39
CharacterSizeandPitchCommands.............................................41
VerticalPositionCommands............. ............. ...................... ..........47
HorizontalPositionCommands
GraphicsCommands..................... ... .... ..................... .....................58
DownloadCharacterCommands MacroInstructionCommands
OtherPrinterControlCommands............. ............. ...................... ..64
Chapter 5 DOWNLOAD CHARACTERS ............................................69
DesigningYourOwnDraftCharacters..........................................69
Definingtheattributedata.....................................................7O
Assigningthecharacterdata.. ... ............................... ... ...........72
Sampleprogram... ............. ............ ...................... ...................72
DefiningYourOwnNLQCharacters.... ... ...................... .... ... ........74
Chapter 6 MS-DOS AND YOUR PRINTER ........................................77
InstallingApplicationSoftwarewithYourPrinter........................77
EmbeddingPrinterCommands............... ............ ............. ..............78
ProgrammingthePrinterwithDOSCommands
ProgrammingwithBASIC........ ............ ...................... ...................82
Howtheprogramworks
ModificationsforIBMmode................... ... ............. ..............88
.. ............................... ... ...................... ... ...34
. ............. ...................... .................
.. ............ ...................... ...............
.. ............................... ... ....................
.. ........................................ ... ............
.. ............. .................
.. ...................... ... .
33
53 60
64
80 86
Chapter 7 TROUBLESHOOTING AND MAINTENANCE ............89
Troubleshooting
Powersupply.................. ............. ...................... .....................
Ranting.................... .... ............ ...................... .........................90
Paperfeeding.........................................................................92
Maintenance... ............. ...................................................................95
ReplacingthePrintHead
. ............. ............................... ... ...................... ... ....
.. ............................... ... ...................... ... ...
89
90
95
Chapter 8 SPECIFICATIONS
.. .............................. .... ............ ............. .....
99
Chapter 9 CHARACTER SETS . ............. ... ...................... ... ...................103
StandardCharacterSet IBMCharacterSet#2 IBMCharacterSet#1 IBMSpecialCharacterSet
.. ............ ............................... ... ............. ....
.. ............ ...................... ...................... ... ......
.................... ...................... ............. ... ... ......
.................... .... ... ............................... .
104 106 108 109
InternationalCharacterSets.. ... ...................... ............ ..................1lt)
INDEX
..... ............. ........... ....................................... ........... ......... ..........
COMMAND SUMMARY
111
.. ............ ............................... ... ...................... ..114
chapter 1
SETTING UP THE PRINTER
Subjects covered in Chapter 1 include —
Locatingtheprinter
Unpackingandinspection(namesof parts)
. Settingupandconnection
Loadingsinglesheets
Loading andparkingfanfoldforms
Adjustingtheprintinggap

LOCATINGTHE PRINTER

Beforeyoustartunpackingandsettingup yourprinter,makesurethatyou haveasuitableplaceonwhichtolocateit. By“a suitableplace”, we mean:
.
A firm,levelsurfacewhichis fairlyvibration-free
.
Awayfromexcessiveheat(suchas directsunlight,heaters,etc)
.
Awayfromexcessivehumidity
9
Awayfromexcessivedust
.
Supplyit“clean”electricity.Don’tconnectit tothesamecircuitasalarge, noise-producingappliancesuchas a refrigerator.
Makesurethelinevoltageis within10%ofthevoltagespecifiedon the identificationplate.
.
A locationwithsufficientspacetolocatetheprinterandanypaperto be fedintoit, as wellasthe printedpapercomingout.
If youareusingaparallelconnectionto yourcomputer,makesurethat iswithin2m(6ft)oftheprinter(anRS-232comectionusingtheoptional RS-232interfacecanbe madeoverlongerdistances).
it
1

UNPACKINGAND INSPECTION

Checkthecartoncontents

Nowunpackthe contentsoftheprintershippingcarton,andcheckeachitem in thebox againstFigure1-1to makesurethatyouhave everything(there shouldbe five items). If anyof theseitemsare missing,contactyoursupplier.
Figuru I-I. Check tomake sure you have all five items: 1) Printer, 2) Peperguide, 3) Platen knob, 4) Ribbon cartridge, and 5) Uaer’s manual.
2
The optionalaccessorieswhichyoumayhaveorderedwithyourprinter are:
Serial(RS-232)interfaceboard
Automaticsheetfeeder
Pulltractorunit

Partsnameof theprinter

Makeanexternalinspectionoftheprinter.Notethelocationsofthefollow­ingparts:
1
Entry slot
!
Figure1-2 The printer’s external parts
Bail lever:
opensandclosesthepaperbailwhichholdsthepaper againstthe platen.
Releaselever: releases the platen. This lever must be down for
printingon singlesheets,andup for fanfoldforms. Top cover: Rear cover: Entry slot:
protectstheprintheadandotherparts.
protectsthe sprocketfeedmechanism.
for insertingsinglesheetsof paper.
Control panel: controlsvariousprinterfunctions.
Power switch: switchespoweron andoff.
Connector:
forconnectingthecomputerto the printer.
1
ase lever
J
SEITING UP
Placethepnnterin thepositionwhereitisgoingtobepermanentlysited,and
removeallpackingmaterialfrominsidethetopcover.Thispackingmaterial
isintendedtopreventdarnagetotheprinterintransit.Youmayliketokeep this packingwiththe printercartonifyouintendtransportingtheprinterfor use at a differentlocation.

Mounttheplatenknob

Theplatenknobis packedintoa recessofthewhitefoampackingmaterial
whichheldyourprinterinsidetheprintercarton.Becarefulto removethe knobbeforedisposingofthe packing.
Mounttheplatenknobontheshaftontheright-handsideoftheprinter.Turn
theknobontheshaftbeforepushingtheknobfullyintoposition.
Figure 1-3.Mounting the platen knob

Installtheribboncartridge

Removethetop coverbyliftingthefront(usingthetwo gripsattheside),
andpullingtowardsyou.Nowinstalltheribbon.
4
I
F@IIU 1-4. Remoting the top cover
1. Usethetensioningknobontheribboncartridgeto tightenthe ribbon if it is slack(turnclockwise).
2. Use the grips on the side of the ribbon cartridgeto help locate the cartridge(squeezetheminwardsgently),andmakesurethatthespindles on thecartridgeholderfit intothe socketson thecartridgeitself.
igura 7-5.Installing the ribbon cartridge
5
3. Theribbonshouldpassbetweenthe printheadandthe pnnthead shield (seeFigure 1-6).
Ffgure 1-6. Pass the ribbon between the print head and print head shield
Now,holdthetopcoveruprightandengagethetabsattheback.Thenswing thefrontedgedownuntilthe coverisclosed.
Leavethetopcoverclosedduringnormaloperation.Itkeepsoutdustanddirt andreducestheprinter’soperatingsounds.Openthecoveronlytochange theribbonor makean adjustment.

Connection

Connecttheprinter to yourcomputer,usinga standardparallel-typecable. On aPCorPC/AT-typecomputer,thismeansthatyouusethe 25-wayD­type connector at the computer end, and the Amphenol-type36-way connectoratthepnnterend.Thepinoutsoftheprinter’sconnectoraregiven in Chapter8 if youneeda cableforconnectionto anothercomputer.
Plugthe printerintoa suitablemainsoutlet.However,DONOTturnonthe powerswitchatthe frontoftheprinteryet.
6
Interface
Connector
Figut-o1-7.Connecting the interface cable
cable
Ifyouwanttousetheoptionalserialinterface,slideouttheparallelinterface boardby grippingthe flips on both sides.Then insertthe optionalserial interfaceboardalltheway,as showninFigure 1-8.
Figura 1-8. Replacing the interface board

LOADING SINGLE SHEETS

sectionwilltakeyouthroughtheproceduresfor loadingsinglesheets
This
of paper. If youareusingthe optionalautomaticsheetfeeder(ASF),read the ASF
instructionbooklet.

Automaticloading

Singlesheetscanbeloadedmanuallywithpoweroff,orautomaticallywith poweron. Wewillstarttheeasy waywithautomaticloading.
1. Placethepaperguideinposition,locatingthelugs on thebottomofthe assemblyintotheslotsonthe rearcoverofthe printer.
Figurs 1-9. Mounting the paper guide for single sheets
2. Makesurethatthereleaseleveris down. If the fanfoldpaperis mountedon the printer,pressthe( “ERKCTj buttonto parkthepaper,thenmovethereleaseleverdownwards.
8
Adjustthe paperguidestomatchthe sizeofpaperyouwillbeusing(re-
3. memberingthatprintingwillstartsomedistancefromtheleft-handedge ofthecarriage).
4.
Placea single sheetbetweenthe guides,placingthe sideon whichyou wanttoprinttowardsthebackoftheprinter.Gentlypushthepaperdown in theguidesuntilyoufeelit stop.
lever
Figure 1-10. Loading a single sheet
Turnonthepowerusingtheswitchatthefrontoftheprinter.Theprinter
5. willbeep,indicatingthatnopaperisinpositionforprinting.Theorange
POWER indicatoralsoflashesto showthis.
Nowpressthe(
6,
SEHWCT )button. Thepaperbailwillmoveclearof
thepaper,andthepaperwillbefed andadjustedpasttheprintheadto a positionready forprinting.Thepaperbailwillbemovedbacktogripthe paperagainsttheplaten,andtheprintheadwillmovetothestartposition.
9

Manualloading

Itisalsopossibletoloadpapermanuallywhiletheprinter’spowerisoff.The procedureis:
1.
Placethepaperguideinposition,locatingthelugson thebottomof the
assemblyintothe slotson therearcoverof theprinter. Checkthatprinterpoweris off and thereleaselever at thebackof the
2,
printeris down.
Openthe topcover,thenmovethebailleverontopofthepnnterforward
3,
to openthe paperbail. Adjustthepaperguidestomatchthesizeof paperyouwillbeusing(re-
4. memberingthatprintingwillstartsomedistancefromtheleft-handedge of the carriage). Placea singlesheetbetweentheguides,placingthe sideon whichyou
5. wanttoprinttowardsthebackoftheprinter.Gentlypushthepaperdown in theguidesuntilyoufeel it stop. Turn-theplatenknob clockwiseuntilthefrontedgeof thepapercomes
6. outfromunderthetop cover. If the paper is not straight,move the releaselever to the up position,
7. straightenthepaperby hand,thenmovethereleaseleverbackdown. Move the bailleverbackto closethepaper bail.
8.
10

LOADING AND PARKING FANFOLD FORMS

Fanfold forms have holes alongthe sides and perforationsbetween the sheets.Theyare also calledsprocketforms,punchedforms,or just plain “computerpaper”.Thisprinteracceptsformsupto 16”wide.Fanfoldforms areloaded,parked,andunparkedasexplainednext.

Loadingthepaperfromtherear of theprinter

Youcanloadthefanfoldpapereitherfromtherearorfromthebottomofthe printer.If you are goingto load the paper from the bottomread the next section.
1. Place astackoffanfoldpaperbehindandatleastonepage-lengthbelow theprinter.
2. Turn theprinter’spowerOFF.
3. Pmshthe releaselever to the upward position.This has the effect of ~leasingthe paperfromtheplatenroller,andengagingthetractorfeed.
4. Removethepaperguideandputit asideforthe moment.
5. Removethe~arcover. Gripitbyitsrearedge andliftupwardsandback­wardsas in Figure1-11.
Figure T-IT. Opening the rear cover
11
With the sprocketcoversopen,threadthe paper over the sprockets,
6. aligningholeswiththepinson thesprockets.
Adjustthespacingofthesprocketsbyslidingthemalongthebar,using
7.
the clamplever at the back of each sprocketto release and lock the sprocketinpositin(whentheleverisdown,thesprocketmaybemoved, andwhenit isup,the sprocketis locked).
Smocket cover
F/gun?1-12. Thread the fenfold paper over the sprockets.
Nowclosethe sprocketcovers,againmakingsurethatthepapersprocket
8.
Clamp lever
holesarealignedwiththepinsonthesprockets.Iftheyarenot aligned properly,youwillhaveproblemswithpaperfeeding,possiblyresulting in tearingandjammingof the paper. Turnontheprinterusingtheswitchatthefrontoftheprinter.Theprinter
9. willbeep(indicatingthatthepaperisnotyetfilly loaded).Thisis also confirmedby theorange
10.Nowpressthe(
‘EER-ECT) button.Thepaperbailwillmoveclearof
POWER indicatorflashing.
thepaper,andthepaperwillbefedandadjustedpasttheprintheadto a positionready forprinting.Thepaperbailwillbemovedbacktogripthe paperagainsttheplaten,andtheprintheadwillmovetothestartposition.
11.Remounttherearcover.Holdittilted upwardandinsertthefourtabsat the front into their slots.Then rotate the cover downwards,pressing downonthethumbpadson theleft andrighttosnapit intoplace.
12
12.Mountthepaperguideinthehorizontalpositionshownin Figure1-13, sothatit will separatetheprintedfromtheunprintedpaper.
Figurs 1-13. Mounting the paper guide for fanfold forms

Loadingthepaperfromthebottomof theprinter

Youcanloadthefanfoldpaperfromthebottomof theprinterby usingthe optionalpulltractorunit.
1.
Removethe top cover,thenmovethe bail lever on top of the printer forwardtoopenthepaperbail. Mounttheoptionalpulltractorunitonto theprinter.Gripthe locklevers
2. onbothsideandpushtheunitdownwardsontotheplatenrollershaftto fitthetractorgrips,as shownin Figure 1-14. Placea stackof fanfoldpaperbelowtheprinter.
3. Withthesprocketcoversopen,threadthepaperoverthesprocketsfrom
4. thebottomof theprinter,aligningholeswiththepinson thesprockets. Adjustthespacingofthesprocketsbyslidingthemalongthebar,using
5. the clamplever at the back of each sprocketto release and lock the sprocketinpositin(whentheleverisup,thesprocketmaybemoved,and whenit is down,thesprocketislocked).
13
Platen
~utw1-14.Mountingthe optionalpulltractor unit
it
cover lever
Figure 7-15. Thread the fanfold paper over the sprockets from the bottom of tie printer.
6. Nowclosethesprocketcovers,againmakingsurethatthepapersprocket holesarealignedwiththepinson thesprockets.If theyart-not~igned
properly,youwillhaveproblemswithpaperfeeding,possiblyresulting
in tearingandjammingof thepaper.
7. Mountthenewtopcover.
14

Paperparking

Afterloadingfanfoldpaperfromtherearof theprinter,youdonothaveto unloadit whenyouwanttoprinton a singlesheet.Theprinterwill“park” it for youif youfollowtheprocedurebelow.
1. Paperparkingstartswith powerON, fanfoldpaperloadedin printing position,thereleaseleverup.
2. Pressthe( line(ON
3. Tearofftheprintedformatthelastperforation,leavingnotmorethan
abouthalf a page showingabovethetop cover.If necessary,pressthe (PAPERFEED)buttontofeedpaperfonvarduntilaperforationislocated just abovethetop cover,andtearthere.
4. Pressthe( ‘W&4RcT) Theprinterwillautomaticallyfeedthefanfoldformbackwarduntilthe paperis completelyfree of theplaten.
5. “Movethe releaseleverto thedownposition.
6. Mountthepaperguidein theuprightposition.
Now you can load singlesheetseitherautomaticallyor manually,as ex-
plainedpreviously.The fanfoldpaperremainsparked at the back of the printer.
ONLINE
LINE indicatorof~.
) buttononthecontrolpaneltosettheprinteroff-
buttonon the controlpanel.

Paperunparking

Whenyouwantto resumeusingfanfoldpaper,theprocedureisasfollows.
1. Removeall singlesheets fromthe printer.
2. Mountthe paperguideinthehorizontalposition.
3. Movethe releaselevertotheup position.
4. Pressthe ( ‘EFEAECT) button.Theprinterwillautomaticallyfeedthe parkedfanfoldpaperintopositionforprinting.
15

ADJUSTING THE PRINTING GAP

The distancebetweenthe print head and the platen can be adjusted to
accommodatedifferentpaperthicknesses.Tomakethisadjustment,remove thetopcover.Theadjustmentleverislocatedneartherightendofthepaper
bail. Pulling the adjustmentlever upwards narrows the gap; pushing it
downwardswidensthegap.
Therearefivepositions;youcan feeltheleverclickingintoeachposition. Thesecondpositionfromthetopistheonemostcommonlyusedfor single
sheetsofpaper.Trydifferentpositionsuntilyougetthebestprintingresults.
I
Flgura 1-16. Adjusting for different thicknesses of paper
16
chapter2
CONTROL PANEL OPERATIONS
Thecontrolpanelbuttonscanbepressedsinglyto performtheoperations indicatedbytheirnames. Otherfunctionscanbeobtainedby holdingthese buttonsdownwhenyouturntheprinter’spoweron.Stillfurtherfunctions canbeexecutedbypressingthe controlpanelbuttonsin combination.
Thischapterexplainsallthebuttonandindicatorfunctions.
Pauseprinting
Feedpaper(fast andslow,forwardandreverse)
Park fanfoldforms
Setthe top-of-formposition
Selectthe printpitch
Selectafontstyle
Printtestpatterns
Preventsoftwarefromchangingthepanelpitchandfontselections
Printa hexadecimaldump
Cleartheprinter’sbuffer

BUTTONS AND INDICATORS

printerisequippedwithfivebuttonsonthecontrolpanel:fromrightto
The
lefttheyare,( ONLINEl(PAPERFEED]and(s’TFd~cT>(largerbuttons),
~d (“) and (=E) (smallerbuttons).
The followingis a briefguideto the buttonsandindicatorsonthe control panel.
Figure 2-1. Control panel
17

ONLINE button

(
ON LINE
buttonsets the printeron-lineand off-line.The state
)
The changeseachtimeyoupressthebutton.
Intheon-linestatetheprinterreceivesdatafromthecomputerandprintsthe data.Intheoff-linestatetheprinterstopsprintingand sendsthecomputer a signal indicatingthatit cannotacceptdata.
Theprinterpowersup in theon-linestateifpaperis present.If paperisnot present,theprinterpowersup off-linewiththe
Whenyouloadpaperthe
POWER indicatorstopsflashing,but the printer
remainsoff-line.To startprintingyoumustpressthe(
POWER indicatorflashing.
ON LINE
)
button
goon-line. Thethreemaintimeswhenyouwillwanttopressthe(
ON LINE
)button
are:
Beforeand afteranyotherpaneloperation
Theotherpanelbuttonsoperateonlyin theoff-linestate.Firstpressthe
ON LINE ) buttonto go off-line,thenperformthe paneloperation,then
(
pressthe (
Topauseduring printing
Ifyoupressthe
ON LINE ) buttonagaintogo backon-line.
LINE
ON
(
buttonduringprinting,theprinterstops
)
printingand goesoff-line,allowingyouto checkthe printoutor changea
LINE
control panel setting.Printingresumeswhenyoupress theC
ON
buttonagainto go backon-line.
)
Tocutfanfoldformsat theendof printing
LINE )button downfor
Whenusingfanfoldforms,ifyouholdtheC
ON onesecond,in additiontogooff-linetheprinterfeedsthepaperabouttwo inchesforward,allowingyouto cutitoffjust belowthelastlineprinted. Whenyoupressthe(
LINE )button againtogobackon-line,thepaper
ON feeds backward about one inch, stopping in the right place to resume printing.

PAPERFEEDbutton

If youpressthisbuttoninoff-line,thepaperfeedsforward.If youholdthis buttondown,the printerperformsconsecutiveline feeds.
Whileyouarefeedinglines,ifyoualsopressthe (
ON
>
button,the
LINE
paperwillfeed to thetop of thenextpage.This is explainedlater.

SET/EJECTPARKbutton

Pressingthisbuttoncausestheprintertoexecutepaperloadingifthepaper hasnot loadedwhileinthe off-linestate.
If the paper has been loaded, this button causes the printer in different functionsdependingon thereleaseleverposition.
If the releaseleveris setto theupwardpositionfor thefanfoldforms,this
buttonoperatestoparkthe fanfoldformsto thebackwardposition. If the releaselever is set to the downwardpositionfor the singlesheets,
pressingthisbuttonejectsthe paper. Thisbuttonhasno effectif the optionalpulltractorunitis mounted.

PRINTPITCHbutton

Thisbuttonselectstheprintpitchthatwillbe printed.Rememberthatthe printermustbeoff-lineforyoutodothis.Successivepressesofthisbutton
willilluminate(andselect)the followingoptionsin thisorder:
Pitch
Pica
Elite
Condensedpica Condensedelite Picaproportional Eliteproportional
Indicator(s)
PICA ELITE PICA, COND ELITE, COND PICA, PROP ELITE, PROP
Holdingdownthisbuttonwillcyclecontinuouslybetweenthese options.
19

NLQ TYPESTYLEbutton

Thisbuttonselectsthefontstyletobeprinted.Draftstyleisalwaysselected
at power-up.TochangetooneoftheNLQ(nearletterquality)styles,setthe
printeroff-line,thenpressthe(SfF7E)buttonrepeatedlyuntiltheindicators besidethe desiredselectionilluminate.Theselectionscycleinthefollow-
ingorder:
Fontstyle
Draft Courier Courieritatic
Indicator(s)
(allindicatorsoff)
COURIER COURIER, ITALIC
Sanserif SANSERIF Sanserifitalic Orator Oratoritalic
SANSERIF, ITALIC ORATOR ORATOR, ITALIC
Holdingdownthisbuttonwillcyclecontinuouslybetweentheseoptions. TheOratorstyleis uniquein twoways.First,it is a lotlarger(higher)than
the other styles. This makes it a good choice for labels and other text requiringhigh visibility.A little extraline spacinghelps when Oratoris used.Second,therearetwoversionsoftheOratorfontstyle:oneprintssmall capitalsinplaceoflower-caseletters;theotherprintslower-caseletters,but withoutdescenders.The other font styles do not have a small-capitals
option.Lowercasealwaysprintsas lowercase. Yougetthe smallcapitalswhenyou selectOratorfmm the controlpanel. ThefontstylecanalsobeselectedbyprintercommandsgiveninChapter4.
Printercommandsenableyouto selectboth Oratorstyles,and also draft italic,whichcannotbe selectedfromthecontrolpanel.
20

POWER-UP FUNCTIONS

,hlte,
In additionto their normalfunctions,all the controlpanel buttonshave specialfunctionsthatoperateifyouholdthemdownwhileswitchingpower on.
MICROFEED
-
A &
,byinJu[p?+f,
Printarea test
Stay in P&l pitch
rgure2-2. Power-up functions of control panel
OPOwER
FF —A

Shorttestmode

ON
If theprinteris turnedonwhilethe printerwillentertheshortself-testmode.The printerwillstartprintingas
LINE
soonas the numberof the printer’sROM,followedby sixlinesofthecharacterset.
Eachline willbe offsetby onecharacterfromtheonebeforeit. The final resultwillbe somethinglikethefollowing.
ON
(
button is released,and willprintthe version
)
LINE
(
button is pressed,the
)
Figure 2-3. Short self-test
Sincethetestprintoccupiesthe wholewidthof the carriage,it is recom­mended that the printer is loaded with continuousstationeryto avoid possibledamageto theprinthead and/orplaten.
21

Long test mode

If the printeris turnedon whilethe (PAPER FEED) buttonis pressed,the printerwillenterthelong self-testmode.Theprinterwillstartprintingas soon as the numberof theprinter’sROM,followedby thewholecharactersetprinted in eachfont stylesandpitchavailable.
Thetest cyclesendlessly.To stopthe testyoumustswitchpoweroff.
Sincethetestprintoccupiesthe wholewidthof the carriage,it is recom­mended that the printer is loaded with continuousstationeryto avoid
possibledamagetotheprintheadand/orplaten.Inaddition,the totalnumber
oflinesprintedisconsiderable,morethancanbeaccommodatedon a single sheet,sofanfoldpaperis certainlysuggestedforthistest.
CPAPER FEED) buttonis released,and will printthe version

Printarea testmode

Ifyouwanttoknowhowmanylinesonyourpapercanbeprinted,tryto run thispnntarea test.Byholdingthe~ ‘%FWCT]buttondowndunng power­up,theprinterwillentertheprintareatestmode.Theprinterwillprintthe firstlinemessage,thenprintsthelastlinemessageonyour singlesheetafter feedingthepapertothebottomof the paper.
If youhaveloadedthefanfoldpaper,the printershowsonlythe firstline.

Stayinpanelpitch

By holdingthe @iTCR)button down during power-up,you can prevent softwareinterferencewiththeprintpitchselectedfromthe controlpanel. Youwillhearan acknowledgingbeep aspowercomeson.
Afterthebeeptone,youcansettheprinteroff-line,selectaprintpitch,then returnto on-lineand startprinting.Thepitchyouselectedwillnotbereset
or otherwisechangedby anycommandsyoursoftwaremayissue.
22

Stayinpanel style

If helddownduringpower-up,the (ST@ buttonpreventssoftwareinter-
ferencewiththefontstyleselectedfromthecontrolpanel.Therewillbean
acknowledgingbeep,after whichyou can set the printeroff-line,selecta fontstyle,thenreturntotheon-linestateandstartprinting.Theselectedfont stylewillnotbechangedby anycommandssentby software.

Stayinpanelpitchandstyle

If you wantto protectboththepitchandfont stylesettingsfrom software changes,pressthe@iTiX!landGF7iT3buttonsduringpower-up.Therewill
be a littlelong acknowledgingbeep.
Pressingthesebuttonsduringpower-updoesnotpreventyoufrommaking anynumberofchangeslaterfromthecontrolpanel.

Hexadecimaldump

This feature is useftd for programmed who are debuggingprintingpro-
grams and want to see the actualcodesthe printer is receiving.(Some
computemchange thecodestheprogrammerintended.)
Inthismode,allreceiveddatawillbeprintedinahexadecimaldumpformat,
ratherthanthecontrolcodesbeingactedonascommandcodes. Thismodeis accessedwiththe followingprocedure:
1. Holdingboththe powerON.A beeptonewillbe heard.
2. Start printing.In placeof the usualprintoutyou will get a formatted dumpshowingexactlywhat datathe printerreceives.Eachlinepresents sixteencharactem,their hexadecimalcodes to the left and printable character printedon the right.
3. At the end of the hexadecimaldump,set theprinteroff-linewiththe
ON LINE )button. Thisis necessaryto printthelastline.
(
(PAPER FEED) and( ‘EJ!MCT>buttonsdown,turn
23
ThefollowingBASICprogramis a simpletestyoucanruninhexadecimal mode:
10 FOR 1=0 TO 255 20 LPRINT CHR$(11 J 30 NEXT I 40 LPRINT 50 END
If your systempassesthe codes directlyto the printer withoutchanging them,youwillgeta printoutlikeFigure2-4.
0[:) (:)1 02 0s 1;)4 (:)5 (0.5 (07 0!3 (:)y ,;B/l C)e (:)C (:,D OE- rjF
1(:) 11 12
20 21 22 23 24 25 26 27 28 29 2A 2R 2C 2D 2E 3= :0 :1 32 .3:
40 41 42 43 44 45 46 47
50 51 32 53 54 55 56 57
61;)61 62 63 64 43 66 67
’70 71 ’72 77 74 75 76 77
80 81 82 83 84 S5 86 87 S8 89 BA 8EI SC f3D 8E EIF . . . . . . . . . . . . . . . .
90 91 92 93 94 q5 96 97 60 (41 FKZ AZ A4 Q5 66 A7 RO ccl DO D1 D2 D3 D4 D5 D6 D7
EC) El E2 EZ, E4 E5 E6 E7 FO F1 F2 F3 F4 F5 F6 F7 (jD ~,A
1T 14 15 16 17
34 35 36 37 38 X9 :393133C 3D SE 3F
El 132W3 134 B5 B6 B7 cl C2 C3 C4 c?. C6 C7
18 19
ICIIH iC ID IE IF ................
4B 4? 4(44EI4C 4D 4E 4F
5$3 59 5A 5Ei 5C 5D 5E 5F
69 6A 6EI 6C 6D 6E 6F ‘a bc defg h i j k:1mno
68
76 79 7FI 7B 7C 7D 7E 7F
96 99 99 9EI 9C 9D 9E 9F . . . . . . . . . . . . . . . .
,48 A9 Ah 9B AC fiD 14E AF . . . . . . . . . . . . . . . .
R8 139 BA BB EC ED HE EIF . . . . . . . . . . . . . . . .
C8 C9 CA C!3 CC CD CE CF . . . . . . . . . . . . . . . .
DS D9 DA Di3 DC DD DE DF . . . . . . . . . . . . . . . .
E8 E9 EA EB EC ED EE EF . . . . . . . . . . . . . . . .
FE F9 F/? FB FC FD FE FF . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
!“#$w.’ ()II+,-./ 0123456789: ;<= :>? WMICDEFGH
F,CW?STUVWXYZ[ \
pq r stuvwx y z [ : }-.
. .
IJK:LMNO
1“-
Figure2-4. Sample hexadecimal dump
MostBASICs,however,arenotquitethatstraightforward.Forexample,the IBM-PCprintsthefollowing.
00 01 02 03 04 05 06 07 OF 10 11 12 13 14 15 16 20 21 22 23 24 2S 26 27 30 31 32 33 34 35 36 37 40 41 42 43 44 4S 46 47 50 51 52 53 S4 55 56 57 60 61 62 63 .S4 65 66 67 6E! 67 6A 6B 6C 6D 6E 6F
70 71 72 73 74 75 76 77 BO 81 82 B3 84 S5 B6 87 90 91 92 93 94 95 96 97
ho Al (42 A3 C14 A5 (A6 /)7
BO
RI B2 BX B4 B5 E16 R7 BE !39 BA BB EC ED BE BF . . . . . . . . . . . . . . . .
CO Cl C2 C3 C4 C5 C6 C7 DO D1 D2 D3 D4 D3 D6 D7
EO El E2 E3 E4 E5 E6 E7 E8 E9 E(4 EH EC ED EE EF . . . . . . . . . . . . . . . .
F(3FI F2F3F4F’5F6F7 (:ID (]A
OH 09 09 OB oc OD 06 OE . . . . . . . . . . . . . . . .
17 1!3 19 IB IC ID iE IF . . . . . . . . . . . . . . . .
28 29 2A 2EI 2C 2D 2E 2F 3S 39 3A 3B 3C 3D 3E 3F 48 49 4& 4EI 4C 4D 4E 4F @QBCDEF6HIJKLMN0 58 59 59 5EI 5C 5D SE SF PQRSTLIVWXYZt\l*–
7S 79 7A 7B 7C 7D 7E 7F pqrstuvwxyzc:>-”.
SS S9 8A SE SC SD BE BF . . . . . . . . . . . . . . . .
90 99 96 9B 9C 9D 9E 9F . . . . . . . . . . . . . . . .
AS !49 (4(4 (IB AC f?D AE fiF . . . . . . . . . . . . . . . .
CB C9 CA CB CC CD CE CF
DE! D9 DA DB DC DD DE DF . . . . . . . . . . . . . . . .
FE F9 FA FE FC FD FE FF . . . . . . . . . . . . . . . .
I“#*z&’ ()*+,-./
01234567B9: ;<=>?
‘abcdefghijklmno
. . . . . . . . . . . . . . . .
. .
Figure 2-5. Sample hexadecimal dumpwithlBM-PC
24
I
WhentheIBM-PCBASICinterpretersendshexcodeOD(carnagereturn) it adds an extra hex OA(line feed). Hex code 1A (end-of-fde)also gets specialtreatment:the interpreterdoes not send it at all. This can cause problemsthatgenerategraphicsordownloadcharacterdata,but thereis a solution.Try changingline 20 in the precedingprogramand addingthe codingshownbelow.
Codingfor IBM-PCwithmonochromedisplay:
20 GOSUB 100
100 O=INP (&H379 ) : IF 0<128 THEN 100
110 OUT &H378, I :OUT &H37A, 5
120 RETURN
Codingfor IBM-PCwithcoloradapter:
20 GOSUB 100
-100 O=INP (&H3BD) 110 OUT &H3BC, I :OUT &H3BE, 5 120 RETURN
: IF 0<128 THEN 100
:OUT&H37A, 4
:OUT&H3BE,4
25

SWITCH COMBINATION FUNCTIONS

Severaladditionalfunctionscanbeobtainedby pressingthecontrolpanel
buttonsin combinations.
MICRO FEED
v
A h
OPOWER
FF —A
--—-
Clearing tie buffer
Figure 2-6. Switch combination functions of mntrol panel

Formfeed

If youare usingsinglesheets,thisoperationejectsthecurrentpage.Ifyou areusingfanfoldforms,it feedsto the topofthenextpage.
1. Pressthe( ON
2. Pressthe performingsuccessivelinefeeds.
3. Still holdingthe button,then releaseboth buttons.The printerwillsmoothlyeject the
currentpage.
LINE
)
buttonto settheprinteroff-line.
(PAPER FEED) buttonandholditdown.Theprinterwillstart
(PAPER FEED> button down, press the(
ON
LINE
)
26

Topofform

Whenyouturnon printerpower,thetop-of-formpositionis automatically setto thecurrentposition.Ifthisisnotwhereyouwantthetopofthepage to be, youcan changethetop-of-formpositionas follows.
LINE
1. Pressthe(
ON
buttonto setthe printeroff-line.
)
2.. Move the paper to the desired top-of-formpositionby pressingthe
(PAPER FEED) button,orbyperformingaforwardorreversemicro-feed.
LINE ] button.
3. Press andholdthe (
ON
4. Press andholdthe (PiT5R)button.
5. Releasebothbuttonsatthesametime.Theprinterwillbeepto indicate thatthetop-of-formpositionhasbeenset.

Forwardmicro-feed

Forfinealignment,youcanfeedthepaperforwardinverysmallincrements as follows:
1. Pressthe( ON
2. Pressthe C ON
3. Pressthe
LINE
)
buttonto settheprinteroff-line.
LINE
)
button againandholditdown.
(PAPER FEED) button.Thepaperwillstartadvancinginasenes
of smallsteps.Whenyouwantto stop,releasebothbuttons.

Reversemicro-feed

Youcan also feedthepaperin smallincrementsin reverse,to returnto a
higher positiononthe samepage.
Note:Withfanfoldforms,donottryto returnto a previouspage.The per-
forationmaycatchinsidetheprinter.
1. Pressthe( ON
2. Press the(
3. Pressthe( ‘EMIH7CT)butto,n.Thepaperwillstartmovingbackwards in a seriesofsmallsteps.Whenyouwanttostop,releasebothbuttons.
LINE
>
buttonto settheprinteroff-line.
LINE 3 buttonagainandholdit down.
ON
27

Clearingthebuffer

When DIP switch 2-1 is ON, the printer stores receiveddata in a large
memorybuffer.Thiscreatesaproblemwhenyouwanttoabandonaprinting
jobandrestart:theprintermaybeholdingmuchmoredatainitsbufferthan
it has actuallyprinted,and this unprinteddatamustbe clearedout before restaffing.Turningpoweroff is one way to clear the buffer, but there is
anotherway:
1.
Haltthe printingprogramon the computer.If printingstops immedi­ately,thebufferisclearandtherestofthisprocedureisunnecessary.If
printingdoesnotstop,continueas follows:
LINE
2.
Pressthe
ON
( nowstop,buttheremaybedata remainingin the buffer. Press andholdthe ( ON
3. Pressandholdthe (~) button.Continueholdingthesetwo buttons
4. down.Inaboutthree secondsyouwillhearabeeptonesignalingthatthe bufferhasbeen cleared. Releasethesebuttons,makeanynecessarycontrolpanelsettings,then
5. setthe printerbackon-line.
Itisessentialtohalttheprintingprogramonthecomputerbeforeyougooff­line.Otherwise,whenyougobackon-linethecomputerwillstartsending dataagainandtheprinterwillcontinueprinting,withmissingdatawherethe bufferwascleared.
buttonto set theprinteroff-line.Printingwill
)
button.
)
LINE
Thebankof DIP(DualIn-linePackage)switchesinsidetheprinterisused for variousfunctions.
ThischapterexplainswheretheDIP switchesam located,andhowto use them.

LOCATION OF THE DIP SWITCHES

Whenyouremovetheprinter’scoverandlookinside,youwillseeon the greenboardatthe bottom of theprintertwogroupsofsmallwhiteswitches markedDSW1andDSW2.Thesearetheprinter’sDIPswitches.DSW1has eightswitches,named1-1 to 1-8fromlefttoright.DSW2hasfourswitches
named2-1to 2-4.
Figure 3-1.DIP switches
For allswitches,theONpositionistowardsthebackoftheprinterandthe OFFpositionistowardstheIlont.Toseta DIP switch,use aballpointpen orothersmallimplementtomovetheswitchto the ON or OFFposition.
Theprinter’spowershouldbeoffwhenyousettheDIPswitches.Settings madewhilepowerisondonottakeeffectuntilpowerisswitchedoff,then on again,becausetheprinterreadsthe DIP switchesonlyat power-up.
29

FUNCTIONS OF THE DIP SWITCHES

The printerisdeliveredwithallDIPswitchsettotheONposition.Theseare thestandardsettings.Bychangingthesettings,youcanalter variousprinter functionsto match yourrequirements.The followingquestionswill help
youmakethe rightsettings.
Switch
1-1 Pagelength 11inches 12inches 1-2 AutoCR Yes 1-3 Printingarea Atype Btype 1-4 Autosheetfeeder Inactive 1-5 Paper-outdetector 1-6 Printermode
1-7
I 1-8 I AutoLF
2-1
2-2 2-3 Internationalcharacterset 2-4
H
Switch l-l: Is the pagelengthof yourpaper 11inchesor 12inches?
LeavethisswitchONifyouwillbeusing1l-inchforms.MoveittotheOFF positionif you willbe using 12-inchforms.
Switch 1-2: Do you wantan automaticcarnagereturn?
Function
Characterset (Standardmode)
Characterset (IBMmode)
UsageofRAM
ON OFF
No
Active Enabled Standard
I
Italics
Set#2 Set#l
Disabled
IBM
Graphics
I No
Buffer Download
I
Leavethis switchON. The printerwillautomaticallyperforma carnage
returnbymovingto theleftmarginateachlinefeed. Evenifyoursoftware sendsa separatecarnage-returncode,anextracarnagereturndoesnoharm
becausetwoconsecutivecarriageRtumsarethesameasone.Veryfewpro-
gramsrequirethisswitchto be OFF.
Switch 1-3: Whichtype of printingarea formatdo you want to use for
single sheets?
Thisprintercanusetwotypesofpnnting areaformatforsinglesheets. By puttingtheswitchON(“Atype”),thetopofthefirstlineofprintingwillstart to oneinchfromthetopofthepaper,andtheprintedareawiIIendtoprint oneinchfromthebottomofthepaper.
ByputtingtheswitchOFF(”Btype”),the topofthefirstlineofprintingwill start1/6inchfromthetopofthepaper,andtheprintedareawillend 1/3inch fromthebottomofthepaper.
Switch 1-4: Areyougoingto usetheautomaticsheetfeeder(ASF)?
To use the automaticsheetfeeder,move this switchto the OFF position.
Otherwiseleaveit ON. Switch 1-5: Doyouwantthepnnterto stoppnntingattheendofthe paper,
or to keepprinting?
LeavethisswitchONexceptwhenyouneedto printverycloseto the end of the paper. Whenthis switch is OFF the printer ignoresthe paper-out detectorandprintsdownto (andbeyond)thebottomedge.
Switch 1-6: DoyouwanttousetheprinterinstandardmodeorIBMmode? Selectthemodecompatiblewithyour computerandsoftware.In standard
modetheprinteroperateslikethe EpsonFX-1050.InIBMmodeitoperates likethe IBMProprinterXL.The ONpositionselectsstandardmode.The
OFFpositionselectsIBMmode.
S;vitch
1-7: The actionof this switchdependson the modechosenwith
switch1-6.
If youselectedstandardmode,doyouwantitalicsorgraphicchar­actes?
LeavethisswitchONtoprintitalicsinthestandardcharacterset.Ifyouset thisswitchto theOFFposition,in placeofitalicsyouwillgetthegraphic characters,internationalcharacters,and mathematicalsymbolsof IBM characterset#2.SeeChapter9,charactercodes128to 254.
IfyouselectedIBMmode,doyouwantIBMcharacterset#1or#2?
ONselectscharacterset#2, whichis forcomputerswithan 8-bitinterface (themostcommonkind).OFFselectscharacterset#1, for computerswith
a 7-bitinterface.
31
Switch 1-8: Doyouwantan automaticlinefeed?
If you leave this switchat the ON position,a separateline-feedcode is requiredto obtaina linefeed.
If you movethis switchto the OFFposition,the printerperformsboth a carriagereturnandlinefeedeachtime it receivesa carnage-returncode.
Mostcomputersystemssendalinefeedcode,orbothacarriagereturnand linefeed,at the endof eachline,so thisswitchshouldbe left ON.
If you get doubleline spacingwhenyouexpectsinglespacing,or if lines overprinteachother,trychangingthesettingof this switch.
Switch 2-1: Doesyoursoftwaredownloadnewcharactersto theprinter?
To downloadcharactersthisswitchmustbe OFF.Theprinterthenusesits RAMmemoryfor storingcharacterpatternsandprovidesonlya one-line printbuffer.Ifyouleavethis switchON theprinterusesitsRAMmemory
asaninputbuffer,allowingthe computerto senddatafasterthantheprinter
prints. Switches
2-2 to 2-4: Do youwantan internationalcharacterset?
Internationalcharactersetsdifferintheirassignmentof 14charactercodes. Seethe charactertablesatthebackof thismanual.WiththeDIP switches youcan selectoneofeightcharactersetsas follows:
Country 2-2 2-3 2-4 Country 2-2 2-3 2-4 U.S.A. France Germany England
ON ON ON DenmarkI * ON ON OFF
OFF ON ON Sweden OFF ON OFF
ON OFF ON Italy
ON OFF OFF
OFF OFF ON SpainI OFF OFF OFF
* Denmark/Norwaywhenswitch 1-6is OFFandswitch1-7isON.
32
chapter 4
PRINTER CONTROL COMMANDS
Theprinterhas twoemulationmodes:Standardmodeand IBMmode. Instandardmode,theprinteremulatesthefunctionsoftheEpsonFX-1050. In IBM mode, the printer emulatesthe IBM ProprinterXL. Additional commandcodesareincludedas a supersetof theseemulations.
The emulations changedbymeansofDIPswitch1-6.WhenON,theprinter will be in standardmode, and when OFF, the printer will be in IBM emulationmode(seeChapter3).Itisnotpossibletochange theemulation modeby meansof softwarecontrolor the frontcontrolpanel.
Thischapterdescribestheprinter’scontrolcommands.Somecommandsare commontoboththestandardandIBMmodes.Inthedescriptionsofthecom­mands,allcommandswillbegivenbyfunction.Thenameofeachcommand is followedby a tableliketheonebelow:
Mode
Both
ASCII Decimal
<ESC> <ESC> “X” <1>
Mode:
“X” “l”
27120 49
27120 1
Indicatesthemodeinwhichthecommandisrecog-
Hexadecimal
IB 78 31 IB 78 01
nized. Std. Standardmode(DIP switch1-6on) IBM IBMmode(DIPswitch1-6off) Both BothstandardandIBMmodes
ASCII:
Indicates the ASCII coding of the command. Controlcharactersareenclosedinpointedbrack­ets:For example,<O>means character codeO.
Decimal:
Hexadecimal:
Givesthecommandin decimalcharactercodes. Gives the command in hexadecimalcharacter
codes.
Parametersforwhichvaluesmustbesuppliedareindicatedby italicletters suchas n.
33
Many commandshave alternativeforms. Some commandsuse cESC> (charactercode27)inStandardmodeandcFS>(charactercode28) in IBM
mode. Other commandshaveparametersthat can be specifiedas either charactercodes or digit characters,like the parameter 1 in the sample commandabove.

FONT CONTROL COMMANDS

Selectdraftqualitycharacters
Mode ASCII Decimal Hexadecimal
,,,, ,, ,,
((
Both <ESC>
<ESC>
IBM
<ESC>“1” “O”
<ESC>
“F” “ “ “ “ “9”
))
“X” “O”
<o> 27120 0
“x”
“I” <O> 27 73 0
40 40 70 41 41 57 28 28 46 29 29 39
27120 46
1
27 73 48
IB 78 30
1
IB 78 00 IB 49 30 IB 49 00
Changesfrom near letter qualityto draft quality.Ignoredif the _ buttonwaspressedduringpower-up.
Selectdraftelitecharacters
Mode ] ASCII
~M I <E!
SC>
[1
I <ESC> “I”
Changestodraftqualitycharacterswithelitepitch(12cpi).Ignored if the
“I” “l” 27 73 49
<1>
(~E)Or (FiiTii) buttonwaspressedduringpower-up.
Decimal
I 27 73 1 I IB 49 01
Hexadecimal
IB 49 31
SelectNLQcharacters
Mode ASCII Decimal Hexadecimal
Boh
<ESC> <ESC>
“X” “l” “X” <1>
27120 49
27120 1
IB 78 31
IB 78 01
I
34
Changesfromdraftqualityto nearletterquality.The initialNLQ typestyleisCourierunlessa differentstylehasbeenselectedby a precedingcommand. Ignored if the(js~) button was pressed
duringpower-up.
SelectNLQtypestyle
Mode
Both
ASCII
<ESC> “k” n
SelectsanNLQtype style accordingtothevalueofn.Indraftmode, thiscommandremainsdormantandtakeseffectlaterwhenNLQis selectedby<ESb “x”1.Ignoredifthe(s~)button waspressed duringpower-up.
n Typestyle O Courier(initialvalue)
1 Sanserif 2 Oratorwithsmallcapitals 3 Oratorwithlowercase
SelectCouriercharacters
Mode
Both
IBM
ASCII
“(” “(” “F” “)” “)” “o”
<ESC> “I” “3”
<ESC>“I”
<ESC> <ESC>
<3> “I” “7”- 27 73 55 “I” <7>
ChangestotheCourierNLQfont.Ignoredifthe(SWE)button was
pressedduringpower-up.
Decimal
27107
4040 7041 41 4$
n
Decimal
27 73 51 27 73 3
27 73 7
Hexadecimal
IB 6B n
Hexadecimal
28 2846 29 2930
IB 49 33 IB 49 03 IB 49 37 IB 49 07
SelectSanserifcharacters
Mode
Both
IBM
ASCII
“ “ “ “ “F” “)” “)” “1”
((
<ESC> “I” “2” 27 73 54
<ESC>
“I” <2>
ChangestotheSanserifNLQfont.Ignoredifthe(SWLE)buttonwas pressedduringpower-up.
Decimal
40 40 70 41 41 49
27 73 2
Hexadecimal
28 28 46 29 29 31
IB 49 32 IB 49 02
35
SelectOratorcharacterswithsmall capitals
Mode ASCII
Decimal Hexadecimal
Both “(” “(” “F’ “)” “S’ “2” 4040 7041 41 50 28 28 46 29 29 32
ChangestotheOratorwithsamllcaptitalsNLQfont.Ignoredifthe
-button waspressedduringpower-up.
SelectOratorcharacterswithlowercase
Mode
Both “ “ ““ “F’ “ “ “)”
ASCII Decimal
(( )
Changesto the Oratorwith lower caseNLQ font. Ignoredif the _ buttonwaspressedduring~wer-up.
“3” 4040 7041 41 51 28 28 46 29 29 33
Hexadecimal
Selectitaliccharacters
IMode I
[Bom I -(’, y’, q?> q!. ,,),,
I std. <ESC> “4”
ASCII Decimal Hexadecimal
“l” I 4040 7341 41 49 I 28 2849 292931 /
27 52
I
IB 34
FIBMI <FS> “4” 1 28 52 I Ic 34 I
Causessubsequentcharacterstobeprintedinitalics.Ignoredifthe
= buttonwaspresseddufingpower-up.
Se!ectuprightcharacters
Mode
Both “ “ “(” “I” “)” “)” “O”
Std. <ESC> “5”
IBM <FS> “5”
ASCII
(
Stopsitalic printing andcauses,subsequentcharactemtobeprinted upright.Ignoredifthe (is=jbutton waspressedduringpower-up.
Emphasizedprinting
Model ASCII
Both ]
36
<ESC> “E” 27 69
Causessubsequentdraft charactemto be emphasizedby adding
extrathicknesstoverticalstrokes.
Decimal
4040 7341 41 48
Hexadecimal
28 2849 29 2930
27 53 IB 35
28 53 IC 35
Decimal Hexadecimal
IB 45
Cancelemphasizedprinting
Mode ASCII
Both
<ESC> “F”
Decimal
27 70 IB 46
Cancelsemphasizedprinting.
Double-strikeprinting
Mode ASCII Decimal
Both
“ ,, ,, “
( ( “B” “)” “)”
<ESC> “G”
“l” 40 40 66 41 41 49
27 71
Causessubsequentcharactersto be printedin double-strikemode withaslightverticalpapermotioninbetween,causingathickening of horizontalstrokes. Forboldprint,useofdouble-strikeis recommendedinNLQmode, and combined use of emphasized and double-strike
mended in draft mode. Double-strike cannot be used whh superscripts or subscripts.
Canceldouble-strikeprinting
IMode I ASCII
Both
“ ‘. “ “
( ( “B” “)” “)” “0”
<ESC> “H” 27 72
I Decimal
4040
M 41 41 48
Hexadecimal
Hexadecimal
28 28 42 29 29 31
IB 47
is recom-
I Hexadecimal \
28 28 42 29 29 30 IB 48
Cancelsdouble-strikeprinting.
Startunderlining
Mode
Both
ASCII Decimal
,, t, ,, ,,
( ( “-” “)” “)” “1”
<ESC> “-” “l” 27 45 49
<ESC> “-” <1> 27 45 1
Causessubsequentcharactemtobeunderlined.IBMblockgraphics charactemand spaces skippedby horizontaltabulation are not underlined.
40 40 45 41 41 49
Hexadecimal
28 28 2D 29 29 31
IB 2D 31
IB 2D 01
37
stop
underlining
‘Mode ASCII Decimal
,, ,, ‘, 4.
( ( “-” “Y’ “Y’
Both <ESC> “-” “O” 27 45 48
<ESC> “-” <O> 27 45 0
“o” 4040 45 41 41 48 28 2820 29 29 30
“Stopsunderlining.
Startoverlining
IMode \ ASCII
<Es~> .,–‘, t!~..
Both
<ESC> “ - “ <1>
Causessubsequentcharactersto be overlined. Spacesskippedby horizontaltabulationarenotoverlined.
Decimal
27 95 49
27 95 1
Stopoverlining
Mode ASCII
Both
<p.c> .1–.’ ‘yy> <ESC> “ – “ <O> 27 95 0
Stopsoverlining.
Decimal
27 95 48
Superscript
Hexadecimal
IB 2D 30 IB 2D 00
Hexadecimal
IB 5F 31 IB 5F 01
Hexadecimal
IB 5F 30 IB 5F 00
IMode I AScll
Both
<ESC> “S” “O”
<ESC> “S” <O> 27 83 0
Causessubsequentcharacterstobe printedassuperscripts.Doesnot changethe characterpitch.
Subscript
Mode
Botb
38
ASCII Decimal Hexadecimal
<ESC> “S” “l” 27 03 49
<ESC> “s” <1> 27 W 1
Causessubsequentcharacterstobeprintedas subscripts.Doesnot changethe characterpitch.
Decimal Hexadecimal
27 33 48
IB 53 30
IB 53 00
IB 53
31
IB 53 01
1
Cancelsuperscriptorsubscript
Model ASCII I Decimal / Hexadecimal ]
BothI <ESC> “T” I 27 &l
I IB 54
Stops printing superscriptsor subscriptsand returns to normal printing.

CHARACTER SET COMMANDS

Selectstandardcharacterset
I
Mode I ASCII
Both
<ESC> “t” “O”
<ESC> “t” <o> 27116 0 IB 74 00
I Decimal I Hexadecimal I
27116 48 IB 74 30
Selectsthe standardcharacterset.This is thepower-updefaultin Standardmodeif DIPswitch1-7is ON.
Se/ectIBMcharacterset
Mode ASCII Decimal Hexadecimal
Both ~
<ESC> “t” “l” <ESC> “t” <1> 27116 1
27116 49 IB 74 31
IB 74 01
Selectsan IBMcharacterset.Thisis thepower-updefaultin IBM
mode.
Selectcharacterset#1
Mode ASCII Decimal Hexadecimal
Both <ESC> “7” 27 55
IB 37
Selectscharacterset#1.
Selectcharacterset#2
Mode I ASCII \ Decimal I Hexadecimal /
BothI
<ESC> “6” 27 54 IB 36
Selectscharacterset#2.
I
Selectinternationalcharacterset
Mode ASCII
std. <ESC> “R” n
IBM
<FS>
“R” n
Decimal Hexadecimal 27 82 n IB 52 n 28 82 n IC 52 n
Selectsaninternationalcharacter set accordingtothe valueof n.
n Characterset O U.S.A
1 France 2 Germany 3 England 4 DenmarkI 5 Sweden 6 Italy
n Characterset 7 SpainI
8 Japan 9 Norway
10 Denmark11 11 SpainII 12 LatinAmerica 13 Denmark/Norway
me firsteight of thesecharactersets(fromU.S.A.to SpainI) can be selectedaspower-updefaultsby DIP switches2-2to 2-4.
Enableprintingofall charactercodes
Mode
IBM
ASCII Decimal
cESC> ‘Y”
nl n2
27 92 rd n.?
EnablesprintingofallcharactersintheIBMcharacterset,including thoseassignedto charactercodeswhichare normallyconsidered controlcodes.Thiscommandremainsineffectforthenextnl +n2 x256 charactem,where
nl andrz2arenumbersbetweenOand255.
Duringthisintervalnocontrolfunctionsareexecuted.Ifacodewith no assignedcharacteris received,theprinterprintsa space.
Hexadecimal
IB 5C nl d
Enable printing of all character codes on next character
IModel ASCII
IIBMI <ESC>“A“ I 27 94 I IB 5E I
This commandoperateslike eES~ ‘\” exceptthatit remainsin effectfor onlyonecharacter.
40
I Decimal I Hexadecimal I
I
Selectslashzero
Mode ASCII
Borh
<ESC> “ - “ “l” 27126 49 <ESC> “ - “ <1>
Decimal
27126 1
Hexadecimal
IB 7E 31
IB 7E 01
Causessubsequentzerocharactersto be overprintedwith a slash (m.
Selectnormalzero
Mode ASCII
Both
<ESC> “ - “ “O” <ESC> “ - “ <O>
Causes subsequentzero characters to be printed normally (0), withouta slash.

CHARACTER SIZE AND PITCH COMMANDS

Decimal Hexadecimal 27126 48 27126 0
IB 7E 30 10 7E 00
Picapitch
IMode] ASCII
I
std. <ESC> “P”
IBM <DC2>
I Decimal
27 80 18 12
I Hexadecimal I
IB 50
In Standardmode,changesfromelitetopicapitch(10cpi)or from
condensedelitetocondensedpica(17cpi).In IBMmode,changes
fromeithereliteorcondensedtopica(10cpi).Ignoredifthe(~)
buttonwaspressedduringpower-up.
E/itepitch
Mode ASCII Decimal
Both <ESC> “M” IBM <ESC> “:”
In Standardmode,changesfrompicato elitepitch(12cpi)or from condensedpica to condensedelite(20cpi).In IBMmode,changes
fromeitherpicaorcondensedtoelite(12cpi).Ignoredifthe(~)
buttonwaspressedduringpower-up.
27 77 IB 4D
27 58 IB 3A
Hexadecimal
41
Condensedprinting
Mode ASCII Decimal
Both
<Sk=
<ESC> <Sb 27 15
In
Standardmode, changesfrompicato condensedpica(17cpi)or
15
fromelite to condensedelite(20cpi).InIBMmode,changesfrom eitherpicaor elite to condensed(17 cpi). Ignoredif the(~] buttonwasptessedduringpower-up.
Cancelcondensedprinting
Mode ASCII
Both <DC2>
In Standardmode,changesfromcondensedpicatonormalpicaor fromcondensedelitetonormalelite.InIBMmode,alwayschanges to normalpica. Ignoredif the power-up.
Decimal
18 12
-button
Expanded printing
Mode ASCII
Both
<ESC> “W” “l” <ESC> “W” <1>
Decimal Hexadecimal
27 87 49 27 87 1
Hexadecimal OF IB OF
Hexadecimal
was pressed du~ng
IB 57 31 IB 57 01
Causessubsequentcharactersto be expandedto double width.
Cancelexpandedprinting
Mode / ASCII
Both
<ESC>“W”“O”
<ESC> “W” <O>
Stopsexpandedprintingandreturnstonormalwidth.
Decimal Hexadecimal
27 87 48 27 87 0 IB 57 03
IB 57 30
Expandedprintingfor oneline
Mode ASCII
Both
<so>
<ESC><SO>
Decimal Hexadecimal
14 OE
27 14
Causessubsequentcharactersinthecurrentlineto beexpandedto doublewidth.Charactm returnto normalwidthafterthenextline feed(cLF>).The<DC4>,cVT>,-, and<ESC>“W”Ocom­mandsalsocancelexpandedprinting.
Cancelone-lineexpandedprinting
Mode ASCII
Borh <DC4>
Stopsone-lineexpandedprintingsetwith<S0> or<ESC><S0>. DoesnotcancelcESC>“W” 1.
Decimal
2U
Selectproportionalspacing
Mode
Both
IBM <ESC> “P” <1>
ASCII
<ESC>“P” “l”
<ESC>
“p” <1> 27112 1
Causessubsequentcharacterstobeproportionallyspaced.Ignored if the(PiTi5i7)buttonwaspressedduringpower-up.
Decimal
27112 49
27 00 1
IB OE
Hexadecimal
14
Hexadecimal
IB 70 31 IB 70 01 IB 50 01
Selectfixedspacing
Mode
Both
IBM <ESC> “P” <O>
ASCII
<ESC>“P” “O”
<ESC>
“p” <o> 27112 0
Causessubsequentcharactersto be printed with fixed character spacing.Ignoredifthe(~) buttonwaspressedduringpower-up.
Decimal
27112 48
27 80 0
Hexadecimal
IB 70 30 IB 70 00
IB 50 OU
43
Selectmasterprintmode
Mode
Both <ESC> “!”
ASCII
n 27 33 n
Selectsa combinedprint mode accordingto the value of n. The valueofnisthesumofthevaluesgivenbelowforthedesiredchar­acteristics.
Examples:n = 1giveselite;n = 9(1 +8) givesemphasizedelite;n = 137(1+ 8 + 128)givesunderlinedemphasizedelite.
Function n value Underline
Italic[*1] 64 Expanded Doublestrike Emphasized 8 Condensed[*2] Proportional[*2] 2
Elite [*2]
[*1]Ignoredif the(~) buttonwaspressedduringpower-up. [*2]Ignoredif the@i7Cii)buttonwas pressedduringpower-up.
Increasecharacterspacing
Decimal
128
32
16
Hexadecimal
IB 21 n
4
1
Mode ASCII Decimal Hexadecimal
std. <ESC> <5P> n 27 32 n
16 20 n
Increasesthespacebetweencharactemby n/240inches,wherenis a numberfromOto 127.Usedin microjustification.
Selectdoubleorquadruplesize
Mode ASCII
Decimal
Both <ESC>“h” n 27 104 n
Selectsthesizeof subsequentcharactersas shownbelow.Extra­highcharactersalignalongthecap-lineofnormalcharacters,with thebaselinetemporarilymovingdown.Linespacingistemporarily doubledwhen n = 1,5 or 6 and quadrupledwhenn = 2. To print correctlywhenn = 3,4,5 or 6, setthelinespacingto 24/216(1P)
44
Hexadecimal
16 68 n
of an inch with cESC> “3” <24>,and print the same characters twice,upperhalf on oneline,lowerhalfon thenext.For accurate alignment of the two halves, select unidirectionalprintingwith <ESC>“U” <1>.
n Effect O Normalsize
1 Double-high,double-wide 2 Quadruple-high,quadruple-wide 3 Double-high,double-wide(Lowerhalfonly) 4 Double-high,double-wide(Upperhalf only) 5 Quadruple-high,quadruple-wide(Lowerhalf only) 6 Quadruple-high,quadruple-wide(Upperhalfonly)
Selectcharactersize
Mode ASCII
Both “ “ “(” “S” “)” “)”
(
Decimal
40 40 S3 41 41 n
n
Selectsacombinationofcharacterheightandwidthaccordingtothe value of n, as below.Doesnotmovethebaseline.
n Characterwidth O Singlewidth
1 Doublewidth Single height 2 Singlewidth 3 Double widti
Double-heightcharactersarealwaysprinted at near letterquality. Doubleheightprintingtemporarilycancelsthesuper/subscriptand condensedprinting modes, but these modes resume when the
printerreturnsto normalheight.
Printdouble-heightcharacters
Mode ASCII Decimal
Both .
<ESC>
<ESC>
“W” “l”
“W” <1>
Printssubsequentcharactersat double heightwithoutmovingthe base line, and withoutchangingthe line spacing.Temporarily cancelssuper/subscriptandcondensedprintingmodes.
27119 49 27119 1
Hexadecimal
28 28 53 29 29 n
Characterheight Singleheight
Doubleheight Doubleheight
Hexadecimal
10 77 31
IB 77 01
45
Returntonormalheight
Mode ASCII
Both
<ESC>
<ESC> “W” <O> 27119 0
“W” “O”
Decimal
27119 48
Hexadecimal
IB 77 30
IB 77 00
Terminatesdouble-heightprintingandprintssubsequentcharacters
atnormalheight.Resumessuper/subscriptandcondensedprinting
if thesemodeswerein effectbeforedoubleheightwas selected.
Selectcharacterheight,width,andline spacing
Model ASCII
Both
<ESC>“[” “@”
Selectsa combinationofcharacterheight,width,andlinespacing accordingtothevalueofnandm,asbelow.Doesnotmovethebase line.
n
<4> <()> 27 91 64 4 0
<O> CO> n m
Linespacing
Decimal
o Onm
Characterheight
Hexadecimal
,
IB 5B 40 04 00
00tH3 nm
o Unchanged Unchanged
1 Unchanged
2 Unchanged
Single
16
Single
17
Single
18
Double
32
Double Singleheight
33
Double
34
Singleheight Doubleheight Unchanged Singleheight Doubleheight Unchanged
Doubleheight
46
m Characterwidth
1 Singlewidth(sameas 43SC> “W” O) 2 Doublewidth(sameas <ESO “W” 1)
Double-heightcharactemare alwaysprintedat nearletterquality. Doubleheightprintingtemporarilycancelsthesuper/subscript~d condensedprinting modes, but these modes resume when the printerreturnsto normalheight.
I

VERTICAL POSITION COMMANDS

Setline spacingto 1/8inch
Mode
Both
ASCII
<ESC> “O”
Decimal Hexadecimal
27 48
Setsthedistancethepaperadvancesorreversesin subsequentline feedsto 1/8inch.
Setline spacingto 7/72inch
Mode
Both
ASCII
<ESC>
“l”
Setsthedistancethepaperadvancesor reversesin subsequentline feedsto 7/72inch.
Decimal Hexadecimal
27 49
Setline spacingto 1/6inch
Mode
std.
ASCII
<ESC> “2”
Setsthedistancethepaperadvancesorreversesin subsequentline feedsto 1/6inch.
Decimal Hexadecimal
27 50
Setline spacington/216inch
Mode
Both
ASCII
<ESC>
“3” n
Decimal Hexadecimal
27 51 n
IB 30
IB 31
IB 32
IB 33
n
Setsthedistancethepaperadvancesorreversesin subsequentline feeds to n/216inch, where n is betweenOand 255. If n= O,in Standardmodetheline-feeddistanceis settoO,butin IBMmode thiscommandisignored.
47
Setlinespacington/72inch
Mode
Both <ESC>
ASCII Decimal Hexadecimal
“A” n 27 65 n IB 41
In Standardmode,setsthedistancethepaperadvancesor reverses insubsequentlinefeedstonf72inch,wherenisbetweenOand85.
~If n =0,the linespacingis set to O.
In IBMmodethiscommanddoesthesameexceptthat(1)thenew line spacing does not take effect until the next <ESC> “2” command,and(2) if n = O,the<ESC>“A”commandis ignored.
Execute<ESC>“A”
Mode ASCII
IBM <ESC> “2”
Sets the line spacingto the value defined by the last preceding <ESC>“A”command.Setsthelinespacingto 1/6inchif thereis no precedingcESC>“A”command.
Linefeed
IModel ASCII
BothI <LF> 10
Printsthe currentlineand feedsthe paperto thenextline. If DIP
switch 1-2 is ON, also moves the next print positionto the left
margin.Seetheprecedingcommandsforthelinespacing.
n
Decimal
27 50 IB 32
Decimal Hexadecimal
Hexadecimal
,
OA
I
Reverselinefeed
Mode
Both
48
ASCII Decimal
<ESC><LF> 27 10
Printsthecurrentlineandfeedsthepaperinthereversedirectionto theprecedingline.IfDIPswitch1-2isON,alsomovesthenextprint positiontotheleftmargin.Seetheprecedingcommandsforthcline spacing.Ignoredwhenfrictionfeedis used.
Hexadecimal
IB OA
Performonen/216-inchlinefeed
Mode ASCII
Both <ESC> “J”
n 27 74 n
Decimal Hexadecimal
IB 4A
Feedsthepaperoncebyn/216inches,wherenisbetween1and255. DoesnotmovetheprintpositionrightorleftwhenDIPswitch1-2 is OFF.Doesnotchangethe line-spacingsetting.
Performonen1216-inchreverseline feed
Mode ASCII Decimal
Both
<ESC> “j”
n 27106 n
Feedsthepaperoncebyn/216inchesinthereversedirection,where nisbetween1and255.Doesnotmovetheprintpositionrightorleft when DIP switch 1-2 is OFF. Does not changethe line-spacing
setting.
Hexadecimal
IB 6A n
Feedpapern lines
Mode ASCII
Both.
<ESC>“f’ <ESC>“f’ <1> n
Feedsthepapernlinesfromthecurrentline,wherenis betweenO and 127,
“l” n
Decimal Hexadecimal
27 102 49 n
27102 1 n
IB 66 31 n IB 66 01 n
n
Set topofpageat currentposition
Mode ASCII Decimal
IBM
<ESC> “4” 27 52 IB 34
Setsthecurrentpositionasthe top-of-pageposition.Notethatthis canalsobe donefromthecontrolpanel.
Hexadecimal
49
I
Set page lengthton lines
ModeI ASCII
BothI <ESC>“C” n
Decimal
27 67 n
Hexadecimal
IB 43 n
Setsthepagelengthto n linesin thecurrentlinespacing,wheren isbetween1and127inStandardmode orbetween1and255inIBM mode.Changingthe line spacing later doesnot alterthephysical pagelength.Thecurrentlinebecomesthetop of thepage.
Setpage lengthton inches
Mode
Both <ESC>“C” <O>n 27 67 0 n IB 43 00 n
ASCII Decimal Hexadecimal
Setsthepagelengthto n inches,wheren is between 1 and 22 in Standardmodeorbetween1and127inIBMmode.Thecurrentline becomesthetop of thepage.
Settopmargin
Mode ASCII Decimal Hexadecimal
Both
<ESC> “c” n 27 99 n IB 63 n
Setsthe topmargintonlines,wherenisbetween1and255.Printing begins on the nth lineon thepage.Thepower-updefaultis n = 1, givingno top margin.
Setbottommargin
IModeI ASCII Decimal Hexadecimal
IBoth] <ESC> “N” n ] 27 78 n
Setsthebottommarginton lines,wheren is between1and 127in Standardmode or between 1 and 255 in IBMmode.The bottom marginis resetwhenyouchangethe pagelength.
50
! IB 4E n I
I
Canceltopand bottommargins
Mode ASCII
Both
<ESC>“O”
Decimal Hexadecimal
27 79
Cancelsboththetop marginandthebottommargin.
Formfeed
Mode ASCII
Both <FF>
Feedsthe papertothetopofthe nextpageaccordingtothe current pagelength,andmovestheprintpositiontotheleft margin.When the automaticsheetfeeder (ASF) is selected(DIP switch 1-4 is
OFF),thiscommandejectsthecurrentpage.
Decimal
12 Oc
Returntotopof currentpage
Mode
ASCII
Both <ESC><FF>
Feedsthepaperbackwardto the top of the currentpage.Ignored whenfrictionfeedisused.
Decimal
27
Disablepaper-outdetector
12
IB 4F
Hexadecimal
Hexadecimal
IB OC
Mode
Bah
ASCII
<ESC> “8”
Causesthe printer to disregardthe signalsent by the paper-out detector,enablingprintingtothebottomofthepaper.Overridesthe settingof DIPswitch 1-5.
Enablepaper-outdetector
Mode ASCII
Both
<ESC> Causesthe printer to stop printingbefore the end of the paper.
Overridesthe settingof DIPswitch1-5.
“9”
Decimal Hexadecimal
27 56
Decimal
27 57
IB 38
Hexadecimal
IB 39
51
I
Set verticaltabstops
Mode ASCII
Both <ESC>
“B”
nl n2 ... <0> I 27 66nl n2 ... 0 ] IB 42nl n2 ... 00
Decimal
Cancelsallcurrentverticaltabstopsandsetsnewverticaltabstops atlinesrzZ,n2, etc.,wherenl, n2,etc.arenumbersbetween1and
255. Amaximumof 16verticaltab stopscanbe set.Thetabstops mustbe specifiedin ascendingorden any violationof ascending orderterminatesthetabstoplist.Standardterminationisbythe<O> controlcode.Theverticaltabstopsaresetintenns ofthecurrentline spacingand donotmoveif thelinespacingis changedlater.
Set verticaltabstopseveryn lines
IMode1
Both
ASCII Decimal
<ESC>“e” “l”
<ESC> “e” <1> n 27101 1
n
27101 49 n IB 65 31 n
Cancelsall currentverticaltabstops andsetsnewtabstopseveryn lines,wheren is between1and 127.
Set verticaltabstopsinchannel
Mode
BoL
IT
ASCII Decimal Hexadecimal
<ESC>“b”
nO nl
d ...
27 98 nO nl IB 62 nO nl
<0> n2 ... 0
Hexadecimal
Hexadecimal
n IB 65 01 n
d ... 00
Cancelsallcurrentverticaltab stopsin channelnO,(wheren(lis
betweenOand7)andsetsnewverticaltabstopsinthischannel.(A
channelis a set of verticaltab stopsselectedby the <ESC>“/’ command.)SeecESC>“B”forparametersnl, n2,...<0>.
Selectverticaltabchannel
IMode] ASCII 1 Decimal / Hexadecimal I
] BothI <ESC> “~’ nO I 27 47 n
Selectsa set~fverticaltabstopsdesignatedby a channelnumber
(n(l)fromOto7.Thetabstopsineachchannelaresetby<ESC>’’b”.
52
I IB 2Fno I
Verticaltab
Mode ASCII
Both <VT>
Decimal
11
Feedsthepaperto the next verticaltab stop and movestheprint positiontotheleftmargin.Performsalinefeedifnoverticaltabsare
set,asatpower-up.Feedstothetopofthenextpageifverticaltabs aresetbutthecurrentlineis at or belowthelast verticaltab stop.

HORIZONTAL POSITION COMMANDS

Setleftmargin
Mode ASCII
BothI <EsC> “l” n
Setstheleftmarginatcolumnn (wherenisbetweenOand255)in the currentcharacterpitch(picapitch if proportionalspacingis selected).The left margindoesnot moveif the characterpitch is changedlater.Theleftmarginmustbeat leasttwocolumnstothe leftof therightmarginandwithinthe limitsbelow:
Pica Elite
Condensedpica Condensedelite Expandedpica Expandedelite Expandedcondensedpica Expandedcondensedelite
Decimal
27108 n IB 6C n
Hexadecimal
OB
Hexadecimal
53
Setrightmargin
Mode ASCII
<ESC> “Q” n
std.
IBM <FS>
Setstherightmarginatcolumnninthecurrentcharacterpitch(pica
‘pitchif proportionalspacing is currently selected). Column n
becomesthelastcharacterpositionintheline.Therightmargindoes notmove if the characterpitchis changedlater.Therightmargin mustbe withinthelimitsbelow:
Setleftand
Mode ASCII
Both <ESC>
Setsthe leftmargin atcolumnn] andthe rightmarginatcolumnn2. See the preceding notes.
n
“Q”
Pica Elite Condensedpica Condensedelite Expandedpica Expandedelite Expandedcondensedpica Expandedcondensedelite
rightmargins
“X” nl n2
commandsfor margin restrictionsand other
Decimal
27 81 n 28 81 n
Decimal
27 88 nl n2
Hexadecimal
IB 51
IC 51 n
4 s n s 136 5 s n s 163 7 s n s 233
8 s n s 255
2 ~ n ~ 68
3 s n <81
4 s n s 116 4 s n s 136
Hexadecimal
10 58
n
nl d
Carriagereturn
Mode
Both <CR>
54
ASCII
Printsthecurrentlineandreturnsthenextprintpositionto theleft margin.If DIP switch1-8is ON,alsoperformsa line feed.
Decimal Hexadecimal
13 OD
Setautomaticline feed
IModel ASCII I
IBMI <ESC>“5” <1>
Causestheprinterto performbotha carriagereturnandlinefeed each time it receivesa <CR>code.This commandtakes priority overDIP switch1-8.
Cancelautomaticlinefeed
Mode ASCII
IBM <ESC> “5” <O>
Causestheprintertoperformonlyacarriagereturnwhenitreceives a <Clb code.Thiscommandtakes priorityoverDIP switch 1-8.
Backspace
Mode ASCII
Both
-d3S> 8
Movestheprintpositiononecolumnto theleft.Ignorediftheprint position is at the left margin. This command can be used to overstrikeor combinecharacters.
Leftjustify
I Decimal
27 53 1
I
Decimal Hexadecimal
27 53 0 IB
Decimal Hexadecimal
I Hexadecimal I
I
IB 35 01 I
35 W
08
Mode ASCII
Both
<ESC>
<ESC>
“a” “O” “a” CO> 27 97 0 IB 61 00
Decimal
27 97 48 IB 61 30
Alignssubsequenttextwiththeleftmargin,leavingtherightmargin ragged.
Centertext
Mode ASCII Decimal
Both
<ESC> “a” “l” 27 97 49 <ESC> “a” <1> 27 97 1
Centerssubsequenttextbetweenthe left andrightmargins.
Hexadecimal
Hexadecimal
IB 61 31 IB 61 01
55
Rightjustify
Mode ASCII
Both
cESC>“a”
<ESC> “a” <2>
“2”
Decimal
27 97 50 IB 61 32 27 97 2 IB 61 02
Alignssubsequenttextwiththerightmargin,leavingtheleftmargin
‘ragged.
Sethorizontaltabstops
Mode
ASCII
Both <ESC> “D” nl n2 ...
Cancelsallcurrenthorizontaltab stopsand sets new tab stops at
columnsnl, n2,etc.inthecurrentcharacterpitch(picapitchifpro­portionalspacingis currently selected), where nl, n2, etc. are numbersbetween1and255.Themaximumnumberofhorizontal tabstopsallowedis32inStandardmodeand28in IBMmode.The tab stops must be specifiedin ascendingordec any violationof
ascendingorderterminatesthetabstoplist.Standardterminationis bythe-=0>controlcode.To clearalltabstops,specify<ESC>“D” <o>.
<o>
Decimal Hexadecimal
2766nl n2 ... 0
IB 44nl n2 ... 00
Sethorizontaltabstopeveryn columns
Hexadecimal
Mode ASCII
Both
<ESC> “e” “O” n
cESC> “e” <O> n
Cancelsallcurrenthorizontaltabstopsandsetsnewtabstopsevery
n columns,wheren is between1and 127.
Resetall tabstops
/ModeI
IIBMI cESC>“R”
56
ASCII
Resetsthehorizontaltabstops to theirpower-upvalues in whicha tab stopis setevery8 columnstartingatcolumn9. Alsoclearsall verticaltab stops.
Decimal Hexadecimal
27101 46 n 27101 0 n IB 65 00 n
Decimal Hexadecimal
I
27 82 I IB 52
IB 65 30 n
I
I
Horizontaltab
Mode ASCII
Both
<m>
Decimal Hexadecimal
9 09
Movestheprintpositiontothenexthorizontaltabstop.Ignoredif thereisnonexthorizontaltabstopinthecurrentline.Notethatwhen underliningis selected,spacesskippedbyhorizontaltabulationare notunderlined.
Relativehorizontaltab
Mode ASCII
std. cESC> ‘Y” rd d
IBM <FS> A“ nl d
Movestheprintpositionrightorleftaspecifieddistance(maximum
13.6inches).Ignoredif theresultingpositionisbeyondtherightor left margin. The formulasfor the distanceand direction are as follows: If n2isbetweenOand63,theprintheadmovesrightby(nl + @ x
256)/120inches. If n2isbetween64and 127,theprint headmovesleftby(nl + [rz2­64]x 256)/120inches.
Decimal Hexadecimal
27 92 ni d
28 92 nl d
Absolutehorizontaltabin inches
16 5C td d
IC 5C nl n2
Mode
ASCII
Both cESC>“$” nl d
Decimal Hexadecimal
27 36 nl d
Setsthe nextprintpositionto (nl +rd x 256)/60 inchesfromtheleft marginon the currentline.Ignoredif this positionis beyondthe rightmargin.Themaximumpositionis 13.6inches.
Absolutehorizontaltabin columns
Mode ASCII
Both
cESC>“f’ “O” n <ESC>“f’ <O>n 27102 0 n
Movesthe next print positionto columnn from the left margin, wheren is betweenOand 127.
Decimal Hexadecimal
27102 48 n
IB 24 nl n2
IB 66 30 n
IB 66 00 n
57

GRAPHICS COMMANDS

Printnormal-density8-bitgraphics
Model ASCII I Decimal I Hexadecimal I
Both
cESC>“K”
nl n2
ml d .. . ml d ... ml d . ..
27 75 nl d
I
IB 4B nl d
I
Prints bit-imagegraphicsat 60 dots per inch horizontally.The
graphicimageis8dotshigh andnl +n2x256dots wide.Maximum
widthis 13.6inches(816dots).ml, m2,... arethe dotdata,eacha
l-byte valuefrom Oto 255 representing8 verticaldots, withthe most significantbit at the top and the least significantbit at the bottom.The numberof databytesmust be nZ+ n2 x 256.Dots beyond the right margin are ignored.At the end of bit-image printingthe printerreturnsautomaticallyto charactermode.
Printdouble-density8-bitgraphics
IModel ASCII I Decimal I Hexadecimal I
Both
<ESC> “L” nl n2 27 76 nl d
ml m2 ...
ml m2 . ..
Printsbit-imagegraphicsat 120dotsperinchhorizontally(maxi­mum 1632dotswide).SeecESC>“K” for otherinformation.
IB 4C nl n2
ml d . ..
I
Printdouble-density,double-speed8-bitgraphics
Model ASCII I Decimal I Hexadecimal”‘1
Both
58
<ESC>“Y”
nl d
ml m2 ...
27 89 nl d
ml m2 ...
I
Printsbit-imagegraphicsat 120dotsperinchhorizontally(maxi­mum 1632dotswide),skippingeveryseconddotinthehorizontal
direction.See<ESC>“K” for otherinformation.
IB 59 nl n2
ml m2 ...
I
I
Printquadruple-density8-bitgraphics
Mode
Both
ASCII
<ESC>“Z” nl n2
ml d ... ml d . .. ml d . ..
Printsbit-imagegraphicsat 240dotsperinchhorizontally(maxi­mum3264dotswide),skippingeveryseconddotin thehorizontal direction.See<ESC>“K”for otherinformation.
Selectgraphicsmode
Mode ASCII
Both
<ESC>“*” nO
Selectsoneofeight graphicsmodesdependingon the valueof nO and prints bit-imagegraphicsin this mode. See <ESb “K” for informationon nl, ti, ml, m2, ...
nO Graohicsmode 0 Normal-density
1 Double-density
2 Double-density,double-speed
3 Quadmple-density 4 CRTgraphics,modeI 5 Plottergraphics
6 CRTgraphics,modeII
7 Double-densityplottergraphics(144dotsper inch)
nl
n2 ml d ...
,
Decimal Hexadecimal
27 90 nl d IB 5A nl n2
Decimal
27 42 no rd IB 2A nO nl
d ml d ... d ml d ...
Hexadecimal
(60dotsperinch) (120dotsper inch)
(240dotsper inch) (80dotsperinch) (72dotsperinch) (90dotsperinch)
Convertgraphicsdensity
Mode ASCII Decimal Hexadecimal
Both cESC> “?” n m
ConvertsgraphicsdefinedbysubsequentcESC>“K”,<ESC>“L”, <ESC>“Y”or<ESC>“Z”commandstoadensitymodedefinedby cESC> “*”.n is “K”,” converted.misacodefrom<0>to<7>indicatingoneofthemodes of <ESG “*”.
27 63 n m IB 3F
L“,“Y”or “Z”,indicatingthe modeto be
n m
I
Print9-pingraphics
Mode ASCII Decimal
<ESC> “A” nO nl
Std.
n2 ml d ...
27 94 no nl
n2 ml d ...
Hexadecimal
IB 5E nO nl
d ml d ...
Printsbit-imagegraphicsat60dotsperinchifnO=Oor 120dotsper
~inchifnO= 1.Thegraphicsimageis9 dotshighandnl + n2x 256
dots wide.Maximumwidthis 13.6inches.Dotsbeyondthe right marginareignored.ml, m2,...
arebytepairsrepresenting9vertical dotseach.In theleftmostposition,themostsignificantbitof ml is thetopdot;theleastsignificantbitofml istheseconddotfromthe bottom;themostsignificantbitofm2isthebottom dot;andtheother bitsofm2areignored.Otherbytepairsaresimilar.Thenumberof data bytesmust be 2 x (nl + n2 x 256).At the end of bit-image printingthe printerreturnsautomaticallyto charactermode.

DOWNLOAD CHARACTER COMMANDS

CopystandardcharactersfromROMintoRAM
Mode ASCII Decimal
std. <ESC>“:”
IBM
<FS> “:” <o> <o> <o>
<o> <o> <o>
27 58 0 0 0 IB 3A 03 00 00 28 58 0 0 0 IC 3A 03 W 00
Copies all the standard charactersto the correspondingdownload characterRAMarea,overwritinganydownloaddataalreadypres­ent.IgnoredwhenDIP switch2-1is ON.
Hexadecimal
Definedraftdownloadcharacters
Mode ASCII Decimal
cESC> “&” <O> nl 27 3S O nl
Both n2 mO ml m2
d ... mll d ... mll
Definesoneormorenewdraftcharactersandstoresthemin RAM forlateruse.DIPswitch2-1mustbeOFF;otherwiseRAMisused as an inputbuffer,not for downloadingcharacters,andthiscom­mandisignored.Draftmodemustbeselectedbeforethis command is executed.
60
d mO ml d d d ml d
Hexadecimal
IB 26 W nl
d ... mll
nl is the charactercode of thefirstcharacterdefinedandn2is the
charactercode ofthelastcharacterdefined.nl andn2mustbothbe between32and 127or bothbe between 160and255.n] must be equalto orlessthann2.Useofcharactercodes32(space)and127 (deletecode)shouldbe avoidedif possible.
Eachcharacters definedbyanattributebyte(mO)and11databytes
(ml, m2, .....roll).
Themostsignificantbit oftheattributebyteis 1if thecharacteris
an ascender(positionedentirelyabovethe baseline)orOif it is a descender(descendingbelowthebaseline).Theattributebytealso indicatestheamountofwhitespace to theleftofthecharacter(O to 7 dots,specifiedbybits4to 6),and the widthofthecharactercell, includingthisspace(4to 15dots, specifiedbybits Oto 3).Theleft
spaceandcellwidthattributesareusedonlyinproportionalspacing. Eachdatabyteindicateseightverticaldots,withtheMSBbeing the topdotandtheLSBthebottomdot.Thesecorrespondto pins 1to
8or2 to 9 of theprinthead,dependingon whetherthecharacteris
an ascenderor descender. For furtherdetails,pleasereferto the Chapter5.
DefineNLQdownloadcharacters
Mode
Both
ASCII Decimal Hexadecimal
<ESC>“&”<O>nl 27 3S O d IB 26 W d
MO ml @
d
m3 ...
M46
d mO ml d
m3 ... m46
d d ml d
d ... m46
DefinesoneormorenewNLQcharactersandstorestheminRAM for later use. DIP switch 2-1 must be OFF. NLQ mode must be selectedbeforethiscommandisexecuted.Theparameter arethe sameasfor thedraftdownloadcharactercommandexceptthat the attributebytespecifiesrightspaceinsteadofcharacterwidthandthe dotdensityis doubledineachdirection,so eachcharacterconsists of 16dotsverticallyand23 dotshorizontallyandrequire 46data bytes.Dotsdefinedbyml tom23areprintedonthefirstpassof the head.Dotsdefinedby m24to m46areprintedon the secondpass, thepaperbeingscrolleduphalfa dotbetweenthetwopasses.For furtherdetails,pleasereferto theChapter5.
61
Definedownloadcharacters
Mode ASCII
<ESC>“=” nl n2 <DC4> 27 61 0 nl 20 IB 3D 00 nl 14
IBM aO
Definesoneormorenewdraftcharactersandsto~s theminRAM forlateruse.Draftmodemustbeselectedbeforethiscommandis executed.nl andti givethenumberofbytesofcharacterdatathat willfollow.UOisthecharactercodeofthefirstcharacterdefined.al
andU2areattributesbytes.ml toml] arethecharacterdata,andare thesameasind3Sb “&”.Theattributebyteal indicateswhether thecharacters anascender(notusingthelowestoftheninevertical dots)or a descender(notusingthehighestdot)andwhetherithas a downwardextensionto 12dots.
Theattributebytea2gives proportional-spacinginformation.Bit7
is ignored.Bits4 to 6 specifytheoffsetto the firstbyteprinted(O
to7),enablingleadingspacesinthecharacterto beignored.BitsO to3specifythewidthofthecharactercell(maximum11dots).The characterwillbefollowedbyamandatoryblankdotcolumnwhich is notincludedin thiswidth.
Charactersdefinedbythiscommandcanbeselectedby<ESC>“%”
1,cESC> “I”4, <ES~ “I” 5, or cESG “I” 6.Thiscommandis
ignoredwhenDIP switch2-1is ON.
Decimal
al a2 ml aO al d ml aO al d ml
d ... mll d ... mll d ... mll
Hexadecimal
Seled downloadcharacterset
Mode ASCII
Both
CEsc>“%’*“l”
<ESC> “90”
Selectsthedownloadcharacterset.IgnoredwhenDIPswitch2-1is ON.
<1> 27 37 1 IB 25 01
Decimal Hexadecimal
27 37 49 IB 25 31
Selectdraftdownloadcharacterset
Mode
IBM
ASCII
<ESC> “I” “4” <ESC>
“I” <4>
Decimal Hexadecimal
27 73 52 IB 49 34 27 73 4 IB 49 04
Selectsthedownloadcharactersetanddraftquality.Ignoredifthe _ buttonwaspresseddufingpower-uporifD~ switch2-1iS
ON.
Selectdraftelitedownloadcharacterset
Mode ASCII
IBM
<ESC> ‘T’ “5” 27 73 53
<ESC>
Selectsthe downloadcharacterset,draftquality,andelitepitch (12
cpi).Ignoredif the(~) buttonwaspressedduringpower-upor
if DIP switch2-1is ON.
“I” <5>
Decimal
27 73 5 IB
Hexadecimal
IB 49 35
SelectNLC?downloadcharacterset
Mode
IBM
ASCII
<ESC> ‘T’ “6”
<ESC>
“I” <6>
Selectsthedownloadcharactersetandnearletterquality.Ignored ifthe (~] buttonwaspressedduringpower-upor ifDIPswitch 2-1is ON.
Decimal Hexadecimal
27 73 54 IB 49 36 27 73 6
IB 49 06
49 05
,
SelectROMcharacterset
Mode ASCII
Both
<ESC> “VO” “O” 27 37 48 IB 25 30
<ESC> “%” <O> 27 37 0 IB 25 00
Stopsusingthe downloadcharacterset andreturnsto the built-in ROMcharacterset.IgnoredwhenDIP switch2-1is ON.
Decimal Hexadecimal
63

MACRO INSTRUCTION COMMANDS

Definemacroinstruction
Mode ASCII
Both
<ESC> “+” ... <RS>
~
Cancelsany existing macro instructionand replacesit with the
Decimal Hexadecimal
27 43 . 30 IB 2B IE
definedinstruction.The definedmacroinstructionconsistsof the charactersbetweenthe“+” andcRS>. Thesecanbe anyprintable
charactersorcontrolcharactemexcept<RS>,upto a maximumof
16characters.
Executemacroinstruction
Mode ASCII
Both <ESC> “+” <1>
Executesa p~viously definedmacroinstruction.

OTHER PRINTER CONTROL COMMANDS

Decimal Hexadecimal
27 43
1 IB 2B 01
SetMSBto 1
Mode ASCII
Both <ESC> “>”
Setsthemostsignificantbitofeachsubsequentbytereceivedto 1, allowinguserswitha7-bitinterfacetoaccesscharactemwithASCII
codesgreaterthan 127.
Decimal
27 62
Hexadecimal
IB 3E
SetMSB toO
Mode
std.
IBM
64
ASCII Decimal
<ESC> “=” 27 61 IB 3D
<FS>
~~=~~
Setsthemostsignificantbitof eachsubsequentbytereceivedtoO.
28 61
Hexadecimal
IC 3D
AcceptMSBas is
Mode ASCII Decimal
Both <ESC>W“ 27 35
Cancelstheprecedingcommandsandacceptsthemostsignificant bit asit is sentto theprinter.
Deletelast charactersent
Mode ASCII Decimal
Std.
<DEb 127 7F
Deletesthe last characterreceived.Ignoredif the last character receivedhas alreadybeenprinted,or if thelast characterreceived wasall or partof a command.
Cancellastline
Mode ASCII Decimal
Both
<CAN>
24
Deletesthelastlinecurrentlypresentintheprintbuffer.
Immediate print
Mode ASCII Decimal
Both
cESC> “i” “l”
<ESC>
“i” <1>
27105 49
27105 1
Hexadecimal
IB 23
Hexadecimal
Hexadecimal
18
Hexadecimal
IB 69 31 IB 69 01
Selectstheimmediateprint mode,in whichtheprinterprints each characterassoonas received.Ateverypausein theincomingdata streamthe printerscrollsthepaperup about2 inchesso that the curmt linecan be seen.Whenthe next characteris receivedthe paperis scrolledbackdownandprintingcontinues.Thiscommand is ignoredwhenfrictionfeedis used.
65
I
Cancelimmediateprint
Mode ASCII
Both
<ESC> “i” “O”
<ESC>
“i” CO>
Decimal Hexadecimal
27105 46 IB 69 30
27105 0 IB 69 @l
Cancelstheimmediateprintmode.Theprinterwaitsforeachline
‘tobecompletedbefore printing it, anddoesnotscrollthepaperup
anddown.Thiscommandis ignoredwhenfrictionfeedis used.
Setprinteroff-line
Mode ASCII Decimal Hexadecimal
std.
IBM
<DC3> <ESC>“Q” <SYN>
19 13
27 81 22 IB 51 16
Sets the printer off-line. The printer disregards all subsequent charactersandcommandsexcept<DC1>,whichreturnsittotheon­linestate.The printer’sON
LINE indicatordoesnotgooff.
Setprinteron-line
IModel ASCII
IBothI
<DCl>
Returnstheprinterto the on-linestate,allowingit to receiveand
processall subsequentcharactemandcommands.Thiscommandis i~ored iftheprinterwassetoff-linebypressingthe( ON
button on the control panel.
I Decimal I Hexadecimal I
17 11
LINE
1
Bell
Mode
Both cBEb
66
ASCII Decimal Hexadecimal
Soundsa briefbeeptonefromtheprinter’sbeeper.
7
07
Bidirectionalprinting
Mode
Both
ASCII <ESC> “U” “O” <ESC> “U” <O>
Decimal Hexadecimal
27 85 48 IB 55 30
27 85 0
Causessubsequentprintingto be donein thenormalbidirectional
mode,whichis fasterthanunidirectionalprinting.
Unidirectionalprinting
Mode
Both
ASCII Decimal Hexadecimal
<ESC> “U” “l”
<ESC>
“u” <1>
27 85 49 IB 55 31 27 85 1 IB 55 01
Causessubsequentprintingto be doneunidirectionally,ensuring
maximumverticalalignmentprecision.
One-lineunidirectionalprinting
Mode
Both
ASCII <ESC> “<”
Immediatelyreturnstheprintheadtothe leftmargin,thenprintsthe remainder of the line from left to right. Normal bidirectional printingresumeson the nextline.
Decimal Hexadecimal
27 60 IB 3C
IB 55 (KI
Manualfeed
Mode
Both
ASCII Decimal Hexadecimal
<ESC><EM><O> 27 25 0 IB 19 N
“ $’ “ “
((
Selectsmanual sheet feedingeven when the optionalautomatic sheetfeederis mounted.Ignoredif DIP switch 1-4 is ON (ASF inactive).
“o” “y’ “)”
40
40 48 41 41 28 28 30 29 29
67
I
Autofeed
Mode ASCII
Both ,,(,, ‘,(,, ,’4,, ,,),, ,,),,
<ESC> <EM> <4>
Decimal Hexadecimal
27 25 4 IB 19 04
40 40 52 4141 28 28 34 29 29
Selectstheautomaticsheetfeeder.Ignoredif DIPswitch1-4is ON
,(ASFinactive).
Ejectpaper fromASF
IModel ASCII
Borh ,,(,, ,,(,,
<ESC><EM>“R”
Ejects the currentpage. Ignoredif DIP switch 1-4 is ON (ASF inactive).
“R” “ “ “ “
))
I Decimal I Hexadecimal I
27 25 82
40 40 82 4141 28 28 52 29 29
Setprint startpositiononASF
Mode ASCII Decimal
Both ,,(,, ,,(,,
<ESC> cEM> “T” n
Skipsn/6inchesatthetopofthepage,wherenisequaltoorgreater than 1.Ignoredif DIPswitch1-4is ON (ASFinactive).
“T” “ “ “ “ n
))
27 25 84 n IB 19 54 n
40 40 8441 41 n 28 28 54 2929 n
IB 19 52
Hexadecimal
Resetprinter
Mode ASCII Decimal
Both <ESC> “@” 27 64 IB 40
Reinitializestheprinter.Clearstheprintbufferandreturnssettings totheirpower-upvalues.Doesnotcleartheinputbufferorchange ASFselections.
6a
Hexadecimal
I
chapter 5
DOWNLOAD CHARACTERS
Withthisprinteryoucancreatenewcharacter andsymbols,downloadtheir dotdata,andhavethemprintedinplaceofselectedcharactexxintheregular characterset.Charactemthatcanbegeneratedinthiswayrangefromsimple
but useful symbols like the check mark through complex Chinese or
Japanesecharacters.
Regular characten are permanentlystored in the printer’s ROM, but charactersyoudesignaredownloadedandstoredinRAMfor use.

DESIGNING YOUR OWNDRAFTCHARACTERS

Designingandprintingyourowncharactemhastwo requirements:firstly, designingtheshapeofthecharacter,calculatingthedatanecessarytomake
the shape,andsendingthat datato the printer,and secondly,sendingthe
commandto print the downloadedcharactersinsteadoftheregularcharac­ters.Thereare a numberof designconstraintsfordownloaddraft quality characters:
Thematrixorgridonwhichyoudesignthecharactersis sixboxes wide
by nineboxeshigh.
c Horizontally,dotsmaybecenteredinabox, ormaystraddlealine,making
theactualcharactergrid11dotswideby9 dotshigh.Vertically,dotscan onlybe centeredin a box.SeeFigure5-1.
Figure 5-1. Ootscan be inside boxes or straddle the vertical lines of the grid
69
.
Theminimumwidthof a characterisfivedots.
Theuser-definedcharactersmayuseeightdotsvertically.
Dotscannotoverlap—thatis,youmaynothavea dotinsideaboxnext to onethatis on aline.
Youmaydefineany positionintheASCIItable,excepttheblockgraphics areawhenyou aredownloadingin theIBMmode.
PhotocopythegridinFigure5-2tohelpdesignyournewcharacters.Wewill use a tinyrepresentationofacar-shapedsymbolforour example.
rnl m3 m5 rrr7 m9 ml I
m2 m4 m6 m8 m10
128
64 32
16
8 4
2
ASCII Code:
Descender: Left space:
Last column:
mO = Descender x 128
+ (Left x 16) + Last
1
Figure S2 Usethis grid (or one similar to it) todefine your own draft characters

Definingtheattributedata

Beforeyoustartthedefinition,youwillneedtodecideexactlywherein the regularASCIIset youwanttoplaceyourcharacters.Afterdownloading,you access your new characterby sending the code for the character you replaced.
70
mlndm5m7 m9mll
m2 m4 m6 m~ ml(l
128
64 32
16
8 4 2
I
124 66 64 76 76 0
0 4 36 2 72
Figure 5-3.Add the values of the dots in eacAcolumn and write the sum of eaeh column at the bottom
ASCII Code:
Descender: ? Left space: O
Last column: 17
mO = Descender x 128
+ (Left x 16) + Last
Next you must choosewhetherto makethe car symbolan ascenderor a descender.Thisdetermineshowthecharacteris seatedonthe line:
Ascender:
!j;I>~Ii’ Descender:CI~,,l:~:
Wedecidedthatourcarsymbolwillnotbea“descender”,soafigure“l” is writtennexttoDescenderonthegrid.Ifyour characterisadescender,write a “O”nextto Descender.
Next, you must specifythe left space and the last print column of the character. Beingableto specifythewidthof the characterallowsyouto specifythe precisearea insidethegridthat the characterwill occupy,so that narrow charactemwilllook attractivenextto wideones. Acceptablevaluesfortheleftspace areOto 7,andthelastprintcolumnare from4 to 11. Ourcharacterwilloccupyfromcolumn1to column11,so theleft spaceis Oandthe characterwidthdatais 11.
71

Assigningthecharacterdata

Now,wecalculatetheverticalnumericalvaluesof thecolumnsofdots,and enterthemunderneaththegrid.Forexample,lookingatFigwe 5-3,wesee thatintheleft-mostcolumntherearefivedots,andtheyare sittinginthe“64” box,“32’’box,“16”box,“8”box,and “4”box.Thusitsverticalvalueis 124. In the nextcolumn,thereis no dot straddlingtheverticalline; its valueis recordedas O.
Youwillseethelettersml, m2,m3,etc.,areaboveyourvalues.Whenyou definethecharacter,youwillsubstituteyourvalueforeachoftheseletters.

Sampleprogram

To demonstratehow to use the downloadcharacters,let’s use the “car” characterand someotheruser-definedcharacterstoprintasmallgraph.This programwilldojust that:
1000 LPRINT CHR$(27’) j “&”; CHR$(0) j 1010 LPRINT CHR$(60 ) ; CHR$(62 ) j 1020 FOR N=60 TO 62 1030 FOR M=O TO 11 1040 READ MM 1050 LPRINT CHR$(NM): 1060 NEXT M 1070 NEXT N 1080 LPRINT 1090 DATA 139, 2, 5, 1100 DATA 1110 DATA 139,124, 1120 DATA 36, 16, 1130 DATA 139, 46, 16, 1140 DATA 48, 1150 LPRINT CHR$( 27) ; “D” j CHR$( 11 ) JCHR$(0 ) J 1160 LPRINT CHR$(27) ; “h”; CHR$( 1 ) j 1170 LPRINT “ 1180 LPRINT CHR$( 27) ; “h”; CHR$(0) j 1190 LPRINT CHR$(27) ; “%”; CHR$( 1 ) j 1200 LPRINT “AUTOS”;CHR$(9) ; 1210 FOR I= .4 TO 9.3 STEP .4 1220 LPRINT CHR$(61 ) ; 1230 NEXT I 1240 LPRINT
0,241, 8, 5, 2, 0
0, 48,
U. S . EXPORTS”
8,241, 0
0, 66, 2, 16, 12, 0
4, 64
2, 60, 0 0, 48, 0
I
1250 1260 1270 1280 1290 1300 1310 1320 1330 1340 1350 1360 1370 1380 1390 1400 1410 1420 1430 1440 1450 1460 1470 1480 1490
LPRINT “CHEMICALS’’;U-IF?$(9) ;
FOR 1=.4 TO 8.7 STEP .4 LPRINT CHR$(60) ; NEXT I LPRINT
LPRINT “GUNS’’;CHR$(9) ; FOR 1=.4 TO 1.4 STEP .4
LPRINT CHR$(62); NEXT I
LPRINT
LPRINT CHR$(9); ’’+–-”;
SCALE$=’’–-+–-”
FOR 1=2 TO 8 STEP 2
LPRINT SCALE$; NEXT I
LpRINT II––+11
LPRINT CHR$(9); “;
FOR 1=2 TO 8 STEP 2
LPRINT
“;1; NEXT I LPRINT CHR$(27) ;“%’’;CHR$(O) LPRINT CHR$(27) ;’’S’’;CHR$(O) ; LPRINT CHR$(9);
“MILLIONS OF DOLLARS” LPRINT CHR$(27); ”T” END

DEFINING YOUR OWN NLQ CHARACTERS

As youprobablynoticed,NLQcharactersareprintedby two passesofthe printhead.Halfofthecharacterisprintedonthefirstpass,andtheremainder onthe secondpass.Thepaperisrolleduphalfadot heightinbetweenpasses to lettheprintheadprintdotsonthe secondpassthatoverlaptheprevious dots,inorderto fill inthespacesandproducedensercharacters.Addition­ally,the printhead speedis halved,andthedots areprintedatdoublethe densityof draftcharacters.Forthisreason,NLQcharacterscancontainup to 23 dotsinthehorizontaldirection.
Fundamentally,theprocessto defineandprintdownloadedNLQcharacter is the sameas for draftcharacters,exceptthatyoumust supplyaboutfour timesasmuchcharacterdata,andyoumustdesignthecharacterwiththetwo passesof theprintheadinmind.Thereamsmalldifferencesin thewaythe attributeinformationis processedalso.
In the draftqualitymodethe attributebytecarriesthe descenderdata,and specifiesthe left spaceandthecharacterwidth.IntheNLQmode,the first bit also carries the descenderdata, and the next three bits describe the character’sleft space as with the draft characters,but the last four bits describetherightspace.Appropriateallocationofdatain thesesevenbits lets you place the character where you like within the grid, with the restrictionthatthecharactermustbe at least9 dotswide.
UsethegridinFigure5-4tohelpplotthedata.Duetothetwo-passprocess, NLQcharacterscancontainupto 16dotsvertically.ml tom23arethedata forthe firstpass,andm24to m46arethedataforthe secondpass.
To makethecharacterdataeasierto calculate,putthefirstpassdotsinside theboxesonthegridwhenyouaredesigningyourcharacters,andthesecond passdots on thelines.Rememberthatadjacentdotsmaynotoverlapon the
samepass;inotherwords,ifonedotisinabox,itsadjacentdot on thesame
passmaynotbeonaline.Therefore,tomakesmoothcharacters,putthedots neededto overlapanyspacesin a characterintheappropriateplacesinthe
secondpass grid. Ifweplotourcar-shapedsymbolforNLQ,thegriddatawilllooklikeFigure
5-5. Thedefiningprocessisthesameasfordraft characters,exceptthatyoumust
selectNLQ mode,and youmustdefine46data.If youwishto printyour NLQ characterswith the regularcharacterset,the remarksregardingthe
74
simultaneoususeof regularanddownloadcharactersin thedraftcharacter sectionapplyequallyto NLQ characters.
t?ll
Ist)fI124
(
,.ni23
.,.,n146
(2nd)
]~~
64
32 16
8 4
2
128
64 32
16
mO= Descender x 128
8 4
2
1
.1St:
I
?nd:
igure 5-4. Use this grid (orone similar to it) to define your own NLO characters
ml
(Ist) fli24.. -
..m23
,...m46
(2nd)
128
128
64
64
32 16
8
4
2
I
Ist: 74 38 70 70 726 0 0 0 9
76 7 1 0
2nd: 28 74 ?4 74 724 0 64 32 76 0 0 0
32 64 0 0 0
0 70 38 22 6 6 6
72 72 74 14 74 72
980
32
16
8 Right space: O
4
2
1
ASCII Code: Descender: Left space: Right space:
+ (Left x 16) + Right
ASCII Code:
Descender: 7
Left space: O
mo = Descender x 128
+ (Left x 16)
Igura 5-5.Add the values of the dots in the boxes tlrst, and men add me vatue on me Imes
chapter 6
MS-DOS AND YOUR PRINTER
WhenusingyourprinterwithanIBMPC,PC-XT,orPC-ATorcompatible, youwillprobablybeusingPC-DOSor MS-DOSasanoperatingsystem.A numberofsoftwaretricksmaybeusefidhere.Thischapterisnot,however, asubstitutefortheoperatingsystemmanualssuppliedwithyourcomputer.
To learnhowto printffles,etc.it is bestto readthe relevantpartsof these
manuals.
INSTALLING APPLICATION SOFTWARE WITH
YOUR PRINTER
Wheninstallingapplicationsoftware,youmayfindthatyourprinterisnot specificallymentionedin the lists of pnntemgiven for installation.How­ever, this should pose no problem. Read this section, and guidelines providedwithyoursoftwareon printerinstallation.
Ifyouhave yourprintersetup in standardmode,thenchooseanEpsonFX-
1050or EX-1OOOas yourprintertobe selected. If neitherofthesea~ mentioned,choose one of thefollowing(inorderof preference):StarNR-10/15,StarND-10/15,EpsonFX86e,EpsonFX286e.
If youhaveyourprintersetup withthe DIP switchesto emulatean IBM
PropnnterXL, simplychoosethisfromthelistof printerxavailableinthe
applicationsoftwarelist. If theIBMProprinterXLis notmentioned,useProprinterII orPropnnter.
Ifyoursoftwarepackagedoesnotmentionpnntembyname,butasksinstead whatfeaturesyour printeris capableof,the mostcommonquestionsare: “Canyourprinterperformabackspace?”and“Canit do a hardwareform feed?”.Youshouldanswer“Yes”toboth thesequestions.
Othersoftwarepackagesmay well allow you to install specificfeatures. Spreadsheetprogramswilloftenaskforthemaximumnumberof columns to be printed.Thisisgivenbelow.
Numberofcolumns
CPI Pica 10 136 Elite
12 163 Condensedpica 17.1 233 Condensedelite Proportional
20 272
Variable
Sometimesthe software installationwill ask you for an initialization sequenceto returntothedefault settings.Thecommandforyourprinteris <ESC>(Q.
Make surethattheDIP switchesaresetfortherightprinteremulation,and thatyouhaveselectedtheappropriatecharacterset usingtheDIPswitches. Ifyouareindoubtabouttheconfigurationofyourapplicationsoftware,seek expertadvice.Yoursoftwaresupplierwillprobablybe yourmost conve­nientreference.

EMBEDDING PRINTER COMMANDS

Many word-processorsand other softwarelack commandsfor changing typestyle,orprintingdouble-sizecharacters,andsomedonotevensupport
boldprintingor italics.Yourprinterthereforehas commandsthatcanbe embeddedin documentsto controlthesefimctionswithoutsoftwarehelp. The commandsconsistof a capitalletter enclosedin doubleparentheses,
followedby a digit:
Typestyle(Font):
Size:
Bold:
Italic:
((m)o
((n)l ((n)z ((m)3 ((m)9
((s))0
((s))1
((s))2 ((s))3
((B))O ((B))l
((1))0 ((1))1
Courier Sanserif Oratorwithsmallcapitals Oratorwithlowercase
Draft
Standardsize Doublewidth Doubleheight Doublewidthandheight
Non-bold Bold
Non-italic Italic
I
If you wantto printa title in double-sizeOratorwith smallcapitals,then changetoregular-sizeCourierforsometextthatincludesitalics,youcanuse thesecommandsasfollows:
Fileas seenon computerscreen:
( (F) ) 2 ( (S) ) 3
Printer Commands
( (F) ) O ( (S) ) O
Type style, size, bold print, and
( ( I ) ) 11ta 1i c ( (I ) ) Ocorrunands can be embedded (( I))lanYwhem ((l)}Oln a document.
Printout:
PRINTER CCIMP4AND:3
Type style, size, bold print, and
1ta 1ic commands can be embedded
anywhere i n a document .
Whenyouusethesecommandsthereareseveralpointstonote:
Thetypestyle((F))anditalic((I))commandsareignoredifthe (~) buttonwashelddownwhenpowerwasswitchedon.
The boldcommand((B))1givesdouble-strikeprinting.Indraftmodeyou may preferto use emphasizedprinting,whichrequiresa softwarecom­mandor escapesequence.
A lineconsistingof commandsaloneprintsasa blankline.
Softwaredoes not know that these commandsare commands,so you cannottrustyoursoftwaretogiveyouthecorrectlinewidth.Theprinted linemaybe considerablyshorterthanthelineonthescreen;themissing
spaceisthe spacethat wasoccupiedby thecommands.
Onewaytohandlethelastproblemistoprepareyourdocumentwithoutthe commands,theninsertthemasa finalstep,withthemarginsreleased.The
find,replace,andcopy functionsofword-processingsoftwarecanbehelpful
here.
Ifyoudonot usethesecommandsorthepanelcontrols,theprinterwillprint standard-size,draft,non-bold,non-italiccharacters.
79
Theprintersupportsvariouscommandsin additionto the above,such as quadruple-sizeprinting. Most of theseothercommandsconsistof theescapecodefollowedbyone or morelettersornumbers.
Ifyoursoftwareenablesyoutoplace theescapecodeinyour files,orif you wereable to definethis as a user optionduringinstallation,you can also
embedthese escapesequences.

PROGRAMMING THE PRINTER WITH DOS COMMANDS

If yoursystemincludesthe file PRINT.COMyou can use the main DOS printingcommand.SimplytypethewordPRINTfollowedbythe nameof the file you want to print. To print a file named README.DOC,for example,type:
k )PRINT
The computermay printertouse:
Name of
If your computerisconnectedtoonlyone printer,pressRETURNtoselect the default choice (PRN). Printing will begin and the A> prompt will reappear.You can executeothercommandsor programswhilethe file is beingprinted.
A single PRINTcommandcanprinttwoor morefiles.Listthe filenames consecutivelyonthe sameline,or usewild-cardcharactem(* and?). Each filewillbe printedstartingon anewpage.ThePRINTcommandalsohas controloptions.For example,youcan terminateaprintingjob in progress withthen option. (Theprintermay notstopprintingimmediatelyitmay haveconsiderabledatastoredaheadinits buffer.)Forthe/T option,type:
A)PRINT/T
SeeyourDOSmanualforfurtherinformationaboutthePRINTcommand. If yoursystemdoesnotincludePRINT.COM,youcanprintfilesby using thePRNdevicenamein COPYorTYPEcommandssuchasthefollowing:
A>COPY README. DOC PRN
A>TYPE README.DOC >PRN
README.DOC
respond with the followingmessage, asking which
1ist device [PRN] :
80
I
COPYandTYPEdonotpermityoutoexecuteothercommandswhilethe fileis printing.
Ifyouwantaparticularfont style,orpnnt pitch,youcanmake thesesettings fromthe controlpanelbeforeyoustartprinting.See Chapter2.
IfyouprintfromtheDOScommandlevelveryoften,itwillbeadvantageous tocreateaprintersetupfile.Theninsteadof settingfontstyleetc.manually each time,you can completethe setupwitha singlecommandfromyour computer.Forexample,you can createafile containingprintercommands toselectnearletterquality,andselectelitepitch.Youcanfindthecommands
in Chapter4. Wesuggestthefollowing:
Nearletterquality
Elitepitch
<ESC> <ESC> . <1>
“X” “l”
66199
<ESC>“!”cl> is a powerfidcommandthat,in additionto selectingelite pitch,cancelsunwantedfeaturessuch as underliningwhichmightbe left from previous commands.The angle brackets around the cl> indicate charactercode 1,whichis a controlcode,nottheprintabledigit” l“.
Youmay wantto placeadditionalcommandsin thisfile,suchasleft and rightmargins,line spacingandbottommargincommands.Oryoumaywant to createa varietyof setupfileswitha differentsetof commandsin each.
To avoidexcesslinefeeds,youshouldplacethecommandsononelinein thesetupfile.Youmayormaynotbeabletogenerateasetupfilewithword­processingsoftware;it dependson whetheryour softwarelets you enter
controlcodes.If yoursystemincludesthefileEDLIN.COM,however,you caneasilycreateasetupfilewiththe DOSlineeditor.
AnappropriatenameforthissetupfilewouldbeNLQELITE.DAT.Touse the DOSlineeditor,typethecommandEDLINNLQELITE.DAT,thentype theunderlinedpartsofthefollowingdisplay.PressRETURNattheendof eachline.Don’ttypethesymbol“A”.ThissymbolmeanstoholdtheCTRL keydownwhilepressingthenextkey:forexample,‘VmeanstotypeCTRL-
Ac mem5 t. typ CTRL.C, whichindicatestheendoftheinPut.
V.
A>EDLIN NLQELITE .~ New f i le
*1
.
*EJ
1 : *“~ [xl ‘V [ ‘
‘2 ; *“c
L—
‘VA
‘V indicatesthatthe followingcharacteris a controlcode.*V[entersthe <ESC>code.<ESC>hascharactercode27,and“[”isthe27thcharacterin ASCIIsequencefromA. Similarly,‘VA entersthecontrolcode<1>.See yourDOSmanualif youneedt%rtherinformationaboutEDLIN.
Youcannow setuptheprinterby sendingit thefileNLQELITE.DAT.To avoidunnecessaryloggingofcommands,switchhard-copyoutputoff (by
pressing(TIllL-PRTSCifhardcopy ison).ToprintthefileREADME.DOC
in NLQelitetype,givethefollowingtwocommands:
A>COPY NLQELITE . DAT PRN A>PRINT RIZADME.DOC,
Forgreaterconvenienceyoucanmakeabatchfilethatwillsetup theprinter
andprintany specifiedfilewitha singlecommand.Tocreatesuchabatch
filewiththenameNLQPRINT.BAT,typeinthefirstfourlinesshownnext.
AZ me~s t. pIWStheCTRLandZkeyssimultaneously.TO usethisfiletO
printREADME.DOC,typethe fifthline.
A)COPY CON NLQPRINT . BAT COPY NLQELITE . DAT PRN PRINT %1
“z
A>NLQELITE README.DOC
Thefirstaboveline is a copycommandfromthe CONsolescreento a file namedNLQPRINT.BAT.Thenexttwolinesarethecontentsofthisfile.The %1is a dummyparameter:whateverfilenameyoutypeafterNLQPRINT willbe substitutedfor%1 andprinted.

PROGRAMMING WITH BASIC

As an exampleof programmingtheprinter on Microsoft BASIC,wehave
listed the program for the IBM-PC.~is program runs in the printer’s
Standardmode,and thedownloadablecondition(DIP switch 1-6ONand DIP switch2-1OFF).
1000 ‘
1010
1020 D$=E$+“x’’+CHR$(O)
1030 N$=E$+ “x’’+CHR$(1)
1040 C$=E$+“kO“+N$ 1050 S$=E$+“kl“+N$ 1060 Ol$=E$+”k2“+N$ 1070 02$=E$+“k3’’+N$ 1080 H$=CHR$(9) rHorizontal tab
Set contro 1 codes
E$=CHR$ ( 27)
82
————..—————-—-————-.-——..———————————
‘Escape code
4
Draft quality
‘Near letter quality
‘Courier characters ‘Sanserif characters ‘Orator with sma11 caplta1s
Orator with 1ower case
1090 P$=E$+”P” 1100 ‘ Start printing
———————————-————-—..—-.———_.-———.——-..-———
‘Pica pitch
1110 WIDTH “LPT1:“,255 1120 LPRINT E$;’’D’’;CHR$(3);CHR$(25);CHR$(0)
LPRINT c$; “Type styles are: “
1130
1140 LPRINT H$;D$;’’Draftcharacters,”
1150 LPRINT H$;C$;
“Courier characters,”
‘Set HT
1160 LPRINT H$;S$;”Sanserifcharacters,” 1170 LPRINT H$;Ol$;’’Oratorwith small caPitals, or” 1180 LPRINT H$;02$;” 1190 LPRINT E$;’’4”;
with lower case characters,”
‘Select italics 1200 LPRINT H$;02$;’’and“;Ol$;’’italics “;S$;’’for “; 1210 LPRINT C$;’’all“;D$:’’styles.” 1220 LPRINT E$;”5°
‘Cancel italics 1230 LPRINT C$;“Print pitches are:“
1240 LPRINT H$;P$;
“Pica pitch (10 CPI),”; 1250 LPRINT H$;E$;’’Fl’’Eliteitepitch (12 CpI),“ 1260 LPRINT H$;CHR$(15); ‘Condensedpitch 1270 LPRINT P$;’’Condensedpica pitch (17 CPI).”; 1280 LPRINT H$;E$;’’M’’Condensedsedelite pitch (20 CpI),”;
1290 LPRINT P$;
1300 LPRINT CHR$(18) 131o LPRINT H$;E$;”P1”;
‘Pica pitch ‘Cancelcondensed print
‘Selectproportionalspacing 1320 LPRINT “proportionalspacing for all pitches,” 1330 LPRINT E$;’’PO”
‘Cancelproportionalspacing 1340 LPRINT H$;E$;”W1’’;’’Expanded,“;E$;’’WCI”; 1350 LPRINT H$;E$;’’wl’’Doublebhei9ht9ht,“;E$;’’wO” 1360 LPRINT H$;E$;’’h’’;CHR$(l);“Double-sized,“ 1370 LPRINT H$;E$;“h’’;CHR$(2);
1380 LPRINT E$;’’h”;CHR$(O)
“Quad–sized. “;
1390 LPRINT :LPRINT 1400 LPRINT E$; UQ”;CHR$(49)
‘Set right margin 1410 LPRINT C$;UVarious line and character spacings:” 1420 LPRINT E$; ’’al” ~
‘Centertext 1430 FOR 1=1 TO 7 1440 LPRINT E$; ’’A’’;CHR$(I); 1450 LPRINT E$;” “;CHR$(I);
‘Set line spacing
‘Increase character space 1460 LPRINT “THE SPACINGS ARE CHANGED” 1470 NEXT I 1480 FOR 1=7 TO 1 STEP –1 149o LPRINT E$;’’A’’;CHR$(I); 1500 LPRINT E$;” “;CHR$(I);
1510 LPRINT “THE SPACINGS,ARE CHANGED” 1520 NEXT I 1530 LPRINT E$;’’aO”
‘Left justify
1540 LPRINT E$;’’3’’;CHR$(36);‘Set 1/6” line sPacin9 1550 LPRINT E$;” “;CHR$(0);
‘Normalcharacter space 1560 LPRINT :LPRINT 1570 LPRINT C$;“Other features:“ 1580 LPRINT H$;E$;’’E’’Emphasized”ed”;E$;’’F’’;”,“; 1590 LPRINT E$;’’G’’Doublebstrikeuke”;E$;’’H’’;”,“; 1600 LPRINT E$;”–l”;“Underlining’’;E$; “–O”;“,“ 1610 LPRINT H$;E$;”–l’’;’’0verlinin9”;E$;’’-;”,;”,“;
1620 LPRINT E$;’’SO’’SUPERSCRIPT”PT”;E$;’’T”;”and “; 1630 LPRINT E$;”SI”;”SUBSCRIPT”;E$;”T”
1640
GOSUB 2100
1650
LPRINT H$;C$;’’Downloadcharacters: “;
1660
LPRINT D$;E$;”%l”;
1670
FOR 1=1 TO 5
1680
LPRINT CHR$(60);
1690
NEXT I
1700
LPRINT D$;E$;’’%O”; ‘Selectnormal character
1710
GOSUB 2180
1720
LPRINT C$;E$;”%l”;
1730
FOR 1=1 TO 5
1740
LPRINT CHR$(60); NEXT I
1750
1760
LPRINT D$;E$;“%0” ‘Selectnormal character
1770
LPRINT H$;C$;’’Variousdot f
1780
DIM LOGO$(4)
1790
RESTORE 2370
1800
FOR ROW=l TO 4
1810
FOR COL=l TO 65
1820
READ DG LOGO$(ROW)=LOGO$(ROW)+CHR$
1830 1840
NEXT COL
1850
NEXT ROW
1860
LPRINTE$;’’A’’;CHR$(8); ‘Set 8/72” line spacing
1870
FOR ROW=l TO 4
1880
LPRINT H$;” “;
1890
FOR B=O TO 4
1900
IF B=2 THEN 1940
1910
LPRINT E$;’’*”;CHR$(B); ‘Selectdot grapgics mode LPRINT CHR$(65);CHR$(0);LOGO$(ROW);
1920
1930
LPRINT “ “;
1940
NEXT B
1950
LPRINT
1960
NEXT ROW
1970
LPRINT
1980
FOR ROW=l TO 4
1990
LPRINTH$; ” “;
2000
FOR B=5 TO 7
2010
LPRINT E$;”*’’;CHR$(B);
2020
LPRINT CHR$(65);CHR$(0);LOGO$(ROW);
2030
LPRINT “ “;
2040
NEXT B
2050
LPRINT
2060
NEXT ROW
2070
LPRINT E$;”@”
2080
END
2090
‘ SUBROUTINES ––––––––––--–––-––––--––––––––-––-––-––
2100
t Define draft download character ––--–––––-––––––––––
2110
LPRINT D$;E$;’’&’’;CHR$(O);CHR$(60);CHR$(60);
2120
RESTORE 2280
2130
FOR M=O TO 11
2140
READ MM
2150
LPRINT CHR$(MM);
2160
NEXT M
2170
RETURN
‘Selectdownload character
‘Printdownloaded character
‘Selectdownload character ‘Printdownloaded character
raphic densities:“
DG)
.
‘Selectdot grapgics m,ode
‘Initializeprinter
2180 ‘ Define NLQ download character ––––––-–-–––-–-––––––
84
I
2190 LPRINT C$;E$:’’&’’;CHR$(O):CHR$(60);CHR$(60); 2200 RESTORE 2310 2210 FOR M=O TO 46 2220 READ MM 2230 LPRINT CHR$(MM); 2240 NEXT M 2250 RETURN 2260 ‘DATA ---––––––––––––––––-–-–-–––--–-–––––-––-–––––– 2270 ‘ 2280 DATA 139,124, 2290 ‘ 2300 ‘ 2310 DATA 128, 14, 16, 38> 2320 DATA 70, 2330 DATA 28, 32, 14. 64, 14, 2340 DATA 64, 12, 32. 14, 16, 14, 2350 ‘ 2360 ‘ Dot graphics 2370 DATA O, 0, 0, 0, 1, 3, 7, 7, 2380 DATA 14, 14> 14> 7, 7. 3, 2390 DATA 0, 0> 6, 7, 7. 7, 7, 7. 7, 7. 7, 6 2400 DATA 6, 0, 0. 7, 7. 7, 7> 7. 7, 7. 7, 7 2410 DATA 7. 7> 0, 0, 7. 7, 7, 7, 7, 7, 7. 7 2420 DATA 7, 7, 0, 0, 0 2430 DATA O, 2440 DATA 7. 7, 3, 3. 2450 DATA O, 0, 0>
2460 DATA 0, 0, 1,
2470 DATA 0, 0> 0, 1,
2480 DATA O, 0, 0, 0, 0
2490 DATA 2500 DATA 224,224,224>240,255,255,255.255,255,127, O, 0 2510 DATA O, 0. 0, 0, 2520 DATA 15, 63,252>240,192, 2530 DATA 2540 DATA 0, 0, 0, 0, 0 2550 DATA 2560 DATA 56,120,120,240>240.224,224,192,128, 0, 0, 0 2570 DATA 0, 0, 0. 0, 0, 2580 DATA 192, 0, 0, 0> 0, 2590 DATA 192, 0, 0, 0, 0> 0> O) 0/ 0> 0. 0. 0 2600 DATA O, 0, 0, 0, 0
Draft download character --–––––––––––--––––––––––––
NLQ download character ––––––––––––––––––––––––––––
o, 31, 31,
7, 15,127,252,240,192, 0, 0, 0, 0, 0, 0 0,248,248,240,224,224,112,112, 56, 56, 56, 56
0, 66, 4, 64, 36, 16, 2, 16, 12, 0
0, 38, 0, 22, 9, 6, 9, 6, 8, 6, 0
1, 70,
—————————-----———————————————————--———
0, 60,255,255,255,255,255,143, 15, 7, 7
3,131,193,241,240,240, 0, 0 0,224,255,255,255,255,255> 31> 0 3, 31.255,255,255,255,255,255, 1
7, 31,255,252,240,192,128. 0 3,129,128,192,192,192.192,192.224
0,192,255,255,255,255,255. 15
1, 70,
0, 14,
0, 14, 0, 12, 0
3, 15, 15, 15, 0, 0
0,240,255,255,255,255,255
0,128,248,248,248,248,240 0,240,248,248,248,248>240
0,126, 0, 0
0,124, 0, 0, 12
7, 15,
14, 14
85

Howtheprogramworks

ThisprogrambeginsbyassigninganumberofprintercommandstoBASIC stringvariables(lines1000to 1090).Youcanfindmostofthesecommands nearthebeginningof chapter4.
TheWIDTH“LPT1:”255statementinline1110meansinfhite linewidth. It preventsthe IBM-PCfrominsertingunwantedcarriagereturnsand line feedsin graphicsdata.
Actualprintingbeginsinline 1120.Usingthepreassignedcommands,the programprintssamplesofitsdifferentfontstyles,includingalineshowing all stylesin italics,followedby samplesof the print pitches,then some double and quadruple-sizedprinting.
Next comesthe centralattractionof the program:a line of text printed fourteentimesinexpandingandcontractingloopstogiveabarreleffect.The workisdonebyfourprintercommands:acommandsettingtherightmargin (line1400);acenteringcommand(line1420);acommandto varythe line spacing(lines 1440and 1490);and a commandto micro-adjustthe space betweencharacters(lines 1450and 1500).
Nextthe programreturnstonormalspacingandgivesademonstrationofthe
printer’sword-processingabilities:boldprinting,underlining,subscripts,
etc.
Therowof automobilesin thenextprintedlineis createdby downloading twonewcharacterpatterns,whichareprintedinplaceof thecharacter“<”
(character60).Detailscanbe foundin Chapter5.
The finalpartof theprogramusesdotgraphicsto printsome“SW”logos withvariousdensities.Thedotpatternofthelogowasoriginallylaidouton graphpaper,thenconvertedtothedatainlines2370to 2600withthehelp of acalculator.Eachnumberrepresentseightverticaldots.(See“Graphics commands”in Chapter4 for details.)
Thepatternisprintedinfour rows,eacheightdotshighand65 dotswide. Lines 1800to 1850read the dot data into a string array variablenamed LOGO$.Line 1860setsthelinespacingto 8f12inchso thatthe rowswill connectvertically.Theloop in lines 1870to 1960doestheprintingin four passesoftheprinthead.
86
Type sty 1es are :
,..
:,i:.~;:,,;::~. (::.i;;,,...(;,;.::.:,,..,~,.::?
Courier characters , Sa nse r if char-acte rs ?
ORATOR WITH SMALL CAP ITAI. S, OR
...+
wi t h 1 @wer case characters,
and -rTA[.T[;S
Print P itches are :
Pi cci pi
t.ch ( 1Cl CF’1) ,
Condensedp]cap]tch(17CPII,
propor-tionil spacing for all pitches,
Various line and character spcicinqs:
Fat- a II v;:~..,:F .,.
El it-e pitch [12 CPI) ,
Condensedelitepitch(20CPII,
CIttier features:
87
I

ModificationsforIBMmode

Thisprogramcan alsobe run in IBMmode (DIPswitch 1-6OFF’)if you changeafewofthelinesasshownbelowto allowfordifferenceinsomeof the commands.Youwillgetacylinderinsteadofabarreleffect,becuasethe IBM mode does not have any commandto micro-adjustthe character spacing.
P$”CHR$(18)
1090
LPRINTCHR$(28) ; “4”;
1190
LPRINTCHR$(28) ; “5”
1220
‘ LPRINTH$;E$;
1280
LPRINTCHR$(28) ; “Q”;CHR$(49)
1400
LPRINTE$;“A”;CHR$(I ) ;E$;“2”;
1440
‘ LPRINTE$;“ “;CHR$(I ) ;
1450
LPRINTE$;“A”;CHR$(I ) ;E$;“2”;
1490
‘ LPRINTE$;“ “;CHR$(I ) ;
1500
‘ LPRINTE$;“ “;CHR$(0) ;
1550
LPRINTE$;“A”;CHR$(8) ;E$; “2”; ‘Set 8/72” 1ine 8PacincJ
1860
“M”;
‘Pica pitch ‘Select italics ‘Cancel italics
“Condensed elite pitch (20 CPI) , “;
‘Set right margin
‘Set 1ine spacing
‘Increase character space
‘Normal character space
83
chapter 7

TROUBLESHOOTING

AND MAINTENANCE
Thefollowingsectionontroubleshootingandmaintenanceis intendedonly
Ma briefguideto thesefunctions.Rememberthatyourprinteris a highly sophisticatedelectronicdevice,whichalsocontainshighvoltageinside.For
thattwcison,onlycarryoutthoseoperationsdescribedin thischapter.
CAUTION:
Anyattempttocarryoutoperationsotherthanthosedescribed heremayresultinelectricshockand/ordamagetotheprinter. Whencarryingoutanyrepairsormaintenance,alwaysfollow theinstructionscarefully.
TROUBLESHOOTING
Yourprinteris a reliablepieceof precisionmachinery,whichshouldnot causeyouanytrouble,provideditisusedandtreatedsensibly.However,the few elementarytipsbelowshouldavoidyouhavingto makeunnecessary servicecalls.The followingtablegivesyouideason whereto lookin this sectionif youexperiencefaults:
Regionoffault Powersupply Printing
Paperfeeding
Remember-itisbetternottoattemptoperationsorrepairsaboveyourlevel of competence.Otherwise,youruntherisk of damagingtheprinter.
Description
Power is not king suppliedtotheprinter
Theprinterdoesnotprin~orstopsprinting Theprintisfaintoruneven Dotsare
Whileusingapplicationsoftware,fontsorcharacterscannotbeprinted Theprintoutisnotwhatis
Single sheets do not feed properly (without
Continuouspaperdoesnotfeedproperlywiththetractor
The Paper park (switching between continuous paper and cut sheets) is not
working properly
Text is being printed all on one line, or with extra blank lines Page length and margin settings are not what is expected.
missing incharactersorgraphics
expected when ruining a program
ASF)
feed
ASFisnotoperatingor is not feeding paper properly
89
I

Powersupply

If the POWER indicatordoesnotilluminate,checkthe following:
Check Is the power cable properly
plugged into the electrical outtet?
Is power being supplied to the outtet?
Is theprintervoltage correct?
Possible remedv
Turnoffthe@nter,ensure the power cable is securely
connected, and then turn the printer back on.
Turn off the printer, unplug it, and try with another
appliance to determine if electricity is being supplied to that outlet.
Check the bottom panelof your printer toensurethat the outletvoltagecorresponds tothevoltagerequiredby the printer. If theydonot match, DONOT try to operate the minter. Contact vour surmlier.

Printing

If yourprinterdoesnotprint,orsuddenlystopsprinting,checkthefollow­ing:
Check Is the interface cable con- Check both ends of the cable - printer and computer to
nected securely? Is the ON
minated? Is the
flashing?
Is the paper caught up inter­nally?
Is the ribbon caught up around the print head?
Is the software you are using properly installed for your printer?
Can the printer perform self-
test operations?
LINEindicator itlu-
POWER indicator
Possible remedy
make sure that the connector is firmly in position.
IfitisnoCpress the~ on-line.
If it is, the paper has run cut. Load more paper.
Turn off thepower, remove thej tumontheprinter, andcontinueprinting. Make sure that the leading edge of the paper is smooth and uncreased.
Turn off the power, remove the ribbon, retensionit, and replace it. This problem occurs most frequently with a worn ribbow so you may need to replace the ribbon.
Check the installation settings in your software, andre­install if necessary.
Tum the printer off, and turn it on again, holding down one of tie buttons to perform a self-test. If these donot work, contact your dealer.
ONLINE >buttontosettheprinter
ammedpaper, replace,
I
90
If theprintis faint,oruneven,checkthefollowing:
Check Possible remedy
Istheribbonproperlyin-
Checkandreinstallifnecessary.
Is the ribbon worn out? The ribbon has a long life, but eventually will need
1-”-
replacing. Fit a new riblxm cartridge if necessary.
Ifdots aremissingin theprinting,checkthe following:
I Check I Possible remedv
Are dots missing at random in the printing? up. Stop printing, remove the ribbon cartridge, reten-
Is a line of dots missing con- The print head is damaged. Stop printing, and contact sistently throughout the your supplier for anew print head. printing?
The ribbon has become slack causing it to get caught
sion and replace it.
If your applicationsoftwarecannot print the fontsor charactersselected, checkthefollowing:
Check Possible remedy Is your application software Check the software installation, andre-install the soft-
properly installed? Are fonts not being selwted
properly? martds necessary for font changes into the software. Are characters other than
those expected being Set (reset with DIP switches or software axnrnands), printed? or you have the wrong character set selected (for
ware if necessary. Check the software installation+ and insert the com-
Either you we usingthe WrongInternational Character
example if characters other than IBM block graphic characters are being printed). Correct this with DIP switches or the appropriate softwue sequences.
I
If the printoutis not whatis expected:
Check Is the printer installed cor-
rectly?
Is the printer not printing anything that youare expect-
~g?
Possible remedy Your software may think that it is driving a different
emulation to theone actually set. Check the DIP switch settings to make sure you have the right emulation.
Use the Hex Dumpmode toanalyze the output from the computer to the printer. This will enable you to deter­mine that the right escape sequences, etc are being transmitted.
91
Loading...