beautypg.com

Esc/pos mode commands (tm-290 emulation) – Star Micronics SP298 Series User Manual

Page 31

background image

28

ENGLISH

ESC/POS Mode Commands (TM-290 emulation)

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

*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 ((6

n

/5) +

0.5)/72 inch.

Control Codes

Hexadecimal

Codes

Function

09

Horizontal tab

0A

Line feed

0C

Paper eject in single sheet mode

SP

1B 20

Sets size of space to right of character

!

1B 21

Enables batch print mode

#

1B 23

Sets memory switch

*

1B 2A

Selects bit image mode

2

1B 32

Selects 1/6-inch line spacing

3

1B 33

Selects approximate

n

/60-inch line spacing *1

@

1B 40

Initializes the printer

D

1B 44

Sets horizontal tab position

M

1B 4D

Selects the 7

×

9 font

P

1B 50

Selects the 5

×

9 font