7. Command Summary

This printer supports two different command modes: the Star mode and the ESC/ POS mode.

This chapter provides you with all of the commands supported by this printer.

Important!

Access the following URL for the latest version of this manual and for updates on supported commands: http://www.star-micronics.co.jp/ service/sp_sup_e.htm

7-1. Star Mode

Commands to Select Characters

Control codes

 

Hexadecimal

Function

 

codes

 

 

 

 

 

 

 

 

<ESC> “R” n

 

1B

52 n

Select international character set

 

 

 

 

 

<ESC> <GS> t n

 

1B

1D t n

Select character table

 

 

 

 

<ESC> “/” “1”

1B 2F 31

Select slash zero

<ESC> “/” <1>

 

1B 2F 01

 

 

 

 

 

<ESC> “/” “0”

1B 2F 30

Select normal zero

<ESC> “/” <0>

 

1B 2F 00

 

 

 

 

 

 

 

<ESC> “b” n1 n2 n3 n4

 

1B

62 n1 n2 n3 n4

Select bar code printing

d1 ... <RS>

 

d1 ... 1E

 

<ESC> “M”

 

1B 4D

Select 12-dot pitch printing

 

 

 

 

<ESC> “p”

 

1B 70

Select 14-dot pitch printing

 

 

 

 

<ESC> “P”

 

1B 50

Select 15-dot pitch printing

 

 

 

 

<ESC> “:”

 

1B 3A

Select 16-dot pitch printing

 

 

 

 

 

<ESC> <SP> n

 

1B

20 n

Set character spacing

 

 

 

 

 

<SO>

 

0E

 

Sets the printing magnified double in

 

 

 

 

character width.

 

 

 

 

<DC4>

14

 

Resets the printing magnified in

 

 

 

 

character width.

 

 

 

 

 

<ESC> “W” n

 

1B

57 n

Sets the magnification rate in character width.

 

 

 

 

 

<ESC> <SO>

 

1B

0E

Sets the printing magnified double in

 

 

 

 

character height.

<ESC> <DC4>

 

1B

14

Resets the printing magnified in character

 

 

 

 

height.

<ESC> “h” n

 

1B

68 n

Sets the magnification rate in character height.

 

 

 

<ESC> “ –” “1”

1B 2D 31

Select underlining

<ESC> “ –” <1>

 

1B 2D 01

 

 

 

 

 

 

 

ENGLISH

– 13 –

Page 17
Image 17
Star Micronics TSP552 user manual Command Summary, Star Mode, Commands to Select Characters