Control codes

 

Hexadecimal

Function

 

 

 

codes

 

 

 

 

 

 

 

<ESC>“ –” “0”

 

1B 2D 30

Cancel underlining

ENGLISH

 

<ESC> “ –” <0>

 

1B

2D 00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<ESC> “ _” “1”

 

1B 5F 31

Select overlining

 

 

<ESC> “ _” <1>

 

1B

5F 01

 

 

 

 

 

 

<ESC> “ _” “0”

 

1B 5F 30

Cancel overlining

 

 

<ESC> “ _” <0>

 

1B

5F 00

 

 

 

 

 

 

<ESC> “4”

 

1B 34

Select highlight printing

 

 

 

 

 

 

 

 

<ESC> “5”

 

1B 35

Cancel highlight printing

 

 

 

 

 

 

 

 

 

<SI>

 

0F

 

Inverted printing

 

 

 

 

 

 

 

 

 

<DC2>

 

12

 

Cancel inverted printing

 

 

 

 

 

 

 

 

 

<ESC> “ E”

 

1B

45

Select emphasized printing

 

 

 

 

 

 

 

 

 

<ESC> “ F”

 

1B

46

Cancel emphasized printing

 

 

 

 

 

 

 

Commands to Set the Page Format

Control codes

Hexadecimal

Function

codes

 

 

 

 

 

 

 

 

<ESC> “C”

n

1B

43 n

Set page length in lines

 

 

 

 

<ESC> “C” <0> n

1B

43 00 n

Set page length in inches

 

 

 

 

 

<ESC> “N”

n

1B

4E n

Set bottom margin

 

 

 

 

<ESC> “O”

 

1B 4F

Cancel bottom margin

 

 

 

 

 

<ESC> “l”

n

1B

6C n

Set left margin

 

 

 

 

 

<ESC> “Q”

n

1B

51 n

Set right margin

 

 

 

 

 

Commands to Move the Print Position

Control codes

 

Hexadecimal

Function

 

codes

 

 

 

<LF>

 

0A

Line feed

 

 

 

 

<ESC> “a” n

 

1B 61 n

Feed paper n lines

 

 

 

 

<FF>

 

0C

Form feed

 

 

 

 

<HT>

 

09

Horizontal tab

 

 

 

 

<VT>

 

0B

Vertical tab

 

 

 

 

<ESC> “z” “1”

1B 7A 31

Set line spacing to 4 mm

<ESC> “z” <1>

 

1B 7A 01

 

 

 

 

 

 

<ESC> “0”

 

1B 30

Set line spacing to 3 mm

 

 

 

 

– 14 –

Page 18
Image 18
Star Micronics TSP552 user manual Commands to Set the Page Format, Commands to Move the Print Position