beautypg.com

Esc/pos – Star Micronics RS232 User Manual

Page 62

background image

– 58 –

ESC/POS

Control Code

Hexadecimal Code

Function

ESC u

1B

75

Transmission of peripheral equipment status

ESC v

1B

76

Transmission of paper detection status

ESC {

1B

7B

Designate/cancel inverted printing

GS !

1D

21

Designate character size

GS $

1D

24

Designate absolute position of vertical direction of
characters in page mode

GS

*

1D

2A

Define download bit image

GS /

1D

2F

Print download bit image

GS :

1D

3A

Start/finish macro definition

GS B

1D

42

Designate/cancel reverse printing

GS H

1D

48

Select print position of HRI characters

GS I

1D

49

Printer ID transmission

GS L

1D

4C

Set left margin

GS P

1D

50

Set basic calculated pitch

GS V

1D

56

Paper cut

GS W

1D

57

Set print range

GS \

1D

5C

Designate the relative position of vertical characters when
printing in the page mode

GS ^

1D

5E

Execute macro

GS a

1D

61

Enable/disable automatic status transmission

GS f

1D

66

Select HRI character font

GS h

1D

68

Set bar code height

GS k

1D

6B

Printing of bar code

GS r

1D

72

Transmission of status

GS w

1D

77

Set lateral size of bar code