Thismanualis organizedintonine chapters.Tolearnhowtomakethebest
useof yourprinteryouareurgedtoreadthroughchapters1through3.The
remainingchaptersmay be treatedas a referenceguidefor programming
operations,etc. It assumesa degreeof knowledgeof the operationof
computers(forinstance,itassumesyouknowabouthexadecimalnumbers).
Thechaptersare as follows:
Sincethe PC or PC-AT family of computersnmningunder MS-DOSis
currentlythe most popularconfigurationof microcomputer,we have includedafewhints andtipsto helpyouuseyourprinterwith suchsystems.
SincevirtuallyallPCsaresoldwithaMicrosoftBASICinteqxeter,wehave
also included some hints, and a sample program in this language to
demonstratethecapabilitiesof theprinter.
Thisprinterhas a fullcomplementoffeatures,makingitanexcellentpartner
for a pemcmalcomputer.It supportsthe IBM/Epsonprintercommandsand
charactersets,enablingit to pMt just aboutanythingyourcomputercan
generate,bothtextandgraphics.Someofitsmainfeatms ruethefollowing:
● Versatilepaperhandling
Singlesheets,fanfold forms, and multi-pm forms (up to 5-ply) rue all
accepted,andyoucanuseeitherpush@l tmctoror frictionfeed.(Youcan
load fanfoldforms fium the rear with push tractor,or fanfoldformsand
multi-pan forms fmm the bottom with pull tractor.)A special feature
enablesyou to keep fanfoldformsparkedin readinesswhileprintingon
other paper.
● Six bright colors
MageM cyan,violet,yellow,orange,and~nadd a colordimensionto
yourprintedoutputby the colorversionprinter.
(Romm SanSerif,Courier,Pmtige and Script),italicsfor all styles,plus
condensedprint,bold print,double-sizedpnn~ and quadruple-sizedprint.
● Extensivesoftwaresuppofl
Sinceit is compatiblewiththeEpsonandIBMprintm, it workswithany
softwruethat supportsthoseprintem.That includesmost woti-pmcesdng
and graphicsprograms,spread-sheets,and integratedsoftwarepackages.
. Easy operation
Indicatordisplaysand beep tonesprovideimmediate,easy to understand
feedbackwhenyoup~s thebuttonsonthecontrolpanel.Thefivebuttons
can operatein combinationsto performa suqxisingvarietyof functions,
including micm-alignment.
● Easy care and maintenance
The ribboncartridgecan be replacedin secondsthe print head in a few
minutes.
Supplyitwith“clean”electricity.Donotconnectittothesamecircuitas
a large,noise-producingappliancesuchas a refrigerator.
●
Make sure the line voltage is the voltage specified on the printer’s
identificationplalc.
✎
To disconnecttheprintertheplug hasto be disconnectedfromthe wall
socket,whichhastobe locatedcloseto theprinter,andeasyto access.
●
Installthe printerwherethereis sufficientroomfor the paper and any
paperbeingfedin orprintedout.
●
Ifyouareconnectingyourprinterwithaparallelcable,makesurethat the
cableis within2m (6ft)of the printer.An RS-232connectionusingthe
optionalSPC-8Kinterfacecan bemadeoverlongerdistances.
1
UNPACKINGAND INSPECTION
Checking the carton contents
Nowunpackthe contentsofthe shippingcarton,andcheckeachiteminthe
boxagainstFigure1-1tomakesumthatyouhaveeverything(thereshould
be six items).
5) Ribbon cartridge, and 6) Manual set (User’s manual, User’s guide and Sticker).
2
The optionalaccessorieswhichyoumayhaveorderedwithyourprinterare:
● Fontcartridges(FC-lZ, FC-2Z,FC-3Z,FC-4Z)
● RAMcartridge(RC-32Z)
● Serial-Parallelconverter(SPC-8K)
● Automaticsheetfeeder(SF-1ODQ)
. Rollpaperholder(RH-1OZ)
Identifying printer parts
Make an external inspectionof the printer. Note the locations of the
followingpartsin Figure 1-2.
I
I
Figure 1-2.The printer’s external psrts
Roller unit:
Releaselever:
holds the paperagainstthe platen.
releasesthe platen.Thislevermustbebackfor
single sheets,andforwardforfanfoldforms.
Top cover:
Rear cover:
Entry slot:
Control panel:
Power switch:
protectsthe printheadandotherinternalparts.
protectsthetractorfeedmechanism.
for insertingsinglesheetsof paper.
controlsvariousprinterIimctions.
turnspoweron andoff.
Interface connector: for connectingthecomputerto theprinter.
3
SEITING UP
Placethe printerin the desiredlocation,andremoveall packingmaterial
from insidethe top cover. This packingmaterialis intendedto prevent
damagetotheprinterwhilein transit.Youwillwanttokeepallthepacking
material,alongwiththe printercarton,incaseyouhavetomovetheprinter
to anewlocation.
Mounting theplaten knob
Theplatenknobispackedintoarecessof thepackingmaterialwhichheld
your printer inside the carton. Be sure to remove the knob from the
packaging.
Mountthe knobontheplatenshaft,whichis ontheright-handsideof the
printer.Rotate the knob on the shaft beforepushingthe knob fully into
position.
P1.itenhnob
F/gun?1-3. Mounting the platen knob
Installing the ribbon cartridge and the roller unit
Removethetopcover by liftingupthefront(usingthe twogripsoneither
1. Turnthe tensionknobclockwiseonthe ribboncartridgeto tightenthe
ribbonifit is slack.
2. Guidethenbbonbetweenthepnnthead andthesilverprintheadshield,
making certain that the spindleson the cartridgeholder fit into the
socketson the cartridgeitself.
NOTE:Remount the cap on the comcctor cover if you do not use the
optionalcartridge.
8
Connecting the printer to your computer
Connect the printerto your computerusing a standardparallelinterface
cable.OnaPCorPC/AT-typecomputer,thismeansthatyouusethe25-pin
D-typeconnectoratthecomputerend,andtheAmphenol-type36-pinconnector at the printer end. The configurationof the printer’sconnectoris
given in Chapter 8 shouldyou need a cable for connectionto another
computer.
If youneedto comect to a serialport,usetheoptionalSerial-Parallelconverter,SPC-8K.
1
Figure 1-9.Connecting the interface cable
Plugthe printerintoasuitableoutlet.However,DONOTturnonthepower
switchatthefrontof the printeryet.
NOTE: To disconnecttheprintertheplughastobedisconnectedfromthe
wanttoprinttowardsthebackoftheprinter.Gentlypushthepaperdown
in theguidesuntilyoufeelit stop.
Nowpressthe(
6.
sE&~+cT
)button.Thepaperwillbefedintotheprinter
andadjustedpasttheprintheadto a positionreadyforprinting.
Ifyouwanttosetthepapertoadifferentposition,setthepnnteroff-line
5. Turn theplatenknobclockwiseuntilthefrontedgeof the papercomes
outfromunderthetop cover.
6. If the paper is not straight, move the release lever forward, then
straightenthepaperby hand andmovethereleaseleverback.
12
I
LOADING AND PARKINGFANFOLD FORMS
Fanfold forms have holes alongthe sides and perforationsbetween the
sheets.Theyare also calledsprocketforms,punchedforms,or just plain
“computerpaper”.Thisprinteracceptsformsupto 10”wide.Thissection
willtakeyou throughtheproceduresfor loading,parkingandunparking
fanfoldforms.
NOTE:To get good line-feeding,put l-inch space (non-printingarea)
the clamp lever at the back of each unit to release and lock them in
position.Whentheclampleverisup,theunitisreleased,andwhenitis
down,theunitislocked.
Nowclosethetractorcovers,againmakingsurethatthepaperholesare
10.Turnonthepowerusingtheswitchlocatedatthefrontoftheprinter.The
printerwillbeep,indicatingthatthepaperis not yet fullyloaded.The
orange
11.Nowpressthe c
POWER indicatorwill alsoflashto confirmthis.
s.pd~c,
>button.Thepaper willbefedandadjusted
pastthe printheadto a positionreadyforprinting.
12.If youwanttosetthepapertoadifferentposition,settheprinteroff-line
by pressingthe<
ON LINE
button,then set the paper by using the
]
micro-feedfunction.(Fordetails,referto Chapter2.)
13.Replacethe rear cover, and mountthe paper guidein the horizontal
positionshownin Figure 1-15,so that it willseparatethe printedfrom
the unprintedpaper.
I
Figure 1-15. Mounting the papar guide for fanfold forms
cover
15
Loading thepaper from the bottom of the printer
You caq load the fanfoldpaper from the bottomof the printer with the
followingprocedure.
Figure 1-16. Pull up the tractor unit for bottom feeding
Placea stackof fanfoldpaperbelowtheprinter.
4.
Withthe tractorcoversopen,mountthepaper fromthe bottomof the
5.
printer,by aligningholeswiththepinson the tractorunit.
6.
Adjustthespacingofthetractorunitsbyslidingthemalongthebar,using
the clamp lever at the back of each unit to release and lock them in
position.Whentheleverisup,theunitisreleased,andwhenitisdown,
theunitislocked.
16
Figure 7-17. Install the roller unit after mounted the fanfold paper from the bottom of the printer.
8. Remounttherollerunit andreplacetherear coverandthe top cover.
Paper parking
Afterloadingfanfoldpaperfromtherearof theprinter,youdonothaveto
unloadit whenyouwantto printon a singlesheet.Theprinterwill“park”
it for youif youfollowtheprocedurebelow.
1. To beginpaperparking,start withpowerON,fanfoldpaperloadedin
printingposition,andthe releaseleverforward.
LINE )buttonon thecontrolpanel to settheprinteroff-
2. Pressthe(
line.ON
3. Tear off theprintedformat thelast perforation,leavingnot morethan
abouthalf a page showingabovethe top cover.If necessary,pressthe
asthe edgesof thepapermightbedamaged.
The tolerance between the dotted or pasted position and other
positionsmustbeless than0.05mm.
19
ADJUSTING THE PRINTING GAP
The dis~nce between the print head and the platen can be adjustedto
accommodatedifferentpaperthicknesses.Tomakethisadjustment,remove
thetopcover.Theadjustmentleveris locatedatthe leftsideof theprinter
mechanism.Pushing the adjustmentlever backwardsnarrows the gap;
pullingit forwardswidensthegap.
for one second.In additionto goingoff-line,the printeralso feedsthe
paperforwardapproximatelytwoinches.Thisallowsyoutocutitoffjust
belowthelast lineprinted.
Pressingthis buttoncausestheprintertobeginpaperloadingifthe paperhas
notloadedwhilein the off-linestate.
If the paperhas beenloaded,thisbuttonresultsin differentfi.mctionsdependingon the positionof thereleaselever.
If the mlcaseleveris forwardforfanfoldforms,pressingthisbuttonparks
theforms.
If the releaseleverisbackforsinglesheets,pressingthisbuttonejectsthe
paper.
PITCH button
Thisbuttonallowsyoutoselecttheprintingpitch.Rememberthattheprinter
mustbeoff-linefor you to do this. Successivepressesof this buttonwill
illuminate(and select) the followingoptions in order (Note that semicondescdpitchisnotavailablein theIBMmode):
the printheadand/orplaten.Inaddition,thetotalnumberoflinesprintedis
considerable,more thancan be accommodatedon a singlesheet,so fanfold
paperis recommendedforthistest.
Print area test mode
Byholdingthe(
entertheprintareatestmode.Thisway,youcanfindouthowmanylineson
yourpaper are availablefor printing.The printerwill print the first line
message,thenprintthelastlinemessageafterfeedingtothebottomofthe
By holdingthe(PiTCil)buttondownduringpower-up,the print pitchcan
onlybeselectedfromthecontrolpanel.Thispreventssoftwareinterference,
Youwillhear an acknowledgingbeepaspowercomeson.
Afterthe beeptone,youcanset theprinteroff-line,select a printpitch,then
returntoon-lineandstartprinting.Thepitchyouselectedwillnotbereset
or otherwisechangedby anycommandsyoursoftwaremay issue.
This feature is useful for programmerswho are debuggingprintingprograms and want to see the actual codes the printer is receiving.(Some
computemchangethecodes the programmerintended.)
Inthismode,alldatareceivedwillbeprintedinahexadecimaldumpformat,
ratherthanthecontrolcodesbeingactedon as commandcodes.
Thismodeis accessedwiththefollowingprocedure:
1. Whileholdingboth
the(PAPER FEED)and(
SEJAE~~CT
turnpowerON. A beeptonewillbe heard.
2. Beginprinting.In placeof theusualprintoutyou will get a formatted
dumpshowingexactlywhatdatatheprinterreceives.Eachlinepresents
sixteencharacters,theirhexadecimalcodestotheleftandprintablecharactersprintedon the right.
3. At the end of the hexadecimaldump,set the printeroff-line withthe
30 31 32 33 34 35 36 37
40 41 42 43 44 45 46 47
50 51 52 53 54 55 56 57
60 61 62 63 64 65 66 67
70 71 72 73 74 75 76 77
80 81 82 83 84 85 86 87
90 91 92 93 94 95 96 97
AO Al AZ A3 A4 A5 A6 A7
E70 B1 B2 B3 B4 B5 B6 87
CO Cl C2 C3 C4 C5 C6 C7
DO D1 02 03 D4 05 D6 07
EO El E2 E3 E4 ES E6 E7
FO F1 F2 F3 F4 F5 F6 F7
OD OA
Flgure2-& Samplehexadecimal dumpwithlBM-PC
08 09 OA 06 OC 00 OA OE
17 18 19 IB IC ID IE IF
28 29 2A 26 ZC 2D 2E 2F
38 39 3A 3B 3C 30 3E 3F
48 49 4A 46 4C 40 4E 4F
58 59 5A 56 5C 5D 5E 5F
68 69 6A 66 6C 6D 6E 6F
78 79 7A 7F3 7C 70 7E 7F
88 89 8A BB 8C 8D 8E 8F
98 99 9A 96 9C 90 9E 9F
A8 A9 AA AB AC AD AE AF
68 69 8A BB BC BD BE BF
C8 C9 CA CB CC CD CE CF
D8 D9 DA DB DC DD OE DF
E8 E9 EA EB EC ED EE EF
F8 F9 FA FB FC FD FE FF
... .. .
.. ....
!“#$%&’ ()*+.-./
0123456789:;<=>?
@ABCDEFGHIJKLMNO
PQRSTUVWXYZ[\]”-
‘abcdefghijklmno
pqrstuvwxyz{j)-.
. . . ..
.. ... ... .. ...
..... .. ... ..
... .. ... ....
... ..... ... . .
. . .. . .. .
.. ... ... .. ... ...
.. ... ... .. ... .
..
WhentheIBM-PCBASICinterpretersendshexcodeOD(carriagereturn)
it adds an extra hex OA(linefeed).Hex code 1A (end-of-file)also gets
specialtreatment:the interpreterdoes not send it at all. This can cause
problemswitigrapticsordowtioadcharacterdata.HoweveLyoucans0lve
thisproblembychangingline 30 intheprecedingprogramandaddingthe
codingshownbdow.
Codingfor IBM-PCwithmonochromedisplay:
30 GOSUB 100
100 X=INP(&H3BD)
:IFX<128 THEN 100
110 OUT &H3BC,I:OUT &H3BE,5:OUT &H3BE,4
120 RETURN
Theprinterstoresreceiveddata in a large memorybuffer.Thiscreatesa
problemwhenyouwanttoabandonaprintingjobandrestart:theprintermay
be holdingmore data in its buffer than it has actuallyprinted,and this
unprinteddatamustlx clearedoutbeforerestarting.Turningpoweroffisone
wayto clearthebuffer,butthereisanotherway:
DatatobestoredarecontrolledinStandardmodeandIBMmodeseparately.
For example,thedata storedin theStandardmodearenot effectivein the
IBMmode,andviceversa.
36
chapter3
DEFAULT SETTINGS
Most printers use abankofDIP(Dual In-linePackage)switchesinsidethe
printerto achievevariousfunctions.However,thisprintercan changethe
power-updefaultsettingsbyusingtheElectronicDIPSwitch(EDS)mode.
Figurs 3-7. Button and indicator functions in the EDS mode
FUNCTIONS OF THE EDS SEITINGS
Theprinteris factory-setwithallEDS switchesintheONposition.These
are the standardsettings.By changingthe settings,you can alter various
printerfunctionstomatchyourrequirements.Thefollowingquestionswill
helpyouchoosethepropersettings.
printer then uses its RAM memory for storing character patterns and
providesonlyaone-lineprintbuffer.Ifyouleavethis switchON,theprinter
usesitsRAMmemoryasaninputbuffer,allowingthecomputertosenddata
fasterthanthe printerprints.
NOTE:Whcn you want to downloadcharacterswith IBM mode by the
monochromeversionprinter,youmust installthe optionalRAM
cartridge(RC-32Z).Otherwise,youcannotdownloadevenif this
switchis set OFF.
Switch A-3: Do you wantan automaticlinefeed?
If you leave this switchin the ON position,a separateline-feedcode is
requiredfrom yourcomputertoobtainalinefeed.
If you move this switchto the OFFposition,theprinterperformsboth a
carriagereturnand linefeed eachtimeit receivesa carriage-returncode.
Most computersystemssenda linefeedcode,orbothacarriagereturnand
linefeed,atthecndofeachline,so thisswitchshouldbeleft ON.
If you get double line spacingwhenyouexpect singlespacing,or if lines
overprinteachother,try changingthesettingof thisswitch.
Switch A-4: Are yougoingto usctheautomaticsheetfeeder(ASF)?
InordertousctheautomaticsheetfeederSF-1ODQ,movethisswitchtothe
OFFposition.Otherwiseleave it ON.
Switch D-1: The actionof this switchdependson the modechosenwith
switchA-1.
If you selected Standard mode, do you want italic or graphic
characters?
MovethisswitchOFFto printitalicsintheStandardcharacterset.If you
leavethis switch in the ON position,in place of italicsyou will get the
graphiccharacters,internationalcharacters,and mathematicalsymbolsof
IBMcharacterset#2. See Chapter9, charactercodes 128to 254.
Thismodeis usedto adjustthealignmentof theprintheadon successive
bidirectionalpasses.Afteraperiodofsomemonths,yourprintermaywork
itselfoutof alignmentonleft and rightprintingpasses.Thiswill be most
evidentin graphicsprinting.Thismodewillprobablybeusedveryrarely.
1. Turnthe printeroff and then turn it on againwhileholdingdownthe
‘=l%wr”
(
) and (
somethinglikethe following:
*tJ DoT
LQ
2. The printer will feed the paper forwardsand backwardsduring this
operation,allowingyouto viewthepaperforoptimumalignment.
-RAFTCOND o zllllllllllllllllllililllllllllllllllllllllllllllllllllllllllllllllll
-1 :
//////////////////////1111111///1///////
,, /////)///111111111//
11111!!lll{/1 IIIIIIIIIIII{JIJIIIIIII)!)!
o:
Illlllllllllllllllllllllllllllljljjjljil
o:
///////////////////1/1/1////////////////
+1 :
JJ/}/\/\JJ////JJ//JJ//}//f~/;l//lJJJJfJf
o:
/////////////l/n///////////////////////
1,1!!111111!!111!1
44
chapter4
PRINTER CONTROL COMMANDS
Theprinterhastwoemulationmodes:StandardmodeandIBMmode.
In standardmode,theprinteremulatesthefunctionsoftheEpsonLQ-860.
In IBMmode,theprinteremulatesthe IBMPropnnter X24E.Additional
commandcodesareincludedasa supersetof theseemulations.
The emulationis changedby means of EDS switchA-1. When ON, the
printerwillbe instandardmode,andwhenOFF,theprinterwillbein IBM
mode(see Chapter3).It is notpossibleto changetheemulationmodeby
meansof softwarecontrol.
Thischapterdescribestheprinter’scontrolcommands.Somecommandsare
commontoboth thestandardandIBMmodes.Inthedescriptionsofthecommands,all commandswillbe categorizedby function.Thename of each
commandis followedby a tablelikethe onebelow:
Mode
Std.
ASCII
<ESC>“X” “1”<ESC> “X” <1>
Mode:
DecimalHexadecimal
27120 49IB 78 31
271201IB 78 01
Indicatesthemodeinwhichthecommandisrecognized.
Std. Standardmode(EDSswitchA-1on)
IBM IBMmode(EDSswitchA-1off)
Both BothstandardandIBMmodes
ASCII:
Indicates the ASCII coding of the command.
Controlcharactersareenclosedin pointedbrack-
if the(R5ilT)orCFi7Cil)buttonwaspressedduringpower-up.
Select LQ font
Mode
Both
std.
ASCIIDecimal
<ESC>“k” n
<FS>
“C”n
Selectsan LQfontaccordingtothevalueof n. In draftmode,this
command remains dormant and takes effect later when LQ is
selected.Ignoredif thec-~buttonwaspressedduringpowerup or thecorrespondingfontis notinstalled.
Changesfromeitherpicaor semi-condensedto elitepitch(12cpi)
or fromcondensedpicato condensedelite(20cpi).Ignoredif the
_buttonwaspressedduringpower-up.
Decimal
27 77
27 58
Hexadecimal
IB 4D
IB 3A
55
Semi-condensed pitch
ModeASCII
<ESC> “g”
Std.
Changesfromeitherpica or eliteto semi-condensedpitch(15cpi).
Ignoredif the(FTiTiTlbuttonwaspressedduringpower-up.
Condensed printing
Mode
Both
ASCII
<Sb
<ESC> <Sb
Changesfrom pica to condensedpica (17 cpi) or from elite to
condensedelite(20cpi).Ignoredifthe(FiT5R)buttonwaspressed
duringpower-up.
Cancel condensed printing
ModeASCII
Both
<DC2>
In Standardmode,changesfromcondensedpicato normalpicaor
fromcondensedelitetonormalelite.InIBMmode,alwayschanges
to normalpica. Ignoredif the(FRCi7)buttonwas pressedduring
power-up.
In Standardmode,setsthedistancethepaperadvancesor reverses
insubsequentlinefeedston/60inch,wherenisbetweenOand255.
If n =0,thelinespacingis setto O.
In IBM mode, this commanddefinesthe distancethe paper advancesor reversesinsubsequentlinefeedston/72inch,wherenis
between1and85.Thenewlinespacingdoesnottakeeffectuntilthe
next<ESb “2”command.
Execute <ESC> “A”
ModeASCII
IBM
<ESC>
Sets the line spacingto the value defined by the last preceding
Printsthecurrentlineandfeedsthepaperinthereversedirectionto
the preceding line. See the preceding commands for the line
spacing.Ignoredwhenfrictionfeedisused.
Decimal
27 50
Decimal
10
Hexadecimal
IB 32
Hexadecimal
OA
andfeedsthepaperto the nextline.Seethe
Decimal
27 10
27 93
Hexadecimal
IB OA
IB 5D
Select forward feed mode
ModeASCII
Std.<FS>
“F’
Cancelsthereversefeedmodeandselectsforwardfeedmode.This
is thedefaultsettingatpower-on.
Select reverse feed mode
ModeASCII
Std.<FS>
Selectsreversefeed mode. Reversesthe directionof all vertical
movements.Ignoredwhen frictionfeedor bottom feed is used.
“R”
Decimal
28 70
Decimal
28 82
Hexadecimal
IC 46
Hexadecimal
IC 52
Perform one n/180-inch orn/216-inch line feed
IMode\
ASCII
IBoth I <ESC> “J”n
DecimalHexadecimal
27 74 nI IB 4A nI
I
Feedsthe paperonceby rz/180inchesor n/216inches,where n is
between1and255.Doesnotmovetheprintpositionrightorleftin
Setsthepagelengthto n linesin thecurrentlinespacing,wheren
isbetween1and 127inStandardmodeorbetween1and64inIBM
mode.Changingthe line spacinglater doesnot alterthe physical
pagelength.Thecurrentlinebecomesthetopof thepage.
64
27 67 n/ IB 43 nI
Set page length to ~ inches
Mode
Both
ASCII
<ESC> “C” <0> n
Setsthepagelengthto n inches,wheren is between1 and 32 in
Standardmode orbetween1and64in IBM mode.The currentline
becomesthetopof the page.
Set bottom margin
Mode
Both
ASCII
<ESC> “N” n—
Setsthebottommarginton lines,wherenisbetween1and 127in
Standardmode or between 1 and255in IBMmode. The bottom
marginis resetwhenyouchangethepagelength.
Cancel bottom margin
Mode
Both
ASCII
<ESC> “O”
Cancelsthebottommargin.
Form feed
DecimalHexadecimal
27 67 0 n
DecimalHexadecimal
27 78 n
Decimal
27 79
IB 43 00 n
IB 4En
Hexadecimal
IB 4F
Mode
Both
ASCII
<FF>
Feeds the paper to the top of the next page according to the current
page length, and moves the print position to the left margin. When
the automaticsheet feeder (ASF) is selected(EDS switch A-4 is
OFF), this commandejects the current page.
DecimalHexadecimal
12Oc
65
Return to top of current page
IModeI
I Std. I <ESC> <FF>
ASCIIDecimalHexadecimal
I 27 12I
IB OC
Feedsthe paperbackwardto the top of the currentpage.Ignored
whenfrictionfeedis used.
Disable paper-out detector
ModeASCIIDecimalHexadecimal
Both<ESC> “8”
27 56IB 38
Causesthe printerto disregardthe signalsent by the paper-out
detector,enablingprintingtothebottomofthepaper.Overridesthe
settingof EDS switchB-2.
Enable paper-out detector
ModeASCIIDecimalHexadecimal
Both<ESC> “9”
27 57
IB 39
Causesthe printerto stop printingbefore the end of the paper.
OverridesthesettingofEDS switchB-2.
Cancelsall currentverticaltabstopsandsetsnewtabstopseveryn
lines,wheren is between2 and 127.
Set vertical tab stops in channel
ModeASCII
Std.
<ESC> “b”
Cancelsallcurrentverticaltab stopsin channelnO,(whereM is
betweenOand7)andsetsnewverticaltabstopsinthischannel.(A
charnel is a set of verticaltab stops selectedby the cESC> “~’
command.)See<ESC>“B” forparametersnl, n2, ...<0>.
Feedsthepaperto the next verticaltab stop andmovesthe print
positiontotheleft margin.Performsaline feedifnoverticaltabsare
set,asatpower-up.Feedstothetopofthenextpageifverticaltabs
are setbutthe currentlineis at orbelowthelastverticaltab stop.
Decimal
11
Hexadecimal
OB
HORIZONTAL POSITION COMMANDS
Set left margin
ModeASCIIDecimal
Std.
<ESC> “l”n
27 108 nIB 6Cn
Setstheleftmarginatcolumnn (wherenis betweenOand255)in
the current characterpitch (pica pitch if proportionalspacingis
selected).The left margindoesnot moveif the characterpitch is
changedlater.Theleftmarginmustbeatleasttwo columnsto the
leftoftherightmarginandwithinthelimitsbelow:
Setstherightmarginatcolumnninthecurrentcharacterpitch(pica
pitch if proportionalspacing is currently selected). Column n
becomesthelastcharacterpositioninthelinc.Thenghtmargindoes
notmove if the characterpitchis changedlater.The rightmargin
mustbe withinthelimitsbelow:
Alignssubsequenttextbetweenthe left andrightmargins.
70
DecimalHexadecimal
27 97 51
27 97 3IB 61 03
IB 61 33
Set horizontal tab stops
ModeASCII
Both
<ESC> “D”
Decimal
d...
nl
<0> 27 68 nl n2 ... 0
Hexadecimal
IB 44 nl n2 ... 00
Cancelsallcurrenthorizontaltab stopsandsetsnew tab stopsat
columnsnl, n2,etc.inthecurrentcharacterpitch(picapitchifproportional spacing is currently selected),where nl, n2, etc. are
numbersbetween1 and255.Themaximumnumberof horizontal
tabstopsallowedis32in Standardmode and64in IBMmode.The
tab stops must be specifiedin ascendingordec any violationof
ascendingorderterminatesthetabstoplist.Standardterminationis
bythecO>controlcode.To clearalltabstops,specify<ESC>“D”
<o>.
Set horizontal tab stops every n columns
Mode
Std.
ASCII
<ESC> “e” “O”
<ESC> “e” <O> n
n
Decimal
27
101 48n
271010 n
Cancelsallcurrenthorizontaltabstopsandsetsnewtabstopsevery
n columns,wheren is between1and 127.
eachthreebytesrepresent24verticaldots.In theleftmostposition,
themostsignificantbitofml isthetopdot;theleastsignificantbit
ofm1is theeighthdotfromthetop;themost significantbitofm2
is the ninthdot;theleast significantbit of m2 is the sixteenthdot
fromthetop;themostsignificantbitofm3is the seventeenthdot
fromthetop;theleastsignificantbitofm3isthebottomdot.Therest
ofdatais similar.Thenumberofdatabytesmustbe3 x (nl + n2x
x 256)– I dotswide.See <ESC> “K”(for8-bitgraphics)or<FS>
“Z”(for24-bitgraphics)forinformationonml, m2,...
mOGraphicsmode
8-bitNormal-density(60 dotsper inch)
o
1
8-bitDouble-density
2
8-bitDouble-density,double-speed(120dotsper inch)
3
8-bitQuadruple-density
24-bitNormal-density(60 dotsperinch)
8
9
24-bitDouble-density(120dotsperinch)
11
24-bit Triple-density
12
24-bitHex-density
Convert graphics density
ModeASCII
Std.
4ESC> “?”nm
Convertsgraphicsdefinedbysubsequent<ESC>“K”,<ESC>“L”,
<ESC>“Y”or<ESC>“Z”commandstoadensitymodedefinedby
<ESC>“*”.n is “K”, “L”,“Y“ or “Z”, indicatingthemodeto be
converted.misacodefrom<0>to<4>or<6>indicatingone ofthe
modesof <ESC>“*”.
Hexadecimal
27 91 103 nl n2
mO ml m2 ...mO ml m2 ...
IB 5B 67 nl n2
(120dotsper inch)
(240dotsper inch)
(180dotsper inch)
(360dotsper inch)
DecimalHexadecimal
27 63 n m
IB 3Fn m
75
I
DOWNLOAD CHARACTER COMMANDS
Define download characters
ModeASCII
<ESC> “&” <O>
Std.
Definesoneor more newcharactersand storesthemin RAM for
nl is the charactercodeofthe firstcharacterdefinedandn2is the
charactercode of thelastcharacterdefined.nl mustbeequaltoor
lessthan n2.
The dataforeachcharacterstartwiththreebytesspecifyingproportionalspacingattributes:thefirstbyte,mO,specifiestheleftof the
character;the secondbyte,ml, specifiesthe characterwidth;the
third byte, m2, specifiesthe right of the character.Thesevalues
mustnot exceedthefollowingmaximumlimits:
switchA-2mustbeOFFandtheoptionalRAMcartridge,RC-32Z,
mustbe installed;otherwiseRAM is used as an inputbuffer,not
downloadingcharacters,andthiscommandis ignored.
datais to be stored.n3shouldbe 15andn4shouldbe 128forthis
printer.
ti determinesthe charactermode to be downloaded,as shown
below:
rL5 CharactermodeCharacterwidth
oDraft9
1LQpica35
2LQproportional
LQelite29
3
17-41
ml throughm9indicateIndexTabledata.
ml andm2indicatetheadresswhereDotPatternis stored.ml isthe
high-orderbyte.m3indicatesthenumberofcolumnsinthecharacter memory, and m4 indicates the number of columns in the
character.
tithrough m9 are compressionmask bits. Data compression
allowsthe efficientuseofmemoryin storingdownloadedcharacters providingspaceformorecharactersthan would be available
withoutcompression.Theprinterrepeatsthepreviousdotcolumn
inthecurrentcolumnwhenthe currentcolumncompressionmask
bitis setto 1.
ItisnecessarytodefineallofIndexTabledatabeforetheDotPattern
datato downloadmanycharacters.
77
dl, d2, ... d-xis theDotPatterndatabeingdownloaded.
Eachdatabyteindicateseightverticaldots,withthemostsignificant bit beingthe top dot, and the least significantbit being the
‘bottomdot.
Copy character set from ROM into RAM
ModeASCIIDecimal
std.
<ESC>“:” <O> n
<o>27 56 0 nO IB 3A 00 n 00
Copiesthe selectedcharacterset with n, as shownbelow,to the
correspondingdownloadcharacterRAM area, overwriting any
downloaddata alreadypresent.IgnoredwhenEDSswitchA-2 is
Selectsthe downloadcharacterset,draftquality,andelite pitch(12
cpi).Ignoredifthe(-)buttonwaspressedduringpower-upor
if EDSswitchA-2is ON.
“I”<FF>27 73 12
DecimalHexadecimal
IB 49 OC
Select draft condensed download characters
ModeASCII
IBM<ESC> “I”<DC4>
Selectsthe downloadcharacterset, draft quality,and condensed
pitch (17 cpi). Ignored if the@GNT)buttonwas pressed during
power-upor if EDS switchA-2is ON.
DecimalHexadecimal
27 73 20IB 49 14
Select LQ pica download characters
Mode
IBM<ESC> “I”<6>
ASCII
Selectsthe LQ downloadcharacterset with pica pitch (10 cpi).
Ignoredif fie (T6NT]buttonwas pressed duringpower-upor if
EDS switchA-2isON.
DecimalHexadecimal
27 73 6IB 49 06
Select LQ elite download characters
IMode] ASCII
1
IBMI <ESC> “I” <SO>
Decimal
,
27 73 14I IB 49 OE
Hexadecimal
,
Selectsthe LQ downloadcharacterset with elite pitch (12 cpi).
Ignoredifthe(TGNT)buttonwaspressedduringpower-uporifEDS
switchA-2is ON.
Select LG)condensed download characters
ModeASCII
IBM<ESC> “I”<SYN>
Selectsthe LQ downloadcharacterset with condensedpitch (17
cpi).Ignoredifthe_buttonwaspressedduringpower-upor
if EDSswitchA-2is ON.
DecimalHexadecimal
27 73 22IB 49 16
Select LQ proportional download characters
ModeASCII
IBM<ESC> “I” <7>
Selectsthe LQ downloadcharacterset with proportionalpitch.
Ignoredifthe(TGNT)buttonwaspressedduringpower-uporifEDS
switch.A-2is ON.
DecimalHexadecimal
27 73 7IB 49 07
Select ROM character set
ModeASCII
80
Std.
<ESC>
<ESC> ‘?Lo” <O>27 37 0
Stopsusingthe downloadcharacterset andreturnstothebuilt-in
ROMcharacterset.IgnoredwhenEDS switchA-2is ON.
Deletesthe last characterreceived.Ignored if the last character
receivedhas alreadybeenprinted,orif thelast characterreceived
was allor partof a command.
Causessubsequentprintingto be donein thenormalbidirectional
mode,whichis fasterthanunidirectionalprinting.
Unidirectional printing
Mode
Bo~
ASCII
<ESC> “U” “l”
<ESC>
“u” <1>
Decimal
106
Hexadecimal
IB 6A
indicatoron thecontrolpanelgoesoff.
DecimalHexadecimal
707
DecimalHexadecimal
27 85 48
27 850
DecimalHexadecimal
27 85 49
27 85 1IB 55 01
IB 55 30
IB 55 00
IB 55 31
Causessubsequentprintingto be doneunidirectionally,ensuring
maximumverticalalignmentprecision.IgnoredwhenEDS switch
A-5is set ON.
One-1ineunidirectional printing
Mode
Std.
ASCII
<ESC> “<”
Immediatelyreturnstheprintheadto theleftmargin,thenprintsthe
remainder of the line from left to right. Normal bidirectional
printingresumesonthenextline.IgnoredwhenEDSswitchA-5is
ON.
DecimalHexadecimal
27 60
IB 3C
83
Manual feed
ModeASCIIDecimalHexadecimal
Both,’(,,,,(,,
<ESC> <EM> <O>
“o”““““
))
27 25 0
]
40 40 48 41 41 I 28 28 30 29 29
IB 19 00
Selectsmanual sheet feedingeven when the optionalautomatic
sheetfeederis mounted.Ignoredif EDS switchA-4 is ON (ASF
inactive).
Withthisprinteryoucancreatenewcharactersandsymbols,downloadtheir
dot data,andhavethemprintedinplaceofselectedcharactersintheregular
characterset.Charactersthatcanbegeneratedinthiswayrangefromsimple
but useful symbols like the check mark through complex Chinese or
Japanesecharacters.
Regular characters are permanentlystored in the printer’s ROM, but
charactersyoudesignaredownloadedandstoredinRAMfor use.
Beforeyoustarttodefineyourowncharacters,youmustsettheEDSswitch
A-2 to the OFF position.Otherwise,the RAM is used to store the input
buffer,andthedownloadcommandsareignored.If youwantto download
characterswithIBMmode,youmusthavetheoptionalRAMcartridge(RC32Z)installedin themonochromeprinter.
DEFINING YOUR OWN CHARACTERS WITH
STANDARD MODE
Designingandprintingyourown charactershas two requirements:first,
designingtheshapeofthecharacter,calculatingthedatanecessarytomake
the shape,andsendingthat datato the printer,and secondly,sendingthe
commandtoprintthedownloadedcharactersinsteadoftheregularcharacters.Thereareanumberof designconstraintsfordownloadcharacters:
thereis a numberfor each row of dots and thateachnumberis twicethe
numberbelowit.Bymakingthesenumberspowersoftwowecantakeany
combinationof dotsin a verticalcolumnandassignthcma uniquevalue.
86
Figure 5-2. Telephone symbol with normal LQ pica
ASCIICock6(>
Leftspace
Charamerw,dtl,31
Rght space
J
‘>
Assigning a value of character space
Besidesbeingableto specifythe actualwidthof thecharacter,thisprinter
allowsyou to specifythepositionin the standardgridwherethe character
willprint.Youmustspecifythe dotcolumnin whichtheprintedcharacter
startsandthe dotcolumnin whichthecharacterends.Why,youmay ask,
wouldyouwanttodefineacharacterthiswayinsteadofmerelydefiningthe
overallwidthofthecharacter?Becausethisprinter’sproportionalcharacter
definitionscan also be used to print normal width characters, and by
centeringeventhe narrowcharactersin the completegrid they will look
goodevenif youarenotprinting~em proportionately.
tobeallowedoneithersideofit.Theleftspace(indotcolumns)isspecified
bymOandtherightspaceisspecifiedbym2.The secondbyte(ml) specifies
the widthofthecharacterindots.Byvaryingthewidthofthecharacteritself
and the spaces around it, you can actually create proportionalwidth
characters.
87
Whendefiningcharacters,thenumberofprintedcolumns(ml), andthesum
of sidespacesand the characterwidth(MI + ml + rTz2)cannot exceedthe
valueshownbelow.
To demonstratehow to use the downloadcharacters,let’s use the “telephone”characterandtheotheruser-definedcharacterstoprintasmallgraph.
Thisprogramwilldojustthat:
1000
LPRINTWIDTH“LPTI: “ ,255
1010
LPRINTCHR$(27) ;
1020
LPRINTCHR$(27) ; “&”;CHR$
1030
LPRINTCHR$(60)
FOR N=60TO 61
1040
READLS :LPRINTCHR$[LS)
1050
READcw :LPRINTCHR$
1060
READRS :~LPRINTCHR.$(RS)
1070
1080
FORM=lTO CW*3
MM
READ
1090
1100
LPRINTCHR$(MM);
1110
NEXT,M
NEXTN
1120
1130
LPRINTCHR$(27);“D”;CHR$(11);CHR$(0)
1140
LPRINTCHR$(27);“k”;CHR$(4);
1150
LPRINTCHR$(27);“h”;CHR$(1);
1160
LPRINT“
1170
LPRINT“
1180
LPRINTCHR$(27);
LPRINTCHR$(27);“k”:CHR$(0);
1190
1200
LPRINTCHR$(27);’’%’’;CHR$(1);
1210
LPRINT“USA”:CHR$(9);
1220
FOR1=0TO 681STEP25
1230
LPRINT
1240
LPRINTCHR$(9);
1250
FOR1=0TO 781 STEP25
1260
LPRINT
1270
LPRINT“GERMANY”;CHR$(9);
1280
FOR1=0TO 412STEP25
1290
LPRINT
1300
LPRINTCHR$(9);
1310
FOR1=0TO 488STEP25
1320
LPRINT
1330
LPRINT“JAPAN”;CHR$(9);
“X1“;
;CHR$(61)
o);
icwj
DIFFUSIONRANGESOF”
CARS& TELEPHONES”
“h” ;CHR$(0)
:LPRINTCHR$(60);:NEXTI
:LPRINTCHR$(61);:NEXTI
:LPRINTCHR$(60);
:LPRINTCHR$(61);:NEXTI
:NEXTI
88
1340
FOR1=0 TO 347
1350
LPRINT
LPRINTCHR$(9)
1360
FOR1=0TO 493
1370
LPRINT
1380
LPRINTCHR$(9)
1390
1400
SCALE$=’’+-+-”
FOR1=2TO 8
1410
LPRINT“+-+”
1420
LPRINTCHR$(9);
1430
FOR1=1TO 8
1440
1450
LPRINT“ “;1;
NEXTI
1460
1470
LPRINTCHR$(27)
LPRINTCHRS(27)
1480
LPRINTCHR$~27j
1490
LPRINTCHR$(9);
1500
LPRINTCHR$(27);1 ;
1510
LPRINTCHR$(27);”@”
1520
END
1530
‘ DATA
2000
2010
2020
2030
2040
2050
2060
2070
2080
2090
2100
2110
2120
2130
2140
2150
2160
2170
2180
Telephone Symbol
‘
DATA
DATA O, 0,
DATA 19, 15,
DATA 47, 80,
DATA 80,163,
DATA 47, 80,
DATA 19, 15,
DATA O,0,
‘ Car Symbol
DATA
DATA O,0,
DATA 0,252,128,0:3;
DATA 10,3,0, 20,124,
DATA 64,126,
DATA 32,3,0, 64,124,
DATA. 76,124,128,51,3,
DATA O, 0,0
3, 31,
3, 31,
STEP25:LPRINTCHR$(60):
STEP25:LPRINTCHR$(61);
“+-”;
:LPRINTSCALE$;
“;
o
“%’’;CHR$(O)
.~ll:
“S’’iCHR$(O);
(100UNITS/1000PERSONS)”
.,,T,,.
2
0, 7, 0, 0, 8,
92, 40, 16, 0, 80,
0, 80,175,192,47,
92,33,64,
0, 80,175,192,32,
92,40, 0,
0
2
0. 0. 30.
0, 63,128,
0, 80,
0, 23, 0,
0, 0, 0, 0,
64, 1,252,128,
0, 40, 0, 0,
0, 64,126,0,
28, 32,
0, 12,252,0,
0,
0, 23, 0,
47,
92,32,80,
80,
0, 80,163,
63,
92,47,
80,
0, 80,
0, 8,
3, 64,
:NEXTI
:NEXTI
:NEXTI
0,
2,
;;;
64,
3,
0, 40, 0, 0
0, 80,175,192
92, 33,64, 0
0, 80,175,192
80,
92,40, 16, 0
47,
0, 7, 0, 0
0,
60,
0, 0, 3, 0
64,
3,
26,
28,
24,.
0,
S,124,128
O, 32, 0, 0
0, 64,124,0
28,48,
0, 0,254, 0
3, 64
USA
DIFFUSIONRANGESOF
CARS&TELEPHONES
89
I
DEFINING YOUR OWN CHARACTERS WITH IBM
MODE
Downloadingfonts in IBM mode requires downloadingcharacter Dot
Patterndata andcharacterIndexTabledata.Dotpatterndatacontrolswhich
pinsfirewhenprintingacharacter.IndexTabledatais placedina “lookup
table”that providesinformationon where Dot Pattern data is stored in
memoryanddefinescertainattributesofthe character.
Assigning the download character set
Youcandefineoneor moredownloadcharactersets for lateruse in IBM
mode.Beforeyou start to designyour characters,you must define what
characterset(s)youwantto download.
After you have decided your downloadcharacterset, you must tell the
printerwhere‘thedownloadcharacterdata to be stored, and how many
downloadcharactersetsyouwilldefine.
Thefirstdownloadfontareastartsfrom<800F>h,andyoumustenterOfor
the Formatbyte. This Formatbyteindicatesto the printerthat the RAM
cartridgehasstoredthedownloadcharacterset.
Followingtheformatbyte,youmustentertheCharacterIDdata.Ifyouwant
to definemorecharacterset, add 128totheCharacterID data.
The secondareastartsfrom<891l>h, the thirdareastartsfrom<9212>h,
andthe last areastartsfromc9B13>h.Butyou neednot entertheFormat
bytefor thesearea.
CharacterwidthCharacterID
9
351
29
17-41
0
2
3
90
Assigning the character dot pattern
Wewilluse atinyrepresentationof a telephonesymbolforourexample.
Afteryouhavedesignedthecharacterpattern,youwill needtocompressthe
DotPattern.Datacompressionallowsyouto storemoredownloadcharactersthan’withoutcompression.It is a moreefficientuse of memory.The
printer will repeat the previous dot column when the current column
compressionmaskbitis setto “l”.
Filluptheadjacentdoteventheydonotprint,thencomparetheeachventcal
lineto the left line. If the line is the same astheleft one,write“l” in the
columnof the“compressionmaskbit”.If it is different,write“O”.
91
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.