Epson LQ-1000 User guide

Epson LQ-1000 User guide
MULTI-FONT+SLQ
X624-10
MULTI-FONT+SLQ
X624-15
USERS MANUAL
NOT INTENDED
FOR SALE
Self Declaration
Radio interference regarding this equipment has been eliminated according to Vfg 1046/1984 announced by the DBP.
DBP has been informed of the introduction of this special equipment
and has been granted the right to
_ _
examine the whole series.
It is the user’s responsibility to see that his own assembled system is in accordance with the technical
regulations under Vfg 1046/1984.
To conform to FIZ-regulations it is necessary to make all connections to the printer with shielded cable.
The equipllent may only be opened by qualified service representatives.
The above statement applies only IO prinrers marketed in Wesf Germany.
Trademark
Acknowledgements
XB24-10, XB24-15, NB-15, NB24-10, NB-24-15: Star Micro&s Co.. Ltd.
IBM PC, PC-AT, PC-XT, Proprinter X2UXL24, Proprinter II, PC-DOS:
Machines Corp.
Microsoft BASIC, MS-DOS: Microsoft Corporation
Pinwriter p6/p7: NEC Co
ration
LQ-850, LQ-1000, LQ-lOKLQ-1SOO:
Seiko Epson Corp.
WordStar: MicroPro International Corporation
International Business
NOTICE
l
AU rights reserved. Reproduction of any part of this manual in any form whatsoever without
STAR’s express permissiat is forWden.
l
‘Ihe contents of this manual am subject to change without notice.
. AU efforts have been made to ensum the accurac of the contents of this manual at the time of
press. llowever, should any errors be detected, S 4 AR would greally appreciate being informed
of them.
. ‘Ihe above notwithstanding, STAR can assume no responsibility for any errors in this manrul.
0 Copyright 1989 Star Micmnics Co., Ltd.
CONGRATULATIONS
Thank you for buying this printer. This printer is provided with the following features:
9 High-quality 24-pin print head
3 print modes - Draft, Letter Quality and Super Letter Quality
Many different typefaces built into the printer
. Epson, NEC or IBM Proprinter compatibility including graphics
Comprehensive paper-handling facilities (cut-sheet or tractor as standard, with optional Automatic Sheet Feeder)
Paper-park facility for loading cut-sheet paper without having to
unload fanfold paper
Memory Switch facility, enabling comprehensive programming from
the front panel
Optional color facilities
IC card slot for extra RAM or provision of ROM fonts
l
l
l
l
l
l
l
ORGANIZATION OF THIS MANUAL
This manual is divided into 9 chapters. Use chapters 1 through 3 as a “User
Guide”, giving you information on how to set up and start your printer. The
remaining chapters may be treated as a reference guide for programming
operations, etc. It assumes a degree of knowledge off the operation of
computers (for instance, it assumes you know about hexadecimal numbers).
The chapters am as follows:
Chapter 1 - Introduction
Read this section first, as it explains how to unpack and install your printer.
Chapter 2 - Front panel controls
There are a number of controls on the front panel which perform various
functions related to paper handling, print modes and font selection. This
section shows you how to use the front panel controls.
Chapter 3 - Setting up the Memory Switches
Your printer has a Memory Switch function, which allows you to make
certain system settings from the front panel. This section explains the
operation of these Memory Swithes.
Chapter 4 - Emulations and escape codes
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 am
writing or modifying programs to take advantage of the printer’s features.
Chapter 5 - DIP Switches
This section explains how to set the DIP switches to make system settings
on the printer.
Chapter 6 - MS-DOS and your printer
Since the PC 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 7 - Troubleshooting and maintenance
This section give 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 am unsure of your ability to
carry out any maintenance or servicing operations.
Chapter 8 - Specifications
This section gives the specifications of your printer.
Chapter 9 - Character sets
These charts give the different character sets available, and the differences
between national character sets (as set up with the DIP switches).
--
I
TABLE OF CONTENTS
1
Chapter 1 INTRODUCTION ......................................................................
LOCATING THE PRINTER .......................................................... 1
UNPACKING, SE’ITING UP AND CONNECTION .................... 1
z
Setting up .........................................................................................................
...........................................................
comlwtioll
LOADING PAPER ......................................................................... 7
Cut-sheet paper ............................................................................ 7
Fanfold paper (continuous) stationery ......................................... 8
Once the paper has been loaded ................................................ 10
Chapter 2 FRONT PANEL CONTROLS ............................................. 11
CONTROLS AND INDICATORS ............................................... 11
Controls ..................................................................................... 11
Indicators ................................................................................... 11
PITCH SE’I-I’ING.......................................................................... 12
Pitch Panel Lock ........................................................................ 12
QUALITY SETTING ................................................................... 12
Mode Panel Lock ....................................................................... 13
FONT SETTING .......................................................................... .13
Font Panel Lock ......................................................................... 13
QUIET MODE .............................................................................. 14
PAPER HANDLING .................................................................... 14
Form feed ................................................................................... 14
Paper parking.. ........................................................................... 14
Short tear-off function ............................................................... 15
Micro Feed ................................................................................. 16
BUFFER CLEAR/RESET ............................................................ 16
TEST AND MAINTENANCE SETTINGS ................................. 16
Chapter 3 SETTING UP THE MEMORY SWITCHES ..................17
19
M&NJOPTIONS.........................................................................
Command Menu .........................................................................
Font menu ..................................................................................
Print Menu .................................................................................
Paper Menu ...............................................................................
Forms Menu ..............................................................................
Factory settings.. ........................................................................
19
19
20
.20
.21
22
Chapter 4 EMULATIONS AND ESCAPE CODES u..........................
23
EMULATIONS ........................................... .. .. ........................ ... .. .23
NUMERICAL REPRESENTATION ....... .. ............................... ... 23
COMMAND CODES AND ESCAPE SEQUENCES .................. 24
Font style and character set control codes ................................. 26
Font pitch control codes ....................... ..... ................................ 30
Special print mode control codes .... ..... .......... .... ... .. ................... 33
Line space control codes ....... .... ........ .... ..... .......... ...................... 38
Form feed control codes ......... .......... .. .. ................. ... .................43
Margins and vertical tab setting control codes ....... .. .. ............... 45
Horizontal print position control codes .. ..................,..... .. .........48
Downloaded character control codes .... ............... .. ..... .. ............. 53
Graphics ...................................... .. .................................. ........... 56
Miscellaneous codes ....................... .......... ........................ .. ....... 60
ASCII command sequences ....................................................... 69
-
Chapter 5 DIP SWITCHES ......................................................................73
Chapter 6 TROUBLESHOOTING AND MAINTENANCE ........... 75
TROUBLESHOOTING ............................................... ................. 75
Power supply ............................................................................. 76
Printing .. .................................................................................... 76
Paper feeding ............................................................................. 78
EVERYDAY MAINTENANCE ................... ............................ ... 81
ADJUSTING THE PRINTING GAP ........................................ ... 81
RIBBON REPLACEMENT ......................*................................ .. . a2
REPLACING THE PRINT HEAD ............................................. .. 84
FRONT PANEL DIAGNOSTIC AND
TEST MODES ........... ........................ ... ............ .. ... .. ..................... 86
Short test mode ......... .. ........ .. .................................. .... ..... .......... 86
Long test mode ................... ...................................... ....... .......... 87
Text test mode ............................ .................................... ..... .. .... 88
Hexadecimal dump mode .......................................................... 89
Bidirectional test/adjustment mode .... ............ ... .... .................... 90
Chapter 7 MS-DOS AND YOUR PRINTER .......................................93
INSTALLING APPLICATION SOFlWARE
WITH YOUR PRINTER ......................................................... .. ... 93
GRAPHICS HARD COPY ........................................................... 95
SETTING UP THE PRINTER FROM THE DOS PROMPT ......95
PROGRAMMING USING BASIC .............................................. 96
Sample program .. ......................................... .... .......................... 96
How the program works .......................... .. ............... ............... 100
Patches necessary to use the BASIC interpreter ....... .. .. ........... 103
-
Chapter 8 SPECIFICATIONS ............................................................... 105
Chapter 9 CHARACTER SETS ............................................................ 109
STANDARD CHARACTER SET # 1 ....................... ..... .......... ... 1lo
Family 1 .......................................n........................................... 110
Family 2 ....................................................................... ............ 112
Family 3 .............. ...................................... ... .. .. ................. ....... 114
Family 4 .. ........................ ......................................................... 116
STANDARD CHARACTER SET #2 ............................ ... .. .. ...... 118
Family 1 .. ........................ ......................................................... 118
Family 2 ............................................................................... .... 118
Family 3 ....... .. .. .................... .................................................... 119
Family 4 .............. ..................................................... ....... .. ....... 119
IBM CHARACTER SET #2 ....................................................... 120
Family 1 ................... .. ........................ ..... ................. .. .. ............ 120
Family 2 ............................................................................... .... 122
Family 3 ............................................. .......... .... ... .. ................... 124
Family 4 ............“...................................................................... 125
IMB CHARACTE:X SET #l ........................................... .. .. ..... ... 127
ADDITIONAL CHARACTER SET .. ......................................... 128
INTERNATIONAL CHARACTER SETS ................................. 129
INDEX
..................................................................................................... 131
chapter 1
INTRODUCTION
The following section covers the unpacking and installation of your printer,
together with information on paper loading and handling (both continuous
and cut-sheet paper).
LOCATING THE PRINTER
Before you start unpacking and setting up your printer, make sure that you
have a suitable place on which to locate it. By “a suitable place”, we mean:
l
l
Away from excessive humidity
l
Away from excessive dust
l
4.
Away from excessive heat (ie away from direct sunlight and away from
heaters, etc)
l
.
\.
A firm, level surface which is fairly vibration-free
l
A location with sufficient space to locate the printer and any paper to be
fed into it, as well as the printed paper coming out
If you are using a parallel connection to your computer, make sure that it
is within 2m (6ft) of the printer (an RS-232 connection using the optional
RS-232 interface can be made over longer distances).
UNPACKING, SETTING UP AND CONNECTION
Now unpack the contents of the printer shipping container, and make sure
that you have the following:
l
The printer itself
9 Paper guide assembly
l
The platen knob
A fabric ribbon
If any of these items are missing, contact your supplier.
l
.
1
The optional accessories which you may have ordered with your printer are:
Serial (RS-232) interface board
Automatic sheet feeder
Color option kit
See the installation instructions contained with these optional items for
details of how to attach them to your printer.
l
l
l
2
Setting up
Place your printer in the position where it is going to be permanently sited,
and remove all packing material from inside the top cover. This packing
material is intended to prevent damage to the printer in transit. You may like
to keep this packing with the printer carton if you intend transporting the
printer for use at a different location.
laten knob
The platen knob should be removed from the accessory box inside the
shipping carton. Mount the platen knob on the shaft on the right-hand side
of the printer. Turn the knob on the shaft before pushing the knob fully into
position.
NOTE
Before turning the platen knob, always ensure that the power to the printer
is OFF. Turning the platen knob when the power is on can damage the
printer’s gears.
3
Remove the top cover by lifting the front (using the two grips at the side),
and pulling towards you. Now install the ribbon.
1 Use the tensioning knob on the ribbon cartridge to tighten the ribbon if it
is slack (turn clockwise).
2 The ribbon should pass between the print head and the print head shield
(see illustration below).
Print head shield
Ink ribbon
3 Use the grips on the side of the ribbon cartridge to help locate the cartridge
(squeeze them inwards gently), and make sure that the spindles on the
cartridge holder fit into the sockets on the cartridge itself.
Ribbon cartridge
Ribbon tensioning
knob
Ribbon holder
4
-
Connection
Connect the printer to your computer, using a standard parallel-type cable.
On a PC or PC/AT-type computer, this means that you use the 25-way Dtype connector at the computerend, and the Amphenol-type 36-way connector at the printer end. The pinouts of the printer’s connector are given in
Chapter 8 if you need a cable for connection to another computer.
Plug the printer into a suitable mains outlet. However, DO NOT turn on the
power switch at the back of the printer yet.
nterface cable
5
You may need to set some DIP switches inside the printer before you start
using it. These switches enable you to configure the printer as an Epson or
as an IBM Proprinter printer. The DIP switches also enable you to select a
character set other than the USA character set, if your supplier has not
already set these up for you. The DIP switch cover is located inside the top
cover (see below). Use the end of a paper-clip (or similar) to set the switches.
Details of these switches are given in Chapter 5. If you feel unsure as to your
ability to set these switches, contact your supplier.
DIP switch cover
6
LOADING PAPER
The following sections explain how to load paper - single-sheet (cut-sheet),
without the Automatic Sheet feeder, and also the operations necessary for
loading continuous (fanfold) stationery.
If you are using the Automatic Sheet Feeder, please refer to the instructions
supplied with the Automatic Sheet Feeder unit.
Cut-sheet paper
Place the paper guide in position, locating the lugs on the bottom of the
assembly into the slots on the printer body.
Make sure that the release lever is pushed towards the back of the printer
( h position).
Adjust the paper guides to match the size of paper you will be using (remembering that printing will start some distance from the left-hand edge
of the carriage). There are markings molded into the back plate of the
assembly to help you if you wish to center the paper. If you are centering
the paper using the markings molded into the paper guide, remember that
printing will start from the left-hand edge, unless you reset the left and
right margins using software commands.
4 Place the paper between the guides, placing the side on which you want
to print towards the back of the printer. Gently push the paper down in the
guides until you feel it stop.
Adjustable
paper guides
7
5 Turn on the power using the switch at the back of the printer. The printer
will beep, indicating that no paper is in position for printing. The orange
PAPER indicator also shows this.
6 Now press the m
button. The paper bail will move clear of the paper,
and the paper will be fed and adjusted past the print head to a position
ready for printing. The paper bail will be moved back to grip the paper
against the platen, and the print head will move to the start position.
The actual vertical position of the paper after auto-loading is determined by
the Memory Switch setting (see Chapter 3).
The vertical position of the paper can be finely adjusted by means of the
micro feed function (see Chapter 2).
Fanfold paper (continuous) stationery
If you are going to use fanfold (continuous) paper, then you will need to use
the integral tractor mechanism assembly, situated under the rear cover of the
printer.
1 Remove the top and rear covers of the printer to insert the paper.
/
8
Clamp lever
2 Push the release lever towards the front of the printer (to the m position).
This has the effect of releasing the paper from the platen roller, and
engaging the tractor feed.
3 With the sprocket covers open, thread the paper over the sprockets,
aligning the sprocket holes with the pins on the sprockets.
4 Adjust the spacing of the sprockets by sliding them along the bar, using
the clamp lever at the back of each sprocket to release and lock the
sprocket in position (when the lever is up, the sprocket may be moved, and
when it is down, the sprocket is locked).
Release lever
Sprocket cover
I
5 Now close the sprocket covers, again making sure that the paper sprocket
holes are aligned with the pins on the sprockets. If they are not aligned
properly, you, will have problems with paper feeding, possibly resulting
in tearing and jamming of the paper.
6 Turn on the printer using the switch at the back of the printer. The printer
will beep (indicating that the paper is not yet fully loaded). This is also
confirmed by the orange PAPER indicator.
9
7
j button. The paper bail will move clear of the paper,
Now press the C=V~?ET
and the paper will be fed and adjusted past the print head to a position
ready for printing. The paper bail will be moved back to grip the paper
against the platen, and the print head will move to the start position. As
when loading cut-sheet paper, the Memory Switch setting will determine
the initial position of the paper after auto-feeding, and the micro feed
function may be used to adjust the paper position.
8 Remount the top cover rear cover and the transparent printer cover.
9 Remount the paper guide as shown below:
Once the paper has been loaded
The printer will now be on-line (the ON LINE indicator will be lighted). You
may now want to choose a font, a pitch and a print quality. This can be done
from the front panel, but you must put the printer off-line first by pressing
the @%G button. The indicator will go out and the printer will beep to
confirm this.
10
Chapter 2
FRONT PANEL CONTROLS
The following section describes the front panel controls and indicators on
your-printer, together with a description of the functions performed by them.
CONTROLS AND INDICATORS
The following is a brief guide to the controls and indicators on the front
panel.
The printer is equipped with six buttons: from left to right they are, ~53,
8s
and 5-8 (smaller buttons), and ~=vE&, :W.PERand C-iii;: (larger
buttons).
Indicators
The first three buttons have a series of indicators next to them which show
which option has been currently selected using them (font, mode or pitch).
Some of these indicators can be either orange or green, depending upon the
options currently selected.
There is no indicator associated with the C~EKI button (as its operation is
obvious when paper has been inserted), but the C=EC and :. 0~~3
buttons both have indicators embedded in the buttons themselves. The
indicator embedded in the @[email protected]!
5 button, however does not indicate paper
feed directly, but indicates (when illuminated) whether Quiet mode has been
selected (see below). The C~YYC button also has an embedded indicator.
---\ button will alternately set the printer on- and off-line
Pushing the ,: WY-!
and illuminate or extinguish the indicator.
11
In addition to these indicators, there are two others, POWER and PAPER. The
POWER indicator will illuminate when power is supplied to the printer, and
the PAPER indicator will illuminate when no paper has been inserted.
PITCH SETTING
Usethe CEC button to set the pitch that will be printed. Remember that the
printer must be off-line for you to do this. Successive presses of this button
will illuminate (and select) the following options in this order:
1 Pitch
1 Indicator(s)
10 characters per inch
loCP1
12 characters per inch
12CPI
15 characters per inch
15cPI
17 characters per inch
loCP1, COND
20 characters per inch
12CP1, COND
Proportional
Proportional
I
PROP
condensed
PROP, COND
Holding down this button will cycle continuously between these options.
Pitch Panel Lock
If the EC
button is pressed when the printer is turned on, the pitch will
be “locked”, and no pitch changes can be made from software. It is still
possible, however, to put the printer off-line and change the pitch using the
TPIGS button.
QUALITY SETTING
The printer is capable of 3 print quality modes: Super Letter Quality (SLQ),
Letter Quality and Draft. Successive presses of the ‘YOOE:
button will
alternate between these three settings(the SLQ mode is indicated by the top
indicator showing orange). Remember that the printer must be off-line for
you to do this. Holding down this button will cycle continuously between
these three options. However, not every typeface can be printed in every
mode (see the table below for details of what fonts are available in each
mode), and so the FONT indicator may change as you change the mode.
12
c
Mode Panel Lock
If the :3EJ button is pressed when the printer is turned on, the mode will
be “locked”, and no mode changes can be made from software. It is still
possible, however, to put the printer off-line and change the mode using the
I’YODE
button.
FONT SETTING
Pressing the C!
button will illuminate a font indicator. Remember that
the printer must be off-line for you to do this. Note that the selection of some
fonts (shown in yellow on the front panel) is shown by an orange indicator,
and the selection of others (shown in green on the front panel) is shown by
a green indicator. Note that not every font is available in every mode (see the
table below). Holding down the ~63
button will cycle continuously
between the fonts available for the mode selected.
1 Mode
1 Font
I
TMS ROMN
TW-LIGHT
OPTION (when font IC card is installed)
TMS ROMN
W-LIGHT
COURIER
PRESTIGE
HELVET
I SCRIPT
I
CINEMA
OFTION (when a font IC card has been installed)
INTERNAL (when font has been downloaded)
1 DRAFT
1 NOFONTSELFCTED
1
Font Panel Lock
If the ‘---I:; button is pressed when the printer is turned on, the font will be
“locked”, and no font changes can be made from software. It is still possible,
however, to put the printer off-line and change the font using the ‘P+3
button.
b..
c-
13
QUIET MODE
To select Quiet mode, the printer must be on-line. While it is on-line, press
the ~?%YC button. This will alternately illuminate and extinguish the
QUIET indicator. When in Quiet mode, the printer will print slightly slower,
but at a reduced noise level.
NOTE
If you press the ‘1-n 4 button while the printer is off-line, the,?+X
button will perform its normal function, ie it will feed paper.
PAPER HANDLING
The following sections describe the ways in which you can control paper
feeding, etc by means of the front panel controls:
Form feed
A form feed can be achieved from the front panel in the following way:
1 Put the printer off-line, by pressing the #C&%1 button, so that the
indicator is extinguished.
2 Press the >=REE button, and keep it depressed.
3 Press the ’ 0~~5 button momentarily.
4 The paper will then move forward to the top of the next sheet (fanfold
paper), or eject a cut sheet.
5 Set the printer on-line again (‘- 0~LIE
:Zbutton) to resume printing.
Paper parking
Paper parking is useful if you am using fanfold paper, and you want to print
a document on one or two sheets of cut-sheet paper. The printer “parks” the
fanfold paper safely out of the way, so that you do not need to unload the
paper before inserting cut-sheet paper, then, when you have finished
printing on cut-sheet paper, moves the fanfold paper back to its original
position so that you can restart printing.
To use this facility, follow the instructions below:
1 Put the printer off-line (press the [email protected]+1 button, so that the indicator goes
out).
14
‘.I
2 Press the CG&SC button, so that the fanfold paper is moved out of the
paper path.
3 Now move the release lever to the rear of the printer ( c position) to select
cut-sheet paper (disengaging the fanfold sprockets).
NOTE
If you do not move the release lever at this stage, the printer will warn you
at the next step by emitting a continuous series of beeps.
4 Insert the cut sheet paper in the paper guides
5 Press the C~S!SF button in order to feed the cut sheet to the starting print
position. The printer will automatically go on-line.
6 Print as normal on the cut sheet(s), and when you have finished printing,
put the printer off-line (by pressing the [ wu&I: button again).
7 If the sofiwarc has not done this for you, eject the paper by pressing the
‘:w?$%:‘button.
8 Move the release lever to the front of the paper (m position) to select
fanfold paper (engaging the fanfold sprockets).
9 Now feed the fanfold paper to the print position by pressing the ~C%ZZF
button. The paper will move to its former print position, and the printer
will automatically go on-line.
You are now ready to start printing on fanfold paper again.
Short tear-off function
The short-tear-off function is handy when using fanfold paper. It ejects the
paper so that the perforation is just above the transparent cover, allowing you
tear it off without having to open up the printer. It then reverses the paper
feed after you have tom off the paper, thereby starting printing at the top of
the next form. This feature is especially useful if you are using pre-printed
stationery (such as invoices, etc), which will not be printed all together.
To use the short tear-off function, press the %A&! button when the printer
is on-line, and hold it down for a few seconds. When you release the button,
the printer will go off-line, and the paper will move up a few inches, allowing
you to tear off the form.
15
To return the paper to its previous position, press the ~GE3 button once
again. When you release the button, the printer will return to its on-line
status, and the paper will be fed backwards, with the print head aligned with
the top of the next form.
Micro Feed
The Micro Feed facility is useful if you wish to align the paper exactly. It
feeds the paper forwards or backwards in 1/12Oth inch increments.
To use this feature, put the printer off-line (using the [email protected]~button).
Then press the (,LINE button, and either the G!!EE% button (to feed the
paper forwards), or the (353EZ button (to feed the paper backwards).
Holding down these buttons continuously will continue to feed the paper forwards or backwards in small increments.
BUFFER CLEAR/RESET
It is possible to clear the buffer of the printer or to return it to its power-on
status by using the front panel buttons without having to turn the power off
and on. To do this, put the printer off-line (press thee YY~ button), and then
press the “, ~+3 button again. Before releasing the Z~NE~ button, hold
down the G3
button. Releasing the 54 button within two seconds of
0~~=1 button) will clear the data in
holding it down (before releasing the NC
the buffer. Releasing the button after two seconds (again, before releasing
the ” -YYE button) will reset the printer back to the settings at power-on.
TESt AND MAINTENANCE SETTINGS
The printer is equipped with a number of functions to assist testing and maintenance. Since it is anticipated that they will not be used very often, they are
not described here, but in Chapter 6.
However, briefly, they are:
l
A text test print mode
l
A short test print mode
l
A long test print mode
l
A hexadecimal dump mode
l
A bidirectional print test
16
chapter
SETTING UP
3
THE MEMORY SWITCHES
In addition to the pitch, print mode and font, many other options regarding
the setup of the printer can be carried out from the front panel. To access
these options, it is necessary to turn off the printer, and then turn it on again,
while holding down the 0~LINE
. , GA 4 and i~F&F~ buttons together. This
will cause the printer to print a series of questions and options to which you
can answer using the front panel buttons. This is called the Memory Switch
mode.
/
I
1oCPl
I
12CPI
I
15CPI
I
PROP
I
COND
MICRO
I
PITCH
SET/:%T
EXlT
-
FEED
-
PAPER FEED
I
POWER
I
PAPER
*
ON LINE
QUIET
-
ENTER
The principle involved is that the printer will print a list of options on one
line. You use the :?Z%C and C+ ~~~buttons to move the print head so that
it is below the option you want to choose.
The printer will move the paper up and down as appropriate, so that the menu
options are visible.
The ‘XEC button moves the print head one option to the left, and the
T’- + button moves one option to the right (as marked in blue on the front
panel under the buttons). Holding down one of these buttons will still move
the print head only one option forward or back.
.
When the print head is below the desired option, press the ,7~+3 button to
enter this into the printer’s memory. Any option chosen at this stage will now
be stored, even when the printer is turned off.
17
When you press the i my9 button to enter an option, a “*” (asterisk) will
be printed to confinn that the option has heen chosen.
The menus are organized in a hierarchical (tree-structured) fashion. Some
menus do not choose options directly, but instead, move down to other
menus. To move up through the menu structure towards the “root” or
button as an G?3 button (as marked in blue
“trunk”, use the ‘+
underneath the button).
The structure of the menus is shown below.:
Main menu
I
I
I
I
I
The options within each menu are given below.
As mentioned above, when you press the (.,,
button from any sub-menu
or from an option within a menu, you will return to the menu level above the
current one. If you press the (53 button from the main menu, the printer
will print “***END***” and exit to being on-line, with the settings chosen
in Memory Switch mode being now set in the printer.
18
MENU OPTIONS
The following is a list of the options within the menus, and their meanings,
together with the prompts printed in Memory Switch mode. The prompts are
given in capital letters in square brackets, thus: [OFF]. Factory settings are
marked here with an asterisk (for example, [ON*]). A summary of factory
settings is also provided following this section.
Command Menu
This menu allows you to set up various parameters controlling the overall
setup of the printer:
RAM USAGE
The printer RAM may be used as a print buffer
[BUFFER*], for downloading fonts [DOWNLOAD], or
as a single-line buffer [lLINEBUFFER] .
QUIET MODE
The printer may either print slower and quieter [ON], or
faster, malting slightly more noise [OFF*].
GRAPHICS
DIRECTION
When printing in graphics mode, the printer may either
print bidirectionally (in alternate directions) for speed
[BI*] or in one dire&on only (unidirectional for increased accuracy KINI]. For practically all purposes,
however, bidirectional printing is sufficiently accurate.
AUTO ON-LINE
If this is set [ON*], then when paper is inserted, the
printerwillautomaticallycomeon-line.Ifset
[OFFl,then
you will have to press the button to bring the printer online.
Font Menu
This menu allows you to set two parameters concerning fonts which will be
automatically selected whenever you turn on the printer:
) ZEROSTYLE
SLQ/LQ FONT
In computer usage, a zero is often written with a slash
through it, as follows: “0”. This style is called
This option allows you to choose the default font selected
when SLQ or LQ mode is selected. All available fonts are
given as options. The default is [COURIER*].
19
Print Menu
This menu allows you to set up various printing options which will be automatically selected whenever you turn the printer on:
PRINT QUALITY
This will select either Super Letter Quality / Letter
Quality [SLQ, LQ*] or Draft [DRAFTI mode.
PRINT PITCH
You may select a print pitch of either [lOCPI*], [ 12CPI]
or [ 15CPI] (,,PI” stands for “characters per inch”), or
proportional spacing [PROP].
You may select condensed print to be either [OFFS] or
[ONj at power-up.
Youmayselectitalicprintingtobeeither
at power-up.
[OFF*]or [ONj
When in draft print mode, you may select either highspeed and low density IHI-SPEED*] or high-density and
low-speed printing [HI-DENSITY].
I
Paper Menu
OPTION ASF
With this option, you may selector cancel the Automatic
Sheet Feeder option [OFFS] or [ONI.
AUTO LOADING
When you load paper automatically, this option determines the number of lines by which the paper will be fed
forward from the top of the paper. The options range from
1 to 6, and the factory setting is 6.
AUTolLOADING
@SF)
Thisoption,liketheoneabove,determinesthenumberof
lines by which the paper will be fed forward from the top
of the paper, but here the option is determined for the
Automatic Sheet Feeder. Again, the options range from
1 to 6, and 6 is the factory setting.
PAPER-OUT
DETECTOR
Frequently, the.printer will detect the lack of paper and
go off-line with a number of beeps if no paper is inserted
in the printer [ON*]. However, this can be disabled
IOFI.
20
Forms Menu
This menu allows you to set various options associated with paper handling:
SHORT TEAR OFF
When using fanfold (continuous) paper, this Short Tear
Off option allows you to tear off one sheet of paper
without having to eject the whole of the following sheet.
If this option is set [ON*], when the paper reaches the top
of the form, it will automatically be advanced a little,
allowing you to tear off the paper easily. Set this option
to [OFFI if you do not want to use it.
SKIP OVER
PERFORATION
When using fanfold (continuous) paper, you may wish
printing to stop a little before the bottom of each sheet,
and start printing a little after the beginning of the next (in
other words, skipping over the perforation). This is useful
if you want to produce program listings, etc. This can be
enabled by setting this option [ONI, or, if using software
which performs this function automatically, it can be set
AUTO LF
If set [ON, this will expand all received carriage return
codes to a line feed and carriage return pair. However,
this may be set [OFF*] if your software demands it.
AUTO CR
If set [ON*], this function will expand all received line
feed codes to a carriage return and line-feed pair. However, this may be set [OFF] if you do not want to be
expanded.
LINES PER INCH
This sets the number of lines per vertical inch which will
be printed to [3 LPI], [4 LPI], [6 LPI*] or [8 LPI].
PAGE LENGTH
The page length may be set by means of the DIP switches
[DIP-SW*] (see Chapter 5 for details) or to any of the
following lengths (in inches): [33, [3.5], [4], [5.5], [6],
[7], [8], [8.5], [11.7] or [14]. A4 paper is equivalent tc
11.7 inches, while the DIP switch settings of 11 inches
and 12 inches will normally be used for fanfold paper.
10~1.
21
Factory settings
The following is a list of the settings set up at the factory, which may he restored by choosing the FACTORY SET option from the main menu:
COMMANDMENU
RAM USAGE
QUIET MODE
GRAPHICS DIRECTION
AUTO ON-LINE
NJ-W
WFl
PII
ml
FONT MENU
ZERO STYLE
SLQ/LQ FONT
[NORMALl
[COURIER]
PRINT MENU
PRINT QUALITY
PRINT PITCH
CONDENSED PRINT
ITALIC PRINT
DRAFT-12
[SLQ,LQI
wm
WFI
WFI
[HI-SPEED]
PAPER MENU
OPTION ASF
4AUT0 LOADING
AUTO LOADING (ASF)
PAPER-OUT DETECTOR
WFI
[6
LINES1
[6 LINES]
Kwl
FORMS MENU
SHORT TEAR OFF
SKIP OVER PERFORATION
AUTO LF
AUTO CR
LINES PER INCH
PAGE LENGTH (INCH)
22
roNI
ram
ram
DJI
[6 LPI]
[DIP-SW]
chapter
4
EMULATIONS
AND ESCAPE CODES
EMULATIONS
The printer has two emulation modes: standard mode and IBM mode.
In standard mode, the printer emulates the functions of the Epson LQ-850
and LQ- 1050 printers, as well as the NEC Pinwriter. Additional command
codes are included as a superset of these emulations.
In IBM mode, the printer emulates the IBM Proprinter X24/XL24 printers.
Additional command codes are included as a superset of these emulations.
The emulation is changed by means of DIP switch 1. When ON, the printer
will be in standard mode, and when OFF, the printer will be in IBM emulationmode (see Chpter 5). It is not possible to change the emulation mode by
means of software control or the front panel controls.
NOTE
1 Remember to turn off the printer before making any DIP switch changes.
NUMERICAL REPRESENTATION
When in either standard or IBM mode, any numerical parameters taken by
command sequences are usually binary rather than ASCII numerical values.
In this manual, any ASCII values will be represented in quotes, eg “21” will
represent the ASCII string 32h concatenated with 31h (in BASIC,
CHR$(SO)+CHR$(S 1)). Usually in these examples, however, hexadecimal
values will be quoted, as shown by the lowercase “h” following the number,
eg 32h.
Binary numbers. over FFh are obtained by dividing the number into two
bytes, the first being the low byte, and the second being the high byte. In this
way, the value 123h will be divided into the two following bytes: 23h and
Olh.
If negative numbers am required, they are obtained by subtracting the
absolute value of the negative number from 65536 (lOOOOh),and dividing
. the result into high and low bytes. For instance, to represent the number - 1Oh,
the following operation is carried out:
23
1OOOOh
- 1Oh = FFFOh
and the result is divided into the two bytes of FOh and FFh.
If “non-printable” codes are given, ie those codes from OOhthrough 1Fh and
7Fh, these codes will be enclosed in angle brackets, for example <DCl>.
The name in the angle brackets is that assigned to the code in the ASCII convention. The name of the character should not be used, the binary value
should be input. In the same way, it should be noted that the angle brackets
are not to be input - they are merely there as delimiters in the printed text.
Of course, in a program, a meaningful variable name can be given to these
characters, for instance (the following example is written in BASIC):
10 ESC$=CHR$(27) :BS$=CHR$(8)
20 LPRINT ESC$;BS$;
COMMAND CODES AND ESCAPE SEQUENCES
Some command codes are common to both the standard and IBM modes. In
the descriptions of the command codes, all command codes will be given,
together with a note of the modes to which each command code is applicable.
Most of the following command codes ate available in both the standard
mode and the IBM emulation mode. If a command is common to both
modes, the descriptive heading is followed by “Both”. If the command is
specific to one mode, then either “Standard” or “IBM” will follow the
descriptive heading. Occasionally, there are two identical commands to
perform the same function. In these cases, the relevant sign follows the
escape sequence.
When parameters are given, the accompanying text describes whether the
parameter is an ASCII character or a binary value.
In the following descriptions, first the function of the command sequence is
given. This is followed by the emulation for which this command is
appropriate (“Standard”, “Both” or “IBM”).
24
Following the heading, the full form of the command is given, using the
ASCII names for control codes, eg <ESC> (the angle brackets on either side
of the name are not part of the name, being simply delimiters, and should not
be entered). Variable parameters are indicated by a letter (usually “n”), and
an optional number, enclosed in angle brackets (eg <nO>). Where an
indefinite number of parameters are to be supplied, the <n>s are separated
by an ellipsis ((I.. .“). The sequence is then given using hexadecimal codes
(two hexadecimal digits followed by a lowercase “h”), with variables again
represented by letters enclosed in angle brackets. The decimal equivalent
follows the hexadecimal. The following is an example:
Example command
<BS>
<ESC>
1Bh
08h
8
27
<n>
Cn>
<n>
Both
(codes)
(hexadecimal)
(decimal; 1
Note that the above command sequence is for example purposes only - it
does not have any real function.
25
Font style and character set control codes
Select italic characters
4
cESC>
1Bh
34h
27
52
cFS>
4
1Ch
34h
28
52
Standard
IBM
The sequence above selects italic character printing. There are no parameters. This
command will not be valid if the Font Panel Lock has been selected.
Deselect italic printing
cESC>
5
Standard
1
1 1Bh
1
27
53
<FS>
5
1Ch
35h
28
53
IBM
I
The sequence above deselects italic printing. There are no parameters. This command will not be valid if the Font Panel Lock mode has been selected.
Se&t
print mode
<ESC>
x
1Bh
78h
27
120
Both
This command selects the print mode for subsequent printing, where <n> may be a
binary value of OOhor Olh, or either of theASCI1 characters”0” or”l”(30h or 31h).
If OI> is equal to OOhor “0”, then Draft mode will be selected and if equal to 01 h
or “1”. then LQ or SLQ mode will be selected. All other parameters are invalid. This
command will also be ignored if Mode Panel Lock has been selected.
26
Select font
k
<*
1Bh
6Bh
-30
27
107
Cn>
<FS>
C
Cn>
1Ch
43h
Cn>
<ES0
Both
Standard
The command above selects a typeface for subsequent printing, where <n> is a
binary value in the range of OOhto 15h. The following table shows the effect of
different values of this parameter:
Any other parameters are invalid and will be ignored. This command will also be
ignored if Mode Panel Lock has been selected.
Select/Deselect 12cpi draft mode
cFS>
S
1Ch
53h
Cn>
28
83
<n>
Standard
<n>
The command above selects or deselects 12cpi draft mode, where <n> can be an
ASCII or binary value of either “0” or OOhor “1” or Olh. If oI>=OOh or “O”, then
180dpi mode will be selected, and if ul>=Olh or “1”. then 120dpi mode will be
selected.
27
Select character table
<ESC>
t
1Bh
74h
Cn>
27
116
<n>
<FS>
I
<n>
1Ch
49h
<n>
28
73
Cn>
Cn>
Both
Standard
The command above will select the character table to be used in subsequent printing,
where vt> can be a binary or ASCII value from OOhthrough 02h or “0” through “2”.
The following table shows the effect of this parameter:
Cl
Moves character set downloaded in OOhto 7Fh area to
Any other values are invalid and will be ignored.
Select primary character set
<ESC>
1 1Bh
27
Both
7
37h
55
The command above selects the primary character set.
There are no parameters. The area 6om 8Oh to 9Fh is used for control codes.
Select secondary character set
<ESC>
1
Both
6
27
The command above selects the secondary character set.
There are no parameters. The area from 8Oh to 9Fh is used for printable characters.
28
Select International character set
<ES6
R
iBh
52h
27
82
<FS>
R
1Ch
52h
Standard
<n>
The command above selects an international character set, where <n> is a binary
value in the range OOhthrough ODh. The character set selected is dependent on the
value of 01>, as shown in the table below:
Any other values of OI> are invalid and will be ignored. The special characters
affecting each symbol set are given in Chapter 9.
print continuously from the All Characters Chart
1
<ESC>
\
1Bh
5Ch
27
92
ulo>
IBM
cd>
cd>
ulo>
cd>
I
The command above allows a series of special characters to be printed from the
control code area (OOhthru 1Fl-r).where the two parameters give the total number of
characters to be printed (low byte rust). On receipt of this command, any codes
received in the range OOhthrough 1Fh will not be interpreted as control codes, but
will print the characters corresponding to those codes. This will continue for the
number of characters designated by u10> and -al>.
29
Print a single character from the All Character Chart
cESC>
1 1Bh
27
IBM
A
I
5Eh
94
The command above prints a single character from the All Characters Chart. There
arenoparameters.IfthenextcharactertobeprintedhasacodebetweenOOhand
lFh,
it will not be treated as a control code, and the character corresponding to this code
will be printed.
Font pitch control codes
Set pica pitch printing
-ax>
P
1Bh
50h
27
80
Standard
The command above sets all subsequent printing to pica pitch. There are no
parameters. This command will be ignored if Pitch Panel Lock has been selected. It
may becancelled by acESC>M (elite pitch set) or acESC>g (semi-condensed pitch
set) command.
Set pica pitch printing
IBM
CDCb
I
1 12h
18 ,
1
The command above sets the print pitch to pica. There are no parameters. This
command is ignored if Pitch Panel Lock mode has been selected.
Set elite pitch printing
<ESC>
M
1Bh
4Dh
Both
The command above sets all subsequent printing to elite pitch. There are no
parameters. This command will be ignored if Pitch Panel Lock has been selected. It
may be cancelled by a cESC> P (pica pitch set) or a cESC> g (semi-condensed pitch
set) command.
30
-
r
Set elite pitch printing
IBM
<ESC>
1Bh
3Ah
27
58
The command above sets the print pitch to elite. There are no parameters. This
command is ignored if Pitch Panel Lock mode has been selected.
Set semi-condensed pitch printing
cESC>
1Bh
g
67h
27
103
Standard
The command above sets all subsequent printing to a pitch of 15 characters per inch.
There are no parameters. This command will be ignored if Pitch Panel Lock has been
selected. It may be cancelled by a <ES0 P (pica pitch set) or a cESC> M (elite pitch
set) command.
1 Set condensed print mode
Both
1
1 cESC>
1Bh
OFh
27
15
<SI>
Either of the two commands above will set condensed print mode, unless semicondensed pitch set printing was previously selected. There are no parameters. Subsequentprintingwilltakeplaceatapproximately
1.7times thenumberofcharacters/
inchthan was~eviouslythecase.Thisiscancelledonreceiptofa<DC2>command.
This command will be ignored if Pitch Panel Lock mode has been selected.
31
Cancel condensed print mode
<Da>
Standard
1 12h
1
18
The command above cancels the condensed print mode. There are no parameters. On
receipt of this command, all subsequent printing will be done at the pitch selected
prior to a cESC> <SI> or cSI> command. This command will be ignored if Panel
Pitch Lock mode has been selected.
Selectkancel proportional printing
cESC>
1 1Bh
27
n
<n>
70h
en>
112
cm
Both
I
1
The sequence above selects or cancels proportional printing, where cn> is a binary
or ASCII value from OOhthrough Olh or “0” through “1”. If ol>=OOh or “0”. then
proportional printing is deselected (cancelled), and if <n>=Olh or “l”, then proportional printing is selected. There are four types of proportional printing that may be
selected:
l
PropoltionaI
Condensed proportional
Superscript/Subscript proportional
Superscript/Subscript condensed proportional
l
l
l
Set or cancel pica proportional pitch
<ESC>:
P
Cn>
1Bh
50h
<n>
27
80
<II>
IBM
The command above sets or cancels pica proportional pitch printing, where UD is
abinaryvalueofeitherOOhorOlh.If<n>issettoOlh,thenpicaproportionalprinting
is enabled, and if <n> is set to OOh,then pica proportional printing is disabled. Any
other values of cn> with this command will set pica pitch, and the printer will attempt
to print OI>. If Panel Pitch Lock mode has been selected, then this command will be
ignored.
32
Special print mode control codes
Select/cancel expanded printing
I
<ESC>
W
cn>
1Bh
57h
Cn>
27
87
<n>
Both
I
The command above selects or cancels expanded printing, where <n> is a binary or
ASCII value from OOhthrough Olh or “0” through “1”. If <n>=OOhor “O”, then
expanded printing is deselected (cancelled), and if ol>=Olh or “1”. then expanded
printing is selected for all printing subsequent to the receipt of this command.
Select one-We expanded printing
<ES0
<so>
1Bh
OEh
21
14
Both
<so>
Either of the commands above will select one-line expanded print. There are no
parameters. Expanded printing will be performed subsequent to the receipt of this
command until any of the following commands is received: cDC4>, <LD, cESC>
.&Pa, <VT>, cFFb, cESC> d;D, <ES0 W or <FS> E.
$Zancel one-line expanded print
Both
<DC4>
14h
1
20
The command above cancels tbe.one-line expanded print mode set by <SO> or
cESC> <SO>. There are no parameters.
Standard
Selectkancel expanded print
E
d;s>
<n>
1 1Ch
28
45h
Cn>
69
<n>
The command above sets or cancels expanded printing, where or> is a binary or
ASCII value in the range OOhthrough 02h or “0” through “2”. The effect of this
command is shown in the table below:
Value of vD
Description
OOhor “0’
Cancels expanded printing
Olh or “1”
Sets double-width printing
02h or “2”
Sets triple-width printing
Select Master print mode
<Esc>
!
<PIP
1Bh
21h
<n>
27
33
Cn>
Both
The command above selects a “Master print” mode, where 01> is a binary value
composed of the addition of the following bit settings:
Bit Value Value
(d=)
1
Olh
1
2
02h
set
cancel
2
4
O4h
Condensed printing
set
cancel
8
08h
Emphasized printing
set
cancel
set I
cancel I
3
/
Function Effect when Effect when
bit=1
bit=0
0
1 4 I
I
(hex)
5
I
Pitch
Propoltionalprinting
16 1 1Oh I Double-strike printing 1
32
I
20h
I Double-widthurintim I
12cpi
1Ocpi
set1
cancel
6
64
40h
Italic printing
set
cancel
7
128
80h
Underlined printing
set
cancel
I
Hence, if condensed italic underlined print is required at 12cpi, the values of bits 2,
6,7 and 0 must be added together. This comes to (in decimal) 4+64+ 128+ 1 = 197,
or (in hexadecimal) 04h+4Oh+8Oh+Olh=C5h. The master mode is hence a useful
way of selecting a number of print parameters simultaneously.
34
IBM
Select print mode
<ESC>
I
1Bh
49h
<n>
27
73
<n>
CID
The command above selects the print mode (resident/downloaded font, pitch, print
quality), where CD is a binary value. The print mode selected by different values of
cm is shown in the table below:
Print mode
14
DOrmlOad
w
Elite
22
Download
w
Condensed
7
DOrmlOad
w
Roportional
This command is ignored if Panel Lock mode has been selected.
Select emphasized print mode
<ESC>
E
1Bh
45h
27
69
Both
The command above selects the emphasized print mode. There are no parameters.
All characters printed subsequent to receipt of this command will be printed in
emphasized mode.
35
Cancel emphasized print mode
<ESC>
F
1Bh
46h
27
70
1
Both
The command above cancels the emphasized print mode. There are no parameters.
All characters printed subsequent to receipt of this command will be printed in nonemphasized mode (cancelling the effect of the cESC> E command).
Select double-strike printing
<ESC>
Q
1Bh
47h
27
71
Both
The command above will select the double-strike print mode. There are no parameters.Anycharactersprintedsubsequenttothemceiptofthiscommand
willbeprinted
in double-strike mode.
Cancel double-strlke printing
<ESC>
H
1Bh
48h
27
72
Both
The command above will cancel the double-strike print mode. There are no
parameters. Any characters printed subsequent to the receipt of this command will
be printed in non-double-strike print mode (cancelling the effect of the cESC> G
command).
Select/cancel underline
<ESC>
Both
C?D
1Bh
2Dh
27
45
<n>
Cn)
The command above will select or cancel underlining, where cn> is a binary or
ASCII value which may take the values OOhthrough Olh or “0” through “1”. If the
value is OOhor “0”. then underlining will be cancelled. If or>=01 h or “1”. then all
printable characters including spaces (but excluding horizontal tabs and IBM block
graphic characters) will be underlined.
36
Both
I Selectkancel overline
1
cn>
<ES6
1Bh
5Fh
CtD
27
95
<n>
The command above will select or cancel overlining. where <n> is a binary or ASCII
value which may take the values OOhthrough Olh or “0” through “1”. If the value
is OOhor “O”, then overlining will be cancelled. If ol>=Ol h or ” l”, then all printable
characters including spaces (but excluding horizontal tabs) will be overlined.
1 Select superscript/subscript
<ESC>
S-
1Bh
53h
27
83
Both
1
<?D
CtD
Cn>
The command above will select either superscript or subscript printing, where <n>
is a binary or ASCII value which may take the values OOhthrough 01h or “‘0”through
“1”. If the value is OOhor Yl”, superscript printing will be selected, and if cn>=Olh
or “l”, then subscript printing wiIl be selected.
Cancel superscript/subscript
1 <ESC>
Both
I
1Bh
54h
27
84
The command above will cancel superscript or subscript printing (if either has been
selected). There are no parameters. If either superscript or subscript printing has been
selected, then printing subsequent to receipt of this command will be in the normal
position.
37
1 Set/cancel shadow/outline printing
cESC>
Standard
1
<n>
1Bh
4
71h
<n>
27
113
<n>
The command above sets or cancels shadow or outline printing, where <n> is a
binary value from OOhthrough 03h. The values of o1> are given in the table below:
Any other values of <n> are invalid and will be ignored.
Line space control codes
Line feed
<Lib
Both
I OAh
I
10
I
The command above advances the paper one line. There are no parameters. If Auto
CR has been selected, a carriage return will also be generated on receipt of a Line
Feed character. l/6 inch line spacing will automatically be selected at power-on.
3
Reverse line feed
cESC>
Both
<LB
1Bh
OAh
27
10
The command above will reverse line-feed the paper one line. There are no
parameters. l/6 inch line spacing is automatically selected at power-on.
36
_-
Set line spacing to l/8 inch
cESC>
0
1Bh
30h
27
48
Both
There are no parameters. The command above sets line spacing to l/8 inch, where
“0” is the ASCII value “0”.
Set line spacing to 7/60 or 7/72 inch
<ESC>
1
1Bh
31h
27
49
Both
There are no parameters. The dommand above sets line spacing to 7/60 inch (in IBM
emulation mode, 7/72 inch), where “1” is the ASCII value “1”.
Set line spacing to l/6 inch
<Esc>
2
1Bh
32h
27
50
cFS>
2
1Ch
32h
28
50
Standard
IBM
There are no parameters. The command above sets line spacing to l/6 inch, where
“2” is the ASCII value ‘2”.
39
-
Set line spacing units
<ESC>
CNULB
[
<NuLP
IBM
\
-00
<EOT>
<NuL>
<NuL>
1Bh
OOh
5Bh
OOh
5Ch
<?P
04h
OOh
OOh
27
91
92
4
0
0
The command above sets the units which will be used for setting the amount of line
spacing, where en> is a binary value representing either 180 (l34h) or 216 (D8h).
Line spacing is then defined in terms of either l/180 or l/216 inch units. This
command only becomes effective after an <ES03 or an <ES&J command has
been received.
Set line spacing to 11480 or n/216 inch
<ESC>
3
cm
1Bh
33h
<n>
27
51
<II>
1
Both
I
The command above allows precise control of line spacing, where <n> is a binary
value. Upon receipt of this command, the line spacing will be set to u1>/180 inch
(when in IBM mode, 02>/216 inch, rounded to the nearest l/360 inch).
Set line spacing to rd60 inch
<ESC>
A
Cn>
1Bh ,
41h
CR>
27
65
<?P
Standard
The command above sets the line spacing in increments of l/60 inch, where en> is
a binary value. On receipt of this command, line spacing will be set to cru/60 inch.
Set line spacing to n/72 inch
cFS>
A
CID
1Ch
41h
<ID
28
65
<ID
IBM
The command above sets line spacing in increments of l/72 inch, where 01>
represents the number of l/72 inch increments which will constitute a line feed after
the receipt of this command.
40
Define line spacing (l/72 Inch increments)
<ESC>
A
en>
1Bh
41h
<n>
IBM
The command above defines line spacing in l/72 inch increments, where en> is an
optional binary value ifit is not equal to zero, 01> defines the line spacing which will
be implemented after an &SC>2 command has been received. If cIu‘ = 0, then the
current value of line spacing set by a previous <ES&A command will remain in
force.
Execute <ESC>A definition
<ESC>
2
1Bh
32h
27
50
1
IBM
The command above executes the line spacing previously defined by the cESC>A
command. Therearenoparameters. If an cEW>Asequence has notpreviously been
entered, then line spacing will be set at 1/6th inch. If an cESOAsequence has been
received prior to this command, then any subsequent line feeds will move the paper
by the amount specified by the <ESC>A command.
One-time line feed (in l/180 inch increments)
<Esc>
J
<rP
1Bh
4Ah
C#
Both
1 '27
The command above causes a precise paper feed, where cn> is a binary value. On
receipt of this command, the paper will be fed forward by ur>/l80 inch (in IBM
mode, 01>/216 inch, rounded to the nearest l/360 inch). No carriage return will take
place., and the current line spacing value will be unaffected.
41
Reverse one-time line feed (in l/180 Inch increments)
Standard
<ESC>
<ID
1Bh
J
6Ah
<n>
27
106
Cn>
The command above causes a precise reverse paper feed, where cn> is a binary
value. On receipt of this command, the paper will be fed backwards by en>/1 80 inch.
No carriage return will take place, and the current line spacing value will be unaffected.
Both
[ Set line spacing to n/360 Inch
1
<ESC>
+
<n>
1Bh
2Bh
Cn>
27
43
Cn>
3
<ID
I
<n>
I
1 <FS>
1
1Ch
33h
28
51
The command above sets line spacing in l/360 inch increments, where <n> is a
binary value specifying the new line-feed value in l/360 inch units.
Both
Set vertical print position (In lines)
f
1
Cn>
1Bh ’
66h
31h
<n>
27
102
49
<n>
cESC>
1
The command above sets the next vertical print position, where cn> is a binary value
specifying the number of lines (at current line pitch setting) down from the current
position at which printing will next take place. In the command the binary character
01 h can be substituted for the ASCII character “1”.
42
I
1 Select forward feed
1Ch
Standard
1
46h
The command above selects forward paper feed. There are no parameters. This is the
default setting at power-on. All vertical paper-handling commands will be executed
as described.
Select reverse feed
1
<FS>
R
1Ch
52h
28
82
Standard
I
The command above selects reverse paper feed. There are no parameters. On receipt
of this command, all vertical paper handling commands will be executed in a reverse
direction (eg a reverse line feed will become a forward line feed, and a forward line
feed will become a reverse line feed). This command is invalid if the ASF has been
selected.
Form feed control codes
Form feed
Both
1
OCh
12
The command above will cause a form feed. There are no parameters. On receipt of
this command, the printer will print all data stored in the print buffer, and will move
to the top of the next page (as determined by the form length set by cESC> C or
<ESC> Cc NULB. A carriage return (to the left margin) will also take place. If the
ASF has been selected, this command functions as a page eject command.
43
Reverse feed to top of form
<ESC>
1 1Bh
27
Both
<FFB
OCh
12
The command above reverses the paper to the top of the form. There are no
parameters. On receipt of this command, the paper will be fed backwards to the top
of the current page. A carriage return (to the left margin) will also take place. This
command is invalid if the ASF has been selected.
1 Set page length (In inches)
cESC>
C
1Bh
27
Both
<NuL>
<n>
43h
OOh
<n>
67
0
<?D
1
The command above sets the page length in inches, where <n> is a binary value
(llu0122 in standard mode, lI<n>1255 in IBM mode) representing the new page
length in inches. The bottom margin is reset, and the current line after execution of
this command is made the new top of form.
1 Set page length (in lines)
Both
1
1 <ESC>
1Bh
43h
27
67
The command above sets the page length in lines, where <n> is a binary value
(ll<n>1127 in standard mode, Ken>1255 in IBM mode). The new page length is
set according to the current line spacing value. Subsequent changes of the line
spacing value will not affect the page length. The bottom margin is reset, and the
current line after execution of this command is made the new top of form. This command is invalid if the line spacing is set to 0.
44
IBM
I Set top-of-form
<ESC>
4
1Bh
34h
27
52
1
Thecommandabovesetsthetopof-formpositionat
thecurrentpaperpositionlhere
are no parameters. On receipt of this command, the top-of-form position will be set
to the current paper position.
Margins and vertical tab setting control codes
1 Move to next vertical tab position
Both
1
OBh
11
The command above moves the paper to the next vertical tab position. There are no
parameters. On receipt of this command, the printer prints data stored in the print
buffer, and the paper moves to the next vertical tab position or (if there are no more
vertical tab positions on the page), to the top of the next page. If no vertical tab positions have been set with the cESD B command or if they have been cleared, the
paper moves forward by one line.
Both
1 Set vertical tab positions
1
cESC>
B
...
cd>
CNULB
‘1Bh
42h
...
enI>
OOh
27
66
.. .
all>
00
The command above sets vertical tab positions, where the values represented by
010> to cnl> are binary values giving the vertical tab positions in lines from the top
of the page. The values given must be in ascending order. If they are not, the squence
will be terminated. The sequence must end with a <NUL> (ASCII OOh).If no values
are given between the cESC> B and the &IUL>, then all vertical tab positions previously set will be cleared. Printing will starton the (<n>+l th) line in standard mode,
and the (olxh) line in IBM mode.
45
1 Select vertical form unit (VFU) channel
<ESC>
On>
1Bh
I
2Fh
27
47
On>
Both
1
On>
The command above selects a VFD within which all subsequent <VT> commands
will be executed, where on> is a binary value from 0 to 7. Different sets of vertical
tabs can be stored in different channels using the <ESC> b command, and selected
using this command.
Set VFU vertical tabs
<ESC>
b
On>
1Bh
62h
On>
27
98
cm>
Both
...
cd>
<NuLa
-Mb
...
all>
OOh
cnO>
. ..
cd>
0
_
The command above sets vertical tabs inside a VFD, where on> is the VFU channel
(olcmX7) (accessed by the cESC> / <m> command), and subsequent absolute
values (in lines) of vertical tabs (accessed by the <VT> command) are represented
by oto> to otl>. These values must be given in ascending order, otherwise the
command will be terminated. The sequence must end with a <NuL> @Oh). If no
vertical tab values are given between the channel number and the 4IUL>, then all
previous vertical tab positions set for that channel will be cleared.
I Set relative vertical tab positions
<ESC>
e
1
lBh<
65h
31h
101
49
I
Both
1
<n>
The command above will set relative vertical tab positions, where cn> is a binary
value giving the distance in lines between vertical tabs set by this command. The
vertical tabs set by this command are subsequently accessed by the <VT> command.
All vertical tabs previously set are cleared. Instead of the ASCII “l”, the binary 01 h
character can be used.
46
Both
[ Set top margin
<ESC>
C
1Bh
63h
27
99
1
The command above sets the top margin, where-> is a binary value which specifies
the height of the top margin to the first printed line in lines (at the current line pitch
setting). Printing will start on the (ot>+lth) line on the page. Subsequent changes
to the line pitch setting will not affect this value.
Both
Set bottom margin
(
<ESC>
N
Cn>
1Bh
4Eh
<tD
27
78
CID
The command above sets the bottom margin, where cn> is a binary value specifying
tbe bottom margin depth in lines at the current line pitch setting. If the page length
is reset (with the cESC>c or <ESCX<NUL> commands), the effect of this
command will be lost. Subsequent changes to the tine pitch setting, however, will not
affect the length set by this command.
Both
Cancel top and bottom margins
(Esc>
0
1Bh
4Fh
27
79
The command above cancels the settings for top and bottom margins. There are no
parameters.
Both
1 Set left and right margins
<ESC>
X
1Bh
58h
27
88
<ID
1
Cn>
The command above sets the left and right margins, where the two values represented by the 01x are binary numbers used for setting the left and right margins
respectively. Margins are set at the current horizontal pitch.
47
Both
1 Set left margin
1
<tP
1Bh
6Ch
Cn>
27
108
<II>
1 cESC>
1
I
The command above sets the left margin, where “1”is a lowercase “‘L”(not “one”),
and en> is a binary value used to set the left margin. The margin is defined in terms
of the number of character positions at current pitch. If proportional spacing has been
selected, then the character width for pica pitch is used. The left margin may not be
closer than two print positions to the right margin, otherwise this command is
ignored.
Set right margin
<ESC>
Q
Cn>
1Bh
51h
Cn>
1 <FS>
Q
<n>
1Ch
51h
<n>
28
81
<ID
Standard
IBM
1
‘Ihe command above sets the right margin, where 01> is a binary value used to set
the right margin in character spaces at the current pitch. If proportional spacing has
been selected, then the character width for pica pitch is used.
Horizontal print position control codes
IBM
Move print position to the right
<ESC>
d
1Bh
#h
27
100
elo,
alI>
ore>.
c?lo>
cd>
Cd>
The command above moves the current print position to the right, where cno> and
ad> (low byte first) indicate the amount by which the print position will be moved
in l/120 inch units. If this command would set a print position beyond the right
margin, then the print position moves only to the right margin. If underlining or
overlining is in effect prior to the receipt of this command, then the slopped space
will also be underlined or overlined (cf horizontal tabs).
48
--
Both
Carriage return
<CR>
ODh
13
The command above performs a carriage return. The print head will return to the
beginning of the print line. If AUTO LF has been set up with the Memory Switches,
a line feed will be performed as will (at the current line spacing).
Set/cancel automatic line feed
<ESC>
5
<n>
1Bh
35h
<n>
27
53
<n>
IBM
The command above sets or cancels automatic line feed, where <n> is a binary value
of either OOhor 01 h. If cn>=Ol h, then whenever the printer receives a <CR> (ODh),
a line feed will automatically be added by the printer. If cn>=OOh,then this function
will be can&led.
[ Move to next horizontal tab
Both
1
I <H-lb
I
1 09h
I
9
The command above moves the print head to the next horizontal tab setting. There
are no parameters. If there are no horizontal tabs set on the line following the current
print position, this command is ignored. If underlining is on, then skipped print
positions are not underlined.
49
Set/clear horizontal tabs
D
c&b
<ES6
Both
...
cd>
<NuL>
1Bh
44h
alo>
...
al>
OOh
27
67
c?db
...
cd>
0
The command above sets horizontal tabs, where ore> and -al> arc binary values
representing the new tab positions. If no values are given, all tab stops are cleared.
The default tab setting is every eight characters. Tabs are set at the current character
pitch. If proportional spacing has been selected, then pica pitch is used for
determining the positions of the tabs. In Standard mode, once the tabs have been set,
tbe position of the tabs will remain the same if the character pitch is changed. In the
IBM mode, the tab settings will change relative to the new character pitch if the
character pitch is changed.
IBM
1 Restore tabs to default settings
cESC>
R
1Bh
52h
27
82
1
The command above restores all tabs (vertical and horizontal) to default settings.
There are no parameters. On receipt of this command, all vertical tab settings will
be cleared, and all horizontal tabs will be reset to every eighth position, starting at
column 9.
Set relative horizontal tab positions
Both
<ESC>
e
0
Cn>
1Bh
65h
30h
<n>
27
101
48
<n>
The command above sets horizontal tabs, where cn> is a binary value. On receipt of
this command, all horizontal tabs will be cleared, and new ones inserted every cn>
characters. These horizontal tabs can be accessed with an <HT> command.
50
.~
Both
Set horizontal print posltion
<ESC>
f
0
<n>
1Bh
66h
30h
<?D
27
102
48
<#
The command above sets the next horizontal print position, where 01> is a binary
value. The next horizontal printing will take place OI> character spaces (at current
print pitch) from the current horizontal print position.
Set justification mode
a
&SC>
Both
<n>
1Bh
61h
<to
27
97
<n>
The command above will set the justification mode in which the printer prints
received data, where ur> is a binary or ASCII value in the range OOh(or “0”) through
03h (or “3”). The meanings of these values are shown in the table below:
The default (when the printer is first turned on) is left justification.
Produce character space
<ESC>
1 1Bh
27
<SF3
Standard
C?D
20h
Cn>
32
C?P
I
I
The command above produces a space character, where <Sp> is the ASCII space
character (2Oh),and-> is a binary value from 0 through 127 giving the space width
in dots. When in draft mode, the dot spacing is l/120 inch, and when in LQ or SLQ,
the dot spacing is l/180 inch. If in superscript or subscript printing, the dot spacing
is the same as above, but if in expanded mode, the resolution is half the above.
51
Select next horizontal print position (by dot)
<ES0
Both
Cd>
1Bh
$
24h
elo>
all>
27
36
elo>
OrI>
The command above will start subsequent printing at a horizontal position determined by dot spacing, where 010> and oil> am two binary numbers (low byte first)
specifying the number of dots (at l/60 inch spacing) by which the print head will
move to the right from the left margin. If the subsequent print position is beyond the
right margin, then printing will start at the left margin.
Standard
Move print head
cESC>
\
1Bh
5Ch
27
92
db
al>
<no>
al>
cd>
The command above moves the print head relative to the last print position, where
ore> and cnl> are two binary numbers (low byte fast) specifying the amount (in
inches) by which the print head will move from the last print position. When in draft
mode, the number represented by the parameters signifies movement in 1/12Oths
inch, and when in LQ or SLQ mode, movement is carried out in l/MOths inch. A
positive value will move the print head to the right, and a negative value will move
it to the left. See “Numerical Representation” for details of how negative values are
represented in this way.
52
Downloaded character control codes
Copy standard ROM font into RAM
<Esc>
CNuL>
<?D
<NUbStandard
1Bh
3Ah
OOh
<II>
OOh
27
58
0
C?P
0
CNUID
<n>
<NuL>
<FS>
IBM
The command above copies the characters from the selected character set with <n>,
as shown below, into the download RAM area. cNUL> is the ASCII character OOh.
This command is only valid if “DOWNWARD” has been selected in the RAM
USAGE menu of the Memory Switch (see Chapter 3 for details). All characters from
20h to FFh are copied. Regardless of the character set, the characters 80h to 9Fh are
copied. However, the block characters of the IBM character set (BOh through DFh,
F4h and F5h) are copied as space characters.
Billi3ry
Value
OOh
Olh
1 06h
BiXlalJJ
Value
Selected font
I
TMS ROMN
I
07h
Selected font
I
Letter-Gothic
( TW-LIGHT
1
08h
1 Blippo
1 OCR-A
1
OEh
1 Greek
1
53
Define download character(s)
I
<ESC>
Cd>
&
ai?>
<NuL>
C?P
<cl>
...
<c2>
1Bh
<al>
26h
cd>
OOh
<n>
ccl>
...
<c2>
27
Cal>
38
Cd>
0
<cl>
...
cc2>
CID
<ES0
Cal>
4lUb
<n>
ccl>
...
<c2>
en,
CUOB
s>
1Bh
<al>
3Dh
Cd>
OOh
<rP
ccl>
. ..
<c2>
Cn>
cclo,
27
al>
61
CU2>
0
Cn>
<cl>
...
<c2>
<n>
ao>
ao>
cm Standard
ao>
Cn>
cue>
Cn>
IBM
The command above enables the definition of “soft” characters to be downloaded.
The following rules are observed. <cl> and <c2> are binary values which determine
the character range which will be replaced by downloaded data. For instance, if
<cl>=20h and cc2>=30h, all characters from 20h through 30h will be overwritten
by the downloaded data. If a downloaded character is stored in the area 80h through
9Fh, it can only be primed in the character set #2 mode. It is possible to store
downloaded characters in the part of the character set reserved for IBM block
graphics @Oh through DFh, F4h and F5h), but these characters can only be printed
when the standard character set has been selected.
<ao>, cab and cu2> are attribute bytes, setting the starting dot column, printable
width (in dots), and ending dot column respectively. The following values must not
be exceeded:
54
The vertical definition of the characters is 16 dots in superscript/subscript modes,
and 24 in all others. Each byte therefore represents half of the vertical definition of
a character column in superscript/subscript mode, and a third of the vertical
definition in other modes. If cn> bytes are required for a normal character, the
arrangement of these bytes is as follows (where the byte numbers are represented by
decimal numbers, starting at 0), and the total width of the character has been defined
by the parameter <al>:
Bit
number
1st
Byte
2nd
Byte
3rd
We
In the case of a superscript/subscript character, the width has also been defmed by
cur>, but only two bytes are required per vertical column, so the arrangement is as
Bit
follows:
number
1st
Byte
2nd
Byte
55
Select download/standard character set
cESC>
96
<rD
1Bh
25h
<n>
Both
The command above selects either the standard or downloaded character set, where
cn> is a binary value (OOhor Olh) or an ASCII value (“0” or “1”). If cn> equals OOh
or “O”, the standard character set is selected. This is the default value at power-on.
If Olh or “1” has been selected, then the downloaded character set is selected.
Graphics
The following commands relate to the graphical capabilities of the printer (bit image
mode). All bit-image printing is carried out as raster graphics (ie data is accepted in
blocks, and then printed as adjacent lines of graphics one dot wide).
Select bit image mode
*
<ESC>
...
cdn>
1Bh
...
27
...
Both
On>
cno>
cd>
<do>
2Ah
<dn>
On>
010,
ell>
-alo>
42
cdn>
On>
Mb
Cd>
The command above selects one of the graphic modes available on the printer and
prints graphic data, where OIZ, is a binary value representing the graphics mode (see
table below), and<& and al> are binary values (low byte first) giving the number
of graphic data bytes following (as represented by <do> . . . cdn>). The actual
number of data bytes varies according to the graphic mode chosen. In an 8-pin mode,
the number of data bytes is equal to the number of graphic columns to be printed, but
in a 24-pin mrxle, the number of data bytes is three times the number of graphic
columns to be printed.
[Graphic print modes]
* Adjacent dots are not printable in these modes
56
[Relationship of bit number to dot position]
When the printer is printing bit-image data using 8 pins in standard (non-IBM) mode,
the relationship of dots to pins used is as follows:
When the printer is printing bit-image data in 24-pin resolution (both in standard and
IBM emulation mode), the relationship between the bits set and the dots printed is
as follows:
Bit
number
2
m”
N
2
m”
Select bit image mode
IBM
I3
<dn>
db
cnl>
cm>
5Bh
...
67h
cdn>
<no>
al>
cm>
91
...
103
cdn>
edb
ull>
cm>
<ESC>
<do>
[
...
1Bh
<do>
27
<do>
The command above selects the bit image mode for graphical printing, and gives the
number of bytes to be printed, where cn0, and al> (low byte first) give the number
of graphical data bytes represented by <do> through cdn>, and on> represents the
graphics mode, as represented in the table below:
* Adjacent dots are not printable in these modes
lRelationship of bit number to dot position]
The total number of graphical blocks to be printed is given by the formula
(<nO>+<nl>x256)-1. When the printer is printing bit-image data in IBM mode, the
relationship of bits transmitted to dots printed is as follows:
thus:
both adjecent
58
Select &dot normal density
K
elo>
cd>
<Esc>
Both
do>
. ..
cdn>
1Bh
4Bh
olQ,
Ulb
<do,
...
ain>
27
75
cno>
-all>
<do>
...
cdn>
The command above selects 8dot normal density bit-image printing, where cno>
and <nl> are binary values (low byte fmt) representing the number of data bytes
following the command. The data bytes are represented by cd0, . . . win>. This
command has the same effect as <ESO * 0.
Both
Select O-dot double-density
<ESC>
1 1Bh
27
L
orb
Cd>
-do>
...
cdm
4Ch
<no>
cd>
[email protected]
...
CdnB
76
ulo>
all>
<do>
...
-ain>
1
The command above selects 8-dot double-density bit-image printing, where
cno> and <nl> are binary values (low byte first) representing the number of data
bytes following the command. The data bytes are represented by <do> . . . <dn>. This
command has the same effect as <ES- * 1.
Both
Select 8-dot double-speed double-density
<ESC>
Y
cno>
cd>
<do>
...
<de
1Bh
59h
ulo,
Cd>
cdl3
. ..
<dn>
27
89
orb
Cd>
<do>
...
-ain>
I
The command above selects 8-dot double-speed, double-density bit-image printing,
where cn(h and cnl> are binary values (low byte first) representing the number of
data bytes following the command. The data bytes are represented by <do>. . , <dn>.
This command has the same effect as cESC> * 2.
1 Set &dot quadruple-density
Both
<ESC>
Z
<no>
Cd>
<do>
...
cdn>
1Bh
5th
ore>
all>
<do>
...
cdm
27
90
alo>
all>
<do>
...
cdn>
1
The command above selects 8-dot quadruple-density bit-image printing, where
cno> and cd> are binary values (low byte first) representing the number of data
bytes following the command. The data bytes are represented by cd& . . . -ah>.
This command has the same effect as &SC> * 3.
59
I
Set 24-dot hex-density
<FS>
1 1Ch
28
Both
Z
cnib
cd>
5Ah
cno>
orl>
90
cno>
cd>
...
40
<dQ,
...
cdn>
<do>
...
<do
1
The command above selects 24-dot hex-density bit-image printing, where cno>
and cd> are binary values (low byte first) representing the number of data bytes
following the command. The data bytes are represented by <do> . . . <dn>. This
command has the same affect as cESQ * 40.
Both
1 Redefine bit-image mode
1 cESC>
?
ad>
1Bh
3Fh
Cd>
27
63
cd>
1
I
The command above redefines a bit-image mode to another mode, where one> is
the mode to be redefined. This may take the ASCII values “K”, “‘L”, “Y” or ‘Z”.
cd> is a binary value representing the mode to which cmo> is redefined, being a
value used after the cESC> * command (0 through 7,32,33 or 38 through 40). If any
of the modes represented by one> are subsequently selected, bit-image printing will
now take place in the mode as defined by cd >.
Miscellaneous codes
The following commands do not relate specifically to graphics, but have more
general applications:
Both
Set MSB to 1
cESC>
>
1Bh
3Eh
27
62
The command above sets the MSB to 1. There are no parameters. On receipt of this
command, the most significant bit (MSB) of subsequent data will always be set to
1.
60
I Set MS6 to 0
<ESC>
=
1Bh
3Dh
27
61
<FS>
=
Standard
IBM
3Dh
1
28
61
The command above sets the MSB to 0. There are no parameters. On receipt of this
command, the most significant bit (MSB) of subsequent data will always be set
to 0.
1 Cancel MSB control
Both
1
I
rcESC>
1Bh
23h
27
35
The command above cancels software control of the MSB. There are no parameters.
On receipt of this command, software control of the most significant bit (MSB) by
the cESC>>, <ESC>= (standard) or <FS>= (IBM) commands, will be cancelled.
Select zero style
Both
<ESC>
1Bh
* 27
7Eh
126
The command above selects the style in which zeroes will subsequently be printed,
where cn> is either a binary value of OOhor Olh or an ASCII value of “0” or “1”. If
01> is OOhor “O”,then “normal” (non-slashed) zeroes will be printed, but if it is 01 h
or “l”, then the “computer-style” (slashed) zero style wiIl be printed (this overrides
the Memory Switch setting, in Chapter 3).
61
Backspace
Both
CBS>
08h
8
The command above moves the print head back one position. There are no
parameters. This command moves the print head back one position (at current
spacing) to the left. If proportional spacing has been selected, the print head will
move back by a distance equal to the width of the last character printed. It does not
delete the last character.
Cancel last character
Both
<DEL>
7Fh
127
The command above deletes the last character transmitted to the printer. There are
no parameters. This code is effectively a destructive backspace.
Cancel last line
<CAN>
Both
18h
24
The command above deletes the last line transmitted to the printer. There are no
parameters. The last line transmitted to the printer will be erased from the printer’s
buffer.
Set printer off-line
Standard
<Dc3>
13h
19
The command above sets the printer off-line. There are no parameters. This commubutton on the front panel when the
mand is not equivalent to pressing the 0~LINE
printer is on-line, as after the cDC3> command has been received, the printer will
ignore any data transmitted to it, except for the +&Cl> command (below).
62
Set printer on line
Both
<DCl>
llh
17
Thecommandabovesetstheprinteron-lineaftera<DC3>command(above).
are no parameters.
Deselect printer (IO” carriage model only)
<ESC>
Q
1Bh
51h
$
24h
27
81
36
There
IBM
The command above deselects the printer. There are no parameters. This command
will deselect the printer, forcing it to disregard all data and command codes until a
cDCl> (1 lh) command is received to put the printer back on-line. This command
applies only to the model of printer equipped with a 10” carriage.
Deselect printer (15” carriage model only)
#
<Esc>
Q
1Bh
51h
23h
27
81
35
IBM
The command above deselects the printer. There are no parameters. This command
will deselect the printer, forcing it to disregard all data and command codes until a
4X1> (11 h) command is received to put the printer back on-line. This command
applies only to the model of printer equipped with a 15” carriage.
Stop printing
cESC>
IBM
1Bh
j
6A
27
106
The command above forces an off-line status. There are no parameters. The printer
goes off-line, and the contents of the buffer are printed. This command differs from
the two previous commands @eselect printer) in that when this command has been
received, the parallel interface SELECT signal goes low, and the BUSY signal goes
high (ie no data can be received from the computer). It is necessary to press the
0~LIP) button to reset the printer.
63
Sound buzzer
Both
<BEL>
07h
7
The command above sounds the printer’s buzzer. There are no parameters.
1 Disable paper-out detection
1Bh
38h
27
56
Both
1
The command above disables the printer’s paper-out detection. There are no
parameters. This overrides the setting made by the Memory Switch settings (Chapter
3).
Enable paper-out detection
cEsc>
9
1
1Bh
39h
27
57
Both
1
The command above enables the printer’s paper-out detection. There am no
parameters. This overrides the setting made by the Memory Switch settings (Chapter
3).
Enabte/disable bidirectional printing
<ESC>
U
<ID
1Bh
55h
-30
27
85
Cn>
Both
The command above enables OTdisables bidirec tional printing, where OI> is a binary
value of either OOhor 01 h or an ASCII value of either “0” or “1”. If cn> is set to OOh
or “O”, then bidirectional printing will be performed, and if it is Olh or “l”, then
unidirectional printing will be performed subsequent to the receipt of this command.
If the Memory Switch setting has been made for bidirectional printing, this
command will be ignored.
64
I
Enable unidirectional prlntlng for one line only
C
cEsc>
Both
60
I
The command above enables unidirectional printing for one line. only. There are no
parameters. printing will be performed from left-to-right for the current line only.
Enable/disable quiet mode
C?D
cEsc>
S
1Bh
27
73h
115
Both
<n>
<rD
The command above enables or disables quiet mode, where <n> is a binary value of
either Oh or Olh or an ASCII value of either “0” or “1”. If cn> is set to OOhor “O”,
thenquietmodeisdisabled,andif<n>issettoOlhor“l”,thenquietmodeisenabl~.
This command overrides the Memory Switch settings or the setting made from the
frontpanel.Quietmodemeanstbateachcharacterisprintedintwopassesoftheprint
head.
Enable/disable large character printing
<ESC>
h
<n>
1Bh
68h
<rD
27
104
Cn>
Both
‘Me command above enlarges characters, or cancels such enlargement, where cn>
is a binary value of OOhthrough 02h or an ASCII value of ‘0” through “2”. If UP
is set to OOhor 9”. then any character enlargement is cancelled. If vu is set to 01 h
or “1”. then characters are printed at double height and width. If cn> is set to 02h or
“2”. then characters are printed at quadruple height and width. It is the user’s
responsibility to alter the line pitch,so that it is in accordance with the new character
height, and to produce a line feed at the new pitch in order to leave sufficient space
for the new characters. If thereare different sizes of print on the same line, the
printing will be aligned along the top of the characters. Any previous commands for
enlargement (vertical or horizontal) of characters will be cancelled by this com-
65
Enable/disable double-height mode
&SC>
W
77h
CID
27
119
Cn>
<FS>
V
Cn>
1Ch
56h
Cn>
28
86
C?D
1 1Bh
Both
Cn>
Standard
The command above enables or disables double-height printing, where <n> is a
binary value of either OOhor 01 h or an ASCII value of either “0” or “1”. If oI> is set
to OOhor %“, then double-height printing is cancelled. If cn> is set to Olh or “1”.
then double-height printing is enabled. The character width is unaffected. It is the
user’s responsibility to alter the line pitch so that it is in accordance with the new
character height, and to produce a line feed at the new pitch in order to leave
sufficient space for the new characters. If there are different sizes of print on the same
line, the printing will be aligned along the bottom of the normal-sized characters.
Any previous commands for vertical enlargement of characters will be cancelled by
this command.
Select character height, width, line spacing
-diSC>
1
@
UJ3>
uib
1Bh
OOh
5Bh
Cd>
40h
Cd>
27
0 <
91
Cd>
64
Cd>
ao>
all>
Both
<Nub
OrI>
OOh
cd>
0
The command above is used to control character height, width and line spacing,
where cno> and cnl> (low byte first) ate used to supply the number of subsequent
data bytes (1 or 2). The effect of the hvo data bytes (<n2> and cn3>) is determined
as follows:
66
j!
1
Single-height characters
2
Double-height characters
16
Single line feed
17
Single line feed, single-height characters
18
Single line feed, double-height characters
32
Double lim feed
33
Double line feed, single-height characters
34
Double line feed, double-height characters
Any other values No effect
C?L3>
1
Single-width characters
2
Double-width characters
Any other values No effect
Any superscript/subscript or condensed mode print settings previously selected will
be cancelled, but if double-height printing is cancelled, the printer wilI return to
superscript/subscript or condensed mode printing, if these were selected previously.
Any previous commands for vertical character enlargement are cancelled by this
command. If double-height and normal-sized characters are printed in the same line,
then the printing will be aligned along the bottom of the normal-sired characters.
Set/cancel lmmedlate mode
cESC>
i
1Bh
69h
<?D
105
<ID
’ 27
Both
<n>
The command above selects or cancels the “immediate” print mode, where 01> is
a binary value of either OOhor Olh or an ASCII value of either “0” or “1”. If CD is
set to OOhor “0”. then immediate printing is cancelled. If ot> is set to Olh or “l”,
then immediate printing is enabled; In immediate print mode, each character is sent
straight to the print head as it is received from the host computer (unbuffered), and
the paper moves up so that it is possible to read what is on the paper, similar to a
typewriter.
67
Reset
<ESC>
1Bh
@
40h
27
64
cFs>
1Ch
@
40h
28
64
Both
Standard
The command above resets the printer. There are no parameters. On receipt of this
command, the buffer is cleared, and all settings (with the following exceptions) are
restored to their power-up values.
l
ASF settings made with the cESC> EM command
l
Panel mode settings
ASF (Automatic Sheet Feeder) control
CEW
&SC>
C?P
1Bh
19h
<n>
27
25
C?D
Both
The command above controls the operation of the ASF, where <EM> is the ASCII
code 19h, and QD may take the binary values OOhor 04h or the ASCII values “R”
or “T’. The effect of these values is summarized below:
Value
Effect
OOh
1 Selectmanualmode
04h
Select auto mode
“R”
Eject paper
‘T”
Set top print position. This parameter must be
followed by anot+ binary value (>l) signifying the ditance (m l/6 inch units) at which
printing should start below the top of the paper.
These commands will be ignored if the ASF has not been selected.
66
Repeated data sequence
Both
<ESC>
<ESC>
v
V
cm
<NULD
...
cdn>
1Bh
1Bh
56h
56h
<n>
OOh
...
&I>
27
27
86
86
<ID
0
...
ain>
The command above delimits data which will be repeated, where cn> is a binary
value (0 thru 255) giving the number of times that the data bytes represented by <do>
. . . c&o will be repeated. The sequence is terminated by the &SC> V cNUL>
(<NuL>=OOh) sequence. It is possible to nest this sequence (up to five levels).
NOTE
Since repeated data is stored in the input buffer (capacity 2k bytes), the total
amount of repeated data cannot exceed this amount.
ASCII command sequences
The command above sequences are not preceded by a &SC> or <FS> character, but
instead are preceded by double parentheses, thus “((“. They apply equally to both the
standard and the IBM emulation modes. They are given below:
Select font
Both
(
(
F
28h
28h
46h
1
29h
1
29h
cn>
<40
40
70
41
41
<n>
Cn>
The command above selects a font., where cn> is an ASCII value which may take
the following values:
“4”
Script
1 1‘99. 1 Draft
I
69
Both
Select/cancel italic print
1
29h
<tD
49h
1
29h
73
41
41
Cn>
(
(
I
28h
28h
40
40
en>
The command above selects or cancels italic printing, where 01> is an ASCII value
which may be either “ 1” or “0”. Any other values will be ignored. If <n> = “1” then
italic printing is enabled, and if en> = “O”, then italic printing is cancelled.
Select/cancel bold print
(
(
28h
40
28h
40
Both
B
1
1
<ID
42h
29h
29h
<n>
66
41
41
<n>
The command above selects or cancels bold printing, where <n> is an ASCII value
whichmaybeeither”l”or”0”.
Any other values will beignored. Ifcn>=“l”then
bold printing is enabled, and if en> = “Cl”,then bold printing is cancelled.
Select/cancel expanded print
(
(
S
1
1
28h
28h
53h
29h
29h
40
40
83
41
41
Both
<n>
The command above selects or cancels expanded printing, where cn> is an ASCII
value from “0” through “3”. The effect of ou is given in the table below:
1 “2”
‘6
70
3
9.
1 Normal
1 Double
1 Double
Double
1
Select color printing (with color option only)
(
(
C
1
1
Both
Cn>
28h
28h
43h
29h
29h
CID
40
40
67
41
41
Cn>
The command above selects the color to be printed when the color option is fitted,
where or> is an ASCII value from “0” through “6”. The color selected by UI> is
shown in the table below:
I
UD
1 Color
I
1
“0”
( Black
1
1
“4”
1 Yellow
“5”
Orange
‘4 .v
6
Green
1 Control ASF
I
CID
(
(
1
1
28h
28h
Cn>
29h
29h
40
40
<)I>
41
41
The command above controls the ASF (Automatic Sheet Feeder), where cn> is an
ASCII parameter which can take the values “ 0 “, “4”, ‘R” or ‘T”. This command has
exactly the same function as the ES&EM> command.
71
MEMO
72
chapter
5
DIP SWITCHES
The bank of DIP switches inside the printer (see illustration below) is used
for various functions. All switches are set ON when the printer leaves the
factory.
DIP switch cwer
Access the switches by removing the top cover, and then sliding the black
switch cover to the left and then pulling up, using the tab at the right, as
shown in the illustration above.
The functions of the switches are shown in the table below:
~:
NOTE
.
Any changes to the DIP switch settings must be made with the power
to the printer turned OFF.
73
Switches 1 and 2 are used to determine the emulation mode (standard or
IBM) of the printer, and also to determine the character set to be used.
Switch
1
2
Emulation
Character Set
ON
ON
Standard
STD #l
ON
OFF
Standard
IBM #2
OFF
ON
IBM
IBM #2
OFF
OFF
IBM
IBM #l
Switches 4 through 7 are used to select the International character set, as
shown in the table below:
Switch
4
1 5
ON
ON
ON
1 7
ON
International
OFF
ON
ON
ON
France
OFF
ON
ON
Germany
1 ON
1 OFF
1 OFF
1 ON
ION
ION
IOFFION
1 England
IDenmark
OFF
ON
OFF
ON
Sweden
ON
OFF
OFF
ON
Italy
OFF
OFF
OFF
ON
Spain I
ON
ON
OFF
Japan
ON
ON
OFF
Norway
OFF
ION
IOFF
ION
IOFF
IDenmarkII
OFF
OFF
ON
OFF
Spain II
ON
ON
OFF
OFF
Latin America
1 OFF I
ON
I
OFF
Character Set
USA
ON
1 ON
74
1 6
I OFF’ I Denmark/Norway
ON
OFF
OFF
OFF
Not used
OFF
OFF
OFF
OFF
Not used
I
I
chapter
6
TROUBLESHOOTING
AND 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 voltages inside.
For that mason, only carry out those operations described in this section.
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 avoid you having to make unnecessary
service calls. The following table gives you ideas on where to look in this
section if you experience faults:
Remember - it is better not to attempt operations or repairs above your level
of competence. Otherwise, you run the risk of damaging the printer.
75
Power supply
If the POWER indicator does not illuminate, check the following:
1 Possible remedy
1 Check
Is the power cable properly
plugged into the electrical
outlet?
Turn off the printer, ensure the power cable is securely
connected. and then turn the printer back on.
Is power being supplied to
the outlet?
Turn off the printer, unplug it, and try with another
appliance to determine if electricity is being supplied to
that outlet.
Is the printer voltage correct?
Ch~kthebonompanelofyourprintertoensurethatthe
outletvoltage corresponds to thevoltagerequiredby
the
printer. If they do not match, DO NOT try to operate the
printer. contact your supplier.
Printing
If your printer does not print, or suddenly stops printing, check the following:
Check
Possible remedy
Is the interface cable connected securely?
Check both ends of the cable - printer and computer to
make sure that the connector is fvmly in position.
Is the ON LINE indicator illuminated?
If it is not, press the ‘$c$
line.
Is the PAPER indicator illu-
If it is. the paper has run out. Load more paper.
button to set the printer on-
minated?
Is the paper caught up internally? (
Turn off the power, remove the jammed paper, replace,
tumontheprinter,
andcontimteprinting.Makesurethat
the leading edge of the paper is smooth and uncreased.
Is the ribbon caught
around the print head?
up
Turn off the power, remove the ribbon, retension it, and
replace it. This problem occurs most frequently with a
worn ribbon, so you may need to replace the ribbon.
Is the software you are using
properly installed for your
printer?
Check the installation settings in your software, and reinstall if necessary.
Can the printer perform selftest operations?
Tum the printer off, and turn it on again, holding down
one of the buttons to perform a self-test. If these do not
work, contact your dealer.
76
-
-
If the print is faint, or uneven, check the following:
Possible remedy
Check
Is the ribbon
stalled?
properly
Check and reinstall if necessary.
in-
The ribbon has a long life, but eventually will need
replacing. Fit a new ribbon cartridge if necessary.
Is the ribbon worn out?
If dots are missing in the printing, check the following:
Check
Possible remedy
Are dots missing at random
in the printing?
The ribbon has become slack, causing it to get caught
up. Stop printing, remove the ribbon cartridge, retension and replace it.
Is a line of dots missing consistently
throughout
the
The print head is damaged. Stop printing, and contact
your supplier for a new print head
printing?
If your application software cannot print the fonts or characters selected,
check the following:
Possible remedy
Check
Is your application
properly installed?
software
Check the software installation, andre-install
ware if necessary.
Are fonts not being selected
Properly?
Are characters other than
those
expected
being
printed?
the soft-
Check the software installation, and insert the commands necessary for font changes into the software.
Either you are using the wrong International Character
Set (reset with DIP switches or software commands).
or you have the wrong character set selected (for
example if characters other than IBM block graphic
characters are being printed). Correct this with DIP
switches or the appropriate software sequences.
If the printout is not what is expected:
1 Check
I
Possible remedv
Is the printer installed correctly?
Your software may think that it is driving a different
emulation to the one actually set Check the DIP switch
settines to make sure YOUhave the rieht emulation.
Is the printer not printing
anything that you are expecting?
Use the Hex Dump mode to analyze the output from the
computer to the printer. This will enable you to determine that the right escape sequences, etc are being
transmitted.
77
Paper feeding
If cut sheet paper (without the ASF) is not feeding smoothly, check the
following:
1 Possible remedy
1 Check
Is the paper release lever
pushed back (to the f position)?
Set the release lever to the h position.
Is the paper guide in place
and vertical?
The paper guide should be in place vertically
sheets to feed smoothly.
Are the left and right guides
too close together?
If the left and right guides are too close together, the
paper will not feed smoothly. Move them a little further
apart to allow the paper to feed freely.
Is the ASF selected with the
Memory Switch settings?
If it is, then deselect it.
Are you trying to feed paper
using the front panel buttons
while the ON LINE indicator
is illuminated?
You can only feed paper in this way when the printer is
off-line. Set the printer off-line and then feed paper.
Is the paper too thick?
There are limits to the thickness of paper that can be fed
in this way. TW with thinner oaner.
for cut
If fanfold (continuous) paper is not being fed correctly using the tractor feed,
check the following:
Check
Possible remedy
Is the paper lever pushed to
the C position?
Make sure the release lever is pushed to the h position.
Is the paper guide in the vertical position?
When using the tractor feed, the paper guide should be
horizontal.
Are the holes on each side of
the paper aligned withregard
to each other in the sprockets?
If the two sides of the paper are out of alignment
them so that the sprocket holes match up.
Are the sprockets too close or
Misalignment of the sprockets, making the paper too
loose or too tight, will prevent a smooth paner feed.
too far apart?
realign
Are the sprockets locked in
position
and the covers
closed?
Correct this if necessary.
Is the paper feedii
into the printer?
The paper should not be too far horn the printer (less
than 1 meter/ 3 feet), and there should be no cables or
other obstacles obstructing its path. The paper should
also be feeding straight into the printer, and an angled
feed may cause iams and blockages.
76
freely
Check
Possible remedy
Are you trying to feed paper
using the front panel buttons
while the ON LINEindicator
is illuminated?
You can only feed paper in this way when the printer is
off-line. Set the printer off-line and then feed paper.
Is the paper too thick?
There are limits to the thickness of paper that can be fed
in this way (one top copy and three NCR copies). Try
with thinner paper.
If the ASF is not operating or is not feeding paper correctly, check the
following:
Check
Possible remedy
&as the ASF option been
selected using the Memory
Switch functions?
Select this option
Is the release lever set to the
l position?
The release lever should be set to the single-sheet
position.
Is the
ASF
mounted?
Make sure that the ASF is properly seated on the printer.
correctly
Is paper caught up near the
print head?
Stop printing, remove the jammed sheet (you may have
to remove the ASF for this), and contimre.
Are the left and right guides
too close together?
If the left and right guides are too close together, the
paper will not feed smoothly. Move them a little further
apart to allow the paper to feed freely.
Is there too much paper in the
paper feed hopper or stacker?
The ASF’s paper feed hopper and stacker can hold 120
sheets each. Make sure that there is no more paper than
this in either the hopper or stacker.
Was the paper fanned before
being fed into the ASF?
If,this is not done, paper jams may occur. Remove the
stack of paper from the ASF and fan it before reinserting.
Has the paper been used already or is it creased?
Only new, uncreased
ASF.
Are you trying to feed paper
using the front panel buttons
while the ON LINEindicator
is illuminated?
You can only feed paper in this way when the printer is
off-line. Set the printer off-line and then feed paper.
Isthepapertoothickortoo
hill?
There are limits to the thickness of paper that can be fed
in this way. Try with different paper.
paper should be used with the
79
If the paper park facility does not appear to be working correctly, check the
following:
I
1 Check
Possible remedy
Is the paper release lever in
the m position?
The paper release lever must be set to the & position
after the fanfold paper has been parked.
Has the fanfold paper been
properly parked?
Make sure that the PAPER indicator comes on after the
fanfold naner has been uarked.
I
If the short tear-off function does not appear to be working properly, check:
Check
Has printing ended
middle of a page?
Possible remedy
in the
Either send a <FF> or enough <LF> commands to eject
the page.
If text is being printed all on one line, or with extra blank lines, check the
following:
1 Check
1 Possible remedy
Is the text all on the same
line?
Carriage
returns
are not being expanded
to
<CR> +<LF> pairs. Check the Memory Switch setting
and correct.
Is text being printed
extra blank lines?
Two line feeds are being printed. Either make your
software print just a carriage return or (if this is not
possible), set the AUTO LF to OFF using the Memory
Switch menus.
with
If the page length and margins are not what is expected, check the following:
Check
Possible remedy
Is the piriming starting too
high or too low on the page?
Use the Micro Feed facility to adjust the print position
relative to the page.
Does the printer’s
page
lengthnotmatchthephysical
page length?
Use the Memory Switch settings, or the DIP switch to
set up the correct page length, or use software commands to do it.
Is the Skipover perforation
facility not working?
Make sure this is set with the Memory Switch menus. If
the skip occurs in the wrong place, make sure the page
length is properly set, and that the top of the print
position is about two lines down from the top of the
Paper-
60
I
EVERYDAY 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, too
(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. If you have to use the printer in such an situation, you
might like to consider the use of an acoustic hood, whose primary
function is to reduce the printer’s noise, but can also act as a barrier against
dust. Consult your supplier for details of a suitable model.
To clean the exterior of the printer, use a barely damp cloth (use 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 compressed-air aerosol (sold for this purpose). When performing this
operation, be sum not to bend or damage any cable connections or
electronic components.
ADJUSTING THE PRINTING GAP
The distance between the print head and the platen can be adjusted to
accommodate different paper thicknesses. To make this adjustment, remove
the top cover. The adjustment lever is located near the left end of the paper
bail. pulling the adjustment lever towards you widens the gap; pushing it
away from you narrows the gap.
There are four positions; you can feel the lever clicking into each position.
The first position (narrowest gap) is the one most commonly used for single
sheets of paper. Try different positions until you get the best printing results.
81
RIBBON REPLACEMENT
The ribbons used by your printer are endless-loop ribbons in which the
ribbon is recycled. When the print quality becomes too faint, you will need
to replace the ribbon. Use only ribbons recommended for use with the printer
(your supplier will be able to advise you).
1 To remove the old ribbon from the printer, first turn off the power.
2 Remove the top cover, and hold the ribbon by the two lugs on each side.
Push in the two lugs slightly, and pull upwards to remove the ribbon.
Ribbontensioning
knob
82
3 Take the new ribbon and tension it by turning the knob on the top of the
ribbon cartridge clockwise.
4 Now insert the ribbon cartridge into the holder gripping it by the lugs, and
turning the knob slightly clockwise if necessary. Make sure that the
ribbon goes between the print head and the platen guard (see illustration
below).
Print head shield
5 Now replace the top cover and turn on the printer. You are now ready to
start reusing the printer.
REPLACING THE PRINT HEAD
This is not a job which you will need to do very often. The print head has been
designed to give a life of about 200 million dots. In normal everyday use, this
will mean years of life. However, if the print quality is faint, even after you
have changed the ribbon, the print head will need replacement.
Only use a replacement print head as recommended by your supplier.
NOTE
This is a fairly tricky operation. Read the instructions below carefully before
attempting it. If you are in any doubt as to your competence to perform it, call in
the experts before you start.
1 Turn OFF the printer, and remove the power cable.
2 If the printer has been in operation immediately before this operation, the
print head will be hot.
NOTE
Allow time for the print head to cool before attempting to work on it,
I
3 Open the top cover.
4 Remove the ribbon cartridge (as described above)
5 Using a Phillips-type screwdriver, carefully unscrew the two bolts
securing the print head to the print head assembly (see the illustration
below).
6 Full the print head firmly upwards, releasing the print head card edge connectors from the connector mounted on the chassis.
7 Remove the retaining screws and washers from the print head assembly.
Put them on one side.
8 Take the new print head, and locate it in position, making sure that the
card edge connections fit securely into the chassis connector.
84
-
rTPrint
head bolts
Print head
NOTE
DO NOT apply excessive force, as this may result in damage to the print head.
9 Fasten down the new print head using the retaining washers and screws.
Do not apply excessive force when tightening the screws, as this may strip
be thread, but ensure that the print head is firmly secured.
10 Replace the ribbon cartridge.
11 Replace the top cover.
12 Re-insert the power cable and re-apply power. Your printer may now be
used. You may like to check the print quality using one of the test print
procedures (see below).
85
-
FRONT PANEL DIAGNOSTIC AND TEST MODES
The printer is equipped with a number of different modes for diagnosis and
testing. These are accessed from the front panel by holding down a front
panel button (or combination of buttons) while turning on the power to the
printer.
The test and diagnostic modes available am listed below
9 A text test print mode
9 A short test print mode
. A long test print mode
l
A hexadecimal dump mode
l
A bidirectional print test
Short test mode
If the printer is turned on while the T 0~u=J button is pressed, the printer will
enter the short self-test mode. The printer will start printing as soon as the
!ZZFFFZbutton is released, and will print the version number of the printer’s
ROM, eg “*** Ver 1.0 ***“, followed by seven lines of the character set.
Each line will he offset by one character from the one before it. If the color
option has been installed, each line will be in a different color. The final
(black and white) result will be something like the following:
[Standard mode]
[IBM mode]
Since the test print occupies the whole width of the carriage, it is recommended that the printer is loaded with continuous stationery to avoid
possible damage to the print head and/or platen.
86
Long test mode
If the printer is turned on while the C-E% button is pressed, the printer will
enter the long self-test mode. The printer will start printing as soon as the
M-R
FEE,button is released, and will print the version number of the printer’s
ROM, eg “*** Ver 1.0 ***“, followed by the whole character set printed in
each typeface and pitch available.
Since the test print occupies the whole width of the carriage, it is nxommended that the printer is loaded with continuous stationery to avoid
possible damage to the print head and/orplaten. In addition, the total number
of lines printed is considerable, more than can be accommodated on a single
sheet, so fanfold paper is certainly suggested for this test.
The printout below shows a short sample of the results of this test:
87
Text test mode
In this mode, the printer will print the Memory Switch menus and options.
This mode is accessed by turning on the printer at the same time as holding
down the CIfEBEZbutton.
The resulting printout will be similar to the example below:
*** ImlxiYSHIMI TREE ***
aJmm7
SKI
NAIW
NRW
‘T’ RKNI
tNsnLL
ml0
NAJlusAm
:nlmm/mywuIlD/1LII
OuIEr
:OPP/oW
mm
GRAR(Ics
DIRECIIW
Aoro c+I-LIN5
:OPP/oW
-STYLI
:NWlAL/SLASHED
sLplLo~
: ms
Nawtsm
/PREmIDB
/cmTca
1SaI1FI
BLIPm
/Lmmn-S
/INS
/m-LIm
Hm.m
/ORIlm
/cImlA
/CODE 39
OCN-A
/m-e
/mKx
/OPTION
: swNtlIa.m/DNAR
PItIm
: locp1
PITal
RIINI
/IS-LIQlIaLa)
am1m
PRINT oIJALIlv
ommlsm
I 12cPI
I 15cPI
:WP/ffl
DRAFf-12
: HI-SPEED / HI-DmSIIY
OPTIDll A.?.F
:WP/C4l
Aum
:1/2/3/4/5/C
LoADIffi
em-am
MSF)
Dsmxon
sHomTPANoPP
SKIP ovm
imJcmAIIoN
:OPP/oI(
: OFe / ON
AlJTO(R
:OPP/ON
PA(iB LSWGIW (INtTl)
GI.PI)
:CWP/QI
:OPP/oII
IwQl
/ PROP
:1/2/3/4/6/6&PI)
AUIOLP
LIIIXS Pm
naa
:OFP/Q(
ITALIC PRINT
AlJIo ImDInG
88
: 81 / UN1
: 3LPI I 4LPI / 6LF’I I 8191
: DIP-SW / 3 / 3.5 / 4 / 5.5
6 I7
I S I 6.5 I 11.7 I 14
Hexadecimal dump mode
In this mode, all received data will be printed in a hexadecimal dump format,
rather than the control codes being acted on as command codes.
This mode is accessed by tuming on the printer, while simultaneously
and /ME,F!? keys. To turn off the mode, it is
holding down the ‘+!S‘
necessary to turn off the printer completely.
The printout will be similar to that produced by a MS-DOS DEBUG Display
command, ie the hexadecimal values of the bytes received will be given in
tows of 16, divided into two blocks of eight. “Unprintable” characters, ie
control codes from OOhthrough 1Fh and 7Fh through FFh, are represented
by periods.
The following (BASIC) program will produce the result below it:
10
20
30
40
50
FOR I=0 TO 255
LPRINT CHR$(I);
NEXT I
LPRINT
END
After the program has been run, the printer’s buffer should be flushed by
pressing the i
button.
00 01 02 03
10 11 12 13
20 21 22 23
30 31 32 33
40 41 42 43
50 51 52 53
60'61 62 63
70 71 72 73
80 81 82 83
90 91 92 93
A0 Al A2 A3
BO Bl B2 B3
CO Cl C2 C3
DO Dl D2 D3
EO El E2 E3
FO Fl F2 F3
OD OA
04
14
24
34
44
54
64
74
84
94
A4
B4
C4
D4
E4
F4
05
15
25
35
45
55
65
75
85
95
A5
B5
C5
D5
ES
06
16
26
36
46
56
66
76
86
96
A6
B6
C6
D6
E6
F5 F6
07
17
27
37
47
57
67
77
87
97
A7
B7
C7
D7
E7
F7
08
18
28
38
48
58
68
78
88
98
A8
B8
C8
D8
E8
F8
09 OA
19 1A
29 2A
39 3A
49 4A
59 5A
69 6A
79 7A
89 8A
99 9A
A9 AA
B9 BA
C9 CA
D9 DA
I39 EA
F9 FA
OB
1B
2B
3B
4B
SB
6B
7B
8B
9B
AB
BB
CB
DB
EB
FB
OC
1C
2C
3C
4C
SC
6C
7C
8C
9C
AC
BC
CC
DC
EC
FC
OD
1D
2D
3D
4D
SD
6D
7D
8D
9D
AD
BD
CD
DD
ED
FD
OE
1E
2E
3E
4E
5E
6E
7E
8E
9E
AE
BE
CE
DE
EE
FE
OF
. . . . . . . .
. . . . . . . .
1F
2F
‘ik+;
iji;;l:;
3F
4F
SF
6F
7F
8F
01234567
OABCDEFG
PQRSTUVU
'abcdcfg
pqrstuvw
89:;<=>?
HIJKLMNO
XYZ[\I"hijklmno
xyz{:]-
9F
AF
BF
CF
DF
EF
FF
........
........
................
........
........
........
........
........
........
........
........
........
........
................
This mode is useful when installing and debugging software, to ensure that
the characters and codes actually being received by the printer are those
which ate actually required.
89
Bidirectional test/adjustment mode
This mode is used to adjust the alignment of the print head on successive
bidirectional passes. After a period of some months, your printer may work
itself out of alignment on left and right printing passes, showing itself most
obviously in graphics printing. This mode will therefore be used very rarely.
1 Turn the printer off and then turn it on again while holding down the
buttons. The printer will then print something like the
‘~=/t% and C~m~u=X
following:
*** DOT-ADJUSTMENT SETTING ***
SLQ,LQ
12
I
I
I
I
I
I
I
I
2 The printer will feed the paper forwards and backwards during this
operation, allowing you to view the paper for optimum alignment.
3 The vertical lines are in fact composed of three lines, the top and bottom
being printed on one pass of the print head, and the middle on a pass in
the opposite direction.
4 To adjust the printing, use the rSB
and ?!EYFE~buttons.
5 The ‘WE% button will move the middle line to the left (as shown by the
number by the side of the lines). The ‘-PEER
FEE;button will perform the
opposite function.
'
IR;pER
FEED
+
-
*** DOT-ADJUSTMENT SETTING ***
SLQ, LQ
12
SLQ,LQ
13
~p%gF~ -sLQ,
I
I
LQ
12
I
I
I
I
II
I’
I
II
I(
I
6 When the three vertical lines are aligned with each other to form one
continuous line, the bidirectional alignment test is completed.
7 To change the mode for which the bidirectional adjustment is performed,
press the ON LINE button. This will cycle between “SLQ, LQ”, “DRAFT”,
and “DRAFT COND”.
90
8 Repeat the process for all print modes.
*** DOT-ADJUSTMENT SETTING ***
SLQ,LQ
11
'PIPER
-~ / FEE?
SLQ ,LQ
12
-N--W
OHLINE
~DRAFT
13
m-iE?/$&DRAFT
12
r ONLIF-DRAFT COND 12
9
To exit from this mode, press the fFc3 button.
91
MEMO
92
chapter
7
MS-DOS AND
YOUR PRINTER
When using your printer with an IBM PC, PC-XT or 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 section 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 the guidelines
provided with your software on printer installation.
If you have your printer set up in standard mode, then choose an Epson
LQ850/1050 or NEC Pinwriter P6/P7 as your printer to be selected.
If neither of these are mentioned, choose one of the following (in order of
preference): Star NB-15, Star NB24-10, Star NB24-15, Epson LQ-1000,
Epson LQ-1500.
If you have your printer set up with the DIP switches to emulate an IBM
Proprinter X24, simply choose this from the list of printers available in the
application software list.
If the IBM Proprinter X24 is not mentioned, use either of the following
choices (in order of preference): Proprinter II, Proprinter.
You may be able to customize your application software to install some of
the control commands specific to your printer (for instance, changing fonts)
which are not available to you under the standard emulation. For instance,
if you are installing WordStar, you may wish to use the VQ, APW, “PE and
“PR commands to choose different typefaces. This can all be done with the
WordStar installation program. Read the section on escape sequences for
details of how to change fonts (for example).
93
If your word-processor does not allow you to change fonts, it may allow a
pause in printing. Insert a “pause” command in your text file at the point
where you want to change fonts. When the document is printed, printing will
then pause at that point. You can then put the printer off-line and change
fonts with the front panel buttons. Then put the printer on-line again and
resume printing.
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 well alloti you to install specific features.
Spreadsheet programs will often ask for the maximum number of columns
to be printed. This is given below.
Number of columns ......... CPI
10
Pica
12
Elite
15
Semi-condensed
17.1
Condensed pica
20
Condensed elite
Proportional
10” model
80
96
120
137
160
Variable
15” model
136
163
204
233
272
Variable
Sometimes the software installation will ask you for an initialization
sequence to return the printer to the default settings (specified by the
Memory Switches). The command for your printer is <ES0 @ (lBh, 40h).
Make sure that the DIP switches are set for the right printer emulation, and
that you have selected the appropriate character set using the DIP switches.
If you are in any doubt about the configuration of your application software,
seek expert advice. Your software supplier will probably be your most
convenient reference.
94
GRAPHICS HARD COPY
On a PC-compatible computer running under MS-DOS, you can use the
m
and @t!$$J keys on the computer together to obtain a printout of a
text screen. To print out a graphics screen, you will have to run the program
GRAPHICS.COM. See your MS-DOS manual for further details.
Continuous echoing of text output to the screen to the printer can be toggled
on and off by use of them(PrtSc)[email protected] key combinations.
SETTING UP THE PRINTER FROM THE DOS
PROMPT
The PRINT command can be used to transmit control codes and escape
sequences from a file to the printer in order to set up various parameters. For
instance, if you want to set up letter quality printing, the command is <ES0
x 1 (1Bh 78h 31h).
A file must therefore be created using these three characters. Though the
MS-DOS line editor EDLIN can be used, there is a small difficulty in
inputting the <ES0 character. This is achieved with the following sequence:
aI%ima
and then the ASCII “xl” can be input. The file is then saved, and output to
the printer. The session can therefore be something like the following:
A>EDLIN LQ.DAT
'NEW FILE
*1
l:**v[xl
2:**c
*E
Of course, if you have a text editor or word-processor which allows you to
input characters such as the <ES0 character, this is probably preferable to
using EDLIN. For full details of how to use EDLIN, consult your operating
system manual.
95
The resulting file should be sent to the printer using the COPY command,
eg:
A>COPY LQ.DAT PRN
prior to printing document files. Of course, this command can also be
included in a batch file.
PROGRAMMING USING BASIC
As discussed earlier, a version of BASIC is usually supplied with PCcompatible machines. With this BASIC, characters are sent to the printer
using the LPRINT command, and control codes are defined using the
CHR$O function.
Sample program
The following lines of BASIC give examples of how the printer may be
driven from within your own programs:
1000 ' Set control codes
'Escape code
1010 E$=CHR$(27)
'Draft quality
1020 D$=E$+"xO"
'Letter quality
1030 L$=E$+"xl"
1040 F$=E$+"k"
'Select font
'Select Courier
1050 C$=F$+CHR$(Z)+L$
'Horizontaltab
1060 H$=CHR$(V)
'Pica pitch
1070 P$=E$+"P"
1080 ' Start printing
1090 WIDTH "LPT1:",255
1100 LPRINT E$;"D";CHR$(3);CHR$(27);CHR$(O);
1110 LPRINT C$;"Font settings:"
1120 LPRINT H$;D$;"Draft characters,";L$;
1130 LPRINT H$;F$;CHR$(O);"TMSROMN characters,"
1140 LPRINT H$;F$;CHR$(l);"TW-Lightcharacters,";
1150 LPRINT H$;F$;CHR$(2);"Couriercharacters,"
1160 LPRINT H$;F$;CHR$(3);"Prestigecharacters,";
1170 LPRINT H$;F$;CHR$(4);"Scriptcharacters,"
1180 LPRINT H$;F$;CHR$(S);"OCR-Bcharacters,";
1190 LPRINT H$;F$;CHR$(~);"OCRTAcharacters,"
1200 LPRINT H$;F$;CHR$(7);"Letter-Gothic,";
1210 LPRINT H$;F$;CHR$(8);"Blippocharacters,"
1220 LPRINT H$;F$;CHR$(V);"Oratorcharacters,";
1230 LPRINT H$;F$;CHR$(lO);"Helvetcharacters,"
1240 LPRINT H$;F$;CHR$(ll);"Optimocharacters,";
1250 LPRINT H$;F$;CHR$(12);"Cinemacharacters,"
1260 LPRINT H$;F$;CHR$(l3);"CODE39";
1270 LPRINT C$;" (CODE 39 characters),"
1280 LPRINT H$;F$;CHR$(14);"Greekcharacters,"
1290 LPRINT H$;F$;CHR$(ZO);"SLQTMS ROMN and ";
1300 LPRINT F$;CHR$(21);"SLQTW-Light characters"
"
1310 '
1320 LPRINT
1330 LPRINT C$;"Print pitches are:"
1340 LPRINT H$;P$;"Pica pitch (10 CPI),";
1350 LPRINT H$;E$;"M";"Elite pitch (12 CPI),"
1360 LPRINT H$;E$;"g";" Semi-condensed pitch (15 CPI),";
1370 LPRINT H$;P$; 'Select condensed print
1380 LPRINT CHR$(lS);
1390 LPRINT "Condensed pica pitch (17 CPI),"
1400 LPRINT H$;E$;"M"; Condensed elite pitch (20 CPI),";
1410 LPRINT CHR$(18)
'Cancel condensed print
1420 LPRINT H$;E$;"pl"
'Select proportional spacing
proportional, ";
1430 LPRINT P$ ;“Normal
."and condensed proportional.";
1440 LPRINT H$;CHR$(lS 1 ,
1450 LPRINT CHR$(18j;
'Cancel proportional spacing
1460 LPRINT E$;"pO"
1470 LPRINT
1480 LPRINT H$;E$;"wl";"Double-height,";E$;"wO"
1490 LPRINT H$;E$;"W1";"Double";E$;"WO":" and ";
1500 LPRINT CHR$(28);"E";CHR$(2);"Triplet';
1510 LPRINT CHR$(28);"E";CHR$(O):" width,"
1520 LPRINT H$;E$;"h";CHR$(l);"Double-sized,"
1530 LPRINT H$;E$;"h";CHR$(2);"Quad-sized.";
154.0LPRINT E$;"h";CHR$(O)
1550 LPRINT :LPRINT
1560 '
1570 LPRINT E$;"Q";CHR$(47) 'Set right margin
1580 LPRINT C$;"Various line and character spacings:"
'Center text
1590 LPRINT E$;"al"
1600 FOR I=1 TO 6
1610 LPRINT E$;"A";CHR$(I); 'Set line spacing
1620 LPRINT ES;" ";CHR$(I); 'Increase character space
1630 LPRINT "THE SPACINGS ARE CHANGED"
1640 NEXT I
1650 FOR I=6 TO 1 STEP -1
1660 LPRINT E$;"A";CHR$(I); 'Set line spacing
1670 LPRINT ES;" ";CHR$(I); 'Increase character space
1680 LPRINT "THE SPACINGS ARE CHANGED"
1690 NEXT I
1700 LPRINT E$;"aO"
'Left justify
1710 LPRINT E$;"3";CHR$(30); 'Set l/6" line spacing
1320 LPRINT ES;" ";CHR$(O); 'Normal character space
1730 LPRINT :LPRINT E$;"Q";CHR$(80)
1740 '
1750 LPRINT C$;"Other features:"
1760 LPRINT H$;E$;"q";CHR$.(1);"OUTLINE";", ";E$;"q";CHR$(O);
1770 LPRINT E$;"q";CHR$(2);"SHADOW";", ";E$;"q";CHR$(O);
1780 LPRINT ES;"a";CHRS(3j:"OUTLINE & SHADOW":", ";
1790 LPRINT E$;"q";CHR$(Oj;
1800 LPRINT ES~"4"~"Italics":E$~"5"~"
I
.
,
,, "
1810 LPRINT HS;E$;;'E";"Emphasized";E$;"F";", 'I;
1820 LPRINT E$;"G";'!Double-strike";E$;"H";", ";
1830 LPRINT ES;"-l";"Underlining";F$;"-O";", "
1840 LPRINT H$;E$;" l";"Overlining";E$;" O";", I';
1850 LPRINT E$;"SO"j"SUPERSCRIPT";E$;"T"j", ";
1860 LPRINT E$;"S1";"SUBSCRIPT";E$;"T";", "
1870 LPRINT H$;C$;"Download characters: ";
97
1880 GOSUB 3020
'Select superscript
1890 LPRINT E$;"SO";
'Selectdownload character
1900 LPRINT E$;"%l";
1910 FOR I=1 TO 5
'Print download character
1920 LPRINT CHR$(60);
1930 NEXT I
'Select normal character
1940 LPRINT E$;"%O";
'Cancel superscript
1950 LPRINT E$;"T";
1960 GOSUB 3150
'Selectdownload character
1970 LPRINT E$;"%l";
1980 FOR I=1 TO 5
'Print download character
1990 LPRINT CHR$(60);
2000 NEXT I
'Select normal character
2010 LPRINT E$;"%O";
2020 GOSUB 3020
'Select subscript
2030 LPRINT E$;"Sl";
'Selectdownload character
2040 LPRINT E$;"%l";
2050 FOR I=1 TO 5
'Print download character
2060 LPRINT CHR$(60);
2070 NEXT I
'Select normal character
2080 LPRINT E$;"%O";
'Cancel subscript
2090 LPRINT E$;"T"
2100 LPRINT H$;C$;"Dot graphics:";CHR$(13);
2110 DIM LOG0$(4)
2120 RESTORE 4230
2130 FOR ROW=1 TO 4
2140 FOR COL=l TO 65
2150 READ GD
2160 LOGO$(ROW)=LOGO$(ROW)+CHR$(GD)
2170 NEXT COL
2180 NEXT ROW
2190 LPRINT E$;"A";CHR$(8); 'Set 8/60" line spacing
2200 FOR ROW=1 TO 4
2210 LPRINT II
2220 FOR B=O TO ;'
2230 IF B=2 THEN 2280
2240 IF B=5 THEN 2280
2250 LPRINT E$;"*";CHR$(B); 'Select normal density
2260 LPRINT CHR$(65);CHR$(O);LOGO$
(ROW);
2270 LPRINT (I ";
2280 NEXT B
2290 LPRINT
2300 NEXT ROW
'Initialize printer
2310 LPRINT ES:"@"
2320 END
" 3000 '
3010 ' SUBROUTINES
3020 ' Define super/subscriptdownload character
3030 LPRINT E$;"Sl";E$;":";CHR$(O);CHR$(O);CHR$(O);
3040 LPRINT E$;"&";CHR$(O);CHR$(60);CHR$(60);
3050 RESTORE 4020
3060 READ LS :LPRINT CHR$(LS);
3070 READ CW :LPRINT CHR$(CW);
3080 READ RS :LPRINT CHR$(RS);
30.90FOR M=l TO CW*2
3100 READ MM
3110 LPRINT CHR$(MM);
98
3120 NEXT M
3130 RETURN
3140
3150 ' Define LQ pica download character
3160 LPRINT C$;
3170 LPRINT E$;"&";CHR$(O);CHR$(6O):CHR$(60);
3180 RESTORE 4100
3190 READ LS :LPRINT CHR$(LS);
3200 READ CW :LPRINT CHR$(CW);
3210 READ RS :LPRINT CHR$(RS);
3220 FOR M=l TO CW*3
3230 READ MM
3240 LPRINT CHR$(MM);
3250 NEXT M
3260 RETURN
4000
4010 ' DATA
4020 t Super/subscript download character data
4030 DATA- 7, 23, 6
4040 DATA 12. 0. 16. 0. 44, 0, 80, 0, 44,120
4050 DATA 64;128, 33,120; 94,128, 33,120, 94,128
4060 DATA 33, 24, 66, 0, 33, 24, 94,128, 33,120
, 0, 33,120,
16,
0, 64,128,
12, 0 44,120, 80, 0
4070 ;A";; ;;,128,
4080
4090
4100 ' LO pica download characer data
4110 DATA - 4. 29, 3
7. 0. 0. 8. 0, 0, 23, 0, 0
4120 DATA
4130 DATA 40; 0; o; 19; 15,192, 40, 16, 0
4140 DATA 80, 47,192, 32, 80, 0, 80,175,192
4150 DATA 47, 80, 0, 80,175,192, 47, 80, 0
4160 DATA 80,163,192, 33, 64, 0, 80,163,192
4170 DATA 33, 64, 0, 80,163,192, 47, 80, 0
4180 DATA 80,175,192, 47, 80, 0, 80,175,192
4190 DATA 32, 80, 0, 80, 47,192, 40, 16, 0
4200 DATA 19, 15,192, 40, 0, 0, 23, 0, 0
8, 0, 0, 7, 0, 0
4210 DATA
4220
4230 ' Dot araphics data
4240 ' ROW i 0, 0, 0, 0, 1, 3, 7, 7, 7, 15
4250 DATA
4260 DATA 14, 14, 14, 14, 14, 7, 7, 3, 3, 15
4270 DATA 15, 15, 0, 0, 0, 0, 6, 7, 7, 7
7, 7, 7, 7, 7, 6, 6, 0, 0, 7
4280 DATA
7, 7, 7, 7, 7, 7, 7, 7, 7, 7
4290 DATA
0, 0, 7, 7,. 7, 7, 7, 7, 7, 7
4300 DATA
7. 7. 0. 0. 0
4310 DATA
4320 'ROW2'
0, 0, 60,255,255,255,255,255,143, 15
4330 DATA
7, 7, 7, 7, 3, 3, 3,131,193,241
4340 DATA
4350 DATA 240,240, 0, 0, 0, 0, 0, 0,224,255
4360 DATA 255,255,255,255, 31, 0, 0, 0, 1, 3
4370 DATA 31,255,255,255,255,255,255, 1, 0, 0
4380 DATA
0, 1, 7, 31,255,252.240,192,128. 0
4390 DATA
0, 0, 0, 0, 0
4400 ' ROW 3
4410 DATA
0, 31, 31, 3,129,128,192,192,192,192
99
4420 DATA 192,224,224,224,224,240,255,255,255,255
4430 DATA 255,127, 0, 0, 0, 0, 0, 0, 0,192
4440 DATA 255,255,255,255,255,15, 15, 63,252,240
4450 DATA 192, 0,240,255,255,255,255,255,7, 15
4460 DATA 127,252,240,192, 0, 0, 0, 0, 0, 0
0, 0, 0, 0, 0
4470 DATA
4480 ' ROW 4
4490 DATA
0,248,248,240,224,224,112,112,
56, 56
4500 DATA 56, 56, 56,120,120,240,240,224,224,lV2
4510 DATA 128, 0, 0, 0, 0, 0, 0, 0, 0, 0
4520 DATA 128,248,248,248,248,240,192,0, 0, 0
4530 DATA
0, 0,240,248,248,248,248,240,192,0
4540 DATA 0, 0, 0, 0, 0, 0, 0, 0, o, o
0, 0, 0, 0, 0
4550 DATA
This will produce the following results as shown on page 102.
How the program works
This program begins by assigning a number of printer commands to BASIC
string variables (lines loo0 to 1070). You can find most of these commands
near the beginning of chapter 4.
The WIDTH “LPTI:” 255 statement in line 1090 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 1100. Using the preassigned commands, the
program prints samples of its different font styles, followed by samples of
the print pitches, then some double and quadruple-sized printing.
Next comes the central attractionof the program: aline of text printed twelve
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
1570); a centering command (line 1590); a command to vary the line spacing
(lines 1610 and 1660); and a command to micro-adjust the space between
characters (lines 1620 and 1670).
Next the program n%uns to normal spacing and gives a demonstration of the
printer’s word-processing abilities: outlined printing, bold printing, underlining, subscripts, etc.
-
100
-
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 “c” (character 60).
The final part of the program uses dot graphics to print an “SW” logo. The
dot pattern of the logo was originally laid out on graph paper, then converted
to the data in lines 4240 to 4550 with the help of a calculator. Each number
represents eight vertical dots. (See “Graphics commands” in Chapter 4 for
details.)
The pattern is printed in four tows, each eight dots high and 65 dots wide.
Lines 2110 to 2 180 read the dot data into a string array variable named
LOGO$. Line 2190 sets the line spacing to 8/60 inch so that the tows will
connect vertically. The loop in lines 2200 to 2300 does the printing in four
passes of the print head.
This program can also be run in IBM mode if you change a few of the lines
as shown below to allow for differences in some of the commands. You will
get a cylinder instead of a barrel effect, becuase the IBM mode does not have
any command to micro-adjust the character spacing.
Modifications for IBM mode:
'Pica pitch
1070 P$=CHR$(18)
1350 LPBINT H$:E$;":";"Elitepitch (12 CPI),"
1360 ' LPRINT H$;E$;"g";"Semi-condensedpitch (15 CPI),";
1390 LPRINT H$;"Condensedpitch (17 CPI),"
1400 ' LPRINT H$;E$;"M";"Condensed elite pitch (20 CPI),";
1490 LPRINT H$;E$;"Wl";"Doublewidth";E$;"WO"
1500 ' LPRINT CHR$(28);"E";CHR$(2);"Triple";
151Q ' LPRINT CHR$(28);"E";CHR$(O);"width,"
1570 LPRINT CHR$(28);"Q";CHR$(47)'Set right margin
1610 LPRINT E$;"A";CHR$(I);E$;"2";'Set line spacing
1620 ' LPRINT ES;" ";CHR$(I); 'Increasecharacter space
:ifz LPRINT E$;"A";EHR$(I);E$;"2";'Set line spacing
LPRINT ES;" ;CHRS(I); 'Increasecharacter space
1710 LPRINT E$;"3";CHR$(36);'Set l/6" line spacing
1720 ' LPRINT ES;" ";CHR$(O); 'Normal character space
1730 LPRINT :LPRINT CHR$(28);"Q";CHR$(80)
1760 ' LPRINT H$;E$;"q";CHR$(1);"0UTLINE";",
";E$;"q";CHR$(O);
1770 ' LPRINT E$;"q";CHR$(2);"SHADOW";",
";E$;"q";CfR$(O);
1780 ' LPRINT E$;"q";CHR$(3);"0UTLINE& SHADOW";", ;
1790 ' LPRINT E$;"q";CHR$(O);
1800 LPRINT H$;CHR$(28);"4";"Italics";CHR$(28);"5";",
"
2190 LPRINT E$;"A";CHR$(8);E$;"2"; 'Set 8/60" line spacing
3030 LPRINT E$;"Sl";CHR$(28);":";CHR$(O);CHR$(O);CHR$(O);
3040 LPRINT ES;"=";CHR$(O);CHR$(60);CHR$(60);
3170 LPRINT ES;"=";CHR$(O);CHR$(6O);CHR$(60);
L
101
Font settings:
TMS R0MN characters,
Courier characters,
Prestige charac:t.e.rs, SCA-C.
p.tc.ha~ac.te,rc.-cr
,
/ , y- ,’
f
,}
(: p, ,,A;!r
,f< ,:.’ 1 :‘f.’
+; _
TW-Li @It8 &mI~ax t el>s ,
OCR-B
characters,
Letter-Gothic,
ORATOR
CHARACTERS,
Optima
characters.
OCR-A
characters,
Blippo
charactcrr,
Helvet
characters,
C i rwma
charac
‘ElIllIlllllpll lip’ Mlll[ ( CODE 39 characters),
ree c arac .ers.
SLQ TMS ROMN ancl SLQ TW-.-Light
characterls
Print pitches are:
Pica pitch (10 CPI),
Semi-condensed
pitch
txr s )
Elite pitch (12 CPI),
imdensed pica pitch ill CPI),
(15 CPI),
Condensed
elite pitch (20CPi),
Normal proportional,
andcondensed
proportional.
Double-height,
Double
and TX--
Double-sized,
ir=,
1
c-
width,
Quad -sized.
Various line and character spacings:
Other features:
QUTLHIE p BHIUBPI, lfiRmT!LBrn
&
Italics,
Emphasized,
Double-strike, UnderlIning
--__--.-J
mming,
SUPERSCRIPT, SUBSCRIPT,
Download characters: **f**8tB88~taat
Dot graphics:
Of course, many more facilities are available with the printer, but this may
give you some ideas as to how you can drive the printer using your own
programs.
Patches necessary to use the BASIC interpreter
When using the Microsoft BASIC interpreter usually supplied with PCs and
compatibles, a number of problems may arise. Firstly, if the interpreter
transmits a carriage return (ODh) character to the printer, it automatically
transmits a line feed as well. Secondly, the BASIC interpreter will not
transmit EOF markers (1Ah) at all. Normally, this will not cause problems,
but if such a character is included in a character definition or graphic data
string, problems may occur. To get round these two problems, the use of the
following subroutine patches is recommended:
1260 LPRINT H$;F$; :I=13 :GOSUB 5000 :LPRINT "CODE 39";
Monochrome display
5000
’
5010 O=INP(&H3BD) :IF 0<128 THEN 5010
5020 OUT &H3BC,I :OUT &H3BE,5 :OUT &H3BE,4
5030 RETURN
Color display
5000
’
5010 O=INP(&H379) :IF 0<128 THEN 5010
5020 OUT &H378,1 :OUT &H37A,5 :OUT &H37A,4
SO;0 RETURN
Call these subroutines when downloading characters or bit-image data,
instead of using an LPRINT CHR$(I) statement. For other languages, check
the documentation to see how the compiler/interpreter handles end-of-line
and end-of-file characters.
NOTE
These patches are only for use with MicrosoftBASIC interpretersunder PC-DOS
or MS-DOS on PCs/PC-ATs or compatibles. They will not work with other
languages, machines and/or operating systems.
103
MEMO
-
104
-
chapter
8
SPECIFICATIONS
Brinting system ............................ .. Serial Impact Dot-matrix
printing speed ................................ 200 cps (Draft pica)
67 cps (LQ pica)
Print direction ........ ............... ......... Bidirectional, logic-seeking
Unidirectional, logic-seeking
(selectable)
Number of print pins ............. ......... 24
Line spacing ................... ................ l/6, l/8, n/180, n/360 inches
Characters .... .................................. Draft
ASCII
International
IBM special
Super/subscript
LQSLQ
ASCII
International
IBM special
IBM block graphic
Super/subscript
Download (draft or LQ)
96
14 sets (*)
111
257
96
14 sets (*)
111
50
257
128 (255 **)
* USA, France, Germany, England, Denmark I, Sweden, Italy, Spain I,
Japan, Norway, Denmark II, Spain II, Latin America, Denmark/
Norway
** In pica pitch if optional RAM card has been installed
105
15" model
Number of columns .......................
Pica
Elite
Semi-condensed
Condensed pica
Condensed elite
Proportional
CPI
10
12
15
17.1
20
Character dot matrix .... .... ..............
Pica
Elite
Semi-condensed
Condensed pica
Condensed elite
Super/subscript
Proportional
Super/subscript proportional
Draft
24 x 9
24x9
16x7
24x9
24x9
16x7
Bit image dot-matrix ......................
&pin single
8-pin double
8-pin high-speed double*
8-pin quadruple*
8-pin CRT I
8-pin CRT II
24-pin single
24Lpin double
24-pin CRT III
24-pin Triple
24-pin hex*
DPI
60
120
120
240
80
90
60
120
90
180
lo” model
24 x720
24 x 1440
24x 1224
360
24x2880
24x4896
lo” model
80
96
136
163
120
204
137
233
272
160
Variable
LQ
24x35
24x29
Variable
SLQ
48x35
48x29
16x23
24x18
24x15
48x18
48x15
16x23
24xn
48xn
-
16xn
8x480
8x960
8x960
8
x 1920
8x640
8 x720
24x480
24x960
15” model
8x816
8 x 1632
8 xl632
8x3264
8 x1088
8 xl224
24x816
24x1632
24x2448
* It is impossible to print adjacent dots in the modes marked with an asterisk
(*I-
106
Paper feed .... .................................. Friction and push tractor (standard)
Pull tractor (option)
Paper feed speed ............................ 3.66 inches/second max (without ASF)
3.43 inches/second (with ASF)
Paper width .. ..................................
Cut sheet
Fanfold (continuous)
lO”mode1
5.5”-11.7”
3"-10"
15”model
6”-16.5”
4"-16"
Copies .... ...... .................................. Original + 3 copies
Maximum buffer size .......... ...........
(DOWNLOAD=NO)
Without IC card
With IC card
@OWNLOAD=YES)
Without IC card
With IC card
lO”mode1
15”model
59k
41k
73k
12k
27k
26k
41k
27k
Emulations ..................................... Epson and NEC mode
IBM Proprinter mode
Interface .... ......... .. ...................... .... Centronics parallel (standard)
RS-232C serial (option)
Ribbon type ................... ....... .......... On-carriage, dedicated
Black (standard), Color (option)
Ribbon life ..................................... 3 million characters (draft pica)
Dimensions (10” model) ..........'
......451(w)x 341(d) x 139(h) mm
17.8(w) x 13.4(d) x 5.470 in
Dimensions (15” model) ................593(w) x 341 (d) x 139(h) mm
23.4(w)x 13.4(d) x 5.47(h) in
Weight (10” model) ....................... 8kg (17.6lb)
Weight (15” model) .... ................... 10.5kg (23.1lb)
107
Power supply ................. ........... .... . 120VAC. 220VAC. 240VAC, 50/6OHz
(varies according to the country of purchase)
Options ........................................... Automatic sheet feeder
RS-232C interface
Color printing kit
Character font card (64k)
Battery-backed RAM card (32k)
Pull tractor feed
The following describes the pinout of the parallel (Centronics-type) interface connector (signals which are low when active are overlined):
Pm
1
STROBE
Goes from high to low (for To.Sps) when active
2
DATA0
High when active
3
1 DATA1
1 Hieh when active
4
DATA2
High when active
5
DATA3
High when active
6
DATA4
High when active
7
DATA5
High when active
8
DATA6
High when active
9
DATA7
High when active
10
ACK
5ps low pulse acknowledges
11
BUSY
Low when printer ready to receive data
12 .
PAPER
High when paper out. Can be disabled
Switch setting
13
14.15
SELECT
1 N/C
receipt of data
with Memory
High when printer is on-line
I
I
16
SIGNAL GND
Signal ground
17
CHASSIS
Chassis ground (isolated from signal ground)
18
+5v
+5V IX outout from nrinter
GND
Twisted pair ground return
31
RESET
When this input signal is low, printer is reset
32
ERROR
Outputs low when printer cannot continue, due to an error
EXT GND
External ground
19-30
33
34,35
36
108
Function
Name
N/c
SELECT IN
Alwavs hinh
chapter
9
CHARACTER SETS
This chapter gives tables of the printer’s standard and IBM character sets.
In the following character set charts, the printer fonts are divided into four
families:
Family
Family
Family
Family
1: All fonts except those listed below:
2: OCR-A
3: Code 39
4: Greek
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 entries at the top and left
edges of the table. for example, the character “A” is in column 4 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.< >.
<Sample>
Hexadecimal
ilow order)
value
STANDARD CHARACTER SET #I
Family I
0
I, I
2
I
1
4
5
#
8
1112
!
I 491
I 651
I 171
I 331
1 R
I R
1 ”
I 2
66
I 50
I
I 18
I 34
I 2
s
3
c
#
Qc3
13
I
11
rii
4
D
T
wd)
$
1
111
I
I
1
%
l-ii 1
I 6
I 22
5
GEL)
f-7
CBS)
(CAN)
I
1
6 -F-l”IfIY--l
l-5
I-G
l-i- IT
-‘I
8
I-T
)
G
7
(
I 70
I 54
I 38
‘-1 9
lq
-‘I
I
1102
g
‘-I
li%y
w
I-K
I
1
h
I J
Y
I(E$C, --I +
‘-I :
--I K
I Z --I i
“1 r
1119.
x
1104 1120
-
.
.
I 311
t
j-iii-
I 86
W
H
X
I-G- rii- ]
I:
I 151
d
E U
e u 11171
l-5 I ES1 I 851 1101 I
_.
110
P
1 11
IQ&
r
7
’
P
@
6
IIs
&
c
u
7
0
lo
JDCl)J
5
4
kDC2)
I+
3
3
2
NUL)
0
I
1
“-I z
(819
A
6
0
2
c
@
1 B
D
P
E
’
F
D
1 R ---I h ---I I”
L
.
i
h
L
.
\.
.
L
L
c
c
‘
L
111
Family 2
0
1
2
3
4
5
6
7
.I.__.
m
9
8
0
A
B
alII 1
a
E
ri
a
129
--A
2
*
A
+
L
D
D
F
D
128
1
I
C
140
-I
-P
z
j
170
171
7
R
-0
234
k
24I
250
(
235
I
251
CR)
141
CSD)
tkk
E
F
142
CA)
143
113
Family 3
-
I l--T-l riTj
I(RPI f(f’AN\ I
1 ”‘--1
I II Ill
__
I Ill II
y1lllI
‘IJ
60
El
Ill1I
III1
I
B
62
63
114
Ill1I
76
77
70
79
Family 4
8
_
1
2
3
9
A
(NIJL)
I
Ica
IO
CDCI )
!
1129
1145
llsl
(DC'2)
"
1130
1146
1162
(DC3)
#
I-iii
1163
I
11771
11931
12091
12251
12411
11781
It941
I2101
12281
12421
-
STANDARD CHARACTER SET #2
Other characters are identical to Standard character set #l.
Family I
Family 2
-
118
Family 3
Family 4
119
-
IBM CHARACTER SET #2
Family I
0
3
112
CR)
I&
D
E
F
13
60)
14
($1)
15
120
4151617
1311
1471
1631
1791
1951
ltt1I 11271
9
8
LlC
A
Ifi
Ia
8
C
IL
I
D
I”
6
1177
T
130
ii
7
I-iii
a
a
8
132
1180
133
llat
-
I1361
11521
lisel
I1841
13
I
r
lr
-I
t
131
T
la
F
=r
ii
129
E
II
-
h
c
t
P
(I
F-J
IT
CL
I2001
lnrsl
-l
-I
I2321
I2481
i
i
121
-
Family 2
I
I(U)
0
1
I 101
A(ESQ
I 281
1 421
1 581
1 741
I t
;
1 K
IB
2
3
4
5
6
7
1 901
Ik
ltosl
I (
-.
F
61)
I 14
l-ii
122
I 30
I-r
1 82
I 48
/
1
1
ho
1 78
0
?
0
179-m
liii
1128
(ML)
(127.
glAIBI
I
I
e ------I
16
I
I
C
I
L
D
E
AL
F
E
a
If141
ILJUI
If
123
Family 3
All codes above 7Fh are undefined.
I3
”
4
-1
6”
8
r,
1llll-
I 211
I 371
11111
- 11111
- lllllI 531
I
@EL)
CBS)
(HT)
*
Ills
-
I 51
6
7
ltrs
w
I 71
I
(CAN)
EM)
.- I 101 -.
I231
I391
I-K
IT
-
I 281
IIll1-
I421
IIIll
1551
l-5
IllII
1
IIll1
f-ii
IT9
-
1 581
IllII -
1 741
IIll1-
1 $01
I101
1117
(102
llttl
pK
IiF
Iii-4
1120
1105
1121
IlOSl
(1221
-
I301
124
1481
1621
1781
1941
I
Family 4
118
W
119
8
(CAN)
(BS)
l-i
8
(
1
IT
X
H-IX
I-T
120
Y
121
Z
122
1 11
P
m
C
1 27
1 43
(FS)
fi~128l-Tl-E
,
c
F
I-L
L
=
1 13
I 43
1 29
Icst,
.-'-I
I131
1461
1301
I
I /
4'4
1311
E
z
1123
1
\
I 61
1471
I ?
1
M
I 77
>
.
1141
1107
I 91
I
lloa
al)
L
1 73
<
m
IJ
1 39
N
1821
1761
I 0
J-T-I-A-~
1124
m
*
n
1
*
llro
1126
(DEL,
0
IiiF
1127
125
-
8
P
A
0
1128
B
1
I
r
2
1144
1129
B
C
L
L
C
llso
1176
K
l-iii.
T
l-iii
Iii-
I
list
D
lL
1177
1193~
E
w
1208
i=
1224
6
1209
A.
F
D
6
1240
2
1225~
1146
1162
1178 7
1194 B 1210
1226
11341
11501
11661
11821
1198l
12141
12301
11361
1152 I
11681
11841
12001
12161
b
I , 11371
11531
ll89l
11851
1201 I
121
2
1241
1242
.-
A
3
It
131
E
4
132
Z
5
133
H~
c”
”
a
A
9
-
I
11421
I1581
11741
Itsol
1
-
126
-
IBM CHARACTER
SET #I
Other characters are identical to IBM character set #2.
The duplication of control codes enables systems with a ‘I-bit interface to
obtain control functions when the most significant bit is set to 1 by the
<ES0 ‘I>” command.
127
‘.
ADDITIONAL
CHARACTER
SET
-
In IBM mode, additional characters
can be printed by special commands
except the Family 3 (Code 39).
-
-.
128
INTERNATIONAL CHARACTER SETS
When an international character set is selected DIP switches 4 to 7 or by a
command from software, the following changes are made in the character
set:
40 5B 5c 5D 5E
@
*h
I i +1
0 -7
6
94
A
§A
Tii *
\
IP
--iiA A
ij A ii
IITALY
INORWAY
I#lS
]#I#
i *B
@ i I
e [ -ii
* i B QI
Q,
aI i T
61 i T
Ie I i
A
Y
-4v
01
See Chapter 5 for the DIP switch settings.
The commands for selecting the international character sets are:
Standard mode: <ESC> “R” n IBM mode: cFS> “R” n
Where n means character code n, i.e. CHR$(n) in BASIC. The values of n
are:
0 U.S.A.
1 France
2
Germany
3 England
4 Denmark1
5 Sweden
6 It~y
7 Spain1
8 Japan
9 Norway
10
11
12
13
Denmark II
Spain II
Latin America
Denmark/Norway
129
-
MEMO
.-
-
-
-
130
-
INDEX
IA]
Application software installation, 93
ASF, 120
Troubleshooting, 79
Auto CR, 21
Auto LF, 21
Auto loading, 20
ASF, 20
Auto on-line, I9
Automatic sheet feeder - see ASF
IBI
BASIC programming, 96,203
Bidirectional printing, 19
Bidirectional test mode, 90
Buffer clear/reset, 16
LE-I
Emulation, 23,73,74
Environment, I
Epson mode - see Standard mode
Escape sequence example, 25
Escape sequences, 24
El
Factory settings, 22
Fanfold paper, 8
Short tear-off function, I5
Font panel lock, 13
Font selection, 13
Form feed, 14
Front panel controls, II
El
El
charactersets,109
Character set, 73,744
Cleaning, 81
Command codes, 24
Command menu, 19
Condensed print, 20
Connection to computer, 5
Continuous stationery - See Fanfold
paper
Controls, I1
Cut-sheet paper, 7
IDI
Default settings, 22
Diagnostic and test modes, 86
DIP switches, 73
Location, 6
Draft-12,20
Draft mode, 12
Graphics direction, 19
Graphics dump, 95
IHI
Hexadecimal conventions, 23
Hexadecimal dump mode, 89
High-speed/high density printing, 20
III
IBM mode, 23
Indicators, I I
International character sets, 74,129
Italic printing, 20
Letter Quality mode - see LQ mode
Lines per inch, 21
LQ mode, I2
131
IMI
Maintenance settings, 16
Maintenance, 81
Maximum number of columns, 94,106
Memory switches, I7
Memory switch tree, IS,88
Micro Feed, 16
Mode panel lock, 13
Mode setting, 12
LN-I
Negative numbers, 23
Numerical representation, 23
lol
Option ASF, 20
El
Page length, 2I,73
Paper
Cut-sheet, 7
Fanfold, 8
Parking, 14
Size, 21,73
Paper feeding, troubleshooting, 78
Paper menu, 20
Paper out detector, 20
Parallel interface. 15,108
Patches for BASIC interpreter, 103
Pinwriter mode - see Standard mode
Pitch panel lock, 12
Pitch setting, 1220
Platen knob, fitting, 3
Power supply, troubleshooting, 76
Print head replacement, 84
Print menu, 20
Print quality, 20
Printing, troubleshooting, 76
Printing gap adjustment, 81
Proprinter mode - see IBM mode
132
ml
Quality setting - see Mode setting
Quiet mode, II ,14,19
IRI
RAM usage, 19
Ribbon installation, 482
RS232 interface, I
-
Dl
Setting up from DOS, 95
Short tear-off (Memory Switches), 21
Short tear-off function, 15
Skip over perforation, 21
Slashed zero, 19
SLQ
Font style, 19
SLQ Mode, 12
Specifications, 105
Spreadsheet installation, 94
Standard mode, 23
Super Letter Quality mode - see SLQ
mode
ITI
Test mode
Long, 87
Short, 86
Text, 88
Test settings, 26
Troubleshooting, 75
-
lzl
Unidirectional printing, 19
UnpxWc, I3
.
El
Vertical pitch, 21
ml
Zero style, 29
-
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement