Siemens 9015 E, 9016, 9015, 9014 User Manual

9014, 9015, 9015 E, 9016 Printer
Epson and IBM Proprinter Emulation Programmer Reference Guide
Edition: September 1999
Copyright and Trademarks
Copyright © Siemens AG 1999. All rights reserved.

Preface

This manual describes the IBM® Proprinter® emulation as well as the Epson® LQ-2550 and ESC/P2 emulation.

Brief description of the printer

The 9014, 9015,9015 E and 9016 printers are extremely fast 24 needle printers that emphasize convenient handling of paper and high performance.
The modern printer concept enables them to be used with Siemens data systems as workstation printers and for large print volumes.
The effective printing rate depends on various parameterizable functions such as, for example, form feed, sheet insertion and ejection, print modes etc.
Most printer functions can also be selected at the printer control panel. Function selection is menu-controlled.
Programmer Reference Guide U26169-J-Z716-1-7600
Preface

9014 Needle Printer

The 9014 printer is equipped with continuous forms tractor and manual single sheet insertion.
For automatic sheet feeding, the printer can be equipped with up to three ASF (Automatic Sheet Feeder) cassettes.
Different types of paper handling are available with the 9014 printer:
single sheet (manual) – continuous forms (tractor) – single sheet (automatic) – envelope (automatic)
Programmer Reference Guide U26169-J-Z716-1-7600
Preface

9015 Needle Printer

Convenient handling of paper is available with the 9015 printer:
Using tractor cassettes, two continuous forms stacks can be inserted in a comfor­table way.
A parking position for continuous forms handling is available. There is no loss of sheets when you tear off continous forms (Zero-Tear-Off-Funk-
tion). The printer offers a cut-off feature.
Programmer Reference Guide U26169-J-Z716-1-7600
Preface

9015 E Needle Printer

The 9015 E needle printer offers the same attributes as the 9015 printer except from the cut-off feature. Additionally, the 9015 E printer can optionally be equipped with a manual single sheet insertion.
Programmer Reference Guide U26169-J-Z716-1-7600
Preface

9016 Needle Printer

The fast high performance 9016 needle printer offers the handling of continouos forms (tractor) and, optionally, of single sheets (manual insertion).
Programmer Reference Guide U26169-J-Z716-1-7600
Target group Preface

Target group

The contents of this manual is intended for users who want to program printer output. Familiarity with printer programming is required.

Summary of contents

This manual describes the control characters of the following Epson and IBM Proprinter emulations of the 9014 / 9015 / 9015 E and 9016 printer:
Dieses Handbuch beschreibt die Steuerzeichen der folgenden Epson- und IBM-Proprinter­Emulationen der Drucker 9014 / 9015 / 9015 E / 9016:
Epson LQ-2550 / 1060 and ESC/P2
IBM Proprinter emulations (IBM printers 4207, 4208 (XL24) )
The ECMA emulation is described in further Programmer’s Reference Guides (see [1], [4]). References in the text consist of numbers enclosed in square brackets. The full titles of the referenced publications and manuals are given in the References
chapter.
Programmer Reference Guide U26169-J-Z716-1-7600
Notational conventions Preface

Notational conventions

In this manual, the following conventions have been used:
Italics Names of files, programs, commands, variables, options and
screen texts such as input fields, text fields, menus etc. in plain text
Monospace System output such as error messages, other messages, notes,
excerpts from files
Monospace bold User input in examples
“Quotation marks” References to other chapters or manuals
Keys or key combinations in plain text
i
!
User activities
Additional information, notes and tips
Warnings that must be observed
Programmer Reference Guide U26169-J-Z716-1-7600

Technical data and printer options

9014 printer interface modules
The 9014 printer with IBM Proprinter and Epson LQ-2550 emulation is equipped with the
®
90142-12 interface module. It contains a parallel (Centronics
-compatible) and a serial V.24 (RS-232 C) interface. The 9014 printer with the 90142-12 interface module is referred to below as the 9014-12 printer. There are two other interface modules with IBM / Epson emulation:
90142-13 with additional IGP functionality – 90142-14 with additional East European character sets For network connections, the following interface module is available: – 90142-LE2 (Ethernet
®
LAN connection for Epson LQ-2550 and IBM Proprinter emula-
tion)
The printer is also available with the ECMA emulation with one of the following interface modules:
90142-11 with SS97 (RS-422 A) and V.24 (RS-232 C) – 90142-15 with SS97 (RS-422 A), V.24 (RS-232 C) and BAM controller – 90142-LE1 (Ethernet
®
LAN connection for ECMA emulatio n)
The functions of the ECMA emulation are described in a separate Programmer’s Reference Guide [4].
9015 / 9015 E printer interface modules
The 9015 printer with IBM Proprinter and Epson LQ-2550 emulation is equipped with the
®
90152-12 interface module. It contains a parallel (Centronics
-compatible) and a serial V.24 (RS-232 C) interface. The 9015 printer with the 90152-12 interface module is referred to below as the 9015-12 printer. There is another interface module with IBM/Epson emulation:
90152-13 with additional IGP functionality
Programmer Reference Guide U26169-J-Z716-1-7600
Technical data and printer options
For network connections, the following interface module is available:
90152-LE2 (Ethernet
®
LAN connection for Epson LQ-2550 and IBM Proprinter emula-
tion)
The printer is also available with the ECMA emulation with one of the following interface modules:
90152-11 with SS97 (RS-422 A) and V.24 (RS-232 C) – 90152-15 with SS97 (RS-422 A), V.24 (RS-232 C) and BAM controller – 90152-LE1 (Ethernet
®
LAN connection for ECMA emulatio n)
The functions of the ECMA emulation are described in a separate Programmer’s Reference Guide [1].
9016 printer interface modules
®
With the 9016 printer, the serial RS-232 C / RS 422 and the Centronics
interface for the IBM Proprinter and Epson LQ-2550 emulation are integrated. Since this equipment of the 9016 printer is equivalent to the 9014-12 and 90152-12 printer types, the printer is referred to below as the 9016-12.
Programmer Reference Guide U26169-J-Z716-1-7600
Technical data Technical data and printer options

Technical data

The following table lists the major technical data of the printer that is relevant to programmers.
Printing system Print head with 24 needles Print direction Bidirectional with logic seeking Print matrix 24 x 36 - letter quality (LQ)
12 x 36 - near letter quality (NLQ) 12 x 12 - draft (DRAFT)
Printing rate (characters per second)
Printer buffer 16 Kbyte up to 48 Kbyte (programmable) Column width
(mm or inch)
Micro-column width (inch)
Micro-line spacing (inch) Character height (mm) 2.42 to 3.3 and thereof double, threefold, fourfold, up to
Charac ter width single width: depends on the font and the selected
175 - letter quality (LQ) 350 - near letter quality (NLQ) 700 - draft (DRAFT)
Normal font
1
2.54 or
2.12 or 1/
1.76 or 1/
1.69 or 1/
1.49 or 1/
1.41 or 1/
1.27 or 1/
1
/
120
1
/
180
1
/
360
/
10 12 14,4 15 17 18 20
for DRAFT for LQ/NLQ
eightfold height; DATA LARGE up to 999-fold height
character pitch; thereof double, threefold, fourfold up to eightfold width; DATA LARGE up to 999-fold width
Programmer Reference Guide U26169-J-Z716-1-7600
Character complement Technical data and printer options

Character complement

The standard character complement of the printers contains up to fifteen fonts with several character sets. Some character sets can be used with different national versions.
Further information on fonts and character sets is given in the description of corresponding commands and in the tables (for the character sets see Character set tables).

Options

The following options are currently available:
9014 printer
Automatic sheet feeder (ASF) –Console
9015 printer
Tractor cassette – Console with integrated paper rack
9015 E printer
Tractor cassette – Console with integrated paper rack
Drucker 9016
Manual single sheet insertion –console
Programmer Reference Guide U26169-J-Z716-1-7600

Connection options of the 901x-12 printers

The 901x-12 printers can be connected via the serial and parallel interface.

Serial interface V.24 (RS-232 C)

The 901x-12 printers can be connected with the following systems via the V.24 interface (RS-232 C):
Quattro / BNC / 886x systems – RM systems – Primergy systems –PCs

Parallel Centronics interface

The 901x-12 printer can be connected with the following systems via the Centronics interface:
Primergy systems –PCs
Programmer Reference Guide U26169-J-Z716-1-7600

Description of the IBM Proprinter emulation

With the IBM Proprinter emulation, the 9014, 9015, 9015 E and 9016 printers behave like the 4207 and 4208 (XL24) printers from IBM.
The commands are divided into the following command groups:
Initial condition
Forms transport mechanism
Forms layout
Forms transport
Print carriage movements
Font design
Bitmap graphics
Miscellaneous commands
Programmer Reference Guide U26169-J-Z716-1-7600
Initial condition IBM Proprinter emulation

Initial condition

After power-on, the printer is in the following condition:
Printer buffer cleared – All vertical tab stops reset – Proportional spacing mode reset – Horizontal tab stops set in every eighth column – Print direction bidirectional – Boldface mode off – Double strike mode off – Subscript/superscript mode off – Expanded mode off – Normal character height – Underscore mode off – Overscore mode off – Character enlargement mode off
The following functions depend on the menu setting: – Form length – Perforation skip mode – Left margin – Right margin – Line spacing – Font (type style) – Print quality (DRAFT , LQ, NLQ) – Character set – National version/IBM code page – Character pitch – Paper source
Programmer Reference Guide U26169-J-Z716-1-7600
Forms transport mechanism IBM Proprinter emulation

Forms transport mechanism

The printer is always equipped with two continous forms tractors. The last sheet of a conti­nuous forms stack can be printed to the end of the form.
Additional commands
Eject sheet
Control sequence Hexadecimal Decimal
ESC [ < s 1B 5B 3C 73 27 91 60 115
This command causes a vertical form feed to the beginning of the next page.
Select paper source and ejection, number of copies, cut-off mode
(SPS or SPSIF)
Control sequence Hexadecimal Decimal
ESC [ > p
; p
1
2 ; p3 ; p4
s1B 5B 3E p1 3B p2 3B p3 3B
p4 73
27 91 62 p 115
59 p2 59 p3 59 p4
1
The control character > should only be used if an indent or a form feed (FF) is to be
i
performed.
= 0 to 1 is only available for the 9015 printer with cut-off feature.
p
i
Programmer Reference Guide U26169-J-Z716-1-7600
4
Forms transport mechanism IBM Proprinter emulation
9014 Printer
p
= 0
1
Manual single form feed
p
=1 bis 3
1
ASF, bin 1 to 3
p
= 6
1
Ignored
p
= 7
1
Tractor
p
= 8
1
ASF, bin 1 or 2
p
= 9
1
ASF, bin 2 or 3
p
= 10
1
ASF, bin 1 or 2 or 3
p
= 0
2
AGC (automatic gap control)
p
= 1 bis 6
2
PCC = programmable copy control (Print gap for 1- to 6-ply copies)
= 0
p
3
Cut-off sheets in upper tray
p
= 1
3
Paper exit front side (confirmed by start/stop key)
p
= 2
3
Paper exit front side, (not confirmed by start/stop key , b ut controlled by application)
p
= 3
3
Batch output (rear side)
Programmer Reference Guide U26169-J-Z716-1-7600
Forms transport mechanism IBM Proprinter emulation
9015 Printer
p
= 0 to 3
1
Ignored
p
= 6
1
Upper tractor
p
= 7
1
Lower tractor
p
= 8 to 10
1
Ignored
p
= 15
1
Selection of both tractors (upper and lower)
p
= 0
2
AGC (automatic gap control)
p
= 1 to 6
2
PCC (programmable copy control) (Print gap for 1- to 6-ply copies)
= 0
p
3
Cut-off sheets in upper tray
p
= 1
3
Ignored
p
= 2
3
Ignored
p
= 3
3
Sheets in stack (default)
p
= 0
4
Cut-off feature off (default)
p
= 1
4
Cut-off feature on
Programmer Reference Guide U26169-J-Z716-1-7600
Forms transport mechanism IBM Proprinter emulation
9015 E Printer
p
= 0
1
Manual single form feed
p
=1 to 3
1
Ignored
p
= 6
1
Upper tractor
p
= 7
1
Lower tractor
p
= 8 to 10
1
Ignored
p
= 15
1
Selection of both tractors (upper and lower)
p
= 0
2
AGC (automatic gap control)
p
= 1 bis 6
2
PCC = programmable copy control (Print gap for 1- to 6-ply copies)
= 0
p
3
Ignored
p
= 1
3
Paper exit front side (confirmed by start/stop key)
p
= 2
3
Paper exit front side, (not confirmed by start/stop key , b ut controlled by application)
p
= 3
3
Batch output (rear side)
Programmer Reference Guide U26169-J-Z716-1-7600
Forms transport mechanism IBM Proprinter emulation
9016 Printer
p
= 0
1
Manual single form feed
p
=1 to 3
1
Ignored
p
= 6
1
Ignored
p
= 7
1
Lower tractor
p
= 8 to 10
1
Ignored
p
= 15
1
Ignored
p
= 0
2
AGC (automatic gap control)
p
= 1 bis 6
2
PCC = programmable copy control (Print gap for 1- to 6-ply copies)
= 0
p
3
Ignored
p
= 1
3
Paper exit front side (confirmed by start/stop key)
p
= 2
3
Paper exit front side, (not confirmed by start/stop key , b ut controlled by application)
p
= 3
3
Programmer Reference Guide U26169-J-Z716-1-7600
Forms layout IBM Proprinter emulation

Forms layout

The dimensions of the form can be selected freely . The following commands are available:
Set form length in lines
Set form length in inche s
Set perforation skip mode
Reset perforation skip mode
Set first print line
Set left margin
Set left and right margins
Set form length in lines
Control sequence Hexadecimal Decimal
ESC C p
1
1B 43 p
1
27 67 p
1
This command specifies the physical page length in multiples of the current line spacing and sets the current vertical position as the first print line (top of form).
The set page length is not affected by later changes of the line spacing. p
Form length in multiples of the current line spacing
1
Range: X’01 p1 X’7F
The minimum valid form length is 3 inches and the maximum is 22 inches.
Programmer Reference Guide U26169-J-Z716-1-7600
Forms layout IBM Proprinter emulation

Set form length in inches

Control sequence Hexadecimal Decimal
ESC C NUL p
1
This command specifies the physical page length in inches and sets the current vertical position as the first print line (top of form).
1B 43 00 p
1
27 67 00 p
1
p
Form length in inches
1
Range: X’01 p1 X’16
Set perforation skip mode
Control sequence Hexadecimal Decimal
ESC N p
The perforation area is specified as a number of lines at the current line spacing. It is skipped at the end of every page.
The perforation area is not affected by later changes of the line spacing. The perforation area should be selected so that at least If you change the first line (top of form), the perforation area moves accordingly. p
1
1
Perforation area in lines at the current line spacing
Range: X’00 p1 X’FF
The minimum valid form length is 3 inches and the maximum is 22 inches.
1B 4E p
1
27 78 p
4
/6 inch remain as print area.
1
Programmer Reference Guide U26169-J-Z716-1-7600
Forms layout IBM Proprinter emulation
Reset perforation skip mode
Control sequence Hexadecimal Decimal
ESC O 1B 4F 27 79
Set first print line
Control sequence Hexadecimal Decimal
ESC 4 1B 34 27 52
The current print line is defined as the first print line (top form). The first print line should be selected so that at least
The set form length is not affected by this command.
Set left margin
Control sequence Hexadecimal Decimal
ESC ; 1B 3B 27 59
The current print column defines the first printable character in the line and thus the left margin.
The set left margin is not affected by later changes of the character pitch. The left margin should be selected so that at least
the left and right margins.
i
4
/6 inch remain as print area.
4
/10 inch remain as print area between
This function should not be used in new applications.
Programmer Reference Guide U26169-J-Z716-1-7600
Forms layout IBM Proprinter emulation

Set left and right margins

Control sequence Hexadecimal Decimal
ESC X p
1 p2
The parameters define the first and last print columns of a line at the current character pitch and thus define the left and right margins.
1B 58 p1 p
2
27 88 p1 p
2
The first print column of a line is column 1. The set margins are not affected by later changes of the character pitch. The margin setting should be selected so that at least inch remain as print area between the left and right margins.
This command must be located at the beginning of the line. If you specify 0 (zero) for a parameter, the current margin setting is not affected. p
Left margin in columns at the current character pitch
1
Range: X’00 p1 X’FC
p
Right margin in columns at the current character pitch
2
Range: X’04 p
X’FF
2
4
/10
Programmer Reference Guide U26169-J-Z716-1-7600
Forms transport IBM Proprinter emulation

Forms transport

The following commands affect the paper movement:
Set 8 lpi
Set
Preset
Set preset line spacing
Set
Set line spacing unit
Line feed (LF)
Reverse line feed
Form feed (FF)
Relative vertical tabulation forward
Set vertical tab stops
Vertical tabulation
7
/72 inch line spacing mode
n
/72 inch line spacing mode
n
/
216
or n/
inch line spacing mode
180
Additional commands

Set 8 lpi

Control sequence Hexadecimal Decimal
ESC 0 1B 30 27 48
The line spacing is set to 8 lines per inch.

Set 7/72 inch line spac ing mode

Control sequence Hexadecimal Decimal
ESC 1 1B 31 27 49
A line spacing of 7/72 inch is set.
Programmer Reference Guide U26169-J-Z716-1-7600
Forms transport IBM Proprinter emulation

Preset n/72 inch line spacing mode

Control sequence Hexadecimal Decimal
ESC A p
1
A line spacing of n/72 is preset. The defined line spacing is set by the ESC 2 command.
1B 41 p
1
27 65 p
1
p
Line spacing in 1/72 inch increments
1
Range: X’01 p1 X’55
Set preset line spacing
Control sequence Hexadecimal Decimal
ESC 2 1B 32 27 50
The line spacing preset with the ESC A p1 command is set.
Set n/216 or n/180 inch line spacing mode
Control sequence Hexadecimal Decimal
or n/
180
216
1B 33 p
or n/
1
inch is set depending on the line spacing unit (see Set line
inch increments
180
ESC 3 p
1
A line spacing of n/
spacing unit).
The default is p
1
n
/
216
Line spacing in n/
216
inch.
27 51 p
1
Range: X’01 p1 X’FF
Programmer Reference Guide U26169-J-Z716-1-7600
Forms transport IBM Proprinter emulation

Set line spacing unit

Control sequence Hexadecimal Decimal
ESC [ \ EOT NUL NUL NUL p
NUL
1
1B 5B 5C 04 00 00 00 p1 00
27 91 92 04 00 00 00 p1 00
This command sets the line spacing unit to either 1/ The preset line spacing unit only affects the two commands ESC 3 p p
1
Valid parameter values:
Dec Hex Meaning
180 216
Line feed (LF)
Control character Hexadecimal Decimal
LF 0A 10
A line feed is performed using the current line spacing. The contents of the line buffer are printed.
This control character terminates the expanded mode for one line.
i
inch or 1/
216
inch.
180
and ESC J p1.
1
Line spacing unit
1
/
B4 D8
Line spacing Line spacing
inch
180
1
/
inch
216
A carriage return is also performed depending on the menu setting.
Programmer Reference Guide U26169-J-Z716-1-7600
Forms transport IBM Proprinter emulation

Reverse line feed

Control sequence Hexadecimal Decimal
ESC ] 1B 5D 27 93
ESC M 1B 4D 27 77
The reverse line feed is performed using the current line spacing. The contents of the line buffer are printed.
Form feed (FF)
Control sequence Hexadecimal Decimal
FF 0C 12
The paper is advanced to the next top of form position. The contents of the line buffer are printed and a carriage return is performed.
This control character terminates the expanded mode for one line.
Relative vertical tabulation forward
Control sequence Hexadecimal Decimal
ESC J p
1
The vertical print position is moved down by n/
1B 4A p
1
or n/
216
spacing unit (see Set line spacing unit). The default is p
1
n
/
inch.
216
Relative vertical movement in n/
inch or n/
216
Range: X’00 p1 X’FF
Programmer Reference Guide U26169-J-Z716-1-7600
27 74 p
180
inch increments
180
1
inch depending on the line
Forms transport IBM Proprinter emulation

Set vertical tab stops

Control sequence Hexadecimal Decimal
ESC B p
A maximum of 64 vertical tab stops can be set. Previously set vertical tab stops are reset. The vertical tab stops must be defined in ascending order in lines. The absolute vertical tab
location depends on the current line spacing. The line count begins with one at the first print line (see Set first print line). The set vertical tab stops are not affected by later changes of the line spacing. All vertical tab stops are reset if no parameters are specified (ESC B NUL). p
... p
1
... pk NUL 1B 42 p1 ... pk 00 27 66 p1 ... pk 00
1
k
Vertical tab stops in lines (1 k 64)
Vertical tabulation
Control character Hexadecimal Decimal
VT 0B 11
This control character causes vertical tabulation to the next vertical tab stop. Vertical tabulation is possible anywhere within a line.
Repeated specification of this control character causes vertical tab stops to be skipped. If you transfer VT VT VT, for example, the printer positions the print head to the third vertical tab stop. If no tab stops are set, this control character causes a line feed.
This control character terminates the expanded mode for one line.
i
A carriage return is also performed depending on the menu setting.
Range: X’01 p
X’FF
k
Programmer Reference Guide U26169-J-Z716-1-7600
Forms transport IBM Proprinter emulation
Additional commands
Load line spacing
Control sequence Hexadecimal Decimal
ESC [ p
This command loads and sets the line spacing. Valid values: 1, 2, 3, 4, 6, 8, 12, 16, 24, 48, 60, 72, 90, 144, 180, 360 lpi.
Reset tab stop
Control sequence Hexadecimal Decimal
ESC [ p
Valid values: p
1
{1B 5B p
1
g1B 5B p
1
7B 27 91 p1 123
1
67 27 91 p1 103
1
= 0
Reset tab stop at the current position
p
= 3
1
Reset all horizontal tab stops
p
= 4
1
Reset all vertical tab stops
Programmer Reference Guide U26169-J-Z716-1-7600
Print carriage movements IBM Proprinter emulation

Print carriage movements

The following commands control the print carriage movements:
Carriage return
Print head to left margin
Space
Backspace
Set 10 cpi
Set 12 cpi
Set 17.1 cpi
Set/reset proportional spacing mode
Relative horizontal tabulation
Set horizontal tab stops
Horizontal tabulation
Set print direction (bidirectional or unidirectional)
Additional commands

Carriage return

Control character Hexadecimal Decimal
CR 0D 13
The print carriage moves to the beginning of the line. The character following CR is printed as the first character in the line.
A line feed may be performed in addition to the carriage return depending on the
i
menu setting. When writing new application programs, be sure to terminate each line with LF and CR.
Programmer Reference Guide U26169-J-Z716-1-7600
Print carriage movements IBM Proprinter emulation

Print head to left margin

Control sequence Hexadecimal Decimal
ESC < 1B 3C 27 60
The print carriage moves to the beginning of the line.
Space
Control character Hexadecimal Decimal
SP 20 32
The print head moves one space width using the set or programmed character pitch. If an expanded mode is active, the space width is increased accordingly.
Backspace
Control character Hexadecimal Decimal
BS 08 08
Reverse movement by the width of one space.
Set 10 cpi
Control character Hexadecimal Decimal
DC2 12 18
Set a character pitch of 10 cpi.
Programmer Reference Guide U26169-J-Z716-1-7600
Print carriage movements IBM Proprinter emulation
Set 12 cpi
Control sequence Hexadecimal Decimal
ESC : 1B 3A 27 58
Set a character pitch of 12 cpi.
Set 17.1 cpi
Control sequence Hexadecimal Decimal
SI 0F 15
Set a character pitch of 17.1 cpi.
Set/reset proportional spacing mode
Control sequence Hexadecimal Decimal
ESC P p
1
1B 50 p
1
27 80 p
1
In proportional spacing mode the character width differs. An i, for example, is narrower than an m.
Proportional spacing is possible with all fonts except the OCR fonts. p
sets/resets proportional spacing
1
Valid parameter values:
Dec Hex Meaning
0 1 48 49
Programmer Reference Guide U26169-J-Z716-1-7600
0 1 30 31
Reset proportional spacing mode Set proportional spacing mode Reset proportional spacing mode Set proportional spacing mode
Print carriage movements IBM Proprinter emulation

Relative horizontal tabulation

Control sequence Hexadecimal Decimal
ESC d p
1 p2
1B 64 p1 p
2
27 100 p1 p
2
The horizontal print position is moved right by the defined amount. The specified shift begins at the current print position and has to be specified in
1
/
inch increments.
120
Spaces are shown underscored, overscored or crossed out if the function is active. The defined right margin cannot be exceeded. p
define the shift
1 p2
Shift= (p1 + (p2 * 256)) * 1/
Range: X’00 p
Range: X’00 p
inch
120
X’FF
1
X’FF
2
Programmer Reference Guide U26169-J-Z716-1-7600
Print carriage movements IBM Proprinter emulation

Set horizontal tab stops

Control sequence Hexadecimal Decimal
ESC D p
This command sets horizontal tab stops. A maximum of 32 horizontal tab stops can be set. Previously set horizontal tab stops are reset.
The horizontal tab stops must be specified in ascending order in multiples of the current character pitch. The absolute horizontal tab stop locations depend on the current character pitch.
The set horizontal tab stops are not affected by later changes of the character pitch. The default horizontal tab stop locations are in every eighth print column. All horizontal tab stops are reset if no parameter is specified (ESC D NUL). p
... p
1
... pk NUL 1B 44 p1 ... pk 00 27 68 p1 ... pk 00
1
k
Horizontal tab stops in multiples of the character pitch (1 k 32) Range: X’01 p
X’FF
k
Programmer Reference Guide U26169-J-Z716-1-7600
Print carriage movements IBM Proprinter emulation

Horizontal tabulation

Control character Hexadecimal Decimal
HT 09 09
This control character may be located anywhere within a line and causes tabulation to the next horizontal tab stop. Repeated specification of this control character causes horizontal tab stops to be skipped. If you transfer HT HT HT HT, for example, the printer positions the print head to the fourth horizontal tab stop.
Conditions for horizontal tabulation:
At least one horizontal tab stop must be set.
The printer ignores the control character if no horizontal tab stops are set or if tabulation
exceeds the end of the line.
If the print head is on a set horizontal tab stop, the next horizontal tab stop is accessed.
Set print direction (bidirectional or unidirectional)
Control sequence Hexadecimal Decimal
ESC U p
1
1B 55 p
1
27 85 p
1
Unidirectional printing should be used if high positioning precision is required (e.g. in the graphics mode). The default is bidirectional printing.
p
defines the print direction
1
Valid parameter values:
Dec Hex Meaning
0 1 48 49
0 1 30 31
Bidirectional print direction Unidirectional print direction Bidirectional print direction Unidirectional print direction
The command is ignored if the menu setting does not permit unidirectional printing
i
(see [2]).
Programmer Reference Guide U26169-J-Z716-1-7600
Print carriage movements IBM Proprinter emulation
Additional commands
Absolute horizontal positioning
Control sequence Hexadecimal Decimal
ESC [ p
p1 defines the print position and consists of a maximum of three digits. p1 = 0 and p1 = 1 define the first print position and thus have the same meaning.
Relative horizontal positioning
Control sequence Hexadecimal Decimal
ESC [ p
p1 defines the print position and consists of a maximum of three digits. p1 = 0 and p1 = 1 define the first print position and thus have the same meaning.
Absolute vertical positioning
1B 5B p1 60 27 91 p1 96
1
a 1B 5B p1 61 27 91 p1 97
1
Control sequence Hexadecimal Decimal
ESC [ p
d1B 5B p
1
64 27 91 p1 100
1
p1 defines the print line and consists of a maximum of three digits. p1 = 0 and p1 = 1 define the first print line and thus have the same meaning.
Relative vertical positioning
Control sequence Hexadecimal Decimal
ESC [ p
e 1B 5B p1 65 27 91 p1 101
1
p1 defines the number of print lines and consists of a maximum of three digits. p1 = 0 and p1 = 1 define the first print line and thus have the same meaning.
Programmer Reference Guide U26169-J-Z716-1-7600
Font design IBM Proprinter emulation

Font design

The following commands are available for font design:
Select IBM character set 1
Select IBM character set 2
Set boldface mode
Reset boldface mode
Set double strike mode
Reset double strike mode
Set subscript/superscript mode
Reset subscript/superscript mode
Set expanded mode for one line
Set/reset expanded mode
Reset expanded mode
Set character size and line spacing
Set print quality and character pitch
Set/reset underscore mode
Set/reset overscore mode
Additional commands

Select IBM character se t 1

Control sequence Hexadecimal Decimal
ESC 7 1B 37 27 55
In the initial condition the printer uses the character set specified in the menu.
Programmer Reference Guide U26169-J-Z716-1-7600
Font design IBM Proprinter emulation

Select IBM character se t 2

Control sequence Hexadecimal Decimal
ESC 6 1B 36 27 54
In the initial condition the printer uses the character set specified in the menu.
Set boldface mode
Control sequence Hexadecimal Decimal
ESC E 1B 45 27 69
Reset boldface mode
Control sequence Hexadecimal Decimal
ESC F 1B 46 27 70
Set double strike mode
Control sequence Hexadecimal Decimal
ESC G 1B 47 27 71
Reset double strike mode
Control sequence Hexadecimal Decimal
ESC H 1B 48 27 72
Programmer Reference Guide U26169-J-Z716-1-7600
Font design IBM Proprinter emulation

Set subscript/superscript mode

Control sequence Hexadecimal Decimal
ESC S p
1
1B 53 p
1
This command causes reduced-size characters to be superscripted (exponents) or subscripted (indices).
Superscripted characters (exponents) are printed approx. characters (indices) are only reduced in size and printed on the base line.
27 83 p
1
1
/2 line up. Subscripted
p
defines subscript or superscript mode
1
Parameter values:
Dec Hex Meaning
0 1 48 49
00 01 30 31
Set superscript mode Set subscript mode Set superscript mode Set subscript mode
The menu setting must be INDEX/EXPONENT (see [2]).
i
Reset subscript/superscript mode
Control sequence Hexadecimal Decimal
ESC T 1B 54 27 84
Programmer Reference Guide U26169-J-Z716-1-7600
Font design IBM Proprinter emulation

Set expanded mode for one line

Control sequence Hexadecimal Decimal
SO 0E 14
The characters in one line are printed with double width. The function is terminated by LF, CR, VT , FF, DC4 and ESC W 0.
Set/reset expanded mode
Control sequence Hexadecimal Decimal
ESC W p
Characters are printed with double width when the expanded mode is active.
1
1B 57 p
1
27 87 p
1
p Parameter values:
Dec Hex Meaning
0 1 48 49
sets/resets the expanded mode
1
00 01 30 31
Reset expanded mode
Control sequence Hexadecimal Decimal
DC4 14 20
i
This function only resets expanded mode set with the SO command.
Reset expanded mode Set expanded mode Reset expanded mode Set expanded mode
Programmer Reference Guide U26169-J-Z716-1-7600
Font design IBM Proprinter emulation

Set character size and line spacing

Control sequence Hexadecimal Decimal
ESC [ @ EOT NUL NUL NUL p
1 p2
This command defines the line spacing, the character height, and the character width.
1B 5B 40 04 00 00 00 p
1 p2
27 91 64 04 00 00 00 p
1 p2
p
The left half-byte defines the line spacing and the right half-byte the character
1
height. The left and right half-bytes must be added.
Valid parameter values for the left half-byte:
Dec Hex Meaning
00 16 32 48 64
00 10 20 30 40
No change of line spacing Single character height line spacing Double character height line spacing Triple character height line spacing Quadruple character height line spacing
Valid parameter values for the right half-byte:
Dec Hex Meaning
00 01 02 03 04
p
2
00 01 02 03 04
No change of character height Single character height Double character height Triple character height Quadruple character height
defines the character width
Valid parameter values:
Dec Hex Meaning
00 01 02 03 04
Programmer Reference Guide U26169-J-Z716-1-7600
00 01 02 03 04
No change of character width Single character width Double character width Triple character width Quadruple character width
Font design IBM Proprinter emulation

Set print quality and character pitch

Control sequence Hexadecimal Decimal
ESC I p
1
This command defines the print quality and the character pitch.
1B 49 p
1
27 73 p
1
p
defines the print quality and the character pitch
1
Valid parameter values:
Dec Hex Meaning
0 1 2 3 8 10 16 18
00 01 02 03 08 0A 10 12
DRAFT quality; DRAFT quality LQ/NLQ quality; LQ/NLQ quality; DRAFT quality; LQ/NLQ quality; DRAFT quality; LQ/NLQ quality;
Set/reset underscore mode
Control sequence Hexadecimal Decimal
ESC - p
The characters are underscored. p Valid parameter values:
1
sets/resets the underscore mode
1
1B 2D p
10 cpi proportional spacing 10 cpi proportional spacing 12 cpi 12 cpi
17.1 cpi
17.1 cpi
1
27 45 p
1
Dec Hex Meaning
0 1 48 49
Programmer Reference Guide U26169-J-Z716-1-7600
00 01 30 31
Reset underscore mode Set underscore mode Reset underscore mode Set underscore mode
Font design IBM Proprinter emulation

Set/reset overscore mode

Control sequence Hexadecimal Decimal
ESC _ p
1
The characters are overscored.
1B 5F p
1
27 95 p
1
p
sets/resets the overscore mode
1
Valid parameter values:
Dec Hex Meaning
0 1 48 49
00 01 30 31
Reset overscore mode Set overscore mode Reset overscore mode Set overscore mode
Programmer Reference Guide U26169-J-Z716-1-7600
Font design IBM Proprinter emulation

Additional commands

Set graphic settings
Control sequence Hexadecimal Decimal
ESC [ p
Valid values:
= 0 Normal presentation (all settings reset)
p
1
p
= 1
1
p
= 3
1
p
= 4
1
p
= 9
1
m 1B 5 B p1 6D 27 91 p1 109
1
Bold
Italics
Underscored
Crossed out
p
= 20
1
Double character width
p
= 21
1
double underline
p
= 22
1
Reset bold mode
p
= 23
1
Reset italics mode
p
= 24
1
Reset underscored mode
p
= 29
1
Reset crossed-out mode
p
= 30 to 36
1
Ignored
p
= 53
1
Overscored
p
= 55
1
Reset overscored mode
Programmer Reference Guide U26169-J-Z716-1-7600
Font design IBM Proprinter emulation
Character repetition
Control sequence Hexadecimal Decimal
ESC [ p
b1B 5B p
1
62 27 91 p1 98
1
p1 can be a maximum of three digits.
Graphical change of sizes
Control sequence Hexadecimal Decimal
ESC [ p
SP B 1B 5B p1 3B p2 20 42 27 91 p1 59 p2 32 66
1; p2
Valid values:
= 100 / p2 = 100
p
1
Normal height / normal width
p
= 200 / p2 = 200
1
Double height / Double width
p
= 300 / p2 = 300
1
Triple height / Triple width
p
= 400 / p2 = 400
1
Quadruple height / Quadruple width
p
and p2 max. = 800 (in steps of 100)
1
Graphical change of size for DATA LARGE: p
= 100 / p2 = 100
1
Normal height / normal width
p
and p2 max. = 9900 (in steps of 100)
1
Programmer Reference Guide U26169-J-Z716-1-7600
Font design IBM Proprinter emulation
Set national version and code page
Control sequence Hexadecimal Decimal
ESC [ p
= 1 to 15
p
1
w1B 5B p
1; p2
1
3B p2 77 27 91 p1 59 p2 119
For national versions or code pages
p1 für IBM SET 2:
p
= 1 : U.S.A
1
= 2 : France
p
1
= 3 : Germany
p
1
= 4 : U.K.
p
1
= 5 : Denmark 1
p
1
= 6 : Sweden
p
1
= 7 : Italy
p
1
= 8 : Spain 1
p
1
= 9 : Japan
p
1
= 10 : Norway
p
1
= 11 : Denmark 2
p
1
= 12 : Spain 2
p
1
= 13 : Latin AM
p
1
= 14 : Turkey
p
1
p1 for IBM CODE PAGE:
= 1 : PAGE 437
p
1
= 2 : PAGE 850
p
1
= 3 : PAGE 860
p
1
= 4 : PAGE 863
p
1
= 5 : PAGE 865
p
1
= 6 : PAGE 858 (Euro-character)
p
1
Programmer Reference Guide U26169-J-Z716-1-7600
Font design IBM Proprinter emulation
p
= d3d2d1(three digits)
2
061IBM set 1 062IBM set 2 0 6 3 IBM code page 071Epson EXT GCT
Set national version
Control sequence Hexadecimal Decimal
ESC [ p
w1B 5B p
1
77 27 91 p1 119
1
See the command “Set/reset overscore mode” for the setting of p1.
Set code page
Control sequence Hexadecimal Decimal
ESC [ ; p
w 1B 5B 3B p2 77 27 91 59 p2 119
2
See the command “Set/reset overscore mode” for the setting of p2.
Set character pitch and select font
Control sequence Hexadecimal Decimal
ESC [ p
= 1
p
1
; p2 x1B 5B p
1
3B p2 78 27 91 p1 59 p2 120
1
Data
p
= 2
1
Roman
p
= 3
1
Sans Serif
p
= 4
1
Courier
p
= 5
1
Prestige
Programmer Reference Guide U26169-J-Z716-1-7600
Font design IBM Proprinter emulation
p1 = 6
Script
p
= 7
1
OCR-B
p
= 8
1
OCR-A
p
= 9
1
Orator-C
p
= 10
1
Orator
p
= 11
1
Data Block
p
= 12
1
Data Large
p
= 1
2
10 cpi
p
= 2
2
12 cpi
p
= 3
2
15 cpi
p
= 4
2
Propor tio nal
p
= 5
2
Propor tio nal
p
= 6
2
14.4 cpi
p
= 7
2
18 cpi
p
= 8
2
17.1 cpi
p
= 9
2
20 cpi
Programmer Reference Guide U26169-J-Z716-1-7600
Font design IBM Proprinter emulation
Select font
Control sequence Hexadecimal Decimal
ESC [ p
x1B 5B p
1
78 27 91 p1 120
1
See the command “Set character pitch and select font” for the setting of p1.
Set print quality (NLQ, LQ)
Control sequence Hexadecimal Decimal
ESC [ p
= 0
p
1
SP X 1B 5B p1 20 58 27 91 p1 32 88
1
LQ
p
= 1
1
NLQ
This is only valid if the NLQ type style is available.
Programmer Reference Guide U26169-J-Z716-1-7600
Bitmap graphics IBM Proprinter emulation

Bitmap graphics

The following commands are available:
Select graphics mode
Select single dot-density graphics mode
Select double dot-density graphics mode
Select double dot-density and double-speed graphics mode
Select quadruple dot-density graphics mode
Select graphics mode (expanded)

Select graphics mode

Control sequence Hexadecimal Decimal
ESC * p
1 p2 p3
The graphics data is transferred in columns. A column contains either 8 or 24 individual vertical dots.
data 1B 2A p1 p2 p3 data 27 42 p1 p2 p3 data
Each graphics line begins with this command, which defines the graphics mode (vertical and horizontal resolution). A defined number of pixel data items follows. The number of columns is defined by parameters p2 and p3.
Data
B7B6B5B4B3B2B1B
1/72 inch
Figure 1: Vertical dot density 72 dpi
Programmer Reference Guide U26169-J-Z716-1-7600
0
Bitmap graphics IBM Proprinter emulation
1/180 inch
First
data byte
d1
B7B6B5B4B3B2B1B
Second
data byte
d2
B7B6B5B4B3B2B1B
0
Third
data byte
d3
B7B6B5B4B3B2B1B
0
0
Figure 2: Vertical dot density 180 dpi
Programmer Reference Guide U26169-J-Z716-1-7600
Bitmap graphics IBM Proprinter emulation
p
defines the graphics mode
1
Valid parameter values:
Dec Hex Mode Number
of needles
0 1 2
3 4 5 6 11
32 33 38 39 40
1)
00 01 02
03 04 05 06 0B
20 21 26 27 28
Single density Double density Double density and high speed
1)
Quadruple density CRT 1 Plotter CRT 2 Double density Plotter
1)
Single density Double density CRT 3 Triple density Sixfold density
1)
1)
In this mode, printing in adjacent columns is not possible.
8 8 8
8 8 8 8 8
24 24 24 24 24
dpi Compatible hori-
zontal
60 120 120
240 80 72 90 144
60 120 90 180 360
verti­cal
72 72 72
72 72 72 72 72
180 180 180 180 180
commands
ESC K ESC L ESC Y
ESC Z
p
2 p3
define the number of columns Number of columns = p
+ (p3 * 256)
2
Data Data bytes containing the dot information
Programmer Reference Guide U26169-J-Z716-1-7600
Bitmap graphics IBM Proprinter emulation

Select single dot-density graphics mode

Control sequence Hexadecimal Decimal
ESC K p
The graphics data is transferred in columns. A column contains 8 individual vertical dots (see Select graphics mode).
This command causes a graphics line to be printed. The horizontal resolution is 60 dpi and the vertical resolution is 72 dpi.
data 1B 4B p1 p2 data 27 75 p1 p2 data
1 p2
p
1 p2
define the number of columns Number of columns = p
1
Data Data bytes containing the dot information
Select double dot-density graphics mode
Control sequence Hexadecimal Decimal
ESC L p
The graphics data is transferred in columns. A column contains 8 individual vertical dots (see Select graphics mode).
This command causes a graphics line to be printed. The horizontal resolution is 120 dpi and the vertical resolution is 72 dpi. p
1 p2
Data Data bytes containing the dot information
data 1B 4C p1 p2 data 27 76 p1 p2 data
1 p2
define the number of columns Number of columns = p
1
+ (p2 * 256)
+ (p2 * 256)
Programmer Reference Guide U26169-J-Z716-1-7600
Bitmap graphics IBM Proprinter emulation

Select double dot-density and double-speed graphics mode

Control sequence Hexadecimal Decimal
ESC Y p
The graphics data is transferred in columns. A column contains 8 individual vertical dots (see Select graphics mode).
This command causes a graphics line to be printed with double speed. The horizontal resolution is 120 dpi and the vertical resolution is 72 dpi.
data 1B 59 p1 p2 data 27 89 p1 p2 data
1 p2
p
1 p2
Data Data bytes containing the dot information
In this mode, printing in adjacent columns is not possible.
define the number of columns Number of columns = p
+ (p2 * 256)
1
i
Programmer Reference Guide U26169-J-Z716-1-7600
Bitmap graphics IBM Proprinter emulation

Select quadruple dot-density graphics mode

Control sequence Hexadecimal Decimal
ESC Z p
The graphics data is transferred in columns. A column contains 8 individual vertical dots (see Select graphics mode).
This command causes a graphics line to be printed. The horizontal resolution is 240 dpi and the vertical resolution is 72 dpi.
data 1B 5A p1 p2 data 27 90 p1 p2 data
1 p2
p
1 p2
Data Data bytes containing the dot information
In this mode, printing in adjacent columns is not possible.
define the number of columns Number of columns = p
+ (p2 * 256)
1
i
Programmer Reference Guide U26169-J-Z716-1-7600
Bitmap graphics IBM Proprinter emulation

Select graphics mode (expanded)

Control sequence Hexadecimal Decimal
ESC [ g p
1 p2 p3
The graphics data is transferred in columns. A column contains either 8 or 24 individual vertical dots.
data 1B 5B 67 p1 p2 p3 data 27 91 103 p1 p2 p3 data
Each graphics line begins with this command. p1
and p2 define the amount of graphics data.
The definition of the graphics mode with p3 (vertical and horizontal resolution) follows.
Data
B7B6B5B4B3B2B1B
1/72 inch
Figure 3: Vertical dot density 72 dpi
0
Programmer Reference Guide U26169-J-Z716-1-7600
Bitmap graphics IBM Proprinter emulation
1/180 inch
First
data byte
d1
B7B6B5B4B3B2B1B
Second
data byte
d2
B7B6B5B4B3B2B1B
0
Third
data byte
d3
B7B6B5B4B3B2B1B
0
0
Figure 4: Vertical dot density 180 dpi
Programmer Reference Guide U26169-J-Z716-1-7600
Bitmap graphics IBM Proprinter emulation
p1 p
p
3
2
define the number of graphics data bytes + 1 Number of graphics data bytes = p
1
defines the graphics mode
Valid parameter values:
Dec Hex Mode Number
of needles
0 1 2
3 08 09 11 12
1)
00 01 02
03 08 09 0B 0C
Single density Double density Double density and high speed Quadruple density
1)
1)
Single density Double density Triple density Sixfold density
1)
In this mode, printing in adjacent columns is not possible.
8 8 8
8 24 24 24 24
+ (p2 * 256) * number of bytes/column
dpi Compatible hori-
zontal
60 120 120
240 60 120 180 360
verti­cal
72 72 72
72 180 180 180 180
commands
ESC K ESC L ESC Y
ESC Z
Data Data bytes containing the dot information
Programmer Reference Guide U26169-J-Z716-1-7600
Miscellaneous co mma nds IBM Proprinter emulation

Miscellaneous commands

Set default tab stops
Transparent print data for one character
Transparent print data for several characters
Automatic line feed
Set printer online
Set printer offline
Clear line buffer
Delete character
NUL function
Additional commands

Set default tab stops

Control sequence Hexadecimal Decimal
ESC R 1B 52 27 82
This command causes a horizontal tab stop to be set in every eighth column. All set vertical tab stops are reset.

Transparent print data for one characte r

Control sequence Hexadecimal Decimal
ESC ^ p1 1B 5E p1 27 94 p1
The character in the specified code location is printed. Characters defined as non-printing
characters can also be printed (e.g. characters between X’00 and X’20). Every transparent print data byte is interpreted as an individual character code. If no
character is defined for a character code, a space is printed.
Programmer Reference Guide U26169-J-Z716-1-7600
Miscellaneous co mma nds IBM Proprinter emulation

Transparent print data for several characters

Control sequence Hexadecimal Decimal
ESC \ p
1 p2
This command enables printing the characters in all code locations. Characters defined as
non-printing characters can also be printed (e.g. characters between X’00 and X’20). Every transparent print data byte is interpreted as an individual character code. If no
character is defined for a character code, a space is printed.
1B 5C p1 p
2
27 92 p1 p
2
p
define the number of transparent print data bytes
1 p2
Number = (p
Automatic line feed
Control sequence Hexadecimal Decimal
ESC 5 p
This command sets/resets the automatic line feed function. p
1
Valid parameter values:
Dec Hex Meaning
0 1 48 49
1
Automatic line feed
00 01 30 31
+ (p2 * 256))
1
1B 35 p
Reset Set Reset Set
1
(CR = CR) (CR = CR + LF) (CR = CR) (CR = CR + LF)
27 53 p
1
Programmer Reference Guide U26169-J-Z716-1-7600
Miscellaneous co mma nds IBM Proprinter emulation

Set printer online

Control character Hexadecimal Decimal
DC1 11 17
Sets an offline printer online.
i
The command is ineffective if the printer was set offline with the ONLINE button.
Set printer offline
Control sequence Hexadecimal Decimal
ESC Q # 1B 51 23 27 81 35 ESC Q $ 1B 51 24 27 81 36
Sets the printer offline. All following data is ignored except for the Set printer online command.
Clear line buffer
Control character Hexadecimal Decimal
CAN 18 24
Clears the whole contents of the line buffer.
Delete character
Control character Hexadecimal Decimal
DEL 7F 127
Deletes the character received last.
Programmer Reference Guide U26169-J-Z716-1-7600
Miscellaneous co mma nds IBM Proprinter emulation
NUL function
Control character Hexadecimal Decimal
NUL 00 00
This control character has no effect.
Additional commands
Command replacement $$
Control sequence Hexadecimal Decimal
$$ 24 24 36 36
This command replaces the control sequence ESC [, hexadecimal 1B 5B, decimal 27 91.
Command replacement $$/
Control sequence Hexadecimal Decimal
$$/ 24 24 2F 36 36 47
This command replaces the control sequence ESC, hexadecimal 1B, decimal 27.
Macro selection
Control sequence Hexadecimal Decimal
ESC [ p
; p2 SP r 1B 5B p1 3B p2 20 72 27 91 p1 59 p2 32 114
1
p1 can have the values 1 to 4. p2 selects the emulation.
= 2
p
2
IBM Proprinter
p
= 3
2
IBM Proprinter, AGM
p
= 4
2
Epson LQ-2550
Programmer Reference Guide U26169-J-Z716-1-7600
Alternative graphics mode AGM IBM Proprinter emulation
Alternative graphics mode AGM
The alternative graphics mode can be selected in the menu (see [2]). In the alternative graphics mode, the functions of the commands described below change:
Set
Set
Relative vertical tabulation forward
Select graphics mode
Set n/60 inch line spacing mode
Control sequence Hexadecimal Decimal
ESC A p
A line spacing of n/60 is set. The defined line spacing is activated directly in the AGM mode.
n
/60 inch line spacing mode
n
/
1
216
or n/
inch line spacing mode
180
1B 41 p
1
27 65 p
1
p
sets the n/60 inch line spacing mode
1
Range: X’01 p1 X’55
Set n/216 or n/180 inch line spacing mode
Control sequence Hexadecimal Decimal
or n/
216
1B 33 p
180
n
/
180
or n/
1
inch is set depending on the line spacing unit (see table
inch.
inch increments
180
ESC 3 p
A line spacing of n/
1
216
“Set line spacing unit”).
The AGM mode default is p
Line spacing in n/
1
Range: X’01 p1 X’FF
27 51 p
1
Programmer Reference Guide U26169-J-Z716-1-7600
Alternative graphics mode AGM IBM Proprinter emulation
Relative vertical tabulation forward
Control sequence Hexadecimal Decimal
ESC J p
1
1B 4A p
1
27 74 p
1
The vertical print position is moved down n/ unit (see Set line spacing unit).
The AGM mode default is p
Relative vertical shift in n/
1
n
/
180
inch.
216
or n/
Range: X’00 p1 X’FF
or n/
216
180
180
inch increments
inch depending on the line spacing
Programmer Reference Guide U26169-J-Z716-1-7600
Alternative graphics mode AGM IBM Proprinter emulation

Select graphics mode

Control sequence Hexadecimal Decimal
ESC * p
1 p2 p3
The graphics data is transferred in columns. A column contains either 8 or 24 individual vertical dots.
Each graphics line begins with the command that defines the graphics mode (vertical and horizontal resolution). A defined number of pixel items follows. The number of columns is defined by parameters p2 and p3.
data 1B 2A p1 p2 p3 data 27 42 p1 p2 p3 data
Data
B7B6B5B4B3B2B1B
1/60 inch
Figure 5: Vertical dot density 60 dpi
0
Programmer Reference Guide U26169-J-Z716-1-7600
Alternative graphics mode AGM IBM Proprinter emulation
1/180 inch
First
data byte
d1
B7B6B5B4B3B2B1B
Second
data byte
d2
B7B6B5B4B3B2B1B
0
Third
data byte
d3
B7B6B5B4B3B2B1B
0
0
Figure 6: Vertical dot density 180 dpi
Programmer Reference Guide U26169-J-Z716-1-7600
Alternative graphics mode AGM IBM Proprinter emulation
p
defines the graphics mode
1
Valid parameter values:
Dec Hex Meaning Number
of needles
0 1 2
3 4 6 32 33 38 39 40
1)
p
00 01 02
03 04 06 20 21 26 27 28
Single density Double density Double density and high speed
1)
Quadruple density CRT 1 CRT 2 Single density Double density CRT 3 Triple density Sixfold density
1)
1)
In this mode, printing in adjacent columns is not possible.
2 p3
define the number of columns
8 8 8
8 8 8 24 24 24 24 24
dpi Compatible hori-
zontal
60 120 120
240 80 90 60 120 90 180 360
verti­cal
60 60 60
60 60 60 180 180 180 180 180
commands
ESC K ESC L ESC Y
ESC Z
Number of columns = p
+ (p3 * 256)
2
Data Data bytes containing the dot information
Programmer Reference Guide U26169-J-Z716-1-7600

Description of the Epson LQ-2550 emulation

With the Epson LQ-2550 emulation, the 9014, 9015, 9015 E and 9016 printers behave like the Epson LQ-2550.
The commands are divided into the following command groups:
Initial condition
Forms transport mechanism
Forms layout
Forms transport
Print carriage movements
Font design
Bitmap graphics
Miscellaneous commands
ESC / P2 commands
Programmer Reference Guide U26169-J-Z716-1-7600
Initial condition Epson LQ-2550 emulation

Initial condition

After power-on, the printer is in the following initial condition:
Printer buffer cleared – Tab stops in all vertical tabulation channels reset – Vertical tabulation channel 0 selected – Proportional spacing mode reset – Character spacing zero – Horizontal tab stops set in every eighth column – Print direction bidirectional – Text left-justified – User-defined character set inactive and cleared – Normal character style – Italics mode off – Boldface mode off – Double strike mode off – Subscript/superscript mode off – Condensed mode off – Expanded mode off – Normal character height – Underscore mode off – Line marking mode off – Character enlargement mode off – Reassign graphics mode off – Delete MSB default
Programmer Reference Guide U26169-J-Z716-1-7600
Initial condition Epson LQ-2550 emulation
The following functions depend on the menu setting:
Form length – Perforation skip mode – Left margin – Right margin – Line spacing – Font (type style) – Print quality (DRAFT , LQ, NLQ) – Character set – National version – Character pitch – Paper source

Reset to initial condition

Control sequence Hexadecimal Decimal
ESC @ 1B 40 27 64
This command sets the printer to the initial condition. The user-defined character set is not reset by this command.
Programmer Reference Guide U26169-J-Z716-1-7600
Forms transport mechanism Epson LQ-2550 emulation

Forms transport mechanism

The printer is always equipped with two continuous forms tractors. The last sheet of a conti­nuous forms stack can be printed on up to the end of the form.
The capability of the printer to feed paper from different sources is optimally supplemented by the option that automatically adjusts the distance between the print head and the print platen.

Select single form feed

Control sequence Hexadecimal Decimal
ESC EM p
1
This control character is only available for the 9014 and 9016 printers, because the
i
other printers don’t have the equipment for single form feed.
9014 printer:
1B 19 p
1
27 25 p
1
EM=19
Form feed
p
= 1
1
ASF, bin 1 or 2
p
= 2
1
ASF, bin 2 or 3
p
= 3
1
ASF, bin 1 or 2 or 3
p1 = 82 or R: (52)
eject sheet
9016 printer
EM=19
Form feed
p1 = 82 or R: (52)
eject sheet
Programmer Reference Guide U26169-J-Z716-1-7600
Forms transport mechanism Epson LQ-2550 emulation

Additional commands

Eject sheet
Control sequence Hexadecimal Decimal
ESC [ < s 1B 5B 3C 73 27 91 60 115
This command causes a vertical form feed to the beginning of the next page.
Select paper source and ejection, number of copies, cut-off mode
(SPS or SPSIF)
Control sequence Hexadecimal Decimal
ESC [ > p
The control character > should only be used if an indent or a form feed (FF) is to be
i
performed.
; p
1
2 ; p3 ; p4
s 1B 5B 3E p1 3B p2 3B p
3B p4 73
3
27 91 62 p 115
59 p2 59 p3 59 p4
1
= 0 to 1 is only available for the 9015 printer with cut-off feature.
p
i
9014 printer
p
1
4
= 0
Manual single form feed
p
=1 to 3
1
ASF, bin 1 to 3
p
= 6
1
Ignored
p
= 7
1
Tractor
p
= 8
1
ASF, bin 1 or 2
p
= 9
1
ASF, bin 2 or 3
Programmer Reference Guide U26169-J-Z716-1-7600
Forms transport mechanism Epson LQ-2550 emulation
p1= 10
ASF, bin 1 or 2 or 3
p
= 0
2
AGC = automatic gap control
p
= 1 to 6
2
PCC = programmable copy control (Print gap for 1- to 6-ply copies)
= 0
p
3
Cut-off sheets in upper tray
p
= 1
3
Paper exit front side (confirmed by start/stop key)
p
= 2
3
Paper exit front side, (not confirmed by start/stop key , b ut controlled by application)
p
= 3
3
Batch output (rear side)
Programmer Reference Guide U26169-J-Z716-1-7600
Forms transport mechanism Epson LQ-2550 emulation
9015 printer
p
= 0 to 3
1
Ignored
p
= 6
1
Upper tractor
p
= 7
1
Lower tractor
p
= 8 to 10
1
Ignored
p
= 15
1
Selection of both tractors (upper and lower)
p
= 0
2
AGC (automatic gap control)
p
= 1 to 6
2
PCC (programmable copy control)
p
= 0
3
Cut-off sheets in upper tray
p
= 1
3
Ignored
p
= 2
3
Ignored
p
= 3
3
Sheets in stack (default)
p
= 0
4
Cut-off feature off (default)
p
= 1
4
Cut-off feature on
Programmer Reference Guide U26169-J-Z716-1-7600
Forms transport mechanism Epson LQ-2550 emulation
9015 E printer
= 0
p
1
Manual single form feed
p
=1 to 3
1
Ignored
p
= 6
1
Upper tractor
p
= 7
1
Lower tractor
p
= 8 to 10
1
Ignored
p
= 15
1
Selection of both tractors (upper and lower)
p
= 0
2
AGC = automatic gap control
p
= 1 to 6
2
PCC = programmable copy control (Print gap for 1- to 6-ply copies)
= 0
p
3
Ignored
p
= 1
3
Paper exit front side (confirmed by start/stop key)
p
= 2
3
Paper exit front side, (not confirmed by start/stop key, but controlled by application)
p
= 3
3
Batch output (rear side)
Programmer Reference Guide U26169-J-Z716-1-7600
Forms transport mechanism Epson LQ-2550 emulation
9016 printer
= 0
p
1
Manual single form feed
p
= 1 bis 3
1
Ignored
p
= 6
1
Ignored
p
= 7
1
Lower Tractor
p
= 8 bis 10
1
Ignored
p
= 15
1
Ignored
p
= 0
2
AGC = automatic gap control
p
= 1 to 6
2
PCC = programmable copy control (Print gap for 1- to 6-ply copies)
= 0
p
3
Ignored
p
= 1
3
Paper exit front side (confirmed by start/stop key)
p
= 2
3
Paper exit front side, (not confirmed by start/stop key, but controlled by application)
p
= 3
3
Ignored
Programmer Reference Guide U26169-J-Z716-1-7600
Forms layout Epson LQ-2550 emulation

Forms layout

The dimensions of a form can be selected freely. The following commands are available:
Set form length in lines
Set form length in inche s
Set perforation skip mode
Reset perforation skip mode
Set left margin
Set right margin

Set form length in lines

Control sequence Hexadecimal Decimal
ESC C p
1
This command specifies the physical form length in multiples of the current line spacing and sets the current vertical position as the first print line (top of form).
1B 43 p
1
27 67 p
1
The set form length is not affected by later changes of the line spacing. p
Form length in multiples of the current line spacing
1
Range: X’01 p1 X’7F
The minimum form length is 3 inches and the maximum form length is 22 inches.
Programmer Reference Guide U26169-J-Z716-1-7600
Forms layout Epson LQ-2550 emulation

Set form length in inches

Control sequence Hexadecimal Decimal
ESC C NUL p
1
This command specifies the physical form length in inches and sets the current vertical position as the first print line (top of form).
1B 43 00 p
1
27 67 00 p
1
p
Form length in inches
1
Range: X’01 p1 X’16
Set perforation skip mode
Control sequence Hexadecimal Decimal
ESC N p
The perforation area is specified in number of lines at the current line spacing. The perforation area is not changed by later changes of the line spacing. It is skipped at the end of every page.
The perforation area must be selected so that at least The perforation skip mode is reset by changing the form length or by the Reset perforation
skip mode command. p
1
1
Perforation area in lines at the current line spacing
Range: X’01 p1 X’7F
The minimum form length is 3 inches and the maximum form length is 22 inches.
1B 4E p
1
27 78 p
4
/6 inch remain as print area.
1
Programmer Reference Guide U26169-J-Z716-1-7600
Forms layout Epson LQ-2550 emulation

Reset perforation skip mode

Control sequence Hexadecimal Decimal
ESC O 1B 4F 27 79
The perforation skip mode is reset.
Set left margin
Control sequence Hexadecimal Decimal
ESC l p
1
The left margin is set to the right edge of the specified column.
1B 6C p
1
27 108 p
1
The first column of a line is column 1. The set left margin is not affected by later changes of the character pitch. The left margin must be selected so that at least print area between the left and right margins.
This command must be located at the beginning of the line. p
1
Set right margin
Control sequence Hexadecimal Decimal
ESC Q p
The right margin is set to the right edge of the specified column. The first column of a line is column 1. The set right margin is not affected by later changes
of the character pitch. The right margin must be selected so that at least as print area between the left and right margins.
This command must be located at the beginning of the line. p
1
Left margin in columns at the current character pitch
Range: X’00 p1 X’FC
1
1B 51 p
1
27 81 p
Right margin in columns at the current character pitch
4
/10 inch remain as
1
4
/10 inch remain
Range: X’04 p1 X’FF
Programmer Reference Guide U26169-J-Z716-1-7600
Forms transport Epson LQ-2550 emulation
Forms transport
The following commands affect paper movements:
Set 8 lpi
Set 6 lpi
Set
Set
Set
Line feed (LF)
Form feed (FF)
Relative vertical tabulation forward
Relative vertical tabulation reverse
Select vertical tabulation channel
Set vertical tab stops
Set vertical tab stops in channel
n
/60 inch line spacing mode
n
/
inch line spacing mode
180
n
/
inch line spacing mode
360
Vertical tabulation
Set 8 lpi
Control sequence Hexadecimal Decimal
ESC 0 1B 30 27 48
The line spacing is set to 8 lines per inch.
Set 6 lpi
Control sequence Hexadecimal Decimal
ESC 2 1B 32 27 50
The line spacing is set to 6 lines per inch.
Programmer Reference Guide U26169-J-Z716-1-7600
Forms transport Epson LQ-2550 emulation
Set n/60 inch line spacing mode
Control sequence Hexadecimal Decimal
ESC A p
1
The line spacing is set to n/60 inch.
1B 41 p
1
27 65 p
1
p
Line spacing in 1/60 inch increments
1
Range: X’00 p1 X’7F
Set n/180 inch line spacing mode
Control sequence Hexadecimal Decimal
ESC 3 p
The line spacing is set to n/ p
1
1
180
Line spacing in 1/
180
Range: X’00 p1 X’FF
1B 33 p
1
inch.
inch increments
27 51 p
1
Programmer Reference Guide U26169-J-Z716-1-7600
Forms transport Epson LQ-2550 emulation

Set n/360 inch line spacing mode

Control sequence Hexadecimal Decimal
ESC + p
1
1B 2B p
1
27 43 p
1
The line spacing is set to n/ p
1
Line feed (LF)
Control character Hexadecimal Decimal
LF 0A 10
The line feed is performed using the current line spacing. The contents of the line buffer are printed.
The expanded mode for one line is terminated by this control character.
i
Form feed (FF)
Control character Hexadecimal Decimal
FF 0C 12
inch.
360
Line spacing in 1/
Range: X’00 p1 X’FF
A carriage return is also performed depending on the menu setting.
inch increments
360
The paper is advanced to the next top of form position. The contents of the line buffer are printed.
The expanded mode for one line is terminated by this control character.
i
A carriage return is also performed depending on the menu setting.
Programmer Reference Guide U26169-J-Z716-1-7600
Forms transport Epson LQ-2550 emulation

Relative vertical tabulation forward

Control sequence Hexadecimal Decimal
ESC J p
1
1B 4A p
1
27 74 p
1
The vertical print position is moved down in n/ p
Relative vertical movement in n/
1
Range: X’00 p1 X’FF
Relative vertical tabulation reverse
Control sequence Hexadecimal Decimal
ESC j p
1
1B 6A p
The vertical print position is moved up in n/ p
Relative vertical movement in n/
1
Range: X’00 p1 X’FF
Select vertical tabulation channel
Control sequence Hexadecimal Decimal
ESC / p
1
1B 2F p
180
inch increments
180
1
180
inch increments
180
1
inch increments.
27 106 p
inch increments.
27 47 p
1
1
This command selects the vertical tabulation channel that contains the vertical tab stops used by the Vertica l tabulation command.
p
Number of the vertical tabulation channel
1
Range: X’00 p1 X’07
Programmer Reference Guide U26169-J-Z716-1-7600
Forms transport Epson LQ-2550 emulation

Set vertical tab stops

Control sequence Hexadecimal Decimal
ESC B p
This command sets vertical tab stops in channel 0 (see Select vertical tabulation channel and Set vertical tab stops in channel). Up to 16 vertical tab stops can be defined per channel. Vertical tab stops set previously are reset.
The vertical tab stops must be specified in ascending order in lines. The absolute vertical tab stop locations depend on the current line spacing.
The line count begins with 1 at the first print line. The set vertical tab stops are not affected by later changes of the line spacing. All vertical tab stops are reset if no parameter is specified (ESC B NUL). p
... p
1
... pk NUL 1B 42 p1 ... pk 00 27 66 p1 ... pk 00
1
k
Vertical tab stops in lines (1 k 16)
Range: X’01 p
X’FF
k
Programmer Reference Guide U26169-J-Z716-1-7600
Forms transport Epson LQ-2550 emulation

Set vertical tab stops in channel

Control sequence Hexadecimal Decimal
ESC b p
This command sets vertical tab stops in the specified channel (see table “Set vertical tab
stops” on page 86).
Eight different vertical tabulation channels are available. Up to 16 vertical tab stops can be defined per channel. Vertical tab stops set previously in the specified channel are reset.
The vertical tab stops in the channel must be specified in ascending order in lines. The absolute vertical tab stop locations depend on the current line spacing.
The line count begins with 1 at the first print line. The set vertical tab stops are not affected by later changes of the line spacing. All vertical tab stops set in the specified channel are reset if parameters p2 to pk are missing
(ESC b p1 NUL).
... pk NUL 1B 62 p1 p2 ... pk 00 27 98 p1 p2 ... pk 00
1 p2
p
p
1
... p
2
Vertical tabulation channel
Range: X’00 p
k
Vertical tab stops in lines (2 k 17)
Range: X’01 p
X’07
k
X’FF
k
Programmer Reference Guide U26169-J-Z716-1-7600
Forms transport Epson LQ-2550 emulation

Vertical tabulation

Control character Hexadecimal Decimal
VT 0B 11
This control character causes vertical tabulation to the next vertical tab stop in the current vertical tabulation channel. Vertical tabulation is possible anywhere within a line.
Repeating this control character causes tab stops to be skipped. VT VT VT, for example, positions the print head to the third vertical tab stop. If no tab stops are set, this control character performs a line feed.
A carriage return is also performed depending on the menu setting. The expanded
i
mode for one line is terminated by this control character.
Programmer Reference Guide U26169-J-Z716-1-7600
Print carriage movements Epson LQ-2550 emulation

Print carriage movements

The following commands affect the print carriage movements:
Carriage return
Space
Backspace
Set 10 cpi
Set 12 cpi
Set 15 cpi
Set/reset proportional spacing mode
Set character spacing mode
Absolute horizontal tabulation
Relative horizontal tabulation
Set horizontal tab stops
Horizontal tabulation
Set print direction (bidirectional or unidirectional)
Set unidirectional print mode for one line
Select text alignment

Carriage return

Control character Hexadecimal Decimal
CR 0D 13
The print carriage moves to the beginning of the line (left margin). The character following CR is printed as the first character of the line.
A line feed may be performed in addition to the carriage return depending on the
i
menu setting. When writing new application programs, take care to terminate each line with LF and CR.
Programmer Reference Guide U26169-J-Z716-1-7600
Print carriage movements Epson LQ-2550 emulation

Space

Control character Hexadecimal Decimal
SP 20 32
A space is printed using the set or programmed character pitch. In the expanded and spaced modes the space width is increased accordingly.
Backspace
Control character Hexadecimal Decimal
BS 08 08
The print head is backsaced one space width.
Set 10 cpi (Pica)
Control sequence Hexadecimal Decimal
ESC P 1B 50 27 80
The character pitch is set to 10 cpi.
Set 12 cpi (Elite)
Control sequence Hexadecimal Decimal
ESC M 1B 4D 27 77
The character pitch is set to 12 cpi.
Programmer Reference Guide U26169-J-Z716-1-7600
Print carriage movements Epson LQ-2550 emulation

Set 15 cpi

Control sequence Hexadecimal Decimal
ESC g 1B 67 27 103
The character pitch is set to 15 cpi.
Set/reset proportional spacing mode
Control sequence Hexadecimal Decimal
ESC p p
1
1B 70 p
1
In the proportional spacing mode, the character width differs. An i, for example, is narrower than an m.
Proportional spacing is possible with all fonts except the OCR fonts. When the proportional mode is reset, the previously set character pitch becomes effective
again.
27 112 p
1
p
sets/resets the proportional spacing mode
1
Valid parameter values:
Dec Hex Meaning
0 1 48 49
Programmer Reference Guide U26169-J-Z716-1-7600
00 01 30 31
Reset proportional spacing mode Set proportional spacing mode Reset proportional spacing mode Set proportional spacing mode
Print carriage movements Epson LQ-2550 emulation

Set character spacing mode

Control sequence Hexadecimal Decimal
ESC SP p
1
This command sets the space between characters (spaced mode). The space depends on the selected print quality.
1B 20 p
1
27 32 p
1
p
Space in 1/
1
Space in
Range: X’00 p
inch increments in DRAFT mode
120
1
/
inch increments in LQ/NLQ mode
180
X’7F
1
Absolute horizontal tabulation
Control sequence Hexadecimal Decimal
ESC $ p
The print head is moved to the specified print position. The specified position is based on the set left margin and is defined in
p
1 p2
Range: X’00 p Range: X’00 p
1 p2
define the absolute horizontal position Horizontal position = (p
X’FF
1
X’03
2
1B 24 p1 p
+ (p2 * 256)) * 1/60 inch
1
2
1
/60 inch increments.
27 36 p1 p
2
Programmer Reference Guide U26169-J-Z716-1-7600
Print carriage movements Epson LQ-2550 emulation

Relative horizontal tabulation

Control sequence Hexadecimal Decimal
ESC \ p
1 p2
1B 5C p1 p
2
27 92 p1 p
2
The print head moves right or left the defined amount. The shift is based on the current print position and is defined in
p
define the shift
1 p2
p
< X’80 causes a right shift.
2
Shift = (p1 + (p2 * 256)) * 1/ Shift = (p
X’80 causes a left shift.
p
2
Shift = 65536 - (p Shift = 65536 - (p
Range (Draft): X’00 ≤ p
Range (NLQ/LQ): X’00 p
1
/
(DRAFT) or 1/
120
+ (p2 * 256)) * 1/
1
+ (p2 * 256)) * 1/
1
+ (p2 * 256)) * 1/
1
X’FF^
1
X’00 p
X’00 p
X’03
2
X’FF
1
X’03
2
inch increments.
180
inch (DRAFT mode)
120
inch (LQ/NLQ mode)
180
inch (DRAFT mode)
120
inch (LQ/NLQ mode)
180
Programmer Reference Guide U26169-J-Z716-1-7600
Print carriage movements Epson LQ-2550 emulation

Set horizontal tab stops

Control sequence Hexadecimal Decimal
ESC D p
This command sets horizontal tab stops. Up to 32 horizontal tab stops can be defined. Previously set horizontal tab stops are reset.
The horizontal tab stops must be defined in ascending order in multiples of the current character pitch. The absolute horizontal tab stop locations depend on the current character pitch.
The set horizontal tab stops are not affected by later changes of the character pitch. The default is every eighth column. All horizontal tab stops are reset if no parameter is specified (ESC D NUL). p
... p
1
... pk NUL 1B 44 p1 ... pk 00 27 68 p1 ... pk 00
1
k
Horizontal tab stops in multiples of the character pitch (1 k 32)
Horizontal tabulation
Control character Hexadecimal Decimal
HT 09 09
The control character may be located anywhere within a line and causes the next horizontal tab stop to be accessed. Repeating this control character causes horizontal tab stops to be skipped. HT HT HT HT, for example, causes the fourth horizontal tab stop to be accessed.
Conditions for horizontal tabulation:
At least one horizontal tab stop must be set.
The printer ignores the control character if no horizontal tab stops are set or if the end
of the line would be exceeded.
If the print head is on a set horizontal tab stop, the next horizontal tab stop is accessed.
Range: X’01 p
X’FF
k
Programmer Reference Guide U26169-J-Z716-1-7600
Print carriage movements Epson LQ-2550 emulation

Set print direction (bidirectional or unidirectional)

Control sequence Hexadecimal Decimal
ESC U p
Unidirectional printing should be used if high positioning precision is required (e.g. in the graphics mode). The default is bidirectional printing.
1
1B 55 p
1
27 85 p
1
p Valid parameter values:
Dec Hex Meaning
0 1 48 49
defines the print direction
1
00 01 30 31
The command is ignored if the menu setting does not permit unidirectional printing
i
(see [2]).
Bidirectional print direction Unidirectional print direction Bidirectional print direction Unidirectional print direction
Set unidirectional print mode for one line
Control sequence Hexadecimal Decimal
ESC < 1B 3C 27 60
The unidirectional print mode should be used if high positioning precision is required (e.g. in the graphics mode). The default is bidirectional printing.
The command is ignored if the menu setting does not permit unidirectional printing
i
(see [2]).
Programmer Reference Guide U26169-J-Z716-1-7600
Print carriage movements Epson LQ-2550 emulation

Select text alignment

Control sequence Hexadecimal Decimal
ESC a p
1
The text alignment defines the horizontal position of a print line relative to the set margins (see Set left margin).
1B 61 p
1
27 97 p
1
p
defines the text alignment mode
1
Valid parameter values:
Dec Hex Meaning
0 1 2 3
i
00 01 02 03
Left-justified text alignment Centered text alignment Right-justified text alignment Justification (left and right)
Horizontal tabulation and backspaces are ignored except for left-justified alignment.
Programmer Reference Guide U26169-J-Z716-1-7600
Font design Epson LQ-2550 emulation

Font design

The following commands are available for font design:
Select font
Select national version
Select character set
Set/reset user-defined character set
Copy current character set into user-defined character set
Define user-defined characters
Select print quality
Select character style
Set italics mode
Reset italics mode
Set boldface mode
Reset boldface mode
Set double strike mode
Reset double strike mode
Set subscript/superscript mode
Reset subscript/superscript mode
Set condensed mode
Reset condensed mode
Set expanded mode for one line
Set/reset expanded mode
Reset expanded mode
Set/reset double height mode
Select print mode combination
Set/reset underscore mode
Set/reset line marking mode
Additional commands
Programmer Reference Guide U26169-J-Z716-1-7600
Font design Epson LQ-2550 emulation

Select font

Control sequence Hexadecimal Decimal
ESC k p
1
The default character complement of the printer contains eleven fonts. Further fonts can be plugged in with a PROM on the PM (personality module).
1B 6B p
1
27 107 p
1
p
defines the font
1
Valid parameter values:
Dec Hex Meaning
0 1 2 3 4 5 6 7 8
00 01 02 03 04 05 06 07 08
Roman Sans Serif Courier Prestige Script OCR-B OCR-A Orator-C Orator
The OCR-A and OCR-B fonts are machine-readable fonts. Machine readability is
i
ensured only if the character pitch is 10 cpi.
Programmer Reference Guide U26169-J-Z716-1-7600
Font design Epson LQ-2550 emulation

Select national version

Control sequence Hexadecimal Decimal
ESC R p
1
1B 52 p
1
This command allows switching between national versions anywhere within the text. In the initial condition, the printer uses the national version selected in the menu.
27 82 p
1
p
defines the national version
1
Valid parameter values:
Dec Hex Meaning
0 1 2 3 4 5 6 7 8 9 10 11 12 13 64
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 40
USA France Germany Great Britain Denmark 1 Sweden Italy Spain 1 Japan Norway Denmark 2 Spain 2 Latin America Turkey Legal
Programmer Reference Guide U26169-J-Z716-1-7600
Font design Epson LQ-2550 emulation

Select character set

Control sequence Hexadecimal Decimal
ESC t p
1
This command allows switching between character sets anywhere within the text. In the initial condition, the printer uses the character set selected in the menu.
1B 74 p
1
27 116 p
1
p
defines the character set
1
Valid parameter values:
Dec Hex Meaning
0 1 2
00 01 02
Epson ITALIC Epson EXT GCT User-defined character set
Set/reset user-defin ed charac t er set
Control sequence Hexadecimal Decimal
ESC % p
1
This command allows switching between the current character set and the user-defined character set anywhere within the text.
p
defines the character set
1
Valid parameter values:
Dec Hex Meaning
0 1
00 01
Current character set User-defined character set
1B 25 p
1
27 37 p
1
Programmer Reference Guide U26169-J-Z716-1-7600
Loading...