PR9 Users Manual (ES) V1.0
PR9 Users Manual (ES) V1.0
PR9 Users Manual (ES) V1.0
P R 9(ES)
Acknowledgements
EPSON is a Trademark of Seiko Epson Corporation.
August 2014
Great care has been taken to ensure that the information in this handbook is accurate and
complete. However, should any errors or omissions be discovered or should any user wish to
make suggestions for improving this handbook, please feel encouraged to send us the relevant
details.
Do not plug the printer to electrical wall outlets that are already being used by equipment that
could cause electrical noise and excessive voltage fluctuations (fans and air conditioners, large
photocopiers, lift motors, TV radio transmitters and signal generators, high frequency safety
devices, and so on).
Common office equipment (calculating machines, typewriters, small photocopiers, terminals and
personal computers) can share the same outlet as long as they do not cause excessive electrical
noise.
Environmental Conditions
The environmental conditions in which the product can work properly referring to a normal air-
conditioned office environment (environmental temperature of 15 up to 35 °C, relative humidity of
between 15 and 85%).
During machine storage and operation, make sure that condensation does not form as the result of
extreme environmental variations. Dust, dirt and smoke can cause the parts in motion to wear
excessively, short circuits (in the presence of a high degree of humidity).
High temperatures and low humidity can cause problems due to static electricity.
Safety Regulations
Locating the Machine
- The printer must be installed on a flat, vibration free surface.
- Do not position the machine near air conditioning systems, heat sources or in direct
sunlight.
- Do not obstruct the printer's ventilation slots.
- If the printer is installed in a cabinet, make sure that it has good ventilation so as to avoid
overheating.
- Install the printer in a position so that paper jams can be cleared easily.
Work Environment
An environment that is too cold, hot or humid could be the cause of certain malfunctions. The
machine must not be positioned near air conditioning system vents or exposed to direct sun light.
Make sure that the machine's internal ventilation slots are not blocked, especially if the printer is
installed in furniture.
TABLE OF CONTENTS
Preface ............................................................................................................................. V
About this manual ............................................................................................................. V
1. Getting started ......................................................................................................... 1-1
1.1 Unpacking ............................................................................................................. 1-1
1.1.1 Delivery contents Printer PR 9 .......................................................................... 1-1
1.2 Requirements to the location of the Printer ............................................................ 1-2
1.3 A first look at the Printer ........................................................................................ 1-3
1.3.1 Front view ......................................................................................................... 1-3
1.3.2 Rear view ......................................................................................................... 1-3
1.4 Remove transport lock .......................................................................................... 1-4
1.5 Ribbon installation ................................................................................................. 1-5
1.6 Mains connection and power on ............................................................................ 1-7
1.7 Print test................................................................................................................ 1-9
1.7.1 Selftest ............................................................................................................. 1-9
1.7.1 Selftest printing contents ................................................................................. 1-10
1.7.3 Dr. Grauert (print a letter) ................................................................................ 1-11
1.8 Connection to the system .................................................................................... 1-12
1.8.1 Parallel / Serial Interface ................................................................................. 1-12
I
3.4.4 Olivetti Configure .............................................................................................. 3-9
4. Maintenance............................................................................................................. 4-1
4.1 Cleaning Surrounding Areas.................................................................................. 4-1
4.1.1 Remove the Ribbon .......................................................................................... 4-2
4.1.2 Remove the Alignment Unit............................................................................... 4-3
4.1.3 Cleaning Procedure .......................................................................................... 4-4
4.1.4 Installing the Alignment Unit .............................................................................. 4-4
4.1.5 Installing the Ribbon Cassette .......................................................................... 4-4
II
Table of Contents
III
Table of C ontents
IV
Preface
The interface is an integral part of the printer, and the type of interface used significantly influences
the behaviour or operation of the printer.
The structure of this manual is such that the operator is led step-by-step through the various
procedures. It starts with the unpacking and setting-up, moves on to detailed instructions
for operating the printer and ends with the mounting of options.
1. Getting Started
This chapter covers the unpacking and setting-up of the printer and the installation of the
ribbon cassette. By the end of this chapter the printer should be fully functional and tested in
its primary form. It is not yet connected to the host computer system and no options are
mounted.
4. Maintenance
This chapter shows how to clean the printer and how to remove the Alignment Unit.
5. Options
This is a description of the available options, the Tractor Unit and the USB Port.
6. Technical Data
All technical details or data about the printer can be found here.
7. Interface Description
This chapter gives hints about possibilities to connect the printer to the various
computer systems and explains particularities depending on the version of the
operating system. Additionally, cable connection is illustrated.
8. Firmware Update
Advise users to update the printer’s firmware irregularly to strengthen PR 9’s functions.
V
Table of C ontents
Appendix
A. Character Set Table
All printer supported character sets are listed in this chapter.
VI
1. Getting Started
1.1 Unpacking
Check each item against the check list detailed below. Contact your supplier immediately if any
item is missing or damaged.
S Printer PR 9 (1)
S Power Cord (2)
S PR 9 Cartridge (Ribbon Cassette) (3)
S Printout of the User's Manual (4)
S CD-ROM with a PDF format of the User's Manual and additional information (5)
1-1
Getting Started
Environmental Conditions
This printer is designed to be installed in a typical office environment. We claim that customer
must follow these operation explanation as below for printer’s well working status and safety
of operator:
S Install the printer in an area away from any heat source, air conditioner, or strong airflow.
S Avoid installing the printer where it is exposed to moisture or heat (eg. direct sunlight).
S Avoid installing the printer in a dusty or humid environment.
S Do not put printer to the high temperature, shake or wet environment. And no exposure to
direct sunlight. For example boiler, humidifier or fridge.
S Position the Printer on a stable level surface.
Power Requirements
S No special wiring is required. A typical office wall outlet is sufficient. Make sure that the
electrical wall outlet to which the printer is connected has a valid ground and that it is able to
supply the power needed by the machine.
S Do not plug into the same wall outlet other equipment besides the printer such as coffee
machines, copy machines, or air conditioners.
1-2
Getting Start ed
1-3
Getting Started
Re-packing Information
Remove all transport
To ensure maximum protection when transporting the printer, always:
1-4
Getting Start ed
Installing:
S Power the printer on.
S Remove the Ribbon Guide (6) by sliding down from the Ribbon Cassette (1).
S Open top cover.
S Swivel the green print unit lift handle (9) backwards to lift the print unit entirely.
S Move print head (10) to the centre.
S Insert the fixation pins (3) at the both ends of ribbon cassette (1) into the slots (11) at both
ends of print unit frame.
S Try to push ribbon cassette (1) by rotation as shown in the picture above.
S Press the ribbon cassette fixation block (4) into both ends slot of print unit until you hear a
“CLICK”.
1-5
Getting Started
S Insert ribbon guide (6) into print head (10) and press it up to make sure that the two taps
(12) on the ribbon guide (6) have been fixed.
S Move the print head (10) to the right and left side until the ribbon is tight.
S Swivel the green print unit lift handle (9) to let print unit back to its normal Position.
S Close top cover.
1-6
Getting Start ed
S Connect the printer to the mains using the power cord (2).
S First connect the cable to the power cord socket (1) and then to the mains.
S Do not plug into the same wall outlet other equipment besides the printer such as coffee
machines, copy machines, or air conditioners.
1-7
Getting Started
The operator can press down front power switch (3 in figure before) to power on printer now.
Note: Any printing medium in the printer paper path will be ejected.
1-8
Getting Start ed
After feeding an A4 paper the printer will start MENU PRINTING process
automatically if the operator put the PRINTING; WAITING...
print medium into the paper feeding path.
The user needn’t align the print medium with the
left or right border of the printer.
The printer itself will look after the alignment.
Note: A sample of the Menu Printing you will find on the next page.
1-9
Getting Started
1-10
Getting Start ed
Eilzustellung
Norddeutsche Farbwerke KG
Herrn Dr. Grauert
Große Elbstraße 64
2000 Hamburg 4
Herrmann
Anlagen
6 Mustervordrucke
1-11
Getting Started
The following values are default settings, see chapter 1.7.2 Selftest Printing Contents.
After powering the printer ON both interfaces, serial and parallel, are available for data
transfer due to the shared mode. The port to which data is sent becomes active automatically.
1-12
2. Printer Operation
The LCD Display (1) indicates the current status of the Printer. If any error occurs (e.g. PLEASE CLOSE
COVER) the corresponding error message will be displayed. The green LED (2) lights only if the
Printer is powered on and in the On-line Mode.
2-1
Print er Oper ation
If the Printer is powered on, the display shows in line two ON-LINE and the green LED (2) lights. The
Printer is in the On-line Mode and ready to receive and print data.
Menu-Mode
To set the Printer into the Menu-Mode, press the [STATION 2] and [COMPRESS –]
together. Depending on the state of the Printer the four right hand keys have multiple
functions. For further information see paragraph 2.5 Menu-Mode.
2-
214
Printer Operation
2-3
Print er Oper ation
S ONLINE messages S
OFFLINE messages S
Menu Information
The LCD has two lines with 20 characters per line. After power on the display shows for example:
S in the upper line: the head line with the Printer name, the actual Interface, and the
Emulation
S in the second line: the status.
PR 9 SERIAL1 OLIVETTI
ON-LINE
After pressing the [STOP ] key you get the OFF-LINE message.
PR 9 SERIAL1 OLIVETTI
OFF-LINE
After entering the MENU MODE by pressing the [STATION 2] and [COMPRESS –] keys
together the Printer displays:
OFF-LINE MODE
MENU SETUP
You can enter the Menu Mode from the On-line or Off-line Mode.
In this state it is possible to use all four keys at the right hand side of the Operator Panel in the
way as described in the table in paragraph 2.2 Function Keys.
2-4
Printer Operation
Note: As soon as the auto alignment process starts after you put in a medium, please release the
medium.
Note: To avoid both poorer printing quality and jam when using a passbook, please make sure
there is no curl or tear on the passbook. In addition, when printing a new passbook, please
fold it toward the opposite direction to flatten it before inserting it into the Printer.
S PRINTING TEST A printout of the user's guide, the ASCII character sets, Chinese
character set, and character attributes is possible.
S ADJUSTMENT Include printing the current settings of the photoelectric sensor, re-
setting up the photoelectric sensor and printing the new settings,
setting up the left margin, setting up the top margin, alignment
adjusting for bi-direction print, and run-in printing etc.
S DEBUG TEST A Hexdump-function is available and a soft test for reading a
magnetic stripe.
S INFO INQUIRY Inquire current parameters settings of both software and hardware,
including the version (version number, nonstandard issue tag,
special simulation etc.), a hardware configuration (characters
generators, optional interface connections, a scanner, the
sprocket), PCB ID, firmware check sum etc.
2-5
2.5.1 To Confirm a Macro Selection and Save the
Settings
S Press [STOP ] key; the confirmed value will now be shown in the head line.
MENU SETUP
SELECT CURRENT MACRO
S After the saving procedure the Printer changed to the On-line Mode.
S OKI Emulation
S EPSON LQ-1600k Emulation
S IBM ProPrinter X24 Emulation
S P.P.II Emulation
Note: Depending on the selected Emulation you must also select the corresponding Printer
Driver.
2-6
3. Configuring the Printer
S Menu Setup
With this function you are able to modify the parameters of the printer configuration. For a
detail information look at paragraph 3.4.
S Menu Printing
Printout of the Printer ID, a Needle Test and the parameter setting of the three Macros. For a
detail information look at paragraph 3.2.
S Printing Test
The printing of User’s Guide, ASCII character set, Chinese character set, character attributes, Dr.
Grauert (print a letter). For a detail information look at paragraph 3.5.
S Adjustment
Printing current photosensor parameters, reset photosensor parameters and printing; adjust
left margin, top margin and bi-direction printing, run-in printing, inquire photosensor value,
reset hardware parameters. For a detail information look at paragraph 3.6.
S Debug / Test
Hex printing (include: data backup, printing backup data, directly dump), magnetic stripe
operation (include read and write). For a detail information look at paragraph 3.7.
S Info Inquiring
Inquiry the current setting parameters of software or hardware, including a version (version
number, special version tag, special emulation, FPGA Version, etc.), hardware configuration
(character’s generators, optional interface, scanner, sprockets), printer ID. For a detail
information look at paragraph 3.8.
3-1
C onf iguring the Printer
3-2
Configuring the Printer
OLIVETTI CONFIGURE
EMULATION: PR9 PR9 PR9
TOF PR40 LIKE: NO NO NO
PRINTING MODE: CHINESE UNICODE UNICODE
ASCII CHARACTER SET: OPTION 1 OPTION 1 OPTION 1
HIGH SPEED PRINTING: NO YES YES
CPI: 12 12 12
LPI: 6 6 6
CHARACTER DEFINITION: LQ LQ LQ
LF+CR NO NO NO
LEFT MARG.(1/60): 0 0 0
TOP MARG.(1/60): 0 0 0
CHARACTER SET: OLIVETTI OLIVETTI OLIVETTI
OLI CHARACTER SET: ST15INT ST15INT ST15INT
BIM DEFAULT DPI: 96 96 96
VERT. RESOLUTION: 1/240 1/240 1/240
LINE LENGTH: 94 94 94
RESET WHEN EJECT: NO NO NO
COMPRESS: 16.6 16.6 16.6
IBM CONFIGURE
EMULATION: IBM X24
AGM: YES
PRINTING MODE: CHINESE
ASCII CHARACTER SET: OPTION 1
HIGH SPEED PRINTING: YES
CPI: 12
LPI: 6
CHARACTER DEFINITION: DRAFT
LF+CR: YES
CR+LF: NO
LEFT MARG.(1/60): 0
TOP MARG.(1/60): 0
IBM CHARACTER SET: PC
PC CHARACTER SET: 437 (INT)
PC TABLE: TABLE 2
BOF IBM-PP LIKE: YES
TOP IBM-PP LIKE: YES
ZERO FLASH: NO
LINE LENGTH: 94
INSERT MODE: DIRECT
PAGE LENGTH: 12
RESET WHEN EJECT: NO
COMPRESS: 17. Note: An asterisk (’) behind MACRO indicates the active macro.
3-3
C onf iguring the Printer
Then, following the Printer Identification and in the next line a needle test. The next
Note: A “Macro“ is a summary of application specific parameter settings for a user. It is possible to
have a total of three macros, each with a different summary of VALUE settings for different
applications.
Whenever you make modifications in the active macro without saving them you will find the new
settings under the heading CURRENT USER. Unless they are saved, the modifications will stay
active only until the printer is switched off. When the printer is switched on again the macro
settings marked with the asterisk will be reactivated.
3-4
Configuring the Printer
The LCD display shows on the first line the current level, and on the second line the next level.
To modify various modules’ parameters you should enter a corresponding module. Before
modifying printer parameters, please select the desired macro first. The current macro is the one
to be changed.
3-5
C onf iguring the Printer
Note: If you have selected all new items and have these confirmed with the [STOP ] key,
don't forget to activate the module SAVE PARAMETERS.
3.4.3 CONFIGURE
The following items can be modified according to the PR 9 parameters.
Note: In the different emulations the items shown are not equal. The option’s which are printed in
bold indicate the actual setting.
CONFIGURE
Parameter Option Explanation Note
3-6
Configuring the Printer
CONFIGURE
Parameter Option Explanation Note
BAUD RATE (RS1) 2400 Controls the speed of the Only displayed if
4800 data transfer. MODIFY RS1
9600 The baud rate for the CONFIG
19200 printer should be is set to YES
corresponding to the
settings of the computer.
3-7
C onf iguring the Printer
CONFIGURE
Parameter Option Explanation Note
Needle Position
HS COMPENSATION NO Select heigh speed Only displayed if
YES compensation or not NEEDLE
COMPENSATION
is set to YES
PNS #2000K SINGLE SHEET The selection will influence Only displayed if PNS
205 mm the ejection of the paper. SELECTION
220 mm Single Sheet means A4 is set to YES
3-8
Configuring the Printer
CONFIGURE
Parameter Option Explanation Note
PNS #2001K 400 Digital filter (CX STB) Only displayed if PNS
selectable: 200 SELECTION
up to 1000 in is set to YES
steps of 100
Note: In the different emulations the items shown are not equal. The option’s which are
printed in bold indicate the actual setting.
OLIVETTI CONFIGURE
Parameter Option Explanation Note
TOF PR40 LIKE NO Selecting the top margin. TOF = Top Of Form
YES NO, the physical top margin
of 4.23 mm.
YES, 7.4 mm
3-9
C onf iguring the Printer
OLIVETTI CONFIGURE
Parameter Option Explanation Note
LR+CR NO YES: LF = LF + CR
YES NO: LF = LF
TOP MARG. (1/60") 0 To adjust the top margin TOF = Top Of Form
-6 up to +6 more up or down in units of
1/60" inch (about 4 mm).
FAN FOLD LEFT MARG. 0 Select the left margin for Only displayed if a
0 up to 7 the columns of fan fold PR 9 printer with
paper in n/10 inches. Tractor Unit is in use.
3-10
Configuring the Printer
OLIVETTI CONFIGURE
Parameter Option Explanation Note
3-11
C onf iguring the Printer
OLIVETTI CONFIGURE
Parameter Option Explanation Note
OLI CHARACTER SET ST15CND Selecting your code page of Only displayed if
ST15CIBC the OLIVETTI character OLIVETTI in
ST15DK/N set. Character Set is
ST15IL selected.
ST15F
ST15UK
ST15D
ST15GR
ST15INT
ST15ITA
ST15P
ST15USSR
ST15SDC
ST15E
ST15E2
ST15S/SF
ST15CH
ST31
ST15TR
ST15USA
ST15YU
ST15ARABIC
3-12
Configuring the Printer
OLIVETTI CONFIGURE
Parameter Option Explanation Note
3-13
C onf iguring the Printer
Note: You will find the following parameter after the last parameter of OLIVETTI
CONFIGURE.
END SENTINEL C Selecting the end control of Only for PR9/K with
F the magnetic record, the the version 1.07 or
selectable end sentinel is higher.
character C or F
Position adjust: each step is
0.4 mm.
POSITION ADJUST 0 Select the adjusted value Only for PR9/K with
-7 up to +7 for the vertical position of the version 1.07 or
the magnetic record when higher.
reading the magnetic stripe.
RETRY 135 Selecting the retry value for Only for PR9/K with
reading the magnetic stripe. the version 1.07 or
higher.
STRIPE HANDLE NORMAL Selecting the stripe handle Only for PR9/K with
FAST mode. the version 1.07 or
NORMAL = measure the higher.
width of a passbook when
reading the magnetic stripe
every time.
FAST = measure the width
of a passbook only one
time. The next reading
procedures are using the
founded width.
3-14
Configuring the Printer
Note: In the different emulations the items shown are not equal. The option’s which are
printed in bold indicate the actual setting.
OKI CONFIGURE
Parameter Option Explanation Note
FAN FOLD LEFT MARG. 0 Select the left margin for Only displayed if a
0 up to 7 the columns of fan fold PR 9 printer with
paper in n/10 inches. Tractor Unit is in use.
PRINTING MODE CHINESE Select the printing mode LATIN, BIG5, and
LATIN UNICODE = West
BIG5 Font
UNICODE
3-15
C onf iguring the Printer
OKI CONFIGURE
Parameter Option Explanation Note
CR+LF NO NO: CR = CR
YES YES: CR = CR + LF
TOP MARG. (1/6") 0 Adjust the top margin in TOF = Top Of Form
-1 up to +6 units of 1/6 inch.
TOP MARG. (1/60") 0 Adjust the top margin in TOF = Top Of Form
-5 up to +5 units of 1/60 inch (about
4 mm).
3-16
Configuring the Printer
OKI CONFIGURE
Parameter Option Explanation Note
3-17
C onf iguring the Printer
Note: In the different emulations the items shown are not equal. The option’s which are
printed in bold indicate the actual setting.
IBM CONFIGURE
3-18
Configuring the Printer
IBM CONFIGURE
3-19
C onf iguring the Printer
IBM CONFIGURE
3-20
Configuring the Printer
IBM CONFIGURE
3-21
C onf iguring the Printer
3.4.8 LQ CONFIGURE
The following items can be modified according to the LQ parameters.
Note: In the different emulations the items shown are not equal. The option’s which are
printed in bold indicate the actual setting.
LQ CONFIGURE
PRINTING MODE LATIN Select the printing mode LATIN, BIG5, and
BIG5 UNICODE = West Font
UNICODE
CHINESE
3-22
Configuring the Printer
LQ CONFIGURE
3-23
C onf iguring the Printer
LQ CONFIGURE
PC CHARACTER SET 437(INT) Select the code page of the Only displayed if IBM
210(GR) PC character set. CHARACTER SET
220(E) is set to PC.
850(LATIN 1)
851(GREEK)
852(LATIN 2)
855(CYRILLIC)
857(LATIN 5)
858(LATIN EURO)
860(P)
862(IL)
863(CAN. FR.)
DK/N
DK
1252(PC-WIN LATIN1)
1250(PC-WIN LATIN2)
CHINA
CHN2
990(PC-866-BG
991(PC-GER)
ISO CHARACTER SET CPOLUNIX Select the code page of the Only displayed if IBM
8859/15 ISO character set. CHARACTER SET
8859/1 is set to ISO.
8859/2
8859/5
8859/6
8859/7
8859/8
8859/9
LF+CR NO YES: LF = LF + CR
YES NO: LF = LF
CR+LF NO YES: CR = LF + CR
YES NO: CR = CR
TOP MARG. (1/6") 0 Adjust the top margin in TOF = Top Of Form
-1 up to +6 units of 1/6 inch.
TOP MARG. (1/60") 0 Adjust the top margin in TOF = Top Of Form
-5 up to +5 units of 1/60 inch (about
4 mm).
3-24
Configuring the Printer
LQ CONFIGURE
3-25
C onf iguring the Printer
Note: In the different emulations the items shown are not equal. The option’s which are
printed in bold indicate the actual setting.
SERIAL PROTOCOL EFFECTIVE CTS/FDD Selecting the serial FDD = Finance Device
NO CTS/FDD communication interface Driver
with the host system.
EFFECTIVE CTS/FDD =
CTS/FDD active.
NO CTS/FDD = CTS
without FDD.
TOP MARG. (1/60") 0 To adjust the top margin in TOF = Top Of Form
-6 up to +6 units of 1/60 inch (about
4 mm).
BOF ADJUST (0.5 mm) 0 Adjust the bottom margin in BOF = Bottom Of Form
-10 up to +10 units of 0.5 mm
FEED ADJUST (1mm/10") 0 Adjustment when the form This item will be valid
-10 up to +5 feed 10 inch, 0.5 inch with the release $ 2.09.
LF+CR NO YES: LF = LF + CR
YES NO: LF = LF
3-26
Configuring the Printer
CR+LF NO YES: CR = LF + CR
YES NO: CR = CR
3-27
C onf iguring the Printer
3.4.10 LANGUAGE
The operator panel may display its messages in two languages. Select one out of the following:
ENGLISH or CHINESE.
3-28
Configuring the Printer
3-29
C onf iguring the Printer
3.6 ADJUSTMENT
Adjustment can be used to adjust and check some built-in parameters of the printer. It may
enhance the print performance. Sometimes, it’s possible to improve the rationality of the page
layout according to the practical environment. The printer has been adjusted corresponding to
factory standard before it is delivered.
ADJUSTMENT
[STATION 2]
PHOTOSENSOR VALUE
3-30
Configuring the Printer
The new values of adjustment to be default settings can be saved now or ignore the new values.
After saving and power OFF and ON the new adjustment is still activated.
ADJUSTMENT
Select Adjustment
PHOTOSENSOR VALUE
[COMPRESS –] ADJUSTMENT
until LCD shows LEFT MARGIN
LEFT MARGIN 17
[STOP #] to select
• = LEFT – = RIGHT
Press [FEED/EJECT •] or [COMPRESS –] to find the new left margin. LEFT MARGIN 20
The range is from zero up to 133 in units of 1/120 inch. • = LEFT – = RIGHT
Insert an A4 sheet to control the setting. The printer will insert the paper LEFT MARGIN (20)
automatically, print the current margin and eject the paper. • = LEFT – = RIGHT
LEFT MARGIN
[STOP #] to accept
SAVE PARAMETERS
ADJUSTMENT
Display after saving
LEFT MARGIN
3-31
C onf iguring the Printer
ADJUSTMENT
Select Adjustment
PHOTOSENSOR VALUE
[COMPRESS –] ADJUSTMENT
until LCD shows TOP MARGIN
ADJUSTMENT
Display after saving
TOP MARGIN
ADJUSTMENT
Select Adjustment
PHOTOSENSOR VALUE
[COMPRESS –] ADJUSTMENT
until LCD shows RUN IN TEST
The printer starts printing horizontal lines after inserting a paper. RUN IN TEST NO: 00
printing, finish: 00
Now it is possible to stop printing by pressing the [STOP #] key. RUN IN TEST NO: 00
printing, finish: 00
Note: Use Bidirectional Alignment Adjust to correct an offset in the vertical lines (see paragraph
3.6.5).
3-32
Configuring the Printer
ADJUSTMENT
Select Adjustment
PHOTOSENSOR VALUE
[COMPRESS –] ADJUSTMENT
until the LCD shows: BIDIRECTION ALIGN
BIDIRECTION ALIGN
Press the [STOP #] key
INSERT A4 SHEET
The printer starts printing vertical lines after inserting a paper. BIDIRECTION ALIGN
FINISH; PRESS STAT2
Now press [FEED/EJECT •] or [COMPRESS –] until you can select the BIDIRECTION ALIGN
font and CPI which you want to align (e.g. DRAFT 12 CPI). DRAFT 12CPI
Press the [STOP #] key to accept the selection. BIDIRECTION ALIGN 000
• = LEFT – = RIGHT
Use the [FEED/EJECT •] or [COMPRESS –] key for alignment (e.g. left BIDIRECTION ALIGN 005
5 times). If you are going to the right the numeric value will be indicated by • = LEFT – = RIGHT
an minus sign (e.g. -005).
Now you can select an other font for alignment or leave the function. BIDIRECTION ALIGN
DRAFT 12CPI
If you want to leave the off-line mode press [STATION 2] and SAVE PARAMETERS
[COMPRESS –] together. ■ ACCEPT ST2 = IGNORE
PR9 SERIAL1 OLIVETTI *)
Because the parameters are saved, press [STATION 2] to ignore.
ON-LINE
3-33
C onf iguring the Printer
ADJUSTMENT
Select Adjustment
PHOTOSENSOR VALUE
[COMPRESS –] ADJUSTMENT
until the LCD shows: PRINT PHOTO VALUES
ADJUSTMENT
[STATION 2]
PRINT PHOTO VALUES
If you want to leave the off-line mode press [STATION 2] and SAVE PARAMETERS
[COMPRESS –] together. ■ ACCEPT ST2 = IGNORE
PR9 SERIAL1 OLIVETTI *)
Press [STATION 2] to ignore.
ON-LINE
3-34
Configuring the Printer
You can check each photosensor value by pressing [COMPRESS –] (means move
downwards) or [FEED/EJECT •] (means upwards).
ADJUSTMENT
Select Adjustment
PHOTOSENSOR VALUE
3-35
C onf iguring the Printer
ADJUSTMENT
Select Adjustment
PHOTOSENSOR VALUE
[COMPRESS –] ADJUSTMENT
until the LCD shows: RESUME HW PARAMETERS
OFF-LINE MODE
or [STATION 2] to ignore
ADJUSTMENT
If you want to leave the off-line mode press [STATION 2] and SAVE PARAMETERS
[COMPRESS –] together. ■ ACCEPT ST2 = IGNORE
PR9 SERIAL1 OLIVETTI *) ON-
Press [STATION 2] to ignore.
LINE
1. 2. 3.
Sample: 00000 00 0C 07 0D 07 0D 07 0D 07 0D 07 0D 0&C*C*C*C*C*
3-36
Configuring the Printer
Note: The new to be saved data will overwrite the saved data before.
Note: The saved data are printed with two bytes first (in the sample in bold), which
indicates the length of the saved data.
DEBUG/TEST
Select Debug / Test
HEX PRINTING
The printer starts printing vertical lines after inserting a paper. HEX PRINTING
PRINTING, WAITING...
HEX PRINTING
After printing and eject the page the LCD shows:
POWER OFF OR OTHERS
3-37
C onf iguring the Printer
DEBUG/TEST
Select Debug / Test
HEX PRINTING
The printer starts printing vertical lines after inserting a paper. HEX PRINTING
PRINTING, WAITING...
HEX PRINTING
After printing and eject the page the LCD shows:
POWER OFF OR OTHERS
DEBUG/TEST
Select Debug / Test
HEX PRINTING
The printer starts printing vertical lines after inserting a paper. HEX PRINTING
PRINTING, WAITING...
HEX PRINTING
After printing and eject the page the LCD shows:
POWER OFF OR OTHERS
3-38
Configuring the Printer
Note: The directly printed data are printed without the two bytes first. So there is no
indication of the length of the printed data.
DEBUG/TEST
Select Debug / Test
HEX PRINTING
The printer starts printing vertical lines after inserting a paper. HEX PRINTING
PRINTING, WAITING...
HEX PRINTING
After printing and eject the page the LCD shows:
POWER OFF OR OTHERS
Note: During the Directly Dump process, if the printer ejects paper automatically, it indicate that
the printing has been finished, but if the printer do not eject paper automatically, press
[FEED/EJECT •] key to eject the paper.
Caution: The performance in the two different modes is different. In the Data Backup Mode, the
printer not only prints in HEX, but also execute the programmer correctly (the bell will
sound six times). But in the Directly Dump, the printer just prints in HEX.
3-39
C onf iguring the Printer
Note: The optional Magnetic Stripe Reader / Writer in a special version and not used in Europe.
3.8.1 FW Version
The parameter firmware version shows:
S version number
S special version tag e.g.: FW VERSION
VER2.09 T7FPGA:2.4
Note: In this sample indicates VER2.09 the version number (firmware release), and T7 the special
version tag.
3.8.2 HW Configuration
The parameter hardware configuration gives information over:
S characters generators
S optional interface e.g.: HW CONFIGURATION
S scanner (only with Magnetic Test) GB18030 CX
3.8.3 Printer ID
The display shows the identification of the printer:
e.g.: PRINTER ID
00000AECE8AD01
3-40
4. Maintenance
Preferred Material
The following materials and cleaning lubricants are recommended when maintaining the printer:
S Lint-free soft cloth
S Light vacuum cleaner.
Note: Before doing the cleaning, please switch off the printer and unplug the power cord first.
Don't use alcohol, liquor or brushes with hard hair to clean the printer. Be careful not to let
water and other liquid flow into the inner of printer.
4-1
M aintenanc e
Caution: The print head may by very hot immediately after printing.
4-2
Maintenance
Note: Both pins (3) are flatten and so is it only possible to take out the Alignment Unit in an angle
of 45<!
4-3
M aintenanc e
Attention: Take care that the foil (2) at the rear side of the Alignment Unit (1) will not be
damaged and is flat over the Print Bar (3)!
4-4
5. Options
5.1.1 Assembly
To use the PR 9 Tractor Unit, please make sure that the hard ware of PR 9, which you use,
supports a Tractor Unit. If you are not sure, ask your system manager.
Note: Be carefully with the connector (3) for the Tractor Unit.
Warning: Be sure to use the right firmware, which support the Tractor Unit. The Tractor Unit is
not supported by some early PR 9 firmware releases.
5-1
O ptions
5.1.2 Disassembly
S To unload a Tractor Unit from PR 9, first turn off the PR 9.
S Press down each of the two levers (1) of the Tractor Unit.
S Draw the Tractor Unit backward to get free the Tractor Unit from Printer PR 9.
Note: To avoid paper bottom measurement error, please do not use those fanfold paper,
which length is less than 5 inches.
Be sure to avoid top of the paper overstepping the tractor wheel too much, when installing
the fanfold paper.
5-2
O ptions
5-3
O ptions
Note: When working on tractor mode, TRACTOR will be displayed on the PR 9 LCD. To let paper return to
the top of form position from the Tear-off position, you can wait 10 seconds or you can press the
[FEED/EJECT •] and [STOP ] key together.
5-4
O ptions
[FEED/EJECT •] the PR 9 ejects If there is no paper in the printer, In case fanfold paper
paper then the PR 9 will try to insert positive-direction vertical
paper once. movement the sum is
more than 12 inches,
If paper had already in the PR 9 PR 9 does a formfeed,
and paper is not at the Tear-off otherwise PR 9 moves
position, then the PR 9 will move fanfold paper to park
the paper to the Tear-off position. position.
5-5
O ptions
OPTION TRACTOR
Parameter Option Explanation
TRACTOR MODE (RS1) TRACTOR TRACTOR: when this item is selected, PR 9 switches to
MANUAL tractor mode if any date arrives at the corresponding
Normal port.
MANUAL: when this item is selected, PR 9 working
mode, normal mode or tractor mode, is only
TRACTOR MODE (CX) TRACTOR determined by buttons. It is also the default selection for
MANUAL all ports.
NORMAL: when this item is selected, PR 9 switches to
Normal
normal mode if any date arrives at the corresponding
port.
Note: The Off line operations, such as MENU PRINTING or PRINTING TEST, are only
supported on normal mode.
5-6
O ptions
This slot can be used than for option boards and cards as below:
S Second serial interface board and USB interface board
S Second serial interface board or
S USB interface board
Note: When printer equipped with second or more other data communication interface boards,
interface working mode can be selected by menu setup configuration.
S If printer has been installed second serial port board and USB interface board, there are only
two serial ports( first serial port and second serial port) can work synchronously. Under this
configuration, printer can check witch port is active. Any one of these two ports, if its data
has been received, printer will be under the control of this port, and be kept in this state till
this port task is end. Two ports are independent. And two ports have the same
configuration except emulation mode.
Emulation mode can be shifted by commands.
S If printer has been installed with second parallel interface board and configured as dual-
port activity, it will check witch port buffer has data. If any one of these two ports detect
data has been received, printer will be under the control of the port and it will be kept in
this state till port task is end. Dual-port functionality and corresponding parameters can be
selected though operator panel. Under the especial circumstance, each port can has its
own emulation mode, and using commands can shift emulation mode.
S If printer hardware configuration has two interface and the setup item interface in the
menu is UAL then it can print out two interface corresponding emulation configuration in
self-test sheet. Printer can set which port to be active and emulation mode according to
host communication port
5-7
6. Technical Data
6.1 Technical
Specification Paper
Path:
S Flatbed technology
Printhead:
S Number of needles: 24
S Needle Diameter: 0.25 mm
S Needle Material: tungsten carbide
S Needle alignment: staggered two lines, 12+12
S Matrix form: diamond-shaped
S Multi-copy print: 1+6
S Thermal protection: PTC
S Life of print head: >600 million dots/needle
Font:
S Latin character: HSD, Draft, Roman, Sans Serif, Italic, OCR-A, OCR-B, E13B.
S Chinese character: GB18030 (SONG Style), UNICODE and BIG-5 traditional Chinese character.
Character Set:
S Chinese character: GB18030
S ASCII character: 54 codepages
CPI:
S Chinese character:
5CCPI, 6CCPI, 6.9CCPI, 7.5CCPI, 8.3CCPI, 8.5CCPI, 9CCPI, 10CCPI
S ASCII character:
10CPI, 12CPI, 13.8CPI, 15CPI, 16.6CPI, 17.1CPI, 18CPI, 20CPI
Printing Speed:
HSD Draft NLQ LQ
Chinese Character (CCPS) 200 150 75 50
ASCII Character (CPS) 360 300 150 100
6-1
Technical D ata
Bar Code Printing: EAN 8, EAN 13, UPC-A, UPC-E, Code 39, Code 128, Codabar, 2 of 5
industrial, 2 of 5 interleaved
Diagnose:
S Self-diagnose,
S Hex print,
S Remote interrupt by interface,
S Remote intelligence service by interface,
S Self-test when power on.
Ribbon Cassette:
S Ribbon: black fabric
S Ribbon Length: 18 m
S Ribbon Width: 7 mm
S Useful ribbon Life: 5 million characters (HSD)
Machine Character:
S Dimensions: 398 x 296 x 215 mm (W x D x H)
S Weight: 9.0 kg (Basic Model)
Electric Character:
S Rated Voltage: 220 VAC ± 10%
S Frequency: 50 HZ / 60 HZ
S Power Consumption: operating approx. 170 W (max), 15 W Standby
Environment:
S Temperature: 5 - 35° C
S Humidity: 15 - 85% (no frost)
S Noise level: < 54 dBA acc. to ISO 7799
Quality Characteristics:
S MTBF: >=10,000 hours
S EMC and radio interference character: acc. to CCC.
6-2
Technic al D ata
Paper Output:
S front side
Margins of Documents:
(measured from the character’s bottom):
S PR 9 emulation = 4.3 mm
S IBM PP II = 4.3 mm
S The min distance from the last basic printing line to the page bottom margin:
S 5 mm (0.2 inch)
6-3
Technical D ata
Note: New or folded passbooks have to be flatting before put it into a printer!
Margins of Passbooks:
S Minimal left and right margin = 3.1 mm ± 0.3 mm
S Min distance between last basic line character above the horizontal binding = 5 mm S Min
distance between last basic line character below the horizontal binding = 8 mm S Distance
between character and vertical binding = 5.08 mm
6-4
Technic al D ata
6-5
Interfac e D escription
7. Interface Description
Technical Character:
The following parameters can be modified in SET-UP:
S BAUD RATE: 2400, 4800, 9600, 19200 (bit/s)
S BITS/CHARACTER: 7 or 8 bits
S STOP BITS: 1 or 2 bits
S PARITY: none, even or odd.
S DSR: YES or NO
Communication Cable:
S HOST: 9 PINS (DB-9S)
S PRINTER: 9 PINS (DB-9S)
Host System
Print
er
7-3
Troubleshooting
Technical Character:
S Compatibility: CENTRONICS
S Logic circuit: TTL
S Data format: 7 or 8 bits
S Logic level: 0-5V
S Connector: 36 pins
All the input and output signal was connected to a 5V voltage by a 2.2k ohm resistance Interface signal:
7-2
Users are advised to update the printer’s firmware irregularly to strengthen PR 9’s functions and will
offer the necessary firmware file to users (usually the firmware file is named flash.mot).
PR 9 VERx xx TX
S After LCD’s displaying become stable, you can release the [STOP ] key and the LCD will display
“PROGRAM UPDATE”.
PROGRAM UPDATE
S Copy the firmware file flash.mot binary to the PC’s parallel port, which is connected to the PR
9. Usually we suggest the user to use the command under MS-DOS like this:
9-1
8. Firmware Update
UPDATE BUSY
S During the downloading process PR 9’s LCD will display how many bytes the printer has
received.
PROGRAMMING 13BB0
S The whole downloading process will last about three minutes. After updating is finished
successfully, LCD shows:
UPDATE O.K.
S Firmware upgrading finished after PR 9’s automatically resetting finish, and PR 9 can be used
normally.
Warning: Power off during the process of firmware upgrading is forbidden, otherwise the printer
will be destroyed.
8-1
Troubleshooting
9. Troubleshooting
1. Find the category in which your problem occurs. The problem categories are:
S Power-related Problems
S Uncompleted Power On
S Ribbon or Carriage related Problems
S Paper-related Problems S
Print-related Problems S No
Printout
2. Find the symptom description that most closely matches the printer symptom.
3. Try the first suggestion under that heading.
4. If the suggestion does not cure the problem, try the next suggestion.
5. If none of the suggestions enable you to continue printing, or if the fault is not listed,
contact your service office.
Note: To clean the paper path remove the Alignment Unit as described in
paragraph 4.1.2.
S Paper is ropy, such as crimp.
S Multi-carbon does not bond well together.
S Too thick, too thin or too many sheets of paper.
S There is residue of paper or fibre on the printing media.
S Paper with clip or pin (which would damage the printer seriously)
9-3
Troubleshooting
S Dot Missing
S If white lines appear on characters at certain fixed position, there are probably several
needles broken or crooked. When this happens, please contact your printer supplier to
replace the damaged printhead.
9-3
Troubleshooting
9.6 No Printout
S Self-test printout does not start
S Make sure that you have closed the cover.
S Check if paper is loaded in the printer.
S Check if ribbon cassette is installed correctly on printer.
After feeding an A4 paper the printer will start MENU PRINTING process
automatically. PRINTING; WAITING...
If a page is finished, printer will eject paper and need MENU PRINTING
an other sheet until the print out is finished. PRINTING; WAITING...
[STATION 2] MENU PRINTING
FINISH; PRESS STAT2
[STATION 2] OFF-LINE MODE
MENU PRINTING
Press [STATION 2] and [COMPRESS –] synchronously to go back to ON-LINE.
Note: A sample of the print out you will find on the next pages.
9-4
Troubleshooting
9-5
Troubleshooting
9-6
Troubleshooting
9-7
Troubleshooting
9-8
Appendix A Code Pages
Code page of PR 9
Under OLIVETTI Emulation: set code page by changing menu configuration or command
ESC [ nnn on line.
A-1
Appendix A C ode Pages
A.1 Olivetti
A-2
Appendix A C ode P ages
A-3
Appendix A C ode Pages
A-4
Appendix A C ode P ages
A-5
Appendix A C ode Pages
A-6
Appendix A C ode P ages
A-7
Appendix A C ode Pages
A-8
Appendix A C ode P ages
A-9
Appendix A C ode Pages
A-10
Appendix A C ode P ages
A-11
Appendix A C ode Pages
A-12
Appendix A C ode P ages
A-13
Appendix A C ode Pages
A-14
Appendix A C ode P ages
A-15
Appendix A C ode Pages
A-16
Appendix A C ode P ages
A-17
Appendix A C ode Pages
A-18
Appendix A C ode P ages
A-19
Appendix A C ode Pages
A-20
Appendix A C ode P ages
A-21
Appendix A C ode Pages
A-22
Appendix A C ode P ages
A-23
Appendix A C ode Pages
A-24
Appendix A C ode P ages
A-25
Appendix A C ode Pages
A-26
Appendix A C ode P ages
A-27
Appendix A C ode Pages
A-28
Appendix A C ode P ages
A-29
Appendix A C ode Pages
A-30
Appendix A C ode P ages
A-31
Appendix A C ode Pages
A-32
Appendix A C ode P ages
A-33
Appendix A C ode Pages
A-34
Appendix A C ode P ages
A-35
Appendix A C ode Pages
A-36
Appendix A C ode P ages
A-37
Appendix A C ode Pages
A-38
Appendix A C ode P ages
A-39
Appendix A C ode Pages
A-40
Appendix A C ode P ages
A-41
Appendix A C ode Pages
A-42
Appendix A C ode P ages
A-43
Appendix A C ode Pages
A-44
Appendix A C ode P ages
A-45
Appendix A C ode Pages
A-46
Appendix A C ode P ages
A-47
Appendix A C ode Pages
A-48
Appendix A C ode P ages
A-49
Appendix A C ode Pages
A-50
Appendix A C ode P ages
A-51
Appendix A C ode Pages
A-52
Appendix A C ode P ages
A-53
Appendix A C ode Pages
A-54
Appendix A C ode P ages
A-55
Appendix A C ode Pages
A-56
Appendix A C ode P ages
A-57
Appendix A C ode Pages
A-58
Appendix A C ode P ages
A-59
Appendix B OKI-Emulation Commands
Characters used in control functions appear in monospaced type. The table below explains some
of the conventions used.
Spaces appear between characters in sequence for clarity; they are not part of the format.
At the begin of this chapter you will find a listing of the OKI Emulation commands classified by
Hex Code and at the end a Hex - Decimal conversion table.
Conventions:
* Indicates multiplied by
B-1
Appendix B OKI-Em ulation C omm ands
BS 08 Backspace
HT 09 Horizontal Tabulation
LF 0A Line Feed
VT 0B Vertical Tabulation
FF 0C Form Feed
CR 0D Carriage Return
SO 0E Set Line Double-Width
DC1 11 On Line
DC3 13 Off Line
B-2
Appendix B O KI-Em ulation C omm ands
ESC A 1B 41 NOP
ESC L n1 n2 ... n(2k-1) n(2k) 1B 4C n1 n2 ... n(2k-1) n(2k) Set Horizontal Tab
NULL NULL NULL NULL
ESC M 1B 4D NOP
ESC N 1B 4E Set Pica HS ANK Mode
B-3
Appendix B OKI-Em ulation C omm ands
ESC V 1B 56 NOP
ESC b 1B 62 NOP
FS % 1C 25 NOP
FS 0 1C 30 NOP
FS 2 n1 n2 d1 d2...d71 d72 1C 32 n1 n2 d1 d2...d71 d72 User-Defined Character Download
B-4
Appendix B O KI-Em ulation C omm ands
FS h 1C 68 NOP
B-5
Appendix B OKI-Em ulation C omm ands
S Basic Operations
S Margins
S Line Feed
S Print Position
S Print Pitches
S Print Attributes
S Tabulation
S Graphics
S Bar Code Mode
S Other Functions
S Ignored Commands
S Chinese Mode
S Ignored Commands in Chinese Mode
S BS : Backspace
S CR : Carriage return
S DLE B : Printer Soft Reset
S FF : Form feed
BS Backspace
This command causes the horizontal print position to move left one character space (according to
the active character pitch and character space).
Hex: (08)H
Decimal: (08)D
Octal: (10)O
Note: If movement is beyond the left margin, it will position on the left margin.
B-6
Appendix B O KI-Em ulation C omm ands
CR Carriage Return
This command causes the current line buffer to print and position the Print head to the left margin.
Hex: (0D)H
Decimal: (13)D
Octal: (15)O
DLE B Printer Soft Reset
This command code sets all the parameters to the default conditions. Hex
(10 42)H
Decimal (16 66)D
Octal (20 102)O
Hex: (0C)H
Decimal: (12)D
Octal: (14)O
B-7
Appendix B OKI-Em ulation C omm ands
B.2.2 Margins
S ESC F n ... : Set page length
S ESC 5: Set Top of Form
S ESC ( n : Set Left Margin
S ESC ) n : Set Right Margin
This command code specifies page length to (n1 & 0x0f) * 10 + (n2 & 0x0f) lines. Hex
(1B 46 n1 n2)H
Decimal (27 70 n1 n2)D
Octal (33 106 n1 n2)O
(1B 35)H
Decimal (27 53)D
Octal (33 65)O
This command code sets left margin to (n1 * 256 + n2)/180 inch
This command code sets right margin to (n1 * 256 + n2)/180 inch
B-8
Appendix B O KI-Em ulation C omm ands
(1B 54 n)H
Decimal (27 84 n)D
Octal (33 124 n)O
(1B 0B n1 n2)H
Decimal (27 11 n1 n2)D
Octal (33 13 n1 n2)O
n1 = 0x00 up to 0x0F
n2 = 0x00 up to 0x0F
B-9
Appendix B OKI-Em ulation C omm ands
LF Line Feed
Line feed to next print line
Hex (0A)H
Decimal (10)D
Octal (12)
This command code causes the current characters in print buffer to print and causes the presentation
position to move vertically to the next printing line. The default line pitch is determined by menu and
also line pitch can be changed by follow command codes:
Hex (0E)H
Decimal (14)D
Octal (16)O
B-10
Appendix B O KI-Em ulation C omm ands
This command code causes the presentation position to move (n1 * 256 + n2)/180 inches to the
right.
(n1 * 256 + n2)/180 > 0; right margin - (n1 * 256 + n2)/180 > left margin
(n1 * 256 + n2)/180 > 0; (n1 * 256 + n2)/180 < right margin
Note: If current print position - (n1 * 256 + n2)/180 < left margin then the
presentation position is specified to left margin.
B-11
Appendix B OKI-Em ulation C omm ands
25 36 n1 n2)H
Decimal (27 37 54 n1 n2)D
Octal (33 45 66 n1 n2)O
B-12
Appendix B O KI-Em ulation C omm ands
This command code sets working mode to SHIFT JIS mode. Code ESC l can change this mode.
(1B 36)H
Decimal (27 54)D
Octal (33 66)O
(1B 38)H
Decimal (27 56)D
Octal (33 70)O
B-13
Appendix B OKI-Em ulation C omm ands
(1B 3E)H
Decimal (27 62)D
Octal (33 76)O
(1B 25 39 n1 n2)H
Decimal (27 37 57 n1 n2)D
Octal (33 45 71 n1 n2)O
Note: Every time you want to change the SHIFT JIS mode character density you must
use the parameter n = 0 first.
B-14
Appendix B O KI-Em ulation C omm ands
(1B 44)H
Decimal (27 68)D
Octal (33 104)O
B-15
Appendix B OKI-Em ulation C omm ands
(1B 44)H
Decimal (27 68)D
Octal (33 104)O
B-16
Appendix B O KI-Em ulation C omm ands
(1B 4F)H
Decimal (27 79)D
Octal (33 117)O
(1B 52)H
Decimal (27 82)D
Octal (33 122)O
Note: This code can also reset the mode set by code FS p.
(1B 55)H
Decimal (27 85)D
Octal (33 125)O
Note: Code ESC R, ESC g, and ESC < can reset this mode.
B-17
Appendix B OKI-Em ulation C omm ands
(1B 59)H
Decimal (27 89)D
Octal (33 131)O
(1B 65)H
Decimal (27 101)D
Octal (33 145)O
Note: One line’s base line is at the character’s bottom and line spacing is
determined by the highest character.
(1B 66)H
Decimal (27 102)D
Octal (33 146)O
(1B 67)H
Decimal (27 103)D
Octal (33 147)O
B-18
Appendix B O KI-Em ulation C omm ands
(1B 69)H
Decimal (27 105)D
Octal (33 151)O
(1B 6A)H
Decimal (27 106)D
Octal (33 152)O
(1B 6E)H
Decimal (27 110)D
Octal (33 156)O
B-19
Appendix B OKI-Em ulation C omm ands
(1B 5B)H
Decimal (27 91)D
Octal (33 133)O
Note: One line’s base line is at the character’s bottom and line spacing is
determined by the highest character.
(1B 5D)H
Decimal (27 93)D
Octal (33 135)O
B-20
Appendix B O KI-Em ulation C omm ands
B.2.7 Tabulation
S ESC L : Set horizontal tab stops
S DC4 : Set Vertical Tabulation
S HT : Horizontal tabulation
HT Horizontal Tabulation
Set horizontal tabulation
Hex (09)H
Decimal (09)D
Octal (11)O
If the H-tab had already set by code ESC L, then this command code moves the presentation
position to the right to the next horizontal tab stop, otherwise OKI PNS2061 in menu will
determine whether do CR and LF one time at this moment or not.
Hex (14)H
Decimal (20)D
Octal (24)O
B-21
Appendix B OKI-Em ulation C omm ands
B.2.8 Graphics
S ESC % 1 n1 n2 ... : 180 DPI BIM print
S ESC % 2 n1 n2 ... : 90 DPI BIM print
(1B 25 31 n1 n2)H
Decimal (27 37 49 n1 n2)D
Octal (33 45 61 n1 n2)O
(n1 * 256 + n2) defines the column number and (n1 * 256 + n2) * 3 ) defines the BIM data
number.
(1B 25 32 n1 n2)H
Decimal (27 37 50 n1 n2)D
Octal (33 45 62 n1 n2)O
(n1 * 256 + n2) defines the column number and (n1 * 256 + n2) * 3 ) defines the BIM data
number.
B-22
Appendix B O KI-Em ulation C omm ands
B-23
Appendix B OKI-Em ulation C omm ands
(1B 7A)H
Decimal (27 122)D
Octal (33 172)O
Note: E13B Code mode is only valid when working mode is SHIFT JIS mode; while E13B
Code mode is valid, two byte code 0xa6 0xa1, 0xa6 0xa2, 0xa6 0xa3, 0xa6 0xa4,
0xa6 0xa5, 0xa6 0xa6, 0xa6 0xa7, 0xa6 0xa8, 0xa6 0xa9, 0xa6 0xaa, 0xa6 0xab,
0xa6 0xac, 0xa6 0xad, 0xa6 0xaewill be printed as E13B code.
B-24
Appendix B O KI-Em ulation C omm ands
Hex (18)H
Decimal (24)D
Octal (30)O
(1B 6C)H
Decimal (27 108)D
Octal (33 154)O
Note: ANK mode is only valid when working mode is WESTERN mode.
B-25
Appendix B OKI-Em ulation C omm ands
Note: ANK mode is only valid when working mode is WESTERN mode.
Katakana mode is the default ANK sub mode!
(1B 28 48)H
Decimal (27 40 72)D
Octal (33 50 110)O
B-26
Appendix B O KI-Em ulation C omm ands
(1B 24 40)H
Decimal (27 36 64)D
Octal (33 44 100)O
Code ESC ( H and ESC k can change this working mode. In this mode all characters, except single
byte command codes, will be regarded as two byte code.
(1B 2C n)H
Decimal (27 44 n)D
Octal (33 54 n)O
B-27
Appendix B OKI-Em ulation C omm ands
(1B 40)H
Decimal (27 64)D
Octal (33 100)O
B-28
Appendix B O KI-Em ulation C omm ands
DC1 On Line
(11)H
Decimal (17)D
Octal (21)O
DC3 Off
Line
This command code does nothing in PR 9. Hex
(13)H
Decimal (19)D
Octal (23)O
ESC A NOP
This command code does nothing in PR 9. Hex
(1B 41)H
Decimal (27 65)D
Octal (33 101)O
ESC G n1 n2 NOP
This command code does nothing in PR 9. Hex
(1B 47 n1 n2)H
Decimal (27 71 n1 n2)D
Octal (33 107 n1 n2)O
B-29
Appendix B OKI-Em ulation C omm ands
ESC M NOP
This command code does nothing in PR 9. Hex
(1B 4D)H
Decimal (27 77)D
Octal (33 115)O
ESC S NOP
This command code does nothing in PR 9. Hex
(1B 53)H
Decimal (27 83)D
Octal (33 123)O
ESC V NOP
This command code does nothing in PR 9. Hex
(1B 56)H
Decimal (27 86)D
Octal (33 126)O
ESC b NOP
This command code does nothing in PR 9. Hex
(1B 62)H
Decimal (27 98)D
Octal (33 142)O
VT Vertical
Tabulation
This command code does nothing in PR 9. Hex
(0B)H
Decimal (11)D
Octal (13)O
B-30
Appendix B O KI-Em ulation C omm ands
(1C 24 n)H
Decimal (28 36 n)D
Octal (34 44 n)O
This code specifies Half Corner character’s spacing to n/180 inch and when n is less than 128 this
code specifies Full Corner character’s spacing to n/90 inch, when n is greater than 127 this code
specifies Full Corner character’s spacing to 255/180 inch.
B-31
Appendix B OKI-Em ulation C omm ands
OCR Character print mode is only valid when working mode is WESTERN.
(1C 4A)H
Decimal (28 74)D
Octal (34 112)O
This mode is valid when working mode is SHIFT JIS mode or when working mode is CHINA mode.
When this mode is valid all printable characters, except those are listed below, will be rotated to
left 90 degree.
Position (16) Characters Position (16) Characters
Byte1 Byte2 Byte1 Byte2
21 27 ( 21 54 /
21 2D … 21 55 –
21 32 [ 21 56 .
21 33 ] 21 57 -
21 34 + 21 58 %
21 35 , 21 59 …
21 36 « 21 5A Û
21 37 » 21 5B Ý
+
21 38 21 5C #
21 39 - 21 5D $
6
21 3A 21 5E 4
B-32
Appendix B O KI-Em ulation C omm ands
(1C 4B)H
Decimal (28 75)D
Octal (34 113)O
B-33
Appendix B OKI-Em ulation C omm ands
(1C 4E)H
Decimal (28 78)D
Octal (34 116)O
Note: This mode is valid when working mode is SHIFT JIS mode or when working
mode is CHINA mode.
(1C 4F)H
Decimal (28 79)D
Octal (34 117)O
(1C 50)H
Decimal (28 80)D
Octal (34 120)O
Note: This mode is valid when working mode is SHIFT JIS mode or when working
mode is CHINA mode.
(1C 51)H
Decimal (28 81)D
Octal (34 121)O
B-34
Appendix B O KI-Em ulation C omm ands
(1C 52)H
Decimal (28 82)D
Octal (34 122)O
Note: This mode is valid when working mode is SHIFT JIS mode or when working mode is
CHINA mode. When this mode is valid, the former of two continuous one byte
character will be printed as superscript and the later one will be printed as
subscript.
(1C 53)H
Decimal (28 83)D
Octal (34 123)O
(1C 5F)H
Decimal (28 95)D
Octal (34 137)O
Note: This mode is valid when working mode is SHIFT JIS mode or when working mode is
CHINA mode. When this mode is valid and character left rotate 90 degree print
mode is valid the coming two half corner characters, after this code, will be put
together to print.
B-35
Appendix B OKI-Em ulation C omm ands
(1C 70)H
Decimal (28 112)D
Octal (34 160)O
Note: This mode is valid when working mode is SHIFT JIS mode or when working mode is
CHINA mode. When this mode is valid, all printable characters will be specified as
double width characters.
Code ESC R, ESC q, ESC g, and ESC < can reset this mode.
(1C 71)H
Decimal (28 113)D
Octal (34 161)O
Note: This code can also clear the Chinese character’s double width attribute that made
by code ESC U.
Note: CHINA Half Corner Character mode is only valid when working mode is
CHINA. Code FS s can reset this mode.
(1C 73)H
Decimal (28 115)D
Octal (34 163)O
B-36
Appendix B O KI-Em ulation C omm ands
75)H
Decimal (28 117)D
Octal (34 165)O
B-37
Appendix B OKI-Em ulation C omm ands
FS % n NOP
(1C 25 n)H
Decimal (28 37 n)D
Octal (34 45 n)O
FS 0 n1 n2 NOP
(1C 30 n1 n2)H
Decimal (28 48 n1 n2)D
Octal (34 60 n1 n2)O
FS g NOP
This command code does nothing in PR 9. Hex
(1C 67)H
Decimal (28 103)D
Octal (34 147)O
FS h NOP
This command code does nothing in PR 9. Hex
(1C 68)H
Decimal (28 104)D
Octal (34 150)O
B-38
Appendix B O KI-Em ulation C omm ands
FS v NOP
This command code does nothing in PR 9. Hex
(1C 76 n1)H
Decimal (28 118 n1)D
Octal (34 166 n1)O
B-39
Appendix B OKI-Em ulation C omm ands
0 1 2 3 4 5 6 7 8 9 A B C D E F
B-40
Appendix C IBM ProPrinter X24 and IBM ProPrinter II Commands
Characters used in control functions appear in monospaced type. The table below explains some
of the conventions used.
Spaces appear between characters in sequence for clarity; they are not part of the format.
At the begin of this chapter you will find a listing of the IBM ProPrinter Emulation commands
classified by Hex Code and at the end a Hex - Decimal conversion table.
Conventions:
Note: Some commands or parameter may be different for a specific Printer type.
In those case it will be indicated by the Printer name to which printer a command or
parameter applies.
C-1
Appendix C IBM ProPrinter X24 and IBM ProPrinter II C om m ands
BS 08 Backspace
HT 09 Horizontal tabulation
LF 0A Line feed forward
VT 0B Vertical tabulation
FF 0C Form feed
CR 0D Carriage return
C-2
Appendix C IBM ProPrinter X24 and IBM ProPrinter II Com m ands
C-3
Appendix C IBM ProPrinter X24 and IBM ProPrinter II C om m ands
S Basic Operations
S Margins
S Line Feed
S Print Pitches
S Print Attributes
S Tabulation
S Graphics
S Down Line Loading of Customized Characters (DLL)
S Other Functions
S BS : Backspace
S CR : Carriage return
S FF : Form feed
S HT : Horizontal tabulation
S LF : Line feed
S VT : Vertical tabulation
BS
Moves the print head back one print pitch of the selected value.
Special features:
S by two steps, if double width has been selected
S ignored if the current position is the start of the line
S a fixed step (10 cpi), if proportional spacing has been selected
CR
Prints the current line and sets the printing position at the left margin.
Also causes a line feed, if the parameter CR + LF = YES has been selected during the setup or if ESC
5 1 is transmitted from host.
C-4
Appendix C IBM ProPrinter X24 and IBM ProPrinter II Com m ands
FF
Prints the current line and advances the document to the next page. If the length of form is not long
enough, ejects the form from the front feeder.
If the parameter LF + CR = YES has been selected from the Set-Up, the printing position is set at
the left margin.
HT
Advances the print head to the next horizontal tabulation stop (defined using ESC D). The
default setting is one stop every 8 characters, beginning at position 9.
If the position of the next stop is beyond the right margin, the printer ignores the command.
LF
Prints the current line and executes a line feed of a value determined by the vertical spacing
selected.
If the parameter LF + CR = YES has been selected from the Set-Up, the printing position is set at
the left margin.
VT
Moves the print head to the next vertical tabulation stop (set using ESC B).
If there is no vertical tabulation program or if the next tabulation stop lies outside the predefined
printing area, it executes a line feed only.
If the parameter LF + CR = YES has been set in the SETUP, a carriage return is also executed.
C-5
Appendix C IBM ProPrinter X24 and IBM ProPrinter II C om m ands
C.2.2 Margins
S ESC 4 : Top of form
S ESC C n : Form length as no. of lines
S ESC C NUL n : Form length in inches
S ESC N n : Bottom of form
S ESC O : Cancel bottom of form
S ESC X n1 n2 : Left and right margins
ESC 4
Sets the first line of the form in the current position. It does not change the current form
length.
ESC C n
Form Length in No. of Lines Hexadecimal code: 1B 43 n
n = 1 - 255
Defines the form length as a number of print lines. The space occupied depends on the value of
the current line feed. This space remains unchanged, even if the line feed is changed, until the
printer is switched off or a new form length command is received.
Resets the line counter and fixes the current position as the start of the page (top of form).
ESC C NUL n
Form Length in Inches Hexadecimal code: 1B 43 00 n
n = 1 - 30
Defines the form length directly in inches (30 max). One inch is equal to 25.4 mm. It resets the line
counter and sets the top of form at the current position.
C-6
Appendix C IBM ProPrinter X24 and IBM ProPrinter II Com m ands
ESC N n
Bottom of Form Hexadecimal code: 1B 4E n
n = 0 - 255
Defines the number of line feeds (of the current value) not to be printed (to be skipped)
between the end of the current page and the start of the next (bottom margin + top of form).
This setting is cancelled by ESC O and ESC C n.
ESC O
ESC X n1 n2
n1, n2 = 1 - 255
Parameter n1 indicates the number of the column, in the current print pitch, for the left margin.
Parameter n2 indicates the number of the column, in the current print pitch, for the right margin.
Value n2 - n1 must be more than 1. Values that go beyond the right edge of the paper are set back
to the right margin.
When parameters n1 and/or n2 are set to 0, they indicate that the current margins remain valid.
The margins are set according to the current print pitch, but their absolute position does not
change, even if the pitch is then changed.
C-7
Appendix C IBM ProPrinter X24 and IBM ProPrinter II C om m ands
ESC 0
Line Feed - 1/8" Hexadecimal code: 1B 30
Sets the 1/8" (3.175 mm) line feed.
Remains valid until a new line feed command is received.
ESC 1
Line Feed - 7/72" Hexadecimal code: 1B 31
Sets the 7/72" (2,47 mm) line feed.
It remains valid until a new line feed command is received.
ESC 2
Line Feed = 1/6" or Activate ESC A n Hexadecimal code: 1B 32
Sets the line feed of the value according to ESC A n, when it is followed by this command. It
remains valid until a new line feed command is received.
Line feed - 1/6":
Sent alone, it sets the 1/6" (4,23 mm) line feed. This is the line feed recommended for alphanumeric
texts and ensures that semi graphic characters meet perfectly.
If the parameter AGM : NO has been selected in the SETUP ,it sets the n/216"
(0,1176 x n mm) line feed; If the parameter AGM : YES has been selected in the SETUP
,it sets the n/180" (0,141 x n mm) line feed.
This is the line feed recommended for graphic printing (BIM). If programmed to 24/216", it ensures
that the various lines in 8-needle graphic printing meet perfectly.
It remains valid until a new line feed command is received.
To obtain precise line feeds, always use multiples of 3 for parameter n.
C-8
Appendix C IBM ProPrinter X24 and IBM ProPrinter II Com m ands
parameter n.
If the parameter AGM : NO has been selected in the SETUP ,it sets the n/72" (0,3528 x n mm) line
feed; If the parameter AGM : YES has been selected in the SETUP ,it sets the n/60" (0,432 x n mm)
line feed.
It will only be executed when the command ESC 2 is received. Until then, the current line feed
remains valid.
C-9
Appendix C IBM ProPrinter X24 and IBM ProPrinter II C om m ands
Prints the buffer and feeds the paper line feed.If the parameter AGM : NO has been selected in
the SETUP , the paper line feed by n/216"; If the parameter AGM : YES has been selected in the
SETUP , the paper line feed by n/180".
It also executes a carriage return, if the parameter LF + CR : YES has been selected in the SETUP.
The value of n must be a multiple of 3 (minimum line feed). In 8-needle graphic printing, the
value 24/216" ensures that the lines meet perfectly.
Prints the buffer and feeds the paper by n/216". It also executes a carriage return, if the parameter LF
+ CR = YES has been selected in the SETUP.
In 8-needle graphic printing, the value 24/216" ensures that the lines meet perfectly.
ESC ]
Line Feed Backward Hexadecimal code: 1B 5D
Prints the current line and executes a line feed backward of a value determined by the vertical
spacing selected.
If the parameter LF + CR = YES has been selected from the Set-Up, the printing position is set at
the left margin.
ESC [ c1 c2 t1 t2 n1 n2
as n/ 216” or n/180”.
Parameters c1, c2, t1, t2 and n1 have the following fixed decimal values: 4, 0, 0, 0, and 0.
Parameter n2 has the decimal value: 180 or 216.
C-10
Appendix C IBM ProPrinter X24 and IBM ProPrinter II Com m ands
DC2
10 cpi (Pica) Hexadecimal code: 12
Cancels the print pitches set using SI and ESC :, restoring 10 cpi. It does not cancel Double width.
ESC :
ESC P n
Proportional Spacing Hexadecimal code: 1B 50 n
In this way, the print pitch changes from one character to another, according to their width.
Proportional spacing is canceled by any command that changes the print pitch.
Parameter n may be set to the following values:
Note: Takes priority over a different setting made on the operator console.
C-11
Appendix C IBM ProPrinter X24 and IBM ProPrinter II C om m ands
FS S n1 n2
Adjust characters space Hexadecimal code: 1B 50 n1 n2
n1n2 = 00 - 23
The command adjust the characters space to the current characters pitch starting from the current
position.
If the n1n2 value is equal to 00, the character width is not change. If n1n2 > 23 the value of n1n2
is set to 23.
It sets the characters width be (1+ n1n2/24)/(current CPI value) inch.
SI
16.6 / 17.1 cpi (Condensed) Hexadecimal code: 0F
If the parameter COMPRESS : 17.1 has been selected in the SETUP, it sets 17.1 characters per inch
starting from the current position.
If the parameter COMPRESS : 16.6 has been selected in the SETUP, it sets 16.6 characters per inch
starting from the current position.
C-12
Appendix C IBM ProPrinter X24 and IBM ProPrinter II Com m ands
DC4
Cancel Double Width (One Line) Hexadecimal code: 14
Cancel double width set by SO and restores the previous print pitch.
ESC E
Sets bold face printing until the ESC F command, which cancels it, is received. Bold
face is obtained by the printer in one pass only.
ESC F
ESC G
C-13
Appendix C IBM ProPrinter X24 and IBM ProPrinter II C om m ands
ESC H
Cancel Double-Pass Printing Hexadecimal code: 1B 48
Selects the print mode and character set, according to the decimal value of parameter n:
n Print Mode
0 Draft 10 cpi sans-serif (standard)
8 Draft 12 cpi (derived from Draft 10 cpi)
16 Draft 17 cpi (derived from Draft 10 cpi)
2 Letter 10 cpi Courier
10 Letter 12 cpi Prestrige Elite
18 Letter 17 cpi Courier
3 Letter Proportional
4 Draft 10 cpi downloaded
12 Draft 12 cpi downloaded (derived from Draft 10 cpi downloaded)
20 Draft 17 cpi downloaded (derived from Draft 10 cpi downloaded)
6 Letter 10 cpi downloaded
14 Letter 12 cpi downloaded
22 Letter 17 cpi downloaded (derived from Letter 10 cpi downloaded)
7 Letter Proportional downloaded
Selects the print mode and character set, according to the decimal value of parameter n:
n Print Mode
0 Draft with standard character set
1 12 cpi Fast Font with standard character set
2 SANS SERIF with standard character set
3 ROMAN with standard character set
4 Draft with DRAFT DLL character set
5 Fast Font with DRAFT DLL character set
6 SANS SERIF with DRAFT DLL character set
7 ROMAN with NLQ character set
C-14
Appendix C IBM ProPrinter X24 and IBM ProPrinter II Com m ands
ESC S n
Superscript/Subscript Hexadecimal code: 1B 53 n
Sets the printing of small characters in the current pitch. It is obtained by a single printing pass.
Superscript is printed using the top five needles of the print head and subscript with the bottom five
needles of the normal character matrix. Both settings are canceled by ESC T.
n = 0 (0 or 48)D: superscript
n = 1 (1 or 49)D: subscript
ESC T
Cancel Superscript/Subscript Hexadecimal code: 1B 54
ESC U n
Uni/Bidirectional Printing Hexadecimal code: 1B 55 n
n = 0 (0 o 48)D : bidirectional
n = 1 (1 o 49)D : unidirectional
ESC W n
Double Width (continued) Hexadecimal code: 1B 57 n
n = 1 (1 or 49)D: sets
n = 0 (0 or 48)D: cancels
C-15
Appendix C IBM ProPrinter X24 and IBM ProPrinter II C om m ands
ESC - n
Underline Hexadecimal code: 1B 2D n
Activate/deactivate underline. n
= 1 (1 or 49)D: activate
n = 0 (0 or 48)D: deactivate
ESC _ n
Activate/deactivate overline.
The overline is obtained using the first needle (with characters that use the first needle, part of
the overline merges with the "crest" of the characters).
n = 1 (1 or 49)D: activate
n = 0 (0 or 48)D: deactivate
SO
Prints each character doubling the preset width and, as a result, the number of characters per inch
is divided by two.
The BS command will move the print head back by a double space.
Valid for one line only. Canceled by DC4, CR, LF, FF, VT, ESC W NU, ESC J, ESC [ @ ..
and CAN.
C-16
Appendix C IBM ProPrinter X24 and IBM ProPrinter II Com m ands
ESC [ @ n1 n2 m1 m2 m3 m4
Sets double height and / or double width for the characters printed, with or without changing
the line feed.
Parameters n1 and n2 indicate the number of bytes that follow and have the following fixed
values: (4)D and (0)D respectively.
These two parameters are followed by four bytes (from m1 to m4) which have the following
values:
Parameters m1 and m2 have a fixed value: (0)D.
Parameter m3 defines the height of the characters and the line feed according to the decimal values
in the table below:
m3 Line feed and height of characters
0 No change with respect to the current settings
1 Unchanged line feed, normal height
2 Unchanged line feed, double height
16 Single line feed, unchanged height
17 Single line feed, normal height
18 Single line feed, double height
32 Double line feed, unchanged height
33 Double line feed, normal height
34 Double line feed, double height
The top half of the byte indicates the line feed (unchanged, single or double); the bottom half of
the byte indicates the height of the characters.
Parameter m4 defines the width of the characters according to the decimal values in the table
below:
m4 Width of characters
0 Unchanged width
1 Normal width
2 Double width
The top half of the byte is ignored, while the values of the bottom half of the byte are significant.
C-17
Appendix C IBM ProPrinter X24 and IBM ProPrinter II C om m ands
ESC [ A n1 n2 m1 m2 m3 m4
Sets Triple height and/or double width for the characters printed, with or without changing the
line feed.
Parameters n1 and n2 indicate the number of bytes that follow and have the following fixed
values: (4)D and (0)D respectively.
These two parameters are followed by four bytes (from m1 to m4) which have the following
values:
Parameters m1 and m2 have a fixed value: (0)D.
Parameter m3 defines the height of the characters and the line feed according to the decimal
values in the table below:
The top half of the byte indicates the line feed (unchanged, single, double, or triple); the bottom
half of the byte indicates the height of the characters.
Parameter m4 defines the width of the characters according to the decimal values in the table
below:
m4 Width of characters
0 Unchanged width
1 Normal width
2 Double width
3 Triple width
The top half of the byte is ignored, while the values of the bottom half of the byte are significant.
C-18
Appendix C IBM ProPrinter X24 and IBM ProPrinter II Com m ands
C.2.6 Tabulation
S ESC B ... : Vertical tabulation program
S ESC D ... : Horizontal tabulation program
S ESC d ... : Relative Forward Horizontal Movement
S ESC R : Cancel tabulation stops
n = 1 - 254
k = 1 - 64
The values of parameters n indicate the lines on which the tabulation stops will be positioned
(the top of form is 1). The line feed applied is the current one.
At power-on, there are no vertical tabulation stops. The sequence ESC B NUL, and the command
ESC R, clear all vertical tabulation stops.
When a vertical tabulation program is executed, all the current vertical tabulation stops are cleared.
If there is no vertical tabulation program, the command VT executes a single line feed.
n = 1 - 255
k = 1 - 28
The values of the parameters n indicate the columns in which the tabulation stops will be positioned
(the left edge is column 1). The print pitch applied is the current one. At power- on, the default
setting is one tab stop every 8 characters, starting from column 9.
C-19
Appendix C IBM ProPrinter X24 and IBM ProPrinter II C om m ands
ESC d n1 n2
where n1 = 00 - FF
n2 = 00 - FF
Moves the current horizontal position to the right at a distance specified in the n1 and n2
parameters.
The distance is specified in dot units using 1/120 inch as horizontal resolution.
Spaces produced by this command are affected by underscore, overscore, and strikethrough.
If it goes beyond the right margin, current horizontal position is set to the right margin.
ESC R
Deletes all the horizontal tabulation stops set by ESC D .. and all vertical tabulation stops set by ESC
B ...
For the horizontal tabulation stops, the default condition is restored: one
stop every 8 characters.
C-20
Appendix C IBM ProPrinter X24 and IBM ProPrinter II Com m ands
C.2.7 Graphics
The printer can operate in Bit Image Mode (bit map printing), to create illustrations and
diagrams. In this way, the image is created by printing each byte received as a vertical line of 8
dots. A dot is printed for each bit set to "1" in the byte sent.
The least significant bit corresponds to the lowest dot on the line, while the most significant bit
corresponds to the highest dot.
The graphic print commands only apply to one print line. The line end command CR/LF is only
recognized when the printer leaves graphic printing to return to alphanumeric printing. As a result,
the number of bytes that can follow a command for graphics is limited by the maximum capacity
of a print line (and the graphic resolution). The data that exceeds the capacity of the line buffer is
ignored.
The graphic commands must therefore be repeated for each print line, if you want to print an
image consisting of several lines.
One line can contain both alphanumeric and graphical characters. To calculate the space that the
alphanumeric characters occupy inside the graphics, a table is provided later on.
C-21
Appendix C IBM ProPrinter X24 and IBM ProPrinter II C om m ands
In other words: n1 is the remainder of the division of which the quotient is n2.
Example: To print a full line of graphic data in double resolution with an 80-column
printer, 960 bytes must be sent after the command ESC L.
ESC K n1 n2
Sets normal resolution graphics (60 dots per inch) for a data string the length of which is defined by
parameters n1 and n2.
ESC L n1 n2
Sets double resolution graphics (120 dots per inch), at half speed, for a data string the length
of which is defined by parameters n1 and n2.
C-22
Appendix C IBM ProPrinter X24 and IBM ProPrinter II Com m ands
ESC Y n1 n2 ...
Sets double resolution graphics (120 dots per inch), at normal speed, for a data string the length of
which is defined by parameters n1 and n2.
The capacity of the line is 960 (1632) data items, but the
adjacent horizontal dots cannot be printed.
ESC Z n1 n2
Sets quadruple resolution graphics (240 dots per inch), at half speed with respect to
ESC K n1 n2, for a data string the length of which is defined by parameters n1 and n2.
The capacity of the line is 1920 (3264) data items, but the
horizontal adjacent dots cannot be printed.
ESC [ g n1 n2 m ...
Parameters n1 and n2 give the amount of graphic data plus 1 (calculation as for other BIM
commands).
Parameter m defines the type of graphic print resolution according to the following table:
In high resolution graphics mode (24-needles), each vertical string of dots is controlled by three
bytes.
Note: If parameter m has the value 2, 3 or 12, the second of horizontally adjacent dots will
not be printed.
C-23
Appendix C IBM ProPrinter X24 and IBM ProPrinter II C om m ands
When the Alternate Graphics Mode feature is selected during the SETUP (AGM : YES), the values
of command codes ESC 3, ESC J, and ESC A are altered with respect to their standard functions,
and the command code ESC * is activated.
If the parameter AGM : NO has been selected in the SETUP ,it sets the n/216" (0,1176 x
n mm) line feed;
If the parameter AGM : YES has been selected in the SETUP ,it sets the n/180" (0,141 x n
mm) line feed.
This is the line feed recommended for graphic printing (BIM). If programmed to 24/216", it ensures
that the various lines in 8-needle graphic printing meet perfectly.
It remains valid until a new line feed command is received.
To obtain precise line feeds, always use multiples of 3 for parameter n.
If the parameter AGM : NO has been selected in the SETUP ,it sets the n/72" (0,3528 x n mm) line
feed; If the parameter AGM : YES has been selected in the SETUP ,it sets the n/60" (0,432 x n mm)
line feed.
It will only be executed when the command ESC 2 is received. Until then, the current line feed
remains valid.
C-24
Appendix C IBM ProPrinter X24 and IBM ProPrinter II Com m ands
Prints the buffer and feeds the paper line feed.If the parameter AGM : NO has been selected in
the SETUP , the paper line feed by n/216"; If the parameter AGM : YES has been selected in the
SETUP , the paper line feed by n/180".
It also executes a carriage return, if the parameter LF + CR : YES has been selected in the SETUP.
The value of n must be a multiple of 3 (minimum line feed). In 8-needle graphic printing, the
value 24/216" ensures that the lines meet perfectly.
Allows the selection of 8 or 24-needle graphic mode when AGM: YES has been selected during
SETUP.
Parameter m defines the type of graphic printing resolution according to the following table:
m Horizontal Resolution Needles used Notes
0 60 8 same as ESC K
1 120 8 same as ESC L
2 120 8 same as ESC Y
3 240 8 same as ESC Z
4 80 8 CRT I
6 90 8 CRT II
32 60 24 ESC K, high resolution
33 120 24 ESC L, high resolution
38 90 24 CRT III
39 180 24 Triple density high resolution
40 360 24 Sextuple density high resolution
Parameters n1 and n2 give the amount of graphic data plus 1 (calculations as for other BIM
commands).
Normal and high resolution graphics modes (8 and 24 needles respectively) have the same
corresponding bit/needle relationships as those described for the standard graphics mode (see
previous section).
The vertical dot density is 1/180 in.
Example: box 8x8 dots with center point 2x2 dots,standard density, 8 dots / column hex: 1B
2A 00 08 00 FF 81 81 99 99 81 81 FF
C-25
Appendix C IBM ProPrinter X24 and IBM ProPrinter II C om m ands
Each time you can only load characters in ascending code order. If you want to load characters
with non-consecutive codes, you must execute the command repeatedly (for each group of
characters with consecutive codes).
The area occupied by the characters is 9 dots high and 12 wide (the 12th dot is always a space).
The matrix for constructing the characters has 11 columns with 8 dots per column. Eleven bytes
(one per column) define the shape of the character. One dot is printed for each bit set to "1" (as in
BIM graphics).
Using the DLL command, you can also create graphic symbols and shaded characters. The graphic
symbols are automatically expanded from 8 to 12 dots high (by means of the character attribute)
during printing. But be careful: the algorithm for creating the NLQ font style and the bold face
may not work properly in these cases.
The table of the new characters will be loaded in the printer's RAM. Remember that the content of
the RAM is cleared when you switch off the printer, so the DLL characters are also lost. If you want
to reuse your DLL characters, you must reload them whenever you power on.
The DLL characters, to be printed, must be preselected using the command ESC I n . Consult the
following command:
ESC = n1 n2 ID m
Enables customized characters to be created and loads them into the printer's RAM.
Parameters n1 and n2 indicate the number of characters to be created and loaded with the
current code sequence.
The ID is a fixed value code which must be: (20)D for a Draft Font and (21)D for a ROMAN Font.
(For further information about NLQ DLL characters, see the relevant section of this chapter).
Parameter m indicates the decimal code of the first of the standard characters to be replaced with
customized characters. The customized characters that follow the first are automatically assigned
the following decimal codes.
C-26
Appendix C IBM ProPrinter X24 and IBM ProPrinter II Com m ands
The other parameters define the attributes of the new character and the arrangement of the
dots in the character matrix. They must be repeated for each DLL character.
The sequence ESC = NUL NUL (or print power-off) clears all DLL characters from the printer's
memory and restores the standard character set.
C-27
Appendix C IBM ProPrinter X24 and IBM ProPrinter II C om m ands
S Parameters n1 and n2
These two parameters indicate the total number of bytes that will follow in the sequence.
They are calculated as follows:
n2 = whole number of (t divided by 256)
n1 = remainder of (t divided by 256)
where t = (number_of_characters x 13) + 2
Example:
To redefine characters "A" to "E" (five characters), proceed as follows: t =
(number_of_characters x 13) + 2 = (5 x 13) +2 = 65 + 2 = 67
n1 = whole number of (t / 256) = whole number of (67 / 256) = 0
n2 = remainder of (t / 256) = remainder of (67 / 256) = 67
05-22 Customized Characters
S Parameter m
This parameter indicates the decimal code of the first of the standard characters to be replaced
with DLL characters.
Example (continued):
To redefine characters "A" to "E" (from 65 to 69)D:
m = A = 65
S Parameters a and b
define the attributes that may be assigned to the new characters. They
must be specified for each of the characters.
S Parameter a indicates whether the character is ascending or descending and
whether the character is expanded or not (if it is expanded, it indicates how). The
values of the bits of parameter a select the following features:
If bits 0 and 1 are set to 1 and 0 respectively, the character is expanded to 12 dots; the
lines from 9 to 12 will repeat the dots on line 8. These characters can be selected in NLQ.
If bits 0 and 1 are set to 0 and 1 respectively, the character is expanded to 12 dots;
the lines from 9 to 12 will repeat the dots of the base of the character of lines 1-4
(for shaded characters as characters with code 176-178). These characters cannot be
selected in NLQ.
If both bits 0 and 1 are set to 1 (error), the printer will automatically correct these values to 0,
0 (normal character).
C-28
Appendix C IBM ProPrinter X24 and IBM ProPrinter II Com m ands
If the character has FIXED spacing, all the bits must be set to ZERO. If a character
created with fixed spacing is printed in proportional spacing, it will occupy all 11
columns of the character matrix. Irrespective of the printing mode selected, a twelfth
column will always be added to space out the characters.
S Parameters p1 .. p11
These 11 bytes determine the dots in the columns for forming the character. As in BIM
graphic printing, each bit in the various bytes corresponds to a needle of the print head, and
a dot will be printed for each bit set to 1.
C-29
Appendix C IBM ProPrinter X24 and IBM ProPrinter II C om m ands
The customized character (up arrow) is loaded into the printer's memory by the following
escape sequence:
(27)D; (61)D; (15)D; (0)D; (20)D; (64)D; (128)D; (0)D; (32)D; (0)D; (64)D; (0)D; (255)D; (0)D;
(64)D; (0)D; (32)D; (0)D; (0)D .
S DLL in NLQ
DLL characters can also be defined in NLQ SANS SERIF font. The method for creating them
differs from the Draft DLL character creation method on the following points:
1. The ID byte must be (21)D.
2. Each character requires 48 bytes for its definition (2 bytes for the attributes and 46 for
the shape).
3. The matrix of an NLQ DLL character is printed in two passes (23 columns per pass).
The order of the bytes for defining a character is therefore as follows: byte 1 :
Attribute a
byte 2 : Attribute b
byte 3 : 1st column of 1st pass; byte 4 : 1st column of 2nd pass; byte 5 : 2nd column of
1st pass; byte 6 : 2nd column of 2nd pass
.. byte 47 : 23rd column of 1st pass; byte 48 : 23rd column of 2nd pass.
4. For shaded and expanded characters, attribute a has the same meaning as for Draft DLL.
But for shaded characters, lines 1, 3, 5 and 7 are copied on the lines at the bottom 17,
19, 21 and 23. For expanded characters (semigraphic), line 15 is copied on lines 17, 19,
21 and 23 and line 16 is copied onto lines 18, 20, 22, and 24.
5. All the bits of the attribute "b" byte will be set to zero, because proportional
spacing is not possible for the ROMAN font.
Note: Horizontal adjacent dots cannot normally be printed; they can be in bold face
printing.
If you define consecutive dots, place them in the odd positions of the matrix (3, 5, 7 ..)
to obtain characters that can also be printed correctly when printing from right to left.
C-30
Appendix C IBM ProPrinter X24 and IBM ProPrinter II Com m ands
CAN
Clears the contents of the print buffer; all the data is lost. The
current printing position remains unchanged.
DC1
Activate Printer-System Connection Hexadecimal code: 11
DC3
Deactivate Printer-System Connection Hexadecimal code: 13
The printer sends this command via the serial interface to indicate that the buffer is full.
With a parallel interface, it is considered a NUL.
ESC 5 n
Automatic Line Feed after CR Hexadecimal code: 1B 35 n
Sets/cancels the execution of an automatic line feed when a CR is received. It takes priority over
the setting made in the SET-UP.
C-31
Appendix C IBM ProPrinter X24 and IBM ProPrinter II C om m ands
ESC 6
Table 2 of Character Set Hexadecimal code: 1B 36
Selects table 2 of the character set with the complete set of national characters (default setting).
ESC 7
Table 1 of Character Set Hexadecimal code: 1B 37
Selects table 1 of the character set (see the Command Interpreter and Character Sets section),
which repeats the control codes in the code positions 128-159.
ESC \ n1 n2
This command tells the printer to ignore the function of the commands for the codes between 0
and 32 (and, with table 1 selected, also between 128 and 159) and to print the substitute symbols
present in these positions.
Parameters n1 and n2 indicate the number of characters to be printed in this way. They are
calculated as follows:
Having printed the number of symbols determined by parameters n1 and n2, the printer resumes
normal operation using the preselected character set (table 1 or 2). The function of control codes
0-32 (and 128-158) is restored and the function of this command ceases.
ESC ^
Print a Character from Table 3 Hexadecimal code: 1B 5E
Has the same function as the command ESC \ .., but only enables one character to be printed, the
one that follows the command.
C-32
Appendix C IBM ProPrinter X24 and IBM ProPrinter II Com m ands
ESC BEL E n
Change Emulation Hexadecimal code: 1B 07 45 n
With n=08 (Hex), change to Olivetti emulation (PR2 or PR40+) previously set in setup. With n=09
(Hex), change to OKI emulation.
With n=0A (Hex), change to LQ emulation.
ESC Q ETX
Sets the printer off-line (in LOCAL mode), until the DC1, which restores the connection, is received.
The third element in the sequence ETX identifies the model of printer connected (80-column
printer).
C-33
Appendix C IBM ProPrinter X24 and IBM ProPrinter II C om m ands
0 1 2 3 4 5 6 7 8 9 A B C D E F
C-34
Appendix D EPSON LQ-Emulation Commands
Characters used in control functions appear in monospaced type. The table below explains some
of the conventions used.
Spaces appear between characters in sequence for clarity; they are not part of the format.
At the begin of this chapter you will find a listing of the LQ Emulation commands classified by Hex
Code and at the end a Hex - Decimal conversion table.
Conventions:
* Indicates multiplied by
D-1
Appendix D EPSON LQ-Emulation C omm ands
BEL 07 Beep
BS 08 Backspace
HT 09 Horizontal Tabulation
LF 0A Line feed
VT 0B Vertical Tabulation
FF 0C Form feed for fanfold paper or eject paper
for cut sheet
CR 0D Carriage return
SO 0E Set double width (one line).
SI 0F Set condensed printing in western mode
DLE B 10 42 Soft reset
DC1 11 On line (Ignored)
DC2 12 Cancel condensed printing for ASCII
DC3 13 Off line (Ignored)
DC4 14 Reset double width for current line.
CAN 18 Cancel line buffer
ESC BEL n 1B 07 n Change current emulation
ESC SO 1B 0E Set double width (one line)
ESC SI 1B 0F Set condensed printing for ASCII
ESC EM n 1B 19 n Control paper loading/ejecting (Ignored)
ESC SP n 1B 20 n Adds extra space between each character
ESC ! n 1B 21 n Master select
ESC $ n1 n2 1B 24 n1 n2 Set absolute horizontal print position
ESC % n 1B 25 n Select user-defined set (invalid on PR)
ESC & 1B 26 Define user-defined characters (Ignored)
ESC ( - nL nH m d1 1B 28 2D nL nH m Set/reset underline
d2...d(nH*256+nL-2) d1 d2...d
d(nH*256+nL-1) (nH*256+nL-2)
d(nH*256+nL-1)
ESC ( C nL nH mL 1B 28 43 nL nH mL Set page length in defined unit
mH d1 mH d1
d2...d(nH*256+nL-3) d2...d(nH*256+nL-3)
d(nH*256+nL-2) d(nH*256+nL-2)
D-2
Appendix D E PSON LQ-Emulation C omm ands
D-3
Appendix D EPSON LQ-Emulation C omm ands
D-4
Appendix D E PSON LQ-Emulation C omm ands
ESC c n1 n2 1B 63 n1 n2 Ignored
ESC g 1B 67 Select 15-cpi for ASCII
ESC j n 1B 6A n Reverse paper feed
ESC k n 1B 6B n Select typeface
ESC l n 1B 6C n Set left margin
ESC p n 1B 70 n Turn proportional mode on/off
ESC q n 1B 71 n Select character style (Ignored)
ESC t n 1B 74 n Set/reset italic font
ESC w n 1B 77 n Set/reset double height
ESC x n 1B 78 n Set printing quality
FS SO 1C 0E Set double width in Chinese character (one
line)
FS SI 1C 0F Set Half-corner code for Chinese character
FS DC2 1C 12 Reset Chinese DBC Chinese character
FS DC4 1C 14 Reset double width in Chinese character on
one line
FS ! n 1C 21 n Set Chinese character attributes
FS & 1C 26 Set Chinese mode
FS - n 1C 2D n Set/reset underline in Chinese mode
FS . 1C 2E Set western mode
FS 2 … 1C 32 n1 n2 d1 ... Load user defined characters
d72
FS D 1C 44 Set two half-corner characters into one
FS J 1C 4A Set clockwise 90°rotation printing for
Chinese character
FS K 1C 4B Cancel clockwise 90°rotation printing for
Chinese character
FS S n1 n2 1C 53 n1 n2 Set character space for Chinese character
( (n1*256 + n2)/180 inch)
FS T n1 n2 1C 54 n1 n2 Set character space for half-corner Chinese
character ( (n1*256 + n2)/180 inch)
FS U 1C 55 Set the width of half-corner Chinese
character to half of that for full-corner
Chinese character
FS V 1C 56 Set the width of half-corner Chinese
character equal to that for Western
characters
FS W n 1C 57 n Set/reset double-width and double-height
Chinese character
FS Y n1 n2 n3 1C 59 n1 n2 n3 Ignored
D-5
Appendix D EPSON LQ-Emulation C omm ands
FS b n 1C 62 n Ignored
FS c n1 n2 1C 63 n1 n2 Ignored
FS k n 1C 6B n Ignored
FS r n 1C 72 n Set/reset super/subscript of Chinese
character
FS v n 1C 76 n Set/reset tab lines (Ignored)
FS x n 1C 78 n Set Chinese character print quality
DEL 7F Delete a character
D-6
Appendix D E PSON LQ-Emulation C omm ands
S Basic Operations
S Margins
S Line Feed
S Print Position
S Print Pitches
S Print Attributes
S Tabulation
S Graphics
S Other Functions
S Ignored Commands
S Chinese Mode
S BEL: Beep
S BS : Backspace
S CR : Carriage return
S FF : Form feed
BEL Beep
This command causes the buzzer to sound one time. Hex:
(07)H
Decimal: (07)D
Octal: (07O
BS Backspace
This command causes the horizontal print position to move left one character space (according to
the active character pitch and character space).
Hex: (08)H
Decimal: (08)D
Octal: (10)O
Note: If movement is beyond the left margin, it will position on the left margin.)
D-7
Appendix D EPSON LQ-Emulation C omm ands
CR Carriage Return
This command causes the current line buffer to print and position the Print head to the left margin.
Hex: (0D)H
Decimal: (13)D
Octal: (15)O
Hex: (0C)H
Decimal: (12)D
Octal: (14)O
D-8
Appendix D E PSON LQ-Emulation C omm ands
D.2.2 Margins
S ESC ( C ... : Set page length
S ESC C NUL n : Set page length in inches
S ESC C n: Set page length as n lines
S ESC l n : Set Left Margin
S ESC N n : Bottom of form
S ESC O : Cancel bottom margin
S ESC Q n : Set Right Margin as n Characters
S ESC ( U ... : Set vertical resolution
S (nH * 256 + nL) defines the number of following bytes in this command.
S Command ESC ( C 0x02 0x00 mL mH defines the page length as (mH * 256 + mL) *
vertical resolution.
The vertical resolution is set by command ESC ( U nL nH m. The default is 1/360"
S Others, ignores this command (all bytes of this command are ignored).
D-9
Appendix D EPSON LQ-Emulation C omm ands
(1B 5C n)H
Decimal: (27 108 n)D
Octal: (33 154 n)O
(1B 30)H
Decimal: (27 48)D
Octal: (33 60)O
Hex: (1B-33-n)H
Decimal: (27-51-n)D
Octal: (33-63-n)O
D-11
Appendix D EPSON LQ-Emulation C omm ands
This command prints data in the buffer, then reverse feed paper n / 180 inch, the value of n is in
01H - FFH (1D - 5D).
LF Line feed
This command prints the current line buffer and move the current vertical position to the next
printing line (using the existing line pitch).
Hex: (0A)H
Decimal: (10)D
Octal: (12)O
D-12
Appendix D E PSON LQ-Emulation C omm ands
The command ESC ( V 0x02 0x00 mL mH, move the print position to:
(mH * 256 + mL) * vertical resolution.
(1B-24-n1-n2)H
Decimal: (27-36-n1-n2)D
Octal: (33-44-n1-n2)O
Set absolute print position as (n2 * 256 + n1)/60 inch or (n2 * 256 + n1) (horizontal
unit/3600) according to PNS setting in menu.
D-13
Appendix D EPSON LQ-Emulation C omm ands
The defined unit will be different according to print quality and PNS item in menu: Draft:
move (n2 * 256 + n1)/120 inch from the current position
LQ: move (n2 * 256 + n1)/180 inch(ESC/P) or (n2 * 256 + n1) (horizontal unit/3600) inch
(ESC/P 2) from the current position.
Note: If this command is received consecutively , the consecutive (n2 * 256 + n1) will be
accumulated and set the low 15 bits as valid movement parameter.
D-14
Appendix D E PSON LQ-Emulation C omm ands
(12)H
Decimal: (18)D
Octal: (22)O
Hex: (1B-50)H
Decimal: (27-80)D
Octal: (33-120)O
(1B 0F)H
Decimal: (27 15)D
Octal: (33 17)O
D-15
Appendix D EPSON LQ-Emulation C omm ands
Hex: (1B-67)H
Decimal: (27-103)D
Octal: (33-147)O
This command causes to print western character as condensed (60% width). Hex:
(0F)H
Decimal: (15)D
Octal: (17)O
D-16
Appendix D E PSON LQ-Emulation C omm ands
Hex: (14)H
Decimal: (20)D
Octal: (24)O
D-17
Appendix D EPSON LQ-Emulation C omm ands
n = ‘A’: Reset double height and width in Chinese character, reset double height and
width in western character.
n = ‘B’: Set double height in Chinese character, set double width in Chinese and
western character.
n = ‘C’: Reset double width in Chinese and western character, set double height in
Chinese character.
n = ‘D’: Set double height and width in Chinese character, set double width in
western character.
D-18
Appendix D E PSON LQ-Emulation C omm ands
(1B 54)H
Decimal: (27 84)D
Octal: (33 124)O
D-19
Appendix D EPSON LQ-Emulation C omm ands
D-20
Appendix D E PSON LQ-Emulation C omm ands
(1B 78 n)H
Decimal: (27 120 n)D
Octal: (33 170 n)O
n = 0: print in draft
n = 1: print in NLQ
(1B 2C n)H
Decimal: (27 44 n)D
Octal: (33 54 n)O
D-21
Appendix D EPSON LQ-Emulation C omm ands
Bit of n 0 1
(1B 35)H
Decimal: (27 53)D
Octal: (33 65)O
D-22
Appendix D E PSON LQ-Emulation C omm ands
Set underline
(nH * 256 + nL) defines the number of following data in this command.
ESC ( - 0x03 0x00 0x01 0x01 d2 (d2 not 0) set underline in western mode
ESC ( - 0x03 0x00 0x01 d1 0x00 (d1 not 0) reset underline in western mode
Else, ignore this command (including ( nH * 256 + nL) bytes behind nH).
SO Set double-width
printing
This command causes to print the printable character behind it as horizontally enlarged (double
width). This command is only valid for one line.
Hex: (0E)H
Decimal: (14)D
Octal: (16)O
D-23
Appendix D EPSON LQ-Emulation C omm ands
D.2.7 Tabulation
S ESC B ... : Set vertical tab stops of tab set
S ESC D ... : Set horizontal tab stops
S ESC b ... : Set vertical tab stops in tab set
S ESC / n : Select the current vertical tab set
S HT : Horizontal tabulation
S VT : Vertical tabulation
A maximum of 16 vertical tab stops can be set for each tab set. Hex:
(1B 42)H
Decimal: (27 66)D
Octal: (33 102)O
(1B 44)H
Decimal: (27 68)D
Octal: (33 104)O
n = 0 up to 7
D-24
Appendix D E PSON LQ-Emulation C omm ands
A maximum of 16 vertical tab stops can be set in each tab set Hex:
(1B 61 n m1 … mk 00)H
Decimal: (27 97 n m1 … mk 00)D
Octal: (33 141 n m1 … mk 00)O
HT Horizontal Tabulation
This command moves the horizontal position to the right to the next horizontal tab stop.
If there is no tab stop between the current position and the right margin, this command will be
ignored or executed as a CR + LF according to menu setup.
Hex: (09)H
Decimal: (09)D
Octal: (11)O
VT Vertical Tabulation
This command causes the current position to move down to the next vertical tab stop. If
there is no tab stop beyond the current position, the printer executes this command as CR +
LF.
Hex: (0B)H
Decimal: (11)D
Octal: (13)O
D-25
Appendix D EPSON LQ-Emulation C omm ands
D.2.8 Graphics
S ESC K n1 n2 ... : Normal resolution graphic printing mode
S ESC L n1 n2 ... : Double resolution graphic printing mode
S ESC Y n1 n2 ... : Double resolution graphic printing mode
S ESC Z n1 n2 .. : Quadruple resolution graphic printing mode
S ESC * m n1 n2 ... : Set AGM print mode
Set graphic print mode to normal resolution. Prints bit image graphics in 8-dot columns, at 60 DPI
(n1 + * 256) specify the total number of columns of graphics data following,
Note: The CHARACTER DEFINITION must be set to LQ.
Set graphic print mode to double resolution. Prints bit image graphics in 8-dot columns, at 120
DPI.
(n1 + n2 * 256) specify the total number of columns of graphics data following,
Prints bit image graphics in 8-dot columns, 120 DPI at normal speed (consecutive
horizontal dots cannot be printed)
(n1 + n2 * 256) specify the total number of columns of graphics data following. A
maximum of 960 (1632) columns on one line.
D-26
Appendix D E PSON LQ-Emulation C omm ands
Set quadruple resolution. Prints bit image graphics in 8-dot columns, 240 DPI. Hex:
(1B 5A n1 n2 ..)H
Decimal: (27 90 n1 n2 ..)D
Octal: (33 132 n1 n2 ..)O
(n1 + n2 * 256) specify the total number of columns of graphics data following. A
(1B 2A m n1 n2 …data…)H
Decimal: (27 42 m n1 n2 …data…)D
Octal: (33 52 m n1 n2 …data…)O
(n1 + n2 * 256) defines the total columns of graphic data in this command; (1
byte/column for 8 needles mode, 3 bytes/column for 24 needles mode).
D-27
Appendix D EPSON LQ-Emulation C omm ands
Hex: (18)H
Decimal: (24)D
Octal: (30)O
Hex: (1B-07-n)H
Decimal: (27-07-n)D
Octal: (33-07-n)O
D-28
Appendix D E PSON LQ-Emulation C omm ands
(1B-52-n)H
Decimal: (27-82-n)D
Octal: (33-122-n)O
Hex: (1B-40)H
Decimal: (27-64)D
Octal: (33-100)O
This command clears buffer and initializes printer, it sets all the parameters to the power- on
default conditions.
D-29
Appendix D EPSON LQ-Emulation C omm ands
Note: Ignored means the command is treated as NOP, that means, according to defined command
format all bytes of this command are discarded.
DC1 On line
Hex: (11)H
Decimal: (17)D
Octal: (21)O
D-30
Appendix D E PSON LQ-Emulation C omm ands
ESC X n1 n2 n3
ESC c n1 n2
D-33
Appendix D EPSON LQ-Emulation C omm ands
In rotation printing of Chinese mode, this command causes the following two ASCII codes to be
printed in combined mode, these two codes will be on one character’s position
(the first ASCII is on the left and the second on the right)
Note: This command is valid only for the following two ASCII characters.
(1C 12)H
Decimal: (28 18)D
Octal: (34 22)O
D-34
Appendix D E PSON LQ-Emulation C omm ands
(1C 14)H
Decimal: (28 20)D
Octal: (34 24)O
(1C 4B)H
Decimal: (28 75)D
Octal: (34 113)O
(1C 53 n1 n2)H
Decimal: (28 83 n1 n2)D
Octal: (34 123 n1 n2)O
D-35
Appendix D EPSON LQ-Emulation C omm ands
(1C 54 n1 n2)H
Decimal: (28 84 n1 n2)D
Octal: (34 124 n1 n2)O
D-36
Appendix D E PSON LQ-Emulation C omm ands
(1C 57 n)H
Decimal: (28 87 n)D
Octal: (34 127 n)O
FS Y n1 n2 n3
FS b n
Hex: (1C 62 n)H
Decimal: (28 98 n)D
Octal: (34 142 n)O
FS c n1 n2
FS k n
Hex: (1C 6B n)H
Decimal: (28 107 n)D
Octal: (34 153 n)O
D-37
Appendix D EPSON LQ-Emulation C omm ands
(1C 72 n)H
Decimal: (28 114 n)D
Octal: (34 162 n)O
(1C 2C n)H
Decimal: (28 44 n)D
Octal: (34 54 n)O
(1C 76 n)H
Decimal: (28 118 n)D
Octal: (34 166 n)O
D-38
Appendix D E PSON LQ-Emulation C omm ands
Bit of n 0 1
1 reset half angle Chinese character set half angle Chinese character
0 reset rotation to the left printing set rotation to the left printing
(1C 26)H
Decimal: (28 38)D
Octal: (34 46)O
D-39
Appendix D EPSON LQ-Emulation C omm ands
This command downloads the dot matrix and codes of a user defined character(double byte
character) into printer’s RAM, the dot matrix is 24x24, that is 72bytes for dot matrix .
D-40
Appendix D E PSON LQ-Emulation C omm ands
0 1 2 3 4 5 6 7 8 9 A B C D E F
D-41
Appendix E OLIVETTI Emulation Commands
Characters used in control functions appear in monospaced type. The table below explains some
of the conventions used.
Spaces appear between characters in sequence for clarity; they are not part of the format. At the
end of this chapter you will find a Hex - Decimal conversion table.
Conventions:
E-1
Appendix E O LIVETTI Emulation C om m ands
E-2
Appendix E OLIVETTI Emulation Com m ands
E-3
Appendix E O LIVETTI Emulation C om m ands
LF 0A Line feed
FF 0C Form feed
CR 0D Carriage return
HT 09 Set Horizontal table
BEL 07 Beep
DEL 7F Clear print buffer
E-4
Appendix E OLIVETTI Emulation Com m ands
E-5
Appendix E O LIVETTI Emulation C om m ands
E-6
Appendix E OLIVETTI Emulation Com m ands
0 1 2 3 4 5 6 7 8 9 A B C D E F
E-7