Epson ESC/P Commands Arranged by Topic

Cancel Line

Format:

A S C I I c o d e : C A N

Decimal:24

Hexadecimal : 18

Comments:

Removes all text on the print line but does not affect control codes.

DEL

Delete Character

Format :

 

ASCII code:

DEL

Decimal:

127

H e x a d e c i m a l : 7F

Comments:

Removes the last text character on the print line but does not affect control codes.

Vertical motion

ESC C

Set Page Length in Lines

Format:

ASCII code: ESC C n

Decimal :27 67 n

Hexadecimal: 1B 43 n

Comments:

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

Command Summary 9-13