Reference Guide

Index
Search
Glossary
Contents
Help

Product Information / Command Summary

ESC/P 2 and FX Commands

ESC/P 2 mode
FX mode

This section lists the printer commands supported in the ESC/P 2 and FX emulation modes.

ESC/P 2 mode

General operation

Initialize printer

ESC @

Control paper loading/ejecting

ESC EM n

Paper feeding

Carriage return

CR

Form feed

FF

Line feed

LF

Select 1/8-inch line spacing

ESC 0

Select 1/6-inch line spacing

ESC 2

Set n/180-inch line spacing

ESC 3 n

Set n/360-inch line spacing

ESC + n

Page format

Set page format

ESC ( c nn

Set page length in defined units

ESC ( C nn

Set page length in lines

ESC C n

Set page length in inches

ESC C NUL

Set bottom margin for continuous paper

ESC N n

Cancel top/bottom margin for continuous paper

ESC O

Set left margin

ESC l n

Set right margin

ESC Q n

Print position motion

Set absolute horizontal print position

ESC $ n1 n2

Set relative horizontal print position

ESC \ n1 n2

Set absolute vertical print position

ESC ( V nn

Set relative vertical print position

ESC ( v nn

Set horizontal tabs

ESC D nn

Tab horizontally

HT

Set vertical tabs

ESC B nn

Tab vertically

VT

Perform n/180 inch line feed

ESC J n

Reverse n/180 inch line feed

ESC j n

Font selection

Select typeface

ESC k n

Select font by pitch and point

ESC X nn

Select 10 cpi

ESC P

Select 12 cpi

ESC M

Select 15 cpi

ESC g

Select proportional mode on/off

ESC p 1/0

Select Letter Quality or draft

ESC x n

Select italic font

ESC 4

Cancel italic font

ESC 5

Select bold font

ESC E

Cancel bold font

ESC F

Set printing mode

ESC ! n

Set Horizontal Motion Index (HMI)

ESC c

Font enhancement

Select condensed printing

SI

Cancel condensed printing

DC2

Select double-width printing (one line)

SO

Turn double-width printing on/off

ESC W 1/0

Cancel double-width printing (one line)

DC4

Turn double-height printing on/off

ESC w 1/0

Select double-strike printing

ESC G

Cancel double-strike printing

ESC H

Select superscript/subscript printing

ESC Sn

Select condensed printing

ESC S I

Cancel superscript/subscript printing

ESC T

Select line/score

ESC ( - nn

Turn underline on/off

ESC - 1/0

Select character style

ESC q n

Select double-width printing (one line)

ESC SO

Spacing

Set intercharacter space

ESC SP n

Define unit

ESC ( U nn

Character handling

Assign character table

ESC ( t

Select character table

ESC t n

Select an international character set

ESC R n

Define User-Defined character

ESC &

Copy ROM to RAM

ESC :

Select user-defined set

ESC % n

Set upper control codes

ESC 6

Cancel upper control codes

ESC 7

Print data as characters

ESC ( ^

Bit image

Select bit image printing

ESC *

Select graphic mode

ESC ( G nn

Print raster graphics

ESC . c v hm


[Top]

FX mode

The following section lists and describes all FX and LQ commands by topic.

Printer operation

Initialize printer

ESC @

Control paper loading/ejecting

ESC EM n

Data control

Carriage return

CR

Vertical motion

Form feed

FF

Set page length in lines

ESC C n

Set page length in inches

ESC C NUL

Set skip over perforation

ESC N n

Cancel skip over perforation

ESC O

Line feed

LF

Select 1/8-inch line spacing

ESC 0

Select 7/72-inch line spacing

ESC 1

Select 1/6-inch line spacing

ESC 2

Select n/216-inch line spacing

ESC 3 n

Perform n/216-inch line spacing

ESC J

Tab vertically

VT

Set vertical tabs

ESC B nn

Note:
Your printer will not print characters beyond one page length (set with the ESC C or ESC C 0 commands), while an FX printer might print them.

Horizontal motion

Set absolute horizontal print position

ESC $ n1 n2

Set relative horizontal print position

ESC\n1 n2

Set left margin

ESC l n

Set right margin

ESC Q n

Tab horizontally

HT

Set horizontal tabs

ESC D nn

Overall printing style

Select letter quality or draft

ESC x n

Note:
The print quality and speed cannot be changed even if you send the ESC x command.

Select typeface family

ESC k n

Set printing mode

ESC ! n

Print size and character width

Select 10 cpi

ESC P

Select 12 cpi

ESC M

Select proportional mode on/off

ESC p 1/0

Select condensed printing

SI

Cancel condensed printing

DC2

Select double-width printing (one line)

SO

Cancel double-width printing (one line)

DC4

Turn double-width printing on/off

ESC W 1/0

Turn double-height printing on/off

ESC w 1/0

Font enhancement

Select bold font

ESC E

Cancel bold font

ESC F

Select double-strike printing

ESC G

Cancel double-strike printing

ESC H

Note:
The ESC G and ESC E commands produce identical effects; you cannot obtain darker print by combining the two.

Select superscript/subscript printing

ESC Sn

Cancel superscript/subscript printing

ESC T

Select italic font

ESC 4

Cancel italic font

ESC 5

Turn underline on/off

ESC - 1/0

Word processing

Set intercharacter space

ESC SP n

Select character tables

ESC t n

Assign character tables

ESC ( t nn

Select international character set

ESC R n

Set upper control codes

ESC 6

Cancel upper control codes

ESC 7

User-defined characters

Define user-defined characters

ESC &

Note:
The appearance of characters defined using ESC & may differ slightly from an actual FX printer.

Copy ROM to RAM

ESC :

Select user-defined set

ESC % n

Set upper control codes

ESC I n

Bit image

Select bit image printing

ESC * m n

Select 9-dot bit image printing

ESC ^ m n


[Top]


Previous

Next
Version 1.00E, Copyright © 2001, SEIKO EPSON CORPORATION