Download Star Micronics StarJet SJ-48 User's Manual

Transcript
Federal Communications Commission
Radio Frequency Interference Statement
This equipment
has been tested and found to comply with the limits for a Class B digital device, pursuant to
Part 15of FCC Rules.Theselimitsaredesigned
toprovidereasonable
protection
againstharmfulinterference
inaresidential
installation.
Thisequipment
generates,
usesandcanradiateradiofrequency
energyand,ifnot
installedandused in accordance with the instructions, may cause harmful interference to radio communica-
tions. However, there is no guarantee that interference will not occur in a particular installation. If this
equipment does cause harmful interference toradioortelevision reception, which can redetermined by turning
the equipment offandon, the user is encouraged to trytocorrect the interference by oneormore of the following
measures:
Reorient or relocate the receiving antenna.
Increase the separation between the equipment and receiver.
. Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
Consult the dealer or an experienced radionV technician for help.
●
●
●
Unauthorized modifications of this product by the user will void his authority to operate the equipment unless
expressly approved by the party responsible for compliance.
For compliance with the Federal Noise Interference Standard, this equipment requires a shielded cable.
The above statement applies only to printers marketed in the U.S.A.
Statement of
The Canadian Department of Communications
Radio Interference Regulations
This digital apparatus does not exceed the Class B limits for radio noise emissions from digital apparatus set
out in the Radio Interference Regulations of the Canadian Department of Communications.
Le pr6sent appareil num6rique n’6men pas de bruits radioelectriques d6passant Ies limites applicable aux
Wpy+: nufn6@ues
de la classe B prescribes clans le R&glementsur le brouillage radio61ecrrique6dict6 par
le muusere des Commumcatlons du Canada.
The abovt statement applies only to printers marketed in Canada.
Self Declaration
Radio interference regarding this equipment has been eliminated according to Vfg 1046/1984announced by
the DBP.
DBPhas been informed of the introduction of this special equipment and has been granted the right to examine
the whole series.
It istheuser’sresponsibility toseethathisown assembled system is in accordance with thetechnicalregulations
under Vfg 1046/1984.
To conform to ITZ-regulations it is necessary to make all connections to the printer with shielded cable.
The equipment may only be opened by qualified service representatives.
The above statement applies only to printers marketed in Germany.
Trademark Acknowledgements
SJ-48, XB-241O,XB24-10, NX-2420, LC24-200, SC-10, BP-10, SF-1OCA:Star Micronics Co., Ltd.
IBM-PC, PS/2, PC-AT, Proprinter X24/X24E, PC-DOS: International Business Machines Corp.
MS-DOS, Microsoft BASIC: Microsoft Corporation
LQ-850: Seiko Epson Corp.
NOTICE
● All rights reserved. Reproduction of any part of this manual in any form whatsoever without STAR’s
express permission is forbidden.
● The contents of this manual are subject to change without notice.
● All efforts have been made to ensure the accuracy of the contents of this manual at the time of press.
However, should any errors be detected, STAR would greatly appreciate being informed of them.
● The above notwithstanding, STAR can assume no responsibility for any errors in this manual.
0 Copyright 1991 Star Micronics Co., Ltd.
HOW TO USE THIS MANUAL
This manual is organized into ten chapters. To learn how to make the best use of your printer
you are urged to read through chapters 1 through 5. The remaining chapters maybe treated
as a reference guide for programming operations, etc. It assumes a degree of acknowledge
of the operation of computers (for instance, it assumes you know about hexadecimal
numbers). The chapters are as follows:
Chapter 1 — Introduction
This chapter indicates the some features of the printer, the names and those functions of the
printer components. This chapter also indicates some requirements to printer, power supply
and Ink Cartridge.
Chapter 2 — Setting up the printer
This chapter explains how to get the printer unpacked and setup. Read this chapter before
you do anything else.
Chapter 3 — Paper handling
This chapter describes instructions for printing such as selecting paper types, adjusting the
printing gap, installing paper, and removing jammed paper.
Chapter 4 — Control panel operations
There are a number of controls on the front panel which perform various functions related
to paper handling, print modes and font selection.
After getting set up, read this chapter and try out the procedures in it to find out how the
printer works.
Chapter 5 — DIP switch settings
This chapter explains how to set the DIP switches to make system settings on the printer.
Chapter 6 — Printer control commands
This chapter explains the different emulations provided by your printer, and the software
commands used to drive it. This section is of use if you are writing or modifying programs
to take advantage of the printer’s features.
Chapter 7 — Download characters
This chapter explains the procedures to create your own characters.
Chapter 8 — MS-DOS and your printer
Since the PS/2 or PC-AT family of computers running under MS-DOS is currently the most
popular configuration of microcomputer, we have included a few hints and tips to help you
use your printer with such systems.
Since virtually all PCs are sold with a Microsoft BASIC interpreter, we have also included
some hints, and a sample program in this language to demonstrate the capabilities of the
printer.
Chapter 9 — Troubleshooting and maintenance
This sectiongives a checklist of points to check if your printer is not working in the expected
way. It also includes details of some routine maintenance operations you can carry out
yourself. It is not, however, a complete service manual. Call a qualified service engineer
if you are unsure of your ability to carry out any maintenance or servicing operations.
Chapter 10— Reference
This section gives some references of your printer, such as specifications of your printer,
the pinout of interface comecter, the character tables.
The character table charts give the different character sets available.
1
1
4
6
Chapter 1
INTRODUCTION
Featuresof theprinter
Printercomponents
Requirements
Chapter 2
SETTING UP THE PRINTER
Unpackingand inspection
Settingup
Connectingthe powersupply
Installthe Ink Cartridge
Connectingthe interfacecable
7
7
8
8
9
11
Chapter 3
PAPER HANDLING
Selectionof paper
Adjustingtheprintinggap
Loadingpaper
Loadingthe paperfromthe frontslot
Loadingthe paperfromthe flat feed slot
Removingpaperjams
13
13
14
15
15
17
18
Chapter 4
CONTROL PANEL OPERATIONS
Buttonsand indicators
ON LINEbutton
LINE FEEDbutton
FWDADJ button
REV ADJ button
PITCHbution
Switchcombinationfunctions
Flatfeed
Formfeed
Top of form
Head claeaning
Clearingthe buffer/Allreset
Power-upfunctions
Chargethe optionalbatterypack
Shorttestmode
Longtest mode
Hexadecimaldump
Pitchlockmode
19
19
19
20
20
20
21
22
22
22
23
23
24
25
25
25
26
27
28
Chapter 5
DIP SWITCH SETTINGS
Locationof the DIP switches
Functionsof the DIP settings
29
29
30
Chapter 6
PRINTER CONTROL COMMANDS
Fontcontrolcommands
Characterset commands
Charactersizeandpitchcommands
Verticalpositioncommands
Horizontalpositioncommands
Graphicscommands
Downloadcharactercommands
Otherprintercommands
33
34
39
42
49
53
57
61
64
Chapter 7
DOWNLOAD CHARACTERS
Definingyourown 24-dotcharacters
Assigningthe characterdata
Assigninga valueof characterspace
Sampleprogram
Definingyourown48-dotcharacters
67
67
68
69
69
72
Chapter 8
MS-DOS AND YOUR PRINTER
Installingapplicationsoftwarewithyourprinter
Embeddingprintercommands
ProgrammingtheprinterwithDOScommands
ProgrammingwithBASIC
75
75
76
77
79
Chapter 9
TROUBLESHOOTING AND MAINTENANCE
Troubleshooting
Powersupply
Printing
Paperfeeding
Maintenance
87
87
88
88
90
92
Chapter 10 REFERENCE
Specifications
Pinoutof interfaceconnector
Charactersets
Standardcharacterset#2
Internationalcharactersets
IBMcharacterset#2
Characterset#l
IBM specialcharacterset
93
93
96
97
98
100
101
108
109
INDEX
111
COMMAND SUMMARY
114
This printer has a full complement of features, making it an excellent partner for a personal
computer. It supports the Epson/IBM printer commands and character sets, enabling it to
print just about anything your computer can generate, both text and graphics.
FEATURES OF THE PRINTER
Some of main features are the following:
●
●
b
●
●
●
●
Ink jet printing system
Auto-capping system
Easy maintenance
2-way power supply
Versatile paper handling
Extensive software support
Easy operation
Ink jet printing system
The ink jet printing system prints characters and graphics by firing ink drops at the paper
from thin nozzles.
Heating the ink in these nozzles, by
applying electrical pulses to the
heating elements, produces bubbles
that quickly expand and eject the jnk.
B
H
e
~
A vacuum is then produced as the
bubble contracts after the pulse ends.
This draws fresh ink into the nozzle.
[
F
1
p
s
An important feature of this printing system is the simple construction of individual
nozzles.
This construction has the following advantages in addition to reducing manufacturing
costs.
Chapterl INTRODUCTION
1
. The printing mechanism is more durable and smaller.
. Print quality is higher because of greater nozzle density.
● Quiet, non-impact operation.
This means that the ink jet printer can be used for a much wider range of applications than
other printers.
Auto-capping system
This printer moves the carriage to the home position and automatically caps the print head
whenever the printer is turned on and off, or more than 5 seconds have passed since the last
data was received.
This auto-capping system prevents the head from drying out or becoming clogged with
dust, and ink dropping or evaporation.
It also helps to reduce ink spillage in the event the printer is held for any reason in other than
the horizontal position or is shipped.
Easy maintenance
This printer uses a replaceable Ink Cartridge (SC-10) that contains both the print head and
ink, the only maintenance required is a simple cartridge replacement. You can always rely
on high-quality printouts without complicated maintenance.
f
1
T
p
u
ar
C
S
Z-way power supply
You can use this printer with the AC power source using the AC adapter, or without AC
power source using the optional NiCd battery pack, BP-10.
With the optional battery pack, your printer can even be used outdoors. Great for laptop
computer users.
2
F
1
T
p
u
e
a
o
N
b
p
Versatile paper handling
Single sheets and envelopes (COM 10 size) are all accepted, and you can use either roller
feed or flat feed.
You can also feed paper with optional Automatic Sheet Feeder.
F
7
T
p
f
w
t
w
R
f
F
f
f
Extensive software support
Since it is compatible with the Epson and IBM printers, it works with any software that
supports those printers. That includes most word-processing and graphics programs,
spread-sheets, and integrated software packages.
Easy operation
Indicator displays and beep tones provide immediate, easy to understand feedback when
you press the buttons on the control panel. The five buttons can operate in combinations to
perform a surprising variety of functions, including micro-alignment.
Chapterl INTRODUCTION 3
PRINTER COMPONENTS
To get acquainted with the printer’s components and capabilities, refer to the information
below.
B
s
rc
d
E
4
s
d
c
Top cover
Aligns single sheets (cut forms) to help the printer detect when
paper is inserted.
This cover is used as a paper tray when using the flat feed or
optional Automatic Sheet Feeder.
Interface connector
Connects the computer to the printer.
Adjustment dial
Controls print darkness by adjusting for the thickness of forms
being printed.
AC adapter cable connector
Connects the plug of the AC adapter. Do not remove the plug
when the printer is turned on.
Print head cap
Caps the print head of Ink Cartridge to prevent ink from drying
out.
Ink Cartridge
A disposable cartridge including ink and print head.
Lock lever
Locks or releases the Ink Cartridge.
Paper cover
Protects the Ink Cartridge and other internal components of your
printer.
Control panel
Indicates printer status and makes various control of printer
functions simple and convenient.
DIP switch
Sets the default printer conditions.
Release lever
Releases pressure on the paper. This lever must be down to feed
paper, and upward to release paper.
Battery component cover
The optional battery pack is located under this cover.
Entry slot
For inserting single sheets of paper with flat feeding.
Power switch
Switches power on or off.
Printer stand
Adjustable to raise the printer.
Battery switch
Set the switch to ON position only when charging the optional
battery pack or working the printer with it.
Chapterl INTRODUCTION
5
REQUIREMENTS
Before you start unpacking and setting up your printer, make sure that the following
requirements are satisfied.
Location of the printer
Make sure that you have a suitable place on which to locate the printer. By “a suitable
place”, we mean:
. A firm, level surface which is fairly vibration-free
. Away from excessive heat (such as direct sunlight, heaters, etc)
. Away from excessive humidity or dust
. Use the printer where there is sufficient room for the paper and any paper being fed in
or printed out.
. Make sure that the interface cable is within 2m (6ft) of the printer.
●
Do not place objects on top of the printer.
Requirements of the power supply
. Supply it with “clean” electricity. Do not connect it to the same circuit as a large, noiseprod’ucingappliance such as a refrigerator.
●
Make sure the line voltage is the voltage specified on the AC adapter’s identification
plate.
. Do not unplug the AC adapter cable to turn printer off. The print head will be damaged
because it cannot be capped correctly. If the AC adapter cable is unplugged by mistake,
plug it in again and switch the printer on and off to cap correctly.
Requirements of the Ink Cartridge
. Do not remove the Ink Cartridge from the printer unless it has to be replaced.
. Do not touch the print head of the Ink Cartridge. The print head is a special precision
component.
●
Do not subject the Ink Cartridge to physical shock or vibration. Ink may be spilled on
your hands or clothes.
●
Do not attempt to refill the Ink Cartridges. A clear printout camot be obtained.
. Do not disassemble the Ink Cartridge. Ink may be spilled on your hands or clothes.
. Do not place the head of the Ink Cartridge face down.
6
S
T
P
This chapter describes the following procedures to setup your new printer.
Before you start unpacking and setting up your printer, make sure that the requirements
described in Chapter 1 are satisfied.
. Unpacking the carton box
● Connecting the power supply
. Installing the Ink Cartridge
. Comecting the printer to your computer
UNPACKING AND INSPECTION
Now unpack the contents of the shipping carton, and check each item in the box against
Figure 2-1 to make sure that you have everything (there should be four items).
If any of these items are missing, contact your supplier.
/
>
F
2
C
m
s
h
f
i
P
a
C
U
m
The optional accessories which you may have ordered with your printer are:
●
●
Automatic Sheet Feeder (SF-1OCA)
NiCd battery pack (BP-1O)
Chapter2 SETTING UP THE PRINTER
7
SEITING UP
Place the printer in the desired location, and remove all packing material from the printer.
This packing material is intended to prevent damage to the printer while in transit. You will
want to keep all the packing material, along with the printer carton, in case you have to move
the printer to a new location.
Connecting the power supply
You can use either the AC adapter or the optional NiCd battery pack to supply the power
to the printer.
The procedure to connect the AC adapter is:
1. Plug the AC adapter into a properly grounded AC outlet.
2. Attach the AC adapter cable to the printer. Whenever connecting the AC cable, the
carriage moves and the print head is-recapped automatically.
-
\
3
a
,
F
2
C
a
c
A
\
p
The procedure to install the optional NiCd battery pack is:
1. Turn the printer upside down and turn the printer stand.
2. Open the battery compartment by pushing the two recesses as shown in Figure 2-3.
F
8
2
O
b
c
a
t
p
u
d
p
s
3. Insert the battery pack into the battery compartment with the terminal end first.
f
B
I
F
I
b
p
i
p
w
t
f
4. Replace the battery compartment cover, and return the stand to its original position.
5. Tu&on the batte~-switch Iocated behind the printer. Wheneveryou turn on the battery
switch, the carriage moves and the print head is recapped automatically.
Install the Ink Cartridge
Your printer uses a replaceable Ink Cartridge contains both the print head and ink.
The procedure to install the Ink Cartridge is:
1. Open the top cover and the paper cover.
2. Lift the lock lever on the carriage.
covel
F
Z
O
c
p
c
t
IIrt
I
l
c
3. Open the package of the Ink Cartridge.
4. Push the right side of the head cap carefully as shown in Figure 2-6. It will pop off.
5. Remove the protection tape.
Chapter2 SETTING UP THE PRINTER
9
H
F
2
R
h
t
c
p
t
f
t
C
6. Load the Ink Cartridge by inserting the guide into the slot of the Ink Cartridge.
CAUTION: Be careful not to touch the terminals on the flexible cable.
F
2
L
C
7. Push the lock lever down to the end. (The Ink Cartridge is positioned and locked as
shown below.)
-,..
F
- - r.
z
IOCKl
a
p
-
u
8. Close both the paper cover and the top cover.
9. Turn on the Power switch while holding down the [ REVADJ ] and ~
buttons.
This will execute the head cleaning to fill up the ink into the print nozzles.
Connecting the interface cable
Connect the printer to your computer using a standard Centronics parallel interface cable.
On a PS/2 or PC/AT-type computer, this means that you use the 25-pin D-type connector
at the computer end, and the Amphenol-type 36-pin connector at the printer end. The
configuration of the printer’s connector is given in Chapter 10 should you need a cable for
connecting to another computer.
Follow the procedures below to connect the interface cable:
1. Turn off the power switch both the printer and the computer.
2. Remove the connector cap from the interface connector.
3. Connect the interface cable to the printer as shown in Figure 2-9.
Make sure that you press the plug fully into the interface connector.
wR
I
c
/
/
v
“/
I
F
2
C
i
c
c
4. Move both clips insidetheextendedprongs onthesides of thepluguntil youhearaclick.
F
2
M
c
u
h
ac
5. Connect the other end of the interface cable to your computer. Use your computer
instructions to attach the interface cable.
NOTE: Because you need your computer when you start printing, ensure that it is
completely installed.
Chapter2 SETTING UP THE PRINTER
11
12
.
,. ,,.f
,.
,:.~,,
.,.,,: .,,,,.,
,,.%,,.
,,,
,
.
~
-
!=,:,:,,,,.,,.,
,
,.....:.,,,=,:,,m
& f
,= :,,,
,j:,,i.’.+,,
,,, .=,:&<!:,,9.,&:*g&:g&:,.,#3,,:$,,::,.
@
r
,
---
~~•
*.,q/,::l)g:J~l:%l~;#WJ*j,m
,
.
,
:
This chapter describes instructions for printing such as selecting paper types, adjusting the
printing gap, installing paper and removing jammed paper.
SELECTION OF PAPER
Your printer accepts any of the following papers:
. Single sheets (cut forms) and stationery
This printer can print on paper from 7.2x 7.2 in. (182x 182 mm) to 8.5 x 14 in. (216
x 356mm) without curls, folds or damaged edges.
The paper thickness should be under 0.2mm and wights between 52 g/m2to 90 g/m2
with roller feed, and between 52 g/m2to 105 g/m2with flat feed.
Note that gauges for the paper sizes are printed on the top cover and the flat feed slot.
You can also use the optional Automatic Sheet Feeder.
. Envelopes
Commercial number 10 (4.1” x 9.5”) can be only used with the flat feed. The
following envelopes camot be used.
Envelopes with: windows, holes, perforations, cutouts, and double flaps
Envelopes made with special coated paper or deep embossed paper
- Envelopes using peel-off sealing strips
- Envelopes in which letters have been enclosed
Figure 3-1 shows the recommended print area for each type of papers.
(7.2 -8.5 inch)
: >- W: 182-216 mm.—
—
5
—
—
(013Inch)
~I
6.4 mm (0.25 inch) [letter size]
.
1
4
17 mm (2/3 inch)
I
I
I
‘4mm(4in
I
1
1 25,4 mm(l
inch)
I
E
cutf
F
3
R
p
a
a
p
Chapter3 PAPER HANDLING
13
ADJUSTING THE PRINTING GAP
The distancebetween the print head and thepapercanbe adjusted to accommodate different
paper thicknesses. The adjustment dial is located behind the interface connector at the left
side of the printer.
There are three positions, and you can feel the dial clicking into each position. The center
position is for high density graphics printing on normal paper. Turning the adjustment dial
clockwise is for the normal paper, and the counterclockwise is forthickpaperor envelopes.
F
14
3
L
a
d
LOADING PAPER
This section will take you through the procedures for loading paper.
You can load paper either from the front slot or from the flat feed slot.
It is recommended to use the flat feed slot for thick paper or the envelopes.
Loading the paper from the front slot
1. Open the top cover and push down the release lever.
c
F
3
c
c
t
r
l
p
d
2. Check the adjustment dial to accommodate the paper thickness.
3. Slide to turn on the Power switch located at the left side of the printer.
The PAPERindicator will illuminate and the
indicator will blink that there is no
paper in position for printing.
NOTE: The Power switch will return to its original position automatically.
4. Match the paper with the paper size scales on the top cover and insert the paper
straightly.
F
3
I
p
f
f
s
m
p
w
p
s
s
Chapter3 PAPER HANDLING
15
I button down to advance and position the paper.
Now, press the I
6. If you want to set the paper to a different position, set the printer off-line by pressing
[ button, then set the paper position by using the micro-feed function.
the I
(For details, refer to Chapter 4.)
] button to set the printer on-line.
7. Press the [ ON
NOTE: 1.Do not open the paper cover while printing.
2. If the paper catches at the top of cover as it is being fed through the printer, it
will curl and may not stack properly. If you notice the paper catching on the
cover as shown below, lightly tap the paper with your hand so that it stacks
against the cover.
I
F
3
p
w
y
h
s
p
a
c
Loading the paper from the flat feed slot
1. Raise the printer by adjusting the printer stand as shown below.
I
F
3
R
p
w
p
s
2. Open the top cover and rotate the adjustment dial counterclockwise.
3. Slide the Power switch to turn on the power, and press the I
] and
[
1 buttons until you hear a short beep tone.
4. Align the envelope (or the paper) with the scales of the flat feed slot and insert the
envelope straight into the slot.
The’envelope automatically sets to the printing position.
—.
FlgUre 3-7.
A
the
e
w
s
f
f
s
f
5. If you want to set the paper to a different position, set the printer off-line by pressing
I button, then set the paper position by using the micro-feed function.
the I ON
(For details, refer to Chapter 4.)
] button to set the printer on-line.
6. Press the [ ON
NOTE: Remove the envelope by hand if it is not ejected after printing.
Chapter3 PAPER HANDLING
17
REMOVING PAPER JAMS
When paper jams occur, the
indicator illuminates and the printer is set off-line. In
this case, remove the jammed paper according to the following procedure.
1. Lift up the paper release lever.
2. Remove the jammed paper carefully by pulling on the end of the paper.
If the paper is wrapped around the platen, pull the end of the paper
while holding down
.~button.
the I
f
3
R
p
f
a
l
r
l
3. Open the paper cover, and confirm that any paper remained in the printer.
4. Press down the paper release lever.
] button to set the printer on-line.
5. Load anew sheet ofpaperand press the I ON
18
The control panel buttons can be pressed individually to perform the operations indicated
by their names. Other functions can be achieved by holding these buttons down when you
turn the printer’s power on, or by pressing the control panel buttons in combination.
This chapter explains all the button and indicator functions.
●
●
●
●
●
●
●
●
●
●
●
●
Pause printing
Feed paper (fast and slow, forward and reverse)
Select the print pitch
Select the font
Select paper feed mode
Set the top-of-form position
Cleaning the Ink cartridge
Clear the printer’s buffer
Charge the optional battery pack
Print test patterns
Print,a hexadecimal dump
Prevent software from changing the panel pitch selection
BUTTONS AND INDICATORS
The minter is eauiuDed with five buttons on the control uanel. From left to right they are
]
I, ~
[
\
PITCH - ~.
-
The following is a brief guide to the buttons and indicators on the control panel.
$
F
4
C
m-llmlll
ill:
~~
p
ONLINE button
The ONLINE button sets the printer on-line and off-line. The status changes each time you
press the button.
When the printer is on-line, it can receive and print data from the computer. When the
printer is off-line, it stops printing and sends the computer a signal indicating that it cannot
accept data.
Chapter4 CONTROL PANEL OPERATIONS
19
The printer powers up in the on-line status if paper is loaded. If paper is not loaded, the
printer powers up off-line with the
indicator illuminating and the
indicator
[ button to set the printer
blinking. When you load paper, you must press the [ ON
on-line.
You will want to press the I ONLINE ] button:
. Before and after any other panel operation
The other panel buttons operate in the off-line state. Press the I ONl-lNE ~buttonto go
off-line. After performing the panel operation(s), press the I ON
] button againto
go back on-line.
. To pause during printing
I button during printing, the printer stops printing and goes
If you press the I ON
off-line, allowing you to check the printout or change a control panel setting. Printing
I button again to go back on-line.
resumes when you press the I ON
LINE FEED button
If you press this button while off-line, the paper will feed forward. If you hold the button
down, the printer will perform consecutive line feeds.
If you also press the I ON
] button while you are line-feeding, the paper will eject
automatically the current page. This is explained later.
FWD ADJ button
For fine alignment, you can feed the paper forward in very small increments as follows:
1. Press the ~ ON
button to set the printer off-line.
2. press andholddownthe ~
button. Thepaperwill start advancing inaseries
of small steps. When you want to stop, release this button.
REVADJ button
You can also feed the paper in small increments in reverse, to return to a higher position
on the same page.
button to set the printer off-line.
1. Press the I ON
] button. The paper will start moving backwards
2. Press and hold down the I
in a series of small steps. When you want to stop, release this button.
If you press this button while on-line, this will change the Print Quality between High
Quality (HQ) and Economy. You will hear one beep tone when the Economy mode is
selected, and twice when the HQ mode is selected. The print speed is the same in both the
Economy and HQ mode, but the Economy mode uses less ink.
When you select the Economy mode with this button, the printer ignores the Print Quality
commands from the computer, and prints all text and graphics with the Economy mode.
PITCH button
This button allows you to select the printing pitch. Remember that the printer must be offline for you to do this. Successive presses of this button will select the following options
in order (Note that semi-condensed pitch is not available in the IBM mode):
Pitch
Pica (1OCPI)
Elite (12CPI)
Semi-condensed (15CPI)
Condensed pica (17CPI)
Condensed elite (20CPI)
Proportional
If you press this button while on-line, this will change the Font style.
You will hear one beep tone when the H-Gothic font is selected, and twice when the Roman
font is selected.
Chapter4 CONTROL PANEL OPERATIONS
21
SWITCH COMBINATION FUNCTIONS
Several additional functions can be achieved by pressing the control panel buttons in
combinations.
I
F
4
S
c
f
c
p
Flat feed
This ptinter can load paper either from the front slot of from the flat feed slot.
It is recommended to use the flat feed for thick paper or the enveloPes.
Before you load paper from the flat feed slot, it is necessary to indicate the printer that the
paper will be fed by the fiat feed with the following procedure:
the I ON
I button to set the printer off-line.
1.
J button again and hold it down.
2. press the ~ ON
[ button down, press and hold the I
3. While holding down the I ON
1
button.
Continue holding these two button down. In a few second, you will hear a short beep
tone signaling that the flat feed mode is selected.
If you hold these buttons after the shortbeep tone, you will hear two beep tones signaling
that the flat feed mode is cancelled.
4. Release these buttons, and load paper from the flat feed slot.
Form feed
When you want to eject the current paper, follow the procedures below instead of pressing
the I
] button several times:
1. Press the I ON
] button to set the printer off-line.
2. Press the ~LINEFEED\ button and hold it down. The printer will start performing
successive line feeds.
3. While holding the I
[ button down, press the I ON
[ button, then
release both buttons at the same time. The printer will smoothly eject the current page.
22
Top of form
When you power on the printer, the first line position is automatically set to the current
position.
If this is not where you want the top line of the page to be, you can change the top-of-form
position as follows:
] button to set the printer off-line.
1. Press the I
2. Movethepapertothe desired top-of-form position bypressingthe I
] button,
]
or
~
or by performing a forward or reverse micro-feed with ~
button.
I button to set the printer on-line.
3. Press the I ON
4. While holding the
] button down, press the I FW3
[ button, then
release both buttons at the same time. You will hear a beep tone indicating that the topof-form position has been set.
Head cleaning
The printer’s unique head cleaning system clears paper particles and dust accumulated
around the print head nozzles that may otherwise cause printing problems. It also clears the
nozzles and helps maintain a high level of print quality. However, if printing problems such
as irregular dot print or dot missing should occur, perform the print head cleaning according
to the procedure below.
1. Make sure that the printer is turned on and the paper is loaded.
I buttons while in on-line.
2. Press and hold down the I
] and I
3. The
indicator blinks for five seconds while the print head is being cleaned.
The check pattern shown below can be printed by pressing one of any button within 1.5
I buttons.
seconds after pressing the I
{ and I
NOTE: The printer does not print the check pattern when the data in the buffer is
retained.
When the print check is completed, the printer returns to normal status.
I
...
F
4
S
c
p
p
Chapter4 CONTROL PANEL OPERATIONS
23
Clearing the buffer/All reset
The printer stores received data in a large memory buffer. This creates a problem when you
want to abandon a printingjob and restart: the printer maybe holding more data in its buffer
than it has actually printed, and this unprinted data must be cleared out before restarting.
Turning power off is one way to clear the buffer, but there is another way:
1. Halt the printing program on the computer. If printing stops immediately, the buffer is
clear and the rest of this procedure is unnecessary. If printing does not stop, continue
as follows:
2. Press and hold the I ON
] button.
I button down, press and hold the I
3. While pressing the I ON
button. Continue holding these two buttons down. In one second you will hear three
beep tones signalingthat the printer has been initializedto the power-on default settings.
4. Release these buttons, make any necessary control panel settings, then set the printer
back on-line.
It is essential to halt the printing program on the computer before you do this panel
operation.
Otherwise, when you go back on-line the computer will start sending data again and the
printer will continue printing, with missing data where the buffer was cleared.
POWER-UP FUNCTIONS
In addition to their normal functions, all the control panel buttons have special functions
that operate if you hold them down while switching power on.
I
~
tttt+
@
S
t
C
b
F
4
P
f
c
m
L
t
m
H
d
P
l
m
p
Charge the optional battery pack
The printer can operate with the optional NiCd battery pack when an external power source
is not available. Battery life varies depending on the options and the print density.
Normally, a single charge works the printer for40 minutes. A battery charge will take about
ten hours.
1. Set the battery switch on the back of the printer to the ON position.
2. Turn the Power switch on while holding down the I ON
j button.
3. The
indicator blinks while the battery is being charged.
When the battery reaches a nearly full charge, the
indicator automatically goes
off (auto power off function).
CAUTION: Do not overcharge the battery pack.
Short test mode
If the printer istumedon while the ~I-INEFEED ~button is pressed, theprinterwill enter the
short self-test mode. The printer will print the version number of the printer’s ROM,
followed by six lines of the character set.
Each line will be offset by one character from the one before it. The final result will be
something like Figure 4-5.
‘: ‘: ,’: Ver
1.0
,’:,’,,*
! II~$%& ( ) ;;+, –. / o I 2345 b7b9:
; < = > ?@ ABCDEFGH I JKLMNOPQRSTUVWXYZ
[ \ ] ‘—’ abcdef
gh 1 J k lmno
! ,, #$%& ( ) >k+ , – /01 23456789:
; <=> ?@ ABCDEFGH IJKLMNOPQRSTUVWXYZ
[ \ ] ‘–’ abcdefghi
jk lmnop
“ #$%&
( ) “:+, – /0 123456789:
; <=> ?@ ABCDEFGHI JKLMNOPQRSTUVWXYZ [ \ 1
abcdef
gh i j k 1 mnopq
#$%& ( ) ,’:+ , – /0 12345b789
: ; <= > ?@ ABCDEFGH I JKLMNOPQRSTUVWXY Z [ \ ] “– abcdef
gh 1 j k lmnowr
$%& ( ) ‘i+, -. /0 123456789:
; <=> ?@ABCDEFGH I J
[ \1
abcdef
gh 1 j k 1 mnopqrs
: : <=> ?@ABCDEFGH I JKLMNOPQRSTUVWXY Z [ \ 1 ‘–
abcdef
gh i j k 1 mnOPqrSt
%& ( ) ‘:+, -. /0 123456789
F
4
S
s
Chapter4 CONTROL PANEL OPERATIONS
25
Long test mode
If the printer is turned on while the I
{ button impressed,theprinterwill enterthe
long self-test mode. The printer will print the version number of the printer’s ROM,
followed by the whole character set printed in each font and pitch available.
The test cycles endlessly, so you must turn the power off to stop it.
Ver
>
< TMS-ROMN
1.0
c:,’: 9:
>
00@V+44
* ❑ OW 9 Jfl U**t !!1[S-1 t 1 ++L-~A7
! “ #$%&
PQRSTUVWXYZ [ \ ] ‘–’ abcdef
gh i jklmnopqrstuvwxyz
aiOtifiN@~L r-+f% i (())
=
. .
<
F
26
L
L
.
>
s
1
%
( ) “:+, – . /0 123456789:
.
{ [ } ‘OQti6a2i&5geeel
; <=> ?@ ABCL)EFGHI JKLMNC
11
. “
W
P
Hexadecimal dump
This feature is useful for programmers who are debugging printing programs and want to
see the actual codes the printer is receiving. (Some computers change the codes the
programmer intended.)
In this mode, all data received will be printed in a hexadecimal dump format, rather than
the control codes being acted on as command codes.
This mode is accessed with the following procedure:
I button down, turn power ON. A beep tone will be
1. While holding the I
heard.
2. Begin printing. In place of the usual printout you will get a formatted dump showing
exactly what data the printer receives. Each line presents sixteen characters, their
hexadecimal codes to the left and printable characters printed on the right.
3. Attheendofthehexadecimaldump,setthepfinteroff-line withthe I ON
] button.
This is necessary to print the last line.
The following BASIC program is a simple test you can run in hexadecimal mode:
10
20
30
40
50
WIDTH “ LPT 1 : “ , 255
FOR 1=0 TO 255
LPRINT CHR$ ( I ) :
NEXT I
LPRINT
END
If your system passes the codes directly to the printer without changing them, you will get
a printout like Figure 4-7.
00
10
20
30
40
50
60
70
80
90
AO
BO
co
DO
EO
FO
F
01
11
21
31
41
51
61
’71
81
91
A1
B1
c 1
D1
E1
F1
02
12
22
32
42
52
62
72
82
92
A2
B2
C2
D2
E2
F2
4
S
0.3
13
23
33
43
53
6.3
73
83
93
A3
B3
C3
F)3
h;.3
F:3
h
04
14
24
34
44
54
64
74
84
94
.A4
134
C4
04
!s4
F4
05
15
25
.35
45
55
65
75
55
95
.A5
B5
[:5
D5
E5
F5
06
16
26
36
46
5b
66
76
86
96
.Ab
Bb
C(-J
Db
I-6
F“6
07
17
27
37
47
.57
67
77
87
97
A7
B7
C7
1)7
!-7
E-7
Oh
Ib
2b
3b
48
.58
66
78
86
98
AS
B8
CS
1)8
E8
FEi
09
1Y
29
39
49
59
69
79
$39
99
.A9
B9
C9
1)9
E9
F9
[M
1A
2A
.3A
4A.
5A
6A
7A
6A
9A
.AA
nA
CA
DA
F:A
E“A
OH
iB
2B
3B
4B
5B
OF!
7B
hB
9B
AR
Hi?
(;11
F)B
F;B
FB
OC
I (:
2(:
3C
4C
5C
bC
7C
bC
9(;
AC
13c
CC
IX;
EC
FC
(01) OF
OF
1D
2D
31)
4U
51)
bI)
7D
hI)
91)
AD
[it)
CD
DE
El)
E’D
1F
2F’
3E”
4F
5P’
6F7fi’
1!2E
3E
41?
5E
bF
7E
SE
91?
.4P
BP:
CE
I)F
F:P:
F1-
bF
9F”
AF
BP”
CF’
I)h
EF’
F’P’
................
............
; : ;$O/o&)?<+,– ./
(
0
;
B
PQRSTUVWXY’Z
‘a
p
?
I JKLMNO
[\ 1
i j k
{ I}
................
................
................
................
................
................
................
................
d
Most BASICS, however, are not quite that straightforward. For example, the IBM-PC will
give you a printout similar to Figure 4-8.
When the IBM-PC BASIC interpreter sends hex code OD(carriage return) it adds an extra
hex OA (line feed). Hex code 1A (end-of-file) also gets special treatment: the interpreter
does not send it at all. This can cause problems with graphics or download character data.
However, you can solve this problem by changing line 30 in the preceding program and
adding the coding shown below.
Chapter4 CONTROL PANEL OPERATIONS
27
00
OF
20
3
40
50
60
7’0
80
90
AO
BO
CO
DO
E
FO
O
F
01
10
21
02
11
22
3
41 42
51 52
61 62
71 72
81 82
91 92
Al A2
B1 B2
Cl C2
D1 D2
03
12
23
04
13
24
43
53
63
73
83
93
A3
B3
C3
D3
44
54
64
74
b4
94
A4
B4
C4
D4
F1
F2
F3
F4
4
S
h
05
14
25
07
16
27
45
55
65
75
85
95
A5
B5
C5
D5
06
15
26
3
46
56
66
76
66
96
Ab
Bb
C6
D6
F5
F6
F7
47
57
67
77
87
97
A7
B7
C7
D7
08
Iv
28
38
4
58
68
78
88
98
A8
B8
C
D8
09
18
29
39
OA
19
2A
3A
OB
IB
2B
3B
OC
IC
2C
3C
OD
ID
2D
3D
OA OE
59
69
79
89
99
A9
B9
5A
6A
7A
8A
9A
AA
BA
5B
bB
7B
8B
9B
AB
BB
5C
bC
7C
8C
9C
AC
BC
SD
6D
7D
8D
9D
AD
BD
5E
6E
7E
6E
9E
AE
BE
IE
IF’
2E 21-’
3E 3F
SF
bF
7F
SF
9F
AF
BF
D9 DA DB DC DD DE I)F
E
F
................
............
“; :&%&,
(
)
0
@
P
‘
p
................
... ...........
................
................
................
................
................
................
d
Coding for IBM-PC with monochrome display:
30 GOSUB 100
1
x=INP(&H3BD)
110 OUT &H3BC,I
120 RETURN
:IF X<128 THEN 100
:OUT &H3BE,5 :OUT &H3BE,4
Coding for IBM-PC with color adapter:
30 GOSUB 100
100 X=INP(8ZH379)
110 OUT &H378,1
120 RETURN
:IF X<128 THEN 100
:OUT &H37A,5
:OUT &H37A,4
Pitch lock mode
Ibuttondown during power-up, the print pitch can onlybe
Byholdingthel
selected from the control panel. This prevents software interference. You will hear an
acknowledging beep as power comes on.
Afterthe beep tone, you can set the printer off-line, select aprintpitch, thenretum toonlineandstartprinting.Thepitch youselectedwillnotberesetor otherwisechangedbyany
commands your softwaremay issue.
28
Chapter 5
D
S
S
The bank of DIP (Dual In-line Package) switches inside the printer is used to define the
various default printer functions.
This chapter explains where the DIP switches are located, and how to use them.
LOCATION OF THE DIP SWITCHES
When you open the top cover and the paper cover and look inside, you will see the small
compartment at the right side of the printer with small white switches. These are the
printer’s DIP switches, named 1 to 10 from left to right.
I
/7gufe
5-1.
s
l
i
p
c
For all switches, the ON position is towards the back of the printer and the OFF position
is towards the front. To set a DIP switch, use a ballpoint pen or other small implement to
move the switch to the ON or OFF position.
The printer’s power should be off when you set the DIP switches. Settings made while
power is on do not take effect until power is switched off, then on again, because the printer
reads the DIP switches only at power-up.
Chapter5 DIP SWITCH SETTINGS
29
FUNCTIONS OF THE DIP SWITCHES
The printer is factory-set with all DIP switches in the ON position. These are the standard
settings. By changing the settings, you can alter various printer functions to match your
requirements. The following questions will help you choose the proper settings.
Switch
1
2
3
4
5
6
7
8
9
10
Function
Emulation
RAM usage
Auto LF with CR
Automatic Sheet Feeder
Font style
Print mode
Character set
(Standard mode)
Character set
(IBM mode)
International Character Set
or
IBM Code Page
ON
Standard
Buffer
Disabled
Inactive
Tms Romn
Normal size
OFF
IBM
Download
Enabled
Active
Helvet
Quarter size
Graphics
Italics
Set #2
Set #l
Switch 1: Do you want to use the printer in standard mode or IBM mode?
Select the mode compatible with your computer and software. In standard mode the printer
operates like the Epson LQ-850. In IBM mode it operates like the IBM Proprinter X24E.
The ON position selects standard mode. The OFF position selects IBM mode.
Switch 2: Does your software download new characters to the printer with the Standard
mode?
In order to download characters’with the Standard mode, this switch must be in the OFF
position. The printer then uses its RAM memory for storing character patterns and provides
only a one-line print buffer. If you leave this switch ON, the printer uses its RAM memory
as an input buffer, allowing the computer to send data faster than the printer prints.
NOTE: This switch takes no effect with the IBM mode. In the IBM mode, you cannot
download characters.
Switch 3: Do you want an automatic line feed?
If you leave this switch at the ON position, a separate line-feed code is required from your
computer to obtain a line feed.
If you move this switch to the OFF position, the printer performs both a carriage return and
line feed each time it receives a carriage-return code.
Most computer systems send a line feed code, or both a carriage return and line feed, at the
end of each line, so this switch should be left ON.
If you get double line spacing when you expect single spacing, or if lines overprint each
other, try changing the setting of this switch.
Switch 4: Are you going to use the optional Automatic Sheet Feeder (ASF)?
In order to use the optional Automatic Sheet Feeder, move this switch to the OFF position.
Otherwise leave it ON.
Switch 5: Do you want to print with Roman font style or H-Gothic font style?
This printer has two font styles: Roman and H-Gothic.
The ON position selects the Roman font style, and the OFF position selects the H-Gothic
font style as the power-on default.
Switch 6: Do you want to print quarter sized mode?
This printer has special print mode. If you move this switch to the OFF position, all data
received are printed in half-sized both horizontally and vertically. This mode is called as
“Quartersized print mode”. If you leave this switch ON, the printer prints with normal print
mode.
Switch 7: The action of this switch depends on the mode chosen with switch 1.
If you selected standard mode, do you want italics or graphic characters?
Set this switch OFF to print italics in the standard character set. If you leave this switch to
the ON position, in place of italics you will get the graphic characters, international
characters, and mathematical symbols of IBM character set #2.
If you selected IBM mode, do you want IBM character set #1 or #2?
ON selects character set #2, which is for computers with an 8-bit interface (the most
common kind).
OFF selects character set #1, for computers with a 7-bit interface.
Switches 8 to 10: Do you want an international character set or IBM code page?
International character sets differ in their assignment of 14character codes in the Standard
Italic character set. See the character tables at the back of this manual. With these switches
you can select one of eight character sets as follows:
Country
U.S.A.
France
Germany
England
8
ON
OFF
ON
OFF
10
9
ON ON
ON ON
OFF ON
OFF ON
Country
Denmark I
Sweden
Italy
Spain I
8
9
ON ON
OFF ON
ON OFF
OFF OFF
10
OFF
OFF
OFF
OFF
Except in the Standard Italic character set, these switches select the default character code
page as shown below:
Code Page
#437 U.S.A.
#850 Multi-Lingual
#860 Portuguese
#861 Icelandic
8
ON
OFF
ON
OFF
9
ON
ON
OFF
OFF
10
ON
ON
ON
ON
Code Page
#863 Canadian French
#865 Nordic
(Reserved)
(Reserved)
8
ON
OFF
ON
OFF
9
ON
ON
OFF
OFF
10
OFF
OFF
OFF
OFF
Chapter5 DIP SWITCH SETTINGS
31
32
Chapter
P
$;”””:’
.,.M:Sk$g,,,%
.,.,, ,=., *Bdm8;:3;,&,t,it,,:::,Ep,,.k
.,G%.,.,,8q.3a&
.,:.,:
’
w
,! ,
.
rLs,
*&i/,e
,q
,-
m!rm!!w,,..!.
. . ..
&
s
!
The printer has two emulation modes: Standard mode and IBM mode.
In standard mode, the printer emulates the functions of the Epson LQ-850. In IBM mode,
the printer emulates the IBM Proprinter X24E.
Additional command codes are included as a superset of these emulations.
The emulation is changed by means of DIP switch 1.When this switch is set ON, the printer
will be in standard mode, and when this switch is set OFF, the printer will be in IBM mode
(see Chapter 5).
It is not possible
tochange the emulation by means of software control.
This chapter describes the printer’s control commands. Some commands are common to
both the standard and IBM modes. In the descriptions of the commands, all commands will
given by functions. The name of each command is followed by a table like the one below:
<
“
27
120
49
IB
78
31
27
120
1
IB
78
01
S
<
Mode:
Indicates the mode in which the command is recognized.
Std. Standard mode (DIP switch 1 is ON.)
IBM IBM mode (DIP switch 1 is OFF.)
Both Both standard and IBM modes
ASCII:
Indicates the ASCII coding of the command. Control characters are
enclosed in pointed brackets: For example, <1> means character code 1.
Decimal: Gives the command in decimal character codes.
Hexadecimal: Gives the command in hexadecimal character codes.
Parameters for which values must be supplied are indicated by italic letters such as n, m or
d.
Chapter6 PRINTER CONTROL COMMANDS
33
FONT CONTROL COMMANDS
Select Economy mode
<
“
<
“O”
<O>
27
120
48
IB
78
30
27
120
0
IB
78
00
Changes from High Quality mode to Economy mode.
The print speed is the same in both the Economy and HQ (High Quality) mode, but
the Economy mode uses less ink.
Ignored if the Economy mode was selected with the control panel.
Select High Quality mode
<ESC>
<ESC>
S
“
27
120
49
IB
78
31
“
27
120
1
IB
78
01
Changes from Economy mode to High Quality mode.
Ignored if the Economy mode was selected with the control panel.
Select print quality
IBM
<o>
<ESC> “[”
<1>
27 91 100
0
16 5B 64 00
in
n
01
n
Selects the print quality according to the value of n as shown below.
n
Print quality
No change
Economy mode
High Quality
Factory default
o
1-127
128-254
255
Ignored if the Economy mode was selected with the control panel.
Select Tms Romn font
,, ,,
B
<
“ ,>
“F”
“0”
“ )“
“)”
“o”
40 40 70 41 41 48
27
107
48
28 28 46 29 29 30
IB
6B
30
Selects the Tms Romn font. This is the default font if DIP switch 5 is set to ON.
34
Select H-Gothic font
,, ,>
B
,, ,,
“F”
“ “
“ “
“L”
<ESC> “k” <FF>
40 40 70 41 41 76
27 107
12
28 28 46 29 29 4C
IB
6B
OC
Selects the H-Gothic font. This is the default font if DIP switch 5 is set to OFF.
Select italic characters
<ESC> “4”
27
52
IB
34
IB
35
Causes subsequent characters to be printed in italics.
Select upright characters
27
<ESC> “5”
53
Stops italic printing and causes subsequent characters to be printed upright.
Emphasized printing
Both
27
<ESC> “E”
69
IB
45
Causes subsequent characters to be emphasized by adding extra thickness to
vertical strokes.
Cancel emphasized printing
Both
<ESC> “F”
27
70
IB
46
27
71
IB
47
Cancels emphasized printing.
Double-strike printing
<ESC> “G”
Causes subsequent characters to be printed in double-strike mode with a slight
vertical paper motion in between, causing a thickening of horizontal strokes.
Chapter6 PRINTER CONTROL COMMANDS
35
Cancel double-strike printing
Both
<ESC> “H”
27
72
27
45
27
45
IB
48
49
IB
2D
31
1
IB
2D
01
Cancels double-strike printing.
Start underlining
I
I
I
Both
<ESC> “-”
<ESC> “-”
“l”
<1>
I
I
Causes subsequent characters to be underlined. IBM block graphics characters and
spaces skipped by horizontal tabulation are not underlined.
Stop underlining
Both
<ESC> “-”
“O”
27
45
48
IB
2D
30
<ESC> “-”
<O>
27
45
0
IB
2D
00
27
95
49
IB
5F
31
27
95
1
16
5F
01
Stops underlining.
Start overlining
<~sc>
IBM
‘,–,, ‘<~,!
<ESC> “-”
<1>
Causes subsequent characters to be overlined. Spaces skipped by horizontal
tabulation are not overlined.
Stop overlining
<Esc>
IBM
“->, “~!>
<ESC> “-”
Stops overlining.
36
<O>
27
95
48
IB
5F
30
27
95
0
IB
5F
00
Select score
I
]
I
I
I
<3>
“-”
n2
<O> <1> nl
<ESC> “(”
27 40 45
O 1 d
3
n2
I
IB 28 2D 03
00 01 nl n2
Start score according to the values of nl and n2, as shown below.
nl
1
2
3
Function
Underlining
Strike-through
Overlining
n2
Function
o
Cancel score
Single continuous line
Double continuous line
Single broken line
Double broken line
1
2
5
6
Select ornament character
“q”
27
n
113
n
IB
71
n
Selects an ornament character according to the value of n, as shown below.
n
o
1
2
3
Character
Normal
Outline
Shadow
Shadow and outline
Superscript
Mode ASCII
Both
<ESC> “S” “O”
<ESC> “S” <O>
Hexadecimal
Decimal
27
83
48
IB
53
30
27
83
0
IB
53
00
Causes subsequent characters to be printed as superscripts. Does not change the
character pitch.
Chapter6 PRINTER CONTROL COMMANDS
37
1
.Subscript
Both
<ESC> “S” “l”
27
83
49
IB
53
31
<ESC> “S” <1>
27
83
1
IB
53
01
Causes subsequent characters to be printed as subscripts. Does not change the
character pitch.
Cancel superscript or subscript
Both
<ESC> “T”
27
84
IB
54
Stops printing superscripts or subscripts and returns to nortnal printing.
38
CHARACTER SET COMMANDS
Select standard character set
I
I
I
Both
Std.
<ESC> “t”
“o”
27
116
48
IB
74
30
74
00
<ESC> “t”
<o>
27
116
0
IB
<FS>
“I”
“o”
28
73
48
IC
49
30
<FS>
“I”
<o>
28
73
0
IC
49
00
Selects the standard character set. This is the power-up default in Standard mode
if DIP switch 7 is set to OFF.
Select IBM character set
Std.
27
116
49
IB
74
31
<ESC> “t”
<1>
27
116
1
IB
74
01
<FS>
“I”
“1“
28
73
49
IC
49
31
<FS>
“I”
<1>
28
73
1
IC
49
01
Selects an IBM character set. This is the power-up default in IBM mode, or DIP
, switch 7 is set to ON in standard mode.
Select character set #l
27
55
IB
37
27
54
IB
36
Selects character set #1.
Select character set #2
Selects character set #2.
Chapter6 PRINTER CONTROL COMMANDS
39
Select international character set
<ESC> “R”
27
n
82
n
IB
52
n
Selects an international character set in the Standard character set according to the
value of n.
n
o
1
2
3
4
5
6
7
Character set
Japan
Norway
Denmark II
Spain II
Latin America
Korea
Irish
Legal
n
8
9
10
11
12
13
14
64
Character set
U.S.A
France
Germany
England
Denmark I
Sweden
Italy
Spain I
Select IBM code page
“T”
Both
<O>
<O>
<4>
nl
n2
<o>
27 91 64
O
0 d
4
n2
0
IB
5B 54 04 00
00 00 nl
n2
Changes the code page of the current IBM chm-acterset according to the values of
d and n2.
id
1
3
3
3
3
3
n2
Code Page
#437 U.S.A.
#850 Multi-lingual
#860 Portuguese
#86’1 Icelandic
#863 Canadian French
#865 Nordic
181
82
92
93
95
97
One of these code pages can be selected as power-up defaults by DIP switches 8
to 10.
Enable printing of all character codes
IBM
<ESC> ‘Y”
nl
n2
27 92 nl n2
IB 5C nl
n2
Enables printing of all characters in the IBMcharacterset, includingthose assigned
to character codes which are normally considered control codes. This command
remains in effect for the next r.d+n2 x 256 characters,where rd and n2 are numbers
between Oand 255.
During this interval no control functions are executed. If a code with no assigned
character is received, the printer prints a space.
40
Enable printing of all character codes on next character
IBM
<ESC> “A”
n
27
94
n
IB
5E
n
This command operates like <ESC> ‘1”except that it remains in effect for only one
character.
Select slash zero
27 126
<ESC> “-”
<1>
27
126
49
IB
7E
31
1
IB
7E
01
Causes subsequent zero characters to be overprinted with a slash (~).
Select normal zero
27 126
27 126
48
0
IB
IB
7E
7E
30
00
Causes subsequent zero characters to be printed normally (0), without a slash.
Chapter6 PRINTER CONTROL COMMANDS
41
CHARACTER SIZE AND PITCH COMMANDS
Pica pitch
I
I
I
<ESC> “P”
<DC2>
Std.
IBM
I Hexadecimal
27
80
IB
18
I
50
12
In Standard mode, changes from either elite or semi-condensed to pica pitch (10
cpi) or from condensed elite to condensed pica (17 cpi). In IBM mode, changes
from either elite or condensed to pica (10 cpi). Ignored if the PITCH LOCK mode
was selected during power-up.
Select pica characters with Economy mode
I
I IBM I <ESC>
“1” <0>
I
I 27
73
0
I Hexadecimal
I
I
I
IB
49
00
Changes to pica pitch (10 cpi) with Economy mode. Ignored if the PITCH LOCK
mode was selected during power-up.
Select pica characters with High Quality mode
I
I
I IBM I <ESC>
“1” <2>
1
I 27
73
2
I Hexadecimal
I
I
I
IB
49
02
Changes to pica pitch (10 cpi) with High Quality mode. Ignored if the PITCH
LOCK mode was selected during power-up, or the Economy mode was selected
with the control panel.
Elite pitch
I
I
I
<ESC> “M”
<ESC> “:”
Std.
IBM
I Hexadecimal
27
77
IB
4D
27
58
IB
3A
I
Changes from either pica or semi-condensed to elite pitch (12 cpi) or from
condensed pica to condensed elite (20 cpi). Ignored if the PITCH LOCK mode was
selected during power-up.
Select elite characters with Economy mode
I
I IBM I <ESC> “l”
I
<8>
I 27
73
8
I
IB
49
08
Changes to elite pitch (12 cpi) with Economy mode. Ignored if the PITCH LOCK
mode was selected during power-up.
42
I
Select elite characters with High Quality mode
IBM
<ESC> “I”
<LF>
27
73
10
IB
49
OA
Changes to elite pitch (12 cpi) with High Quality mode. Ignored if the PITCH
LOCK mode was selected during power-up, or the Economy mode was selected
with the control panel.
Semi-condensed pitch
IB
27 103
67
Changes from either pica or elite to semi-condensed pitch (15 cpi). Ignored if the
PITCH LOCK mode was selected during power-up.
Condensed printing
~
I
<S1>
<ESC> <S1>
Both
15
27
OF
15
IB
OF
, Changes
from pica to condensed pica (17 cpi) or from elite to condensed elite (20
cpi). Ignored if the PITCH LOCK mode was selected during power-up.
Select condensed characters with Economy mode
IBM
<ESC> “I”
<16>
27
73
16
IB
49
10
Changes to condensed pitch (17 cpi) with Economy mode. Ignored if the PITCH
LOCK mode was selected during power-up.
Select condensed characters with High Quality mode
I
IBM
<ESC> “I”
<DC2>
27
73
18
IB
49
12
Changes to condensed pitch (17 cpi) with High Quality mode. Ignored if the
PITCH LOCK mode was selected during power-up, or the Economy mode was
selected with the control panel.
Chapter6 PRINTER CONTROL COMMANDS
43
Cancel condensed printing
Both
<DC2>
18
12
In Standard mode, changes from condensed pica to normal pica or from condensed
elite to normal elite. In IBM mode, always changes to normal pica. Ignored if the
PITCH LOCK mode was selected during power-up.
Expanded printing
Both
<ESC> “W” “l”
<ESC> “W” <1>
27
27
87
87
49
1
IB
57
31
IB
57
01
Causes subsequent characters to be expanded to double width.
Cancel expanded printing
Both
<ESC> “W” “O”
27
87
48
IB
57
30
<
27
87
0
IB
57
00
+Stops expanded printing and returns to normal width.
Expanded printing for one line
Both
<so>
<ESC> <SO>
27
14
IB
Causes subsequent characters in the current line to be expanded to double width.
Characters return to normal width after the next line feed (<LF>). The <DC4>,
<VT>, <1%-, and <ESC> “W” Ocommands also cancel expanded printing.
Cancel one-line expanded printing
Both
<DC4>
20
14
Stops one-line expanded printing set with <S0> or <ESC> <S0>.
Does not cancel <ESC> “W” 1.
44
Select character
width
28
n
69
n
IC
45
n
Select a character width according to the value of n as shown below.
n
o
1
2
Character width
Normal-wide
Double-wide
Triple-wide
Select proportional spacing
IBM I <ESC> “P” <1>
27 112
27 112
27 80
49
1
IB
IB
70
70
31
01
1
IB
50
01
Causes subsequent characters to be proportionally spaced. Ignored if the PITCH
LOCK mode was selected during power-up.
Select proportional characters with High Quality mode
IBM
<ESC> “I”
<3>
27
73
3
IB
49
03
Changes to proportional pitch with High Quality mode. Ignored if the PITCH
LOCK mode was selected during power-up, or the Economy mode was selected
with the control panel.
Select fixed spacing
27 112
27 112
TRM
<ES(7> “P”
<o>
27
80
48
0
IB
IB
70
70
30
00
0
IB
50
00
Causes subsequent characters to be printed with fixed character spacing. Ignored
if the PITCH LOCK mode was selected during power-up.
Chapter6 PRINTER CONTROL COMMANDS
45
Select master print mode
I
I
Std.
<ESC> “!”
n
27
33
n
IB
21
n
Selects a combined print mode according to the value of n. The value of n is the sum
of the values given below for the desired characteristics.
Function
Underline
Italic
Expanded
Double strike
Emphasized
Condensed [*]
Proportional [*]
Elite [*]
n value
128
64
32
16
8
4
2
1
[*] Ignored if the PITCH LOCK mode was selected during power-up.
Examples: n = 1 gives elite; n = 9(1 +8) gives emphasized elite; n = 137(1 + 8 +
128) gives underlined emphasized elite.
Increase character spacing
n
27
32
n
IB
20
n
Increases the space between characters by n dots, where n is a number from Oto
127. Used in microjustification.
Select double or quadruple size
n
27
104
n
IB
68
n
Selects the size of subsequent characters as shown below. Extra-high characters
align along the cap-line of normal characters, with the base line temporarily
moving down. Line spacing is temporarily doubled when n = 1 and quadrupled
when n = 2.
n
O
1
2
46
Effect
Normal size
Double-high, double-wide
Quadruple-high, quadruple-wide
Select character size
“(”
“s”
“(”
“)”
“)”
40 40 83 41 41
d
28 28 53 29 29
d
d
Selects a combination of character height and width according to the value of d, as
below. Does not move the base line.
d
o
1
2
3
Line spacing
Single width
Double width
Single width
Double width
Character height
Single weight
Single height
Double height
Double height
Print double-height characters
“W”
Std.
“l”
27
119
49
IB
77
31
77
01
<ESC>
“W”
<~>
27
119
1
IB
<
“v”
“l”
28
86
49
IC
56
31
<FS>
“v”
<1>
28
86
1
IC
56
01
Prints subsequent characters at double height without moving the base line, and
<without changing the line spacing.
Return to normal height
I
Std.
I Hexadecimal
I
I
IB
30
IB
77
00
IC
56
30
56
00
119
<O>
27
119
0
28
86
48
28
86
0
IC
“
“O”
<ESC>
“
<FS>
“v”
“o”
I-<FS>
“v”
<o>
]
48
77
27
<ESC>
I
1
I
Terminates double-height printing and prints subsequent characters at normal
height.
Chapter6 PRINTER CONTROL COMMANDS
47
Select character height, width, and line spacing
IBM
<ESC> “[”
<O>
Y@” <4>
<O>
n
m
<o>
27 91 64
4
0
O
IB
5B 40 04 00
00 00
n
m
Selects a combination of character height, width, and line spacing according to the
value of n and m, as below. Does not move the base line.
48
Character height
Unchanged
Single height
Double height
Unchanged
Single height
Double height
Unchanged
Single height
Double height
1
2
16
17
18
32
33
34
Line spacing
Unchanged
Unchanged
Unchanged
Single
Single
Single
Double
Double
Double
m
1
2
Character width
Single width (same as <ESC> “W” O)
Double width (same as <ESC> “W” 1)
n
VERTICAL POSITION COMMANDS
Set line spacing to 1/8 inch
27
IB
48
30
Sets the distance the paper advances in subsequent line feeds to 1/8 inch.
Set line spacing to 7/60 or 7/72 inch
27
IB
49
31
Sets the distance the paper advances in subsequent line feeds to 7/60 inch (standard
mode) or 7/72 inch (IBM mode).
Set line spacing to 1/6 inch
27
50
IB
32
Sets the distance the paper advances in subsequent line feeds to 1/6 inch.
Set line spacing to n/360 inch
[
I
[
Std.
<ESC> “+”
<FS> “3”
I
n
27
43
n
IB
2B
n
n
28
51
n
IC
33
n
Sets the distance the paper advances in subsequent line feeds to n/360 inch, where
n is between Oand 255. .
Set base unit for line spacing
IBM
<ESC> “[”
<O>
‘A”
<O>
<4>
<O>
n
<0>
27 91 92
O
4
0
IB 5B 5C 04 00
00 00 00
n
Sets the base unit for the line spacing commands, <ESC> “3” and <ESC> “J”. If
the value of n is 180,the base unit is set to 1/180”.If the value of n is 216, the base
unit is set to 1/216”. If otherwise specified, this command is ignored. This
command becomes effective only after <ESC> “3” or cESC> “J” is received, The
default base unit is set to 1/216”.
Chapter6 PRINTER CONTROL COMMANDS
49
Set line spacing to n/180 inch or n/216 inch
I
Both ] <ESC> “3”
27
n
51
n
IB
33
n
Sets the distance the paper advances in subsequent line feedstorz/180inchorn/216
inch, where n is between Oand 255. If n =O,in Standard mode the line-feed distance
is set to O,but in IBM mode this command is ignored.
Set line spacing to n/60 inch or n/72 inch
I
I Both ] <ESC> “A” n
I
27
65
n
I
IB
41
n
I
In Standard mode, sets the distance the paper advances in subsequent line feeds to
n/60 inch, where n is between Oand 255. If n = O,the line spacing is set to O.
In IBM mode this command defines the distance the paper advances in subsequent
line feeds to n/72 inch, where n is between 1and 85. The new line spacing does not
take effect until next <ESC> “2” command.
Execute <ESC> “A”
IBM
<ESC> “2”
27
50
IB
32
Sets the line spacing to the value defined by the last preceding <ESC> “A”
command. Sets the line spacing to 1/6 inch if there is no preceding <ESC> “A”
command.
Line feed
I
Both
<LF>
10
OA
Prints the current line and feeds the paper to the next line. See the preceding
commands for the line spacing.
Perform one n/180-inch or n/216-inch line feed
]
I
n
27
74
n
IB
4A
n
Feeds the paper once by n/180 inches or n/216 inches, where n is between 1 and
255. Does not move the print position right or left in the standard mode. Does not
change the line-spacing setting.
50
Feed paper n lines
<ESC> “f’
<ESC> “f’
n
n
“ l“
<1>
27102 49
27102
1
n
n
IB
66 31
IB
66 01
n
n
Feeds the paper n lines from the current line, where n is between Oand 127.
Set top of page at current position
<ESC> “4”
IBM
27
52
IB
34
Sets the current position as the top-of-page position. Note that this can also be done
from the control panel.
Set bottom margin
I
Both
J
<ESC> “N” n
27
78
n
IB
4E
n
Sets the bottom margin ton lines, where n is between 1and 127in Standard mode
or between 1 and 255 in IBM mode.
Cancel bottom margin
<ESC> “O”
27
79
IB
4F
Cancels the bottom margin.
Form feed
12
<FF>
Feeds the paper to the top of the next page, and moves the print position to the left
margin.
Set vertical tab stops
Both
<ESC>
“B”
nl
n2
4)>
27 66
11/
n2 .
0
IB 42 nl n2
00
Cancels all current vertical tab stops and sets new vertical tab stops at lines nZ, n2,
etc., where nf, n2, etc. are numbers between 1and 255. A maximum of 16vertical
tab stops can be set. The tab stops must be specified in ascending order; any
violation of ascending order terminates the lab stop list. Standard termination is by
the <0> control code. The vertical tab stops are set in terms of the current line
spacing and do n.. ..ove if the line spacing is changed later.
Chapter6 PRINTER CONTROL COMMANDS
51
Set vertical tab stops every n lines
<ESC> “e”
<ESC> “e”
“l”
<1>
n
n
27101 49 n
IB 65 31 n
27101
IB
1
n
65 01
n
Cancels all current vertical tab stops and sets new tab stops every n lines, where n
is between 1 and 127.
Set vertical tab stops in channel
<ESC> “b”
nO nl
n2
....
27 98 no n]
<0>
n2
IB
.
0
nO nl
n2
00
62
Cancels all current vertical tab stops in channel roll,(where rdlis between Oand 7)
and sets new vertical tab stops in this charnel. (A channel is a set of vertical tab
stops selected by the <ESC> “/” command.) See <ESC> “B” for parameters n], n2,
... <o>.
Select vertical tab channel
nO
‘
47
nO
IB
2F
no
Selects a set of vertical tab stops designated by a channel number (T@from Oto
7. The tab stops in each channel are set by <ESC> “b”.
Vertical tab
Both
Feeds the paper to the next vertical tab stop and moves the print position to the left
margin. Performs a line feed if no vertical tabs are set, as at power-up. Feeds to the
top of the next page if vertical tabs are set but the current line is at or below the last
vertical tab stop.
52
HORIZONTAL POSITION COMMANDS
Set left margin
I
I
Std. ] <ESC> “l”
I
n
27
108
n
I
IB
6C
n
I
Sets the left margin at column n (where n is between O and 255) in the current
character pitch (pica pitch if proportional spacing is selected). The left margin does
not move if the character pitch is changed later. The left margin must be at least two
columns to the left of the right margin and within the limits below:
()= ~ 576
O<n =38
Pica
Expanded pica
()=
~
=91
()<~ =45
Elite
Expanded elite
Expanded semi-condensed Osn =57
Semi-condensed Osn= 114
OSn s64
Expanded condensed pica
Condensed pica Osn S 130
OSn s76
Expanded condensed elite
Condensed elite O~ns 152
Set right margin
n
27
81
n
IB
51
n
Sets the right margin at column n in the current character pitch (pica pitch if
proportional spacing is currently selected). Column n becomes the last character
position in the line.
The right margin does not move if the character pitch is changed later. The right
margin must be within the limits below:
Pica
Elite
Semi-condensed
Condensed pica
Condensed elite
4S n s80
55 n s96
6sn ~120
7= n =137
8~n S160
2 Sn S40
3 ~ ~ 548
Expanded pica
Expanded elite
Expanded semi-condensed
Expanded condensed pica
Expanded condensed elite
3Sn S60
45n 568
4~n~ 80
Set left and right margjns
]
IBM ] <ESC> “X”
I
nl
n2
27 88 nl n2
IB
58
nl n2
Sets the left margin at column nl and the right margin at column rz2. See the
preceding commands for margin restrictions and other notes.
Carriage return
)
Both ] <CR>
13
Prints the current line and returns the next print position to the left margin. If DIP
switch 3 is set to OFF, also performs a line feed.
Chapter6 PRINTER CONTROL COMMANDS
53
Set automatic line feed
IBM
<ESC> “5” <1>
27
53
1
IB
35
01
Causes the printer to perform both a carriage return and line feed each time it
receives a <CR> code. This command takes priority over DIP switch 3.
Cancel automatic line feed
IBM
<ESC> “5” <O>
27
53
0
IB
35
00
Causes the printer to perform only a carriage return when it receives a <CR> code.
This command takes priority over DIP switch 3.
Backspace
8
Moves the 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.
Left justify
<
“a” <0>
27
97
48
IB
61
30
27
97
0
IB
61
00
Aligns subsequent text with the left margin, leaving the right margin ragged.
Center text
27
27
97
97
49
1
IB
IB
61
61
31
01
IB
IB
61
61
32
02
Centers subsequent text between the left and right margins.
Right justify
27
27
97
97
50
2
Aligns subsequent text with the right margin, leaving the left margin ragged.
54
Set horizontal tab stops
Both
<ESC>
“D”
n]
n2
.,..
<O>
27 68 nl n2 ....
0
IB 44 nl n2
00
Cancels all current horizontal tab stops and sets new tab stops at columns nl, n2,
etc. in the current character pitch (pica pitch if proportional spacing is currently
selected), where nl, n2, etc. are numbers between 1 and 255. The maximum
number of horizontal tab stops allowed is 32 in Standard mode and 64 in IBM
mode. The tab stops must be specified in ascending order; any violation of
ascending order terminates the tab stop list. Standard termination is by the <0>
control code. To clear all tab stops, specify <ESC> “D” <0>.
Set horizontal tab stop every n co/umns
Std.
<ESC> “e”
“0”
<
<O>
n
n
27101 48
n
IB
65 30
27101
n
IB
65 00
0
n
n
Cancels all current horizontal tab stops and sets new tab stops every n columns,
where n is between 1 and 127.
Reset all tab stops
I
IBM
/
<ESC> ‘CR”
27
82
IB
52
Resets the horizontal tab stops to their power-up values in which a tab stop is set
every 8 column starting at column 9. Also clears all vertical tab stops.
Horizontal tab
)
Both
I
<HT>
9
Moves the print position to the next horizontal tab stop. Ignored if there is no next
horizontal tab stop in the current line. Note that when underlining is selected,
spaces skipped by horizontal tabulation are not underlined.
Chapter6 PRINTER CONTROL COMMANDS
55
Relative horizontal tab
I
I
I
I
Std.
<ESC> ‘Y”
nl
27 92 nl n2
n2
Hexadecimal
IB 5C
1
nl n2
Moves the print position right or left a specified distance. Ignored if the resulting
position is beyond the right or left margin. The formulas for the distance and
direction are as follows:
If n2 is between Oand 63, the print head moves right by (n] + n2 x 256) dots.
If you want to move the print head to the left, n] and rz2are obtained by subtracting
the value from 65536, and dividing the result into high and low bytes.
Relative horizontal tab in inches
I
I
IBM / <ESC> “d”
I
nl
n2
I Hexadecimal
IB 64 nl n2
2
I
Setsthe next print position to (n]+ n2 x 256)/120 inches from the current position.
Ignored if this position is beyond the right margin.
Absolute horizontal tab in inches
<ESC> “$”
nl
n2
27 36 nl n2
IB
24
nl n2
I
Sets the next print position to (TZI+ rz2x 256)/60 inches from the left margin on the
current line. Ignored if this position is beyond the right margin.
Absolute horizontal tab in columns
<ESC> “f’
“O” ‘n
<O> n
27102 48
n
IB
66 30
27102
n
IB
66 00
0
n
n
Moves the next print position to column n from the left margin, where n is between
Oand 127.
56
GRAPHICS COMMANDS
Print normal-density 8-bit graphics
I
I
<ESC> “K”
Both
nl
27 75 nl n2
n2
ml
ml m2
m2
I Hexadecimal
IB 4B nl n2
ml m2
I
Prints bit-image graphics at 60 dots per inch horizontally. The graphic image is 48
dots high and nl +n2 x 256 dots wide. Maximum width is 8 inches (480 dots).
ml, m2, ... are the dot data, each a l-byte value from O to 255 representing 48
vertical dots, with the most significant bit at the top six dots and the least significant
bit at the bottom six dots.
The number of data bytes must be rd +n2 x 256. Dots beyond the right margin are
ignored.
At the end of bit-image printing the printer returns automatically to character
mode.
Print double-density 8-bit graphics
<ESC> “L”
nl
<ESC> “Y”
27 76 nl n2
n2
ml
n2
nl
ml
IB
4C nl n2
ml m2
IB
59 nl
ml m2
m2
27 89 nl n2
n2
m2
Prints bit-image graphics at 120 dots per inch horizontally (maximum 960 dots
wide).
See <ESC> “K” for other information.
Print quadruple-density 8-bit graphics
I
~
I
I I
Both
<ESC> “Z”
nl
n2
ml
m2
27 90 nl n2
ml m2
I
I Hexadecimal
IB 5A nl n2
ml m2 .,.
I
I
I
Prints bit-image graphics at 240 dots per inch horizontally (maximum 1920 dots
wide), skipping every second dot in the horizontal direction. See <ESC> “K” for
other information.
Chapter6 PRINTER CONTROL COMMANDS
57
Print hex-density 24-bit graphics
I
I I
<FS>
S
“Z” nl
n2
ml
m2 m3
I
28 90 nl n2
ml m2 m3
I
IC 5A nl n2
ml m2 m3
I
Prints 24-bit dot graphics at 360 dots per inch horizontally. The graphics image is
48 dots high and nl + n2 x 256 dots wide. Maximum width is 8 inches (2880 dots).
In the data ml, m2,m3 ... each three bytes represent 48 vertical dots. In the leftmost
position, the most significant bit of ml is the top and second dot; the least significant bit of mZis the 15th and 16th dot from the top; the most significant bit of m2
is the 17thand 18thdot; the least significant bit of m2is the31st and 32nd dot from
the top; the most significant bit of m3is the 33rd and 34th dot from the top; the least
significant bit of m3is the bottom two dots. The rest of data is similar. The number
of data bytes must be 3 x (n] + n2 x 256). Dots beyond the right margin are ignored.
At the end of dot graphics printing, the printer returns automatically to character
mode.
Print hex-density 48-bit graphics
<ESC> “l” “*”
nl
n2
ml
m2 m3
2
nl n2
ml m2 m3
nl n2
ml m2 m3
IB 7C 2A
Prints 48-bit dot graphics at 360 dots per inch horizontally. The graphics image is
48 dots high and nl + n2 x 256 dots wide. Maximum width is 8 inches (2880 dots).
In the data ml, m2, m3 ... each six bytes represent 48 vertical dots. In the leftmost
position, the most significant bit of ml is the top dot; the least significant bit of mZ
is the eighth dot from the top; the most significantbit of m2is the ninth dot; the least
significant bit of m2 is the sixteenth dot from the top, and so on. The rest of data
is similar. The number of data bytes must be 6 x (rd +n2 x 256).Dots beyond the
right margin are ignored. At the end of dot graphics printing, the printer returns
automatically to character mode.
58
Select graphics mode
Std.
4Y3G
“*”
n2
nO
ml
27 42 nO nl
nl
IB
2A nO nl
n2 ml m2
n2 ml m2
m2
Selects one of eleven graphics modes depending on the value of nOand prints bitimage graphics in this mode. See <ESC> “K” (for 8-bit graphics), <FS> “Z” (for
24-bit graphics) or <ESC> “l” “*” (for 48-bit graphics) for information
on nl, n2, ml, m2, ...
nO
o
1
2
3
4
6
32
33
38
39
40
64
65
70
71
72
Graphics mode
8-bit Normal-density
8-bit Double-density
8-bit Double-density
8-bit Quadruple-density
8-bit CRT graphics, mode I
8-bit CRT graphics, mode II
24-bit Normal-density
24-bit Double-density
24-bit CRT graphics
24-bit Triple-density
24-bit Hex-density
48-bit Normal-density
48-bit Double-density
48-bit CRT graphics
48-bit Triple-density
48-bit Hex-density
(60 dots per inch)
(120 dots per inch)
(120 dots per inch)
(240 dots per inch)
(80 dots per inch)
(90 dots per inch)
(60 dots per inch)
(120 dots per inch)
(90 dots per inch)
(180 dots per inch)
(360 dots per inch)
(60 dots per inch)
(120 dots per inch)
(90 dots per inch)
(180 dots per inch)
(360 dots per inch)
Select graphics mode
IBM
43SC> “ [“
mO
“g”
nl
ml
n2
28 91 103 nl n2
IB
5B 67 nl
n2
ml m2
m2
Selects one of eight graphics modes depending on the value of mOand prints dot
graphics in this mode. The graphics image is (nl + n2 x 256)– 1 dots wide. See
<ESC> “K” (for 8-bit graphics) or <FS> “Z” (for 24-bit graphics) for information
on ml, m2, ...
mO
o
1
2
3
8
9
11
12
Graphics mode
8-bit Normal-density
8-bit Double-density
8-bit Double-density
8-bit Quadruple-density
24-bit Normal-density
24-bit Double-density
24-bit Triple-density
24-bit Hex-density
(60 dots per inch)
(120 dots per inch)
(120 dots per inch)
(240 dots per inch)
(60 dots per inch)
(120 dots per inch)
(180 dots per inch)
(360 dots per inch)
Chapter6 PRINTER CONTROL COMMANDS
59
Convert graphics density
<ESC> “?”
n
m
27 63
n
m
IB
3F
n
m
Converts graphics defined by subsequent <ESC> “K”, <ESC> “L”, <ESC> “Y”
or <ESC> “Z” commands to a density mode defined by <ESC> “*”. n is “K”, “L”,
“Y” or “Z”, indicating the mode to be converted. m is a code from <0> to <4> or
<6> indicating one of the modes of <ESC> “*”.
60
DOWNLOAD CHARACTER COMMANDS
Define 24-dot download characters
0 nl
n2 mOml m2
dl d2
dx
27 38
Std.
n2 mO ml
dl
d2
m2
al
IB
26 00 nl
n2 mOml m2
dl d2 .,. &
Clears the 48-dot download characters and defines one or more new 24-dot
characters and stores them in RAM for later use. DIP switch 2 must be set to OFF;
otherwise RAM is used as an input buffer, not downloading characters, and this
command is ignored.
nl is the character code of the first character defined and n2 is the character code
of the last character defined. nl must be equal to or less than n2.
The data for each character start with three bytes specifying proportional spacing
attributes: the first byte, mO,specifies the left of the character; the second byte, ml,
specifies the character width; the third byte, m2, specifies the right of the character.
These values must not exceed the following maximum limits:
Character mode
Pica
Elite
Semi-condensed
Proportional
Super/Subscript
Prop. superlsubscript
ml
mO+ml +m2
31
27
19
37
19
37
36
30
24
42
36
42
Next comes the dot data. Normal character height is 24 dots, so there must be 3 x
ml bytes of dot data. If the printer is in super/subscript mode, however, the
character height is 16 dots, so there must be 2 x ml bytes of dot data.
Each data byte indicates eight vertical dots, with the most significant bit being the
top dot, and the least significant bit being the bottom dot.
For further details, please refer to chapter 7.
Chapter6 PRINTER CONTROL COMMANDS
61
Define 48-dot download characters
S
nl
n4
n2 <O> n3
mO ml
m2
dl
d2
27124 38 nl
n2 O n3 n4
mOml m2
dl d2 ,.. dx
&
IB 7C 26 nl
n2 00 n3 n4
mOml m2
dl d2
dx
Clears the 24-dot download characters and defines one or more new 48-dot
characters and stores them in RAM for later use. DIP switch 2 must be set to OFF;
otherwise RAM is used as an input buffer, not downloading characters, and this
command is ignored.
rzl +n2 x 256 indicates how many bytes that will follow with this command.
rz3is the character code of the first character defined and n4 is the character code
of the last character defined. n-?must be equal to or less than n4.
The data for each character start with three bytes specifying proportional spacing
attributes: the first byte, mO,specifies the left of the character; the second byte, ml,
specifies the character width; the third byte,
specifies the right of the character.
These values must not exceed the following maximum limits:
Character mode
Pica
Elite
Semi-condensed
Proportional
Super/Subscript
Prop. super/subscript
ml
mO+ml +m2
31
27
19
37
19
37
36
30
24
42
36
42
Next comes the dot data. Normal character height is 48 dots, so there must be 6
x ml bytes of dot data. If the printer is in super/subscript mode, however, the
character height is 32 dots, so there must be 4 x ml bytes of dot data.
Each data byte indicates eight vertical dots, with the most significant bit being the
top dot, and the least significant bit being the bottom dot.
For further details, please refer to chapter 7.
Select download character set
Std.
“l”
<ESC> “%” <1>
“
27
27
37
37
49
1
IB
25
31
IB
25
01
Selects the download character set. Ignored when DIP switch 2 is set to ON.
62
Shift download character area
<FS>
<FS>
27 116
27 116
28 73
28 73
“I” “2”
“I” <2>
50
2
50
2
IB
IB
IC
IC
74
74
49
49
32
02
32
02
Shifts the download character area defined between Oto 127 to the area between
128 to 255.
Select ROM character set
“910”“O”
<ESC> “Yo” <O>
27
27
58
58
48
0
IB
25
30
IB
25
00
Stops using the download character set and returns to the built-in ROM character
set.
Ignored when DIP switch 2 is set to ON.
Chapter6 PRINTER CONTROL COMMANDS
63
OTHER PRINTER COMMANDS
Set MSB to 1
27
IB
62
3E
Sets the most significant bit of each subsequent byte received to 1, allowing users
with a 7-bit interface to access characters with ASCII codes greater than 127.
Set MSB to O
27
61
IB
3D
Sets the most significant bit of each subsequent byte received to O.
Accept MSB as is
27
IB
35
23
Cancels the preceding commands and accepts the most significant bit as it is sent
o to the printer.
Delete last character sent
<DEL>
7F
127
Deletes the last character received. Ignored if the last character received has
already been printed, or if the last character received was all or part of a command.
Cancel last line
Both
<CAN>
18
24
Deletes the last line currently present in the print buffer.
Set printer off-line
<DC3>
IBM
<ESC> “Q” “$”
19
27
13
81
36
IB
51
24
Sets the printer off-line. The printer disregards all subsequent characters and
commands except <DC1>, which returns it to the on-line. The printer’s ON
indicator does not go off.
64
Set printer on-line
Both
17
<DC1>
Returns the printer 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
button on the control panel.
Stop printing
IBM
27 106
<ESC> “j”
IB
6A
Prints the entire contents of the input buffer, then sets the printer off-line.
The ON
indicator on the control panel goes off.
Be//
7
<BEL>
Sounds a brief beep tone from the printer.
Bi-directional printing
Both
<ESC> “U” “O”
<ESC> “U” <O>
27
85
48
IB
55
30
27
85
0
IB
55
00
Causes subsequent printing to be done in the normal bi-directional mode, which
is faster than uni-directional printing.
Uni-directional printing
B
“l”
<
27
85
49
IB
55
31
27
85
1
IB
55
01
Causes subsequent printing to be done uni-directionally, ensuring maximum
vertical alignment precision.
One-line uni-directional printing
27
60
IB
3C
Immediately returns the print head to the left margin, then prints the remainder of
the line from left to right. Normal printing resumes on the next line.
Chapter6 PRINTER CONTROL COMMANDS
65
Manual feed
Both
,’,,
<EM>
,<(,,
(
“o”
<O>
““
27
““
25
0
IB
40 40 48 41 41
19
00
28 28 30 29 29
Selects manual sheet feeding even when the optional automatic sheet feeder is
mounted. Ignored if DIP switch 4 is set to ON.
Auto feed
Both
<ESC> <EM>
‘,(,, ,,(,,
<4>
“4”
“ )“
27
“)”
25
4
IB
19
04
28 28 34 29 29
40 40 52 41 41
Selects the automatic sheet feeder. Ignored if DIP switch 4 is set to ON.
Eject paper from ASF
Both
<ESC> <EM>
,,(,, ,,(,,
“R”
“R”
“ )“
t Ejects
27
25
82
IB
19
52
28 28 52 29 29
40 40 82 41 41
“)”
the current page. Ignored if DIP switch 4 is set to ON.
Set print start position on ASF
Both
<ESC> <EM> “T” n
“(,, ,’(,,
“T”
‘<) “
27 25 84
“)”
n
n
40 40 84 41 41
IB
n
19 54
n
28 28 54 29 29 n
Skips n/6 inches at the top of the page, where n is equal to or greater than 1.Ignored
if DIP switch 4 is set to ON.
Reset printer
Both
<ESC> “@”
27
64
IB
40
S
<
28
64
IC
40
Reinitializes the printer. Clears the print buffer and returns settings to their powerup values except the Print Quality and Pitch Lock mode set with the control panel,
downloaded characters, ASF selections, or the top of form position.
66
Chapter 7
D
C
With this printer you can create new characters and symbols, download their dot data, and
have them printed in place of selected characters in the regular character set. Characters that
can be generated in this way range from simple but useful symbols like the check mark
through to complex Chinese or Japanese characters.
Regular characters are permanently stored in the printer’s ROM, but characters you design
are downloaded and stored in RAM for use.
Before you start to define your own characters, you must set the DIP switch 2 to OFF.
Otherwise, the RAM is used to store the input buffer, and the download commands are
ignored.
DEFINING YOUR OWN 24-DOT CHARACTERS
Designing and printing your own characters has two requirements: first, designing the
shape of the character, calculating the data necessary to make the shape, and sending that
data to the printer, and secondly, sending the command to print the downloaded characters
instead of the regular characters. There are a number of design constraints for download
characters:
. The matrix or grid on which you design the characters depends upon the print mode as
shown below:
Horizontal
Character mode
Pica characters
31
Elite characters
27
19
Semi-condensed
Proportional
37
19
Super/subscript
Proportional super/subscript
37
Vertical
24
24
16
24
16
16
. The minimum width of ,acharacter is ilve dots.
. Dots cannot overlap.
. You may define any position in the ASCII table upto 127 characters.
Photocopy the grid in Figure 7-1 to help design your new characters. We will use a tiny
representation of a telephone symbol for our example.
Chapter7 DOWNLOAD CHARACTERS
67
Gii
1
1
1
F
7-1.
t
g
s
d
y
2
c
Assigning the character data
Now, we calculate the vertical numerical values of the columns of dots, and enter them
underneath the grid. Each vertical column (which has a maximum of 24 dots) is first divided
into three groups (or two groups for super/subscripts) of eight dots. Each group of eight dots
is represented by one byte, which consists of eight bits.
1 2 3 4 5 6 7 8 9 101112131415161718192021 22232425262726293o3l
1 [ 1 1 1 1
I 1 1 1 1 I I I I I ! I [ ! ,
.“.
32
16
6
4
2
1
F
7-2.
T
s
w
2
p
ASCII Code:
m
Left space:
3
Character width:
2
Right space:
This is where the numbers down the left side of the grid come in. Notice that there is a
number for each row of dots and that each number is twice the number below it. By making
these numbers powers of two we can take any combination of dots in a vertical column and
assign them a unique value.
Assigning a value of character space
Besides being able to specify the actual width of the character, this printer allows you to
specify the position in the standard grid where the character will print. You must specify
the dot column in which the printed character starts and the dot column in which the
character ends. Why, you may ask, would you want to define a character this way instead
of merely defining the overall width of the character? Because this printer’s proportional
character definitions can also be used to print normal width characters, and by centering
even the narrow characters in the complete grid they will look good even you are not
printing them proportional.
The three bytes are used to specify the width of the character and the space to be allowed
on either side of it. The left space (in dot columns) is specified by rnOand the right space
is specified by m2. The second byte (ml) specifies the width of the character in dots. By
varying the width of the character itself and the spaces around it, you can actually create
proportional width characters.
When defining characters, the number of printed columns (ml), and the sum of side spaces
and the character width (mO+ml +m2) cannot exceed the value shown below.
Character mode
Pica characters
Elite characters
Semi-condensed
Proportional
Super/subscript
Proportional super/subscript
ml
mO+ml +m2
31
27
19
37
19
37
36
30
24
42
36
42
Sample program
To demonstrate how to use the 24-dot download characters, let’s use the “telephone”
character and the other user-defined characters to print a small graph. This program will do
just that:
1000
1010
1020
1030
WIDTH “LPT1 : “ , 255
LPRINT CHR$ (27 );“Xl “ ;
LPRINT CHR$( 27) ;“it”;CHR$( O) :
LPRINT CHR$( 60) ;CHR$( 61 );
1
FOR N=60 TO 61
1050 READ LS :LPRINT CHR$ (Ls) ;
1060 READ CW :LPRINT CHR$ (CW) :
1070 READ RS :LPRINT CHR$ (Rs );
1080 FOR M=1 TO CW’k3
1090 READ MM
1100 LPRINT CHR$ (MM) ;
1110 NEXT M
1120 NEXT N
Chapter7 DOWNLOAD CHARACTERS
69
1130
1140
1150
1160
1170
1180
1190
1200
1210
1220
1230
1240
1250
1260
1270
1280
1290
1300
1310
1320
1330
1340
1350
1360
1370
1380
1390
1400
1410
1420
1430
1440
1450
1460
1470
1480
1490
1500
1510
1520
1530
2000
2010
2020
2030
2040
2050
2060
2070
2080
2090
2100
2110
2120
2130
2140
2150
2160
2170
2180
70
LPRINT CHR$(27); ”D“;CHR$(ll):CHR$(0)
LPRINT CHR$(27); ”k“;CHR$(12); CHR$(2;) ;“4”.
LPRINT CHR$(27) ;’’h’’;CHR$(l)
;
LPRINT “ DIFFUSION RANGES OF”
LPRINT “
CARS & TELEPHONES”
LPRINT CHR$(27) ;’’h’’;cHR$(o)
LPRINT CHR$(27);” k“;CHR$(0); CHR$(27) ;“5”
LPRINT CHR$(27) ;’’%’’
;CHR$(1) ;
LPRINT “USA’’;
CHR$(9);
FOR 1=0 TO 681 STEP 25
:LPRINT CHR$(60
:NEXT I
LPRINT
LPRINT CHR$(9);
FOR 1=0 TO 781 STEP 25
:LPRINT CHR$(61.
:NEXT I
LPRINT
LPRINT “GERMANY”;CHR$(9);
FOR 1=0 TO 412 STEP 25
:LPRINT CHR$(60);
:NEXT I
LPRINT
LPRINT CHR$(9);
FOR 1=0 TO 488 STEP 25
:LPRINT CHR$(61);
:NEXT I
LPRINT
LPRINT “JAPAN’’;
CHR$(9) ;
FOR 1=0 TO 347 STEP 25
:LPRINT CHR$(60);
:NEXT I
LPRINT
LPRINT CHR$(9);
FOR 1=0 TO 493 STEP 25
:NEXT I
:LPRINT CHR$(61);
LPRINT
LPRINT CHR$(9) ;’’+-”;
SCALE$=’’+-+-”
FOR 1=2 TO 8
:LPRINT SCALE$;
:NEXT I
~PRINT “+-+”
LPRINT CHR$(9); ”0 “;
FOR 1=1 TO 8
LPRINT “ “;1;
NEXT I
LPRINT CHR$(27) ;’’%’’
;CHR$(O)
LPRINT CHR$(27); ’’M”;
LPRINT CHR$(27) ;’’S’’;CHR$(O)
;
LPRINT CHR$(9); ”
(100 UNITS/1000 PERSONS)”
LPRINT CHR$(27); ’’T”;
LPRINT CHR$(27);’’@I’
END
‘ DATA
‘ Telephone Symbol
DATA
3, 31, 2
DATA
O, 0, 0, 7, 0, 0, 8, 0, 0, 23, 0, 0,
DATA
19, 15,192, 40, 16, 0, 80, 47,192, 32, 80, 0,
DATA 47, 80, 0, 80,175,192, 47, 80, 0, 80,163,192,
DATA 80,163,192, 33, 64, 0, 80,163,192, 47, 80, 0,
DATA 47, 80, 0, 80,175,192, 32, 80, 0, 80, 47,192,
DATA
19, 15,192, 40, 0, 0, 23, 0, 0, 8, 0, 0,
DATA
O, 0, 0
‘ Car Symbol
DATA
3, 31, 2
DATA
O, 0, 0, 0, 30, 0, 0, 0, 0, 0, 60, 0,
0,252,128,
0, 3, 64, 1,252,128,
DATA
2, 3, 64,
0, 40, 0, 0, 80,126,
DATA
10, 3, 0, 20,124,
0,
0, 64,126,
0, 63,128,
DATA 64,12b,
O, 63,128,
0,
DATA 32, 3, 0, 64,124,128, 32, 3, 64, 64,124,128,
DATA 76,124,128, 51, 3, 0, 12,252, 0, 3, 0, 0,
DATA
O, 0, 0
40, 0, 0
80,175,192
33, 64, 0
80,175,192
40, 16, 0
7, 0, 0
0, 3, 0
5,124,128
32, 0, 0
64,124,
0
48, 3, 64
0,254,
0
D IFFUS1 ON RANGES OF
CARS & TELEPHONES
Chapter7 DOWNLOAD CHARACTERS
71
DEFINING YOUR OWN 48-DOT CHARACTERS
You can define 48-dot download characters. By downloading this 48-dot characters, you
can print fine characters.
Fundamentally, the process to define and print downloaded 48-dot character is the same as
for 24-dot characters, except that you must supply about twice as much character data, and
you must indicate the printer how many download data that will follow.
We will use a tiny representation of a telephone symbol for our example.
ASCIICode:
Leftspace:
Characterwidth
R,ghtspace:
F
7
T
s
w
4
64
3
37
2
p
The procedure to assign the character data is the same as the 24-dot characters, except that
the vertical height is twice to it. So, our telephone symbol requires 186 character data.
In addition, it also requires the three attribute infomations for each character and three
bytes. Therefore, the telephone character is made up with 192 byte data.
When you want to download two pica characters with 48-dot, the download data should be
381 data.
This value is devided into two-byte data as shown in the following program.
To demonstrate how to define and to use the 48-dot download characters, let’s use the
“telephone” character and the other user-defined characters to print a small graph. This
program will do just that:
72
1
1010
1020
1030
1040
1050
1060
1070
1080
1090
1100
1110
1120
1130
1140
1150
1160
1170
1180
1190
1200
1210
1220
1230
1240
1250
1260
1270
1280
1290
1300
1310
1320
1330
1340
1350
1360
1370
1380
1390
1400
1410
1420
1430
1440
1450
1460
1470
1480
1490
1500
1510
1520
1530
2000
2010
2020
2030
2040
2050
2060
2070
2080
2090
2100
WIDTH ‘<
LP’T1 :“ ,255
LPRINT CHR$ (27) ;“X 1“ ;
LPRINT CHR$ (27) ;“ I“;“& “ ;CHR$ (125) ;CHR$ (1);CHR$ (O );
LPRINT CHR$(60);CHR$( 61);
FOR N=60 TO 61
READ LS :LPRINT CHR$(LS);
READ CW :LPRINT CHR$(CW);
READ RS :LPRINT CHR$(RS) ;
k’OR M=l TO CW’<6
READ M!vl
LPRINT CHR$(MM);
NEXT M
!iEXT N
LPRINT CHR$(27); “D’’;CHR$(11);CHR$(O)
LPRINT CHR$(27); ”k“;CHR$(12); CHR$(27) ;“4”:
LPRINT CHR$(27) ;’’h’’;CHR$(l)
;
LPRINT “ DIFFUSION RANGES OF”
LPRINT “
CARS & TELEPHONES”
LPRINT CHR$(27) ;’’h’’;CHR$(O)
LPRINT CHR$(27); ”k“;CHR$(0);CHR$(27) ;“5”;
LPRINT CHR$(27) ;’’%’’
;CHR$( 1);
LPRINT “USA’’;CHR$(9);
FOR 1=0 TO 681 STEP 25
:NEXT I
:LPRINT CHR$ 60);
LPRINT
LPRINT CHR$(9);
FOR 1=0 TO 781 STEP 25
:NEXT I
:LPRINT CHR$ 61);
LPRINT
LPRINT “GERMANY’’;CHR$(9) ;
FOR 1=0 TO 412 STEP 25
:LPRINT CHR$ 60);
:NEXT I
LPRINT
L~RINT CHR$(9);
FOR I=u TO 488 STEP 25
:LPRINT CHR$(61):
:NEXT I
LPRINT
LPRINT “JAPAN’’;CHR$(9);
FOR 1=0 TO 347 STEP 25
:LPRINT CHR$(60);
:NEXT I
LPRINT
LPRINT CHR$(9);
:LPRINT CHR$(61);
FOR 1=0 TO 493 STEP 25
:NEXT I
LPRINT
LPRINT CHR$(9) ;’’+-”;
SCALE$=’’+-+-”
FOR 1=2 TO 8
:LPRIN’T SCALE$;
:NEXT I
LPRINT “+-+”
LPRINT CHR$(9); ”0 “;
FOR 1=1 TO 8
LPRINT “ “;1;
NEXT I
LPRINT CHR$(27) ;’’%’’
;CHR$(O)
LPRINT CHR$(27); ’’M”;
LPRINT CHR$(27) ;’’S’’;CHR$(O)
;
LPRINT CHR$(9); ”(100 UNITS/1000 PERSONS)”
LPRINT CHR$(27); ’’T”;
LPRINT CHR$(27) ;”@”
END
‘ DATA
‘ Telephone Symbol
DATA
3, 31, 2
o
0,170,
0,
0,
0,
DATA
o, 20,
0,
0,
0,
0,
0
6,170,
0,
0,
0,
DATA
1, 84,
0,
0,
0,
0,
D
D
D
D
D
D
1
4
0
4
4
2
0,
0,
0,
0,
2
2
22,
22,
22,
22,
1,
85,
1,
1,
85,
84,
80,
80,
1
1
10,160,
2
2
2
0
0
0
0
0
0
Chapter7 DOWNLOAD CHARACTERS
73
2110
2120
2130
2140
2150
2160
2170
2180
2190
2200
2210
2220
2230
2240
2250
2260
2270
2280
2290
2300
2310
2320
2330
2340
2350
2
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
‘ Car
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
0,
0,
2
4
40,170,170,
5,
40, 0,170,245,
41, 68, 42,245,
9, 84, 10,245,
i, 84, 0, 0,
~. 20, 0, 0,
Symbol
3,
0,
0,
0,
31,
0,
0,
0,
6,
2
0,
5,
21,
21,
0,
80,
91,
91,
lb,
lb.
lb,
O,
21,
21,
O, 21,
O, 17,
lb,12b,
0,12b,
0,
0,
21,
21,
u,
2
0
2
O
0,
0,
0,
16,
~!
0,
0,
0,
03
0,
0!
0>
0,
1
2,172,
lo, lf=Jo,
0,
o!
2
0,
0,
b4,
0,
0,
40,
91,
91,
16,
0, 40,
‘~l,
91,
b4,
lb,
0,
~,
0,
0,
~.
u,
o
0,
0,
0,
0
o
0
0
0
0
0,
0,
0,
0
0
0
0
0. 42,164,224,
0
0,
47,128,
7
~,
1
42,184,
42,184,
42,160,
4
42,164,224,
D IFFUS / ON RANGES OF
CARS & TELEPHONES
74
0
0
0
0
0
O
0, 1,152, 42,164,224,
0,
0, 9,128, 42,160,
0,
0, 40> 0, 42,184,
b4,
o!
80,
84,
0, 22, 1, 85, 10,160,
0, 22,128, 85, 10,160,
0, 22,138, 21, 10,160,
o! 0, 0,
0, 6,170,
0, 0,170, 0, 0, 0,
0
b4,
o,
1,
85,
80,
80,
80,
80,
0,
0,
0,102, 21, 91! lb,
6, 96, 21, 91, 0,
38, 0, 17, 64, 0,
2
2
lb,
22,
22,
0
0
0
When using your printer with an IBM PS/2, PC-AT or compatible, you will probably be
using PC-DOS or MS-DOS as an operating system. A number of software tricks may be
useful here. This chapter is not, however, a substitute for the operating system manuals
supplied with your computer.
To learn how to print files, etc. it is best to read the relevant parts of these manuals.
INSTALLING APPLICATION SOFTWARE WITH YOUR
PRINTER
When installing application software, you may find that your printer is not specifically
mentioned in the lists of printers given for installation. However, this should pose no
problem. Read this section, and guidelines provided with your software on printer
installation.
Choose one of the following (in order of preference) according to your selected Emulation
mode.
#
1
2
3
Standard mode
Star XB-2410/XB24-10
Star NX-2420/LC24-200
Epson LQ-850
IBM mode
Proprinter X24E
Proprinter X24
You can also select one of NEC 24-wire printers to print graphics in the Standard emulation
mode.
If your software package does not mention printers by name, but asks instead what features
your printer is capable of, the most common questions are: “Can your printer perform a
backspace?” and “Can it do a hardware form feed?”. You should answer ’’Yes”to both these
questions.
Other software packages may allow you to install specific features. Spreadsheet programs
will often ask for the maximum number of columns to be printed. This is given below.
Pica
Elite
Semi-condensed
Condensed pica
Condensed elite
Proportional
CPI
10
12
15
17.1
20
Number of columns
80
96
120
137
160
Variable
?
Sometimes the software installation will ask you for an initialization sequence to return to
the default settings. The command for your printer is <ESC> @.
Chapter8 MS-DOS AND YOUR PRINTER
75
Make sure that the DIP switches are set for the correct printer emulation, and that you have
selected the appropriate character set using the DIP switches.
If you are in doubt about the configuration of your application software, seek expert advice.
Your software supplier will probably be your most qualified reference.
EMBEDDING PRINTER COMMANDS
Many word-processors and other software lack commands for changing font, printing
double-size characters. Your printer therefore has commands that can be embedded in
documents to control these functions without software help. The commands consist of a
capital letter enclosed in double parentheses, followed by a digit (or a capital letter):
Font:
((F))O
((F))L
Tms Romn
Helvet
Size:
((s))0
((s))1
((s))2
((s))3
Standard size
Double width
Double height
Double width and height
If you want to print a title in double-size Helvet, then change to different size with Tms
Romn”forother text, you can use these commands as follows:
File as seen on computer screen:
( (F) )L ( (S) )3
Printer
commands
( (F) )0 ( (S) )0
Printer
commands
( ( S ) ) 2can be ( ( S ) ) Oembedded
( ( S ) ) Ianywhere
( ( S ) ) Oln a document.
Printout:
i nt e r
Printer
commands
Can
beembedded
When you use these commands there are several points to note:
●
●
A line consisting of commands alone prints as a blank line.
The software will not know that these are commands, so you cannot trust your software
to give you the correct line width. The printed line maybe considerably shorter than the
line on the screen; the extra space being the space that was occupied by the commands.
One way to handle the last problem is to prepare your document without the commands,
then insert them as a final step, with the margins released. The find, replace, and copy
functions of word-processing software can be helpful here.
76
If you do not use these commands or the panel controls, the printer will print standard-size,
Tms Romn characters.
The printer supports various commands in addition to the above, such as quadruple-size
printing.
Most of these other commands consist of the escape code followed by one or more letters
or numbers.
If your software enables you to place the escape code in your files, or if you are able to define
this as a user option during installation, you can also embed these escape sequences.
PROGRAMMING THE PRINTER WITH DOS COMMANDS
If your system includes the file PRINT.COM you can use the main DOS printing command.
Simply type the word PRINT followed by the name of the file you want to print. To print
a file named README.DOC, for example, type:
A>PRINT
README. DOC
The computer may respond with the following message, asking which printer to use:
Name of
1 ist
dev ice
[PRN] :
If your computer is connected to only one printer, press RETURN to select the default
choice [PRN).
Printing will begin and the A> prompt will reappear. You can execute other commands or
programs while the file is being printed.
A single PRINT command can print two or more files. List the filenames consecutively on
the same line, or use wild-card characters (* and ?). Each file will be printed starting on a
new page. The PRINT command also has control options. For example, you can terminate
a printingjob in progress with them option. (The printer may not stop printing immediately
as there may be considerable data stored ahead in its buffer.) For the /T option, type:
A>PRINT/T
See your DOS manual for further information about the PRINT command. If your system
does not include PRINT.COM, you can print files by using the PRN device name in COPY
or TYPE commands such as the following:
A>COPY README. DOC PRN
A>TYPE README. DOC >PRN
COPY and TYPE do not permit you to execute other commands while the file is printing.
If you want a particular font, or print pitch, you can make these settings from the control
panel before you start printing. See Chapter 4.
Chapter8 MS-DOS AND YOUR PRINTER
77
If you print from the DOS command level very often, it will be advantageous to create a
printer setup file. Then instead of setting font style etc. manually each time, you can
complete the setup with a single command from your computer. For example, you can
create a file containing printer commands to select Economy mode, and select elite pitch
with the Standard
You can find the commands in Chapter 6. We suggest the
following:
<ESC>
“O”
<ESC> “!” <1>
. Economy mode
. Elite pitch
<ESC> “!” <1> is a powerful command that, in addition to selecting elite pitch, cancels
unwanted features such as underlining which might be left from previous commands. The
angle brackets around the <1> indicate character code 1, which is a control code, not the
printable digit “l”.
You may want to piace additional commands in this file, such as left and right margins, line
spacing and bottom margin commands. Or you may want to create a variety of setup files
with a different set of commands in each.
To avoid excess line feeds, you should place the commands on one line in the setup file.
You may or may not be able to generate a setup file with word-processing software; it
depends on whether your software lets you enter control codes. If your system includes the
file EDLIN.COM, however, you can easily create a setup file with the DOS line editor.
An appropriate name for this setup file would be SJELITE.DAT. To use the DOS line
editor, type the command EDLIN SJELITE.DAT, then type the underlined parts of the
following display. Press RETURN at the end of each line. Do not type the symbol “A”.This
symbol means to hold the CTRL key down while pressing the next key: for example, ‘V
means to type CTRL-V. ACmeans to type CTRL-C, which indicates the end of the input.
A>EDLIN
New file
SJELITE.
13AT
following character is a control code. *V[ enters the <ESC> code.
<ESC> has character code 27, and “[” is the 27th character from A in the ASCII sequence.
Similarly, ‘VA enters the control code <1>. See your DOS manual if you need further
information about EDLIN.
You can now set up the printer by sending it the file SJELITE.DAT. To avoid unnecessary
logging of commands, switch hard-copy output off (by pressing CTRL-PRTSC if hard
copy is on). To print the file README.DOC in Economy elite type, give the following two
commands:
AV indicates
that the
A>COPY SJELITE . DAT PRN
A>PRINT README. DOC
78
For greater convenience you can make a batch file that will setup the printer and print any
specifiedfilewitha singlecommzmd.To createsuchabatchfile withthename SJPRINT.BAT,
type in the first four lines shown next. AZ mems to press the CTRL and Z keys
simultaneously. To use this file to print README.DOC, type the fifth line.
A>COPY CON SJPRINT . BAT
COPY SJELITE. DAT PRN
PRINT %1
‘z
A>SJPRINT README. DOC
The first line above is a copy command from the CONsole screen to a file named
SJPRINT.BAT. The next two lines are the contents of this file. The %1 is a dummy
parameter: whatever file name you type after SJPRINT will be substituted for %1 and
printed.
PROGRAMMING WITH BASIC
As an example of programming the printer on Microsoft BASIC, we have listed the
program for the IBM-PC. This program runs in the printer’s Standard mode, and the
downloadable condition.
1000 ‘ Set control codes
‘Escape code
1010 E$=CHR$ (27 )
‘Roman character
1
TM$=E$+”k “+CHR$ (O )
‘Horizontal tab
1
H$=CHR$ (9 )
‘Pica pitch
PI$=E$+ “P“
1
‘El ite pitch
1
EL$=E$+” M “
1
‘ Start print inz
1
WIDTH “L~Tl :“,2;5
1
LPRINT E$ ;“D“ ;CHR$ (3 );CHR$ (30 );CHR$ (O )
‘Set HT
1
LPRINT TM$ ;“Resident fonts are :“
1
LPRINT H$ ;E$ ;“k “ ;CHR$ (O );“Roman characters ,“ ;
1
LPRINT H$ ;E$ ;“k “;CHR$ (12) ;“H-Gothic characters .“
1
LPRINT
1130 LPRINT TM$ ;“Print pitches are :“
1140 LPRINT H$ ;PI$ ;“Pica pitch (10 CPI ),“;
1150 LPRINT H$ ;EL$ ;“Elite pitch (12 CPI ),“
1160 LPRINT H$ ;E$ ;“g“ ;“Semi–condensed pitch (15 CPI ),“;
1170 LPRINT H$ ;PI$ ;
‘Select condensed print
1180 LPRINT CHR$ (15) ;
1190 LPRINT “Condensed pica pitch (17 CPI ),”
1200 LPRINT H$ ;EL$ ;“Condensed elite pitch (20 CPI ),”;
‘Cancel condensed print
1210 LPRINT CHR$ (18)
‘Select proportional spacing
1220 LPRINT H$ ;E$ ;“P 1“;
1230 LPRINT PI$; ’’Normalproportional,”;
1240 LPRINT H$ ;CHR$ (15) ;“Condensed proportional.”;
1250 LPRINT CHR$ (18):
PO !!
1260 LPRINT E$ ;!!
‘Cancel proportional spacing
1270 LPRINT
1
LPRINT H$ ;E$ ;“W 1 “ ; “ Double–he ight ,“;E$ ;“WO”
’Double width, “;E$;’’WO”
1
LPRINT H$ ;E$ ;“W1 “;’
CHR$(2) ;“Triple width, “;
1300 LPRINT H$;CHR$(28) ;’’E’’;
1310 LPRINT CHR$(28); tiEM;CHR$(0)
1320 LPRINT H$;E$;M h“;CHR$(l);” Double–sized,ti
1330 LPRINT E$;’’h’’;CHR$(O)
‘Set right margin
1340 LPRINT E$;’’Q’’;CHR$(47)
Chapter8 MS-DOS ANDYOURPRINTER
79
1
1360
1370
1380
1390
1400
1410
1420
1430
1440
1450
1460
1470
1480
1490
1500
1510
1520
1530
1540
1550
1560
1570
1580
1
1600
1610
1620
1630
1640
1650
1660
1670
1680
1690
1700
1710
1
1730
1740
1750
1760
1770
1780
1790
1800
1810
1820
1830
1840
1850
1860
1870
1Q80
1890
1900
1910
1920
1930
1940
1950
1960
1970
1980
1990
80
LPRINT :LPRINT
‘Set right margin
LPRINT E$; ’’Q’’
;CHR$(47)
LPRINT TM$: ‘Various line and character spacings:”
‘Center text
LPRINT E$; ’’al”
FOR 1=1 TO 7
‘Line spacing set
LPRINT E$; ’’A’’
:CHR$(I);
‘Increase character space
LPRINT E$;” ‘;CHR$(I);
LPRINT “THE SPACINGS ARE CHANGEDM
NEXT I
FOR 1=7 TO 1 STEP -1
‘Line spacing set
LPRINT E$; ’’A’’
;CHR$(I) ;
‘Increase character space
LPRINT E$;” ‘;CHR$(I);
LPRINT “THE SPACINGS ARE CHANGED”
NEXT I
‘Left justify
LPRINT E$; ’’aO”
‘Set l/6m line spacing
LPRINT E$; ”3’’;CHR$(30);
‘Normal character space
LPRINT E$;” ‘;CHR$(0);
LPRINT :LPRINT
LPRINT TM$;’’Other features:”
LPRINT H$; E$; VX’’;CHR$(0);
LPRINT “Economy printing, ‘;
LPRINT E$; ’’x’’
;CHR$( 1);
LPRINT “and High Quality. “
LPRINT H$;E$; ”q’’;CHR$(l);’’OUTLINED”;E$;’’q’’
;CHR$(0) ;”, ‘:
LPRINT E$; ”q’’;CHR$(2);”SHADOWEDu ;E$;’’q’’
;CHR$(0) ;”, “;
LPRINT E$; ”q’’;CHR$(3);“OUTLINED WITH SHADOWED”:
LPRINT E$; ”q’’;CHR$(0);”, M
LPRINT H$;E$; ”E’’;’’Emphasized”:E$;”F’’;”, “;
LPRINT E$; ’’G’’
Doublebstrike”ke”;E$;’’H’’;”,“;
LPRINT E$; ’’4’’
Italicsi;E$’;E$
:“5’’:”, “
LPRINT H$;E$; N-l” ;’’UnderliningM;E$;’’-:”,:”,‘;
LPRINT E$;”- “;CHR$(3); CHR$(0); CHR$( 1) :CHR$(2);CHR$(2) :
LPRINT “Strike–through” ;
LPRINT E$;ti(-’’:CHR$(3):CHR$(O) :CHR$(l) ;CHR$(2);CHR$ (0):”, “;
LPRINT E$;N (-” ;CHR$(3);CHR$(0) ;CHR$(1):CHR$(3) ;CHR$(l);
LPRINT “Overlining”;
LPRINT E$;N (-’’;CHR$(3) ;CHR$(O);CHR$ (1) ;CHR$(3) :CHR$(0) ;”, “
LPRINT H$;E$; ”SO’’;’’SUPERSCRIPT”;E$;’’T”;”and “;
LPRINT E$; ’’S1” “SUBSCRIPT”;E$;”T” ;“, “
LPRINT H$;TM$; ’Download characters: “;
GOSUB 2520
‘Select download character
LPRINT E$;”%l”
FOR 1=1 TO 5
‘Print download character
LPRINT CHR$(60
NEXT I
‘Select normal character
LPRINT E$; ’’%O”
GOSUB 2640
‘Select download character
LPRINT E$; ’’%l”;
FOR 1=1 TO 5
‘Print download character
LPRINT CHR$(60);
NEXT I
‘Select normal character
LPRINT E$; ’’%O”
LPRINT H$;TM$; ’’Dotgraphics:”
RESTORE 3290
‘Set 8/60” line spacing
LPRINT E$; ’’A’’
:CHR$(8);
FOR 1=1 TO 3
LPRINT E$; ’’fO’’;CHR$(8)
;
LPRINT E$; ’’*”;
CHR$(33); CHR$(240) ;CHR$(0);
FOR J=l TO 240’3
READ DAT
LPRINT CHR$(DAT);
NEXT J
LPRINT
NEXT I
‘Initialize printer
LPRINT E$;”@”
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
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
‘ SUBROUTINES
‘ Define 24-dot download character
LPRINT E$; ’’&’’
;CHR$(O);CHR$(6O) ;CHR$(60);
RESTORE 2510
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
‘ Define 48-dot download character
LPRINT CHR$(27) ;”{”;”&“;CHR$(192); CHR$(0) ;CHR$(0);
LPRINT CHR$(60);CHR$(60) ;
RESTORE 2600
READ LS :LPRINT CHR$(LS);
READ CW :LPRINT CHR$(CW);
READ RS :LPRINT CHR$(RS);
FOR M=l TO CW*6
READ MM
LPRINT CHR$(MM);
NEXT M
RETURN
‘ DATA
‘ 24–dot download character data
3, 31, 2
DATA
DATA
O, 0, 0, 7, 0, 0, 8, 0, 0, 23, 0, 0,
D
D
D
D
D
DATA
‘ 4
DATA
D
DATA
D
D
D
D
D
D
D
D
DATA
D
D
D
DATA
DATA
‘ Dot
‘ 1ST
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
4
1
8
8
0,
1
0,
0
3,
o,
1,
31,
20,
84,
2
0,
0,
c
0,
0,
0,
0,
0,
0,
4
40,170,170,
0
84,
20,
0,
0,
2
2
22,
80,
5,
80,
5,
80,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0, 7,
0, 31,
0, 31,
0, 31,
4
1
1,
O,
0,170,
6,170,
3,
0
2,160,
2
0,
0,
0,
80,
8,
0,
0,
0,
0,
47,192,
0,
0,
8
40,
7,
16,
0,
0
0
0,
0,
0,
0,
0,
0,
0,
0,
0
0
0
0
d
1
4
4
4
23,
0
0
8
d
0,
8
8
O,
40,
8
graphics data
LINE
O, 0, 0, 0,
O, 0, 0, 0,
O, 0, 0, 0,
O, 0, 0, 0,
O, 0, 0, 0,
1,255,255, 3,
31, 0, 0, 31,
31, 0, 0, 31,
31, 0, 0, 31,
1,
85,
22,
1,
22,
1,
22,
1,
22, 85,
22,
1,
2
2
6,170,
0,170,
80,
80,
80,
84,
85,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1
1
10,160,
2
2
2
2
2
10,160,
1
1
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0,
0,
0,
0,
0,127,255,
0, 7, 0, 0,
0, 31, 0, 0,
0, 31, 0, 0,
0, 31, 0, 0,
0,255,255
15, 0, 0
31, 0, 0
31, 0, 0
31, 0, 0
Chapter8 MS-DOSANDYOUR PRINTER
81
3380
3390
3400
3
3
3
3440
3450
3460
3470
3
3490
3500
3510
3520
3530
3540
3550
3560
3570
3
3590
3
3
3620
3630
3
3650
3660
3
3
3
3700
3710
3
3
3
3750
3760
3
3780
3
3800
3810
3820
3830
3840
3850
3860
3870
3
3
3900
3
3920
3
3940
3950
3~60
3
3980
3990
4000
4
4020
82
DATA
DATA
DATA
D
D
D
DATA
DATA
DATA
DATA
D
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
D
DATA
D
D
DATA
DATA
D
DATA
DATA
D
D
D
DATA
DATA
D
D
D
DATA
DATA
D
DATA
‘
DATA
DATA
DATA
DATA
DATA
DATA
DATA
DATA
D
D
DATA
D
DATA
D
DATA
DATA
DATA
D
DATA
DATA
DATA
D
DATA
31,
31,
31,
3
0,
0,
0,
7
3
0,
0,
0,
0,
0,
0,
31,
31,
3
1
0,
0,
0
0, 63,
15,
0,
31,
0,
31,
0,
31,
0,
3
15,255,255,
0,
0,
0,
0,
0,
0,
0, 96,
3,
0,
31,
0,
31,
0,
31,
0,
31,
0,
31,
0,
3
7,255,
0,
0,
0,
0,
3
31,
0,
31,
0,
3
1
3,128,
31,
0,
31,
0,
3
7
7,128,
31,
0,
31,
0,
3
47,128,
7,
0,
0,
31,
0,
31,
0,
31,
3
31,255,255,
O,
0,
0,
O,
0,
0,
O,
0,
0,
O, 12,
0,
3,
0,
0,
15,
0,
0,
31,
0, 31,
31,
0, 31,
0, 31,
31,
0, 31,
3
1
O,
0,
0,
O,
0,
0,
1
31,
0,
0,
31,
0,
0,
3
3
1
31,
0,
0,
31,
0,
0,
3
3
3
31,
0,
0,
31,
0,
0,
3
15,252,
0,
L
O,
0,
0,
0,
O,
0,
0,
0,
O,
0,
0,
0,
O,
0,
0,
0,
O,
0,
0,
0,
255,255,255,
0,
O,
0,
0,
0,
O,
0,
0,
0,
2
3
3
O,
0,
0,
0,
2
0
O,
0,
0,
0,
1
255,255,255,
0,
O,
0,
0,
0,
O,
0,
0,
0,
2
255,255,255,255,255,
O,
0,
0,
0,
O,
0,
0,
0,
7
59,
0,
0, 30,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
31,
31,
3
7
0,
0,
0,
0,
0,
0
15,
31,
31,
31,
3
0,
0,
0,
0,
0
7,
31,
31,
31,
31,
31,
3
0,
0,
0,
0,
0,
60,
0,
0,
0,
31,
31,
31,
31,
7,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
31,
31,
3
7
7,
31,
31,
3
0
15,
31,
31,
3
0,
0,
0,
0,
0,
0,
0,
0,
0,
7
0,
0,
0,255,
0,
0,
0,192,
0,
0,
0,
1
0
0,
0,
0,
0,
0,
0,
0,
0,
0,
2
255,
0,
0,
0,
0,
0,
0,
0,
6
0,
0, 14,
0,
0,
0,
0,
0,
63,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
3,255,
31,
0,
0,
0,
31,
0,
3
1
0,
0, 63,
1,128,
0,
31,
0,
0,
31,
0,
0,
31,
0,
0,
31,
0,
0,
3
0,
0,
0,
0,
0,
0,
0,
0,
0,
0, 11,195,
0
7,
0,
0,
31,
0,
31,
0, 31,
0, 31,
0, 31,
31,
31,
3
0,
0,
1,
0,
0,
0,
0,
0,
0,
15,
0,
0,
31,
0,
0,
31,128,
3
0
15,
0,
0,
31,
0,
0,
31,128,
0,
3
0
31,
0,
0,
0,
31,
0,
31,
31,
3
0
0,
3,
31,
31,
31,
31,
3
0,
0,
0,
0,
1
15,
0,
0,
0,
0,
0,
31,
0,
0,
31,
31,
0,
0,
0,
0,
0,
0,
3,
0,
0,
63,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
31,
0
0,
0,
0,
0,
0,
0
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1
0,
0,
0,
0,
0,
0,
7,
0,
0,252,
0,
0,
7,
0,
1
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
12,
0,
0,
3
0
0,
0,
0,
0,
0,
0,
0,
0,
28,
0,
0,
0,
0,
0,
31,
31,
31,
0
0
0
0
0
0
0
0
0
0
0
0
0
0
15
31
31
31
3
0,
0,
0
15,
31,
3
3
1
31,
31,
31,128,
3
1
31,
31,
3
3
0,
0,
0,
0,
0,
0
0
0
0
0
0
0,
0,
0
0
0
0
0,
0,
0
0
0,
0
0,
0,
0,
0,
0,
0,
0,
0,
0
0
0
0
0,
0,
0,
0,
0,
0,
0
0
0
0,
0,
0,
0
0
0
0,
0,
0,
0
0
0
0,
0,
0,
0,
0,
0,
9
12,
0,
0
0
0
0
0
3
0,
0,
2
5
3
0,
0,
0,
3
3
3
3
3
3
3610
3620
3630
3
3650
3660
3
3680
3
3
3710
3
3730
3740
3
3
3770
3
3790
3800
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3950
3
3
3
3
4
4
4
4
4
4
4
4
4080
4
4
4
4
4
4
4
4
4
4
4
D
D
D
D
D
D
DATA
DATA
DATA
D
DATA
DATA
D
DATA
D
D
DATA
D
DATA
DATA
D
D
DATA
‘
DATA
DATA
D
D
D
D
D
u
D
D
D
D
D
D
D
D
DATA
D
D
D
D
D
D
D
D
D
D
D
D
DATA
D
D
D
D
D
D
D
D
D
D
D
1
2
2
2
2
2
,
1
0
0
1
1 2
0,224,
0,224,
0,224,
0
0
0
0
0
3
0,
0,
0,
63,
0,
0,
O,
0,
7
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,240,
0,
0,
2
0
O,
0,
O,
O,
0,
0,
0,
0,
0,
0,
0,
0
3,248,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
2
7
0,
0,
0,
0,
7
3
0,
0,
0,
0
0,
0,
0,255,
0,
0,
2
O,
0,
0,
0,
0,
O,
O,
0,
0,
3
0,
56,
0,
0,
0,
0
7
2 5
0,
0,
0,
3,
0,
0
0,
0,
0,
7,
0,
0,
0,
0,
0,
0,
0,
1
6
0,
0
0,
0,
0
0
0
0,
0,
0,
0,
15,248,
0,
0,
0,
0,
0
0
0
0
0
0
0
1
,
O,
O,
O,
O,
O,
O,
20,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,255,
0, 31,
0,
0,
0,
0,
0,
0
0,
0,
0,
0,
0,
0,
3
0,127,
0,
0,
0,
0,
0,128,
0,
0,
0,
0,
0,
0,
,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
7
0,
0,
3
0,
0,
0,
0,
0,
0,
7,
0,128,
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
1
24,
0,
0,
0
0,
0,
0,
0,
0,
0
0
0
0
63
50,
0,
0
0
,
L
3
0,
0,
6
0
3
1
1
1
1
2
2
0,
1
1
1
1
1
1
5
3
1
0
3
,
6
1
15,128,
1
3
1
15,
0,
0
1
7
0
3
1
1
1
1
3
1
1
1
1
0, 31,192,
24,128,
0,
0
7
3
0
3
1
1
1
3
2
3
2
0,
0
3
3
2
3
0>
0
5
1
1
1
1
1
55,128,
0,
0,
1
7
6
0
0,
56,
0,
,
6
1
1
1
1
1
48,
0,
0,
56,
0,
0
1
8,
3
1
1
1
1
3
96,
1
6
0
0,
0
3
0
0
0
24
1
0
1
1
1
1
1
3
1
1
1
1
1
1
,
,
2
2
1
0,
0
3
0
0
0
0
1
,
2
2
1
1
62,
0
1
1
3
1
0,
0
3
0,
2
1
1
31,
6
0
3
3
1
1
1
1
3
192,
1
1
6
2
1
7
2
1
1
3
0,
0
6
,
1
1
1
2
2
0
,
1
1
2
2
0
,
2
1
15,192,
1
0
1
1
1
2
1
1
0
3
1
2
0,
1
4
,
Chapter8 MS-DOS ANDYOURPRINTER
83
4
4
4
4
4
4
4
4750
4760
84
D
2
D
3
D
6
D
1
D
1
D
1
D
2
DATA
O,
DATA
O,
,
2
7
0,
0,
0,
0
0,
0,
3
1
1
15,
0,
0,
4
,
0,
0,
0,
0,
0
0,
0,
1
1
1
62,
0,
0,
,
1
1
1
0,
0,
0,
0
0,128,
0,
0,
0,
0,
0,
0,
0,
1
1
1
0,248,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
0
0
0
0
0
How the program works
This program begins by assigning anumberof printer commands to BASIC string variables
(lines 1000 to 1050). You can find most of these commands near the beginning of chapter
6.
The WIDTH “LPT1 :“ 255 statement in line 1070 means infinite line width. It prevents the
IBM-PC from inserting unwanted carriage returns and line feeds in graphics data.
Actual printing begins in line 1080. Using the preassigned commands, the program prints
samples of its different fonts, followed by samples of the print pitches, then some double
and quadruple-sized printing.
Next comes the central attraction of the program: a line of text printed fourteen times in
expanding and contracting loops to give a barrel effect. The work is done by four printer
commands: a command setting the right margin (line 1340); a centering command (line
1360);a command to vary the line spacing (lines 1380and 1430);and a command to microadjust the space between characters (lines 1390 and 1440).
Next the program returns to normal spacing and gives a demonstration of the printer’s
word-processing abilities: italic printing, bold printing, underlining, subscripts, etc.
The row of telephone symbols in the next printed line is created by downloading two new
character patterns, which are printed in place of the character “<” (character 60). Details
can be found in Chapter 7.
The final part of the program uses dot graphics to print an “M & W“ logo. The dot pattern
of the logo was originally laid out on graph paper, then converted to the data in lines 2800
to 4260 with the help of a calculator. Each number represents eight vertical dots. (See
“Graphics commands” in Chapter 6 for details.)
The pattern is printed in three rows, each row is twenty-four dots high and 240 dots wide.
Line 1870setsthe line spacing to 8/60 inch so that the rows will connect vertically. The loop
in lines 1880 to 1960 does the printing in three passes of the print head.
Chapter8 MS-DOS AND YOUR PRINTER
85
Resident
fonts
are:
Tms Romn characters,
Print
Pica
pitches
pitch
are:
(10
Semi-condensed
pitch
CPI),
(15
Elite
pitch
C
CPI),
Condensed
elite pikh(20 CPIL
Normal proportional,
p
(12 CP1),
(17 CP1),
p
Condensxl
proportional
Double-height,
Do
T
~
e
wid~ti
,
w
D
e
r .
iz o
u e
Quad–s ized.
Various
1 ine
and
character
spacings
:
Other
features
:
EC on om.~~pr i nt i P.g , and High Qual i t y .
fj~~~~jj$j~~ , SIMDOWE13, ‘DuTLIm
MITE] $i!JWWDm,
Double-strike,
Italics,
Emphasized,
, Over 1 I n I ng ,
Underl ining , ~.~
S
U F’E R s c R 1 p T and
Download
characters
Dot graphics
:
,Su
B s c R I P T ,
: zxwsv~~~ff%
JiuJ!l!m
–
Chapter9 .
ii’!’.;
.:’:fi>:i:.
’”‘‘‘~’;”~::
~~ð
L,,!:,,
,.,.
,,,,,,,,,
=~
~
q:’$:,”“........:.
’.....
TROUBLESHOOTINGAND MAINTENANCE
The following section on troubleshooting and maintenance is intended only as a brief guide
to these functions. Remember that your printer is a highly sophisticated electronic device,
which also contains high voltage inside. For that reason, only carry out those operations
described in this chapter.
CAUTION: Any attempt to carry out operations other than those described here may result
in electric shock and/or damage to the printer. When carrying out any repairs or maintenance, always follow the instructions carefully.
TROUBLESHOOTING
Your printer is a reliable piece of precision machinery, which should not cause you any
trouble, provided it is used and treated sensibly. However, the few elementary tips below
should help you avoid having to make unnecessary service calls. The following table gives
you ideas on where to look in this section if you experience faults:
Region of fault
Power supply
Printing
I
Paper feeding
I
Description
Power is not being supplied to the printer
The printer does not print, or stops printing
The print is faint or uneven
Dots are missing in characters or graphics
While using application software, fonts or characters cannot be printed
The printout is not what is expected when running a program
J
Single sheets do not feed properly with roller feed mode
Single sheets do not feed properly with flat feed mode
The ASF is not operating or is not feeding paper properly
Text is being printed all on one line, or with extra blank lines
Chapter9 TROUBLESHOOTING AND MAINTENANCE
87
Power supply
If the
I
e
I
a
c
LINE
I
L
I b
t
l
i
C
a
o
a
IS
i
IS
If dots are missing in the printing, check the following:
Is
If your application software cannot print the fonts or characters selected, check the
following:
a
i
i
I
I
/
a
Chapter9 TROUBLESHOOTING AND MAINTENANCE
89
Paper feeding
If paper is not feeding smoothly with the roller feed, check the following:
A
i
If paper is not feeding smoothly with the flat feed, check the following:
Set
t
LINE
i
90
If the ASF is not operating or is not feeding paper correctly, check the following:
I
a
a
Has th~ paper been
LINEindicator
illuminated?
Is thepapertoothickor too There are limitsto the thicknessof paperthat can be fed in
thin?
I
I
Is
a
Chapter9 TROUBLESHOOTING AND MAINTENANCE
91
MAINTENANCE
Essentially, your printer is a robust piece of equipment, but should be treated with a
modicum of care in order to avoid malfunctions. For example:
●
Keep your printer in a “comfortable” environment. Roughly speaking, if you are
comfortable, then the environment is suitable for your printer (see Chapter 1).
●
Do not subject the printer to physical shocks or excessive vibration.
●
Avoid over-dusty environments. Dust is the enemy of all precision mechanical devices.
●
To clean the exterior of the printer, use a cloth barely dampened with either water with
a little detergent or a little alcohol, but do not allow any liquid to fall inside the printer.
●
The interior of the printer may be cleaned with a small vacuum cleaner or a compressedair aerosol (sold for this purpose). When performing this operation, be sure not to bend
or damage any cable connections or electronic components.
92
Chapter 10i~
SPECIFICATIONS
Printing system ..........................Serial Ink Jet Dot-matrix
Ptinting speed ............................HighQualitymode
83 CPS
Pica
100Cps
Elite
124
CPS
Semi-condensed
142 CPS
Condensed pica
166 Cps
Condensed elite
Economy mode
83 CPS
100 Cps
124 CPS
142 CPS
166 Cps
Print direction ............................Bi-directional, logic-seeking
Uni-directional, logic-seeking
(selectable)
Print head ...................................48 nozzles
Life: 700,000 characters
Line spacing ............................... 1/6, 1/8, n/60,nJ72,n/180, n/216, n/360 inches
Font styles ..................................Roman and H-Gothic
Characters ..................................ASCII
International
IBM special
IBM block graphic
IBM code page
Download
96
16 sets (*)
111
50
6 sets (**)
128
* USA, France, Germany, England, Denmark I, Sweden, Italy, Spain I, Japan, Norway,
Denmark II, Spain II, Latin America, Korea, Irish, Legal
** #437 (USA), #850 (Multi-Lingual), #860 (Portuguese), #861 (Icelandic), #863
(Canadian French), #865 (Nordic)
Number of columns
Pica (10 CPI) ....................... 80
Elite (12 CPI) ......................96
Semi-condensed (15 CPI) ...120
Condensed pica (17 cpi) ......137
Condensed elite (20 CPI) ....160
Proportional .........................Variable
Chapterl O REFERENCE
93
Character matrix ........................High Quality
48X 36
Pica
48 X 30
Elite
Semi-condensed
32X 24
48X
21
Condensed pica
48X 18
Condensed elite
48 x n
Proportional
Bit image dot-matrix .................. DPI
Normal-density
60
CRT graphics mode I
80
90
CRT graphics mode II
Double-density
120
Triple-density
180
Quadruple-desity
240
Hex-density
360
Economy
24X 36
24X 30
16X 24
24X 21
24X 18
24x n
8-bit
8 x 480
8 x 640
8 x 720
8 X 960
(Not supplied)
8 x 1920
(Not supplied)
24-bit
24X 480
(Not supplied)
24X 720
24X 960
24x 1440
(Not supplied)
24x 2880
48-bit
48 X 480
(Not supplied)
48X 720
48 X 960
48X 1440
(Not supplied)
48 X 2880
Paper feed ..................................Friction roller feed
Friction flat feed
Paper feed speed ........................5/6 inches/second max
Paper specifications
Width ...................................7.2” - 8.5” (182 -216 mm)
Length .................................7.2” - 14” (182 -356 mm)
Weight .................................52 -105 g/m2
Envelope .............................Commercial 10 only
Maximum buffer size ................ Without Download
With Download
28 kB
4 kB
Emulations
Standard mode .................... Epson LQ-860, NEC 24-wire Graphics commands
IBM mode ...........................IBM Proprinter X24E
Interface .....................................Centronics parallel
Ink Cartridge
Type ....................................Single cartridge ink supply (SC-1O)
Ink Color .............................Black only
Ink amount ..........................28 g (0.9 OZ)
Dimensions and Weight
Width ...................................310 mm (12.2”)
Depth ...................................216.5 mm (8.5”)
Height ..................................47.5 mm (1.9”)
Weight ................................. 1.8 Kg (4.0 lb)
94
AC adapter power supply .......... 120VAC, 220VAC, 240VAC, 50/60 Hz
(varies according to the country of purchase)
Options ......................................Battery pack (BP-1O)
Automatic Sheet Feeder (SF- 1OCA)
Chapterl O REFERENCE
95
PINOUT OF INTERFACE CONNECTOR
The following describes the pinout of the interface connector (signals which are low when
active are overlined).
I
I
I
I
Pin
1
2
3
4
5
6
7
8
9
I
I
I
I
10
11
I
I
12
13
14, 1.5
16
17
18
19-30
31
32
33
34
I 35
I 36
96
I
I
Name
STROBE
DATAO
DATA1
DATA2
DATA3
DATA4
Function
Goes from high to low (for 20.5 us) when active
I High when active
I Highwhen active
High when active
High when active
High when active
DATA5
DATA6
DATA7
ACK
BUSY
I Highwhenactive
I High when active
High when active
4 ps low pulse acknowledgesreceiptof data
Low when minterreadyto receive data
I High whenpaperout.
I High when printer is on-line
PAPER
SELECT
N/C
SIGNAL GND
CHASSIS
N/C
GND
RESET
ERROR
EXT
GND I
I
N/C
+5V
I
I
N/C
I
I
I
I
I
I
I
I
Signal ground
Chassis ground (isolated from signal ground)
Twisted pair ground return
When this input signal is low, printer is reset
Outputs low when printer cannot continue, due to an error
External mound
I
+5V DC output from printer
I
I
CHARACTER SETS
The following tables show the standard and IBM character sets.
The decimal character code of each character is shown in an inset to the lower right of the
character.
The hexadecimal code can be found by reading the entires at the top and left edges of the
table. For example, the character “A” is in column4 and row 1,so its hexadecimal character
code is 41. This is equivalent (4 x 16 + 1 = 65) to decimal 65, the number in the inset.
Control codes recognized by this printer are indicated by abbreviations inside pointed
brackets <>.
r
Character
r
L
~
-
Hexadecimal
value
(high
order)
D
v
Control
code
Hexadecimal
value
(low
order)
Chapterl O REFERENCE
97
Standard character set #2
o
o
3
4
98
3
(NW
E
1
2
2
1
L
r3
L
o
b
5
4
@
b
6
P
‘
b
b
7
P
b
b
(DC1)
!
1
A
Q
a
q
(DC2)
“
2
B
R
b
r
L
(DC3)
#
IT
(DC4)
b
b
b
I-i-
l-ii
$
4
b
s
T
F
b
c
lx
I-F
D
b
b
b
c
3
l-ii
b
t
d
b
L
s
b
b
9
8
o
1
2
3
4
6
7
8
9
B
I c
a
I
.a
224
f
1
A
“
2
B
a
B
b
-0 1 z I-R # k 3 I-R c h > 210 c
-i 131 0 l-m $ l-R-4 lm h > T- 211 d
D
132
l-ii
k
l-ii
l-ii
%
5
E
-E
&
d
..
l-m
i
I-R
l-R&
l-ii-o
1
6
IT6
h
l-w
22t
l-x
-
242
s
227
243
t
-
a
228
244
v
f
F
241
r
230
241
w
g
135
240
q
225
129
u
D
P
-e 128 B
0
5
I AI
231
h
241
x
232
i
248
Y
233
249
-hiid
Chapterl O REFERENCE
99
International character sets
When an international character set is selected by a command from software, the following
changes are made in the Standard Italic character set:
Country
35 36 64 88 90 91 92 93 94 96123124125126
U.S.A.
# $ @ x z
FRANCE
#
#
H
[
a x z 0
s x z h
@ x z [
@ x z
E x z A
@ x z “
@ x z i
@ x z [
13 x z &
#
$
E
x
z
1
0
A u
#
$
a
#
#
#
#
$
$
$
$
a
@
@
s
x
x
x
~
x
z
z
z
~
z
i
i
[
[
“
N
#
w
\
‘
e ‘ i
L e u i
$
# $
ENGLAND
i
$
1
#
$
#
H
#
$
R
$
SWEDEN
1
# $
NORWAY
2
2
\
Q
o
\
0
o
\
N
Y
0
] “
A
U A
] A
A “
A u
6 A
A
] A
A
‘
‘
‘
‘
‘
6
u
‘
‘
e
{
e
a
{
a
a
a
!
u
o
;
#
o
o
}
e
u
}
5
a
e
}
{ : }
2 @ 5
6
z
#
‘
‘
u
i
‘
‘
u
i% u
6 u
6 u
1
A ‘
{
i
}
-
1
“
A ~
6
-
‘
‘ @ @
“
m
The command for selecting the ,intemational character set is:
<ESC> “R” n
Where n means character code n, i.e. CHR$(n) in BASIC. The values of n are:
O
1
2
3
4
5
1
U.S.A.
France
Germany
England
Denmark I
Sweden
6
7
8
9
10
11
Italy
Spain I
Japan
Norway
Denmark II
Spain II
12
13
14
64
Latin America
Korea
Irish
Legal
IBM character set #2
Code Page#437 (U.S.A.)
o
o
1
(NUL}
r
3
2
o
I
b
5
4
m
P
7
6
.
I481 I641 I801 I96
n
I112
.
Chapter10 REFERENCE
101
Code Page#850 (Multi-lingual)
Other characters are identical to Code Page #437,
Chapterl O REFERENCE
103
104
C
R
Code Page #865 (Nordic)
O
c
i
9
8
o
C
I AI
P
B
#
I c
F
E
D
I
> .. 128
_
>.
>
1
2
3
4
5
>.
> ..
k
>.
>
x
k.
6
7
k
A
8
>
9
A
t .
D
E
F
i
249
.
>
1
B
c
..
k.
_
k
>
rl
f
-
l
7
k
–
k
>
■
L
l
l
C
R
_
I
Character set #1
O
c
i
d
f
s
c
w
m
o
o
r-i
E
(DC1)
riIy
(DC2)
f--i ~
(DC3)
I-3
~
(DC4)
In
F
2
3
4
5
7
8
9
A
B
c
D
E
F
108
In
In
(aEL)
J-ii
E
Iv
l-i
(as} (CAN)
I-8
l--z
(HT) (EM)
I-9
l-z
(LF)
l-m
~
(VT)
(E
L
k
(
(
K
l
(
L
~
(
~
(
h
c
s
e
s
w
1
a7
i
<
8
1
(NUN
1
6
m
c
0
1
2
3
4
5
6
7
8
9
A
B
c
D
E
F
9
(NW
l-iii ~
(DC1)
l-iii l-k
(DC2)
I-R
~
(DC3)
l-m
l-ii
(DC4)
l-ii l-iii
I-ii
o
c
l-z
l-m
l-iii
(BED
k
l-ii
(
(CAN)
F
k
(
(EM)
K
k.
(LF)
l-iii l-m
(
(
l
h
(
(FS)
l-iii I-R
(CR)
l-m
~
(s0)
l-m
l-ii
(s1)
l-m
l-iii
c
IBM special character set
A
c
p
s
c
w
w
I
L
3
4
5
I
+
l
●
s
E
*
k
cb
2
v
.
6
●
7
❑
–
J
7
T
EE8
~
0
9
A
24
1
9
+
w
d’
+
9
L
H
H
!-1-Mi2
B
c
D
12
2!
)
E
C
OR
A
h
t
a
a
2
c
d
A
c
5
r
A
A
A
A
A
A
B
B
B
B
B
B
B
B
B
B
B
s
f
f
3
3
l
s
2
f
3
f
7
c
b
p
C
C
C
C
5
2
c
4
3
p
c
p
g
D
D
p
m
3
c
s
c
s
D
D
D
D
D
D
D
D
D
l
r
t
d
h
m
p
p
c
s 3
3
❑
5
E
C
C
C
C
C
C
C
C
C
C
c
s
s c
s
s
w
4
b
#
#
#
#
#
#
u
p
c
p
s
C
C
C
C
C
C
C
C
C
C
4
i
5
d
s
g
l
c
p
2
4
c
c
c
c
6
6
a
c
s
6
6
I
E
E
E
E
E
E
E
m
L
L
L
L
L
L
L
3
p
p
p
3
5
p
s
j
m
f
F
s
b
4
p
t
I
F
F
F
F
F
F
F
M
M
M
M
M
1
3
s
f
f
c
s
f
s
c
3
G
G
c
m
5
O
O
O
O
f
g
d
m
Q
p
t
3
c
5
s
s
2
1
s
c
c
c
d
l
l
L
c
c
b
7
N
c
C
I
I
I
I
m
s
2
b
H
H
H
H
H
H
H
H
f
p
s
3
P
P
P
P
P
P
P
P
P
P
P
P
g
b
l
c
f
p
c
c
h
j
s
s
t
p
5
6
s
i
c
b
l
s
s
8
5
P
P
P
P
P
P
P
P
h
p
q
c
m
—
5
T
c
s
5
g
s
P
P
P
d
R
f
s
g
s
m
i
h
l
t
U
U
U
U
-
p
7
c
6
p
t
V
V
V
V
b
R
R
R
2
T
h
R
R
R
R
R
5
f
Top
s
Q
Q
p
L
S
c
j
m
f
c
f
3
p
t
c
4
c
s
m
s
Z
s
E
S
S
S
S
S
S
S
S
S
S
l
p
6
p
e
8
t
c
s
p
c
s
3
I
C
S
t
Ma
f
C
<
<
<
<
<
<
<
S
n
c
t
do
a
e
w
m
P
f
f
r
p
p
o
p
C
p
o
l
O
1
nl
mO
p
l
f
f
s
c
I
S
A
A
S
S
n
e
l
p
p
f
p
p
n
“
“
o
C
C
E
C
M
A
E
n
l
c
p
<
<
<
<
<
<
<
e
S
F
B
B
H
L
V
F
C
E
C
c
<so>
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
r d d
m
p
s
m
p
h
i
c
d
c
...
D
2
S
S
s
g
d
c
<
<
<
<
<
<
<
<
<
nO nl n2 ml m2 ...
n
O
1
l
S
S
S
m
s
n
i
u
u
v
l
l
l
c
s
s
s
i
7
i
i
<
<
<
<
<
<
<
<
<
<
<
c
<
<
<
<
<
4
<
<
<
<
<
<
c
c
<
<
<
<
<
<
<
<
c
<
<
<
<
<
c
cESC>
<ESC>
<ESC>
<ESC>
<
n
l
s
S
S
S
S
O
i
i
u
c
c
50
35
35
39
c
c
u
p
O
1
“?” n m
C
R
n
g
l
v
h
....
....
n
...
...
E
C
D
C
P
P
P
E
n
d
p
s
n
s
p
e
p
p
d
p
8
C
P
n
n
O
1
8
8
...
...
f
g
g
m
b
m
p
r
O
1
O
1
l
n
d
p
b
‘
50
51
55
35
35
i
s
S
S
S
C
B
U
C
E
P
P
m
i
c
s
s
p
p
e
p
p
d
q
8
g
8
g
50
57
57
42
51
51
42
53
40
37
38
38
65
65
44
44
57
57
<4>
S
R
L
C
R
O
1
2
....
“e” O n
“e” 1 n
“f’ O n
“f
1 n
c
j
t
j
v
h
v
A
F
S
p
h
s
c
e
s
s
e
h
p
nc
nl
c
nl
p
C
S
40
56
54
54
54
52
55
52
56
51
43
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
n
“W”
“W”
“X”
“X”
<
n
O
1
n
O
1
2
O
1
O
1
<ESC> “l” “*” rd n2 ml m2 ...
<
O
<
1
<
n
<
<
.
n
<
“I” O
<FS> “I” 1
<
“I” 2
<
o
<FS> “V” 1
<
“Z” nl n2 ml m2 m3 ...
“(” “(” “0” “)” “Y’
“(” “(” “4” “)” “)”
“(” “(” “F” “)” “)” “O”
“(” “(” “F” “)” “)” “L”
“(” “(” “S” “)” “)” d
“(” “(” “T” “)” “)” n
<
S
S
S
d
H
m
f
p
o
s
l
S
S
S
S
S
S
R
P
S
S
s
f
f
s
s
c
c
c
d
c
n
c
m
Q
h
n
s
l
m
...
d
4
R
S
S
S
S
R
P
P
M
A
S
S
E
S
a
h
d
E
H
D
P
S
S
c
g
4
z
z
s
n
p
c
s
i
w
c
c
d
c
n
a
h
d
h
c
2
g
f
f
R
H
p
c
p
D
q
R
f
s
s
l
f
f
p
c
s
I
M
f
C
<
<
<
<
<
B
o
c
t
c
e
M
w
<so>
P
C
C
E
C
M
A
E
<
<
<
<
,
<
n
O
1
e
m
F
B
B
H
L
V
F
C
E
C
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
c
c
c
<
<
<
<
<
<
d
P
f
f
r
p
p
o
p
p
o
l
e
l
p
p
f
p
S
S
l
f
s
p
u
u
l
l
s
s
<
s
E
l
i
7
50
a
a
S
S
E
R
n2 .... cO>
<2>
E
C
D
C
S
S
w
l
n
i
c
c
p
p
l
v
h
....
i
n
i
c
p
l
f
f
p
C
n
p
f
p
n
l
s
n
i
50
s
s
p
e
p
p
d
p c
p c
H
Q
p
w
E
m
m
C
S
I
<
<
<
<
<
<16>
<
<
<
n
S
w
S
S
w
S
w
S
w
P
p
H
e
e
H
c
E
c
H
c
m
Q
c
c
Q
w
...
...
m
c
m
Q
8
P
P
n
l
8
8
b
O
1
O
1
...
...
50
57
57
51
51
45
45
64
55
37
38
38
65
65
44
44
53
57
57
g
g
m
b
m
f
p
p
R
S
S
C
B
U
C
E
f
n
d
C
S
S
O
1
m
m
c
n
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
E
s
s
o
s
s
s
p
p
e
p
p
l
r
P
d
P
q
<O> n m
S
c
l
s
m
8
g
8
h
g
w
48
<
<
<
<
<
<
<
<
<
<
<
S
c
“[” ‘1” <4> <O> <O> <O> <O> n
b
u
S
p
q
“[” “d” <O> <1> n
“[” “g” nl n2 mO ml m2 ...
S
g
‘1” nl n2
E
p
“
E
p
n
n
c
“ ?3 o
S
o
—
,, ,, 1
S
o
“~” nl n2
R
h
“
S
p
S
R
40
p
l
s
49
34
m
c
c
c
c
i
f
59
40
41
36
36
56
65
34
<
<
<
“(”
“(”
“(”
“(”
“(”
“(”
“(”
“(”
“(”
“(”
“(”
“(”
“(”
“(”
<
O
“t” 1
“0” “)”
“4” “)”
“F” “)”
“F” “)”
“R” “)”
“s” “)”
“T” “)”
“)”
“)”
“)”
“)”
“)”
“)”
“)”
“0”
“L”
~
~
S
S
S
M
A
S
S
E
S
H
s
f
c
c
f
f
T
H
p
c
p
R
f
f
f
s
s
p
C
S
I
C
S
p
M
C
m
t
W
o
L
i
P
H
M
S
R
n
y
s
a
C
es
su
c
y
p
m
oe
y
c
L
N
S
A
J
P
A
M
M
S
A
L
Y
P
A
E
A
1
M
M
M
S
W
P
D
F
A
U
4
M
I
S
2
D
G
e
9
F
G
P
M
M
S
S
P
G
B
A
F
M
L
H
B
R
H
P
P
W
U
H
7
M
M
S
7
A
A
M
M
M
P
F
M
M
2
V
P
S
R
M
A
F
o
M
S
R
A
A
B
C
L
H
K
nr
PRINTED IN JAPAN