Star Micronics XB24-15 User's Manual
Advertisement
Advertisement
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 an- nounced by the DBP. 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: International Business
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
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 follow- ing features:
9 High-quality 24-pin print head l
3 print modes - Draft, Letter Quality and Super Letter Quality l
Many different typefaces built into the printer
. Epson, NEC or IBM Proprinter compatibility including graphics l l
Comprehensive paper-handling facilities (cut-sheet or tractor as stan- dard, with optional Automatic Sheet Feeder)
Paper-park facility for loading cut-sheet paper without having to l l l 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
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 in- cluded 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
LOCATING THE PRINTER .......................................................... 1
UNPACKING, SE’ITING UP AND CONNECTION .................... 1 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
Command Menu ......................................................................... 19
Font menu .................................................................................. 19
Print Menu ................................................................................. 20
Paper Menu ............................................................................... .20
Forms Menu .............................................................................. .21
Factory settings.. ........................................................................ 22
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
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 lo
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
.
.
\.
4. 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
A firm, level surface which is fairly vibration-free l
Away from excessive heat (ie away from direct sunlight and away from heaters, etc) l
Away from excessive humidity l
Away from excessive dust 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 l
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 l
A fabric ribbon
If any of these items are missing, contact your supplier.
1
The optional accessories which you may have ordered with your printer are: l l
Serial (RS-232) interface board
Automatic sheet feeder l
Color option kit
See the installation instructions contained with these optional items for details of how to attach them to your printer.
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 D- type connector at the computerend, and the Amphenol-type 36-way connec- tor 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 (re- membering 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.
/
Clamp lever
8
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 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.PER and 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~ buttons both have indicators embedded in the buttons themselves. The indicator embedded in the @I@! 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. 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
10 characters per inch
12 characters per inch
15 characters per inch
17 characters per inch
20 characters per inch
Proportional
Proportional condensed
1 Indicator(s) loCP1
12CPI
15cPI loCP1, COND
12CP1, COND
PROP
PROP, COND
I
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
T PIGS button.
QUALITY SETTING
The printer is capable of 3 print quality modes: Super Letter Quality (SLQ), 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 b.. 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
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
TMS ROMN
TW-LIGHT
OPTION (when font IC card is installed)
TMS ROMN
W-LIGHT
COURIER
PRESTIGE
I
HELVET
I SCRIPT
CINEMA
OFTION (when a font IC card has been installed)
I
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.
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 >=R EE button, and keep it depressed.
4 The paper will then move forward to the top of the next sheet (fanfold paper), or eject a cut sheet.
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: out).
14
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 [ w u&I: button again).
7 If the sofiwarc has not done this for you, eject the paper by pressing the
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 GYL@~ 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 for- wards 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 holding it down (before releasing the NC ~=1 button) will clear the data in 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 main- tenance. 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 3 SETTING UP
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, 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
I
I
1oCPl
12CPI
15CPI
I PROP
I
I
COND
PITCH
EXlT
SET/:%T
MICRO FEED -
PAPER FEED
-
QUIET
-
I
I
POWER
PAPER
*
ON LINE
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
“trunk”, use the ‘+ button as an G?3 button (as marked in blue 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
QUIET MODE
GRAPHICS
DIRECTION
AUTO ON-LINE
The printer RAM may be used as a print buffer
[BUFFER*], for downloading fonts [DOWNLOAD], or as a single-line buffer [ lLINEBUFFER] .
The printer may either print slower and quieter [ON], or faster, malting slightly more noise [OFF*].
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 in- creased accuracy KINI]. For practically all purposes, however, bidirectional printing is sufficiently accurate.
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 on- line.
Font Menu
This menu allows you to set two parameters concerning fonts which will be automatically selected whenever you turn on the printer:
) ZEROSTYLE In computer usage, a zero is often written with a slash through it, as follows: “0”. This style is called
SLQ/LQ FONT 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 auto- matically selected whenever you turn the printer on:
PRINT QUALITY
PRINT PITCH
This will select either Super Letter Quality / Letter
Quality [SLQ, LQ*] or Draft [DRAFTI mode.
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 [OFF*]or [ONj at power-up.
When in draft print mode, you may select either high- speed and low density IHI-SPEED*] or high-density and low-speed printing [HI-DENSITY].
I
Paper Menu
OPTION ASF
AUTO LOADING
AUTolLOADING
@SF)
PAPER-OUT
DETECTOR
With this option, you may selector cancel the Automatic
Sheet Feeder option [OFFS] or [ONI.
When you load paper automatically, this option deter- mines 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.
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.
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
AUTO LF
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
10~1.
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. How- ever, this may be set [OFF] if you do not want to be expanded.
LINES PER INCH
PAGE LENGTH
This sets the number of lines per vertical inch which will be printed to [3 LPI], [4 LPI], [6 LPI*] or [8 LPI].
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.
21
Factory settings
The following is a list of the settings set up at the factory, which may he re- stored by choosing the FACTORY SET option from the main menu:
COMMANDMENU
RAM USAGE
QUIET MODE
GRAPHICS DIRECTION
AUTO ON-LINE
FONT MENU
ZERO STYLE
SLQ/LQ FONT
PRINT MENU
PRINT QUALITY
PRINT PITCH
CONDENSED PRINT
ITALIC PRINT
DRAFT-12
PAPER MENU
OPTION ASF
4AUT0 LOADING
AUTO LOADING (ASF)
PAPER-OUT DETECTOR
FORMS MENU
SHORT TEAR OFF
SKIP OVER PERFORATION
AUTO LF
AUTO CR
LINES PER INCH
PAGE LENGTH (INCH)
NJ-W
WFl
PII ml
[NORMALl
[COURIER]
[SLQ, LQI wm
WFI
WFI
[HI-SPEED]
WFI
[6 LINES1
[6 LINES]
Kwl roNI ram ram
DJI
[6 LPI]
[DIP-SW]
22
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 emula- tionmode (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
. the result into high and low bytes. For instance, to represent the number - 1 Oh, the following operation is carried out:
23
and the result is divided into the two bytes of FOh and FFh.
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 con- vention. 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
<ESC> <BS>
1Bh 08h
27 8
<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 cESC> 4
1Bh
27
34h
52 cFS>
1Ch
28
4
34h
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>
1 1Bh
5
27 53
<FS>
1Ch
1 28
5
35h
53
Standard
IBM
1
I
The sequence above deselects italic printing. There are no parameters. This com- mand will not be valid if the Font Panel Lock mode has been selected.
Se&t print mode
<ESC>
1Bh x
78h
27 120
Both
This command selects the print mode for subsequent printing, where <n> may be a binary value of OOh or Olh, or either of theASCI1 characters”0” or”l”(30h or 31h).
If OI> is equal to OOh or “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
<ES0
1Bh
27
<FS>
1Ch k
6Bh
107
C
43h
<*
-30
Cn>
Cn>
Cn>
Both
Standard
The command above selects a typeface for subsequent printing, where <n> is a binary value in the range of OOh to 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>
1Ch
28
S
53h
83
<n>
Cn>
<n>
Standard
The command above selects or deselects 12cpi draft mode, where <n> can be an
ASCII or binary value of either “0” or OOh or “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
28
Select character table
<ESC>
1Bh
27 t
74h
116
<FS>
1Ch
28
I
49h
73
Cn>
Cn>
<n>
<n>
<n>
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 OOh through 02h or “0” through “2”.
The following table shows the effect of this parameter:
Cl
Moves character set downloaded in OOh to 7Fh area to
Any other values are invalid and will be ignored.
Select primary character set
<ESC>
1 1Bh
7
37h
27 55
Both
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> 6
Both
1
27
The command above selects the secondary character set.
There are no parameters. The area from 8Oh to 9Fh is used for printable characters.
Select International character set
<ES6 R <n> iBh
27
52h
82
<FS>
1Ch
R
52h
Standard
The command above selects an international character set, where <n> is a binary value in the range OOh through 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
<ESC>
1Bh
1 27
\
5Ch
92 ulo> ulo> cd> cd> cd>
IBM
The command above allows a series of special characters to be printed from the
I characters to be printed (low byte rust). On receipt of this command, any codes received in the range OOh through 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 IBM cESC>
A
1 1Bh
27
5Eh
94
I
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
CDCb
1 12h
18 ,
IBM
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.
I
1
-
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
<ESC>
1Bh
27
3Ah
58
IBM
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
27 g
67h
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
1 cESC>
1Bh
27
OFh
15
<SI>
Both 1
Either of the two commands above will set condensed print mode, unless semi- condensed pitch set printing was previously selected. There are no parameters. Sub- sequentprintingwilltakeplaceatapproximately 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>
1 12h
1 18
Standard
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> n <n>
Both
1 1Bh
27
70h
112 en> cm
The sequence above selects or cancels proportional printing, where cn> is a binary or ASCII value from OOh through Olh or “0” through “1”. If ol>=OOh or “0”. then proportional printing is deselected (cancelled), and if <n>=Olh or “l”, then propor- tional printing is selected. There are four types of proportional printing that may be selected:
I
1 l PropoltionaI l l l
Condensed proportional
Superscript/Subscript proportional
Superscript/Subscript condensed proportional
Set or cancel pica proportional pitch
<ESC>: P Cn>
1Bh
27
50h
80
<n>
<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
<ESC>
1Bh
I 27
W
57h
87 cn>
Cn>
<n>
Both
The command above selects or cancels expanded printing, where <n> is a binary or
ASCII value from OOh through Olh or “0” through “1”. If <n>=OOh or “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.
I
Select one-We expanded printing
<ES0
1Bh
<so>
OEh
21 14
<so>
Both
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
<DC4>
14h
20
Both
The command above cancels tbe.one-line expanded print mode set by <SO> or cESC> <SO>. There are no parameters.
1
/
Selectkancel expanded print d;s>
E <n>
1 1Ch 45h Cn>
28 69 <n>
Standard
The command above sets or cancels expanded printing, where or> is a binary or
ASCII value in the range OOh through 02h or “0” through “2”. The effect of this command is shown in the table below:
Value of vD Description
OOh or “0’
Olh or “1”
02h or “2”
Cancels expanded printing
Sets double-width printing
Sets triple-width printing
Select Master print mode
<Esc> ! <PIP
1Bh
27
21h
33
<n>
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=) (hex)
0 1 Olh
1
Function Effect when Effect when bit=1 bit=0
Pitch
2 02h Propoltionalprinting
12cpi set
1Ocpi cancel
2
3
4 O4h
8 08h
Condensed printing
Emphasized printing set set cancel cancel
1 4 I 16 1 1Oh I Double-strike printing 1
I
5
I
32
I
20h
I
Double-widthurintim
I
6 64 40h
7 128 80h
Italic printing
Underlined printing set I set1 set set cancel I cancel
I cancel cancel
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
Select print mode
<ESC>
1Bh
27
I
49h
73
CID
<n>
<n>
IBM
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
22 Download
7 DOrmlOad w w w
Elite
Condensed
Roportional
This command is ignored if Panel Lock mode has been selected.
Select emphasized print mode
<ESC> E
1Bh
27
45h
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>
1Bh
1 27
F
46h
70
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 non- emphasized mode (cancelling the effect of the cESC> E command).
Select double-strike printing
<ESC> Q
1Bh
27
47h
71
Both
The command above will select the double-strike print mode. There are no parame- ters.Anycharactersprintedsubsequenttothemceiptofthiscommand in double-strike mode. willbeprinted
Cancel double-strlke printing
<ESC>
1Bh
27
H
48h
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>
1Bh
27
2Dh
45
C?D
<n>
Cn)
Both
The command above will select or cancel underlining, where cn> is a binary or
ASCII value which may take the values OOh through Olh or “0” through “1”. If the value is OOh or “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
I Selectkancel overline
<ES6
1Bh
27
5Fh
95 cn>
CtD
<n>
Both
The command above will select or cancel overlining. where <n> is a binary or ASCII value which may take the values OOh through Olh or “0” through “1”. If the value is OOh or “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
1 Select superscript/subscript
<ESC> S- <?D
1Bh
27
53h
83
CtD
Cn>
Both
The command above will select either superscript or subscript printing, where <n> is a binary or ASCII value which may take the values OOh through 01 h or “‘0” through
“1”. If the value is OOh or Yl”, superscript printing will be selected, and if cn>=Olh or “l”, then subscript printing wiIl be selected.
1
Cancel superscript/subscript
1 <ESC>
1Bh
27
54h
84
Both
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.
I
37
1 Set/cancel shadow/outline printing cESC>
1Bh
4
71h
<n>
<n>
27 113 <n>
Standard 1
The command above sets or cancels shadow or outline printing, where <n> is a binary value from OOh through 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
I OAh
10
Both
I
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
Reverse line feed cESC> <LB
1Bh
27
OAh
10
Both
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
27
30h
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>
1Bh
1
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>
1Ch
28
2
32h
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
1Bh
OOh
[
<NuLP
5Bh
OOh
27 91
\
-00
5Ch
<?P
92
<EOT>
04h
4
<NuL>
IBM
<NuL>
OOh
0
OOh
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
1 27
33h
51
<n>
<II>
Both
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).
I
Set line spacing to rd60 inch
<ESC> A Cn>
1Bh ,
27
41h
65
CR>
<?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
28
41h
65
<ID
<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>
1Bh
A
41h en>
<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>
1Bh
1
27
2
32h
50
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>
1Bh
1
'27
J
4Ah
<rP
C#
Both
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
<ID <ESC>
1Bh
27
J
6Ah
106
<n>
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 unaf- fected.
[ Set line spacing to n/360 Inch
<ESC>
1Bh
+
2Bh
<n>
Cn>
27 43 Cn>
<ID 1 <FS>
1Ch
1 28
3
33h
51 <n>
Both 1
I
I
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.
Set vertical print position (In lines) cESC>
1Bh ’ f
66h
1
31h
Cn>
<n>
1 27 102 49 <n>
Both
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”.
I
42
1 Select forward feed
1Ch 46h
Standard 1
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
<FS> R
1Ch 52h
1 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
<FFB
OCh
27 12
Both
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>
1Bh
27
C
43h
67
<NuL>
OOh
0
<n>
<n>
<?D
Both
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
1 Set page length (in lines)
1 <ESC>
1Bh
27
43h
67
Both
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 com- mand is invalid if the line spacing is set to 0.
1
44
I Set top-of-form
<ESC>
1Bh
4
34h
27 52
IBM 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 po- sitions have been set with the cESD B command or if they have been cleared, the paper moves forward by one line.
1 Set vertical tab positions cESC>
‘1Bh
27
B
42h
66
. . .
. . .
. . . cd> enI> all>
Both 1
CNULB
OOh
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 pre- viously 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
27
I
2Fh
47
On>
On>
Both
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.
1
Set VFU vertical tabs
<ESC>
1Bh
27 b
62h
98
On>
On> cm>
-Mb cnO>
. . .
. . .
. . . cd> all> cd>
Both
<NuLa
OOh
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
I lBh< 65h
101
31h
49
<n>
Both
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.
1
46
[ Set top margin
<ESC>
1Bh
27
C
63h
99
Both 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.
Set bottom margin
<ESC> N
( 1Bh
27
4Eh
78
Cn>
<tD
CID
Both
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.
Cancel top and bottom margins
(Esc> 0
1Bh
27
4Fh
79
Both
The command above cancels the settings for top and bottom margins. There are no parameters.
1 Set left and right margins
<ESC> X <ID
1Bh
27
58h
88
Cn>
Both
The command above sets the left and right margins, where the two values repre- sented by the 01x are binary numbers used for setting the left and right margins respectively. Margins are set at the current horizontal pitch.
1
47
1 Set left margin
1 cESC>
1Bh
27
1
6Ch
108
<tP
Cn>
<II>
Both 1
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.
I
Set right margin
<ESC> Q
1Bh 51h
Cn>
Cn>
Standard
1 <FS>
1Ch
28
Q
51h
81
<n>
<n>
<ID
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
Move print position to the right
<ESC> d elo,
1Bh
27
#h
100 ore>. c?lo> alI> cd>
Cd>
IBM
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
--
-
Carriage return
<CR>
ODh
13
Both
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
27
35h
53
<n>
<n>
IBM
The command above sets or cancels automatic line feed, where <n> is a binary value of either OOh or 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
I <H-lb
1 09h
9
Both
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.
1
I
I
49
Set/clear horizontal tabs
<ES6 D
1Bh
27
44h
67 c&b alo> c?db
. . .
. . .
. . . cd> al> cd>
Both
<NuL>
OOh
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.
1 Restore tabs to default settings cESC> R
1Bh 52h
27 82
IBM
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.
1
Set relative horizontal tab positions
<ESC>
1Bh
27 e
65h
101
0
30h
48
Cn>
<n>
<n>
Both
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
Set horizontal print posltion
<ESC> f 0
1Bh
27
66h
102
30h
48
<n>
<?D
<#
Both
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
&SC> a
1Bh
27
61h
97
<n>
<to
<n>
Both
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
20h
32
C?D
Cn>
C?P
Standard
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.
I
I
51
Select next horizontal print position (by dot)
<ES0
1Bh
$
24h elo>
Cd> all>
27 36 elo> OrI>
Both
The command above will start subsequent printing at a horizontal position deter- mined 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.
Move print head cESC>
1Bh
27
\
5Ch
92 db
<no> al> al> cd>
Standard
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>
1Bh 3Ah OOh
<?D
<II>
27 58 0 C?P
<FS>
CNUID
<n>
<NUbStandard
OOh
0
<NuL> 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
Selected
BiXlalJJ font Value Selected font
OOh TMS ROMN 07h Letter-Gothic
I I I
Olh ( TW-LIGHT 1 08h 1 Blippo 1
1 06h 1 OCR-A 1 OEh 1 Greek
53
Define download character(s)
<ESC>
Cd>
& ai?>
<NuL>
C?P
1Bh
<al>
27
Cal>
26h cd>
38
Cd>
OOh
<n>
0
CID
<ES0
Cal>
I
1Bh
<al>
27 al> s>
3Dh
Cd>
61
CU2>
4lUb
<n>
OOh
<rP
0
Cn>
<cl>
. . . ccl>
. . .
<cl>
. . . ccl>
. . . ccl>
. . .
<cl>
. . .
<c2> ao> cm Standard
<c2>
Cn> cc2>
Cn>
<c2> en,
<c2>
Cn>
<c2>
<n> ao> cue>
CUOB
IBM cclo, ao>
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 follows:
Bit number
1st
Byte
2nd
Byte
55
Select download/standard character set cESC>
1Bh
96
25h
<rD
<n>
Both
The command above selects either the standard or downloaded character set, where 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
2Ah
<dn>
42 cdn>
On>
On>
On> cno>
010,
Mb cd> ell>
Cd>
Both
<do>
-alo>
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
<ESC>
<do>
1Bh
<do>
27
<do>
[
. . .
5Bh
. . .
91
. . .
I3
<dn>
67h cdn>
103 cdn> db
<no> edb cnl> al> ull>
IBM cm> cm> cm>
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
<Esc> K elo> cd>
1Bh
27
4Bh
75 olQ, cno>
Ulb
-all> do>
<do,
<do>
Both
. . . cdn>
. . .
. . . ain> 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.
Select O-dot double-density
<ESC> L orb
1 1Bh
27
4Ch
76
<no> ulo>
Cd> cd> all>
-do> cd@
<do>
. . .
. . .
. . .
Both cdm
CdnB 1
-ain>
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.
Select 8-dot double-speed double-density
<ESC>
1Bh
27
Y
59h
89 cno> ulo, orb cd>
Cd>
Cd>
<do> cdl3
<do>
. . .
. . .
. . .
Both
<de
<dn>
-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
<ESC> Z <no>
1Bh
27
5th
90 ore> alo>
Cd> all> all>
<do>
<do>
<do>
. . .
. . .
. . .
Both 1 cdn> cdm cdn>
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
Z
5Ah
90 cnib cno> cno> cd> orl> cd>
<dQ,
<do>
. . .
. . .
. . .
Both
40 cdn> 1
<do
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.
1 Redefine bit-image mode
1 cESC>
1Bh
?
3Fh
27 63 ad>
Cd> cd>
Both 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:
Set MSB to 1 cESC>
1Bh
>
3Eh
27 62
Both
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
27
=
3Dh
61
1
<FS>
28
=
3Dh
61
Standard
IBM
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 rcESC>
1Bh
27
23h
35
Both 1
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.
I
Select zero style
<ESC>
1Bh
*
27
7Eh
126
Both
The command above selects the style in which zeroes will subsequently be printed, where cn> is either a binary value of OOh or Olh or an ASCII value of “0” or “1”. If
01> is OOh or “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
CBS>
08h
8
Both
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
<DEL>
7Fh
127
Both
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>
18h
24
Both
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
<Dc3>
13h
19
Standard
The command above sets the printer off-line. There are no parameters. This com- mand is not equivalent to pressing the 0~ mu 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
<DCl> llh
17
Thecommandabovesetstheprinteron-lineaftera<DC3>command(above). are no parameters.
Both
There
Deselect printer (IO” carriage model only)
<ESC>
1Bh
27
Q
51h
81
$
24h
36
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>
1Bh
27 j
6A
106
IBM
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
63
Sound buzzer
<BEL>
07h
7
Both
The command above sounds the printer’s buzzer. There are no parameters.
1 Disable paper-out detection Both 1
1Bh
27
38h
56
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
1Bh
1 27
39h
57
Both
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).
1
Enabte/disable bidirectional printing
<ESC>
1Bh
27
U
55h
85
<ID
-30
Cn>
Both value of either OOh or 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 cEsc> C
Both
60
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.
I
Enable/disable quiet mode cEsc>
S C?D
1Bh
27
73h
115
<n>
<rD
Both
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 OOh or “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>
1Bh
27 h
68h
104
<n>
<rD
Cn>
Both
‘Me command above enlarges characters, or cancels such enlargement, where cn> is a binary value of OOh through 02h or an ASCII value of ‘0” through “2”. If UP is set to OOh or 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 Cn>
1 1Bh
27
77h
119
CID
Cn>
<FS>
1Ch
28
V
56h
86
Cn>
Cn>
C?D
Both
Standard
The command above enables or disables double-height printing, where <n> is a binary value of either OOh or 01 h or an ASCII value of either “0” or “1”. If oI> is set to OOh or %“, 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 uib
@
UJ3>
1Bh
OOh
27
0 <
5Bh
Cd>
91
Cd>
40h
Cd>
64
Cd> ao> all>
OrI> cd>
Both
<Nub
OOh
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
2
Single-height characters
Double-height characters
16
17
Single line feed
Single line feed, single-height characters
18
32
33
34
Single line feed, double-height characters
Double lim feed
Double line feed, single-height characters
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>
1Bh
’ 27 i
69h
105
<n>
<?D
<ID
Both
The command above selects or cancels the “immediate” print mode, where 01> is a binary value of either OOh or Olh or an ASCII value of either “0” or “1”. If CD is set to OOh or “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
27 cFs>
1Ch
28
@
40h
64
@
40h
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
&SC> CEW 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 OOh or 04h or the ASCII values “R” or “T’. The effect of these values is summarized below:
Value Effect
OOh 1 Selectmanualmode
04h
“R”
Select auto mode
‘T”
Eject paper
Set top print position. This parameter must be followed by anot+ binary value (>l) signify- ing 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
<ESC>
<ESC>
1Bh
1Bh
27
27 v
V
56h
56h
86
86 cm
<NULD
<n>
OOh
<ID
0
. . .
. . .
. . .
Both cdn>
&I> 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
(
28h
< 40
(
28h
40
F
46h
70
1
29h
41
1
29h
41
Both
Cn> cn>
<n>
The command above selects a font., where cn> is an ASCII value which may take the following values:
“4” Script
I
69
Select/cancel italic print
( (
28h
40
28h
40
I
49h
73
1
29h
41
1
29h
41
Both
<tD en>
Cn>
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
B
42h
66
1
29h
41
1
29h
41
Both
<ID
<n>
<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
(
28h
(
28h
S
53h
40 40 83
1
29h
41
1
29h
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” 1 Normal 1 Double 1
‘6 9. 3 1 Double Double
70
Select color printing (with color option only)
(
28h
40
(
28h
40
C
43h
67
1
29h
41
1
29h
41
Both
Cn>
CID
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
1 “0” ( Black
I
1
1 “4” 1 Yellow
“5” Orange
Green
1 Control ASF
(
28h
40
(
28h
40
CID
Cn>
<)I>
1
29h
41
1
29h
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.
I
71
72
MEMO
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.
1
ON
Switch
2
ON
ON
OFF
OFF
OFF
ON
OFF
Emulation
Standard
Standard
IBM
IBM
Character Set
STD #l
IBM #2
IBM #2
IBM #l
Switches 4 through 7 are used to select the International character set, as shown in the table below:
4
ON
OFF
ON
1 5
ON
ON
Switch
OFF
1 6
ON
ON
ON
1 7
ON
ON
ON
International Character Set
USA
France
Germany
1 OFF 1 OFF 1 ON 1 ON 1 England
ION
OFF
ON
ION
ON
OFF
IOFFION
OFF
OFF
ON
ON
IDenmark
Sweden
Italy
OFF
1 ON
OFF
OFF
ON
ON
OFF
ON
ON
ON
OFF
OFF
Spain I
Japan
Norway
ION
OFF
IOFF
OFF
ION
ON
IOFF
OFF
IDenmarkII
Spain II
ON
1 OFF
ON OFF OFF Latin America
I
ON
I
OFF I OFF’ I Denmark/Norway
ON OFF OFF OFF Not used
OFF OFF OFF OFF Not used
I
I
74
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 Check
Is the power cable properly plugged into the electrical outlet?
Is power being supplied to the outlet?
1 Possible remedy
Turn off the printer, ensure the power cable is securely connected. and then turn the printer back on.
Is the printer voltage correct?
Turn off the printer, unplug it, and try with another appliance to determine if electricity is being supplied to that outlet.
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 follow- ing:
Check
Is the interface cable con- nected securely?
Is the
ON LINE indicator illu- minated?
Is the PAPER indicator illu- minated?
Is the paper caught up inter- nally? (
Is the ribbon caught up around the print head?
Is the software you are using properly installed for your printer?
Can the printer perform self- test operations?
Possible remedy
Check both ends of the cable - printer and computer to make sure that the connector is fvmly in position.
If it is not, press the ‘$c$ button to set the printer on- line.
If it is. the paper has run out. Load more paper.
Turn off the power, remove the jammed paper, replace, tumontheprinter, andcontimteprinting.Makesurethat the leading edge of the paper is smooth and uncreased.
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.
Check the installation settings in your software, and re- install if necessary.
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:
Check
Is the ribbon properly in- stalled?
Is the ribbon worn out?
Possible remedy
Check and reinstall if necessary.
The ribbon has a long life, but eventually will need replacing. Fit a new ribbon cartridge if necessary.
If dots are missing in the printing, check the following:
Check
Are dots missing at random in the printing?
Is a line of dots missing con- sistently throughout the printing?
Possible remedy
The ribbon has become slack, causing it to get caught up. Stop printing, remove the ribbon cartridge, reten- sion and replace it.
The print head is damaged. Stop printing, and contact your supplier for a new print head
If your application software cannot print the fonts or characters selected, check the following:
Check
Is your application software properly installed?
Are fonts not being selected
Properly?
Are characters other than those expected being printed?
Possible remedy
Check the software installation, andre-install the soft- ware if necessary.
Check the software installation, and insert the com- mands 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
Is the printer installed cor- rectly?
Is the printer not printing anything that you are expect- ing?
I
Possible remedv
Your software may think that it is driving a different emulation to the one actually set Check the DIP switch settines to make sure YOU have the rieht emulation.
Use the Hex Dump mode to analyze the output from the computer to the printer. This will enable you to deter- mine 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 Check
Is the paper release lever pushed back (to the f posi- tion)?
Is the paper guide in place and vertical?
Are the left and right guides too close together?
1 Possible remedy
Set the release lever to the h position.
The paper guide should be in place vertically for cut sheets to feed smoothly.
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.
If it is, then deselect it. Is the ASF selected with the
Memory Switch settings?
Are you trying to feed paper using the front panel buttons while the ON
LINE indicator is illuminated?
Is the paper too thick?
You can only feed paper in this way when the printer is off-line. Set the printer off-line and then feed paper.
There are limits to the thickness of paper that can be fed in this way. TW with thinner oaner.
If fanfold (continuous) paper is not being fed correctly using the tractor feed, check the following:
Check
Is the paper lever pushed to the C position?
Is the paper guide in the ver- tical position?
Are the holes on each side of the paper aligned withregard to each other in the sprock- ets?
Are the sprockets too close or too far apart?
Are the sprockets locked in position and the covers closed?
Is the paper feedii freely into the printer?
Possible remedy
Make sure the release lever is pushed to the h position.
When using the tractor feed, the paper guide should be horizontal.
If the two sides of the paper are out of alignment realign them so that the sprocket holes match up.
Misalignment of the sprockets, making the paper too loose or too tight, will prevent a smooth paner feed.
Correct this if necessary.
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
Check
Are you trying to feed paper using the front panel buttons while the
ON LINE is illuminated?
Is the paper too thick?
Possible remedy
You can only feed paper in this way when the printer is off-line. Set the printer off-line and then feed paper.
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
&as the ASF option been selected using the Memory
Switch functions?
Is the release lever set to the l
Is the ASF correctly mounted?
Is paper caught up near the print head?
Are the left and right guides too close together?
Possible remedy
Select this option
The release lever should be set to the single-sheet position.
Make sure that the ASF is properly seated on the printer.
Is there too much paper in the paper feed hopper or stacker?
Was the paper fanned before being fed into the ASF?
Has the paper been used al- ready or is it creased?
Are you trying to feed paper using the front panel buttons while the
ON LINE is illuminated?
Isthepapertoothickortoo hill?
Stop printing, remove the jammed sheet (you may have to remove the ASF for this), and contimre.
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.
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.
If,this is not done, paper jams may occur. Remove the stack of paper from the ASF and fan it before reinsert- ing.
Only new, uncreased paper should be used with the
ASF.
You can only feed paper in this way when the printer is off-line. Set the printer off-line and then feed paper.
There are limits to the thickness of paper that can be fed in this way. Try with different paper.
79
If the paper park facility does not appear to be working correctly, check the following:
1 Check
Is the paper release lever in the m position?
Has the fanfold paper been properly parked?
I
Possible remedy
The paper release lever must be set to the & position after the fanfold paper has been 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 in the middle of a page?
Possible remedy
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
Is the text all on the same line?
Is text being printed with extra blank lines?
1 Possible remedy
Carriage returns are not being expanded to
<CR> +<LF> pairs. Check the Memory Switch setting and correct.
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.
I
If the page length and margins are not what is expected, check the following:
Check
Is the piriming starting too high or too low on the page?
Does the printer’s page lengthnotmatchthephysical page length?
Is the Skipover perforation facility not working?
Possible remedy
Use the Micro Feed facility to adjust the print position relative to the page.
Use the Memory Switch settings, or the DIP switch to set up the correct page length, or use software com- mands to do it.
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
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 me- chanical 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.
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 con- nectors 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
-
Print head rTPrint head bolts
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
enter the short self-test mode. The printer will start printing as soon as the
!ZZFFFZ button 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 recom- mended 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
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 nxom- mended 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 CIfEBEZ button.
The resulting printout will be similar to the example below:
NAIW aJmm7
NAJlusAm :nlmm/mywuIlD/1LII
OuIEr mm :OPP/oW
GRAR(Ics DIRECIIW : 81 / UN1
Aoro c+I-LIN5
-STYLI
:OPP/oW
:NWlAL/SLASHED sLplLo~ : ms Nawtsm am1m /PREmIDB
/IS-LIQlIaLa)
/cmTca 1SaI1FI
BLIPm
Hm.m
OCN-A
/Lmmn-S
/ORIlm
/m-e
/INS naa
/cImlA
/mKx
/m-LIm
/CODE 39
/OPTION
PRINT oIJALIlv
PItIm PITal ommlsm RIINI
ITALIC PRINT
: swNtlIa.m/DNAR
: locp1
:OFP/Q(
I 12cPI I 15cPI / PROP
DRAFf-12
OPTIDll A.?.F
Aum LoADIffi
:WP/ffl
: HI-SPEED / HI-DmSIIY
:WP/C4l
:1/2/3/4/5/C GI.PI)
AlJIo ImDInG MSF) :1/2/3/4/6/6&PI) em-am Dsmxon :CWP/QI sHomTPANoPP :OPP/oI(
SKIP ovm imJcmAIIoN : OFe / ON
AUIOLP
AlJTO(R
:OPP/oII
:OPP/ON
LIIIXS Pm IwQl : 3LPI I 4LPI / 6LF’I I 8191
PA(iB LSWGIW (INtTl) : DIP-SW / 3 / 3.5 / 4 / 5.5
6 I7 I S I 6.5 I 11.7 I 14
88
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 holding down the ‘+!S‘ and /ME, F!? keys. To turn off the mode, it is 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 OOh through 1Fh and 7Fh through FFh, are represented by periods.
The following (BASIC) program will produce the result below it:
10 FOR I=0 TO 255
20 LPRINT CHR$(I);
30 NEXT I
40 LPRINT
50 END
After the program has been run, the printer’s buffer should be flushed by pressing the i button.
00 01 02 03 04 05 06 07 08 09 OA OB OC OD OE OF
10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F
20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F
30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F
40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F
50 51 52 53 54 55 56 57 58 59 5A SB SC SD 5E SF
60'61 62 63 64 65 66 67 68
69 6A 6B 6C 6D 6E 6F
70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F
80 81 82 83 84 85 86 87 88 89 8A 8B 8C 8D 8E 8F
90 91 92 93 94 95 96 97 98 99
9A
9B 9C 9D 9E 9F
A0 Al A2 A3 A4 A5 A6 A7 A8 A9 AA AB AC AD AE AF
BO Bl B2 B3 B4 B5 B6 B7 B8 B9 BA BB BC BD BE BF
CO Cl C2 C3 C4 C5 C6 C7
C8
C9 CA CB CC CD CE CF
DO Dl D2 D3 D4 D5 D6 D7 D8 D9 DA DB DC DD DE DF
EO
El
E2 E3 E4 ES E6 E7 E8 I39 EB EC ED EE EF
FO
EA
Fl F2 F3 F4
F5
F6 F7 F8 F9 FA FB FC FD FE FF
OD OA
. . . . . . . . . . . . . . . .
‘ik+; iji;;l:;
01234567 89:;<=>?
OABCDEFG HIJKLMNO
PQRSTUVU XYZ[\I"-
'abcdcfg hijklmno pqrstuvw xyz{:]-
........ ........
................
........
........
........
........
........
................
........
........
........
........
........
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 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~
5 The ‘WE% button will move the middle line to the left (as shown by the opposite function.
' *** DOT-ADJUSTMENT SETTING ***
12
I
I
I I
I I
- SLQ,LQ 13
~p%gF~ -sLQ, LQ
12
I I
I’ I(
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
SLQ LQ
-N--W
DRAFT
12
13
-
- DRAFT 12
LIF-
- DRAFT COND 12
9 To exit from this mode, press the fFc3 button.
91
92
MEMO
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. How- ever, 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
Pica 10
Elite
Semi-condensed
Condensed pica
Condensed elite
Proportional
12
15
17.1
20
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)orm- @ 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 se- quence: 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
*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 PC- compatible 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
1010 E$=CHR$(27)
1020 D$=E$+"xO"
1030 L$=E$+"xl"
1040 F$=E$+"k"
1050 C$=F$+CHR$(Z)+L$ 'Select
1060 H$=CHR$(V)
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:"
1200 LPRINT H$;F$;CHR$(7);"Letter-Gothic,";
1270 LPRINT C$;" (CODE 39 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),"
1370 LPRINT H$;P$; -
1380 LPRINT CHR$(lS); 'Select condensed print
1390 LPRINT "Condensed pica pitch (17 CPI),"
1400 LPRINT H$;E$;"M"; Condensed elite pitch (20 CPI),";
1410 LPRINT CHR$(18)
1420 LPRINT H$;E$;"pl"
'Cancel condensed print
'Select proportional spacing
1450 LPRINT CHR$(18j; proportional, ";
1 ."and condensed proportional.";
1460 LPRINT E$;"pO"
1470 LPRINT
'Cancel proportional spacing
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.";
1550 LPRINT :LPRINT
1560 '
1570 LPRINT E$;"Q";CHR$(47) 'Set right margin
1580 LPRINT C$;"Various line and character spacings:"
1590 LPRINT E$;"al" 'Center text
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;
, ,, "
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
1890 LPRINT E$;"SO";
1900 LPRINT E$;"%l";
1910 FOR I=1 TO 5
1920 LPRINT CHR$(60);
1930 NEXT I
1940 LPRINT E$;"%O";
1950 LPRINT E$;"T";
1960 GOSUB 3150
1970 LPRINT E$;"%l";
1980 FOR I=1 TO 5
1990 LPRINT CHR$(60);
2000 NEXT I
2010 LPRINT E$;"%O";
2020 GOSUB 3020
2030 LPRINT E$;"Sl";
2040 LPRINT E$;"%l";
2050 FOR I=1 TO 5
2060 LPRINT CHR$(60);
2070 NEXT I
2080 LPRINT E$;"%O";
2090 LPRINT E$;"T"
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
2270 LPRINT (I ";
2280 NEXT B
2290 LPRINT
2300 NEXT ROW
2310 LPRINT ES:"@"
2320 END
3000 '
" -
3010 ' SUBROUTINES
3040 LPRINT E$;"&";CHR$(O);CHR$(60);CHR$(60);
3050 RESTORE 4020
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
4020
' DATA 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
4070 ;A";; ;;,128, 16, 0, 64,128,
4080
4090
4100 ' LO pica download characer data
4110 DATA - 4. 29, 3
4120 DATA
4130 DATA
4140 DATA
7. 0. 0. 8. 0, 0, 23, 0, 0
40; 0; o; 19; 15,192, 40, 16, 0
80, 47,192, 32, 80, 0, 80,175,192
4150
4160
4170 DATA
4180 DATA
4190
4200
4210
4220
DATA
DATA
DATA
DATA
DATA
47, 80, 0, 80,175,192, 47, 80, 0
80,163,192, 33, 64, 0, 80,163,192
33, 64, 0, 80,163,192, 47, 80, 0
80,175,192, 47, 80, 0, 80,175,192
32, 80, 0, 80, 47,192, 40, 16, 0
19, 15,192, 40, 0, 0, 23, 0, 0
8, 0, 0, 7, 0, 0
4230 ' Dot araphics data
4240 ' ROW i -
4250 DATA 0, 0, 0, 0, 1, 3, 7, 7, 7, 15
4260 DATA 14, 14, 14, 14, 14, 7, 7, 3, 3, 15
4270 DATA 15, 15, 0, 0, 0, 0, 6, 7, 7, 7
4280 DATA 7, 7, 7, 7, 7, 6, 6, 0, 0, 7
4290 DATA 7, 7, 7, 7, 7, 7, 7, 7, 7, 7
4300 DATA 0, 0, 7, 7,. 7, 7, 7, 7, 7, 7
4310 DATA 7. 7. 0. 0. 0
4320 'ROW2'
4330 DATA 0, 0, 60,255,255,255,255,255,143, 15
4340 DATA 7, 7, 7, 7, 3, 3, 3,131,193,241
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
4460 DATA 127,252,240,192, 0, 0, 0, 0, 0, 0
4470 DATA 0, 0, 0, 0, 0
4480 ' ROW 4
4490 DATA 0,248,248,240,224,224,112,112,
4500 DATA 56, 56, 56,120,120,240,240,224,224,lV2
4510 DATA 128, 0, 0, 0, 0, 0, 0, 0, 0, 0
4530 DATA 0, 0,240,248,248,248,248,240,192,
4540 DATA 0, 0, 0, 0, 0, 0, 0, 0, o, o
4550 DATA 0, 0, 0, 0, 0
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, under- lining, subscripts, etc.
100
-
-
L
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:
1070 P$=CHR$(18)
1500 ' LPRINT CHR$(28);"E";CHR$(2);"Triple";
LPRINT ES;" ;CHRS(I);
'Set line spacing
'Increase
1770 ' ";E$;"q";CfR$(O);
1780 & SHADOW";", ;
1790 ' LPRINT E$;"q";CHR$(O);
3030 LPRINT E$;"Sl";CHR$(28);":";CHR$(O);CHR$(O);CHR$(O);
101
Font settings:
(: p, ,,A;! +; _ / , y- ,’ f ,}
TW-Li @It8 &mI~ax t el>s ,
TMS R0MN characters,
Courier characters,
OCR-B characters,
Letter-Gothic,
OCR-A characters,
Blippo charactcrr,
Helvet characters, ORATOR CHARACTERS,
Optima characters. ree c arac .ers.
C i rwma charac txr s )
‘El IllIll lllpll lip’ Ml ll[ (
CODE 39 characters),
SLQ TMS ROMN ancl SLQ TW-.-Light characterls
Print pitches are:
Pica pitch (10 CPI),
Semi-condensed pitch (15 CPI), imdensed pica pitch ill CPI),
Double-height,
Double and TX-- ir=, 1 c- width,
Double-sized,
Quad -sized.
Various line and character spacings:
Other features:
Italics,
Emphasized, mming,
--__--.--
SUPERSCRIPT, SUBSCRIPT,
Download characters: **f**8tB88~taat
Dot graphics:
J
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:
Monochrome display
5000 ’
5030 RETURN
Color display
5000 ’
5020
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 Microsoft BASIC interpreters under 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
96
14 sets (*)
111
257
96
International
IBM special
14 sets (*)
111
IBM block graphic 50
Super/subscript 257
Download (draft or LQ) 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
Number of columns . . . . . . . . . . . . . . . . . . . . . . . CPI
Pica
Elite
Semi-condensed
Condensed pica
10
12
15
17.1
Condensed elite
Proportional
20
Character dot matrix . . . . . . . . . . . . . . . . . . . . . . Draft
Pica
Elite
24 x 9
24x9
Semi-condensed
Condensed pica
Condensed elite
16x7
24x9
24x9
Super/subscript
Proportional
16x7
Super/subscript proportional - lo” model
80
96
120
137
160
Variable
LQ
24x35
24x29
16x23
24x18
24x15
16x23
24xn
16xn
Bit image dot-matrix . . . . . . . . . . . . . . . . . . . . . . DPI
&pin single 60
8-pin double
8-pin high-speed double*
8-pin quadruple*
8-pin CRT I
8-pin CRT II
120
120
240
80
90
24-pin single
24Lpin double
60
120
24-pin CRT III
24-pin Triple
24-pin hex*
90
180
360 lo” model
8x480
8x960
8x960
8 x 1920
8x640
8 x720
24x480
24x960
24 x720
24 x 1440
24x2880
15” model
8x816
8 x 1632
8 xl632
8x3264
8 x1088
8 xl224
24x816
24x1632
24x 1224
24x2448
24x4896
* It is impossible to print adjacent dots in the modes marked with an asterisk
(*I-
136
163
204
233
272
Variable
SLQ
48x35
48x29
48x18
48x15
48xn
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"
Copies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Original + 3 copies
15”model
6”-16.5”
4"-16"
Maximum buffer size . . . . . . . . . . . . . . . . . . . . .
(DOWNLOAD=NO)
Without IC card
With IC card
@OWNLOAD=YES)
Without IC card
With IC card lO”mode1
27k
59k
12k
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)
. . . 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
15”model
41k
73k
26k
41k
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 pur- chase)
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) inter- face connector (signals which are low when active are overlined):
Pm
1
4
5
6
7
Name
STROBE
2 DATA0
3 1 DATA1
DATA2
DATA3
DATA4
8
DATA5
DATA6
DATA7 9
10
11
ACK
BUSY
12 . PAPER
13 SELECT
14.15 1 N/C
16
17
SIGNAL GND
CHASSIS
18
19-30
31
+5v
GND
RESET
32
33
34,35
36
ERROR
EXT GND
N/c
SELECT IN
Function
Goes from high to low (for To.Sps) when active
High when active
1 Hieh when active
High when active
High when active
High when active
High when active
High when active
High when active
I
5ps low pulse acknowledges receipt of data
Low when printer ready to receive data
High when paper out. Can be disabled with Memory
Switch setting
High when printer is on-line
I
Signal ground
Chassis ground (isolated from signal ground)
+5V IX outout from nrinter
Twisted pair ground return
When this input signal is low, printer is reset
Outputs low when printer cannot continue, due to an error
External ground
Alwavs hinh
108
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 1: All fonts except those listed below:
Family 2: OCR-A
Family 3: Code 39
Family 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 value ilow order)
STANDARD CHARACTER SET #I
Family I
2 3 4 5 6 7 0 1
0 NUL) 0 @ P ’
P
5
# c u
7
% d t
1112 IIs lo
I, I
I
I
2
1
JDCl)J
I 18
!
1 11 I 171 kDC2) 1 ”
I+ I 2
13
Qc3
I
# wd) $
4
1 111
I 331 I 491 I 651
I 34
11
I 2
3
4
I 50
I R c
D
I 66 rii
1 R s
I
T
7
8
-F-l”IfIY--l
I 54 I 70
G l-5 1
H X
I j-iii- lq
5 l-5
E
-
U
I ES1 I 851 e
-
1101 I
6
W
I 86
I g h
1102
I-K u
-
11171 li%y w x
1119.
8
1 l-ii 1
&
I 6
GEL)
CBS) f-7
I 22
(CAN)
1
I
(
I 38
I-G l-i- IT I-T I-G- rii- ]
IQ& -‘I ) ‘-1 9 -‘I I ‘-I Y
1104 1120
-
I Z --I i “-I z I:
_.
I J
I(E$C, --I + ‘-I : --I K “1 r r
I 151 I 311
110
‘
L c c
L
L
\.
.
. i h
L
.
(819 A
0
6
@ c
P
D
’
E
D
F
2 1 B 1 R ---I h ---I I”
L
111
Family 2
0 1 2 3 4 5 6 7
2
0
1 alII 1
128 m A a
B ri
C D E a
-0
--A
R
-I -P
D
F
L
140
F
CR)
CA)
141
I D
E
CSD)
142 tkk
143
7
*
170 j k
234
235 z
250
(
I
251
113
Family 3
-
114
__
I l--T-l riTj 1 ” ‘-- 1
I (RPI f
I I II Ill I Ill II
y ‘IJ
60
Ill1 I
B
76
El
I
77
62
I
63
70
79
Family 4
1
2
3
8
_ (NIJL)
9 A
IO
CDCI ) !
1129 1145 llsl
(DC'2) "
I
1130
(DC3)
1146
I-iii
#
1162
1163
11771
11781
I
Ica
11931 12091 12251 12411
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 112 3 4151617
-
120
D
CR)
13
E
F
60)
I& 14
15 1311 1471 1631 1791 1951 ltt1I 11271
i i
LlC
8 9 A
Ifi Ia I
8 C D E F
IL I” la 13 I
ii
129
6
130 ii
7 a
131
132
T
133 a
8
1177
T t
I-iii
-
1180 t llat
- F-J
=r
r lr h
-I II -l c
P
IT
(I -I
CL
I1361 11521 lisel I1841 I2001 lnrsl I2321 I2481
121
Family 2
0 1 2 3 4 5 6 7
-
I I 101 I 281
I(U) A(ESQ I t
1 421 1 581 1 741 1 901
; 1 K IB Ik ltosl
I (
-.
F
61)
I 14 l-ii
I
30 I 48 1 82 1 78
/ ? 0
I-r 1 1 179-m
122
0
ho
1128
(ML) liii (127.
I e I
I
L
C
AL
D a
E
E
F
If141 ILJUI If
123
Family 3
All codes above 7Fh are undefined.
” I3
4
-1
-
I 51
- 11111
I
211
I
371 I 531 I101 r,
6
7
8
I (102
@EL)
-
CBS)
I 71 I231 I391 1551
(CAN)
(HT)
I
EM)
II Ill pK
I-K IT l-5
II
1
I Ill1
Iii-4
IT9 1105
* w
.-
-
I 101 -.
- I Ill1 -
I 281 I421 1 581 1 741 1 $01 IlOSl ltrs
Ills
1117 llttl
IiF
1120
1121
(1221
-
I301 1481 1621 1781 1941
I
124
Family 4
8
(BS) l-i
(CAN)
1
(
IT
8
I-T
H-IX
P
1 11 1 27 1 43 1 39 1 73 I 91 m (FS) , < L \
C fi~128l-Tl-E m
IJ c al)
1 13
L 1141
F
I-L
Icst, I
.-'-I
I131
1 29
.
I 43
=
>
I 61
M
N
I 77
1
*
1821 1761 1
I /
I ? I 0
4'4
1311 1471 J-T-I-A-~
118
W
119
X
120
Y
121
1
Z
122
1107 z
E
I
1123 lloa 1124 m n *
0 llro 1126
(DEL,
IiiF 1127
125
8 9 A B C D E
L lL w
A P L
0
1128 1144 llso 1176 Iii- 1208 1224
1
B C
K
1129 l-iii.
” c r
I
2
3
4
5
A
E
Z l-iii
131
132
It
1146
T A.
H
~
11341 11501 list
1162
11661 11821
I i=
6 2
1177 1193~ 1209 1225~ 1241
6 2
1178 7 1194 B 1210 1226
1198l 12141 12301
1242
1240
D
F
.-
” 11361 a I , 11371
1152 I 11681 11841 12001 12161
11531 ll89l 11851 1201 I 121 b
-
-
-
-
-
126
I
11421 I1581 11741 Itsol 1 -
-
-
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 94
@ I i + 1 A
*
-
6
§ A ii *
\ IP
IITALY
INORWAY
I#lS
]#I# ij A ii
@ i e [
* i B
aI i
61 i
I i
* B A
I
-ii
QI
Q,
T
T
-
See Chapter 5 for the DIP switch settings.
The commands for selecting the international character sets are:
Y
-4 v
01
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
7
It~y
Spain1
8 Japan
9 Norway
10 Denmark II
11 Spain II
12 Latin America
13 Denmark/Norway
129
130
MEMO
-
-
-
.-
-
-
-
-
-
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
El character sets, 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
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
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
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
132
-
-
-
.
-

Public link updated
The public link to your chat has been updated.
Advertisement