Commands that differ from Epson ESC/P commands

Printer operation:

ASCII

Dec.

Hex.

Description

ESC Q 22

81 22

51 16

Deselect Printer

Vertical motion:

ASCII

Dec.

Hex.

Description

ESC 2

50

32

ESC 4

52

34

ESC 5n

53

35

Select Programmable Line Spacing

Set Top-of-Form

Turn Automatic Line Feed On/Off n = 1: Mode is turned on.

0: Mode is turned off.

ESC A n

65

41

Set n/72-inch Line Spacing

 

 

 

n must be from 1 to 85.

ESC J n

74

4 A

Perform n/216-inch Line Feed

 

 

 

n must be from 0 to 255.

ESC B nn

66

42

Set Vertical Tabs

 

 

 

ESC B n1 n2 . . . 0

 

 

 

Sets up to 64 vertical tabs.

 

 

 

1 to 255, in ascending order.

 

 

 

Terminated by 0.

Horizontal motion:

ASCIIDec. Hex. Description

ESC D nn

68

44

Set Horizontal Tabs

 

 

 

ESC D n1 n2 . . . 0

 

 

 

Sets up to 28 horizontal tabs.

 

 

 

1 to 137 terminated by 0.

ESC R

82

52

Restore Default Tab Settings

ESC X nn

88

58

Set Left and Right Margins

 

 

 

ESC X n1 n2

 

 

 

n1 = left margin

 

 

 

n2 = right margin

Printer Commands and Character Tables B-11