Font selections: Built in Printer offers many typefaces.
Printer Attachments: The printer graphics supported by either Epson or IBM Proprinter.
Paper Management:
Supported by Cut-sheet or tractor with Optional Automatic Sheet Feeder and Fan fold paper.
For loading cut-sheet paper, a paper-park facility to avoid the unloading of fanfold paper.
Programmable Options: Allow advanced setting to be adjusted directly from front panel.
Color Printing: Works with certain accessories to print in color.
Frequently Asked Questions
Q: What are the modes available on the printer?
A: There are two modes of printing available on the Printer which are known as Draft and Letter Quali zation mode.
Q: Can your printers print color documents?
A: Advanced features such as optional color facilities may be procured to printer to allow it to work in color mode.
Q: Do you have the capability to print on different kinds of papers?
A: A cut-sheets or a tractor feed paper can be employed to print and an Automatic Sheet Feeder helps improve the printing experience by being an optional addition.
Q: You think I will face issues regarding the type of printer?
A: There is a printer that can be used with either an Epson printer or an IBM Graphics Printer that will also include Suits formats.
Q: And what does this Memory Switch do exactly?
A: The memory setting provides the operator with direct programming options in the form of panels that controls the entire machines functionalities.
User Manual
Page 1
MULTI-FONT
MULTI-FONT
8082
0415
USERS MANU AL
Page 2
Sdf Declaration
Radio intcrfcrcnceregardingthis equipmenthas bear eliminatedaccordingto Vfg 1046/1984 arnouncedby the DBP.
DBP hasbeeninfosmedof theintroductionofhis specialquipment andhas beengrantedtherightso
ex-ethe whole series.
Itis the user’sresponsibilityto seethathis own assembledsystemisin mmr&nee withthetechnical
regulationsunderVfg 104( Y1984.
ToconformtoFTZ-regulationsitis ncccssarytomakeailcmmectionstothepMkr withshieldedcable.
Theequipmentmayonly be openedby qualif]edservicerepresentatives,
Theobovcstafensanfapplies only foprinters mrkted in WestGermany,
Guide”,givingyouinformationonhowto setupandstartyourprinter.The
remainingchaptersmay be treatedas a referenceguideforprogramming
operations,etc. It assumes a degree of knowledgeoff the operationof
computers(forinstance,itassumesyouknowabouthexadecimalnumbers).
Thechaptersam as follows:
Chapter 2- Front panel controls
Theream a numberof controlson the frontpanelwhichperformvarious
functionsrelatedto paperhandling,printmodesand font selection.This
sectionshowsyouhowto usethefrontpanelcontrols.
Chapter 3- Settingup the Memory Switches
Your printerhas a MemorySwitch function,which allowsyou to make
certain system settings fmm the front panel. This section explains the
operationof theseMemorySwithes.
Page 4
Chapter 4- Emulations and escapecodes
Thischapterexplainsthedifferentemulationsprovidedbyyourprinter,and
the softwarecommandsused to drive it. This sectionis of use if you zue
writingor modifyingprogramstotakeadvantageof theprinter’sfeatwvs.
Chapter 5- DIP Switches
Thissectionexplainshowto settheDIPswitchestomakesystemsettings
on the printer.
Chapter 6- MS-DOSand your printer
Sincethe PC or PC-ATfamilyof computers
runningunderMS-DOSis
currentlythe most popularccmflgurationof microcomputer,wehave includeda fewhintsandtips to helpyouuseyourprinterwithsuchsystems.
SincevirtuallyallPCsaresoldwithaMicrosoftBASICinteqmxer,wehave
also included some hints, and a sample program in this languageto
demonstratethecapabilitiesoftheprinter.
Chapter 7- Troubleshooting and maintenance
Thissectiongiveachecklistofpointstocheckifyourprinterisnotworking
in theexpectedway. It alsoincludesdetailsof someroutinemaintenance
operationsyou cancarryoutyourself.Itisno~however,acompleteservice
manual.Callaqualifiedserviceengineerifyouareumnueofyourabilityto
carryoutanymaintenanceor servicingoperations.
Chapter 8- Specifications
This sectiongivesthe specificationsof yourprinter.
Chapter 9- Character sets
Thesechartsgivethe diffenmtcharactersetsavailable,andthedifferences
between‘nationalcharactersets (as set up withtheDIP switches).
Page 5
TABLEOFCONTENTS
Chapter 1 INTRODUCTION
LOCATINGTHEPRINTER
UNPACKING,SEITING UP ANDCONNECTION....................1
The optionalaccessorieswhichyoumayhaveorderedwithyourprinterare:
● Serial(IN-232) interfaceboard
● Automaticsheetfeeder
● Coloroptionkit
See the installationinstructionscontainedwith these optionalitems for
detailsof howto attachthemtoyourprinter.
2
Page 9
Settingup
Placeyourprinterinthepositionwhereitisgoingto be permanentlysited,
and removeallpackingmaterialfrominsidethe top cover.This packing
materialisintendedtopnwentdamagetotheprinterintransit.Youmaylike
to keep thispackingwiththeprintercartonif youintendtranspofiingthe
printerfor use at a differentlocation.
The platen knob should be removedfrom the accessorybox inside the
s~pping carton.Mounttheplatenknobontheshaftontheright-handside
ofthe printer.Turnthe knobontheshaftbeforepushingtheknobfullyinto
position.
NOTE
I Beforeturningtheplatenknob,alwaysensurethatthepowertotheprinter ~
is OFF.
3
I
Page 10
Removethetopcoverbyliftingthefront(usingthetwogripsat the side),
andpullingtowardsyou.Nowinstalltheribbon.
1
Usethetensioningknobontheribboncartridgetotightentheribbonifit
is slack(turnclockwise).
Usethe gnpson thesideoftheribboncartridgetohelplocatethecartridge
(squeezetheminwardsgently),and make surethatthe spindleson the
cartridgeholderfit intothesocketsonthecartridgeitself.
Ribboncartridge
Ribbon holder
Page 11
Connection
Comect theprinterto yourcomputer,usinga standardparallel-typecable.
On a PC or PC/AT-typecomputer,thismeansthat youusethe25-wayDtypeconnectoratthecomputerend,andtheAmphenol-type36-wayconnector at the printerend.Thepinoutsof the printer’scomector m givenin
Chapter8 if you needa cableforconnectionto another computer.
Plugtheprinterintoa suitablemainsoutlet.However,DONOTturnonthe
powerswitchatthebackof theprinteryet.
5
Page 12
I
You mayneedto setsomeDIP switchesinsidetheprinterbeforeyou start
usingit. TheseswitchesenableyoutoconfigwetheprinterasanEpsonor
asanIBMProprinterprinter.TheDIPswitchesalsoenableyouto selecta
characterset other than the USA characterset, if your supplierhas not
alreadysettheseup foryou.TheDIPswitchcoverislocatedinsidethetop
cover(seebelow).Usetheendofapaper-clip(orsimilar)tosettheswitches.
Detailsoftheseswitchesaregiven inChapter5.Ifyoufeelunsureastoyour
abilityto settheseswitches,contact yoursupplier.
memberingthat printingwillstartsomedistancefmmtheleft-handedge
of the carnage).Therearemarkingsmoldedinto the backplateof the
assemblytohelpyouifyouwishto centerthepaper.Ifyouarecentering
thepaperusingthemarkingsmoldedintothepaper guide,rememberthat
printingwillstartfromtheleft-handedge,unlessyouresettheleft and
rightmarginsusingsoftwmvcommands.
andhe paperwillbefed andadjust&1past the printheadto a position
readyforprinting.The paperbailwillbemovedbackto grip the paper
againsttheplaten,and theprintheadwillmovetothestartposition.
Theactualverticalpositionofthe paperafterauto-loadingisdeterminedby
theMemorySwitchsetting(seeChapter3).
The verticalpositionof the paper can be finely adjustedby meansof the
microfeedfunction(seeChapter2).
the clamp lever at the back of each sprocketto release and lock the
sprocketimposition(whentheleverisup,thesprocketmaybemoved,and
whenitisdown,the sprocketis locked).
holesarealignedwiththepinson the sprockets.If theyarenotaligned
properly,youwillhaveproblemswithpaperfeeding,possiblyresulting
in tearingandjammingof thepaper.
andthepaperwillbe fed and adjustedpast the printheadto a position
~ady for printing.The paperbailwillbemovedbackto grip thepaper
againsttheplaten,andtheprinthead willmoveto the startposition.As
whenloadingcut-sheetpaper,theMemorySwitchsettingwilldetermine
the initialpositionof the paper after auto-feeding,and the micm feed
functionmaybeusedto adjustthe paperposition.
Theprinterwillnowbeon-line(theONLINEindicatorwillbelighted).You
maynowwanttochoosea font,apitchand aprintquality.This canbedone
fromthefrontpanel,butyoumustputtheprinteroff-linefirst by pressing
the.[=~~~-;button. The indicatorwill go out and the printerwillbeepto
confirmthis.
10
Page 17
chapter2
FRONTPANELCONTROLS
The followingsectiondescribesthe frontpanelcontrolsand indicatorson
If the PITCH’ buttonis pressedwhentheprinteris turnedon, thepitchwill
be “locked”,and no pitchchangescan be made from software.It is still
pssible, however,toputtheprinteroff-lineandchangethepitchusingthe
PITCH button.
12
Page 19
I
FONTSEITING
hXSiIlgthe ~‘oNT:
the printermustbeoff-lineforyoutodothis.Notethattheselectionofsome
fonts(showninyellowonthefrontpanel)is shownby anorangeindicator,
andthe selectionofothers(shownin greenon the frontpanel)is shownby
agreenindicator.Holdingdownthe
Mtweenthe fontsavailable.
Paperparkingisusefulif youareusingfanfoldpaper,andyouwanttoprint
adocumenton oneortwosheetsof cut-sheetpaper.Theprinter“parks”the
fanfoldpapersafelyout of the way,so that youdo notneedto unloadthe
paper before inserting cut-sheet paper, then, when you have finished
printingon cut-sheetpaper, movesthe fanfoldpaper back to its original
positionso thatyoucan restat printing.
To use this facility,followthe instructionsbelow:
1
Puttheprinteroff-line@ess the :-OWW‘button,sothattheindicatorgoes
out).
Pressthe
2
paperpath.
{ET:::CT:PARK’button,so that the fanfoldpaperis movedoutof the
again.Whenyou ~lease the button,the printer will return to its on-line
status,andthepaperwillbefedbackwards,withtheprintheadalignedwith
thetopofthenextform.
15
Page 22
MicroFeed
The Micro Feed facilityis usefulif youwishto alignthe paperexactly.It
feedsthepaperforwardsor backwardsin l/216th inchincrements.
To use thisfeatwe,puttheprinteroff-line(usingthe (-button).
Thenpress the @@> button,and eitherthe
(PAP-O) button (to feed the
paperforwatis), or the @W@ button(to feedthepaperbackwards).
Holdingdownthesebuttonscontinuouslywillcontinueto feedthepaperfor-
wardsor backwardsinsmallincrements.
BUFFERCLEAR/RESET
It is possibleto clearthebufferoftheprinteror to mtumittoitspower-on
enterthisintotheprinter’smemory.Anyoptionchosenatthisstagewillnow
be stored,evenwhenthe printeris turnedoff.
17
Page 24
Whenyoupressthe { ON-buttonto enteranoption,a“*”(asterisk)will
beprintedto confirmthattheoptionhasbeenchosen.
Themenusare organizedin a hieramhical(tm-structumd) fashion.Some
menusdo not chooseoptionsdirectly,but instead,move down to other
menus. To move up throughthe menu structure towards the “root” or
“trunk”,use the ~
IBI*]or in one directiononly (unidirectiomlfor increasedaccuracyCUNI].For practicallyall purposes,
however,bidirectionalprintingissufficientlyaccurate.
If this is set [ON*],then when paper is inserted,the
printerwillautomaticallycomeon-line.Ifset[OFFI,then
youwillhave to press thebuttonto
l%isoption,liketheoneabove,determinesthenumberoi
linesbywhichthepaperwillbefedforwardfromthetop
of thepaper,butheretheoptionis determinedfor the
AutomaticSheetFeder. Again,theoptionsrangefrom
1to6, and6 isthefactorysetting.
Frequently,theprinter willdetectthelackofpaperand
gooff-linewithanumberofbeepsifnopapcrisinserted
in the printer [ON*]. However, this can lx disabled
Whenusingfanfold
Off option allowsyou to tear off one sheet of paper
withouthavingtoejectthewholeofthefollowingsheet.
Ifthisoptionis set[ON*],whenthepaperreachesthetop
of the form,it will automaticallybe advanceda little,
allowingyouto tearoff thepapereasily.Setthis option
to IOFFIif Youdonotwantto useit.
Whenusingfanfold(continuous)paper,you may wish
printingto stopa littlebeforethebottomofeachshee~
andstartprintingaLittleafterthebegimingofthenext(in
otherwords,skippingoverrheperforation).Thisisuseful
ifyouwanttoproduceprogramlistings,etc.Thiscanbe
enabledbysettingthisoption[ONI,or,ifusingsoftware
whichperformsthisfunctionautomatically,itcanbe set
[OFF].
Ifsel[ONI,this willexpandallreceivedcarriagereturn
codesto a linefeedandcarriagereturnpair.However,
thismaybe set
If set [ON*],thisfunctionwillexpandallreceivedline
feedcodes to a carriagereturnandline-feedpair.However,this may be set [OFF]if you do not want to be
expanded.
The printer has two emulation modes: standard mode and IBM mode.
In standard mode, the printer emulates the fhnctions of the Epson EX-800
andEX-lOOOpnnters.Additional command codes areincluded as asupset
of these emulations.
In IBM mode, the printer emulates the IBM Proprinter II. Additional
command codes are included as a superset of these emulations.
andthe nxdt is dividedintothetwobytesof F7)handFFh,
If“non-printable” codes are given, ie those codes fmm OOhthrough IFh and
71%,these codes will be enclosed in angle brackets, for example cDC1>.
The name in the angle brackets is that assigned to the code in the ASCII convention. The name of the character should not be used, the binary value
should”beinput. In the same way, it should be noted that the angle brackets
are not to be input - they are merely there as delimitem in the printed text.
Of course, in a program, a meaningful variable name can be given to these
charactem, for instance (the following example is written in BASIC):
togetherwithanoteofthemodestowhicheachcommandcodeisapplicable.
Mostof the
mode and the IBM emulation mode. If a command is common to both
modes, the descriptive heading is followed by “Both”. If the command is
specific to one mode, then either “Standard” or “IBM” will follow the
descriptive heading. Occasionally, there am two identical commands to
perform the same function. In these cases, the relevant sign follows the
escape sequence.
following command codes are available in both the standard
Whenparametemare given,theaccompanyingtextdescribeswhetherthe
parameteris an ASCIIcharacteror a binaryvalue.
In the following descriptions, first the function of the command sequence is
given. This is followed by the emulation for which this command is
appropriate (“Standard”, “Both” or “IBM”).
24
Page 31
Followingthe heading,the full formof the commandis given,usingthe
ASCIInamesforcontrolcodes,eg<ESC>(theanglebracketsoneitherside
ofthename arenotpartofthename,beingsimplydelimitem,andshouldnot
beentered).Variableparametersrueindicatedbya letter(usually“n”),and
an optional number, enclosed in angle brackets (eg cnO>). Where an
indefinitenumberof pararnetemareto be supplied,thecos areseparated
by an ellipsis(“...
“).Thesequenceisthengivenusinghexadecimalcodes
(twohexadecimaldigitsfollowedbyalowercase“h”),withvariablesagain
representedby lettersenclosedin anglebrackets.The decimalequivalent
followsthehexadecimal.Thefollowingis an example:
ExamplecommandBoth
<ESC>
IBh
I27
Note that the above command sequence is for example purposes only - it
does not have any real function.
cBS>
08h
8
<?0
<0
<0
(codes)
(hexadecimal)
(decimal) \
25
Page 32
Fontstyleandcharacterset controlcodes
Selectitaliccharacters
<ESC>4
Standard
hz-34hi
27
<FS>4
IICh
I2852
The sequence above selects italic character printing.
Deselectitalicprinting
<ESC>
IBh
2753
<FS>
ICh
I28
The sequence above deselects italic printing.
52
34h
5Standard
35h
5
35h
53
IBM
IBM
I
I
I
I
\ select printmode
<ESC>,
IBh
27120
This command selects the print mode for subsequent printing, where <n> may be a
binaryvalueofOOhorOl h,oreither of the,ASCHcharacters “O”or”l” (30h or 3lh).
If -a> is equal to OOhor “O”,then Draft mode will be selected, and if equal to Olh
or “l“, then NLQ mode will be selected. All other parameters are invalid. This
command will also be ignored if Font Panel Lock has been selected.
26
x
78h
-3P
<n>
<n>
BothI
Page 33
I Selectfont
<ESC>
IBh
27107
ThecommandaboveselectsatypefaeeforsubsequentNLQprinting,where<n>is
abinaryvalue in therangeofOOhto07h.The followingtableshowstheeffectof
differentvaluesof thisparameter:
k
6Bh
<0
<0
<n
Both
I
Binary
Value
OOh I Courier
I
I OlhI Sanserif
I 02hI Letter-GothicI 06hI TW.Li~htI
Anyotherparametersare invalidandwill be ignored.Thiscommandwillalsobe
ignoredifFontPanelLockhasbeenselected.
Selectedfont
Selectcharactertable
<ESC>
IBh
Theeommandabovewillselectthecharaetertabletobeusedinsubsequentprinting,
where<n>canbeabinaryorASCIIvaluefromOOhthrough02hor”O”through“2”.
Thefollowingtableshowstheeffectof this parameter:
Value of cOI Description
I
OOhor “O”
Olh or
02h or “2”Moves character set downloaded in OOhto 7Fh area to
I Printasinale characterfromthe All CharacterChartIBM\
<ES(7>
IBh
2794
ThecommandaboveprintsasinglecharacterffomtheAllCharactersChart.There
arenoparameters.Ifthenextcharactertoreprintedhasacodebetw=n OOhandIFh,
itwillnot be treatedasa controlcode,andthecharactercorrespondingto this code
willbeprinted.
The commandabovesetstheprintpitch to pica. There are no parameters.This
commandisignoredifPitchPanelLockmodehasbeenselected.
Setelite pitchprinting
<Esc>
IBh4Dh
I2777
The commandabove sets all subsequentprintingto elite pitch. There are no
parameters.ThiscommandwillbeignoredifPitchPanelLockhasbeenselected.
may be cancelledby a <ESC> P (standardmode)or a <DC2> (lBM mode)
command.
M
Seteiite pitchprintingIBM
<Esc>
IBh
2758
3Ah
Both
1
I
I
It
The commandabovesets theprintpitchto elite. Thereare no parameters.This
commandisignoredifPitchPanelLockmodehasbeenselected.
30
Page 37
Setcondensedprintmode
<ESC>
IBh
2715
<S1>
oFh
Eitherof the two commandsabovewill set condensedprintmode.Thereare no
parameters.Subsequentprintingwill take place at approximately1.7timesthe
numberofcharacters/inchthan waspreviouslythe case.Thisiscancelledonreceipt
ofacDC2>command.ThiscommandwillbeignoredifPitchPanelLockmodehas
beenselected.
ASCIIvaluefromOOhthroughOlh or “O”through“l”. If cn>=OOhor “O”,then
expandedprintingis deselected(canceled),andif cn>=olh or“l”, thenexpanded
printingisselectedforallprintingsubsequenttothereceiptof thiscommand.
w
57h
<0
<0
Both
Seiectone-iineexpandedprinting
<ESC>
IBh
2714
<so>
OEh
14
I
Eitherof the commandsabovewillselectone-lineexpandedprint.Thereare no
parameters.Expandedprintingwillbeperformedsubsequentto thereceiptofthis
commanduntilanyofthe followingcommandsisreceived:<DC4>,.&E-, &! SC>
<B,cVT>, =&I+,<ESC>cFI%=or&! SC>W.
32
<so>
OEh
Both
Page 39
Cancelone-lineexpandedprint
I<DC4>
14h
I
20
The commandabovecancelsthe one-lineexpandedprint modesetby cSO> or
cESC> <SO>. There are no parameters
Both
I
I
I
I
I SelectMasterprint mode
1cESC>
l13h21h
27
Thecommandaboveselectsa “Masterprint”mode,
composedof theadditionof the following bit settings:
Bit Value Value
01Olh
73=
1202h
2
3808h
416IOh
m=
33
(dec) (hex)
404h
<0
<m
<0
Function Effect when Effect when
Pitch [12cvi I
Proportionalprinting
Condensed printing
Emphasized tnintimzIsetcancel
where <n> is a binary value
bit=l
set
setcancel
Both
bit=O
IOcui
csi-kcei
Et=E=
61
I
I 7 I 128 I 80h
Hence, if condensed italic underlined print is required at 12cpi, the values of bits 2,
6,7 and Omust be added together.Tl& comesto(indecim~)4+64+128+1= 197,
or (in hexadecimal)04h+40h+80h+Olh=C5h.Themastermodeishencea useful
wayofselectinga numberofprintparameterssimultaneously.
64 I 40h
I
33
Page 40
I
I Selectprintmode
<ESC>I
IBh
2773
The commandabove selectsthe print mode (resident/downloadedfont, pitch),
wherecn> is a binaryvalue.Theprintmodeselectedbydifferentvaluesof->is
shown‘inthetable below:
The commandabove will cancel the double-srnkeprint mode. There are no
parameters.AnychamcterspMted subsequenttothereceiptof thiscommandwill
beprintedin non-double-strikeprintmode(canceling theeffectof the cESC> G
command).
Select/cancelunderline
<ESC>
IIBh2Dh
27
45
<m
<m
<m
Both
The commandabovewill selector cancelunderlining,where<n> is a binaryor
ASCIIvaluewhichmaytakethevaluesOOhthroughOlhor “O”through“l”. If the
value is OOhor“O”,thenunderliningwillbecancelled.If cn>=olh or“l”, thenall
Thecommandabovecausesaprecisepaperfeed,whereen> isa binaryvalue.On
receiptofthiscommand,thepaperwillbefedforwardby~>/216inch. Nocarriage
returnwilltakeplace,andthe currentlinespacingvaluewillbe unaffected.
38
Page 45
Reverseone-timelinefeed (in 1/216inchIncrements)
Both
IBh
27106
Thecommandabovecausesa precisereversepaper fmxl,where<n> is a binary
value.Onreceiptofthiscommand,thepaperwillbefedbackwardsby<n>/216inch.
Nocarriagereturnwilltakeplace,andthecurrentlinespacingvaluewillbe unaffected.
Thecommandabovewillcauseaformfeed.Therearenoparameters.Onreceiptof
thiscommand,theprinterwillprintalldatastoredintheprintbuffer,andwillmove
to the topofthenextpage(asdeterminedby the formlengthsetby@! SC>C or
<ESC>C<NUb. A
ASFhasbeenselected,thiscommandfunctionsasa pageejectcommand.
carriagereturn(totheleftmargin)willalsotakeplace. If the
39
Page 46
I Reversefeedto top ofform
[“<ESC>
<FF>
Both
IBhOCh
27
12
The commandabovereversesthe paper to the top of the form. There are no
parameters.Onreceiptofthiscommand,thepaperwillbefedbackwardstothetop
ofthe currentpage.A carriagereturn(totheleftmargin)willalsotakeplace.This
commandisinvalidif theASFhasbeenselected.
I
Set pagelength(in inches)
<ESC>
c
IBh43h
27670
<Nub<0
OOh
<m
<0
Both
Thecommandabovesetsthepagelengthin inches,where<n> is a binaryvalue
(ls~><22 instandardmode,lS<n>S127inIBMmode)repmenting thenewpage
lengthininches.Thebottommarginis reset,andthecurrentlineafterexecutionof
this commandis madethe newtopofform.
Set pageiength(in iines)
<ES(2>
IBh
I27
c
43h
67
<m
<0
<*
Both
The commandabovesetsthepagelengthin lines,wherecn> is a binary value
(ISCn>S127in standardmode,lgQ>s255 inIBMmode).Thenewpagelengthis
set accordingto the currentlinespacingvalue. Subsequentchangesof the line
spacingvaluewillnotaffectthepagelength.Thebottommarginis reset,and the
currentlineafter executionofthiscommandismadethenewtopofform.Thiscommandisinvalidifthelinespacingis setto,O.
Thecommandabovemovesthepapertothenext verticaltabposition.Thereareno
parameters.Onreceiptof thiscommand,the printerprintsdatastored in theprint
buffer,andthe papermovestothenextverticaltabpositionor(ifrhereareno more
verticaltabpositionsonthepage),tothetopofthe nextpage.IfnoverticaltabpositionshavebeensetwiththecESG B commandoriftheyhavebeencleared,the
papermovesforwardbyoneline.
I
I Set verticaitab positions
<ESC>
IBh42h
27
The commandabovesetsverticaltabpositions,wherethevaluesrepresentedby
cnb to-ad> arebinaryvaluesgivingtheveficaltabpositionsinlinesfromthetop
of thepage.Thevaluesgivenmustkin ascendingorder.Iftheyareno~thesequence
willbeterminated.Thesequencemustendwitha-WUL>(ASCIIOOh).Ifnovalues
aregivenbetweenthecESC>Bandthe@JUL>,thenallverticaltabpositionspreviouslysetwillbecleared.Printingwillstartonthe(cm+lth) lineinstandardmode,
andthe(cn>th)lineinIBMmode.
Thecommandabovesetsthebottommargin,wherea> isabinaryvaluespecifying
thebottommargindeprhinlinesatthecurrentlinepitchsetting.Ifthepagelength
is reset (with the cESCX or <ESC>C<NUL>commands),the effect of this
commandwillbelost.Subsequentchangestothelinepitchsetting,however,willnot
affectthelengthsetby thiscommand.
Thecommandabovesetstheleftmargin,where“l” isalowercase“L”(not“one”),
and<o is a binaryvalueusedtosettheleftmargin.Themarginis definedinterms
of thenumberofcharacterpositionsatcurrentpitch.Ifproportionalspacinghasbeen
selected,then thecharacterwidthfor picapitchis used.Theleftmarginmaynotbe
closerthan two print positionsto the right margin,otherwisethis commandis
ignored.
1
I
I Set right margin
I <ESC>
IIBh
I27
ICh
28
Thecommandabovesetstherightmargin,wherecn> isabinaryvalueusedtoset
the rightmarginincharacterspacesatthecurrentpitch.Ifproportionalspacinghas
beenselected,thenthecharacterwidthforpicapitchisused.
Q
51h
81
Q
51h
81
<m
<mIBMI
<m
<0
Standard I
Horizontalprintpositioncontrolcodes
[ Carriagereturn
I <CR>
I13
Thecommandaboveperformsa
beginningoftheprintline.IfAUTOLFhasbeensetupwiththeMemorySwitches,
a linefeedwillbe performedaswill(atthecurrentlinespacing).
Thecommandabovemovestheprintheadtothenexthorizontaltabsetting.There
arenoparameters.Iftherearenohorizontaltabssetonthelinefollowingthecurrent
printposition,thiscommandis ignored.If underliningis on, then skippedprint
positionsarenotunderlined.
I Set/clearhorizontaltabs
<ESC>
IBh44hcn(b
27
Thecommandabovesetshorizontaltabs,where-a@ andal> arebinaryvalues
representingthenewtabpositions.Ifnovaluesaregiven,alltab stopsarecleared.
Thedefaulttabsettingiseveryeightcharacters.Tabsaresetat thecurrentcharacter
pitch. If proportionalspacing has been selected, then pica pitch is used for
determiningthepositionsofthetabs.InStandardmode,oncethetabshavebeenset,
thepositionofthe tabswill remainthesameifthecharacterpitchischanged.In the
IBMmode,the tab settingswillchangerelativeto thenewcharacterpitchif the
characterpitchis changed.
D*b
67
*b
...
...
...
al>
<n]>
all>
Both
Both
<NuL>
OOh
o
I
45
Page 52
I
Restoretabs to defaultsettings
<ESC>
IBh
27
Thecommandaboverestoresalltabs(verticalandhorizontal)to defaultsettings.
Thereare no parametm. On receiptof thiscommand,allverticaltabsettingswill
becleared,andallhorizontaltabswillbereset to everyeighthposition,startingat
column9.
R
52h
82
Set relativehorizontaltab positions
<ESC>
IBh
I27101
The command above sets horizontaltabs, where ->is a binary value. On
receiptof this command,allhorizontaltabswillbe cleared,andnewonesinserted
every<n> characters.Thesehorizontaltabscan be accessedwithan c-corn.
The commandabove will set thejustifkation mode in whichthe printerprints
receiveddata,where-> isabinaryorASCIIvalueintherangeOOh(or’’O”)through
02h(or“2”).Themeaningsof thesevaluesare shownin thetablebelow:
asshownbelow,into thedownloadRAMarea.<NUb is theASCIIcharacterOOh.
Thiscommandis only valid if “DOWNWARD”has been selectedin theRAM
USAGEmenuoftheMemorySwitch(seeChaptcr3fordetails).Allcharactersfrom
Thecommandaboveenablesthedefinitionof“soft’’charactersto be downloaded.
Thiscommandis only valid if “DOWNLOAD”has been selectedin the RAM
USAGEmenuoftheMemorySwitch(seeChapter3fordetails),andthedraftmode
hasbeenselectedbefore thiscommandisexecuted.
Thefollowingrulesareobsexved.<cl> andec2> arebinaryvalueswhichdetermine
thecharacterrangewhichwill be replacedby downloadeddata.For instance,if
<cZ>=20handcc2>.30h, allcharactersfrom20hthrough30hwillbeoverwriuen
bythedownloadeddata.Ifadownloadedcharacterisstoredinthearea80hthrough
9Fh, it can only be printedin the characterset #2 mode.It is possibleto store
downloadedcharactersin the part of rhe characterset reserved for
graphics(BOhrhroughDFh,F4handF5h),butthesecharacterscanonlybeprinted
whenthestandardcharactersethasbeenselected.
Eachdatabyteindicateseightverticaldots,withtheMSBbeingthetopdotandthe
LSB thebottomdot.Thesecorrespondtopins 1 to 8 or 2 to 9 of theprinthead,
deWndingonwhetherthecharacterisanascenderordescender.
49
Page 56
Definedraft downloadcharacter(s)
<ESC>=
al>4><DC4> cm>d>cd>cdl>... 411>
IBM
IIBh3Dhcd>4>14hcm> cal>cd>ail>... 42>1
2761al>42>20->al>cd>41>... 411>
Thecommandaboveenablesthedefinitionof “soft”charactersto bedownloaded.
Thiscommandis only valid if “DOWNLOAD”hasbeen selectedin the RAM
USAGEmenuoftheMemorySwitch(seeChapter3fordetails),andthedraftmode
hasbeenselectedbefore thiscommandisexecuted.
The followingrulesare observed.cnl> and d>give the numberof bytes of
characterdata that will follow.cmis the charactercode of the frostcharacter
defined.al> andCU2>areattributesbytes.’<all>tocdll> are thecharacterdata,
andare thesameasincESC>“&”. Theatrnbutebyted>indicateswhetherthe
characters anascender(notusingthelowestofthenineverticddots)ora descender
(notusingthehighestdot)andwhetherithasa downwardextensionto 12dots.
Theatrnbutebyted?> givesproportional-spacinginformation.Bit7 is ignored.
Bits4to6 specifytheoffsettothefwstbyteprinted(Oto7),enablingleadingspaces
inthecharactertobeignored.BitsOto3specifythewidthofthecharactercell(maximum 11dots).The characterwillbe followedby a mandato~ blankdotcolumn
whichis notincludedin thiswidth.
Theverticaldefinitionofthecharactersis 18dots.Eachbytethereforerepresentsa
third of the verticaldefinition.If cobytes am requiredfor a character,the
arrangementofthesebytesisasfollows(wherethebytenumbersarerepresentedby
decimalnumbers,startingatO),andthctotalwidthofthecharacterhasbeendefined
bytheparametercal>:
Thecommandaboveredefinesabit-imagemodeto anothermode, wherecm@ is
themodeto be redefined.ThismaytaketheASCIIvalues“K”, “L”,“Y”or“Z”.
cml> isa binaryvaluerepresentingthemodetowhichcmb isredefined,beinga
value used after the cESC> * command(Othrough 7). If any of the modes
representedby<m@ are subsequentlyselected,bit-imageprintingwillnowtake
placein themodeas definedbyml>.
?
3FhCml>
63Cml>
cd>
Select9-dotgraphics
<ESC>A
IBh5Ehcm>
I2794un>Q(b=W>cd(h...-dn>I
Thecommandaboveselectsthe9dot bitimagemode,wherecm isa binaryvalue
representingthe graphicsmode(seetablebelow),and cnb and cnl> arebinary
54
a>UIO>
<n(b
Cnl>cdlb....ain>
all>db...cdn>
Both
Standard
1
Page 61
values (low byte f~st) giving the numberof graphicsdata bytes following(as
representedby ~...
-do). The numberof data byte is twicethenumberof
graphicscolumnstobeprinted.
Miscellaneouscodes
The followingcommandsdo not relate specificallyto graphics,but have more
generalapplications:
Thecommandabovesetsthe MSBtoO. Therearenoparameters.Onreceiptofthis
command, themostsignificantbit (MSB)of subsequentdatawillalwaysbe set
too.
55
Page 62
I CancelMSBcontrol
IcESC>
IBh
2735
ThecommandabovecancelssoftwarecontroloftheMSB.Therearenoparameters.
Onreceiptof this command,softwarecontrolofthemostsignificantbit(MSB)by
the<ESC>>,<ESC>=(standard)ordYi>=(IBM)commands,willbecancelled.
#
23h
BothI
I
I Selectzerostvle
1
<ESC>
IBh7Eh
27126<w
Thecommandaboveselectsthestyleinwhichzeroeswillsubsequentlybeprinted,
where<n>iseitherabinaryvalueofOOhorOlhor anASCIIvalueof“O”or “l”. If
o> is OOhor“O”,rhen“normal”(non-slashed)zeroeswillbeprinted,butifitis Olh
or“l”, thenthe“computer-style”(slashed)zerostylewillbeprinted(thisoverrides
theMemorySwitchsetting,inChapter3).
<0
<?0
Both
BackspaceBoth
cBS>
The commandabove moves the print head back one position.There are no
parameters.This commandmoves the print head back one position(at current
The command above disablesthe printer’spaper-outdetection.There are no
parameters.ThisoverndesthesettingmadebytheMemorySwitchSettings(Chapter
3).
8
38h
56
Enablepaper-outdetectionBoth
<ESC>
IBh
27
The commandabove enables the printer’spaper-outdetection.There am no
parameters.ThisoverridesthesettingmadebytheMemorySwitchsettings(Chapter
3).
9
39h
57
I
58
Page 65
I Enable/disablebidirectionalprinting
i cESC>u
Both
I
I2785
Thecommandaboveenablesordisablesbidirectionalprinting,wherea> isabinary
valueofeitherOOhorOlh oranASCIIvalueofeither”O”or’’l”.If<n>is settoOOh
or “O”,thenbidirectionalprintingwillbe performed,andif it is Olhor “l”, then
unidirectionalprintingwillbeperformedsubsequenttothereceiptofthiscommand.
If the Memory Switch setting has been made for bidirectionalprinting, this
commandwillbe ignored.
] Enableunidirectionalprintingfor one lineonly
I<ES
-c>
IBh3Ch
<
<m
BothI
I2760
Thecommandaboveenablesunidirectionalprintingforonelineonly.Thereareno
parameters.Printingwill be performedfromleft-to-rightforthecurrentlineonly.
The commandaboveenablesor disablesdouble-heightprinting,wherecois a
binaryvalueofeitherOOhorOlh oranASCIIvalueofeither“O”or’’l”. If<n>isset
toOOhor“O”, thendouble-heightprintingiscancelled.If <n>isset toOlhor “l”,
thendouble-heightprintingisenabled.Thecharacterwidthis unaffected.It isthe
user’sresponsibilitytoalterthe linepitchso thatitisinaccordancewith thenew
characterheight,and to producea line feed at the new pitch in order to leave
sufficientspaceforthenewcharacters.Iftherearedifferentsizesofprintonthesame
line,theprintingwillbe alignedalongthebottomof thenormal-sizedcharacters.
Anypreviouscommandsforverticalenlargementofcharacterswillbecancelledby
this commrmd.
60
w
119
<*
<0
<ID
Both
I
I
1
Page 67
Selectcharacterheight,width,linespacing
<ESC>[
IBh5Bh
@
40h-bcd>OOhOOhcrt2>cn.3>
279164-b4>
C?lLb <d><NUbCNUbCn2>4>
00C?L?> Cn.b
Both
Thecommandaboveis usedto controlcharacterheighgwidthand line spacing,
wherecnb andcnl> (lowbytefnt) ate usedtosupplythenumberofsubsequent
databytes (1 or2).Theeffectof thetwodatabytes(d>and<rd>) isdetermined
asfollows:
d>
1
2Double-heightcharacters
16Sinzle line feed
17]Single line f~single-heightcharacters
18Single line fed double-heightcharacters
32
33]Doublelinef~single-heightcharactersI
34
Thecommandaboveselectsorcancelsthe“immediate”printmode,wherecn> is
abinmyvalueofeitherOOhorOlhoranASCIIvalueofeither“O”or“l”. If<n>is
settoOOhor“O”,thenimmediateprintingiscancelled.If~isset toOlhor“l”,
thenimmediateprintingisenabled.Inimmediateprintmode,eachcharacterissent
straighttotheprintheadas itisreceivedfromthehostcomputer(unbuffered),and
thepapermovesup so thatitispossibleto read whatisonthepaper,similar to a
typewriter.
Thecommandaboveselectsafon~wherecn> is artASCII valuewhichmaytake
thefollowingvalues:
4070
C?PEffect
4’..
0Courier
t “1”
I SanserifI “6”
44 . .
2Letter-Gothic
“ ..
3orator
I “4” I ScriptI
F
46h29h29h
,, ?.
“7”
,, ..
))
4141
5
TW-Light
Cinema
Draft
9
+
Both
<*
<m
<?0
63
I
Page 70
Select/cancelitalicmintBoth
28h28h49h29h29h<#
40
Thecommandaboveselectsorcancelsitalicprinting,where cn> isanASCIIvalue
whichmaybeeither“l” or“O”.Anyothervalueswillbeignored.If->=“l” then
italicprintingisenabled,andifcm = “O”, thenitalicprintingiscancelled.
40734141<0
Select/cancelboldprintBoth
(
28h28h42h29h
4040
Thecommandaboveselectsorcancelsboldprinting,wheree~ isanASCIIvalue
whichmaybeeither”l” or’’O”.Anyothervalueswillbeignored.If<~ =“l” then
boldp;nting isenabled,andifm> =
(
B
66
“O”,thenboldprintingiscancelled.
)
4141<*
)
29h
<m
<m
I SelecticancelunderlineBoth
(
I
28h
404045
(-))
28h2Dh29h29h<0
4141<m
<*
Thecommandaboveselectsorcancelsunderlining,whereen> isanASCIIvalue
whichmaybe either“l” or“O”.AnyothervalueswillbeignoredIf~>=”1” then
underliningis enabled,andif en>=’’O”,thenunderliningiscancelled.
I Sekcffcancel expandedprint
((--s
28h
40
Thecommandaboveselectsorcancelsexpandedprinting,where<n isanASCII
value from“O”through“3”.Theeffectof cn> is givenin thetablebelow:
64
28h
40
53h
83
))
29h29h
41
41
Both1
<*
<m
<m
Page 71
“l”I Double I Normal
“2” I Normal ] Double
“3”I Double ] Double
I Selectcolorprinting(withcoloroptiononly)Both
t(
(
28h28h43h
4040
c
67
))
29h
41
29h<*
41<*
Thecommandaboveselectsthecolorto beprintedwhenthecoloroptionisfitted,
wherea> is artASCIIvaluefrom“O”through“6”.Thecolorselectedby <n> is
shownin thetablebelow:
-Color
,’ !!
o
Black
‘, ,?
1Red
‘, ..
2Blue
Violet
“3”
“4”Yellow
Orange
“5”
., .,
Green
6
<)0
ControlASF
((
28h
40
28h
40<m
<?0
<0
)
29h
4141
29h
)
1
1
ThecommandabovecontrolstheASF(AutomaticShmtFeeder),where<n>isan
ASCIIparameterwhichcantakethevalues O
“ “,’’4’’,’’R’’or’’T”.Thiscommandhas
exactlythesamefunctionastheESC<Ehb command.
65
Page 72
66
Page 73
chapter5
DIPSWITCHES
ThebankofDIPswitchesinsidetheprinter(seeillustrationbelow)is used
forvariousfunctions.AllswitchesaresetONwhentheprinterleavesthe
factory.
Yourprinteris a tdiable pieceof precisionmachinery,whichshouldnot
causeyouanytmttble,provideditisusedandtreatedsensibly.However,the
few elementarytipsbelowshouldavoidyou havingto make unnecessary
servicecalls.Thefollowingtablegivesyouideasonwhereto lookinthis
sectionif youexperiencefaults:
Eitheryou areusingthewrong InternationalCharacter
Set (resetwithDIP switches orsoftwarecommands),
or you have the wrong characterset selected (for
example if charactersother thanIBM block graphic
charactersare being printed). Correctthis with DIP
switches ortheappropriatesoftwaresequences.
If the printoutis not whatis expected:
I Check
Is the printer installed correctly?
Is the printer not printing
anythingthatyouareexpect-
ing?
I Possibleremedv
Yoursoftwaremay thinkthatit is drivinga different
emulationtotheone actuallvset.ChecktheDIPswitch
settingstomakesureyou havetherightemulation.
Use theHexDunmmodeto analvzetheouhmtfromthe
computerto thep%nter.This will enable you to determine that the right escape sequences, etc are being
transmitted.
.
71
Page 78
Paperfeeding
If cut sheetpaper (withoutthe ASF) is not feedingsmoothly,check the
following:
CheckPossibleremedy
Is the paper release leverSet therelease lever to the ~ psition.-
pushedback (to the ~ position)? .
Is the paper guide in placeThe paperguide should be in place vertically for cut
andvertical?sheets to feedsmoothly.
Aretheleft andrightguidesIf theleft andrightguides aretoo close together,the
tooclose together?paperwill not feed smoothly.Move themalittle further
apt to Now thepapertofeed freely.
Is the ASF selected withtheIf it is, thendeselect it.
MemorySwitch settings?
Areyoutryingto feed paperYoucanonlyfeedpaperin thiswaywhen theprinteris
usingthefrontpanelbuttonsoff-line. Set theprinteroff-line and thenfeedpaper.
while the ON
is illuminated?
Is thepapertoo thick?Therearelimitstothethicknessof paperthatcanbe fed
Two line feeds arebeing printed.Eithermakeyour
softwareprintjust a carriagereturnor (if this is not
possible),settheAUTOLFtoOFFusingtheMemory
Switchmenus.
Check
Is the printing starting too
highortoolow onthepage?
Does the printer’s page
lengthnotmatchthephysical
pagelength?
Is the Skip-overperforation
facilitynotworking?
74
Possibleremedy
Use theMicroFeed facilitytoadjusttheprintposition
relativetothewwze.
Use theMemorySwitchsettings, ortheDIP switch to
set up the correctpage lengti or use software cOm-
mandsto do it.
Makesure@isis set withtheMemorySwitchmenus.If
theskipoccursin thewrong place, makesurethepage
length is properly se~ and that the top of the print
position is abouttwo lines down from the top of the
uaver.
a compressed-airaerosol(soldforthispurpose).Whenperformingthis
operation,be sure not to bend or damage any cable connectionsor
electroniccomponents.
ADJUSTINGTHEPRINTINGGAP
distance between the print head and the platen can be adjusted to
The
accommodate different paper thicknesses. To make this adjustment, remove
the top cover. The adjustment lever is located near the left end of the paper
bail. Fulling the adjustment lever towards you widens the gap; pushing it
away from you narrows the gap.
Thisisnotajobwhichyouwillneed to dovery often.The printheadhasbeen
designedtogivealife of about200milliondots. In normal everyday use, this
will mean years of life. However, ifthe print quality is faint, even after you
have changed the ribbon, the print head will
Onlyuse a replacementprintheadasrecommendedby yoursupplier.
Theprinterisequippedwithanumberofdifferentmodesfordiagnosisand
testing.These am accessedfromthe frontpanelby holdingdown a front
panelbutton(or combinationof buttons)whileturningon thepowertothe
printer.
The test and diagnostic modes available are listed below
● A text test print mode
c A short test print mode
“ A long test print mode
● A hexadecimal dump mode
● A bidirectional print test
Shorttestmode
Iftheprinteristumed onwhilethe ~~~buttonispressed,thepnnterwill
enterthe shortself-testmode.Theprinterwill startprintingassoonas the
ROM,eg “***Ver 1.0***”,followedby sevenlinesof thecharacterset.
Eachlinewillbe offsetby onecharacterfromtheonebeforeit. If thecolor
optionhas been installed,each line will be in a differentcolor.The final
(blackandwhite)resultwillbe somethinglikethefollowing:
[Standardmode]
KBMmode]
Sincethe test
mended that the printer is loaded with continuous stationery to avoid
possible damage to the print head and/or platen.
print occupies the whole width of the carriage, it is recom-
Page 87
Ltestmode
Ifth[PAPERR”EDbt
etlsmTpwspa sa t
PAPERFEED buttonis released, and will printthevemionnumberof theprinter’S
ROM, eg “*** Ver 1.0***”, followed by the whole character set printed in
each typeface and pitch available.
Since the test print occupies the whole width of the carriage, it is recommended that the printer is loaded with continuous stationery to avoid
possibledarnageto theprinthead and/orplaten. In addition,thetotalnumber
oflinesprinted isconsiderable, more than can be accommodated on a single
sheet, so fanfold paper is certainly suggested for this test.
The printout below shows a short sample of the mults of this test:
—.x)-,“s./oD<->
dm.%41y~~.
( c)
-W.-em-.ll,!l,”l -!], ,4567ss: =>
mrt,-.~,y~pCU.rJ .=. .
—.w
--,~
—.llnL, tl -.—+/0!211--—-
_tNU._.11Wtit~ ~Wi.
!,,“()*
23’->-1 -I:1l
lnn-t-w’mmF—*=—
[\lk —“
,!,, -,..,”..
—-- --U>--m
,Ja... p..
81
Page 88
Texttestmode
tmtpwptMSmao
In
Tmi ab to tpa tsta h
dt@b
Trpwb st teb
Xlt HEtlORY SWITCH TREE $Xx
MAIN HEN1
FRINT CURRENT SET
INSTOLL MENU
‘f4cTORY SET
COHt4AND MENU
FONT MENU
PRINT HENU
PAPER MENU
FORHS MENU —
RAM USAGE
QUIET fiOOE
GRAPHICS OIRECTION :
NITO ON-LINE
ZERO STYLE
1
NLQ-FONT
PRINT QUALITY:
FRINT PITCH
CONDENSED FT(INT:
ITALIC F,RINT
OPTION ASF
AUTO L0401NG
AUTO LOtiDING ($ISF) :
PAPER-OUT DETECTOR :
SHOh’T TEAR OFF:
SKIP OVER PERFORATION : OFF / ON
AUTO LF
NJTO CR
LINES PER INCN
PAGE LENGTH (INCH)
: OFF / ON
: OFF/ ON
: 3LPI / 4LF1 / 6LPI / SLPI
a DIP-SW /5/S.5/4/5.5
EWFFER / DOWNLOAD / IL INEEWFFER
OFF / ON
SIX / UNI
OFF / ON
NORMAL / SLASHED
COURIER / SANSERIF
necessary to turn off the printer completely.
tie printoutwillbesimilartothatproduced by aMS-DOS DEBUG Display
command, ie the hexadecimal values of the bytes received will be given in
rows of 16, divided into two blocks of eight. “Unprintable” charactem, ie
control codes from OOhthrough IFh and 7Fh t.hughFFh, are represented
by peliOdS.
The following (BASIC) program will produce the result below it:
10FOR 1=0TO 255
20LPRINTCHR$ ( I ) ;
30NEXT I
40LPRINT
50END
After the program has been run, the printer’s buffer should be flushed by
pressing the -OWN. button.
tixiFEED’ktmode, it is
OS tj9 fjAIJB fic~D {jE ,:)F
18 19 1A IB IC ID IE IF
28 29 2(3 2EI 2C ~D 2E ~F
38 39 3A 3B 3C 3D 3E 3F
48 49 4A 4J3 4C 4D 4E 4F
58 5? 59 513 SC SD 5E 5F
68 69 6A 6B 6C 6D 6E 6F
78 79 7A 7B 7C 7D 7E 7F
S8 B9 8Q EI13 EC ED BE SF
98 99 9A 9E+ 9C 9D 9E 9F
AS C)9 M AH AC (2D AE AF
!38 69 W 13B EC BD BE BF
C8 C9 CA CB CC CD CE CF
DE D9 DA DB DC DD DE DF
ES E9 EA EB EC ED EE EFFE F9 FCI FF4 FC FD FE FF
....... . ..... ...
....... . ...... . .
1
,
0123456789: ; <=)?
WBCDEFG
POllSTUVWXYZ [\ ]’”’-
‘ abcde+gh i
pqt. stuvwXyz { ;1 *LI
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
...... . . ....... .
...... . . . ...... .
........ . . ......
....... . . . . . ....
..
( ) x+,-./
J
j k 1mno
Tmi uwiadst et
tcacab~b tpat
waar
8
Page 90
BidirectionaltestYadjustmentm
Tmi ut atao tpho s
bipAapo smypmw
ioo ao larppsim
oi gpTmwtb uvr
Wuypwa IPPo Po c
ywpb uPo Ma a osA
no stmuhTsi nh
a
T lht pfei i bt mtrpo t
m
IASW
YP
Wiasymftypi n
spmi tlo pgfiH
etspn pRtsatg
pwyso pi
I yhypsui smtca E
Eo E1a ypt b s
I no tamcoo tf(oo
prSN1SNEFEF
ftosmswyc
I yhypswtDst ea I
PrIsctftlo pai t
apsl
I tIPI i nmuP
You may be at cyast iso
tccst yp(icf
wanat yutseFi
i ym iWymwt ut‘‘*a
Act c
WordStar installation program. Read the section on escape sequences for
details of how to change fonts (for example).
diffenmt typefaces. This can all be done with the
8
Page 94
I
I ywodnayt cfi maa
pi pIa “ci ytfa tp
wywt cfWtdi ppw
tpa tpYctptpoac
fwtfpbTptpoaa
mp
I yspdnmpb nbai
wfypi cotmcqa
“yppa ba“i d a hf
fYsa“t btq
Ospmwayt isf
Sppwoaftmno c
t b pTi gb
No c.C1m
P
E
Cp
Ce
PrVV
Stsiwayfai
strtpttds(bt
MSTcfypi <@(4
MSttDsasftrpea
tyhstacsutDs
I yai adatco yas
seaYsswpb ym
con
181
191
1
2
12
12
1m
Page 95
GHC
O a PCc
~a(ko tctt oa po a
tsT pagsywht rtp
G.SyMmffd
Coeo tot tst tpcb t
o aob uo t(@ kc
ruMycut
STPFTD
P
Pcommand can be used to transmit control codes and escape
T
sequences 120ma file to the printer inorder to setup various parameters. For
instance, if you want to set up NLQ printing, the command is <ESGx 1
(lBh 78h 31h).
A file must therefore be created using these tiecharactem. Though the
MS-DOS line editor EDLIN can be used, there is a small difficulty in
inputting the <ESOcharacter. This is achieved with the following sequence:
mm
and then the ASCII “xl” can be input. The file is then saved, and output to
tpTsctb sltf
A EN. D
NF
*
I
O ci yhateo wwayt
icsa t<cti ppt
uEFfdo ht uEcyo
sm
8
Page 96
Tresulting fsb st tputCc
e
AN. DP
prior to printing document files. Of course, this command can also be
included in a batch file.
PUB
A dea vo Bi uswP
comWtBcast tp
utLcaccadut
Cf
Sampleprogram
The following lines of BASIC give examples of how the printer may be
‘Selectdownload character
1710 FOR 1=1 TO 5
1720 LPRINT CHR$(60);
1730 NEXT I
LE$;II%OII:‘nc
1740
‘Printdownload character
1750 GOSUB 3130
1760 LPRINT E$;’’%l”;
‘Selectdownloadcharacter
1770 FOR 1=1 TO 5
1780 LPRINT CHR$(60);
‘Printdownload character
1790 NEXT I
1800 LPRINT E$;’’%O”
‘Selectnormal character
1810 ‘
1820 LPRINT H$;C$;’’Dotgraphics:”
1830 DIM LOGO$(4)
1840 RESTORE 4170
1850 FOR ROW=l TO 4
1860 FOR COL=l TO 65
91
Page 98
READ GD
1870
LoGO$(ROW)=LOGO$(ROW)+CHR$(GD)
1880
NEXT COL
1890
NEXT ROW
1900
LPRINT E$ ; “A” ;CHR$(8) ;
1910
FOR ROW=l TO 4
1920
LPRINT ““;
1930
FOR B=O TO 6
1940
IF B=2 THEN 2000
1950
IF B=5 THEN 2000
1960
LPRINT E$;’’*’’;CHR$(B);
1970
LPRINT CHR$(65);CHR$(0);LOGO$(ROW);
1980
LPRINT ““;
1990
NEXT B
2000
LPRINT
2010
NEXT ROW
2020
LPRINT E5;”@”
2030
END
2040
‘Set8/72”linespacing
‘Selectnormaldensity
‘Initializeprinter
3000
‘ SUBROUTINES
3010
‘ Define Draft download character
3020
LPRINT E$;’’xO’’;E$;”:U
3030
LPRINT E$;’’&’’;CHR$(O);CHR$(60);CHR$(60);
3040
RESTORE 4020
3050
READ LS :LPRINTCHR$(LS);
3060
FOR M=l TO 11
3070
READ MM
3080
LPRINT CHR$(MM);
3090
NEXT M
3100
RETURN
3110
;CHR$(0);CHR$(O);CHR$(0);
3120
‘ Define NLQ download character
3130
LPRINT C$;
3140
LPRINT E$;’’&’’;CHR$(O);CHR$(60):CHR$(60);
3150
RESTORE 4060
3160
READ LS :LPRINTCHR$(LS);
3170
READ CW :LPRINTCHR$(CW);
3180
Rl?ADRS :LPRINT CHR$(RS);
3190
FOR M=l TO CW*3
3200
READ MM
3210
LPRINT CHR$(NM);
3220
NEXT M
3230
RETURN
3240
4000
‘ DATA
4010
‘ Draft download characterdata
4020
DATA 139
4030
4040
DATA 124,
0, 66,
4, 64, 36, 16, 2, 16, 12, 0
4050
‘ NLQ download characerdata
4060
DATAO, 23,0
4070
DATA
4080
DATA16, 2,
4090
DATA 32,124, 0,0,0.
4100
DATAO,0>
4110
DATA16, 0,0,
4120
1,248, 0,6,0,0.
0, 32,124, 0>0,2, 0
0, 63,248, 0
0, 32,0, 0,
8,120, 0,4,0,0
8.124, 0
0,120, 0
9
Page 99
4130 DATA
anu
be
4140 DATA
4150 DATA
4160‘
4170‘ Dot graphics
4180
‘ ROW i
4190 DATA0,0. 0,0.1.3>7.7,
4200 DATA14. 14, 14, 14, 14. 7,7,3,
4210 DATA15, 15, 0,0.0.0,6.7. 7,7
4220 DATA7.7.7,7. 7,6.6.0.0,7
4230 DATA7.7,7.7. 7,7,7,7.7.7
4240 DATAO.0.7,7. 7,7.7,7,7.7
4250 DATA7.7.0.0.0
4260 ‘ ROW 2
4270 DATAO.
4280 DATA7. 7.7.7.3,3,
4290 DATA 240,240. 0.0sO,0, 0>
4300 DATA 255>255,255.255,31. 0>0.0,1>3
4310 DATA 31,255,255,255,255.255,255, 1,0.0
4320 DATA0,1>
433o DATA0,0.0. 0,0
4340 ‘ ROW 3
4350 DATA
4360 DATA 192,224.224.224.224,240,255.255,255.255
4370 DATA 255,127> 0,0,0.0> 0>0>
4380 DATA 255,255,255,255,255>15, 15> 63.252n240
4390 DATA 192,
4400 DATA 127.252,240,192> 0>0.0>0,0>0
4410 DATA0,0,0,0>0
4420 ‘ ROW 4
4430 DATA
4440 DATA 56, 56, 56,120.120,240,240>224>224,192
445o DATA 128> 0,0>0> 0>0,0.0.0,0
4460 DATA 128,248,248>248,248,240,192, 0,0,0
4470 DATA0,
4480 DATA0,0, 0>0,0>0,0.0,0.0
449o DATA0,0,0, 0,0
2,124, 0,
0,130, 0,
0,120, 0,0,0,0
0. 60,255,255,255>255.255,143,15
o, 31, 31,
0,240,255,255,255,255,255,
0,248,248,240,224,224.112,112>56, 56
0,240,248,248,248,248,240,192. 0
1,130, 0,
0,124, 0,
data
7, 31,255,252,240,192.128,O
3,129,128,192,192,192,192
0,124, 0
0,128, 0
7, 15
3, 15
3,131,193,241
0,224,255
0,192
7, 15
Trhmh
Howtheprogramworks
This
sva11Yo
neo
TheW10
I ptIiucra
fee
Ap
ppsodfsfbo
tpptsdaqp
1Upt
9
Page 100
I
Nctcao tpalo tpt
ti eaclt gabeTw
i db fpcacstrm(
1acc(1avtls
(1a1aa ct mtsb
c(1a1
Ntprt nsagado t
pwoaipbpu
isue
The K)Wo csi tnext printed line is created by downloading
two new character patterns, which are printed in place of the character “<”
(character 60).
The final part of the program uses dot graphics to print an “SW” logo. The
dotpattern of the logo was originally laid outongraph paper, then converted
to the data in lines 4180 to 4490 with the help of a calculator. Each number
represents eight vertical dots. (See “Graphics commands” in Chapter 4 for
details.)
The pattern is printed in four rows, each eight dots high and 65 dots wide.
Lines 1830 to 1900 read the dot data into a string array variable named
LOGC)$. Line 1910 sets the line spacing to 8172inch SOthat the rOwSwill
connect vertically. The loop in lines 1920to 2020 does the printing in four
passes of the print head.
This program can also be run in IBM mode if you change a few of the lines
asshownbelow to allow for differences in someof the commands. You will
getacylinderinsteadof abarreleffect, bccuase the IBM