7-2. ESC/POS Mode

Control Code

Hexadecimal Code

Function

 

 

 

 

 

HT

09

 

 

Horizontal tab

LF

0A

 

 

Print line feed

CR

0D

 

 

Carriage return

FF

0C

 

 

Page mode print and return

DLE EOT

10

04

 

Real time transmission of status

DLE ENQ

10

05

 

Real time request to printer

CAN

18

 

 

Cancel print data in page mode

ESC FF

1B

FF

 

Print page mode data

ESC SP

1B

20

 

Set right space amount of character

ESC !

1B

21

 

Universal print mode designation

ESC #

1B

23

 

Set memory switch

ESC $ nL nH

1B

24

nL nH

Designate absolute printing

ESC %

1B

25

 

Designate/cancel download character set

ESC &

1B

26

 

Define download characters

ESC *

1B

2A

 

Designate bit image mode

ESC -

1B

2D

 

Designate/cancel underline

ESC 2

1B

32

 

Set 1/6 inch line feed amount

ESC 3

1B

33

 

Set line feed amount

ESC =

1B

3D

 

Select peripheral equipment

ESC ?

1B

3F

 

Delete download characters

ESC @

1B

40

 

Initialize printer

ESC D

1B

44

 

Set horizontal tab position

ESC E

1B

45

 

Designate/cancel emphasized print

ESC G

1B

47

 

Designate/cancel double print

ESC J

1B

4A

 

Print and paper feed

ESC L

1B

4C

 

Select page mode

ESC R

1B

52

 

Select international characters

ESC S

1B

53

 

Select standard mode

ESC T

1B

54

 

Select character print direction in print mode

ESC V

1B

56

 

Designate/cancel 90° character rotation

ESC W

1B

57

 

Set print range in page mode

ESC \

1B

5C

 

Designate relative position

ESC a

1B

61

 

Align position

ESC c3

IB

63

33

Select no-paper detector for output of no-paper signal

ESC c4

1B

63

34

Select no valid paper detector at print stop

ESC c5

1B

63

35

Enable/disable panel switch

ESC d

1B

64

 

Print and paper feed “n” lines

ESC p

1B

70

 

Designate pulse generation

ESC t

1B

74

 

Select character code table

 

 

 

 

 

ENGLISH

– 17 –

Page 21
Image 21
Star Micronics TSP552 user manual ESC/POS Mode, Esc