8-2. ESC/POS Mode Commands

The following table lists the TM-U200 and TM-U300 emulation commands that are supported by this printer.

Control Codes

Hexadecimal Codes

Function

TM-

TM-

U200

U300

 

 

 

 

<HT>

09

 

Horizontal tab

 

 

 

 

 

 

<LF>

0A

 

Line feed

 

 

 

 

 

 

<CR>

0D

 

Prints and carriage return

 

 

 

 

 

<DLE> <EOT>

10 04

Enables real-time status send

 

 

 

 

 

 

<DLE> <ENQ>

10 05

Real-time request to printer

 

 

 

 

 

 

 

<ESC> SP

1B

20

Sets size of space to right of character

 

 

 

 

 

 

<ESC> !

1B

21

Enables batch print mode

 

 

 

 

 

 

<ESC> #

1B

23

Sets memory switch

 

 

 

 

 

 

 

 

<ESC> %

1B

25

Enables/disables download

character set

 

 

 

 

 

 

 

 

 

 

 

<ESC> &

1B

26

Defines download character

<ESC> *

1B

2A

Selects bit image mode

 

 

 

 

 

<ESC> “–”

1B 2D

Selects/cancels underlining

 

 

 

 

 

 

<ESC> 2

1B

32

Selects 1/6-inch line spacing

 

 

 

 

 

 

<ESC> 3

1B

33

Selects n/144-inch line spacing

 

 

 

 

 

 

<ESC> =

1B

3D

Selects peripheral device

 

 

 

 

 

 

 

<ESC> ?

1B

3F

Cancels download character

 

 

 

 

 

 

<ESC> @

1B

40

Initializes the printer

 

 

 

 

 

 

<ESC> D

1B

44

Sets horizontal tab position

 

 

 

 

 

 

<ESC> E

1B

45

Enables/disables emphasized mode

 

 

 

 

 

 

<ESC> G

1B

47

Enables/disables double-strike mode

 

 

 

 

 

 

<ESC> J

1B

4A

Prints and n/144-inch paper feed

 

 

 

 

 

 

<ESC> K

1B

4B

Prints and n/144-inch reverse paper feed

ENGLISH

– 32 –

Page 35
Image 35
Star Micronics SP2000 user manual ESC/POS Mode Commands, Esc Sp