Star Micronics SP298 user manual ESC/POS Mode Commands TM-290 emulation, English

Models: SP298

1 140
Download 140 pages 22.47 Kb
Page 30
Image 30
ESC/POS Mode Commands (TM-290 emulation)

ENGLISH

27

ESC/POS Mode Commands (TM-290 emulation)

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

Control Codes

 

Hexadecimal

Function

 

Codes

 

 

 

 

 

 

 

<HT>

09

 

Horizontal tab

 

 

 

 

<LF>

0A

 

Line feed

 

 

 

 

<FF>

0C

 

Paper eject in single sheet mode

 

 

 

 

<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

2A

Selects bit image mode

 

 

 

 

<ESC> 2

1B

32

Selects 1/6-inch line spacing

 

 

 

 

<ESC> 3

1B

33

Selects approximate n/60-inch line spacing *1

 

 

 

 

<ESC> @

1B

40

Initializes the printer

 

 

 

 

<ESC> D

1B

44

Sets horizontal tab position

 

 

 

 

<ESC> M

1B

4D

Selects the 79 font

 

 

 

 

<ESC> P

1B

50

Selects the 59 font

 

 

 

 

*1: n/60-inch line spacing and paper feed commands:

Since the minimum paper feed pitch for this printer is 1/144 inch, n/60 inch can considered an approximate value. However, the actual value is INT ((6n/5) + 0.5)/72 inch.

Page 30
Image 30
Star Micronics SP298 user manual ESC/POS Mode Commands TM-290 emulation, English