Download Star Micronics LC24-200 User's Manual

Transcript
USERS MANUAL
LC24-200
LC24-200cc)muR
ZBL 80821757
LC24-200
LC24-200
COLOUR
USERS MANUAL
NOT INTENDED FOR SALE
S
T
r
s
B
1
d
c
p
P
f
t
t
ap
a
r
t
a“
s
s
P
d
O
d
w
o
c
(
m
A
c
w
C
p
a
O
ar
t
w
M
o
N
p
o
f
o
w o
a
Bl
a
w
d
d
o
p
I
m
m
m
o
1
w
p
w
r
“
P
i
e
2
i
m
O
P
as
w
o
t
O
C
a
2
w
c
0
a
p
O
l t
e
a
w
G
o
p
X
P
C
B
L
L
p
1
t
s
p
l
7
G
S
X
M
C
E
1
b
2
A
P
M
S
J
w
“
a
m
S
P
as
m
a
d
T
M
M
L
t
a
0
w
a
s
L
c
a
2
p
a
m
9
2
(
R
S
P
X
M
P
C
I
L
B
C
N
r
●
S
c
e
●
●
H
o
@C
r
R
e
a
p
h
s
n
1
t
b
p
t
m
c
w
f
w
w
f
m
m
e
s
t
d
S
SoM
a
S
a
C
n
c
g
w
r
Lp i
t
a
m
b
e
p
t
i
y c9
m
t
r r
o
t
HOW TO USE THIS MANUAL
This manualis organizedintoninechapters.Tolearnhow to makethe best
use of yourprinteryou areurgedto readthroughchapters1through3. The
remainingchaptersmay be treated as a referenceguide for programming
operations, etc. It assumes a degree of knowledgeof the operation of
computers(forinstance,it assumesyouknowabouthexadecimalnumbers).
The chaptersare as follows:
Chapter 1— Settingup the printer
This chapterexplainshowto get the printerunpackedand setup. Readthis
chapterbeforeyou do anythingelse.
Chapter 2 — Controlpaneloperations
There are a number of controlson the front panel which performvarious
functionsrelatedto paperhandling,printmodes and font selection.
After gettingset up, read this chapterandtry out the variousproceduresin
it to find out how the printerworks.
Chapter 3 — Defaultsettings
Thischapterexplainshowto use theElectronicDIP Switch(EDS)modeto
make systemsettingson the printer.
Chapter 4 — Pnntcr controlcommands
Thischapterexplainsthedifferentemulationsprovidedby yourprinter,and
the softwarecommandsused to drive it. This sectionis of use if you are
writingor modifyingprogramsto take advantageof the printer’sfeatures.
Chapter 5 — Downloadcharacters
This chapterexplainsthe proceduresto create yourown characters.
Chapter 6 — MS-DOSand yourprinter
Since the PC or PC-AT family of computersnmning under MS-DOS is
currentlythe most popular configurationof microcomputer,we have includeda few hints andtips to help you use yourprinterwith such systems.
SincevirtuallyallPCs aresoldwitha MicrosoftBASICinteqxeter,wehave
also included some hints, and a sample program in this language to
demonstratethe capabilitiesof the printer.
Chapter 7 — Troubleshootingand maintenance
Thissectiongivesa checklistofpointsto checkif yourpnnteris notworking
in the expectedway. It also includesdetailsof some routinemaintenance
operationsyoucan carryoutyourself.It is not,however,a completeservice
manual.Calla qualifiedserviceengineerif youareunsureof yourabilityto
carry out any maintenanceor servicingoperations.
Chapter 8 — Specifications
This sectiongives the specificationsof yourprinter.
Chapter 9 — Charactersets
These chartsshow the differentcharactersets available.
I
FEATURES OF THE PRINTER
Thisprinterhas a fullcomplementof features,makingit an excellentpartner
for a pemcmalcomputer.It supportsthe IBM/Epsonprintercommandsand
charactersets, enablingit to pMt just about anythingyour computercan
generate,bothtextand graphics.Someof its mainfeatms ruethe following:
●
Versatilepaper handling
Single sheets, fanfold forms, and multi-pm forms (up to 5-ply) rue all
accepted,and you can use eitherpush@l tmctoror frictionfeed.(Youcan
load fanfoldforms fium the rear with push tractor,or fanfoldforms and
multi-pan forms fmm the bottom with pull tractor.) A special feature
enablesyou to keep fanfoldforms parked in readinesswhile printingon
other paper.
●
Six brightcolors
MageM cyan,violet,yellow,orange,and ~n add a colordimensionto
your printedoutputby the color versionprinter.
●
Large varietyof fonts and sizes
The printerhas one draftfon~one High+eed Draftfont and fiveLQ fonts
(Romm SanSerif,Courier,Pmtige and Script),italicsfor all styles,plus
condensedprint, bold print, double-sizedpnn~ and quadruple-sizedprint.
●
Extensivesoftwaresuppofl
Sinceit is compatiblewith the Epsonand IBM printm, it workswith any
softwruethat supportsthose printem.That includesmost woti-pmcesdng
and graphicsprograms,spread-sheets,and integratedsoftwarepackages.
. Easy operation
Indicatordisplaysand beep tones provideimmediate,easy to understand
feedbackwhen you p~s the buttonson the controlpanel.The fivebuttons
can operatein combinationsto performa suqxisingvariety of functions,
including micm-alignment.
●
Easy care and maintenance
The ribboncartridgecan be replacedin secondsthe print head in a few
minutes.
TABLE OF CONTENTS
Chapter 1 SETTING UP THE PRINTER
LocatingthePrinter
UnpackingandInspection
Checkingthecartoncontents
Identifyingprinterparts
SettingUp
Mountingtheplatenknob
Installingtheribboncartridgeandtherollerunit
Installingtheoptionalcartridge
Connecting
theprinterto yourcomputer
LoadingSingleSheets
Automaticloading
Manualloading
LoadingandParkingFanfoldForms
Loadingthepaperfromtherearof theprinter
Loadingthepaperfromthebottomof theprinter
Paperparking
Paperunparking
LoadingMulti-PartForms
AdjustingthePrinting.
Gap
1
1
2
2
3
4
4
4
8
9
10
10
12
13
13
16
17
18
19
20
Chapter 2 CONTROL PANEL OPERATIONS
ButtonsandIndicators
ONLINEbutton
PAPERFEEDbutton
SET/EJECT/PARK
button
PITCHbutton
FONTbutton
Power-UpFunctions
Shorttestmode
Longtestmode
Printareatestmode
Stayinpanelpitch
Stayinpanelfont
Stayinpanelpitchandfont
Hexadecimal
dump
SwitchCombination
Functions
Formfeed
Topof form
23
23
24
24
25
25
26
27
27
28
29
29
29
29
30
32
32
32
Forwardmicro-feed
Reversemicro-feed
Changingtheautoloadingvalue
Clearingthebuffer/Allreset
Selectingtheprintcolor
Storemacrodefinition
33
33
33
34
35
35
Chapter 3 DEFAULT SETTINGS
Howto settheEDSmode
FunctionsoftheEDSsettings
Bidirectional
test/Adjustment
mode
3-7
37
38
43
Chapter 4 PRINTER CONTROL COMMANDS
FontControlCommands
CharacterSetCommands
CharacterSizeandPitchCommands
VerticalPositionCommands
HorizontalPositionCommands
GraphicsCommands
DownloadCharacterCommands
ColorSelectionCommandes
OtherPrinterControlCommands
45
46
52
55
61
68
73
76
81
81
Chapter 5 DOWNLOAD CHARACTERS
DefiningYourOwnCharacterswithStandardMode
Assigningthecharacterdata
Assigninga valueofcharacterspace
Sampleprogram
DefiningYourOwnCharacterswithIBMMode
Assigningthedownloadcharacterset
Assigningthecharacterdotpattern
AssigningtheIndexTabledata
Sampleprogram
85
85
86
87
88
90
90
91
93
94
Chapter 6 MS-DOS AND YOUR PRINTER
InstallingApplication
SoftwarewithYourPrinter
EmbeddingPrinterCommands
Programming
thePrinterwithDOSCommands
Programming
withBASIC
Howtheprogramworks
97
97
98
100
103
108
Chapter 7 TROUBLESHOOTING AND MAINTENANCE
Troubleshooting
Powersupply
Printing
Paperfeeding
Maintenance
ReplacingthePrintHead
111
111
112
112
114
117
117
Chapter 8 SPECIFICATIONS
119
Chapter 9 CHARACTER SETS
StandardCharacterSet#1
StandardCharacterSet#2
IntemationaJ
CharacterSets
IBMCharacterSet#2
Codepage#437(U.S.A.)
Codepage#850(Multi-1ingual)
Codepage#860(Portuguese)
Codepage#861(Icelandic)
Codepage#863(CanadianFrench)
Codepage#865(Nordic)
IBMCharacterSet#1
IBMSpecialCharacterSet
Proportional
SpacingTable
123
124
126
127
128
128
130
131
132
133
134
135
136
137
INDEX
149
COMMAND SUMMARY
153
I
chapter 1
SETTING UP THE PRINTER
Subjects covered in Chapter 1 include —
●
Locatingthe printer
●
Unpackingand inspection(part names)
✎
Settingup and connecting
✎
Loadingsinglesheets
✎
Loadingand parkingfanfold forms
✎
Adjustingthe printinggap
LOCATING THE PRINTER
Beforeyou startunpackingand settingup yourprinter,make sure that you
have a suitableplaceon whichto locateit. By “a suitableplace”,we mean:
●
A firm, level surfacewhichis fairly vibration-free
●
Awayfrom excessiveheat (such as directsunlight,heaters,e(c)
✎
Away from excessivehumidity
✎
Away from excessivedust
●
●
✎
●
●
Supplyit with“clean”electricity.Do not connectit to the samecircuitas
a large,noise-producingappliancesuch as a refrigerator.
Make sure the line voltage is the voltage specified on the printer’s
identificationplalc.
To disconnectthe printerthe plug has to be disconnectedfrom the wall
socket,whichhas to be locatedcloseto the printer,and easy to access.
Installthe printer where there is sufficientroom for the paper and any
paperbeing fed in or printedout.
If youareconnectingyourprinterwitha parallelcable,makesurethatthe
cableis within2m (6ft) of the printer.An RS-232connectionusing the
optionalSPC-8Kinterfacecan be made over longerdistances.
1
UNPACKING AND INSPECTION
Checking the carton contents
Nowunpackthe contentsof theshippingcarton,andcheckeach itemin the
box againstFigure 1-1to makesumthat youhaveeverything(thereshould
be six items).
If any of these items am missing,contactyour supplier.
F@ms l-1. Checktomakesureyou haveallsixitems: 1) Printer,2) Paper guide,3) Roller unit,4) Platen knob,
5) Ribbon cartridge, and 6) Manual set (User’s manual, User’s guide and Sticker).
2
Theoptionalaccessorieswhichyoumayhaveorderedwithyourprinterare:
●
Font cartridges(FC-lZ, FC-2Z,FC-3Z,FC-4Z)
●
RAM cartridge(RC-32Z)
●
Serial-Parallelconverter(SPC-8K)
●
Automaticsheet feeder(SF-1ODQ)
. Roll paper holder(RH-1OZ)
Identifying printer parts
Make an external inspection of the printer. Note the locations of the
followingparts in Figure 1-2.
I
I
Figure 1-2. The printer’s external psrts
holdsthe paper againstthe platen.
releasestheplaten.Thislevermustbe backfor
singlesheets,and forwardfor fanfoldforms.
protectstheprintheadandotherinternalparts.
Top cover:
protectsthe tractorfeed mechanism.
Rear cover:
for insertingsinglesheetsof paper.
Entry slot:
controlsvariousprinter Iimctions.
Control panel:
turns poweron and off.
Power switch:
Interface connector: for connectingthe computerto the printer.
Roller unit:
Release lever:
3
SEITING UP
Place the printer in the desired location,and removeall packingmaterial
from inside the top cover. This packing material is intendedto prevent
damageto theprinterwhilein transit.Youwillwantto keepall thepacking
material,alongwiththeprintercarton,in case youhaveto movethe printer
to a new location.
Mounting the platen knob
The platenknob is packedinto a recessof the packingmaterialwhichheld
your printer inside the carton. Be sure to remove the knob from the
packaging.
Mountthe knobon the platen shaft,whichis on the right-handside of the
printer. Rotatethe knob on the shaft before pushingthe knob fully into
position.
P1.iten hnob
F/gun?1-3. Mounting the platen knob
Installing the ribbon cartridge and the roller unit
Removethe top coverby liftingup the front (usingthe two gripson either
side),and pullingthe covertowardsyou (see Figure 1-4).Now installthe
ribbon.(Ifyouwantthecolorprintertoprintinblackonly,installtheoptional
monochromeribboncartridge,Z24 or LZ24.)
NOTE: Turn off the power switchwhenyou replacethe ribboncartridge.
4
Flgum 74. Removing the top cover
1. Turn the tensionknob clockwiseon the ribboncartridgeto tightenthe
ribbonif it is slack.
2. Guidethe nbbonbetweenthepnnthead andthe silverprinthead shield,
making certain that the spindles on the cartridge holder fit into the
socketson the cartridgeitself.
Figure 1-5. Installing the ribbon cartridge
5
I
3. The ribbonshouldpassbetweenthe printhead andtheprint head shield
(see Figure 1-6).
~
Figure 1-6. Pass the ribbon between the print head and print head shield
4. After you have installedthe ribboncartridge,installthe roller unit.
5, Openthe r;ar coverusing the two pits on either side.
6. Grippingthe lockleverson bothsidesof the rollerunit,fit themounting
bracketsonto the shaft insideof the printermechanism.You will need
to tilt the rollerunit slightlybackward.
7. Secure the roller unit firmly by lowering into position, as shown in
Figure 1-7.
8. Closethe rear cover.
6
I
Roller
Figure i-7. Install the roller unit onto the printer
To replacethe top cover, insert the tabs into the slots on the printer case.
Swingthe front edge downto closethe cover.
Leavethe top cover closedduringnormaloperation.The cover keeps out
dustanddirt andreducestheprinter’soperatingsounds.Openthecoveronly
to changethe ribbonor make an adjustment.
Installing the optional cartridge
Thispr@terhas fivebuilt-inLQ fonts,and a 7 K-byte(30 K-bytefor color
printer)printingbuffer.
Youcan addmore fontsor expandtheprintingbufferby installingoptional
cartridges(Font catndge or RAM cartridge).
To installor changea cartidge,followthe procedurebelow.
1. Turn off the powerswitchat the frontof theprinter,andremovethetop
cover.
2. Removethe connectorcover at the rightside of the printer.
3. Push out the cap from the connectorcover.
NOTE : Keep this cap in a safetyplace.
Optional cartl-i(igc
Figurs 1-8. Slide the csrtridge imo the slot with the power switch off.
4. Installthe connectorcover into the printer.
5. Inscrtthecartridgeintothe slotofthecmnnectorcover,andslideit allthe
way in.
NOTE :Remount the cap on the comcctor cover if you do not use the
optionalcartridge.
8
Connecting the printer to your computer
Connectthe printer to your computerusing a standardparallel interface
cable.On a PC or PC/AT-typecomputer,thismeansthatyouusethe25-pin
D-typeconnectorat thecomputerend, and the Amphenol-type36-pinconnector at the printer end. The configurationof the printer’s connectoris
given in Chapter 8 should you need a cable for connectionto another
computer.
If youneed to comect to a serialport,use the optionalSerial-Parallelconverter, SPC-8K.
1
Figure 1-9. Connecting the interface cable
Plugtheprinterinto a suitableoutlet.However,DONOTturnon thepower
switch at the front of the printeryet.
NOTE: To disconnectthe printerthe plughas to be disconnectedfromthe
wallsocket,whichhas to be locatedcloseto theprinter,andeasyto
access.
LOADING SINGLE SHEETS
This sectionwill take you throughthe proceduresfor loadingsinglesheets
of paper.
If youareusingthe optionalautomaticsheetfeeder(SF-10DQ),referto the
ASF instructionbooklet.
Automatic loading
Singlesheetscan be loadedmanuallywith the power off, or automatically
with the pwer on. We will start the easy way with automaticloading.
1. Place the paper guide in positionby insertingthe tabs, located on the
bottomof the assembly,into the slots on the rear cover of the printer.
lever
Figure 1-10. Mounting the paper guide for single sheets
2. Adjustthe paperguidesto matchthe sizeof thepaper youwillbe using.
Rememberthatprintingwillstartsomedistancefromtheleft-handedge
of the carriage.
3. Tumonthe powerusingtheswitchlocatedatthefrontofthe printer.The
printerwillbeep,indicatingthatthereisno paperinpositionforprinting.
The orange POWER indicatorwill also flash to confirmthis.
10
4. Make sure that the releaselever is back.
If fanfoldpaperis alreadymountedintheprinter,pressthe ( sc&AE~~cT )
buttonto park the paperin the off-linestate,thenmovethe releaselever
backwards.
5. Place a singlesheetbetweenthe guides,placingthe side on whichyou
wantto printtowardsthebackoftheprinter.Gentlypushthepaperdown
in the guidesuntil you feel it stop.
6. Nowpressthe( sE&~+cT
)button. Thepaperwillbefedintotheprinter
and adjustedpast the print head to a positionready for printing.
7. If youwantto setthepaperto a differentposition,setthe pnnteroff-line
by pressing the ( ONLINE ) button, ~en set the paper by using the
micro-feedfunction.(For details,refer to Chapter2.)
1
Figure 1-17. Loading a single sheet
11
Manual loading
Itis also,possibletoloadpapermanuallywhiletheprinter’spoweris off.The
procedureis:
1. Place the paper guide in positionby insertingthe tabs, located on the
bottomof the assembly,into the slots on the rear coverof the printer.
2. Checkthat printerpower is off and the releaselever is back.
3. Adjustthe paper guidesto match the size of paper you will be using.
Rememberthatprintingwillstartsomedistancefromtheleft-handedge
of the carnage.
4. Place a singlesheetbetweenthe guides,placingthe side on whichyou
wantto printtowardsthebackoftheprinter.Gentlypushthepaperdown
in the guidesuntil you feel it stop.
5. Turn the platenknob clockwiseuntilthe frontedgeof the papercomes
out from underthe top cover.
6. If the paper is not straight, move the release lever forward, then
straightenthe paper by hand and move the releaselever back.
12
I
LOADING AND PARKING FANFOLD FORMS
Fanfold forms have holes along the sides and perforationsbetween the
sheets.They are also called sprocketforms, punchedforms, or just plain
“computerpaper”.This printeracceptsformsup to 10”wide.This section
will take you throughthe proceduresfor loading,parking and unparking
fanfoldforms.
NOTE: To get good line-feeding,put l-inch space (non-printingarea)
arounda perforation.
Loading the paper from the rear of the printer
Youcanloadthefanfoldpapereitherfromtherearor fromthebottomof the
printer.If you are goingto loadthepaperfromthe bottom,refer to the next
section.
1. Placea stackof fanfoldpaperbehindandatleastonepage-lengthbelow
the printer.
2. Turn the printer’spower OFF.
3. Pushthe releaseleverforward.Thishasthe effectof releasingthe paper
from the platen roller, and engagingthe tractor feed.
4. Removethe paper guideand put it asidefor the moment.
5. Removethe rear coverusingthe two pits on eitherside,andpushbackwards as in Figure 1-12.
Figure 1-12. Removing the rear cover
13
6. Movethe tractorunitsdownwardsby grippingthepositioningleverson
both side of the tractorunit as shownin Figure 1-13.
Figure 1-13. Move the tractor units dawnwards for loading the paper from the rear
7. Withthetractorcoversopen,mountthepaperby aligningholeswiththe
pins on the tractorunit.
Ieve
-.
rlgws
14
. . . rvmun~
. . tne
., ranrola
. . paper over me Iraclor urms.
7-74.
8. Adjustthespacingofthetractorunitsby slidingthemalongthebar,using
the clamp lever at the back of each unit to release and lock them in
position.Whenthe clamplever is up, theunit is released,and whenit is
down,the unit is locked.
9. Nowclosethetractorcovers,againmakingsurethatthe paperholesare
alignedwiththepinson thetractorunits.Iftheyarenot al;fied properly,
youwillhaveproblemswithpaperfeeding,possiblyresultingin tearing
andjamming of the paper.
10.Turnon thepowerusingtheswitchlocatedatthefrontof theprinter.The
printer will beep, indicatingthat the paper is not yet fully loaded.The
orange POWER indicatorwill also flash to confirmthis.
11.Nowpressthe c s.pd~c,
>button.The paperwillbe fed and adjusted
past the printhead to a positionready for printing.
12.If youwantto setthepaperto a differentposition,setthe printeroff-line
by pressing the< ON LINE ] button, then set the paper by using the
micro-feedfunction.(For details,refer to Chapter2.)
13.Replace the rear cover, and mount the paper guide in the horizontal
positionshownin Figure 1-15,so that it will separatethe printedfrom
the unprintedpaper.
I
cover
Figure 1-15. Mounting the papar guide for fanfold forms
15
Loading the paper from the bottom of the printer
You caq load the fanfold paper from the bottom of the printer with the
followingprocedure.
1. Removethe top coverand the rollerunit.
2. Openthe rear coverusingthe two pits at the side,and push backwards.
3. Gripthe positioningleverson both sideof the tractorunit, and pull the
uni; upwardsas shownin Figure 1-16.
Figure 1-16. Pull up the tractor unit for bottom feeding
4. Place a stack of fanfoldpaperbelowthe printer.
5. With the tractor coversopen, mount the paper from the bottomof the
printer,by aligningholes with the pins on the tractorunit.
6. Adjustthespacingofthetractorunitsby slidingthemalongthebar,using
the clamp lever at the back of each unit to release and lock them in
position.Whenthe leveris up, theunitis released,and whenit is down,
the unit is locked.
16
Figure 7-17. Install the roller unit after mounted the fanfold paper from the bottom of the printer.
7. Nowclosethetractorcovers,againmakingsurethatthepaperholesare
alignedwiththepinson thetractorunits.Iftheyarenotalignedproperly,
youwillhaveproblemswithpaperfeeding,possiblyresultingin tearing
andjamming of the paper.
8. Remountthe rollerunit and replacethe rear cover and the top cover.
Paper parking
Afterloadingfanfoldpaperfrom the rear of the printer,you do nothave to
unloadit when you wantto print on a singlesheet.The printerwill “park”
it for you if you followthe procedurebelow.
1. To beginpaper parking,start with power ON, fanfoldpaper loaded in
printingposition,and the releaselever forward.
2. Pressthe( ONLINE )buttonon the controlpanelto setthe printeroffline. ONLINE indicatorwill turn off.
3. Tear off the printedform at the last perforation,leavingnot more than
abouthalf a page showingabovethe top cover.If necessary,press the
(PAPER FEED> buttontofeedpaperforwarduntila perforationislocated
just abovethe top cover, and tear there.
17
4. Press the ( s,&/Ae#~cT
J buttonon the controlpanel.
The printerwill automaticallyfeedthe fanfoldformbackwarduntilthe
paper is completelyfree of the platen.
5. Movethe releaselever to the back.
6. Mountthe paper guidein the uprightposition.
Now you can load single sheets either automaticallyor manually, as
explainedpreviously.The fanfoldpaper remainsparked at the back of the
printer.
NOTE: You cannotpark the fanfoldpaper if you have loaded it from the
bottomof the printer.
Paper unparking
Whenyou wantto resumeusingfanfoldpaper,the procedureis as follows.
1.
2.
3.
4.
Removeall singlesheetsfrom the printer.
Mountthe paper guidein the horizontalposition.
Movethe releaselever to the front.
Pressthe (
button.Theprinterwill automaticallyfeed the
parked fanfoldpaper back into positionfor printing.
SE~/AE~~CT
>
NOTE: Theprinterbeepsintermittentlyif youmovethereleaseleverwhile
the paper is loaded.
18
I
LOADING MULTI-PART FORMS
Youcan print on continuousmulti-partformswith the built-intractorunit.
Youcanusemulti-partformsthathaveupto fivepartsincludingtheoriginal
when the Multi-partmode is selectedwith the EDS setting. (For details,
pleaserefer to Chapter3.)
Itis recommendedtouseformsjointedbydottedorpastingunderthenormal
office condition.
Multi-partformsshouldbepressuresensitive,and shouldnotbe usedin the
frictionfeed. (Bottomfeed with the pull-tractoris recommended.)
NOTE: Whenprintingcontinuousmulti-partforms,care shouldbe taken,
as the edges of the papermightbe damaged.
The tolerance between the dotted or pasted position and other
positionsmust be less than 0.05 mm.
19
ADJUSTING THE PRINTING GAP
The dis~nce between the print head and the platen can be adjusted to
accommodatedifferentpaperthicknesses.Tomakethisadjustment,remove
the top cover.The adjustmentlever is locatedat the left side of the printer
mechanism.Pushing the adjustmentlever backwards narrows the gap;
pullingit forwardswidensthe gap.
Therearesixpositions,andyoucanfeeltheIeverclickingintoeachposition.
The secondpositionfromtherear is the onemostcommonlyused for single
sheetsofpaper.Try differentpositionsuntilyougetthebestprintingresults.
(Do not set the lever out of the markedpositions.)
Adjustment lever
Figure 1-18. Location of the adjustment lever
20
The followingtable providesthe recommendedlever positions for each
papertypes as a reference.
PaperType
Weight (g/mz)
Thickness
(mm)
(Each paper)
(Total)
52-82
Single
83-90
2-ply
40-58
3-ply
40-58
4-ply
40-58
5-ply
40-58
Recommended
Lever position
0.07-0.10
/
0.11-0.12
2nd
I
3rd
0.12-0.16
3rd
0.18-0.20
3rd
0.21-0.25
4th
0.24-0.26
4th
0.27-0.30
5th
0.30-0.33
5th
0.34-0.35
6th
I
NOTE: Pressuresensitivepaper is recommendedfor the multi-partpaper.
Multi-partmode is recommendedwhen usingthe 4-ply and 5-ply
paper. (Referto Chapter3,)
21
MEMO
22
chapter2
CONTROL PANEL OPERATIONS
The controlpanelbuttonscanbe pressedindividuallyto performtheoperationsindicatedby theirnames.Otherfunctionscanbe achievedby holding
thesebuttonsdownwhenyouturntheprinter’spoweron,or by pressingthe
controlpanel buttonsin combination.
This chapterexplainsall the buttonand indicatorfunctions.
Pause printing
Feed paper (fast and slow,forwardand reverse)
Park fanfoldforms
Set the top-of-formposition
Selectthe print pitch
Selecta font
Print test patterns
Preventsoftwarefrom changingthe panelpitch and font selections
Print a hexadecimaldump
Clearthe printer’sbuffer
Changethe print color(colorprinteronly)
Storemacro definition
9
.
.
.
.
.
●
.
.
●
●
●
BUTTONS AND INDICATORS
Theprinteris equippedwith fivebuttonson the controlpanel.From left to
right they are,(T6NT)
(PAPER FEED),
(smaller buttons), and ( “W4=”T),
)(larger buttons).
and (FiTCR)
andC ONLINE
The followingis a brief guideto the buttonsand indicatomon the control
panel.
Figure Z-l. Control panel
23
ONLINE button
The c.ON LINE >button sets the printer on-lineand off-line.The status
changeseach time you press the button.
Whentheprinteris on-line,it can receiveandprintdatafromthe computer.
Whentheprinteris off-line,it stopsprintingandsendsthecomputera signal
indicatingthat it cannotacceptdata.
Theprinterpowersup in the on-linestatusif paperis loaded.If paperis not
loaded,the printerpowersup off-line with the POWER indicatorflashing.
Whenyou load paper,the POWER indicatorstopsflashing,and the printer
goes on-line.
You will want to press the ( ONLINE
●
)
button:
Before and after any otherpaneloperation
The other panel buttons operate only in the off-line state. Press the
( ONLINE ) button to go off-line. After performing the panel
operation(s),press the C ONLINE ) buttonagainto go back on-line.
●
To pause duringprinting
If you press the( ONLINE ) button during printing,the printer stops
printingand goes off-line,allowingyou to checkthe printoutor change
acontrolpanelsetting.Printingresumeswhenyoupressthe ( ONLINE >
buttonagainto go back on-line.
●
To cut fanfoldforms at the end of printing
Whenusing fanfoldforms,you can holdthe ( ONLINE ) buttondown
for one second.In additionto going off-line,the printer also feeds the
paperforwardapproximatelytwoinches.Thisallowsyouto cut it offjust
belowthe last line printed.
Whenyou press the ( ONLINE ) buttonagainto go back on-line,the
paper feeds backwardstoppingwhereyou left off.
NOTE:This functionis valid only whenthe buffer is empty.
PAPER FEED button
If you press this button whileoff-line,the paper will feed forward.If you
hold the buttondown, the printerwill performconsecutiveline feeds.
24
I
If you also press the ( ONLINE ] buttonwhileyou are line-feeding,the
paperwill feed automaticallyto the top of the nextpage.This is explained
later.
If you press this buttonwhileon-line,this will alternatelyflash the QUIET
indicatoron and off. Whenin Quietmodewith the QUIET indicatorlit, the
printerwill print slightlyslower,but at a reducednoise level.
SET/EJECT/PARK button
NOTE: This buttonhas no effectif the bottomfeed modeis selected.
Pressingthisbuttoncausestheprintertobeginpaperloadingif thepaperhas
not loadedwhilein the off-linestate.
If the paper has been loaded,this button results in differentfi.mctionsdependingon the positionof the releaselever.
If the mlcaselever is forwardfor fanfoldforms,pressingthis buttonparks
the forms.
If the releaselever is back for singlesheets,pressingthis buttonejectsthe
paper.
PITCH button
Thisbuttonallowsyouto selecttheprintingpitch.Rememberthattheprinter
must be off-line for you to do this. Successivepresses of this buttonwill
illuminate (and select) the following options in order (Note that semicondescdpitch is not availablein the IBM mode):
Pitch
Pica(10CPI)
Elite(12CPI)
Semi-condensed
(15,CPI)
Condensedpica(17CPI)
Condensedelite(20CPI)
Proportional
Condensedproportional
Indicator(s)
10CPI
12CPI
15CPI
10 CPI, COND
12CPI, COND
PROP
PROP, COND
25
FONT button
Thisbuttonselectsthe fontto be printed.Draftfontis selectedat power-up
unlessthedefaultsettingsarechanged.To changeto HS Draft(High-Speed
Draft)or one of the LQ (LetterQuality)fonts,set the printeroff-line,then
press the (-)
button repeatedlyuntil the indicatorsbesidethe desired
selectionilluminate.The selectionscyclein the followingorder:
Font
Indicator(s)
Courier
Prestige
script
option
HS-DRAFT,ROMAN
ROMAN
ROMAN,COURIER
COURIER
COURIER,SCRIPT
SCRIPT
OPTION
High-Speed
Draft
HS-DRAFT
Draft
Roman
Sansenf
TheOptionFontselectionwillbe skippedunlessa fontcartridgeis installed.
26
POWER-UP FUNCTIONS
In additionto their normal functions,all the control panel buttonshave
specialfimctionsthatoperateif youholdthemdownwhileswitchingpower
on.
colorprinter,each line printsin a differentcolor.)
at,<d,i gh , , k 1m,,,,
I “#$%& ( ) I + .-. /0 I 274 st,789 : : f = > ?@’
ABCDEFGHI JKLMN13FQRSTUVWXYZ[ \ 1
! “#$%& I 1* +.-. i II i ? 11s I, 7hCI: ; <=) ?@ABCDEFGHI JKLMNLIPQRSTUVWXYZ[ \ 1“
abI’~~ r Ft] i i k 1mIIOP
abrd< 1Fh I Jk I nlfl,vq
‘ #$%& ( ) ● + .-. /11I 214 5(, 7 h<~ : : <=> ?@ABCDEFGHI JKLMNOPQRSTUVWXYZ[ \ ]
? ?4.s(,7hv
: : <=> ?,oABcDEf~GHIJKLMNOPQRSTUVWXY
Z [ \ 1‘— abcdet’~1] I .ik 1mlIOPLIIF$%d [ ) * + ,$z& I I * + .-. , II I ? 7d ~(, 7h:
: <=> ?~,ABCDEFGHI JKLMNOPQRSTUVWXYZ[ \ I “abcde f: h i i k I rnn. p,l rs
,., ,<(,?h,, ; <.) ?WAB(~DEFGH
I JKLMNIJI>QRSTIIVWXYZ [ \ ] ‘. abrd,, f’$t) 1 .1 k lmllf.,PQr ~ t
“&l ( ) * + ,- ,
.>
?w,ABCDEFGRI
J
KLMNOPQRSTLi
VWXYZ[
\
]
--abcdt
I F11! , h I mru,k),l rs t (1
L ( ) * . ,– ,1,I i : I J ~17 b‘, : :
Figure2-3. Short self-test
Sincethe self-testoccupiesthe fullwidthof thecarriage,it is recommended
thattheprinteris loadedwiththe widestpaperpossibleto avoiddamageto
the printhead and/orplaten.
27
I
Long test mode
If the printer is turned on while the (PAPER FEED) button is pressed,the
printerwill enterthe long self-testmode.The printerwill printthe version
numberof the printer’sROMandthe currentEDSsettings,followedby the
wholecharacterset printed in each font and pitch avail;ble.
‘hetest cyclesendlessly,so you must turn the poweroff to stop it.
c
5
...––.....
.
old “S*]
+.––––––.
–––.––-..-––.–----––-–––.
.–––.–––.
D
0
,
($4”,
–. . .
..
Fkwre 2-4. Lena self-test
2s-)
..––.
... -.<,,
..<,
.–
. .. . .
.
... . . . . .. ... .
.
Sincethe self-testoccupiesthefullwidlhof thecarriage,it is recommended
that the printeris loadedwiththe widestpaperpossibleto avoiddamageto
theprinthead and/orplaten.In addition,the totalnumberof linesprintedis
considerable,more than can be accommodated
on a singlesheet, so fanfold
paper is recommendedfor this test.
Print area test mode
, ) buttondownduringpower-up,the printerwill
By holdingthe( ,,FJA,&lc.
entertheprintareatestmode.Thisway,youcanfindouthowmanylineson
your paper are availablefor printing.The printer will print the first line
message,then printthe last line messageafter feedingto the bottomof the
page.
If you have loadedthe fanfoldpaper,only the first line messageis printed.
Stay in Panel Pitch
By holdingthe (PiTCil)button down duringpower-up,the print pitch can
onlybe selectedfromthecontrolpanel.Thispreventssoftwareinterference,
You will hear an acknowledgingbeep as power comeson.
Afterthe beeptone,youcan settheprinteroff-line,selecta printpitch,then
returnto on-lineand start printing.The pitch you selectedwillnot be reset
or otherwisechangedby any commandsyour softwaremay issue.
Stay in Panel Font
By holdingthe (-)
buttonduringpower-up,fontscan onlybe selected
fromthecontrolpanel.Thispreventssoftwareinterference.Therewillbean
acknowledgingbeep as powercomeson, afterwhichyoucan settheprinter
off-line,selecta font,thenrctumto theon-linestateandbeginprinting.The
sclectcdfontwillnotbechangedby anycommandsyoursoftwaremayissue.
Stay in Panel Pitch and Font
If youwanttoprotectboththepitchandfontsettingsfromsoftwarechanges,
press both the (~)
and(~)
buttonsduringpower-up.There willbe
two acknowledgingbeep tones.
Pressingtlmscbuttonsduringpower-updocsnot preventyou from making
any numberof changeslater from the controlpanel.
29
Hexadecimal dump
This feature is useful for programmerswho are debuggingprinting programs and want to see the actual codes the printer is receiving. (Some
computemchangethe codesthe programmerintended.)
Inthismode,alldatareceivedwillbeprintedin ahexadecimaldumpformat,
ratherthan the controlcodesbeing actedon as commandcodes.
This mode is accessedwith the followingprocedure:
)buttons down,
1. While holding both the(PAPER FEED)and(
turn power ON. A beep tone will be heard.
2. Beginprinting.In place of the usual printoutyou will get a formatted
dumpshowingexactlywhatdatatheprinterreceives.Eachlinepresents
sixteencharacters,theirhexadecimalcodestotheleft andprintablecharactersprintedon the right.
3. At the end of the hexadecimaldump, set the printer off-line with the
( ONLINE ) button.This is necessaryto print the last line.
SEJAE~~CT
The followingBASICprogramis a simpletest you can run in hexadecimal
mode:
10 LPRINT WIDTH “LPT1 : “ .255
FOR 1=0 TO 255
30 LPRINT CHR$(I) ;
40 NEXT I
50 LPRINT
60 END
20
If your system passes the codes directlyto the printer without changing
them, you will get a printoutlike Figure2-5.
00
10
20
30
40
50
60
70
60
90
AO
BO
CO
DO
EO
FO
OD
01
11
21
31
41
51
61
71
81
91
Al
81
Cl
D1
El
F1
OA
02
12
22
32
42
52
62
72
82
92
AZ
R2
C2
D2
E2
F2
03
13
23
33
43
53
63
73
83
93
A3
63
C3
03
E3
F3
04
14
24
34
44
54
64
74
84
94
A4
64
C4
04
E4
F4
05
15
25
35
45
55
65
75
85
95
A5
B5
C5
05
E5
F5
06
16
26
36
46
56
66
76
86
96
A6
B6
C6
D6
E6
F6
07
17
27
37
47
57
67
77
87
97
A7
B7
C7
D7
E7
F7
Figure 2-5. Sample hexadecimal dump
08
18
28
38
48
58
68
78
88
98
A8
B8
C8
D8
E8
F8
09
19
29
39
49
59
69
79
89
99
A9
B9
C9
D9
E9
F9
OA
1A
2A
3A
4A
5A
6A
7A
8A
9A
AA
6A
CA
DA
EA
FA
06
16
2B
3B
46,
56
66
7B
8B
9B
AB
t3B
CB
OB
EB
FB
OC
IC
2C
3C
4C
5C
6C
7C
8C
9C
AC
BC
CC
DC
EC
FC
OD
ID
2D
3D
4D
50
6D
70
8D
90
AO
BD
CO
DD
EO
FD
OE
1E
2E
3E
4E
5E
6E
7E
8E
9E
AE
8E
CE
DE
EE
FE
OF
1F
2F
3F
4F
SF
6F
7F
8F
9F
AF
BF
CF
DF
EF
FF
. . . . . . . . . . . . . . . .
! “ #$%&: i ) ~+ ; -. /
0123456789
: ; <=>?
@ABCDE FGH I JKLMNO
PQRSTUVWXYZ [\] ‘‘ abcdefghi
jkl mno
pqrstuvwxyz
( ! ) -.
. .
. . . . . . .
. . .
.
. . . . . . . . . . . .
. . . . . . . .
. . . . .
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . .
MostBASICS,however,arenotquitethatstraightforward.Forexample,the
IBM-PCwill give you a printoutsimilarto Figure2-6.
1
00
OF
20
30
40
50
60
70
80
90
AO
E70
CO
DO
EO
FO
OD
01
10
21
31
41
51
61
71
81
91
Al
B1
Cl
D1
El
F1
OA
Flgure2-&
02
11
.?2
32
42
52
62
72
82
92
AZ
B2
C2
02
E2
F2
03
12
23
33
43
53
63
73
83
93
A3
B3
C3
03
E3
F3
04
13
24
34
44
54
64
74
84
94
A4
B4
C4
D4
E4
F4
05
14
25
35
45
55
65
75
85
95
A5
B5
C5
05
ES
F5
06
15
26
36
46
56
66
76
86
96
A6
B6
C6
D6
E6
F6
07
16
27
37
47
57
67
77
87
97
A7
87
C7
07
E7
F7
08 09
17 18
28 29
38 39
48 49
58 59
68 69
78 79
88 89
98 99
A8 A9
68 69
C8 C9
D8 D9
E8 E9
F8 F9
OA
19
2A
3A
4A
5A
6A
7A
8A
9A
AA
8A
CA
DA
EA
FA
06
IB
26
3B
46
56
66
7F3
BB
96
AB
BB
CB
DB
EB
FB
OC
IC
ZC
3C
4C
5C
6C
7C
8C
9C
AC
BC
CC
DC
EC
FC
00
ID
2D
30
40
5D
6D
70
8D
90
AD
BD
CD
DD
ED
FD
OA
IE
2E
3E
4E
5E
6E
7E
8E
9E
AE
BE
CE
OE
EE
FE
OE
IF
2F
3F
4F
5F
6F
7F
8F
9F
AF
BF
CF
DF
EF
FF
. .....
.....
!“#$%&’ ()*+.-./
.
0123456789:;<=>?
@ABCDEFGHIJKLMNO
PQRSTUVWXYZ[\]”‘abcdefghijklmno
pqrstuvwxyz{j)-.
. . . .
.
.............
......
. .....
...........
.
........... . .
. . ......
................
..............
..
Samplehexadecimal dumpwithlBM-PC
Whenthe IBM-PCBASICinterpretersendshex codeOD(carriagereturn)
it adds an extra hex OA(line feed). Hex code 1A (end-of-file)also gets
special treatment:the interpreterdoes not send it at all. This can cause
problemswitigrapticsordowtioadcharacterdata.HoweveLyoucans0lve
this problembychangingline 30 in the precedingprogramandaddingthe
codingshownbdow.
Codingfor IBM-PCwithmonochromedisplay:
30 GOSUB 100
100 X=INP(&H3BD) :IF X<128 THEN 100
110 OUT &H3BC,I :OUT &H3BE,5 :OUT &H3BE,4
120 RETURN
Codingfor IBM-PCwith coloradapter:
30 GOSUB 100
100 x=INP(&H379)
110 OUT &H378,1
l~o RETURN
:IF X<128 THEN 100
:OUT &H37A,S :OUT &H37A,4
SWITCH COMBINATION FUNCTIONS
additionalfimctionscan be achievedby pressingthe controlpanel
Several
buttonsin combinations.
I
P
Reverse Micro Feed
u
Form Feed
c
I
m
Buffer clear/All reset
Fjgum 2-7. Switch combination functions of control panel
Form feed
If you arc usingsinglesheets,this operationejectsthe currentpage.If you
are usingfanfoldforms,it feedsto the top of the nextpage.
1. Press the ( ON LINE ) buttonto set the printeroff-line.
2. Press the (PAPER FEED> buttonand hold it down.The printerwill start
performingsuccessiveline feeds.
3. Whileholdingthe (PAPER FEED) buttondown,press the( ONLINE )
button, then release both buttons at the same time. The printer will
smoothlyeject the currentpage.
Top of form
Whenyoupowerontheprinter,thetop-of-formpositionisautomaticallyset
to thecurrentposition.Ifthisisnotwhereyouwantthetopof thepageto be,
you can changethe top-of-formpositionas follows:
1. Press the ( ONLINE ) buttonto set the printeroff-line.
2. Move the paper to the desired top-of-formposition by pressing the
(PAPER FEED) button,orby performingaforwardorreversemicro-feed.
32
3. Press and hold the ( ONLINE ) button.
4. Whileholdingthe ( ONLINE )button down,press the CPiTC17)
button,
then release both buttons at the same time. The printer will beep to
indicatethat the top-of-formpositionhas been set.
Forward micro-feed
For tine alignment,youcan feedthepaperforwardin verysmallincrements
as follows:
1. Press the ( ONLINE ) buttonto set the pnntcr off-line.
2. Press the ( ON LINE ) buttonagain and hold it down.
3. Whileholdingthe ( ON LINE ] buttondown,pressthe (PAPERFEED>
button.The paper will start advancingin a scnes of small steps.When
you want to stop, releaseboth buttons.
Reverse micro-feed
Youcan also feed the paper in small incrementsin reverse,to rctum to a
higherpositionon the same page.
NOTE: Withfanfoldforms,do nottryto rctumto a previouspage.Theperforationmay catch insidethe printerand cause a jam.
1. Press the ( ON LINE ) buttonto set the printeroff-line.
2. Press’the( ON LINE ) buttonagain and hold it down.
3. Whileholdingthe ( ON LINE ) buttondown,press the (
button.Thepaperwillstartmovingbackwardsin a scncs of smallsteps.
When you want to stop, releaseboth buttons.
s,~.~~~C.T
1
Changing the auto loading value
Normally,the printer automaticallyloads the paper one line from the top
edge.
If you want to changethis value,followthis procedure:
) button.
1. Load the paperusing the ( ‘;’$A’vikc’
2. Changethe print positionusing the micro feed function.
The line on lhccard holderhelpsyouto alignthe baselineof characters
to be printed.
3. Afteryougctthe desiredposition,pressthe[ ONLINE )button to save
the value.
33
I
Thisvaluewillremainunlessyoupowerofftheprinter.If youwantto retain
this value even after you turn off the power, store it using the Macro
Definitionfunction,whichis describedbelow.
Notethatyoucan onlychangethisvalueimmediatelyafterloadingpaper.If
you feed paper,you cannotchangethe auto loadingvalue.
Clearing the buffer/All reset
The printer stores receiveddata in a large memorybuffer. This creates a
problemwhenyouwanttoabandonaprintingjob andrestart:theprintermay
be holding more data in its buffer than it has actually printed, and this
unprinteddatamustlx clearedoutbeforerestarting.Turningpoweroffisone
wayto clearthe buffer,but there is anotherway:
1. Halttheprintingprogramonthecomputer.Ifprintingstopsimmediately,
thebufferisclearandtherestofthisprocedureisunnecessary.Ifprinting
doesnot stop,continueas follows:
2. Press the ( ON LINE ) button to set the printeroff-line.Printingwill
now stop,but there may be data remainingin the buffer.
3. Press and holdthe( ONLINE ) button.
4. While pressing the ( ON LINE ) button down, press and hold the
_
button.Continueholdingthesetwobuttonsdown.In oneSeCOnd
you willhear a beep tone signalingthat the bufferhas beencleared.
If you hold these buttonsmore two seconds,you will hear three beep
tones signalingthat the printer has been initializedto the power-on
defaultsettings.
5. Releas~thesebuttons,makeanynecessarycontrolpanelsettings,thenset
the printerback on-line.
It isessentialto halttheprintingprogramonthecomputerbeforeyougo offline.Otherwise,when you go back on-linethe computerwill start sending
dataagainandtheprinterwillcontinueprinting,withmissingdatawherethe
bufferwas cleared.
NOTE:If you are using the SPC-8K,Serial-ParallelConverter,reset the
converterby pressingthered Clearbuttonon it beforeyouresetthe
printer.
34
Selecting the print color
Normally,the color printer prints with black even if the color ribbon is
installed.
Withoutthe aid of software,you can changethe printingcolor as follows:
1. PresstheC
ON LINE
)
buttonto set the printeroff-line.
2. Press theCFGN71
buttonand hold it down.
‘ ) button.
button,press the ( S’:m+$c
3. Whileholdingthe(-)
Each time you press the ( =wdkr’ ) button,one of the indicatorsof
FONT or PITCH will blink to showthe currentcolor as shownbelow.
Indicator
Indicator
Color
Color
10CPI
Yellow
HS-DRAFT
Black
12CPI
Orange
Magenta ROMAN
15CPI
COURIER
Green
cyan
SCRIPT
Violet
4. Releaseboth buttonsafter you set the desiredprintingcolor.
If you want to save the selectedcolor for later use, store it using the
Macro Definition.
NOTE:This functions validonlywhenthecolorribbonis installedintothe
color printer.
Store Macro Definition
You camstore the current settings to the printer for later use with the
followingprocedure:
1. Press the( ONLINE ) buttonto set the printeroff-line.
buttonand hold it down.
2. Press the (~)
down,press the (TiTCll>button and
3. While holdingthe(~>button
hold them down until you hear two beep tones.
4. Releaseboth buttonsat the sametime after the two beeptones to stem
the currentsetting.
If you releasethesebuttonsafterthreebeep tones,the macrois cleared.
NOTE: You can storethe followingsettingswith this procedure.
CurrentFont and Pitch
Currentauto-loadingamountfor cut sheet
Currentauto-loadingamountfor continuouspaper
“ Currentauto-loadingamountin ASF mode
●
●
●
35
●
Currentprint color (colorprinteronly)
Datatobe storedarecontrolledin StandardmodeandIBMmodeseparately.
For example,the data stored in the Standardmode are not effectivein the
IBM mode, and vice versa.
36
chapter 3
DEFAULT SETTINGS
Mostprintersuse a bank of DIP (DualIn-linePackage)switchesinsidethe
printerto achievevariousfunctions.However,this printer can changethe
power-updefaultsettingsby usingtheElectronicDIP Switch(EDS)mode.
This chapterexplainshow to use the EDS mode.
HOW TO SET THE EDS MODE
TheEDSmodehas25kindsoffunctionsyoucansetasthepower-ondefault.
To entertheEDS mode,turntheprinteron whilesimultaneouslyholdingthe
(PAPER FEED) and ( ON LINE ) buttons.
(
In EDS mode,the indicatorsand the buttonson the controlpanel are used
as shownbelowin Figure3-1.
. Use the[~)button
to selectthe BankNumber.One of the FONT indicators will illuminateto showthe selectedBankNumber.
~
Usethe(~)
buttonto selectthe SwitchNumber.Oneof the PITCH indicatov will illuminateto showthe selectedSwitchNumber.
The QUIET indicatorshowsthe currentsetting.
r > button.
If you want to set it ON,press the< s(-~~~~<:
Press the (PAPER FEED>button to print out the currentsettings.
Pressthe( ONLINE )button to savethenewsettingsandto exittheEDS
mode.
1
s* TF+CT
),
●
✎
✎
●
I
Figurs 3-7. Button and indicator functions in the EDS mode
FUNCTIONS OF THE EDS SEITINGS
The printeris factory-setwith all EDS switchesin the ON position.These
are the standard settings.By changingthe settings,you can alter various
printerfunctionsto matchyourrequirements.The followingquestionswill
help you choosethe proper settings.
Number
A-1
A-2
A-3
A-4
I A-5 I
B-1
B-2
B-3
B-4
B-5
c-l
c-2
c-3
c-4
c-5 ,
D-1
D-2
D-3
D-4
D-5
E-1
E-2
E-3
E-4
E-5
38
ON
Function
Emulation
STANDARD
InputBuffer
RAMUsage
Disabled
AutoLFwithCR
Notfitted
AutoSheetFeeder
Granhics
.r Direction I Bi-directional!
Disabled
I
Multi-part
i
Enabled
Paper-out
Disabled
Tear-off
LeaveON
(Reserved)
TypeA
PrintableArea
PrintMode
(Seebelow)
PageLenglh
(Seebelow)
(NotUsed)
CharacterTable
(Standardmode)
(IBMmode)
IBMCodepageor
Intemationat
CharacterSet
(NotUsed)
LQFontSelection
(NotUsed)
Graphics
IBM#2
(Seebelow)
(Seebelow)
OFF
IBM
DownloadBuffer
Enabled
Fitted
Uni-directional !
Enabled
Disabled --i
Enabled
TypeB
Italics
IBM#l
Switch A-1: Do you want to use the printer in Standard mode or IBM
mode?
Selectthe modecompatiblewithyourcomputerand soflware.In Standard
modethe printeroperateslike the EpsonLQ-860.In IBMmodeit operates
liketheIBMProprintcrX24E.TheONpositionselectsStandardmode.The
OFFpositionselectsIBM mode.
Switch A-2: Does your softwaredownloadcharactersto the printer?
In orderto downloadcharactersthisswitchmustbe in theOFFposition.The
printer then uses its RAM memory for storing character patterns and
providesonlya one-lineprintbuffer.If youleavethisswitchON,theprinter
usesitsRAMmemoryas aninputbuffer,allowingthecomputerto senddata
faster than the printerprints.
NOTE:Whcn you want to downloadcharacterswith IBM mode by the
monochromeversion printer, you must install the optionalRAM
cartridge(RC-32Z).Otherwise,you cannotdownloadeven if this
switch is set OFF.
Switch A-3: Do you want an automaticline feed?
If you leave this switch in the ON position,a separate line-feed code is
requiredfrom your computerto obtain a line feed.
If you move this switch to the OFF position,the printer performs both a
carriagereturn and line feed each time it receivesa carriage-returncode.
Mostcomputersystemssend a line feedcode,or both a carriagereturnand
line feed, at the cnd of each line, so this switchshouldbe left ON.
If you get doubleline spacingwhen you expectsinglespacing,or if lines
overprinteach other,try changingthe settingof this switch.
Switch A-4: Are you goingto usc the automaticsheetfeeder (ASF)?
In orderto uscthe automaticsheetfeederSF-1ODQ,movethisswitchto the
OFFposition.Otherwiseleave it ON.
Switch A-5: Arc you goingto print dot graphicsuni-directionally?
Whenprintingin dotgraphicsmode,theprintermayeithcrprintbidirectionally(inalternatedirections)forspccdorin onedirectiononly(unidirectional
forincreasedaccuracy).Forpracticallyallpurposes,however,bidirectional
printingis sufficientlyaccurate.Inorder10printuni-directionally,movethis
switchto the OFF position.
39
I
Switch B-1: Are you goingto printon multi-partpaper?
Youcan use up to 3-plypaperwhenthis switchis ON. If you wantto print
on 4-ply or 5-ply paper, set this switchto the OFF position.
Switch B-2: Doyouwantthcprintcrto sloppnntingatthecndofthc paper,
or to keep printing?
Whenthisswitchis OFFtic printerignoresthepaper-outdetectorandprints
down to (and beyond)the bottomedge. Otherwiseleave it ON.
Switch B-3: Do you want to advancepaper automaticallyat the cnd of
printing?
You can selectthe Tear Off functionwith this switchOFF.
Whenusingfanfoldpaper,the Tear Off functionallowsyou to tear off onc
sheetof paper withoutfully advancingthe followingsheet.
Switch B-4: This switch is used for technicalpurpose only. Leave this
switch ON.
Switch B-5: Which iype of printing area do you want to use for single
sheets?
This printercan use two typesof printingarea formatfor singlesheets.
ByputtingtheswitchON(“TypeA“),thetopof thefirstlineof printingwill
start 1/6inchf~omthetopofthepaper,andtheprinicdareawillend 1/6inch
from tic bottomof the paper.
.
By puttingthe switchOFF (“TypeB“), the firstline of printingwill startat
oneinchfromthe top of thepaper,and thepnntcd areawillcnd 6 mm from
the bottomof the printer.
Switches C-1 and C-2: Whichprint modedo you want to set?
Theseswitchesselectthe defaultprintpitch and the fontsas shownbelow.
Mode
10CPIDRAFT
10CPIHSDRAFT
17CPIDRAFT
10CPILQ
Print
c-1
ON
ON
OFF
OFF
c-2
ON
OFF
RF
NOTE: If youchangetheseswitchesaflcryouhavestoredthemacro,these
settingswill overridethe macro setting.
40
I
Switches C-3 and C-4: What is the pagelenglhof yourpaper?
LeavetheseswitchesON if you willbc using 1l-inch forms,You willneed
to changethe switchesif you willbe usinga differentpagelengthas shown
below:
m
Switch D-1: The action of this switch dependson the mode chosenwith
switch A-1.
If you selected Standard mode, do you want italic or graphic
characters?
Move this switchOFF to print italicsin the Standardcharacterset. If you
leave this switch in the ON position,in place of italics you will get the
graphiccharacters,internationalcharacters,and mathematicalsymbolsof
IBM characterset #2. See Chapter9, charactercodes 128to 254.
If youselectedIBMmode,do youwantIBMcharacterset#1 or#2?
ON selectscharacterset #2, whichis for computerswith an 8-bitinterface
(themost commonkind).OFF selectscharacterset #1, for computerswith
a 7-bitinterface.
Switches D-2 to D-4: Do you want an internationalcharacterset or IBM
codepage?
Internationalcharactersetsdiffer in theirassignmentof 14charactercodes
in theStandardItaliccharacterset.Seethe charactertablesatthebackof this
manual.With these switchesyoucan selectone of eight charactersets as
follows:
Country
U.S.A.
France
Germany
England
D-2
D-3
D-4
ON
OFF
ON
OFF
ON
ON
OFF
OFF
ON
ON
ON
ON
Country
DenmarkI
Sweden
haly
SpainI
D-2
ON
OFF
ON
OFF
D-3
ON
ON
OFF
OFF
D-4
OFF
OFF
OFF
OFF
41
Exceptin the StandardItaliccharacterset,theseswitchesselectthe default
charactercode page as shownbelow:
D-2 D-3 D-4
D-2 D-3 D-4 IBM Code Page
#863
#437U.S.A.
ON ON ON c~adian French
#850Multi-lingual OFF ON ON #865Nordic
OFF ON OFF
#860 Portuguese
ON OFF OFF
IBMCodePage
#861
Icelandic
ON OFF ON
(Reserved)
OFF OFF ON (Reserved)
ON ON OFF
OFF OFF OFF
SwitchesE-1 to E-4:Whichfontdo youwantto print as the defaultLetter
Quality?
These switchesallows you to choosethe default font selectedwhen LQ
modeis selected,as shownbelow.
I Font Name
I E-1 IE-2 IE-3 IE-4 I Font Name
/ Roman
Sanserif
Courier
ION ION ION ION I Orator2*
ION \ ON I ONIOI@
OFF ON ON ON T’W-Light* OFF ON ON OFF
ON OFF ON ON Letter-Gothic*ON OFF ON OFF
OFF OFF ON OFF
OFF OFF ON ON Blippo*
ON ON OFF ON H-Gothic* ON ON OFF OFF
10FFION 10FFIOF’11
IOFFION IOFFION I Orane*
ON OFF OFF ON Cinema*
ON OFF OFF OFF
OFF OFF OFF ON Code39*
OFF OFF OFF OFF
Prestige
script
I OCR-B*
OCR-A*
Orator*
I E-1 I E-2 I E-31 E-4 I
Optionalfonts(markedwithan asterisk)canbe selectedonlywhenthe correspondingfont cartridgeis installedin the printer.
If the correspondingfontcartridgeis not installed,thenRomanis selected.
42
I
BIDIRECTIONAL TEST/ADJUSTMENT
This mode is used to adjustthe alignmentof the print head on successive
bidirectionalpasses.Aftera periodof somemonths,yourprintermay work
itself out of alignmenton left and rightprintingpasses.This will be most
evidentin graphicsprinting.This modewill probablybe used very rarely.
1. Turn the printeroff and then turn it on again while holdingdown the
( ‘=l%wr”) and ( ON LINE ) buttons. The printer will then print
somethinglike the following:
*tJ DoTADJUSTMENT SETTING 89 *
o:
LQ
/////
///////////////////////////////////
2. The printer will feed the paper forwards and backwardsduring this
operation,allowingyou to view the paper for optimumalignment.
3. To adjusttheprinting,use the( =wkc’ )and CPAPER FEED> buttons.
)button will move the second pass to the left. The
The(
(PAPER FEED) buttonwill movethe secondpass to the right.
SZ~AC~~CT
*** DoTADJUSTMENT
LQ
(
“LAVE”
(PAPER
‘LQ
FEED
SETTING
o:
/////
-1
///////////////////////////////////
//////////////////////
/11!!
1111/ /111111
:
o:
-Q
** *
/////
!!!)/!1
/ ///////)/,,,,,,,
IIlltffll!llll
II
,
///////////////////////////////////
4. Whenthetwopassesarealignedwitheachotherto formonecontinuous
line, the bidirectionalalignmenttest is completed.
5. Tochangethemodeforwhichthebidirectionaladjustmentisperfonned,
press the ( ONLINE ) button. This will cycle between “LQ”,
“DRAFT” and “DRAFT COND”.
Repeatthe processfor all printmodes.
ADJUSTMENT
*X*,DOT
LQ
(
-Q
-1
LQ
ON LINE
(PAPER
(
/////
I SS
///////////////////////////////////
s.JAE~ficT
~
(
o:
SETTING
FEED
“JA’MC’
%RAFT
biRAFT
:
(/,,,/,,,,//,,,,,,,///
!lllllll,
,(!
//1111,
/,,
,!!l[ll/,
o:
/////
///////////////////////////////////
o:
/////
///////////////////////////////////
+1
o:
:
\\}/\J/////J//}\/ff\f\
/////
,,,
,,, /,,,,,,,,
/, {/1/1
1,,1,
~}}~j~}}}}}}}}jjj}
///////////////////////////////////
43
6. Tosavethecorrectedvaluesandtoexitfrom thismode,pmssthe button.
88$ NT
ADJUSTMENTsETTING ***
o:
LQ
(
s.$!~~cT
MQ
(PApER FEEDfiQ
(
ONLINE
(PApEFi
(
(
FEED
HiRAFT
ONLINE
-RAFT
+,
COND
END *,*
/////////////////1111111///1///////
-1 :
,, /////)///111111111//
11111
!!lll
{/1
IIIIIIIIIIII{JIJIIIIIII
o:
Illlllllllllllllllllllllllllllljljjjljil
o:
///////////////////1/1/1////////////////
+1 :
sEJ!~p
m
44
HfRAFT
/////
1,1!!
111111
!!111!1
)!)!
JJ/}/\/\JJ////JJ//JJ//
}//f~/;l//lJJJJfJf
o:
/////////////l/n///////////////////////
o z
llllllllllllllllllililllllllllllllllllllllllllllllllllllllllllllllll
chapter 4
PRINTER CONTROL COMMANDS
The printer has two emulationmodes:Standardmode and IBM mode.
In standardmode,the printeremulatesthe functionsof the EpsonLQ-860.
In IBM mode, the printer emulatesthe IBM Propnnter X24E. Additional
commandcodes are includedas a supersetof theseemulations.
The emulationis changedby means of EDS switch A-1. When ON, the
printerwillbe in standardmode,and when OFF,the printerwillbe in IBM
mode (see Chapter3). It is not possibleto changethe emulationmode by
meansof softwarecontrol.
Thischapterdescribestheprinter’scontrolcommands.Somecommandsare
commontoboththestandardandIBMmodes.Inthedescriptionsofthecommands, all commandswill be categorizedby function.The name of each
commandis followedby a table like the one below:
Mode
Std.
ASCII
Decimal
Hexadecimal
<ESC>
“X” “1”
27120
49
IB
78 31
<ESC>
“X” <1>
27120
1
IB
78 01
Mode:
Indicatesthemodeinwhichthecommandis recognized.
Std. Standardmode (EDS switch A-1 on)
IBM IBM mode (EDS switchA-1 off)
Both Both standardand IBM modes
ASCII:
Indicates the ASCII coding of the command.
Controlcharactersare enclosedin pointedbrackets: For example,<1> meanscharactercode 1.
Decimal:
Givesthe commandin decimalcharactercodes.
Hexadecimal: Gives the command in hexadecimal character
codes.
Parametersfor whichvaluesmustbe suppliedare indicatedby italicletters
such as n.
45
FONT CONTROL COMMANDS
Select draft quality characters
Mode
Both
Std.
“ “
Hexadecimal
Decimal
ASCII
“ ((“
“F”
“)”
“)”
“9”
4040 7041 41 57
28 2846 29 29 39
<ESC>
“X”
“O”
27120
48
IB
78 30
<ESC>
“X” <O>
27120
0
IB
78 00
Changesfromletterqualityto draft quality.Ignoredif the (FGiTf_)
button was pressedduringpower-up.
Select draft pica characters
Mode
IBM
ASCII
<ESC> “I” <O>
Decimal
27 73
0
Hexadecimal
IB 49 00
Changesto draftqualitycharacterswithpicapitch(10cpi).Ignored
if the(R5RT)or(FiT5@buttonwas pressedduringpower-up.
Select draft elite characters
~ModeI ASCII
I IBM I
Decimal
cESC> “I” <8>
1 27 73 8
Hexadecimal
I IB 49 08
1
I
Changesto draftqualitycharacterswithelitepitch(12cpi).Ignored
if the (M>or @iRXi)buttonwas pressedduringpower-up.
Select draft condensed characters
Mode
IBM
Decimal
ASCII
<ESC>
“I”
<DLE>
27 73 16
Hexadecimal
IB
49
10
Changesto draft qualitycharacterswith condensedpitch (17 cpi).
Ignored if the CTGNT)or (FiTCFl)button was pressed during
power-up.
46
Select LQ characters
Mode
std.
Decimal
ASCII
<ESC> “X”
<ESC>
“X”
“l”
<1>
Hexadecimal
27120
49
IB 78 31
27120
1
IB 78 01
Changesfrom draft qualityto letter quality.The initialLQ font is
Romanunlessadifferentfonthasbeenselectedbya precedingcommand.Ignoredif the (->
buttonwas pressedduringpower-up.
Select LQ pica characters
Decimal
Mode
ASCII
IBM
<ESC> “I”
<2>
27 73
2
Hexadecimal
16 49 02
Changesto letterqualitycharacterswithpicapitch(10cpi).Ignored
if the orbuttonwas pressedduringpower-up.
Select LQ elite characters
Mode
ASCII
IBM
<ESC>
Decimal
“I” <LF>
27 73 10
Hexadecimal
IB 49 OA
Changesto letterqualitycharacterswithelitepitch(12cpi).Ignored
if the (T5NT)or (~~button
was pressedduringpower-up.
Select LQ condensed characters
Mode
ASCII
IBM
<ESC> “I”
Decimal
<DC2>
27 73 18
Hexadecimal
16 49 12
Changesto letterqualitycharacterswithcondensedpitch (17 cpi).
Ignoredif the (TGNTjor @i7CR)buttonwaspressedduringpowerUp.
47
I
Select LQ proportional characters
Mode
ASCII
Decimal
IBM
<ESC> “I”
d>
27 73
3
Hexadecimal
IB 49 03
Changestoletterqualitycharacterswithproportionalpitch.Ignored
if the (R5ilT)or CFi7Cil)
buttonwas pressedduringpower-up.
Select LQ font
Mode
ASCII
Decimal
Both <ESC> “k” n
27107
<FS>
28 67
std.
“C”
n
n
n
Hexadecimal
IB 6B
IC 43
n
n
Selectsan LQ font accordingto the valueof n. In draftmode,this
command remains dormant and takes effect later when LQ is
selected.Ignoredif thec-~
buttonwas pressedduringpowerup or the correspondingfont is not installed.
n
O
1
2
3
4
5
6
,7
Font
Roman
Sanserif
Courier
Prestige
script
OCR-B
OCR-A
Orator
(Option)
(Option)
(Option)
n
8
9
10
11
12
13
14
15
Font
Orator2
TW-Light
LetterGothic
Blippo
H-Gothic
Orane
Cinema
Code39
(Option)
(Option)
(Option)
(Option)
(Option)
(Option)
(Option)
(Option)
Select font
Mode
ASCII
Both “((“ “ “ “F’ “))“ “ “
Decimal
n
40 40 70 41 41 n
Hexadecimal
28 28 46 29 29 n
Changesa font accordingto the valueof n. Ignoredif thebuttonwas pressedduringpower-up.
n
O
1
2
48
Font
Roman
Sanserif
Courier
n
3
4
9
Font
Prestige
script
Draft
Select italic characters
Mo’de
Std.
Decimal
ASCII
<ESC>
“4”
27 52
Hexadecimal
16
34
Causessubsequentcharactemto be printedin italics.
Select upright characters
Mode
ASCII
Std.
<ESC>
Decimal
“5”
27 53
Hexadecimal
16
35
Stopsitalicprintingandcausessubsequentcharactersto be printed
upright.
Emphasized printing
Mode
ASCII
Both
<ESC>
Decimal
“E”
27 69
Hexadecimal
16 45
Causes subsequentcharactersto be emphasizedby adding extra
thicknessto verticalstrokes.
Cancel emphasized printing
Mode
Both
Decimal
Ascli
<ESC> “F”
27 70
Hexadecimal
16
46
Cancelsemphasizedprinting.
Double-strike printing
Mode
ASCII
Both
<ESC>
Decimal
“G”
27 71
Hexadecimal
16
47
Causessubsequentcharactersto be printedin double-strikemode
witha slightverticalpapermotionin between,causinga thickening
of horizontalstrokes.
For bold print, use of double-strikeis recommendedin LQ mode,
and combined use of emphasized and double-strikeis recommendedin draft mode.
49
Cancel double-strike printing
Mode
ASCII
Both
<ESC>
Decimal
27 72
“H”
Hexadecimal
IB
48
Cancelsdouble-strikeprinting.
Start underlining
Mode
Both
Decimal
ASCII
Hexadecimal
<ESC>
“-”
“l”
27 45 49
IB
<ESC>
“-”
<1>
27 45
IB 2D 01
1
2D
31
Causessubsequentcharactersto beunderlined.IBMblockgraphics
characters and spaces skipped by horizontal tabulation are not
underlined.
Stop underlining
Mode
Both
Decimal
ASCII
Hexadecimal
<ESC>
“-”
“O”
27 45 48
IB 2D 30
<ESC>
“-”
<O>
27 45
IB 2D 00
0
Stopsunderlining.
Start ovedining
Mode
IBM
Decimal
Hexadecimal
ASCII
<p.c> “ – .. “l!!
27 95 49
IB 5F 31
<ESC> “ – “ <1>
27 95
IB 5F 01
1
Causessubsequentcharactersto be overlined.Spaces skippedby
horizontaltabulationare not overlined.
overlining
Mode
IBM
27 95 48
IB 5F 30
<ESC> “ – “ <O>
27 95
IB 5F 00
Stops overlining.
50
Decimal
ASCII
<Esc> “ – .. ,40,.
0
Hexadecimal
Select score
Ivlbde
Std.
<3>
<ESC> “ (“ “-”
nl
n2
<O> <1>
Start
n]
1
2
3
Hexadecimal
Decimal
ASCII
27 40 45
o
1 nl
IB
3
n2
00
28 2D 03
01
nl
n2
score accordingto the valuesof nl and n2, as shownbelow.
n2 Function
Function
Cancelscore
o
Underlining
1 Singlecontinuousline
Strike-through
Doublecontinuousline
2
Overlining
5
Singlebrokenline
Doublebrokenline
6
Select ornament character
Mode
ASCII
Std.
<ESC>
Decimal
“q”
n
Selects an ornarnent character
27113
n
Hexadecimal
IB
71
n
accordingto the valueof n, as shown
below.
n
O
1
2
3
Character
Normal
Outline
Shadow
Shadowand outline
Superscript
Mode
Both
Decimal
ASCII
<ESC>
“S”
<ESC>
“S” <O>
“O”
Hexadecimal
27 83 48
IB 53 30
27 83
IB 53 00
0
Causessubsequentcharactersto beprintedassuperscripts.Doesnot
changethe characterpitch.
51
Subscript
Mode
Both
ASCII
Decimal
Hexadecimal
<ESC>
“S”
“l”
27 83 49
IB 53 31
<ESC>
“s”
<1>
27 83
IB 53 01
1
Causessubsequentcharactersto be printedas subscripts.Does not
changethe characterpitch.
Cancel superscript or subscript
Mode
ASCII
Both
<ESC>
Decimal
“T”
Hexadecimal
IB 54
27 64
Stops printing superscriptsor subscripts and returns to normal
printing.
CHARACTER SET COMMANDS
Select standard character set
Mode
Both
Std.
ASCII
Decimal
Hexadecimal
<ESC>
“t”
“O”
27116
48
IB 74 30
<ESC>
“t” <o>
27116
0
IB 74 00
IC 49 30
Ic 49 00
<FS> 4“I” “O”
<FS> “I” <O>
28 73 48
28 73 0
Selectsthe standardcharacterset. This is the power-updefault in
Standardmode if EDS switchD-1 is OFF.
Select IBM character set
Mode
BottI
Std.
ASCII
Decimal
Hexadecimal
<ESC>“t” “l”
2711649
IB 74 31
<ESC>
27116
IB 74 01
Ic 49 31
IC 49 01
“t” <1>
<FS> “I” “l”
<FS> “I” <1>
1
28 73 49
28 73 1
Selectsan IBMcharacterset. This is the power-updefaultin IBM
mode.
52
Select character set #1
Decimal
Mode
ASCII
Both
<ESC> “7”
Hexadecimal
IB 37
27 55
Selects character set Ml.
Select character set #2
Mode
ASCII
Both
<ESC>
Decimal
“6”
Hexadecimal
IB 36
27 .54
Selectscharacterset #2.
Select international character set
Mode
Std.
ASCII
Decimal
<ESC>“R”
27 82
n
Selects an international
character
n
Hexadecimal
IB 52
n
set in the Standardcharacterset
accordingto the valueof n.
n
O
1
2
3
4
5
6
7
Characterset
U.S.A
France
Germany
England
DenmarkI
Sweden
Italy
SpainI
n
8
9
10
11
12
13
14
64
Characterset
Japan
Norway
DenmarkII
Spain II
Latin America
Korea
Irish
Legal
The first eightof these charactersets (fromU.S.A.to SpainI) can
be selectedas power-updefaultsby EDS switchesD-2 to D-4.
Select IBM code page
Mode
Both
ASCII
<ESC>
Decimal
“ [“
<0>
<4>
“T”
<0>
nl
<O>
n2
Hexadecimal
27 91 84 4 0
0 nl d
o
IB
5B
54
04
00 00 nl
00
d
Changesthe codepageof the currentIBM characterset according
to the valuesof nl and n2.
n2
181
82
92
93
95
97
nl
1
3
3
3
3
3
Codepage
#437 U.S.A.
#850 Multi-lingual
#860 Portuguese
#861 Icelandic
#863 CanadianFrench
#865 Nordic
These code pages can be selectedas power-updefaultsby EDS
switchesD-2 to D-4.
Enable printing of all character codes
Mode
ASCII
IBM
<ESC> ‘Y”
Decimal
d
d
27 92 d
Hexadecimal
d
IB
5C nl
n2
Enablesprintingof allcharactersintheIBMcharacterset,including
those assignedto charactercodes which are normallyconsidered
controlcodes.Thiscommandremainsin effectforthe next rd +n2
x256 characters,wherenl and n2 arenumbersbetweenOand255.
Duringthisintervalno controlfunctionsareexecuted.If acodewith
no assignedcharacteris received,the printerprints a space.
Enable printing of all character codes on next
character
Mode
ASCII
IBM
<ESC> “ “ “
Decimal
27 94
Hexadecimal
IB 5E
This commandoperateslike <ESC>‘1” exceptthat it remainsin
effect for only one character.
54
Select slash zero
Mode
Std.
Decimal
ASCII
<ESC> “ - “
<ESC>
“l”
“ - “ <1>
Hexadecimal
27126
49
IB
7E 31
27126
1
IB
7E 01
Causessubsequentzero charactersto be overprintedwith a slash
(0).
Select normal zero
Mode
std.
Decimal
ASCII
Hexadecimal
<ESC>“ - “ “O”
27126
48
IB 7E 30
<ESC> “ - “ <O>
27126
0
IB 7E 00
Causes subsequentzero characters to be printed normally (0),
withouta slash.
CHARACTER SIZE AND PITCH COMMANDS
Pica pitch
Mode
Decimal
ASCII
Hexadecimal
Std.
<ESC> “P”
27 80
IB
IBM
2DC2>
18
12
50
In Standardmode,changesfrom eithereliteor semi-condensedto
pica pitch (10 cpi) or from condensedelite to condensedpica (17
cpi). In IBMmode,changesfrom eithereliteor condensedto pica
waspressedduringpower-up.
(10 Cpi).Ignored if theCPiTCR)button
Elite pitch
Mode
Decimal
ASCII
Hexadecimal
Std.
<ESC> “M”
27 77
IB 4D
IBM
<ESC>
27 58
IB 3A
“:”
Changesfrom eitherpica or semi-condensedto elitepitch (12 cpi)
or from condensedpica to condensedelite (20 cpi). Ignoredif the
_
buttonwas pressedduringpower-up.
55
Semi-condensed pitch
Mode
Std.
Decimal
ASCII
<ESC> “g”
27103
Hexadecimal
IB
67
Changesfromeitherpicaor eliteto semi-condensedpitch(15 cpi).
Ignoredif the (FTiTiTl
buttonwas pressedduringpower-up.
Condensed printing
Mode
Both
Decimal
ASCII
<Sb
<ESC>
15
<Sb
27
Hexadecimal
OF
15
IB
OF
Changes from pica to condensedpica (17 cpi) or from elite to
condensedelite (20 cpi).Ignoredif the(FiT5R)buttonwas pressed
duringpower-up.
Cancel condensed printing
Mode
ASCII
Both
<DC2>
Decimal
18
Hexadecimal
12
In Standardmode,changesfromcondensedpica to normalpicaor
fromcondensedeliteto normalelite.In IBMmode,alwayschanges
to normal pica. Ignored if the (FRCi7)button was pressed during
power-up.
Expanded printing
Mode
Both
Decimal
ASCII
Hexadecimal
<ESC>
“W” “l”
27 87 49
IB
57 31
<ESC>
“W” <1>
27 87
IB
57
1
01
Causessubsequentcharactersto be expandedto doublewidth.
Cancel expanded printing
Mode
Both
Decimal
ASCII
<ESC>
“W” “O”
<ESC> “W” <O>
Hexadecimal
27 87 48
IB 57 30
27 87
IB
0
57
Stopsexpandedprintingand returnsto normalwidth.
56
00
Expanded printing for one line
hhde
Both -
ASCII
<ESC>
Hexadecimal
Decimal
<so>
14
<SO>
27
OE
IB
14
OE
Causessubsequentcharactersin the currentline to be expandedto
doublewidth.Charactersreturnto normalwidthafterthe nextline
feed (<LF>).The <DC4>,<VT>,<FF>, and <ESC>“W” Ocommands also cancelexpandedprinting.
Cancel one-line expanded printing
Mode
ASCII
Both
<DC4>
Hexadecimal
Decimal
20
14
Stopsone-lineexpandedprintingset with <S0> or <ESC><S0>.
Doesnot cancel<ESC>“W” 1.
Select character width
Mode
ASCII
Std.
<FS>
Decimal
“E”
n
28 69
n
Hexadecimal
IC 45
n
Selecta characterwidthaccordingto thevalueof n asshownbelow.
n Characterwidth
o Normal-wide
1 Double-wide
2 Triple-wide
Select proportional spacing
Mode
Std.
IBM
ASCII
<ESC>
Decimal
“p”
“l”
<ESC>
“p”
<1>
<ESC>
“P” <1>
Hexadecimal
27112
49
IB
70 31
27112
1
IB
70 01
27 80
1
IB 50 01
Causessubsequentcharactersto be proportionallyspaced.Ignored
if the(~’
buttonwas pressedduringpower-up,
57
Select fixed spacing
Mode
Std.
IBM
Decimal
‘ASCII
“O”
Hexadecimal
27112
48
IB
70 30
<ESC>
“p” <o>
27112
0
IB
70 00
<ESC>
“P”
27 80
0
IB 50 00
<ESC>
“p”
<o>
Causes subsequentcharactersto be printed with fixed character
spacing.Ignoredifthe(PiTCillbuttonwaspressedduringpower-up.
Select master print mode
Mode
ASCII
Std.
<ESC>
Decimal
“!”
n
27 33
n
Hexadecimal
IB 21
n
Selects a combinedprint mode accordingto the value of n. The
valueof n is the sumof thevaluesgivenbelowforthe desiredcharacteristics.
Examples:n = 1 giveselite;n = 9(1 + 8) givesemphasizedelite;n
= 137(1 + 8 + 128)givesunderlinedemphasizedelite.
Function
Underline
Italic
Expanded
Doublestrike
Emphasized
Condensed[*]
Proportional[*]
Elite [*]
[*I Ignoredif the (~)
n value
128
64
32
16
8
4
2
1
buttonwas pressedduringpower-up.
Increase character spacing
Mode
ASCII
Std.
<ESC>
Decimal
<SP>
n
27 32
n
Hexadecimal
IB 20
n
Increases the space between charactersby n dots, where n is a
numberfrom Oto 127.Used in microjustification.
58
Select double or quadruple size
Mode
ASCII
Std.
<ESC>
Decimal
“h”
n
27104
n
Hexadecimal
IB 68
n
Selectsthe size of subsequentcharactemas shownbelow. Extrahigh charactersalignalongthe cap-lineof normalcharacters,with
thebaselinetemporarilymovingdown.Linespacingis temporarily
doubledwhen n = 1 and quadrupledwhen n =2.
n Effect
O Normal size
1 Double-high,double-wide
2 Quadruple-high,quadruple-wide
Select character size
Mode
Both
ASCII
“ ((“
“ “
Decimal
“S”
“ ))“
“ “
n
40 40 83 41 41 n
Hexadecimal
28 28 53 29 29 n
Selectsacombinationofcharacterheightandwidthaccordingto the
valueof n, as below.Doesnot movethe base line.
n
O
1
2
3
Characterwidth
Singlewidth
Doublewidth
Singlewidth
Doublewidth
Characterheight
Singleheight
Singleheight
Doubleheight
Doubleheight
Print double-height characters
Mode
Std.
Decimal
ASCII
Hexadecimal
<ESC>
“W”
“l”
27119
49
IB
<ESC>
“W”
<1>
27119
1
IB
77 01
<FS>
“v”
“l”
28 86 49
IC
56 31
<FS>
“v”
<1>
28 86
IC
56 01
1
77 31
Prints subsequentcharactersat doubleheight withoutmovingthe
base line, and withoutchangingthe line spacing.
59
Return to normal height
Mode
Std.
Decimal
ASCII
<ESC> “W” “O”
<ESC> “W” <O>
<FS> “v” “0”
<FS> “v” <o>
Hexadecimal
27119 48
27119 0
28 86 48
28 86 0
IB
77 30
IB
77 00
IC 56 30
IC 56 00
Terminatesdouble-heightprintingandprintssubsequentcharacters
at normal height.
Select character height, width, and line spacing
Mode
IBM
Decimal
ASCII
<ESC> “[” “@” <4> <o>
<0> <0>
n
m
27 91 64
OOnm
Hexadecimal
4
0
IB 5B 40 (!4 00
00 00 n m
Selectsa combinationof characterheight,width,and line spacing
accordingto thevalueof n andm,as below.Docsnotmovethebase
line,
n
o
1
2
16
17
18
32
33
34”
m
1
2
60
Line spacing
Unchanged
Unchanged
Unchanged
‘Single
“Single
Single
Double
Double
Double
Characterheight
Unchanged
Singleheight
Doubleheight
Unchanged
Singleheight
Doubleheight
Unchanged
Singleheight
Doubleheight
Characterwidth
Singlewidth (sameas <ESC>“W” O)
Doublewidth (sameas <ESC>“W” 1)
VERTICAL POSITION COMMANDS
Set line spacing to 1/8 inch
IMode I1
Both
ASCII
Decimal
I
27 48
<ESC> “O”
1
Hexadecimal
IB 30
Setsthe distancethe paper advancesor reversesin subsequentline
feeds to 1/8inch.
Set line spacing to 7/60 or 7/72 inch
Mode
ASCII
Decimal
Both
<ESC> “l”
27 49
Hexadecimal
IB
31
Sets the distancethe paper advancesor reversesin subsequentline
feeds to 7/60 inch (standardmode) or 7/72 inch (IBMmode).
Set line spacing to 1/6 inch
[Mode I
,
Std.
Decimal
ASCII
<ESC> “2”
27 50
Hexadecimal
IB
32
Sets the distancethe paper advancesor reversesin subsequentline
feeds to 1/6inch.
Set line spacing to n/360 inch
Mode
ASCII
Std.
cESC>
<FS>
!
“+”
“3”
n
n
Decimal
27 43 n
28 51 n
Hexadecimal
IB 2B n
33 n
IC
Sets the distancethe paper advancesor reversesin subsequentline
feeds to n/360 inch, where n is between Oand 255.
61
Set base unit for line spacing
Decimal
Mode
ASCII
IBM
<ESC> “ [ “
<O>
‘1”
<O>
<4>
<O>
<o>
n
27 91 92
o
Hexadecimal
4
0
IB
OOn
5B 5C
04
00 00 00
00
n
Sets the base unit for the line spacingcommands,<ESC>“3” and
cESC> “J”. If the valueof n is 180,the baseunitis set to 1/180”.If
the value of n is 216, the base unit is set to 1/216”.If otherwise
specified,this commandis ignored.This commandbecomeseffective only after <ESC>“3” or <ESC>“J” is received,The default
base unit is set to 1/216”.
Set line spacing to nl180 inch or n/216 inch
Decimal
Mode
ASCII
Both
<ESC> “3”
n
27 51
n
Hexadecimal
IB
33
n
Sets the distance the paper advances or reverses in subsequent line
feeds torz/180 inchor n/216inch,wheren is betweenOand 255. If
n=0, in Standardmodetheline-feeddistanceis setto O,but in IBM
modethis commandis ignored.
Set line spacing to n/60 inch or n/72 inch
Mode
ASC114
Both
<ESC>
“A”
Decimal
n
27 65
n
Hexadecimal
IB
41
n
In Standardmode,sets the distancethe paperadvancesor reverses
in subsequentlinefeedsto n/60inch,wheren is betweenOand255.
If n =0, the line spacingis set to O.
In IBM mode, this commanddefines the distancethe paper advancesor reversesin subsequentlinefeedsto n/72inch,wheren is
between1and85.Thenewlinespacingdoesnottakeeffectuntilthe
next <ESb “2” command.
62
Execute <ESC> “A”
Mode
IBM
Decimal
ASCII
<ESC>
“2”
27 50
Hexadecimal
IB
32
Sets the line spacing to the value defined by the last preceding
<ESC>“A” command.Sets the line spacingto 1/6inch if there is
no preceding<ESC>“A” command.
Line feed
Mode
ASCII
Both
<LF>
Decimal
10
Hexadecimal
OA
Prints the current line and feedsthe paper to the next line. See the
precedingcommandsfor the line spacing.
Reverse line feed
Mode
Decimal
ASCII
27 10
Hexadecimal
Std.
<ESC> cLF>
IBM
IB 5D
27 93
<ESC>“1“
Printsthecurrentlineandfeedsthepaperin the reversedirectionto
the preceding line. See the preceding commands for the line
spacing.Ignoredwhen frictionfeed is used.
IB
OA
Select forward feed mode
Mode
ASCII
Std.
<FS>
Decimal
“F’
28 70
Hexadecimal
IC
46
Cancelsthe reversefeedmodeandselectsforwardfeedmode.This
is the defaultsettingat power-on.
Select reverse feed mode
Mode
ASCII
Std.
<FS>
Decimal
“R”
28 82
Hexadecimal
IC
52
Selects reverse feed mode. Reverses the direction of all vertical
movements.Ignoredwhen frictionfeed or bottomfeed is used.
Perform one n/180-inch orn/216-inch line feed
IMode \
I Both
Decimal
ASCII
I <ESC>
“J”
n
Hexadecimal
I 27 74 n
I IB 4A
n
I
Feeds the paperonce by rz/180inchesor n/216inches,where n is
between1and255.Doesnot movetheprintpositionrightor left in
the standardmode. Doesnot changethe line-spacingsetting.
Perform one n/180-inch reverse line feed
Mode
ASCII
Std.
<ESC>
Decimal
“j”
n
Hexadecimal
IB 6A
27 106 n
n
Feedsthepaperonceby n/180inchesin thereversedirection,where
nisbetween1and255.Doesnotmovetheprintpositionrightorleft.
Doesnot changethe line-spacingsetting.
Feed paper n lines
IModel
Std.
ASCII
<ESC>
<ESC>
I
“f’ “1” n
“f’ <1> n
Decimal
I
Hexadecimal
27102 49
n
IB
66
31
n .
27102
n
IB
66
01
n
1
I
Feedsthe paper n lines fromthe currentline, wheren is betweenO
and 127.
Set top of page at current position
Model
ASCII
I
I
IBM I <ESC> “4”
Decimal
27 52
I
Hexadecimal
I IB
34
Setsthe currentpositionas the top-of-pageposition.Notethat this
can also be done from the controlpanel.
Set page length ton lines
Mode I
ASCII
Both I <ESC>
I
“C”
n
Decimal
I 27 67 n
I
Hexadecimal
/ IB
43
n
I
I
Sets the page lengthto n lines in the currentline spacing,where n
is between1and 127in Standardmodeor between1and64 in IBM
mode. Changingthe line spacinglater does not alter the physical
page length.The currentline becomesthe top of the page.
64
Set page length to ~ inches
Decimal
Mode
ASCII
Both
<ESC> “C” <0> n
27 67
0
Hexadecimal
n
IB 43 00
n
Sets the page length to n inches,where n is between 1 and 32 in
Standardmodeor between1and 64 in IBMmode.Thecurrentline
becomesthe top of the page.
Set bottom margin
Mode
ASCII
Both
<ESC>
Decimal
“N”
n—
27 78 n
Hexadecimal
IB
4E
n
Setsthe bottommarginton lines,wheren is between1 and 127in
Standardmode or between 1 and 255 in IBM mode. The bottom
marginis reset when you changethe page length.
Cancel bottom margin
Mode
ASCII
Both
<ESC> “O”
Decimal
27 79
Hexadecimal
IB
4F
Cancelsthe bottommargin.
Form feed
Mode
ASCII
Both
<FF>
Decimal
12
Hexadecimal
Oc
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 automatic sheet feeder (ASF) is selected (EDS switch A-4 is
OFF), this command ejects the current page.
65
Return to top of current page
IMode I
ASCII
Decimal
I 27 12
I Std. I <ESC> <FF>
Hexadecimal
I
IB
OC
I
Feeds the paper backwardto the top of the currentpage. Ignored
when frictionfeed is used.
Disable paper-out detector
Mode
ASCII
Both
<ESC> “8”
Decimal
27 56
Hexadecimal
IB
38
Causes the printer to disregardthe signal sent by the paper-out
detector,enablingprintingto thebottomof thepaper.Overridesthe
settingof EDS switchB-2.
Enable paper-out detector
Mode
ASCII
Both
<ESC> “9”
Decimal
27 57
Hexadecimal
IB
39
Causes the printer to stop printing before the end of the paper.
Overridesthe settingof EDS switchB-2.
Set vertical tab stops
Mode
Both
Decimal
ASCII
<ESC> “B”
nl
n2
Hexadecimal
<O> 2766 nl n2 .. 0 IB 42 nl n2 ... 00
Cancelsallcurrentverticaltab stopsandsetsnewverticaltab stops
at lines nl, n2, etc., where n], n2, etc. are numbersbetween 1 and
255. A maximumof 16verticaltab stops can be set.The tab stops
must be specifiedin ascendingorder; any violationof ascending
orderterminatesthetab stoplist,”StandardterminationisbythecO>
controlcode.Theverticaltabstopsaresetintermsofthecurrentline
spacingand do not move if the line spacingis changedlater.
66
Set vertical tab stops every n lines
Mode
Std.
Decimal
ASCII
<ESC> “e” “l” n
“e” <1> n
<ESC>
Hexadecimal
27101 49
n
IB
65
31
n
27101
n
IB
65
01
n
1
Cancelsallcurrentverticaltab stopsand setsnewtab stopseveryn
lines, where n is between2 and 127.
Set vertical tab stops in channel
Mode
Std.
Decimal
ASCII
<ESC> “b”
nO
d
d
...
<o>
27 98 nO nl
n2 ... 0
Hexadecimal
16
62 no n]
d
...
00
Cancelsall current verticaltab stops in channelnO,(where M is
betweenOand7) and setsnewverticaltab stopsin this channel.(A
charnel is a set of vertical tab stops selectedby the cESC> “~’
command.)See <ESC>“B” for parametersnl, n2, ... <0>.
Select vertical tab channel
Mode
Std.
Decimal
ASCII
<ESC> “r’
nO
27 47 nO
Hexadecimal
IB
2F no
Selectsa set of verticaltab stopsdesignatedby a channelnumber
(nO)fromOto7.Thetab stopsineachchannelaresetby<ESC>’’b”.
Vertical tab
Mode
ASCII
Decimal
Hexadecimal
Both
<VT>
11
OB
Feeds the paper to the next verticaltab stop and moves the print
positiontotheleftmargin.Performsalinefeedif noverticaltabsare
set, as at power-up.Feedsto the top of the nextpageif verticaltabs
are set but the currentline is at or belowthe last verticaltab stop.
HORIZONTAL POSITION COMMANDS
Set left margin
Mode
Std.
ASCII
Decimal
<ESC> “l”
n
Hexadecimal
27 108 n
IB
6C
n
Sets the left marginat columnn (wheren is betweenOand 255)in
the current characterpitch (pica pitch if proportionalspacing is
selected).The left margin does not move if the characterpitch is
changedlater.The left marginmustbe at leasttwo columnsto the
left of the right marginand withinthe limitsbelow:
Pica
Elite
Semi-condensed
Condensed pica
Condensed elite
Expanded pica
Expanded elite
Expanded semi-condensed
Expanded condensed pica
Expanded condensed elite
Set right margin
Mode
Std.
ASCII ‘
<ESC>
Decimal
“0”
n
27 81
Hexadecimal
IB 51
n
n
Setstherightmarginatcolumnn in thecurrentcharacterpitch(pica
pitch if proportional spacing is currently selected). Column n
becomesthelastcharacterpositioninthelinc.Thenghtmargindoes
not move if the characterpitch is changedlater. The rightmargin
must be withinthe limits below:
Pica
Elite
Semi-condensed
Condensed pica
Condensed elite
Expanded pica
Expanded elite
Expanded semi-condensed
Expanded condensed pica
Expanded condensed elite
68
4 s
5 s
Gs
7 ~
s s
2<
3 s
3 s
4<
4<
n
~
n
n
n
~
n
n
n
s so
~ 9(j
g 12,()
<137
~ l(jo
<40
s 48
s GO
~ (jS
n S
80
Set left and right margins
Mode
ASCII
IBM
<ESC> “X”
Decimal
nI
n2
27 88 nl
Hexadecimal
n2
IB
58 nl
n2
Sets theleftmarginatcolumnnZandtherightmarginat columnn2.
See the preceding commands for margin restrictions and other
notes.
Carriage return
IModel
ASCII
I Both
<CR>
I
I
I
Decimal
13
I
Hexadecimal
I
I
OD
I
Printsthe currentline and returnsthe nextprint positionto the left
margin.If EDS switchA-3 is OFF, also performsa line feed.
Set automatic line feed
Mode
ASCII
LBM
<ESC>“5” <1>
Decimal
27 53
1
Hexadecimal
IB
35
01
Causesthe printer to performboth a carriagereturn and line feed
each time it receivesa <CR> code. This commandtakes priority
over EDS switchA-3.
Cancel automatic line feed
Mode
ASCII
IBM
<ESC> “5”
Decimal
<O>
27 53
0
Hexadecimal
IB
35
00
Causestheprinterto performonlya carnagereturnwhenit receives
a <CR>code.This commandtakespriorityoverEDS switchA-3.
Backspace
Mode
ASCII
Decimal
Hexadecimal
Both
as>
8
08
Movesthe print
position one column to the left. Ignored if the print
position is at the left margin. This command
can be used to
overstrike or combine characters.
69
Left justify
Mode
Std.
ASCII
Decimal
Hexadecimal
<ESC>
“a” “O”
27 97 48
IB
61
30
<ESC>
“a”
27
IB
61
00
<O>
97
0
Alignssubsequenttextwiththeleftmargin,leavingtherightmargin
ragged.
Center text
Mode
Std.
ASCII
Decimal
<ESC> “a”
<ESC>
“a”
“l”
<1>
Hexadecimal
27 97 49
IB
61
31
27 97
IB
61
01
1
Centerssubsequenttext betweenthe left and right margins.
Right justify
Mode I
Std.
ASCII
I
Decimal
I
Hexadecimal
<ESC> “a” “2”
27 97 50
IB
<ESC>
27
IB 61 02
“a”
<2>
97
2
61
32
Alignssubsequenttextwiththerightmargin,leavingtheleftmargin
ragged.
Full justify
Mode
Std.
ASCII
Decimal
Hexadecimal
<ESC> “a”
“3”
27 97 51
IB 61 33
<ESC>
<3>
27 97
IB 61 03
“a”
3
Alignssubsequenttext betweenthe left and rightmargins.
70
Set horizontal tab stops
Mode
Both
<ESC> “D”
Hexadecimal
Decimal
ASCII
nl
d
...
<0> 27 68 nl
n2 ... 0
IB 44 nl n2
... 00
Cancelsall currenthorizontaltab stops and sets new tab stops at
columnsnl, n2,etc. in thecurrentcharacterpitch(picapitchif proportional spacing is currently selected), where nl, n2, etc. are
numbersbetween 1 and 255. The maximumnumberof horizontal
tab stopsallowedis 32 in Standardmodeand64 in IBMmode.The
tab stops must be specifiedin ascendingordec any violationof
ascendingorderterminatesthetab stoplist. Standardterminationis
by the cO>controlcode.To clearall tab stops,specify<ESC>“D”
<o>.
Set horizontal tab stops every n columns
Mode
Std.
ASCII
<ESC> “e” “O” n
<ESC> “e” <O> n
Hexadecimal
Decimal
27 101 48
n
IB
30
n
0
n
IB 65 00
n
27101
65
Cancelsallcurrenthorizontaltab stopsandsetsnewtab stopsevery
n columns,where n is between 1 and 127.
Reset,all tab stops
Mode
ASCII
IBM
<ESC> “R”
Decimal
27 82
Hexadecimal
IB
52
Resetsthe horizontaltab stopsto theirpower-upvaluesin which a
tab stop is set every 8 columnstartingat column9. Also clearsall
verticaltab stops.
Horizontal tab
Mode
ASCII
Decimal
Hexadecimal
Both
<HT>
9
09
Movesthe printpositionto the next horizontaltab stop. Ignoredif
thereisnonexthorizontaltabstopinthecurrentline.Notethatwhen
underliningis selected,spacesskippedby horizontaltabulationare
not underlined.
Relative horizontal tab
Mode
ASCII
Std.
<ESC>
Decimal
‘Y” nl
&!
Hexadecimal
27 92 nl n2
1B 5C nl
n2
Movestheprintpositionrightorlefta specifieddistance(maximum
8 inches).Ignoredif theresultingpositionis beyondtherightor left
margin.The formulasfor the distanceand directionare as follows:
If n2 is betweenOand 63,the printheadmovesrightby (nl + n2 x
256) dots.
If youwantto movetheprintheadto theleft, nl andn2 areobtained
by subtractingthe value from 65536,and dividingthe result into
high and low bytes.
Relative horizontal tab in inches
Mode
ASCII
IBM
<ESC> “d”
Decimal
nl
n2
Hexadecimal
27100 td n2
IB
64 nl
n2
Sets the next printpositionto (nl +n2 x 256)/120inchesfrom the
currentposition.
Ignoredif this positionis beyondthe rightmargin.The maximum
positionis 8 inches.
Absolute ,horizontal tab in inches
Mode
Std.
Decimal
ASCII
<ESC> “$”
nl
n2
Hexadecimal
27 36 nl n2
IB 24 d
n2
Setsthe nextprintpositionto (nl + n2x 256)/60inchesfromthelefi
margin on the currentline. Ignoredif this positionis beyondthe
rightmargin.The maximumpositionis 8 inches.
Absolute horizontal tab in columns
/Mode I ASCII
Std.
<ESC> “f’
“f’
<ESC>
Decimal
“O” n
<O> n
Hexadecimal
27 102 48
n
IB
66
30
n
27 102 0
n
IB
66 00
n
I
Moves the next print positionto column n from the left margin,
wheren is betweenOand 127.
72
I
GRAPHICS COMMANDS
Print normal-density 8-bit graphics
[Mode /
Both
ASCII
Hexadecimal
Decimal
<ESC> “K”
nl
ml
n2
d
...
27 75 nI d
ml m2 ...
IB
4B nl
n2
ml d
...
Prints bit-image graphics at 60 dots per inch horizontally.The
graphicimageis 8dotshighandnl + n2x 256dotswide.Maximum
width is 8 inches(480 dots).ml, m2, ... are the dot data, each a 1bytevaluefromOto 255 representing8 verticaldots,withthemost
significantbit at the top and the least significantbit at the bottom.
The numberof databytesmust be nl + n2 x 256.Dotsbeyondthe
rightmarginareignored.Attheendof bit-imageprintingtheprinter
returnsautomaticallyto charactermode.
Print double-density 8-bit graphics
Mode
Both
ASCII
Hexadecimal
Decimal
<ESC> “L”
nl
ml
d
m2
...
27 76 nl d
ml d
...
IB
4C nl n2
ml m2 ...
Prints bit-imagegraphicsat 120dots per inch horizontally(maximum 960 dots wide). See <ESC>“K” for other information.
Print double-density, double-speed 8-bit graphics
Decimal
Mode
ASCII
Both
<ESC> “Y” nl
n2
ml
m2
...
27 89 nl
Hexadecimal
d
ml m2
IB
..
n2
ml m2
59 nl
Printsbit-imagegraphicsat 120dots per inch horizontally(maximum 960 dots wide), skippingevery seconddot in the horizontal
direction.See <ESC>“K” for other information.
Print quadruple-density 8-bit graphics
Mode
Both
Decimal
ASCII
<ESC> “Z”
ml
nl
n2
d
...
27 90 nl d
ml d
...
Hexadecimal
IB 5A nl n2
ml m2 ...
Printsbit-imagegraphicsat 240 dots per inch horizontally(maximum 1920dotswide),skippingevery seconddot in the horizontal
direction.See <ESC>“K” for otherinformation.
73
Print hex-density 24-bit graphics
Mode
Std.
Decimal
‘ASCII
<FS> “Z”
ml
nl
d
d
m3
..
28 90 nl nl
ml d d
...
Hexadecimal
1C 5A n]
n2
ml ml m3 ...
Prints 24-bit dot graphicsat 360 dots per inch horizontally.The
graphics image is 24 dots high and n] + n2 x 256 dots wide.
Maximumwidthis 8 inches(2880dots).In the dataml, m2,m3 ...
eachthreebytesrepresent24 verticaldots.In theleftmostposition,
the most significantbit of ml is the top dot;the least significantbit
of m1is the eighthdot from the top;the most significantbit of m2
is the ninth dot; the least significantbit of m2 is the sixteenthdot
from the top; the most significantbit of m3 is the seventeenthdot
fromthetop;theleastsignificantbitofm3isthebottomdot.Therest
of data is similar.The numberof databytesmustbe 3 x (nl + n2 x
256). Dots beyondthe rightmargin are ignored.At the end of dot
graphics printing, the printer returns automaticallyto character
mode.
Select graphics mode
Mode
Std.
ASCII
<ESC> “*”
nO nl
&
ml
ml
...
Decimal
27 42 nO nl
n2 ml d
...
Hexadecimal
IB 2A nO nl
n2 ml d
...
Selectsoneof elevengraphicsmodesdependingon the valueof nO
andprintsbit-imagegraphicsin thismode.See<ESC>“K” (for 8bit graphics)or <FS>“Z” (for 24-bitgraphics)for informationon
n], n2, ml, m2, ...
nO Graphicsmode
(60 dots per inch)
O 8-bitNormal-density
(120 dots per inch)
1 8-bit Double-density
2 8-bit Double-density,double-speed (120 dots per inch)
(240 dots per inch)
3 8-bit Quadruple-density
(80 dotsper inch)
4 8-bitCRT graphics,mode I
(90 dots per inch)
6 8-bit CRTgraphics,mode II
(60 dots per inch)
32 24-bitNormal-density
(120 dots per inch)
33 24-bit Double-density
(90 dots per inch)
38 24-bitCRT graphics
(180 dots per inch)
39 24-bitTriple-density
(360 dots per inch)
40 24-bitHex-density
74
I
Select graphics mode
/Mode /
IBM
ASCII
mO
Hexadecimal
Decimal
<ESC> “ [“
“g”
ml
nl
d
n2
...
27 91 103 nl n2
mO ml m2 ...
IB
5B
67 nl
n2
mO ml m2 ...
Selectsone of eightgraphicsmodesdependingon the valueof rnO
andprintsdotgraphicsin thismode.Thegraphicsimageis (nl + n2
x 256)– I dotswide. See <ESC>“K” (for 8-bitgraphics)or <FS>
“Z” (for 24-bitgraphics)for informationon ml, m2, ...
mO Graphicsmode
(60 dots per inch)
o 8-bitNormal-density
1 8-bit Double-density
(120 dots per inch)
2 8-bit Double-density,double-speed (120dots per inch)
(240 dots per inch)
3 8-bit Quadruple-density
(60 dots per inch)
8 24-bitNormal-density
9 24-bitDouble-density
(120 dots per inch)
11 24-bitTriple-density
(180 dots per inch)
12 24-bit Hex-density
(360 dots per inch)
Convert graphics density
Mode
ASCII
Std.
4ESC>
Decimal
“?”
n
m
27 63
n m
Hexadecimal
IB
3F
n
m
Convertsgraphicsdefinedby subsequent<ESC>“K”,<ESC>“L”,
<ESC>“Y”or <ESC>“Z”commandsto a densitymodedefinedby
<ESC>“*”. n is “K”, “L”, “Y“ or “Z”, indicatingthe mode to be
converted.mis a codefrom<0>to <4>or <6>indicatingoneof the
modesof <ESC>“*”.
75
I
DOWNLOAD CHARACTER COMMANDS
Define download characters
Mode
Std.
Decimal
ASCII
<ESC> “&” <O> nl
n2
mO ml
m2
dl
d2
..
27 38
Hexadecimal
0 n]
26 00 nl
n2 mo ml m2
IB
n2 mO ml m2
&
dl d2
... (ix
dl
d2 . . dx
Definesone or more new charactersand stores them in RAM for
later use.EDS switchA-2mustbe OFF;otherwiseRAMis used as
an inputbuffer,not downloadingcharacters,and this commandis
ignored.
nl is the charactercodeof the first characterdefinedand n2 is the
charactercodeof the last characterdefined.nl mustbe equalto or
less than n2.
Thedatafor eachcharacterstartwiththreebytesspecifyingproportional spacingattributes:the first byte,mO,specifiesthe left of the
character;the secondbyte, ml, specifiesthe characterwidth; the
third byte, m2, specifiesthe right of the character.These values
must not exceedthe followingmaximumlimits:
Charactermode
Draft
,LQ pica
LQ elite
L~ semi-condensed
LQ proportional
Draft super/subscript
LQ sup;r/subscriptLQ prop. super/subscriptI
ml
9
mO+ ml + m2
12
31
36
27
19
37
7
19
37
30
24
42
12
36
42
3
Nextcomesthedotdata.Normalcharacterheightis24 dots,sothere
mustbe 3 x ml bytesof dotdata.If the printeris in super/subscript
mode,however,the characterheightis 16dots, so theremust be 2
x ml bytes of dot data.
Each data byte indicateseightverticaldots, with the most significant bit being the top dot, and the least significantbit being the
bottomdot.
For furtherdetails,pleaserefer to chapter5.
76
Define download characters
Mode
Decimal
ASCII
<ESC> “=”
IBM
n3
nl
n4
ml
“#”
n2
<O>
n5
m2
dl
m9
d2 ““ ...
(ix
Hexadecimal
27 61 nl n2 35
IB 3D nl nl
23
& n4 O ti
n3 n4 00 n.5
ml m2 ... m9
ml m2 . . m9
dl d2 ... C-LX
dl d2 . dx
Definesnew charactersand storesthemin RAMfor lateruse. EDS
switchA-2mustbe OFFandthe optionalRAMcartridge,RC-32Z,
must be installed;otherwiseRAM is used as an input buffer, not
downloadingcharacters,and this commandis ignored.
DownloadingcharactersinIBMmoderequiresDotPatterndataand
CharacterIndex Table data. Dot Pattern data controlswhich pins
fire when printing a character. Index Table data is placed in a
“lookuptable”thatprovidesinformationon whereDotPatterndata
is storedin memoryand definescertainattributesof the character.
(d + n2 x 256) give the numberof bytesto be downloaded.
n3 and n4 indicatethe loworderandhighorderaddressesin which
data is to be stored.n3 shouldbe 15 and n4 shouldbe 128for this
printer.
ti determinesthe charactermode to be downloaded,as shown
below:
rL5
Charactermode
o Draft
1
2
3
LQpica
LQproportional
LQelite
Characterwidth
9
35
17-41
29
ml throughm9 indicateIndexTable data.
ml andm2indicatethe adresswhereDotPatternis stored.ml is the
high-orderbyte.m3indicatesthenumberof columnsin the character memory, and m4 indicates the number of columns in the
character.
ti through m9 are compressionmask bits. Data compression
allowsthe efficientuse of memoryin storingdownloadedcharacters providingspace for more charactersthan would be available
withoutcompression.The printerrepeatsthe previousdot column
in the currentcolumnwhenthe currentcolumncompressionmask
bit is set to 1.
Itisnecessaryto defineallofIndexTabledatabeforetheDotPattern
data to downloadmany characters.
77
dl, d2, ... d-xis the Dot Patterndata beingdownloaded.
Each data byte indicateseightverticaldots, with the most significant bit being the top dot, and the least significantbit being the
‘bottomdot.
Copy character set from ROM into RAM
Mode
std.
ASCII
Decimal
Hexadecimal
<ESC>“:” <O> n <o>
27 56 0 n O IB 3A 00 n 00
Copiesthe selectedcharacterset with n, as shown below, to the
correspondingdownload character RAM area, overwriting any
downloaddata alreadypresent.Ignoredwhen EDS switch A-2 is
ON.
n Font
n Font
(Option)
8 Orator2
O Roman
(Option)
1 Sanserif
9 TW-Light
10 Letter Gothic (Option)
2 Courier
(Option)
11 Blippo
3 Prestige
4 script
(Option)
12 H-Gothic
(Option)
5 OCR-B
(Option) 13 Orane
(Option)
6 OCR-A
(Option) 14 Cinema
(Option)
7 Orator
(Option) 15 Code39
Select download character set
Mode
●
std.
ASCII’
Decimal
<ESC>%“
<Esc>
“~o”
“l”
<1>
Hexadecimal
27 37 49
IB
25 31
27 37
IB
25
1
01
Selects the downloadcharacterset. IgnoredwhenEDS switchA-2
is ON.
Shift download character area
Mode
std.
ASCII
Decimal
<ESC> “t” “2”
<ESC>“t” <2>
27116 50
27116
Hexadecimal
IB 74 32
2
IB
74 02
<FS>
“I”
“2”
28
73 50
IC
49
<FS>
“I”
<2>
28
73
IC
49 02
2
32
Shiftsthe downloadcharacterareadefinedbetweenOto 127to the
areabetween 128to 255.
Select draft pica download character set
Mode
ASCII
IBM
<ESC>
Decimal
“I” <4>
27 73
4
Hexadecimal
IB
49
04
Selects the downloadcharacter set, draft quality, and pica pitch
(locpi). Ignoredif the (Ti5iT)buttonwaspressedduringpower-up
or if EDS switchA-2 is ON.
Select draft elite download character set
Mode
IBM
Decimal
ASCII
<ESC>
“I”<FF>
27 73 12
Hexadecimal
IB 49 OC
Selectsthe downloadcharacterset,draftquality,andelitepitch(12
cpi). Ignoredif the (-)
buttonwas pressedduringpower-upor
if EDS switchA-2 is ON.
Select draft condensed download characters
Mode
ASCII
IBM
<ESC> “I”
Decimal
<DC4>
27 73 20
Hexadecimal
IB
49 14
Selects the downloadcharacter set, draft quality, and condensed
pitch (17 cpi). Ignored if the@GNT)buttonwas pressed during
power-upor if EDS switchA-2 is ON.
Select LQ pica download characters
Mode
ASCII
IBM
<ESC> “I”
Decimal
<6>
27 73
6
Hexadecimal
IB
49
06
Selects the LQ downloadcharacter set with pica pitch (10 cpi).
Ignored if fie (T6NT]button was pressed during power-up or if
EDS switchA-2 is ON.
Select LQ elite download characters
IMode ]1 ASCII
IBMI
,
<ESC> “I” <SO>
Decimal
27 73 14
,
Hexadecimal
I IB
49 OE
Selects the LQ downloadcharacter set with elite pitch (12 cpi).
Ignoredifthe(TGNT)buttonwaspressedduringpower-upor ifEDS
switch A-2 is ON.
Select LG)condensed download characters
Decimal
Mode
ASCII
IBM
<ESC> “I”
<SYN>
27 73 22
Hexadecimal
IB 49 16
Selects the LQ downloadcharacterset with condensedpitch (17
cpi).Ignoredif the _
buttonwas pressedduringpower-upor
if EDS switchA-2 is ON.
Select LQ proportional download characters
Decimal
Mode
ASCII
IBM
<ESC> “I”
<7>
27 73
7
Hexadecimal
IB 49 07
Selects the LQ downloadcharacter set with proportionalpitch.
Ignoredif the(TGNT)buttonwaspressedduringpower-uporifEDS
switch.A-2 is ON.
Select ROM character set
Mode
Std.
Decimal
ASCII
<ESC>
“~0”
“O”
<ESC> ‘?Lo” <O>
Hexadecimal
27 37 48
IB 25 30
27 37
IB 25 00
0
Stopsusing the downloadcharacterset and returnsto the built-in
ROM characterset. IgnoredwhenEDS switchA-2 is ON.
80
COLOR SELECTION COMMANDS
Thecommandsin this sectionare valid only with the colorprinter.
Select
Mode
Both
print color
ASCII
,, ,, ,, ,,
((
Decimal
“c” ““
) “)” n
cESC> “r”
n
Hexadecimal
40 40 67 41 41 n
28 28 43 29 29 n
27114
IB 72
n
n
Selects the printing color accordingto the value of n as shown
below. Ignoredif the color ribbonis not installed.
n
O
1
2
3
Color
Black
Magenta
cyan
Violet
n
4
5
6
Color
Yellow
Orange
Green
OTHER PRINTER CONTROL COMMANDS
Set MSB to 1
Mode
ASCII
std. <ESC>“>”
Decimal
27 62
Hexadecimal
IB
3E
Setsthe most significantbit of each subsequentbytereceivedto 1,
allowinguserswitha7-bitinterfaceto accesscharacterswithASCII
codes greaterthan 127.
Set MSB to O
Mode
ASCII
std. <ESC>“=”
Decimal
27 61
Hexadecimal
IB
3D
Setsthe mostsignificantbit of each subsequentbyte receivedto O.
81
Accept MSB as is
I
Mode I ASCII
Std. I <ESC> “#”
Decimal
I 27 35
I
I
Hexadecimal
IB
23
I
I
Cancelsthe precedingcommandsand acceptsthe most significant
bit as it is sent to the printer.
Delete last character sent
Mode
ASCII
Std.
<DEL>
Decimal
127
Hexadecimal
7F
Deletes the last character received.Ignored if the last character
receivedhas alreadybeen printed,or if the last characterreceived
was all or part of a command.
Cancel last line
Mode \
Decimal
ASCII
Hexadecimal
Deletesthe last line currentlypresentin the print buffer.
Set printer off-line
Decimal
Mode
ASCII
Std.
<DC3>
IBM
27 81 36
16 51 24
“Q” “$”
Sets the printer off-line. The printer disregards all subsequent
charactersandcommandsexcept<DC1>,whichreturnsitto theonline state.The printer’sONLINE indicatordoes not go off.
19
Hexadecimal
13
<ESC>
Set printer on-line
Mode
ASCII
Both
<DC1>
Decimal
17
Hexadecimal
11
Returns the printer to the on-line state, allowing it to receive and
process all subsequent characters and commands. This command is
ignored if the printer was set off-line by pressing the ( ON LINE )
button
82
on the controlpanel..
Stop printing
IBM
Decimal
ASCII
Mode
I
<ESC>
“i”
106
27
Hexadecimal
IB
6A
Printstheentirecontentsoftheinputbuffer,thensetsthepnnteroffline, The ( ONLINE ) indicatoron the controlpanel goes off.
Bell
Mode
ASCII
Decimal
Both
-+IEL>
7
Hexadecimal
07
Soundsa brief beep tone from the printer’sbeeper.
Bidirectional printing
IMode ]
Both
Decimal
ASCII
Hexadecimal
<ESC> “U” “O”
27 85 48
IB
55
30
<ESC>
27
IB
55
00
“U”
<O>
85
0
Causessubsequentprintingto be donein the normalbidirectional
mode, whichis fasterthan unidirectionalprinting.
Unidirectional printing
Mode
Bo~
Decimal
ASCII
<ESC> “U” “l”
<ESC>
“u” <1>
27 85 49
27 85 1
Hexadecimal
IB
55
31
IB
55
01
Causes subsequentprintingto be done unidirectionally,ensuring
maximumverticalalignmentprecision.IgnoredwhenEDS switch
A-5 is set ON.
One-1ineunidirectional printing
Mode
Std.
ASCII
<ESC> “<”
Decimal
27 60
Hexadecimal
IB
3C
Immediatelyreturnstheprintheadto theleftmargin,thenprintsthe
remainder of the line from left to right. Normal bidirectional
printingresumeson the nextline.IgnoredwhenEDS switchA-5 is
ON.
83
Manual feed
Mode
ASCII
Both
<ESC> <EM> <O>
,’(,,
,,(,,
Decimal
“o”
““))
““
Hexadecimal
27 25 0
IB 19 00
] 40 40 48 41 41 I 28 28 30 29 29
Selects manual sheet feeding even when the optional automatic
sheet feeder is mounted.Ignoredif EDS switch A-4 is ON (ASF
inactive).
Auto feed
Mode
ASCII
Both
<ESC> <EM> <4>
,’(,,
,’(,,
“4”
Decimal
“ ))“
““
27 25 4
40 40 52 41 41
Hexadecimal
IB 19 04
28 28 34 29 29
Selectstheautomaticsheetfeeder.IgnoredifEDSswitchA-4is ON
(ASF inactive).
Eject paper from ASF
t~ModeI ASCII
Both
<ESC> <EM> “R”
,’(,,
,,(,,
“R”
“ ))“
“ “
Decimal
Hexadecimal
27 25 82
IB 19 52
28 28 52 29 29
40 40 82 41 41
Ejectsthe currentpage.Ignoredif EDSswitchA-4 is ON (ASFinactive).
Set print start position on ASF
Mode
Both
Decimal
A5CII
<ESC> <EM> “T” n
,’(,, ,,(,,
“T” “ ))“ “ “
n
Hexadecimal
27 25 84 n
IB 19 54 n
40 40 84 41 41 n
28 28 54 29 29 n
Skipsn/6inchesatthetop of thepage,wherenis equalto or greater
than 1. Ignoredif EDS switchA-4 is ON (ASF inactive).
Reset printer
Mode
ASCII
Borh
Std.
<ESC> “@”
<FS> “@”
Decimal
Hexadecimal
27 84
IB 40
28 64
IC 40
Reinitializestheprinter.Clearstheprintbufferand returnssettings
to theirpower-upvalues.Doesnot clearthe inputbufferor change
ASF selections.
84
chapter 5
DOWNLOAD CHARACTERS
Withthisprinteryoucancreatenewcharactersandsymbols,downloadtheir
dotdata,andhavethemprintedin placeof selectedcharactersin the regular
characterset.Charactersthatcanbe generatedinthiswayrangefromsimple
but useful symbols like the check mark through complex Chinese or
Japanesecharacters.
Regular characters are permanently stored in the printer’s ROM, but
charactersyou designare downloadedand storedin RAM for use.
Beforeyoustartto defineyourowncharacters,youmustsettheEDSswitch
A-2 to the OFF position.Otherwise,the RAM is used to store the input
buffer, and the downloadcommandsare ignored.If you wantto download
characterswithIBMmode,youmusthavetheoptionalRAMcartridge(RC32Z)installedin the monochromeprinter.
DEFINING YOUR OWN CHARACTERS WITH
STANDARD MODE
Designingand printing your own charactershas two requirements:first,
designingthe shapeof the character,calculatingthe datanecessaryto make
the shape, and sendingthat data to the printer, and secondly,sendingthe
commandto printthe downloadedcharactersinsteadof the regularcharacters. There are a numberof designconstraintsfor downloadcharacters:
●
Thematrixor grid on whichyou designthe charactersdependsuponthe
print mode as shown below:
Charactermode
Draft characters
LQ pica characters
LQ elite characters
LQ semi-condesed
LQ proportional
Draft super/subscript
LQ super/subscript
LQ prop. super/subscript
Horizontal
9
31
27
19
37
7
19
37
Vertical
24
24
24
24
24
16
16
16
85
●
The minimumwidthof a characteris five dots.
●
Dots cannotoverlap.
●
You may define any positionin the ASCIItable.
PhotocopythegridinFigure5-1tohelpdesignyournewcharacters.Wewill
use a tiny representationof a telephonesymbolfor our example.
Figure 5-1. Use this grid (or one similar to il) to define your own characters
Assigning the character data
Now,we calculatethe verticalnumericalvaluesof thecolumnsof dots,and
enter them underneaththe grid. Each verticalcolumn (whichhas a maximumof 24 dots)is first dividedinto threegroups(or two groupsfor super/
subscripts)ofeightdots.Eachgroupofeightdotsis representedbyonebyte,
whichconsistsof eightbits.
Thisis wherethenumbersdowntheleftsideof the gridcomein.Noticethat
there is a numberfor each row of dots and that each numberis twice the
numberbelowit. By makingthesenumberspowersof two we can take any
combinationof dots in a verticalcolumnand assignthcm a uniquevalue.
86
ASCIICock
Leftspace
6(>
J
Charamerw,dtl,
31
Rght space
‘>
Figure 5-2. Telephone symbol with normal LQ pica
Assigning a value of character space
Besidesbeing ableto specifythe actualwidthof the character,this printer
allowsyou to specifythe positionin the standardgrid wherethe character
will print.You must specifythe dot columnin whichthe printedcharacter
starts and the dot columnin whichthe characterends. Why, you may ask,
wouldyouwantto definea characterthiswayinsteadof merelydefiningthe
overallwidthof the character?Becausethisprinter’sproportionalcharacter
definitionscan also be used to print normal width characters, and by
centeringeven the narrow charactersin the completegrid they will look
goodeven if you are not printing~em proportionately.
The threebytes areused to specifythe widthof the characterand the space
to be allowedon eithersideof it.Theleft space(indotcolumns)is specified
bymOandthe rightspaceis specifiedby m2.Thesecondbyte(ml) specifies
thewidthofthecharacterin dots.Byvaryingthewidthof thecharacteritself
and the spaces around it, you can actually create proportional width
characters.
87
Whendefiningcharacters,thenumberofprintedcolumns(ml), andthesum
of side spacesand the characterwidth (MI + ml + rTz2)cannotexceedthe
value shownbelow.
L
Charactermode
Draft characters
LQ pica characters
LQ elite characters
LQ semi-condesed
LQ proportional
Draft super/subscript
LQ super/subscript
LQ prop. super/subscript
ml
9
31
27
19
37
7
19
37
mO+ ml+ m2
12
36
30
24
42
12
36
42
Sample program
To demonstratehow to use the downloadcharacters,let’s use the “telephone”characterandtheotheruser-definedcharacterstoprinta smallgraph.
This programwill do just that:
1000LPRINT WIDTH“LPTI : “ ,255
1010LPRINT CHR$(27) ;
“X1“
;
1020 LPRINT CHR$(27) ; “&”;CHR$ o);
1030 LPRINT CHR$(60) ;CHR$
(61)
1040 FORN=60TO 61
1050 READLS :LPRINTCHR$[LS)
CHR$icwj
1060 READcw :LPRINT
CHR.$
(RS)
1070 READRS :~LPRINT
1080 FORM=l TO CW*3
1090 READMM
1100 LPRINTCHR$
(MM);
1110 NEXT,M
1120 NEXTN
1130 LPRINTCHR$(27)
;“D”;CHR$
(11);CHR$
(0)
1140 LPRINTCHR$(27)
;“k”;CHR$
(4);
1150 LPRINTCHR$(27)
;“h”;CHR$
(1);
LPRINT“ DIFFUSION
RANGESOF”
LPRINT“
CARS& TELEPHONES”
(0)
LPRINTCHR$(27)
;“h” ;CHR$
LPRINTCHR$(27)
;“k”:CHR$
(0);
LPRINTCHR$
(27)
;’’%’
’;
CHR$(1);
LPRINT“USA”
:CHR$(9)
;
1220FOR 1=0TO 681 STEP25 :LPRINT
CHR$(60);:NEXTI
1230 LPRINT
1240 LPRINTCHR$(9);
1250 FOR 1=0TO 781STEP25
:LPRINT
CHR$(61);:NEXTI
1260 LPRINT
1270LPRINT“GERMANY”
;CHR$(9);
1280 FOR 1=0TO 412STEP25
:LPRINT
CHR$(60);:NEXTI
1290 LPRINT
1300 LPRINTCHR$(9);
1310 FOR 1=0TO 488STEP25
:LPRINT
CHR$(61);:NEXTI
1320 LPRINT
1330 LPRINT“JAPAN”;CHR$(9)
;
1160
1170
1180
1190
1200
1210
88
1340FOR 1=0TO 347 STEP25 :LPRINT
CHR$(60)::NEXTI
1350LPRINT
1360LPRINTCHR$(9)
1370FOR 1=0TO 493 STEP25 :LPRINT
CHR$(61);:NEXTI
1380LPRINT
1390LPRINTCHR$(9)“+-”;
1400SCALE$=’’+-+-”
1410FOR 1=2TO 8
:LPRINT
SCALE$; :NEXTI
1420LPRINT“+-+”
o “;
1430LPRINTCHR$(9);
1440FOR 1=1TO 8
1450LPRINT“ “;1;
1460NEXTI
CHR$(O)
1470LPRINTCHR$(27)“%’’;
1480LPRINTCHRS(27).~ll:
CHR$(O);
1490LPRINTCHR$~27j“S’’i
(100UNITS/1000
PERSONS)”
1500LPRINTCHR$(9);
.,,T,,.
1 ;
1510LPRINTCHR$(27);
;”@”
1520LPRINTCHR$(27)
1530END
2000 ‘ DATA
2010 ‘ Telephone Symbol
2020DATA 3, 31, 2
2030DATA O, 0, 0, 7, 0, 0, 8, 0, 0, 23, 0, 0, 40, 0, 0
2040DATA 19, 15, 92,40, 16, 0, 80, 47, 92,32,80, 0, 80,175,192
47, 80, 0, 80,163,92,33,64, 0
2050DATA 47, 80, 0, 80,175,192,
2060DATA 80,163, 92, 33,64, 0, 80, 63, 92,47, 80, 0, 80,175,192
32, 80, 0, 80, 47, 92,40, 16, 0
2070DATA 47, 80, 0, 80,175,192,
2080DATA 19, 15, 92,40, 0, 0, 23, 0, 0, 8, 0, 0, 7, 0, 0
2090DATA O, 0, 0
2100 ‘ Car Symbol
2110DATA 3, 31, 2
2120DATA O, 0, 0. 0. 30. 0, 0, 0, 0, 0, 60, 0, 0, 3, 0
0: 3; 64, 1,252,128,2, 3, 64, S,124,128
2130DATA 0,252,128,
0, 40, 0, 0,
26, O, 32, 0, 0
2140DATA 10, 3, 0, 20,124,
0, 63,128,
0, 64,126,0, ;;; 28, 0, 64,124,0
2150DATA 64,126,
28,48, 3, 64
2160DATA 32, 3, 0, 64,124, 28,32, 3, 64, 64, 24,.
2170DATA. 76,124,128, 51, 3, 0, 12,252,0, 3, 0, 0, 0,254, 0
2180DATA O, 0, 0
DIFFUSION
RANGES OF
CARS & TELEPHONES
USA
89
I
DEFINING YOUR OWN CHARACTERS WITH IBM
MODE
Downloadingfonts in IBM mode requires downloadingcharacter Dot
PatterndataandcharacterIndexTabledata.Dotpatterndatacontrolswhich
pins fire whenprintinga character.IndexTabledatais placedin a “lookup
table” that provides informationon where Dot Pattern data is stored in
memoryand definescertainattributesof the character.
Assigning the download character set
You can defineone or more downloadcharactersets for later use in IBM
mode. Before you start to design your characters,you must define what
characterset(s) you want to download.
The characterwidthon whichyou designthe charactersdependsupon the
characterset as shownbelow:
Characterset
Draft characters
LQ pica characters
LQ elite characters
LQ proportional
Characterwidth
9
35
29
17-41
CharacterID
0
1
2
3
After you have decided your downloadcharacter set, you must tell the
printer where‘thedownload characterdata to be stored, and how many
downloadcharactersets you will define.
The firstdownloadfontareastartsfrom<800F>h,andyoumustenterOfor
the Format byte. This Format byte indicatesto the printer that the RAM
cartridgehas storedthe downloadcharacterset.
Followingtheformatbyte,youmustentertheCharacterIDdata.If youwant
to definemore characterset, add 128to the CharacterID data.
The secondarea starts from <891l>h, the third area starts from <9212>h,
and the last area starts from c9B13>h.But you need not enter the Format
byte for these area.
90
Assigning the character dot pattern
Wewill use a tiny representationof a telephonesymbolfor our example.
1 2 3 4 5 6 7 8 9101112131415161718192021
22232425262728293031
32333435
128
64
32
16
8
4
2
1
128
64
32
16
8
4
2
1
128
64
32
16
8
4
2
1
Compression
ma, k btt
Figure 5-3. Telephone
symbol with LQ
pica
Afteryouhavedesignedthecharacterpattern,youwillneedto compressthe
Dot Pattern.Datacompressionallowsyou to storemore downloadcharacters than’withoutcompression.It is a more efficientuse of memory.The
printer will repeat the previous dot column when the current column
compressionmask bit is set to “l”.
Filluptheadjacentdoteventheydonotprint,thencomparetheeachventcal
line to the left line. If the line is the same as the left one, write “l” in the
columnof the “compressionmask bit”. If it is different,write“O”.
91
Figure 5-4.
Fill up the adjacent dot, then write the “compression data”
After you have written the “compressionmask bit” data, line up all the
character data for the “compressionmask bit” that requires “O”. The
telephonesymbollookslike Figure5-5.
1 2 3 4
128
I
.
04
5 6 7 8 9 10111213141516171819
I I I I I [-,- II
-
I - I - I - I- II-
-
202122232425
I - I - I I [111
I
32
16
8
4
2
1
128
.,
0.
,.
I
I I I I I I I
-, -,-,-,-,●
1 1 , -,-,
_,-, -,_, -!-,
a
w 8 w ● l- w w 9 - -1- I I I I I I
● ● ● ●
10 ● ● ● ● ●
Ill
● ● ● ● ●
● ● ● .1
-,-, .1.1-,
I
● ● ● ● ●
1
● ●
lololo[
Ili
. . . . . -1-!- .-, . q.-,-,-,-,-1 -1.1-1
1 1 1 1 , -,-,-,-,-,-,-,-,
1
1 t
_ ! -, -, -,_,-,-!_
- 1 1 1 1 I
32
16
8
4
●10[I
●
●
●
I
●
1 I
128
64
32
16
8
.
I
I
I
1 1 1 1 1 1 1 I
2
1
I
I
[
I
I
I
I
I
I
I
I
1 1 1 1 1 1 1 I
I
I
I
I
[
Figure 5-5. Compressed character pattern of telephone symbol
92
I
I
I
1 I
I
II
!
I
I
I
I
1
1 I
1 1
I
I
I
Now we will calculatethe vertical numerical valuesof the columnsof dots,
andenterthemunderneaththegrid.Eachverticalcolumnis firstdividedinto
three groupsof eight dots. Each group of eight dots is representedby one
byte, which consistsof eightbits.
This iswherethenumbersdowntheleft sideof thegrid come in. Noticethat
thereis a number for each row of dots and that each number is twicethe
numberbelow it. By makingthesenumberspowersof two we can take any
combinationof dots in a verticalcolumnand assignthem a unique value.
Assigning the Index Table data
Unlikedefiningin the Standardmode,youmustassigntheIndexTablewith
the IBM mode. This Index Table is preparedfor the informationof each
charactersattributedata,such as charactertype(Normal24-dothigh, or30dot high block graphics), the dot pattern data in thememory, and the
compressionmask bit data.
Each characterrequires9 indextable data.
Thefirst andthe secondbytes(ml andTn2)indicatesthepositionof the first
dotpatterninthe memory.ml is thehighorderbyte,andrn2is theloworder
byte.
Thethirdbyte,m-?,indicatesthecharactertype andthedotpatterndatawidth
in the memory.
If the ch~acter isnormal,simply enter the width of dot pattern inthe
memory.If the characteris a block graphic, add 128 to the width of dot
pattern in the memory.
Ourtelephonesymbolis a normalcharacterandthe widthof the dotpattern
in the memory shouldbe 25, so this value is 25.
The fourth byte, m4, indicatesthe printingattribute.
Thisbyteindicatesthe characterwidth to be printed,andinformationof the
repetitiondots for blockgraphics“characters.
If the characterisa normalcharacter,add 192 to the characterwidth.
If the characterisa blockcharacter,and it shouldbe printed as a line draw
character,add 64 to the characterwidth.If the block characteris not a line
draw character,this byte shouldbe the same as the characterwidth.
Our telephonesymbolisa normalpica character,so the characterwidthis
35, and this byte shouldbe 227.
93
The remaining
fivebytes(ti through
m9) indicate
thecompression
mask
thecompressed
dotpattern
bits..Eachbitsshowsthedatathatwilltranslate
data back to the originalcharacterpattern.
For example, the compressionmask bits of our telephone symbol are
0110000000000100111100100000000001100000.Sothesebytesare96,
4,242,0, and 96.
theindextable
dataforall
characters
fromO to255.If you
You mustdefine
donotwantto definea particularcharacter,enterOintothatindextabledata.
Sample program
To demonstrate
how todefine
andtousethedownloadcharacters
inIBM
mode,let’susethe“telephone”characterandtheotheruser-definedcharacters to print a smallgraph.This programwill dojust that:
1000LPRINT WIDTH“LPT1: “ ,255
1010LPRINT CHR$(27) ; “=” ;CHR$( 164) ;CHR$(9) : “~” :
;CHR$
(&H80)
;cHR$(o);
1020LPRINT CHR$(&HOF)
1030‘ INDEXTABLE
1040LPRINTCHR$(1):
1050FOR 1=0TO 59
(9,O);
1060LPRINTSTRING$
1070NEXTI
: :NEXTIT
1080FOR IT=lTO 9 :READMM :LPRINTCHR$(MM)
CHR$(MM)
: :NEXTIT
1090FOR IT=lTO 9 :READMM :LPRINT
1100FOR 1=62TO 255
(9,O):
1110LPRINTSTRING$
1120NEXTI
1130‘ DOTPATTERN
1140FORDP=lTO 159
1150READMM
;
1160LPRINTCHR$(MM)
1170NEXTDP
PROGRAM
1180‘ PRINTOUT
1) ;CHR$(0)
:“D”;CHR$(l
1190LPRINTCHR$(27)
;“k”;CHR$
(4);
1200LPRINTCHR$(27)
:“h”;CHR$
(l):
1210LPRINTCHR$(27)
RANGESOF”
1220LPRINT“ DIFFUSION
CARS& TELEPHONES
1230LPRINT“
(0);
;“h” ;CHR$
1240LPRINTCHR$(27)
(0)
;“k” ;CHR$
1250LPRINTCHR$(27)
’;
CHR$(9);
1260LPRINT“USA’
;’’I’’;
CHR$(6);
1270LPRINTCHR$(27)
CHR$(60);
:NEXTI
1280FOR 1=0TO 681 STEP25 :LPRINT
1290LPRINT
1300LPRINTCHR$(9);
CHR$(61);
:NEXTI
1310FOR 1=0TO 781STEP25 :LPRINT
1320LPRINTCHR$(27) ;’’I’’:CHR$(2)
;CHR$(9);
1330LPRINT “GERMANY’’
1340LPRINT CHR$(27) ;’’I’’;CHR$(6);
1350FOR 1=0 TO 412 STEP 25 :LPRINT CHR$(60); :NEXT I
1360LPRINT
1370LPRINT CHR$(9);
1380FOR 1=0 TO 488 STEP 25 :LPRINT CHR$(61): :NEXTI
;’’I’’;CHR$(2)
1390LPRINTCHR$(27)
94
;CHR$
(9);
1400LPRINT“JAPAN”
;’’I’’:CHR$(6)
;
1410LPRINTCHR$(27)
CHR$(60);
:NEXTI
1420FOR 1=0TO 347STEP25 :LPRINT
1430LPRINT
1440LPRINTCHR$(9);
CHR$(61);
:NEXTI
1450FOR 1=0TO 493STEP25 :LPRINT
;”I’’:CHR$(2)
1460LPRINTcHR$(27)
1470LPRINT CHR$(9) ;’’+-”;
1480SCALE$=”+-+-”
:LPRINT
SCALES; :NEXTI
1490FOR 1=0TO 2
1500LPRINT“+-+”
”0 “;
1510LPRINTCHR$(9);
1520FOR 1=1TO 8
1530LPRINT“ “;1;
1S40 NEXTI
1550LPRINT CHR$(27) ;’’:”:
1560LPRINT CHR$(27) ;’’S’’:CHR$(O):
1570LPRINT CHR$(9):’’(IOO UNIT.S/1000 PERSONS)”
1580LPRINT CHR$(27):’’T”:
1590LPRINT CHR$(27) ;”@”
1600END
2000 ‘ DATA
2010 ‘ Index Table Data
0. 96
2020DATA 137, 17, 25,227, 96, 4.242.
2030DATA 137, 92, 28,227, 96, o; 80, 64, 96
2040 ‘ Dot Pattern Data
2050 Telephone symbol
2060DATA O, 0, 0, 7, 0, o, 15, 0, 0, 31, 0, 0, 59, 0, 0
92,112,255,192
2070DATA 59, 15,192, 56, 31, 92, 12, 63,192,112,127,
92, 13,227,192,127,243,
92,127,255,192
2080DATA 127,255,192,127,243,
56, 31, 92, 59, 15,192
92, 12, 63,192,
2090DATA 112.255.192.112.127,
31,
0,
0,
0,
15,
0, 0, 7, 0, 0. 0, 0, 0
2100DATA 59; o,
2110 Ca: symbol
0,
0,63,
0
2120DATA o, 0, 0, 0, 30, 0, 0, 28, 0, 0,60,
1’ 5S,192,
3,255,192,
7,127,128
2130DATA 0,255,128,0,255,92,
0, 96,124,
0
2140DATA 14,127,0, 28,124, 0, 56;’ 24, 0,112,126,
0, 96,127,128
2150DATA 27,2S4,0,127,252,0, 96, 24, 0, 96,127,
92, 24, 27,128,
63,127,
0, 15,124,
0
2160DATA 96,127,192,112,127,
0,
0,254,
0, 0, 0, 0
2170DATA 3,124,
%
chapter 6
MS-DOS AND YOUR PRINTER
When usingyourprinter
withanIBM PC,PC-XT,orPC-AT orcompatible,
you willprobably
beusingPC-DOS orMS-DOS asanoperating
system.
A
numberofsoftware
tricks
maybe useful
here.
Thischapter
isnot,
however,
a substitute
fortheoperating
systemmanualssupplied
withyourcomputer.
To learn how to print fdes, etc. it is best to read the relevantparts of these
manuals.
INSTALLING APPLICATION SOFTWARE WITH
YOUR PRINTER
When installing
application
software,
you may findthatyourprinter
isnot
specifically
mentionedinthelists
ofprinters
givenforinstallation.
However,thisshouldpose no problem.Read thissection,
and guidelines
provided
withyoursoftware
on printer
installation.
If youhaveyourprintersetup in standardmode,thenchoosean EpsonLQ860 as your printerto be selected.
Ifthisisnotmentioned,chooseoneof thefollowing(inorderof preference):
Star XB24-10Color,Star LC24-10,EpsonLQ-850.
If you have your printer setup with the EDS switchesto emulatean IBM
ProprinterX24E,simplychoosethisfromthelist ofprintersavailablein the
applicationsoftwarelist.
If the IBM ProprinterX24Eis not mentioned,selectthe Propnnter X24.
Ifyoursoftwarepackagedoesnotmentionprintersbyname,butasksinstead
what featuresyour printer is capableof, the most commonquestionsare:
“Can your printerperforma backspace?”and “Can it do a hardwareform
feed?”.You shouldanswer“Yes”to both these questions.
Othersoftwarepackagesmay allowyouto installspecificfeatures.Spreadsheetprogramswill often ask for the maximumnumberof columnsto be
printed.This is givenbelow.
97
Pica
Elite
Semi-condensed
Condensedpica
Condensedelite
Proportional
CPI
10
12
15
17.1
20
Numberof columns
80
96
120
137
160
Variable
Sometimes the software installation will ask you for an initialization
sequenceto returnto the defaultsettings.The commandfor yourprinteris
<ESC>@.
MakesurethattheEDSswitchesaresetforthecorrectprinteremulation,and
thatyouhaveselectedthe appropriatecharactersetusingtheEDSswitches.
Ifyouareindoubtabouttheconf@ration of yourapplicationsoftware,seek
expertadvice.Yoursoftwaresupplierwillprobablybe yourmostqualified
reference.
EMBEDDING PRINTER COMMANDS
Many word-processorsand other software lack commandsfor changing
font,printingdouble-sizecharacters,orprintingin color.Yourprintertherefore has commandsthat can be embeddedin documentsto control these
functionswithoutsoftwarehelp.The commandsconsistof a capitalletter
enclosedin doubleparentheses,followedby a digit:
Font:
((F))O
((F))l
((0)2
((F))3
((F)M
((m)9
Roman
Sansenf
Courier
Pm,tige
script
Draft
Size:
((s))0
Color:
((s))2
((s))3
((C))O
Standardsize
Doublewidth
Doubleheight
Doublewidth and height
((s))1
((C))1
Black
Magenta
((c))2
((c))3
Violet
cyan
((c))4
((c))5
((C))6
Yellow
Orange
Green
If you wantto print a titlein double-sizeScript,then changeto regular-size
fonts for othertext, you can use these commandsas follows:
File as seen on computerscreen:
( (F))4
( (S))3
Print e r commands
( (F) )0 ( (S))0
Font commands ( (F) ) 1can be ( (F) ) 2embedded
( (F) ) 3anywhere
( (F) ) 9 in a document .
Printout:
Font commands
can be embedded
anywhere
in <I d0c:un7@rlt.
When you use these commandsthere are severalpointsto note:
●
The fdnt((F))
command is ignoredif the _
buttonwas held down
whenpower was switchedon.
●
The color ((C))commandis validonly with the colorprinter.
●
A line consistingof commandaloneprints as a blankline.
●
The softwarewillnotknowthattheseare commands,so youcannottrust
yoursoftwareto giveyouthe correctline width.The printedline maybe
considerablyshorterthanthelineon the screen;the extraspacebeingthe
spacethat was occupiedby the commands.
Onewayto handlethelastproblemis to prepareyourdocumentwithoutthe
commands,then insertthem as a finalstep, withthe marginsreleased.The
find,replace,andcopyfunctionsofword-processingsoftwarecanbehelpful
here.
If youdonotusethesecommandsor thepanelcontrols,theprinterwillprint
standard-size,draft characters.
99
The printer supportsvariouscommandsin additionto the above,such as
quadruple-sizeprinting.Mostoftheseothercommandsconsistof theescape
code followedby one or more lettersor numbers.
If yoursoftwareenablesyouto placetheescapecodein yourfiles,or if you
areabletodefinethisasauseroptionduringinstallation,youcanalsoembed
these escape sequences.
PROGRAMMING THE PRINTER WITH DOS
COMMANDS
If your system includesthe file PRINT.COMyou can use the main DOS
printingcommand.Simplytypethe wordPRINT followedby the name of
the file you want to print. To print a file named README.DOC,for
example,type:
A) PRINT README. llOC
The computer may respond with the following message, asking which
printerto use:
Name of 1 i s t device
[PRN] :
If yourcomputeris connectedto onlyoneprinter,pressRETURNto select
the default choice (PRN). Printing will begin and the A> prompt will
reappear.You,can executeother commandsor programswhile the file is
being printed.
A singlePRINTcommandcan print two or more files.List the file names
consecutivelyon the sameline, or use wild-cardcharacters(* and ?). Each
file will be printedstartingon a new page.The PRINT commandalso has
controloptions.For example,you can terminatea printingjob in progress
withthe/T option.(Theprintermay not stopprintingimmediatelyas there
maybe considerabledatastoredaheadin itsbuffer.)For then option,type:
A>PRINT/T
See yourDOSmanualfor furtherinformationaboutthe PRINTcommand.
If yoursystemdoesnot includePRINT.COM,you can print files by using
thePRN devicenamein COPYor TYPEcommandssuchas the following:
100
A)COPY README.DOC PRN
A)TYF’E README.DOC }PRN
COPYand TYPE do not permit you to executeothercommandswhilethe
file is printing.
If youwanta particularfont,or printpitch,youcanmakethesesettingsfrom
the controlpanel beforeyou stantprinting.See Chapter2.
IfyouprintfromtheDOScommandlevelveryoften,itwillbe advantageous
to createa printersetupfile.Theninsteadof settingfontetc.manuallyeach
time, you can complete the setup with a single command from your
computer.For example,you can createa file containingprintercommands
to selectletterquality,andselectelitepitchwiththeStandardmode.Youcan
find the commandsin Chapter4. We suggestthe following:
●
●
Letter quality
Elite pitch
<ESC>
<ESC>
“X”
“!”
“l”
<1>
<ESC>“!” <1> is a powerfulcommandthat, in additionto selectingelite
pitch, cancelsunwantedfeaturessuch as underliningwhich might be left
frompreviouscommands.The anglebracketsaroundthecl> indicatecharacter code 1, which is a controlcode,not the printabledigit” l“.
You may want to place additionalcommandsin this file, such as left and
rightmargins,linespacingandbottommargincommands.Oryoumaywant
to createiavarietyof setupfiles with a differentset of commandsin each.
To avoidexcessline feeds,you shouldplacethe commandson one line in
thesetupfile.Youmayormaynotbe ableto generatea setupfilewithwordprocessingsoftware;it dependson whetheryour softwarelets you enter
controlcodes.If yoursystemincludesthe fileEDLIN.COM,however,you
can easilycreate a setup file with the DOS line editor.
AnappropriatenameforthissetupfilewouldbeLQELITE.DAT.Tousethe
DOSline editor,typethe commandEDLINLQELITE.DAT,then typethe
underlinedpartsof thefollowingdisplay.PressRETURNat theendof each
line. Donottypethe symbol“A”.This symbolmeansto holdthe CTRLkey
downwhilepressingthenextkey:for example,‘V meansto typeCTRL-V.
‘C meansto type CTRL-C,which indicatesthe end of the input.
101
A>EDLIN
LQELITE.DAT
New file
,*1
1:XAVIX1”V[!”VA
‘2:*”C
*E
—
‘Vindicates
thatthefollowing
character
isa control
code.*V[ enters
the
cESC> code.cESC> hascharacter
code27,and“[”isthe27thcharacter
fromA intheASCII sequence.
Similarly,
‘VA enters
thecontrol
code<1>.
SeeyourDOS manualifyou needfimther
information
aboutEDLIN.
You can now setup theprinter
by sendingitthefile
LQELITE.DAT. To
avoidunnecessary
logging
ofcommands,switchhard-copy
outputoff(by
pressing
CTRL-PRTSC ifhardcopyison).
To print
thefile
README.DOC
inLQ elite
type,
givethefollowing
two commands:
A)COPY
LQELITE
. DAT
PRN
A>PRINTREADME.DOC
Forgreater
convenience
youcanmake abatchfile
that
willsetuptheprinter
andprint
anyspecified
file
witha single
command.To create
sucha batch
file
withthename LQPRINT.BAT, typeinthefirst
fourlines
shown next.
‘Z meanstopress
theCTRL andZ keyssimultaneously.
To usethis
file
to
print
READh41ZDOC, typethefifth
line.
A>CdPYCON LQPRINT.BAT
COPY LQELITE.DAT PRN
PRINT %1
‘z
A>LQPRINTREADME.DOC
The first
lineaboveisa copycommand fromtheCONsole screen
toa file
named LQPRINT.BAT. The nexttwolines
arethecontents
ofthis
file.
The
%1 isadummy parameter:
whatever
file
name youtypeafter
LQPRINT will
be substituted
for%1 andprinted.
102
PROGRAMMING WITH BASIC
As an exampleofprogrammingtheprinter
on Microsoft
BASIC, we have
listed
theprogramfortheIBM-PC. Thisprogramrunsin theprinter’s
mode,andthe downloadablecondition(EDSswitchA-1 ON and
Standard
A-2 OFF).
1000 ‘ Set contro 1 codes
1010 E$=CHR$ ( 27)
1020 D$=E$+” XO“
1030 L$=E$+”X 1“
1040 RM$=E$+’’kO’’+L$
10.s0 SA$=E$+” kl “+L$
1060 CO$=E$+“k2“ +L$
1070 PR$=E$+“k3“ +L$
1080 SC$=E.$+“k4“ +L.$
1090 H$=CHR$(9)
i 100 PI$=E$+”P”
Start
printing
1110
1120 WIDTH “LPT1: ’’,255
1130
1140
1150
1160
1170
1180
1190
1200
1210
1220
1230
1240
12s0
1260
1270
1280
1290
1300
1310
1320
1330
1340
1350
1360
1370
1380
1390
1400
1410
1420
1430
1440
14s0
1460
1470
1480
1490
1500
1510
1520
1530
‘ Escape code
‘Draft
qual i ty
‘ Letter
quality
‘ Roman characters
‘Sanserif
characters
‘Courier
characters
‘Prestige
characters
‘Script
characters
‘Horizontal
tab
‘Pica
pitch
‘Set HT
E$; ’’D” ;CHR$(3);CHR$(24)
;CHR$(0)
RM$; president
fonts
are:”
H$;D$; ”Draft
characters,”;
H$;RM$; ”Roman characters,
v
H$;SA$; ’’Sanserif
characters,”;
H$;CO$; ”COurier
characters,
”
H$;PR$;”Prestige
characters,”;
LpRINT H$;SC$; ’’Script
characters.
”
LPRINT
LPRINT RM$; ”Print
pitches
are:”
LPRINT H$;PI$; ’’Pica
pitch
(10 CPI),”;
pitch
(12 CPI),U
LPRINT H$;E$; ”M”;U Elite
pitch
(15 CPI),”;
LPRINT H$;E$; ”g “;’’Semi-condensed
LPRINT H$;PI$;
‘Select
condensed
print
LPR~NT CHR$(15);
LPRINT “Condensed
pica pitch
(17 CPI),”
elite
pitch
(20 CPI),”;
LPRINT H$:E$; ”M“;’ ’Condensed
‘Cancel
condensed
print
LPRINT CHR$(18)
‘Select
proportional
spacing
LPRINT H$;E$; ’’PI”:
LPRINT PI$; ’’Normal proportional,”;
proportional.
”;
LPRINT H$;CHR$(15);
” Condensed
LPRINT CHR$(18):
‘Cancel
proportional
spacing
LPRINT E$; ’’PO”
LPRINT
LPRINT H$;E$; ’’wl’’D oublebheightght
.“:E$;’’wo”
LPRINT H$;E$;” W1’’; ’’Double width,
“;E$;’’WO”
LPRINT H$;CHR$(28);
” E“; CHR$(2); ’’Triple
width,”;
LPRINT CHR$(28) ;’’E’’;CHR$(O)
LPRINT H$;E$; ’’h” ;CHR$(l) :“DOuble-sized.”
LPRINT H$;E$; ’’h’’ ;CHR$(2) :“Quad–sized.”;
LPRINT E$;’’h’’;CHR$(O)
LPRINT :LPRINT
‘Set right
margin
LPRINT E$; ’’Q’’ ;CHR$(47)
LPRINT RM$: ’’Various
line and character
spacings:”
‘Center
text
LPRINT E$; ’’al”
FOR 1=1 TO 7
‘Line spacing
set
LPRINT E$; ”AU;CHR$(I);
‘Increase
character
space
LPRINT E$:” “;CHR$(I);
LPRINT “THE SPACINGS ARE CHANGED”
NEXT I
FOR 1=7 TO 1 STEP -1
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
103
I
‘Line
spacing
set
1540LPRI NT E$ ; “ A“ ; CHR$( I ) ;
‘Increase
character
space
1550LPRINT E$;” “ ;CHR$(I);
1560LPRINT “THE SPACINGS ARE CHANGED”
1570NEXT I
‘Left
justify
1580LPRINT E$; ’’aOU
‘Set
1/6”
line
spacing
1590LPRINT E$; ’’3” ;CHR$(3O);
‘Normal character
space
1600LPRINT E$;” “;CHR$(0);
1610LPRI NT :LPRINT
1620LPRINT RM$; ”Other features:”
1630LPRINT H$;E$; ’’q’’ ;CHR$(l) ;”OUTLINED” ;E$; ’’q’’ ;CHR$(0) :”, “:
1640LPRI NT E$; ”qU;CHR$(2) ;’’SHADOWEDU;E$; ”q’’;CHR$(0) ;”, “;
1650LPRI NT E$; ”q”;CHR$(3) ;“ OUTLINED WITH SHADOWED”;
1660LPRINT E$; ”q”;CHR$(0) ;”, “
1670LPRINT H$;E$; ’’E”;” Emphasized’’ ;E$;”F” ;“, “:
;E$;”H” ;“,
“;
1680LPRINT E$; ”G”;” Double-strike”
ic;E$;”$;
” 5“;”,
“
1690LPRI NT E$; ”4’’:’’Ital
1700LPRINT H$:E$:’’-l ”: ”Underlining”
:E$: ”-0”:”,
“:
;CHR$(1);CHR$(2)
;CHR$(2);
1710LPRI NT E$; ’’(:’’ ;cHR$(3);cHR$(oj
1720LPRI NT “Strike-through”;
,,
1730LPRINT E$; U(-’’;CHR$ (3);CHR$(0) ;CHR$(l) :CHR$(2):CHR$(0)
1740LPRI NT E$; ”(-’’;cHR$(3)
;cHR$(0) ;cHR$(1);cHR$(3)
:CHR$(l)
1750LPRINT ‘Over lining”;
;CHR$(0);CHR$(
I) ;CHR$(3):CHR$(0)
1760LPRI NT E$; ”(-’’;CHR$(3)
1770LPRI NT H$:E$:”SO’’ : ’’SUPERSCRIPT” :E$:UTU:” and “:
1780LPRINT E$; ’’Siti; ”StiBSCRIPT’’;E$ ;“T”:i,
“
“:
1790LPRINT H$:RM$: ’’Download characters:
‘Superscript
1800SS$=E$+”~6° “
1810GOSUB 2520
‘Select
download
character
1820LPRINT E$; ”%l”;
1830FOR 1=1 TO 5
‘Print
download
character
1840LPRINT CHR$(60);
1850NEXT I
‘Select
normal character
1860LPRINT E$; ”%O”;
‘Cancel
superscript
1870LPRINT E$; ’’TN;
1880GOSUB 2650
‘Select
download
character
1890LPRINT E$; ’’%l”:
1900FOR 1=1 TO 5
‘Print
download
character
1910LPRINT CHR$(60);
1920NEXT I
‘Select
normal character
1930LPRINT E$; ”%OU;
‘Subscript
1940SS$=E$+US1”
1950GOSUB 2520
!,.
!,
1!
1960
1970
1980
1990
2000
2010
2020
2030
2040
2050
2060
2070
2080
2090
2100
2110
2120
2130
2140
2150
2500
2510
2520
LPRINT E$; ”%l”;
FOR 1=1 TO 5
LPRINT CHR$(60);
NEXT I
LPRINT E$; ”%O”;
LPRINT E$;”T”
LPRINT H$;RM$; ”Dot gr~ phics: “
RESTORE 3170
LPRINT E$; ”A”;CHR$(8)
FOR 1=1 TO 3
LPRINT E$; ”fO”;CHR$(8);
LPRINT E$ ;“*”;CHR$ (33) ;CHR$(240)
FOR J=l TO 240*3
READ DAT
LPRINT CHR$(DAT);
NEXT J
LPRINT
NEXT I
LPRINT E$;”@”
END
‘ SUBROUTINES
Define
super/subscript
download
‘Select
download
‘Print
download
‘Select
‘Cancel
‘Set
character
character
normal character
superscript
8/60”
line
spacing
;cHR$(0):
‘Initialize
character
,,
printer
2530LPRINT SS$;
‘Select superlsubscript
;CHR$(O):CHR$(6O)
;CHR$(60);
2540LPRINTE$:’’&’’
2550RESTORE3010
CHR$(LS);
2560READLS :LPRINT
READCW :LPRINT
CHR$(CW):
25’70
CHR$(RS);
2580READRS :LPRINT
2590FOR M=l TO CW*2
2600 READMM
2610 LPRINTCHR$(MM);
2620
2630
2640
2650
2660
2670
2680
2690
2700
2710
2720
2730
2740
2750
2760
3000
3010
3020
3030
3040
3050
3060
3070
3080
3090
3100
3110
3120
3130
3140
3150
3160
3170
3180,
3190
3200
3210
3220
3230
3240
3250
3260
3270
3280
3290
3300
3310
3320
3330
3340
3350
3360
3370
3380
3390
3400
NEXT M
RETURN
‘ Define
LQ pica download
character
LPRINT C$;
LPRINT E$; ’’&’’ ;CHR$(O);CHR$(6O)
:CHR$(60);
RESTORE 3070
READ LS :LPRINT CHR$(LS):
READ CW :LPRINT CHR$(CW);
READ RS :LPRINT CHR$(RS);
FOR M=l TO CW*3
READ MM
LPRINT CHR$(MM):
NEXT M
RETURN
‘ DATA
‘ Super/subscript
download
charac’
DATA
9, 19,
8
DATA 12,
0, 16,
0, 44,
0, 80,
DATA 95,120,
32,128,
65,120,
32,
DATA 32,128,
80,120,
44,
0, 16,
‘ LO uica
DAT~ - 3,
0,
DATA
DATA 19,
DATA 47,
DATA 80,1
DATA 47,
DATA 19,
0,
DATA
Dot
Ist
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
download
31,
2
0,
0,
15.192.
80:
0:
63,192,
80,
0,
15,192,
0,
0
characer
7,
0,
40. 16.
80:175:
33, 64,
80,175,
40,
0,
er data
20,
28,
0,
32,128,
95,120,
12,
95,
32,
20,
28,
32,128
95,120
o,
80,
63,
80,
47,
0,
0,
0,
92,
0,
92,
0,
40,
80,
33,
80,
40,
7,
0
data
0,
0.
92;
0,
92,
0,
graphics
data
Line
0,
o,
0,
0,
0,
0,
0.
0,
0,
0,
0,
0,
o;
0,
0,
0,
0,
0,
o,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
o,
1,255,255,
3,
0,
0,
31,
0,
0, 31,
0,
0,
31,
0,
0, 31,
0,
0, 31,
0, ‘o,
31,
0,
0,
31,
0,
0, 31,128,
31,255,224,
15,255,248i
7,255,
0,
0,255,
o,
0,
0, 63,
0,
3,192,
7,
0,
0, 15,
0,
0,
31,
0,
0, 31,
0,
0,
0,
31,
0,
0, 31,
0,
0, 31,
0,
0,
31,
0,
31,255,255,
31,255,255,
31,255,255,
15,255,255,
o,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0, 60,
0,
0,
0,
0,
0,
0, 23,
8,
32.
80. 47.192.
47: 80:
O; 80:
80,163,192,
47,
32, 80,
0, 80,
23,
0,
0,
8,
0,
0,
0,
0.
0.
0.
o;
o;
o;
0,
0,
0,
0,
0,
0,
7,
0,
0,
31,
0,
0,
0,
31,
0,
31,
0,
0,
31,224,
0,
7,25S,255,
0,
0, 63,
0,248,
0,
15,
0,
0,
31,
0,
0,
31,
0,
0,
31,
0,
0,
31,255,255,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
3,255,
0,
0,
0.
0,
::
o;
o,
o;
0,
0,
0,
0,127,255,
7,
0,
0,
31,
0,
0,
31,
0,
0,
31,
0,
0,
0,
31,248,
1,255,255
0,
0, 63
1,128,
0
31,
0,
0:
31,
0,
0,
31,
0,
0,
31,
0,
0,
,
31,255,255
0,
0,
0
0,
0,
0
0,
0,
0,
0, 11,195,
0,
75,
64,
75,
16,
0,
0
92
0
92
0
0
0
0,
0,
0
0,
o.
o;
0
0,
0
0.
0,
0,25S:255
15,
0,
0
31,
0,
0
31,
0,
0
31,
0,
0
31,255,
0
0, 127,255
0,248
0,
0,
0
3,
0,
0
31,
0,
0
31,
0,
0
31,
0,
0
31,
31, 255,255
0,
0
0,
0,
0
0,
0,
0,
0
0, 28,
0
105
3410
3420
3430
3440
3450
3460
3470
3480
3490
3500
3510
3520
3530
3540
3550
3560
3570
3580
3590
3600
3610
3620
3630
3640
3650
3660
3670
3680
3690
3700
3710
3720
3730
3740
3750
3760
3770
3780
3790
3800
3810
3820
3830
3840
3850
3860
3870
3880
3890
3900
3910
3920
3930
3940
3950
3960
3970
3980
3990
4000
4010
4020
4030
4040
4050
1,128,
0
0,
0, 96,
0,
0,192,
0,
0, 92,
12,
0,
0,
0, 15,
0,
0
0,
0,
3,
0,
0,
7,
0,
0,
7,
0, 15
0, 31,
0,
0,
0, 31,
0, 31,
0,
o, 31,
0,
0, 31
0, 31, 31,
0, 31, 31,
0, 31, 31,
:;:
0, 31, 31,
0, 31
0, 31, 31,
0, 31, 31,
0, 31, 31,
31,
0, 31, 31,
0, 31
0, 31, 31,
0, 31, 31,
0, 31, 31,
0, 31, 31,
31,
0, 63
0, 31, 31,
0, 31, 31,
0, 31, 31,
0, 31, 31,
31,
31,255,199
31.255.255.
31.255.255.
31.255,247.
31,: 55,231,
0,
o;
3;
o,
0,
1,
0,
0,
0
7:255:
7:
DATA 15:255:135:
0,
0,
0,
0,
0,
0,
0,
0,
0
o,
0,
0,
DATA
O,
0,
0,
0,
0,
0,
0,
0,
0,
0,254,
0
0,
0,
0,
DATA
O,
0,
0,
7,
0, 63, 15,
0,
0, 15,
0,
0
3,135,255,
1,25.5,240,
DATA
0,
0, 31,
0,
0, 31,
0,
0
0,
0, 31,
DATA 31,
0,
0, 31,
0,
0, 31,128,
0, 31,128,
0
0,
0, 31,
DATA 31,
0,
0, 31,
31,255,255,
31,255,255
O, 31,255,255,
DATA 31,192,
0, 31,2S5,
1,254,
0
7,255,255,
0,255,240,
15,255,255,
DATA 31,25S,255,
7,
0,
0, 15,
0,
0, 31,
0,
0
3,128,
0,
1,240,
0,
DATA
0,
0, 31,
0,
0
0, 31,
0,
0,
0, 31,
DATA 31,
0,
0, 31,
0,
0, 31,128,
0, 31,128,
0
0,
0, 31,
DATA 31,
0,
0, 31,
0, 31,255,240,
31,255,255
0, 31,255,
DATA 31,192,
0, 31,240,
1,255,240
0,255,255,
0,255,255,
7,2.55,255,
DATA 31,25S,255,
0,
0, 31,
0,
0, 31,
0,
0
7,128,
0, 15,
DATA
3,192,
0,
0,
0, 31,
0,
0, 31,
0,
0
0,
0, 31,
DATA 31,
0,
0, 31,
0,
0, 31,
0, 15, 31,135,255
0,
0, 31,
DATA 31,
0,
0, 31,
31,255,255,
31,255,255,
31,255,240
31,255,255,
DATA 31,25S,255,
0,
0,
0,
0,
0,
0,
o!
0,
0
0,
DATA 15,252,
0, 47,128,
‘ 2nd Line
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0> 0
DATA
O,
0,
0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
DATA
O,
0,
0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0. 0
DATA
O,
0,
0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
DATA
O,
0,
0,
,255
0, 0, 0, 0, 0, 0,255,255,255,255,255
DATA
O,
0,
0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
DATA 255,255,255,
0,
0,
0,
0,
0,
0,
0,
0,
0
0, 0,
DATA
O,
0,
0,
::
o, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
DATA
O,
0,
0,
7,255,25S,
0, 31,255
0,255,255,
31,255,255,
DATA 255,255,255,
0,
0, 31,
0,
0,
7,
0,
0!
o
0,
0,255,
3,255,
DATA
O,
0,
0,
0,224,
0,
0,252,
0,
0
0,
0,
0.
DATA
O.
0.
0.
0:192,
O,
0,
0, 0, 0, 0, 0, 0
0,248,
0,
DATA 254;
0:
0,
0,
7,
0,
0, 63
DATA
O,
0,
0,
0,
0,
0,
0,
0,
0,
0,127,255,
15.255.255
0, 15,255,
1.255.255.
1,255,
DATA
O,
o; o; o; o; o; o
DATA 255,255,255,
0,
0,
0,
0,
0,
0,
0, 0, 0, 0, 0, 0
DATA
O,
0,
0,
0,
0,
0,
0,
0,
0,
0, 0, 0, 0, 0, 0
DATA
O,
0,
0,
0,
0,
0,
0,
0,
0,
55,255,255,255,255,255
DATA 255,255,
255,255,2S5,255
,255,255,255,:
o,
0,
0,
0,
0,
0
DATA 255,255,255,255,255,255
,
0,
0,
0,
0,
0,
0,
0,
0,
0
DATA
O,
0,
0,
0,
0,
0,
0,
O)
O,
0
0,
0,
0,
0,
0,
DATA
O,
0,
0,
0,
0,
0,
0,
0,
0,
0
3, 97,128,
7.224.
0. 63.252.128,120,
31, 92,224,
DATA
O.
0
o; 30;
o;
o; 14;
o;
o; 12,
0,
0, 12,
0,
DATA 59;
0:
0
DATA
O,
0,
0,
0,
0,
0,
0s
0,
0,
0,
0,
0,
0,
0,
0
0, 63,
DATA
O,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
28
DATA 128,127,128,128,
127,128,128,127,
128,128,127,128,
128,255,
0
0,224,
0,
0,224,
0,
DATA 223,255,128,255,255,
128,255,255,
0
0,224,
0,
0,224,
0,
0,224,
0,
0,224,
0,
DATA 224,
0,
0
0,224,
0,
0,224,
0,
0,224,
0,
0,224,
0,
DATA 224,
0,
54
3,240,
1,224,
0,
0, 15,255,255,255,
255,255,:
DATA 224.
0.
28
DATA 255:255:254,255,255,252
,255,255,248,255,255,224
,255,255,
0
DATA
O,
0,
0,
0,
0,
0,
0,
0,
0,
0.
0,
0,
0,
0,
0
DATA
O,
0,
0,
0,
0,
0,
0,
Or O,
0,
0,
0,
0,
0,
0
0,240,
0,
0,25S,
O,
0, 15,248,
DATA
O,
0,
0,
0,
0,
0
3,248,
0,
0, 31,
0,
0,
3,
0,
0,
DATA
O, 63,
0,
0,
0
DATA
O,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0.
0
0,255,
0,
0,255,224,
DATA
O,
0,
0,
0,
0,
0,
0,
0,
0
0,240,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
DATA 255,128,
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
o,
3,
4060
4070
4080
40.90
4100
4110
4120
4130
4140
4150
4160
4170
4180
4190
4200
4210
4220
4230
4240
4250
4260
4270
4280
4290
4300
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
‘ 3rd
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
4310DATA
4320DATA
4330DATA
4340DATA
4350DATA
4360DATA
4370DATA
4380DATA
4390DATA
4400 DATA
4410 DATA
4420 DATA
4430 DATA
4440 DAT’A
4450 DATA
4460 DATA
4470 DATA
4480 DATA
4490 DATA
4500 DATA
4510 DATA
4520 DATA
4530 DATA
4540 DATA
4550 DATA
4560 DATA
4.570 DATA
4580 DATA
4590 DATA
4600 DATA
4610 DATA
4620 DATA
4630 DATA
4640 DATA
0,127
O,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
7,
0,
3,255,255
7,255,
0, 63,255,
1,255,255,
31,255,25S,
O,
7,2s2,
o,
0,127,
0,
0,
7,
0,
0,
0
0,127,254,
0,
0,128,
0,
0
O,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,255,192,
0,128,
0,
0,
0,
0,
0
248,
0,
0,255,
0,
O,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
0, 63
O,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0,
7,255,255,255,255,255,
255,255,255,255,255,254
O, 31,255,
0,255,
0,
0,
0,
0,
0,
0,
0,
0
255,255,192,255,248,
O,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
Line
0, 24,
0,
0, 56
O,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,248
0,248,
0,
1,248,
0,
0, 56,
0,
0,120,
0,
O,
0, 15,248
7,248,
0,
7,248,
0, 15,248,
O,
3,248,
0,
0,127,248,
0,255,248
0, 63,248,
0,127,248,
O, 31,248,
3,255,248,199,255,248
,247,255,248
0,255,248,
1,255,248,
255,255,248,
31,255,240,
15,255,240,
15,255,224,
15,255,224
15,255,192,
15,255,192,
15,255,192,
15,255,128,
15,255,128
0, 15,254,
0
0, 15,254,
0, 15,255,
0, 15,255,
15,255,
252,252,
24,252,252,
56,249,252,248,249,252
,248,243,25S,248
227,255,248,231,255,248
,199,255,248,231,255,248
,255,255,248
15,255,248,
15,255,248,
15,255,248,
15,255,248
31,255,248,
15,255,248,
15,255,248,
15,255,248,
15,255,248,
15,207,248
31, 1S,248,
30, 31,248,252,
63,248,248,127,248,240
,127,240
224.255,240.225,255,240
,195,255,224,199,255,
192,247,255,128
63.255,
0. 31,254,
0. 15,254:
0: 15.252,
0
255,255,128,
0, 15.240.
0. 15.224.
0. 15.192.
0
15,248,
0, 15.240.
o; 31;
o;
0; 62:
0;
O
o; 15;
o;
15,192,
0, 15:128:
0,
0,248,
0,
0,240,
0,224,240,
0,240
252,
0,
o,: 52,
92,
3,248,
0,
1,240,
1,248,
0,
3,248,
0,
3,248
224,
0,
7,248,
0, 63,248,
0,127,248,
0,127,248
0,
7,248,
1,255,248,
1,255,248,
1,255,248
0,255,248,
0,255,248,
3,255,248,131,255,248
, 99,255,248
3,255,248,
3,255,248,
19,255,248,
55,255,248,
63,255,248,
31,255,248
103,255,248,
31,255,248,
15,255,248,
15,255,248,
15,255,248
31,255,248,
15,255,248,
15,255,248,
15,255,248,
15,255,240
15,255,248,
15,255,224,
15,255,192,
15,255,192,
15,254,
0
15,255,240,
0, 15,254,
0
0, 15,254,
0, 15,254,
15.254.
0. 15,254,
15:252:
0, 15,240,
0; 15,252,
0, 15,248,
0, 31,240,
0
0, 55,128,
0, 48,
0,
8, 96,
0, 24
31,224,
0, 31,192,
192,
0, 24,128,
0, 56,
0,
0, 56,
0,
0,120,
0,
0,120
1,248,
0,
3,248
O,
0,248,
0,
0,248,
0,
1,248,
0,
7,248,
0,
7,248,
0, 15,248,
0, 15,248
O,
3,248,
0,
0, 63,224,
0,127,224
O, 31,248,
0, 31,240,
0, 63,240,
1,255,128,
1,255,
24
0,127,192,
0,255,192,
0,255,128,
3,255,248,231,255,248
,255,255,248,
31,255,248
3,255,
56,
15,255,248,
15,255,248,
15,255,248,
15,255,248,
15,255,248
15,255,240
15,255,248,
15,255,248,
15,255,248,
15,255,248,
15.255.192
15.255.240.
15.255.240.
15.255.224.
15.255.224.
15:255; 192: 31 :255: 128:254:
127;128 :252:127;
24:248:255,
56
248,255,248,240,255,248
,225,255,248,193,255,248
,131,255,248
7,255,248,135,255,248
,231,255,248,255,255,248
3,255,248,
63,255,248,
31,255,248,
15,255,248,
15,255,248,
15,255,240
15,255,240,
15,255,224,
15,255,192,
15,255,128,
15,255,
0
0, 15,240,
0, 15,224,
0
15,254,
0, 15,252,
0, 15,248,
0, 62,
0,
0,252,
0,
0,248,
0,
0
15,192,
0, 15,
0,
0,224,
0,
0,192,
0,
0,128,
0,
0,
0,
0,
0
240,
0,
O,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
O,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
107
How the program works
Thisprogrambegins
by assigning
anumberofprinter
commands toBASIC
string
variables
(lines
1000to1100).
You canfindmostofthese
commands
nearthebeginning
ofchapter
4.
TheWIDTH“LPT1:”255 statementin line 1120meansinfiniteline width.
It preventsthe IBM-PCfrom insertingunwantedcarriagereturnsand line
feedsin graphicsdata.
Actualprintingbeginsin line 1130.Usingthe preassignedcommands,the
programprints samplesof its differentfonts, followedby samplesof the
print pitches,then somedoubleand quadruple-sizedprinting.
attraction
of theprogram:a lineof textprinted
Next comes thecentral
fourteen
timesinexpanding
andcontracting
loopstogiveabarrel
effect.
The
workisdoneby fourprinter
commands:acommand setting
theright
margin
(line
1450);
a centering
command (line
1470);
a command tovarytheline
spacing
(lines
1490and 1540);
and a command tomicro-adjust
thespace
betweencharactem
(lines
1500and 1550).
Nextthe programreturns
tonormalspacing
andgivesademonstration
ofthe
printer’s
word-processing
abilities:
italic
printing,
boldprinting,
underlining,subscripts,
etc.
The row of telephonesymbolsin the next printedline is createdby downloading two new character patterns, which are printed in place of the
character“<” (character60). Detailscan be foundin Chapter5.
Thefinalpartoftheprogramusesdotgraphicstoprintan“M&W”logo.The
dotpatternofthelogowasoriginallylaidouton graphpaper,thenconverted
to the datain lines 3180to 4640 withthe help of a calculator.Eachnumber
representseightverticaldots. (See “Graphicscommands”in Chapter4 for
details.)
The patternis printedin three rows,each row is twenty-fourdotshigh and
240 dots wide.Line 2040setsthe line spacingto 8/60inch so thatthe rows
will connectvertically.The loop in lines 2050to 2130 doesthe printingin
three passesof the print head.
108
Resident
fonts
are:
Roman characters,
Courier
characters,
c:t-l(3r:5c2ti;r 5,
Sanserif
Prestige
characters,
characters,
Print
pitches
Pica pitch
S
are:
(10 CPI),
S
ep
(
C
~
Elite
c
pitch
(12 CPI),
m Condensed
picaipitch (17CPI),-
Condensed
elitepitch(20CPI),
Normal proportional,
i
Condensed
prqxxtional.
D
Do
1
w
i
w
e
D
iz
,
Q
Various
Other
O
i z e .u
1 ine
and
features
,S
character
spacings
:
:
f
W
$
Emphasized,
Doubl e-strike,
Ital i CS,
Under 1 ining,
~+~
9 We r 11 n 1ng ,
s UPERs c R1PT and s u Bs c R I PT ,
Download characters
: * * ~TsS%SIPSt t t rs
Dot graphics
:
MEMO
110
chapter
TROUBLESHOOTING
AND MAINTENANCE
7
The followingsectionon troubleshootingandmaintenanceis intendedonly
as a brief guide. Remember that your printer is a highly sophisticated
electronicdevice,whichalso containshighvoltageinside.For that reason,
only carry out thoseoperationsthat are describedin this chapter.
CAUTION: Anyattempttocarryoutoperationsotherthanthosedescribed
heremay resultin electricshockand/ordamageto theprinter.
Whencarryingoutartyrepairsor maintenance,alwaysfollow
the instructionscarefully.
TROUBLESHOOTING
Yourprinter is a reliablepiece of precisionmachinery,which shouldnot
causeyouanytrouble,providedthatitisusedandtreatedsensibly.However,
if you do experiencea minor problem,the few tips below shouldhelp you
avoidhavingto makeanunnecessaryservicecall.Thefollowingtablegives
you ideas on whereto look in this sectionif you experienceproblems:
R
P
o f
s
P
P
f
D
P
T
T
D
W
T
S
C
T
P
w
T
P
e
n
b
s
s a
e
t
p
d
n p
s
p
f
u
a m
c
g
u
a
s
f
o
p
n w
e
w
r
ap
s
n f
p
(
A
p
d
n f
p
w t t
f
A
n o
n f
p
p
p
(
b
c
p
a c s
p
b
p
a
o l
w e
b
l
l
a
m
s
a n
c
o
p
p
w
p
n
e
Remember- it is betternotto attemptoperationsor repairsaboveyourlevel
of competence.Otherwise,you run the risk of damagingthe printer.
111
Powersupply
If the POWERindicatordoes not illuminate,checkthe following:
—
P
C
t
p
p
o
t
c
t
i
p
o
b
p
e
T
o t
p
s
s
t
r
T
a
p
C
o
p
p
c
m
a
c
t
t
t
a
d
o
t
c
t
t p
p
t
i T
e
o a
p
h v
c
b
o
a
b
s
o
t
b
p
y
c
t
t
t
t
t
t
n m
y
s
C
N
t
o
If yourprinterdoesnot print,or suddenlystopsprinting,checkthe following:
C
t
i
s
n
c
t
c
i
P
C
m
r
b
s
e
t
t
c
t
-p
f
a
c
p
ONLINE]buttontosettheprinter
i
i
c
o
m
t
i t
i
p
h
r
o
L
m
p
f
t
p
t
p
b
i
m
c
i
n
t
r
a
t
t
p
p
C
t
1
c
h
p
s
y
a u
f y
p
s
i
t
o
p
T r
l
h m
w
t p
p
i p
M
t r
l
t o
p
T
o t p
r
t j
r
t
a
M
s t
t l
e
t p
s
a u
T
t p
r
t r
r
i a
r
i ~
p
o
m f
w a
w
r
y m n
r
t r
C
t i
s
y
s
a r
i
n
T
o
w
t
p
t
c
o
b
y
a
p
d
t
a
as
h
d
t
n
u
If the print is faint,or uneven,checkthe following:
C
t
r
p
i
P
C
r
a
r
n
s
t
r
w
T
p
o
r
h al
F an r
l
b
c
w
e
n
r
n
If dots are missingin the printing,checkthe following:
C
A
d
t
m
r
p
al
d
t
s
p
m
c
t
P
T
u
s
T
y
r
r
S
a
p
s
h
b
p
r
h
s
r
c
r
t
g
c
c
r
i
f
d
an
p
S
h
p
a
c
If your applicationsoftwarecannotprint the fonts or charactersselected,
checkthe following:
C
y
p
A
p
A
t
p
a
s
i
f
n
b
s
c
o
e
t
b
P
r
C
t s
i
a
t s
w
n
C
t s
i
a i
t c
m
n
f f
c
i
t s
E
y a
t w
I
C
S (
w E s
s
c
y
h
t w
c
s s
(
e
c
o
t
I
b
g
c
a b
p
C
t
w E
s
t a
s
s
If the printoutis not what is expected:
C
t
p
t
p
i
c
r
a
~g?
n
t
y
p
a e
P
Y
e
t
U
c
m
t
r
s
m t
t
d
ad
t o a
s C
t E
s
m
s
y h
t r
e
t H D
m
a
t o
k
t p
T
w e
y
d
t
t r
e
s
e a b
113
*
Paper feeding
If cut sheet paper (withoutthe ASF) is not feeding smoothly,check the
following:
C
P
t
p
b
p
s
r
l
(
t
E
A
u
w
i
S
r
l
t
~ p
~ p
t p
g
a v
A t l a r
t c
t
t
r
I
p
g
A s
w t
s
y t
f
p
t f
p
b
t
L
T
s
p
g
s
s
t l a r
g
p
w n f
s
a
a
t p
i t
d
i
p
v
f
c
f
Y
o
c
a
t
M
o
f
p
S t p
f
f
t
w
a
o
c
t
t
al
w
t
f
t
f
t
p
p
I
l
t
p
t
t
T
a l
w
T
t s
w
t
A f
p
p
j
s
b
a
t
C
d
t
u
t
p
t
t p
al
a
p
r
t
w
c
f
ac
b
Iffanfold(continuous)paperisnotbeingfedcorrectlyusingthetractorfeed,
checkthe following:
C
t
p
p
t
r
~‘ p
l
t p
g
t v
t
p
A t h
e
s
t
w r
e
o
t t
u
A
t c
t f a
A t t
u
l
p
a
t c
c
114
P
M
W
h
t
t
M
l
C
r
s
t
u
r
l
t
t
t
t
t
t
t
t
t
s
t
f
t
h
a o
m
p
t
t
w
n
~ p
u
p
p
rm
as
g
s
a
u
r
h
t
p
p
t
f
C
t
p
p
i
t
A
u
w
i
y
f
f
t
t
f
f
T
t
o
a
f
Y
o
p
p
b
p
s
n
t f f
t p
(
1m
3f
a t
s
c
o
o
i p
T p
s
f
s
i
t p
a
m c
j
a b
c o
f
p
t w w
t p
S t p
o
a t
f
p
theONLINEindicatoris
t
p
t
t
T
a l
w T
t
t
t
u
p
t
t
c
f
p
If the ASF is not operatingor is not feeding paper correctly,check the
following:
-... ...
H
l
t
] P
A
w t E
r
l
t
~ p
t
A
m
p
c
p
h
A t l a
t c
t
t
p
s
W
b
t
n
r
m
t
S
t
T
p
M
t
f
t
i
p
t
b
A
b
u
a
c
y
t
t
t
t
p
f
f
p
r
t
.
o
r
l
s
S
t
s
t
s
A
p
b
t
p
r
t j
t A f t
l a r
g
p
w n f
s
a
a
t p
T A
p
f
h
s
e
M
s t
t
e
t h
t
n d
p
j
s
p
f
t A
i
O
n
u
p
A
Y c o
f
p
o
S t p
o
s
s
p
r
t
g
p
h
p
f
s
c
f
H
r
A
u
w
i
t
t
b
s
s
t
s
c
a
a
t
c
t
M
f
(
m
h
t
al
t
f
f
a
s
c
t
s
m
m
f
h
p
o
a
t
r
u
w
a
t
R
b
s
t
p
w
t
w
t
t
p
p
f
L
t
I
t
t
T
t
a l
w
T
t
u
t
p
d
p
t
c
f
Ifthepaperparkfunctiondoesnotappearto be workingcorrectly,checkthe
following:
C
t
p
r
P
r
T p
r
a
t f
M
s
t
a
t f
l
t ~ p
H t f
p
p
p
b
l
m
h b
i
h b
p
t
p
s
p
t
& p
c
f
p
If text is being printedall on one line, or with extra blanklines, checkthe
following:
I
]C
I
t
t
a
t
I
s
l
t
e
b
b
p
w
l
P
r
C
r
a
n
<
+ <
p
C
c
T
l
f
a b
p
p
j
ac
r
s t A
O w
b
t
e
E
s
M
( t
t E
y
n
s
a
s
p
Ifthepagelengthandmarginsarenotwhatisexpected,checkthefollowing:
C
t
h
D
I
p
116
p
t
t
s
l
t
t
p
p
p
p
l
P
U
r
U
r
M
t
F
p
t
t
u
E
s
s
f
a
s
c
t c
e i
t
p
p
p
l
MAINTENANCE
Essentially,your printer is a robust piece of equipment, but should be
treatedwitha modicumofcarein orderto avoidmalfunctions.Forexample:
●
✎
✎
✎
✎
Keep yourprinterin a “comfortable”environment.Roughlyspeaking,if
youarecomfortable,thenthe environmentis suitablefor yourprinter,too
(see Chapter1).
Do not subjectthe printerto physicalshocksor excessivevibration.
Avoidextremelydusty environments.Dust is the enemyof all precision
mechanicaldevices.
To clean the exteriorof the printer, use a cloth barely dampenedwith
eitherwaterwith a littledetergentor a littlealcohol,but do not allowany
liquidto fall insidethe printer.
Theinteriorof theprintermaybe cleanedwith a smallvacuumcleaneror
a compressed-airaerosol(sold for this purpose).When performingthis
operation, be sure not to bend or damage any cable connectionsor
electroniccomponents.
REPLACING THE PRINT HEAD
Thisisnot ajob whichyouwillneedtodoveryoften.Theprintheadhasbeen
designedto last for about200 million dots. In normal everydayuse, this
translatesto yearsoflife.However,if theprintqualityis faint,evenafteryou
hav~changedtheribbonor youhaveadjustedthegapbetweentheprinthead
and the platen (see Chapter1),the print head may need replacement.
Only use a replacementprint head as recommendedby your supplier.
1. Turn OFF the printer,and unplugthe powercord.
2. Removethe top cover and ribboncartridge.
3. Iftheprinterhasbeeninoperationimmediatelybeforethisoperation,the
print head will be hot. Allow time for the print head to cool before
attempingto work on it.
4. Move the print head carriage toward the right until you can see the
connectorcover. Removethe connectorcover and pull the cables free
from the connectors.
5. Unscrewthe two screwsthat hold the print head in place and set them
aside.
117
I
Iecfo]cove,
6. Disengagethecable fromthetabsholdingitdown,thenremovetheprint
head.
7. Pass the cable of the new printhead throughthe tabs.
8. Placethe new printhead on its support,seatingit on the two pins.
9. Fastenthe print head down with the two screws.
10.Replacetheconnectorcoverslidingit to theleft untilit locksintoplace.
11.Replacetheribboncartridgeandtopcover,andplugthepowercordback
in.
chapter
8
SPECIFICATIONS
Printingsystem ..............................Serial ImpactDot-matrix
Printingspeed ................................Pica
222cps
High-SpeedDraft
167cps
Draft
55.5cps
Letter Quality
Elite
–
2oocps
66.7cps
Print direction ............................. .Bidirectional,logic-seeking
Unidirectional,logic-seeking
(Text and Graphics)
(selectable)
Pnnthead . . . . . . . .. . . . . . . . . . . . ,24pins
Life:200milliondots
Line spacing.-..-.ti-titi---
. . . . . l/6, 1/8, n/60, n/72, n/180, n/216,
n/360inches
Characttis . . . . . . . . . . . . . ............ASCII
International
IBM special
IBMblock graphic
IBMcode page
Download
96
16sets (*)
111
50
6sets (**)
255
* USA,France, Germany,England,DenmarkI, Sweden,Italy,SpainI,
Japan, Norway, Denmark IL Spain II, Latin America, Korea, Irish,
Legal
** #437 (USA), #850 (Multi-Lingual),#860 (Portuguese),#861 (Icelandic),#863 (CanadianFrench),#865 (Nordic)
119
Numberof columns....................... CPI
Pica
10
12
Elite
15
Semi-condensed
17.1
Condensedpica
20
Condensedelite
Proportional
80
96
120
137
160
Variable
Characterdot matrix ......................Draft
Pica
24X 9
Elite
24X 9
16X 7
Semi-condensed
Condensedpica
24X 9
24X 9
Condensedelite
16X 7
Super/subscript
—
Proportional
Super/subscriptproportional –
LQ
24X 35
24X 29
16X 23
24X 18
24X 15
16X 23
24 x n
16 x n
Bit imagedot-matrix......................DPI
8-bitnormal
60
120
8-bitdouble
120
8-bithigh-speeddouble*
240
8-bitquadruple*
8-bitCRTII
80
8-bitCRT II
90
24-bitnormal
60
120
24-bitdouble
24-bitCRTIII
90
180
24-bitTriple
24-bithex*
360
8 X 480
8 X 960
8 X 960
8 X 1920
8 X 640
8 X 720
24 X 480
24 X 960
24X 720
24X 1440
24X 2880
* It is impossibleto printadjacentdotsin the modemarkedwith an asterisk
(*).
Paper feed ......................................Frictionand rear (push tractor)or
bottom(pull tractor)
Paper feed speed ............................3.4 inches/secondmax
120
4“.11.7”
Paper Width.......................................cut
sheet
4“-10”
Fanfold (continuous)
+ 4 copies(Max.)
Copies ...............................................On@M
Maximumbuffer size
Without Download..........7KB(30KBfor Colorprinter)
With Download...............1line
Emulations........................................Epson LQ-860
IBM PmprinterX24E
Interface............................................Cen~tiuparallel (standad)
RS-232Cserial (option)
Ribbon type......................................On-carriage,
dedicated
Monochrome(Black only)
Color (Black,magenta,cyan, violet,
yellow,orange,gnxm)
Ribbon life
Monochrome(Z24)...........2millioncharacters(draft pica)
Monochrome(I-224).........4 millioncharacters(draft pica)
Color (X24CL)...................1millionchamcters(draft pica)
X 356(d)X 156(h)mm
Dimensions.......................................463(w)
18.2(w)X 14.O(d)X 6.l(h) in
Weight .............................................6.6kg (14.61b)
Power supply....................................120VAC,220VAC,240VAC,50/60Hz
(variesaccordingto the countryof purchase)
sheet fder (SF-1ODQ)
Options .............................................Automatic
Serial-Parallelconverter (SPC-8K)
Roll paper holder (RH-1OZ)
Font cartridge (FC-lZ, FC-2Z, FC-3Z,
FC-4Z)
RAM cartridge(RC-32Z)
121
Thefollowingdescribesthepinoutoftheparallel(Centronics-type)interface connector(signalswhich are low when activeare overlined):
1
P
1
F
S
G
D
H
w
a
D
H
w
a
4
D
H
w
a
5
D
H
w
a
6
D
H
w
a
7
D
H
w
a
8
D
H
w
a
D
H
w
a
A
B
5 l p
a
L w p
r
P
H
w
p
S
H
w
p
(
>
w
r
oc d
t r
o
C
a
k
d
r
d
w
E
s
o
N
G
S
g
C
C
+5V
+5V
o
G
T
p
R
—
W
E
O
G
E
g
t
A
(
f
g
h
s
l
p
g
r
s
w
f
p
g
i
l
N
S
1
l
9
E
3
h
2
S
1
f
3
1
1
1
N
p
c
r
c
d
e
eu
U e
9
chapter
CHARACTER SETS
The followingtables showthe standardand IBM charactersets.
The decimalcharactercode of each characteris shown in an inset to the
lower rightof the character.
Thehexadecimalcodecanbe foundby readingthe entriesatthe top andleft
edgesof the table. For example,the character“A” is in column4 and row
1, so its hexadecimalcharactercodeis 41. This is equivalent(4x 16+ 1 =
65) to decimal65, the numberin the inset.
Control codes recognizedby this printer are indicatedby abbreviations
insidepointedbrackets<>.
<Sample>
r
L
123
STANDARD CHARACTER SET #1
o
2
1
3
(MU.) (DLE)
b
E
b
(oCl)
!
1
k
E
F
(E2)
“
2
l-m
b
F
(OC3) #
3
l--m
b
b
o
(
4
$
b
b
o
F
l-m
k
5
(
(
)
9
F ‘ I-I l
*
. (
9
P
B
I-I
(c
(
1=
E
+
3
L7
1
<
J ‘rm ,
(FF)
c
4
E8
1
=
(
D
I 9
S
/ I
9
t
2
F
124
IKILU
l
I
EO
I
b~
/
?
h
1
1
!
m
3
b9
n
a
o
b
4
-
I3
F4
b8
2
N
>
.
1
F7
1
l-m
{
b
1
b
M
I ,
z
k
\
O
y
b
[
L
ml
l
j
S
l-m.
b
b
K
l-m
w
x
i
z
b
k
h
b
J
;
g
l-m
v
k
~
E
b
1=
1=
I
h
u
f
x
b
l-m
b
k
H
IZ
IZ
w
F
8
e
v
b
t
1=
E
G
7
b
b
u
F
6
s
d
l=
l=
l-w
b
b
E
k
r
c
T
b
E
.
.
k
k
~
b
s
D
b
k
E
I-I
b
4
a
R
c
3
b
10
k
P
h
Q
B
7
‘
h
A
2
~
P
k
1
IX
5
‘
F
%
IYl
I-17
(SYN) &
6
I-b
IY2
b
!
(6ED
7
E
l-m
b
CAN)
(ss)
(
8
I--Z
k
l--i
5
4
1
E5
“
r0
Ib
I
l
“
1
8
o
(
A
B
o
c
@
1
h
l
I
(
I
1
2
9
P
A
Q
a
(
“
2
B
R
b
l
u q
k
l-iii
ITii-
#
k
$
l-iii
L
5
%
IiT4
c
4
I-E
5
I-ii
3
F
(
l-ii
P
I
1
l-ii
F
‘
k
/
(
4
E
(
b
3
D
l-m
s
l-x
D
b
lx
I-R
E
k
c
T
~
r
~
s
k
d
l-m
~
t
E
F(
U
e
U
v
f
v
k
(SYN) L@
l-ii
l-iii
l-m
6
7
8
9
A
B
c
I
(
k
(
k
(
I
l-iii
(
I-F
(
b
(
I
(
I
1-iii
h
b
y
J
I’iiI
h
l-m
b.
w
k.
x
I
i
~
Y
b
:
,
l-ii
g
x
I
.
.
+
Ii19
l
h-
Imi
w
H
9
*
(
l-iii
l
~
I-E
G
a
)
b
IiiI
hi
k
F
7
(
(
(
6
z
E
K
I
<
k
[
I
L
j
z
hi
k
b
\
@
{
b
l
1
F
~
1
m
1
l-iii hi
IiT3 I’iF Iii
Iii
l-iii k
(s0)
.
>
N
A
n
E
Iii
l-ii
I-R
Iii
IRE
M
D
F
(
/
IiT3
l-ii
?
Ii%-
0
I-iI
hi
~
b
l’R-
0
I-x7 “l-ii
-
STANDARD CHARACTER SET #2
Othercharactersare identicalto standardcharacterset #l.
126
I
INTERNATIONAL CHARACTER SETS
Whenaninternationalcharactersetis selectedby acommandfromsoftware,
the followingchangesaremadein thecharactersetwiththe Standardmode:
Country
U.S.A.
u
# $ @ x z [ \ ] A ‘ { i } ‘
F
G
E
D
S
# $ A x
# $ ! x
k $ 6 x
# $ @ x
# K a x
# $ @ x
1
ITALY
SPAIN 1
JAPAN
N
2
DENMARK
S
2
z
z
z
z
0
A
[
R
z
A 6
c
6
\
0
S
u
]
A
A
A
“
A
A u
‘
‘
‘
‘
4
a
{
z
15 a
0
0
:
g
e
i
}
&
‘
B
“
‘
o
A u
z 0 \ 6 “ u a d 6 i
~
#
$ @ x z i N L “ ‘ ““ n } “
$ @ x z [ % ] “ ‘ { : ] ‘
# H S x z II 0 A u 6 a? @l i% u
# $ A x z 4 0 / u t & Q A u
# $ A x z i N L 6 ‘ i f 6 a
LATIN
AMERICA#
$
& X z
i
N ~ 6 u
i
fi 6 fi
# $ @ x z [ w ] A ‘ { i } # $ @ 0 , [ \ 1 A ‘ A k 6 ‘
# $ s x z 0 ‘ “ l ‘ Q @ t “
K
I
L
The commandfor selectingthe internationalcharactersets is:
<ESC>“R” n
W
nm
charactercode n; i.e. CHR$(n)in BASIC.‘I’he
h
e valuesof n
are:
O
1
2
3
4
U.S.A.
France
Germany
England
DenmarkI
‘5
6
7
8
9
Sweden
Italy
Spain I
Japan
Norway
10
11
12
13
14
64
DenmarkII
Spain II
Latin America
Koria
Irish
Legal
IBM CHARACTER SET #2
CodePage #437 (U.S.A.)
I
I
I
B
0
1
.-l
o
(Nlk)
1
I
(D1.E)
o
lb
ax)
17
1
(DC2)
I
2
I
I
I
i
1
I
129
130
I
CodePage #861 (/celandic)
Othercharctersare identicalto CodePage#437.
I
I
8
I
I 9 I A I
I
I I
I
I
I
I
B
I
I D
L
1
I
E
I
F I
%2
-!-h
it
-
229
P“
230
&
245
246
J
_
D
E
F
132
P
0
.. l
‘
~
A
f
l
=
;
I
l
A
(
F
m})
l
l-m
7
I
~
I
lr
1
I
l
E
–
I
k
-
-
133
CodePage #865 (Nordic)
Other charctersare identicalto CodePage #437.
134
IBM CHARACTER SET #1
o
o
(
h
(In)
h
rii
(Gtz)
I-T
I--F
(OC3)
IT
I-3
2
3
(
4
h
5
l
r-s
IT
(SYN)
In
E
6
7
(
I
1
(W
P
rr3
(Bs)
(CM)
8
In
I’m
9
A
B
c
D
E
F
(
(
I
( ‘
r
b
F
(
(
l
(
l
(
m
P
(
b
8
1
l
o
(NIL)
F
4
5
l-ix
l-m
(S’fN)
Iii
I’iii
6
A
B
c
m
(OC2)
I-E
hi
(0t3)
l-ii
~
(Oc4)
l-ii
l-iii
3
9
l
‘
2
8
(
l
1
7
9
(W
h
(
ITi
(
I
(
~
(
L
I
(
F
m
(
(
I
(
~
(
I
l
l
~
E
F
F (
F
F
D
(
(
(
l
1
h
h
(
F
Other charactersare identicalto characterset ##2.
The duplicationof controlcodesenablessystemswith a 7-bit intel-faceto
obtain control functionswhen the most significantbit is set to 1 by the
<ESC>“>” commandin the standardmode.
135
IBM SPECIAL CHARACTER SET
Additionalcharacterscan be printedby specialcommands.
o
0
1
2
3
4
5
6
7
8
9
A
B
c
D
E
F
136
‘~
1
‘~
@
<
I--F
I-Y
t
e
I
v
!
E
+
b
1
b
4
l
5
l
4
l
.
l
1
“
n
l
‘
E
b
C
L
$
l
‘
J
l
~
t
, b
1
~
“
b
“
l
L
l
“
A
l--ii
‘
l
~
‘
PROPORTIONAL SPACING TABLE
This tablelists the widthsof yourprinter’sproportionalLQ characters,for
Standardmode and IBM mode.
The values given are in 360thsof an inch. For example,a value of 36 is
36/360thsof aninch.Youmayneedto enterthesewidthsintoa specialtable
for yourprocessingprogramso it can calculatethe numberof proportional
charactersthat will fit on a line.
The followingwidthtable showseach character,its ASCIIcode (decimal)
for each characterset, and its width for Standardnormalmode, Standard
super/subscriptmode, and IBM mode.
Character
s
#
#
#
3
3
3
2
2
2
3
3
3
30
20
30
3
3
3
3
3
2
2
2
2
2
3
2
3
3
3
3
3
2
2
2
2
2
3
3
3
3
3
3
3
3
3
3
3
➤
30
30
20
20
4
3
2
0
o
0
0
0
0
0
1
2
3
1
2
3
1
2
3
1
2
3
1
2
3
1 Q
2 e
3 v
4
4
4
4
4
4
+
5
6
,
7 7
8 8
9 9
1 1
1 1
1 1
1 1
1 1
1 1
5
6
7
8
9
1
1
1
1
1
1
5
6
7
8
9
1
1
1
1
1
1
5
6
7
8
9
5
6
7
8
9
+
*
10
10
a
1
1
1
1
1
1
1
1
1
1
d
9
j
n
a
16
17
16
17
16
17
16
17
5
16
17
l-i
code
Proportionalwidth
Chr.
IBM
#861 #863 #865
Nor~alSuper/Sub
t
16
17
,
,
1
1
●
0
0
1
I
30
30
30
1
19 I 19 I 19 I 19 I 19 I 19 I !! I 30 I 20 I 30 I
137
Character
code
h.
Std. #437 #850 #860 #861 #863 #865
INT 20 20 20 20 20 20 Y
INT 21 I 21 I 21 1 21 I 21 1 21 s
22] 221 221 22! 221 22
231 23 23 23 23 23 1
241 24 24 24 24 24
25 25 25 25 25 25
26 26 26 26 26 26
27 27 27 27 27 27
28 28 28 28 28 2
l-i
Proportionalwidth
Normal
Super/Sub
IBM
3
3
3
2
2
2
2
w
2
2
2
2
2
2
32
30
31
32
30
31
32
30
31
32
30
31
32
30
31
32
30
31
32
3
3
3
3
3
3
3
3
3
3
3
3
3
3
35
36
371
38
39
35
36
371
38
39
35
36
371
38
39
35
36
371,
38
39
35
36
371
38
39
35
36
37
38
39
35
36
I 3711
38
39
3
3
3
3
# I 30 I 20 I 30 I
u
I 401 401 401 401 40! 401 40
4 4 4 4 4 4 4
4 4 4 4 4 4 4
I4 4 4 4 4 4
4 4 4 4 4 4 4
4 4 4 4 4 4 4 *
I 461 461 46! 461 461 46! 46
4 4 4 4 4 4 4
4 4 4 4 4 4 4
491 491 491 491 491 491 49 1 I 30 I 20 I 30 I
I
1
I
H
138
Character
code
Std. #
# # # # #
50 50 50 50 50 50 50
51 51 51 51 51 51 51
52 52 52 52 52 52 52
53 53 53 53 53 53 53
54 54 54 54 54 54 54
55 55 55 55 55 55 55
56 56 56 56 56 56 56
57 57 57 57 57 57 57
58 58 58 58 58 58 58
59 59 59 59 59 59 59
60 60 60 60 60 60 60
61 61 61 61 61 61 61
62 62 62 62 62 62 62
63 63 63 63 63 63 63
64 64 64 64 64 64 64
65 65 65 65 65 65 65
66 66 66 66 66 66 66
67 67 67 67 67 67 67
68 68 68 68 68 68 68
69 69 69 69 69 69 69
70 70 70 70 70 70 70
71 71 71 71 71 71 71
72 72 72 72 72 72 72
73 73 73 73 73 73 73
74 74 74 74 74 74 74
75 75 75 75 75 75 75
76 76 76 76 76 76 76
77 77 77 77 77 77 77
78 78 78 78 78 78 78
79 79 79 79 79 79 79
Chr.
2
3
4
5
6
7
8
9
:
;
<
=
>
?
@
A
B
c
D
E
F
G
H
I
J
K
L
M
N
0
Proportionalwidth
NorsalSuper/Sub
IBM
30
20
30
30
20
30
30
20
30
30
20
30
30
20
30
30
20
30
30
20
30
30
20
30
18
12
30
18
12
30
30
20
30
30
20
30
30
20
30
30
20
30
36
24
30
36
24
42
36
24
42
36
24
42
36
24
42
36
24
36
36
24
36
36
24
42
36
24
42
24
16
24
30
20
30
36
24
42
36
24
36
42
28
42
36
24
42
36
24
42
1
Character
#
8
8
8
8
8
8
8
8
8
9
9
9
9
9
9
9
9
9
9
1
1
1
1
1
1
1
1
1
1
140
#
code
#
#
8 8 8 8 8
8 8 8 8 8
8 8 8 8 8
83I 83! 831 83! 83
8 8 8 8 8
8 8 8 8 8
8 8 8 8 8
9 9 9 9 9
91I 91I 91I 91I 91
9 9 9 9 9
9 9 9 9 9
941 94I 941 941 94
9 9 9 9 9
9 9 9 9 9
97I 97I 97I 97I 97
9 9 9 9 9
9 9 9 9 9
1 I1 I1 I1 I1
1 1 1 1 1
1 1 1 1 1
1
1
1
1
1
1
!1
I
1
1
1
1
1
1
1
1
1
It?x5
8
8
8
8
8
8
8
8
8
9
9
9
9
9
9
9
9
9
9
1
1
1
1
1
1
1
1
1
1
*
S I 36 I 24 I 36 !
1
I
1
u
42 I 28 I 42
w
x
4
3
2
2
w
w
w
4
4
e 1
I 30 1
I 20 I 30 I
f 24 I 16 I 24
1
M
w
m I 42 I128 I 42
I
Character
std. w 3 #
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
code
#
1
1
1
1
1
1
1
1
1
1
1
1
1
1
#
1
1
1
1
1
1
1
1
1
1
1
1
1
1
# #
n
3
1 1
1 1
0 3
1 1
p 3
q
3
1 1
r
3
1 1
s
3
1 1
1 1
t 2
u
3
1 1
v
3
1 1
w
4
1 1
x
3
1 1
1 1
y 3
12211221z I 30
1 1
{ 2
1 1
: 1
1 125I } I 24
1 126I
! - I 30
1 1271 n I 30
1
,
,
1 1291iiI 36
1 130I 6 I 30
1
1
- I- 1
2
2
2
2
2
2
1
2
2
2
2
3
3
3
3
3
3
2
3
3
4
3
24
36
●
3
3
3
30 I
3
3
4
[ 24 3
I 20 3
3
3
3
3
1
A 3
2
1
c 3
2
-i3
136! (!I 30 ! 20 I 30 !
I
1
1
Proportionaluidth
lior~alS
I
Chr.
I 20
1
1
I 16
1I 20
I 20
4
4
1
Proportionalwidth
Character
code
Chr.
I
lioraalSuper/Sub
Std. #437 #850 #860 #861 #863 #865
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
- 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
- -
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
“
1
1
“
1
1
1
1
1
1
1
“
1
1
1
“
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
: 1
1 1
1
1 1
\ -“- - 1
1
- 1
- 1
1 1
1 1
- 1
‘
1
- 1
- 1
- 1
1 1
i
i
A
A
$
E
&
6
0
d
0
i
y
6
u
$
5
Y
R
f
i
i
6
0
5
R
~
Q
1
r
1
1
3
3
3
4
4
3
3
3
3
3
3
3
4
3
3
3
4
3
3
1
3
3
3
3
3
3
3
3
1
1
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
1
2
2
2
2
2
2
2
2
1
1
4
4
3
4
4
3
3
3
3
3
3
4
4
3
3
.3 .
4
3
3
1
3
3
3
4
3
3
3
3
#
1
1
\ 172 I 172 ~172 I 17211721172
1
[
i
- 1
11741174117411741174
1174 1
1175 175 175 175 175 175
1176
176 ,176 176 176 176 1
I
I
1
I
I1
1
I1
1
[1
I
I1
!
I1
1
\178 1178 178
179
I
1 I
1 I1 ‘[1 —..
, 1
,I
L
180
180 180 180 1
qlm
t 1811181
- 1 181 I 181 I 181 181
I
I
I
182
118211821 - \1821182\182
1
1
1
I
1
1861186~186
1
18711871187
11881188
189 189
190 190
191 191
192 192
193 193
194 194
195 195
196
197
198
199
196
197
198
199
i1
I
186 186 186
187 187 187
1
i1
189
190
189
190
189
190
191
192
193
194
195
196 196
197 197
198
- , 199
191
192
193
194
195
196
197
198
199
191
192
193
194
195
196
197
198
199
191
192
193
194
195
$
—i
(
)
177
i178!17811781178
I
%
,
{
1
7
J
J
1
1
1
i
J
J
J
191
1
L
A
1
1
1
1
1
1
T
1
—
+
J
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
2
3
2
3
2
3 l
2
4
2
4
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3 f 30
3
3
3
3
3
3
3
3 i
37 50
s
2 2 2 2
2 2 2 2
2 2 2
E2
2 2 2 2
2 2 2 2
2 2 2
*2
2 2 2 2
207 207 - 2
*208 208 - 2
209 209 - 2
210 210 - 2
*211 211 - 2
212 212 - 2
213 213 - 2
*214 214 - 2
215 215 - 2
216 216 - 2
2 2 2
*2
2
2
2 I2 I2 2
2
2
2
2
2
- 2
2
2
2
2 ! I2
2
%t%t=
#
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
H-l-%-R
%
%
144
Proportionalwidth
I
Horsalkurier/Sub
e
C
j#363 #865
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
w 30
F 3
a 3
T 3
f 3
= 3
+ 3
A 3
~ 3
I + I 30
2
l 3
2
u 3
2121212 I 1=I 30
213!213I F t 30
2
m 30
2151215I M I 30
2 2
+ 3
2 2
J 3
2 2
r 3
2 2
u 3
3
2 2
■
2 2
I 3
3
2 2
■
3
2 2
22412241a I 30
2251225I B 1
I 30
2261226
I r I 30
1
1
I
I
t
-
1
2
2
1
2
2
z
u
3
3
I 30
3
3
3
3
3
3
3
3
I 30
3
3
I 30
! 30
I 30
I 30
3
3
3
3
3
3
3
3
I 30
#I 30
I 30
I
3
3
3
3
3
3
3
3
3
3
3
I 30
3
3
I 30
I 30
I 30
I 30
3
3
3
3
3
3
3
3 2
I 30
I 36
I 36
1
1
4
3
l
r
L
h
std. 37#
2 2 2
+
“
2
2 2
2
+2
2
2 2
2
+2
2
2 2
2
+2
2 !2
2 2 2
2 2
2
2 2
2 2
+2
2
2 2
2
+2
2 1
2 2 2
2 2
2
2 2 2
2 2
+2
2 2
+INT -
$
$
INTI
%
#
2
2
#
2
2
#
2
2
#
2
2
1
3
3
1
3
3
1
30 I 30 I 42
6 I 30 I 30 I 30 I
@ I 30 I 30 I 30 I
Q
E I 30 I 30 I 30 I
n 3
3
3
~ 3
3
3
2
2
1
2
2
!2
2
2
2
2
2
2
2
2
2
2
1
2
2
2
2
2
2
2
2
2
2
2
2
!
2
2
-
-
-
w
4
2
2
2
2
-
1
~1
3
3
v
T
-
w
w
2
1
1
147
MEMO
148
L!J
A
A
A
A
A
m
B
B
B
B
B
B
B
B
B
m
C
C
C
C
C
C
C
C
5
C
C
C
C
C
C
C
C
h
f
l
t
7
C
C
bo
8
3
f
l
s
o
3
f
u
u
1
6
a
3
8
1
p
i 3
3
p
p
0
e
d
r
i 1
4
1
f
m
3
r
6
1
c
u
8
r
o
6
a
7
o v
t
c
p
s c
s
4 1
s
a p
s
1
p
p
s
e
s
6h
o ah 5
5 h
h
c h
5
h
l
4
3
c
9
w
p
3
8
1
2
o 5
o
r
e
p
f
2
2 r
o
o i
s
e
u
a
u
m
t
e
9
D
8
e ot p
, 1h i
D0
D m
s
1
D
c
o5
h
D
p
o 5
c
k
DA
c
c,
7o
D
c
3
eoh
q
rD
9 i2
i 6 r
9
t
i
,
i
o
m
e
Eo m
3
E oa
D s
3l
E
p 42
7
5f
E
p
4 m
E
3
m
Ea s
3
m
E e
r nr
1 e
E
4
ns
t e
Ee
p
5a t
xr
r
oa
oB
a
m
2a
e
F
f
i
lo a 1 1
5
p
1
p
a
s a
1p
u e
1
n
2
o
F
s
5 a
,
o2 i
F 5 b
Fo
c
ma
o8 l
i c
Fo c
4
F , f
3 ni 4
6
n
n
1
6
e oi
o3
u
u
h
r
S
9
u
,,
n
t
t
r
r
n
v t
s
r
i r
2 r
a r
m ori
a
er
a
p
un
1
e
oo l
d ,
I
~—–
G
G 2
G
7
G
‘
[
M
M
M
M
M
r
c
7
p
m
3
ia
s
5
i
5
b
a
c
a
c
r
8
o
p?
i
1
g
u
9 l
H
d
H
H
H
1 d
3
c
p
t
o 6
7I o
a
2
[o
(o o
2 8r
O L rb b 2
O
5
r p
O
5
u
0
m
s
i
i u
rr
l
f
8
u
a
v
e
I
l.--!.
~P
p
p
P
2
P
3
B
P
n
s
1
i P
s
1p
e P
P
I
c
n
4 5 1 ht
Pt
I
p
4
r
P
~..–.—
P
~
P
J
7 u
s
P
~—-P
L’
L..-.–<
P
L m
6
a
P
L
q
2
5
u , e
P
L
f
6
P
L
s
6
1
p
P
L
t p
1
o
r
P
P
~M
U
—
“
M
d
3
e
P
M
1
a
iP
M
f
8
P a
M
a
P
b
6
P o
l
6
P
r
6 6
I
I
I
I
I
150
c
c
m
s
5 1
4 5
3
h
2a
f
I
w
ft
p
F
f
f
g
s
e B
3
r
a
o
4
o
9 1
2
2
b c
2
1e a 1
1 i
1 1
c
6
i
M
e
i
g
i
f
r
r
e
na
u
1p
td
1
4
e
e
i a
f
a
2
a
p
2
2
b
k
s
s
4
2
3
8
1
e
2a
e
0
1
3
c
n4
g a
m
1
i
,
Ë
o rt
r d
r e
e 2
1r
1r
2re
85
i
u
t
l
u
w
a
P
i
c
p
i
r
i
r
2
f 1a
5
i
i
a
1
a
h
u
n
n
g
ot
o
———.—.
‘rOpOff
Q
Q
c u
p
5
T
T
a h
2
c
c
8
U
U
U
U
a
3 1
3 1 1
p
8
l
f
6
m
3
c
4 1
m
6
u
3 6
c
s 8
c
r
e
e
i
S
S
S
S
S
S
S
S
~
T
T
T
f
u
a
n
a
(
a
n
no
u 4
p
s
a
m
s
z
5
5
2
m
t
,
e
7
i
/u
i
5
c
j
l
1
h
hi
i
o
t
o
a
e
6
e
p
1t
t
r
c
c
1
i
f
e
i
re
a a 12
6 a o
k
s
9
f
3
h
i
b
p
a
2
a
a
l
1
s 4
3
1
5t
5
u
5
u
a
n
c
u
1
1p
t
t
r
l
r
E
e
1p
1
3
,
o
e
pe
b e
f
c
m
r c
6
6c
2
L d
r
e i
2n l
n
ni
e
v
i
vr
5 e
t o ob
8 a e
r
l
re
O
5
3
i
“z~
h
2
n
c
p
t
2
p
c
u
o
p n
a i
1e
v
Z
f
t
r5
o
Vi
Va
o
a
~-sj
S
S
S
S
S
S
S
S
r r
r
h!
.R-..
R
R
R
R
R
R
R
R
R
R
3 6
1 a 1
r 1
fd
r
e
c
e
r
b
u
a
t
l
7
e
t
o
1
MEMO
1
COMMAND SUMMARY
StandardMode
The followingcommandstake effect with the Standardmode.
%
H
<
L
A
n
U
n
n
%
%
.
n
%
n
%
1
I
C
n
u
O
1
%
...
n
n
.,,<
D
d
n
n
d
...
n
n
n
i
B
U
B
U
%
d
q
%
...
n
n
n
n
n
n
n
n
n
“
n
n
n
n
n
S
n
n
1
n
n
Y
n
n
“W”
d
d
“X”
<b
“X”
“X”
“X”
“1“
n
n
n
d
%
d
n
n
n
n
1
IBM Mode
The followingcommandstake effect with the IBM mode.
<
<
n
%
<
<
“
“ n
“
<
“ <
<
“
“
<ESC>“7”
<
“
<
8
<
“
<
“
,
...
n
n
n
n
n
D
d
<
“
<
<
<
<
<
“
“
“
<
<
<
<
156
%
%
8
n
n
d
..
n
.---<
?
B
U
%
<
<
“
“
“
d
q
“
<
<
<
<
<
<
“ “
“
<
<ESC>
1“
n
n
“
“
“
“
“
“
“
“ “
“ “
“ “
nm
n
n
n
n
c
..
n
PRINTED IN JAPAN
C
S
p
M
C
m
t
Ro
L
i
P
y
en
s
a
c
y
y
c
WorldwideHeadquarters:
S
2
S
A
M
N
C
J
P
L
4
M
AmericanMarket:
S
A
M
L
Y
P
A
A
1
M
I
S
2
EuropeanMarket:
S
W
P
D
F
A
M
D
G
e
9
F
G
P
M
U.K.Market:
S
S
P
G
B
A
M
L
H
B
R
H
P
H
7
M
P
W
U
FrenchMarket:
S
7
A
M
M
M
P
F
A
F
o
M
AsianMarket:
S
M
1
T
E
9S
Y
R
A
P
M
A
L
S
K
B
H
K
PRINTED IN JAPAN