COMMAND SETS (ESC/P2)

Function

Command

 

 

Set character pitch to (n1 + n2 × 256)/360 inch

ESC c (n1) (n2)

(0 ≤ n1 ≤ 255) (0 ≤ n2 ≤ 4)

 

 

 

Select character pitch (specify unit o pitch)

ESC ( U (n1) (n2) (d)

n1 = 1, n2 = 0

 

 

 

d = 10 to 19: 10/3600 inch = 1/360 inch

 

 

 

d = 20 to 29: 20/3600 inch = 1/180 inch

 

 

 

d = 30 to 39: 30/3600 inch = 1/120 inch

 

 

 

d = 40 to 49: 40/3600 inch = 1/90 inch

 

 

 

d = 50 to 59: 50/3600 inch = 1/72 inch

 

 

 

d = 60 to 69: 60/3600 inch = 1/60 inch

 

 

 

 

 

 

 

Vertical Control

 

 

 

Line feed

LF

 

 

Form feed

FF

 

 

Advance paper n/180 inch (1 ≤ n ≤ 255)

ESC J (n)

 

 

Set line spacing to 1/8 inch

ESC 0

 

 

Set line spacing to n/180 inch (0 ≤ n ≤ 255)

ESC 3 (n)

 

 

Set line spacing to n/60 inch (0 ≤ n ≤ 127)

ESC A (n)

 

 

Set line spacing to 1/6 inch

ESC 2

 

 

Set line spacing to n/360 inch (0 ≤ n ≤ 255)

ESC + (n)

 

 

 

 

 

 

Tabulation

 

 

 

Horizontal tab execution

HT

 

 

Set horizontal tabs

ESC D

 

 

The values of n1to nk in this

(n1) ... (nk) NUL

command are the ASCII values of the

 

 

 

print columns (at the current character

 

 

 

width) at which tabs are to be set.

 

 

 

(1 ≤ n ≤ 255) (1 ≤ k ≤ 32)

 

 

 

Move print position n/60(*1) inch right from

ESC $ (n ) (n

)

left margin (n = n1 + n2 × 256)

1

2

 

 

 

 

Move print position n/120(*1) inch (for draft)

ESC \ (n ) (n )

or n/180(*1) inch (for letter) left or right

1

2

 

 

 

from the current position

 

 

 

(n = n1 + n2 × 256)

 

 

 

Vertical tab execution

VT

 

 

 

 

 

 

*1 This pitch is the default, but can be changed by the ESC ( U command beforehand.

C-24

User's Manual

Page 206
Image 206
Fujitsu DL3800 manual Vertical Control, Esc D