Epson ESC/P Commands Arranged by Topic

ESC C 0

 

 

 

Set Page Length in Inches

Format:

 

 

 

 

ASCII code:

ESC

C

0

n

Decimal:

27

67

0

n

Hexadecimal:

1B

43

00

n

Comments:

Sets the page length to n inches. The value of n must be from 1 to 22. The top of form position is set to the current line. Overrides the DIP switch page length setting.

FF

Form Feed

Format:

 

ASCII code:

FF

Decimal:

12

H e x a d e c i m a l : OC

Comments:

Prints the data in the print buffer and advances the paper to the top of the next form according to the current page length.

ESC N

 

 

Set Skip Over Perforation

Format:

 

 

 

ASCII code:

ESC

N

n

Decimal:

27

78

n

Hexadecimal:

1B

4E

n

Comments:

The variable n is the number of lines skipped between the last line printed on one page and the first line of the next page. For example, with the standard settings for line spacing (l/6-inch), and page length (66 lines), ESC N 6 cause the DFX-so00 to print 60 lines and thtn skip 6. DIP switch 3-3 perfofms the same function. This setting is cancelled by ESC 0 and also by ESC C or ESC C 0. The value of n must be from 1 to 127. Overrides the l-inch skip over perforation setting of DIP switch 3-3.

9-14Command Summary