Star Micronics SP2000 manual ESC/POS Mode Commands, Control Codes List

Models: SP2000

1 81
Download 81 pages 44.24 Kb
Page 50
Image 50
2. ESC/POS Mode Commands

2. ESC/POS Mode Commands

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

2-1. Control Codes List

Control

Hexadecimal

Function

TM-

TM-

Codes

Codes

 

U200

U300

 

 

 

 

 

 

<HT>

09

 

Horizontal tab

OK

OK

<LF>

0A

 

Line feed

OK

OK

<CR>

0D

 

Prints and carriage return

OK

OK

 

 

 

 

 

<DLE> <EOT>

10 04

Enables real-time status send

OK

 

 

 

 

 

 

<DLE> <ENQ>

10 05

Real-time request to printer

OK

 

 

 

 

 

 

 

<ESC> SP

1B

20

Sets size of space to right of character

OK

OK

<ESC> !

1B

21

Enables batch print mode

OK

OK

<ESC> #

1B

23

Sets memory switch

 

 

 

 

 

 

 

 

<ESC> %

1B

25

Enables/disables download

OK

OK

 

 

 

character set

 

 

 

 

 

 

 

 

<ESC> &

1B

26

Defines download character

OK

OK

 

 

 

 

 

 

<ESC> *

1B

2A

Selects bit image mode

OK

OK

<ESC> -

1B

2D

Selects/cancels underlining

OK

OK

 

 

 

 

 

 

<ESC> 2

1B

32

Selects 1/6-inch line spacing

OK

OK

 

 

 

 

 

 

<ESC> 3

1B

33

Selects n/144-inch line spacing

OK

OK

 

 

 

 

 

 

<ESC> =

1B

3D

Selects peripheral device

OK

 

<ESC> ?

1B

3F

Cancels download character

OK

OK

<ESC> @

1B

40

Initializes the printer

OK

OK

 

 

 

 

 

 

<ESC> D

1B

44

Sets horizontal tab position

OK

OK

 

 

 

 

 

 

<ESC> E

1B

45

Enables/disables emphasized mode

OK

OK

 

 

 

 

 

 

<ESC> G

1B

47

Enables/disables double-strike mode

OK

OK

<ESC> J

1B

4A

Prints and n/144-inch paper feed

OK

OK

<ESC> K

1B

4B

Prints and n/144-inch reverse paper feed

OK

OK

48

Page 50
Image 50
Star Micronics SP2000 manual ESC/POS Mode Commands, Control Codes List