Reference Guide

Index
Search
Glossary
Contents
Help

Product Information / Command Summary

ESC/P2 and FX Commands

ESC/P2 mode
FX mode

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

ESC/P2 mode

General operation

Initialize printer

ESC @

Control paper loading/ejecting

ESC EM n

Delete last character

DEL

Cancel

CAN

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

Set n/60-inch line spacing

ESC A n

Backspace

BS

Page format

Set page format

ESC ( c 40 n

Set page length in defined units

ESC ( C 20 n

Set page length in lines

ESC C n

Set page length in inches

ESC C NUL n

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 m nn

Select 10 cpi

ESC P

Select 12 cpi

ESC M

Select 15 cpi

ESC g

Turn proportional mode on/off

ESC p 1/0

Select LQ 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

Master select

ESC ! n

Select print pitch

ESC cnn

Select superscript/subscript printing

ESC Sn

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 printing

ESC S 0

Select subscript printing

ESC S 1

Select double-width printing (one line)

ESC S0

Cancel superscript/subscript printing

ESC T

Select line/score

ESC ( - 301 nn

Turn underline on/off

ESC - 1/0

Select character style

ESC q n

Spacing

Set intercharacter space

ESC SP n

Define unit

ESC ( U 10 n

Character handling

Assign character table

ESC ( t 30 n dd

Select character table

ESC t n

Select an international character set

ESC R n

Define download character

ESC & nn

Copy ROM to RAM

ESC : NUL n s

Select download character set

ESC % n

Enable printing of upper control codes

ESC 6

Enable upper control codes

ESC 7

Print data as characters

ESC ( ^ nn

Bit image

Selection and printing of bit image

ESC * nn

Select graphic mode

ESC ( G 10 n

Print raster graphics

ESC . c v hm

8-bit single-density bit image

ESC K nn

8-bit double-density bit image

ESC L nn

8-bit double-speed double-density bit image

ESC Y nn

8-bit double-speed quad-density bit image

ESC Z nn

Reassign bit-image mode

ESC ? nm

Barcode

Print barcode

ESC ( B nn


[Top]

FX mode

Printer commands arranged by topic

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

Delete last character

DEL

Cancel

CAN

Data control

Carriage return

CR

Backspace

BS

Vertical motion

Form feed

FF

Set page length in lines

ESC C n

Set page length in inches

ESC C NUL n

Set page length in defined units

ESC ( C 20 n

Set or cancel top/bottom margin

ESC ( c 40 n

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

Reverse paper n/216 inch

ESC j

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

Set n/72-inch line spacing

ESC A n

Note:
Your printer will not print characters beyond one page in 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

Master select

ESC ! n

Print size and character width

Select 10 cpi

ESC P

Select 12 cpi

ESC M

Turn proportional mode on/off

ESC p 1/0

Select condensed mode

SI

Cancel condensed mode

DC2

Select double-width mode (one line)

SO

Cancel double-width mode (one line)

DC4

Turn double-width mode on/off

ESC W 1/0

Turn double-height printing on/off

ESC w 1/0

Select condensed mode

ESC S1

Select double-width mode (one line)

ESC S0

Font enhancement

Select emphasized mode

ESC E

Cancel emphasized mode

ESC F

Select double-strike mode

ESC G

Cancel double-strike mode

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 mode

ESC S 0/1

Cancel superscript/subscript mode

ESC T

Select italic mode

ESC 4

Cancel italic mode

ESC 5

Turn underline mode on/off

ESC - 1/0

Word processing

Set intercharacter space

ESC SP n

Select character tables

ESC t n

Assign character tables

ESC ( t 30 n dd

Select international character set

ESC R n

Printable code area expansion

ESC 6

Enable upper control codes

ESC 7

Define unit

ESC ( U 10 n

User-defined characters

Define characters

ESC & nn

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

Copy ROM to RAM

ESC : NUL n s

Select download character set

ESC % n

Printable code area expansion

ESC I n

Bit image

Select graphics mode

ESC * m n

Selection and printing of bit image

ESC ^ m n

8-bit single-density bit image

ESC K nn

8-bit double-density bit image

ESC L nn

8-bit double-speed double-density bit image

ESC Y nn

8-bit double-speed quad-density bit image

ESC Z nn

Reassign bit-image mode

ESC ? nm

Barcode

Print barcode

ESC ( B nn


[Top]


Previous

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