ESC 5

 

 

Turn Automatic Line Feed On/Off

Format:

 

 

 

ASCII code:

ESC

5

n

Decimal :

27

53

n

Hexadecimal:

1B

35

n

Comments:

The following values can be used for n:

1:Mode is turned ON.

0:Mode is turned OFF.

If the mode is on, the printer adds a line feed to each carriage return. If the mode is off, it does not. This command duplicates the function of DIP switch 2-4.

Horizontal Motion

ESC X

 

 

 

Set Left and Right Margins

Format :

ESC

X

n1

n2

ASCII code:

Decimal:

27

88

nl

n2

Hexadecimal:

1B

58

nl

n2

Comments:

The left margin column is set to nl in the current pitch, ignoring double-wide, and the right margin column is set to n2. The minimum distance between the two margins is l/2 inch. The first column is number 1, not number 0.

8-44

Command Summary