Epson FX Printer Commands

Epson Function

ASCII Code

Decimal Code

Hexadecimal Code

 

 

 

 

 

Bar Code Commands

 

 

 

 

Select Bar Code Type

ESC DLE A m n1 n8

27 16 65 m n1 n8

1B 10 41 m n1 n8

and Size *

ESC DLE B m n [data]

27 16 66 m n [data]

1B 10 42 m n [data]

Print Bar Code Data *

Print Postnet Bar Code

ESC DLE C n [data]

27 16 67 n [data]

1B 10 43 n [data]

Data *

ESC ( B Ln Hn Pk Pm Ps

27 40 66 Ln Hn Pk

1B 28 42 Ln Hn Pk

Print Bar Code

 

Lv Hv Pc DATA

Pm Ps Lv Hv Pc

Pm Ps Lv Hv Pc

 

 

DATA

DATA

 

 

 

 

 

Character Sets

ESC R n

27 82 n

1B 52 n

Select International

Character Set

ESC t n

27 116 n

1B 74 n

Select Epson Character

Set

ESC 6 or ESC I 1

27 54 or 27 73 1

1B 36 or 1B 49 01

Permit Printing of Upper

Range Control Codes

ESC 7 or ESC I 0

27 55 or 27 73 0

1B 37 or 1B 49 00

Cancel Printing of Upper

Range Control Codes

ESC ( t Ln Hn Pn1 Pn2

27 40 116 Ln Hn Pn1

1B 28 74 Ln Hn Pn1

Character table selection

 

Pn3

Pn2 Pn3

Pn2 Pn3

 

 

 

 

 

Character Size/Spacing

ESC P

27 80

1B

50

Select 10 cpi Pitch

Select 12 cpi Pitch

ESC M

27 77

1B

4D

Select 15 cpi Pitch

ESC g

27 103

1B

67

Select 20 cpi Pitch

ESC SI

27 15

1B

0F

Cancel 20 cpi Pitch

DC2

18

12

 

Set Compressed Pitch

SI

15

0F

 

Superscript Printing On

ESC S 1

27 83 1

1B

53 01

Subscript Printing On

ESC S 0

27 83 0

1B

53 00

Superscript/Subscript

ESC T

27 84

1B

54

Printing Off

ESC SO

27 14

1B

0E

Begin Double Width

Printing Line by Line

DC 4

20

14

 

End Double Width

 

Printing Line by Line

ESC W 1

27 87 1

1B

57 01

Double Width Printing

On

ESC W 0

27 87 0

1B

57 00

Double Width Printing

Off

 

 

 

 

 

 

 

 

 

ML720/721 Printer Handbook

85