beautypg.com

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

Page 29

background image

26

ENGLISH

ESC/POS Mode Commands (TM-295 emulation)

The following table lists the TM-295 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
Paper mode print and return

10 04

Enables real-time status send (Serial I/F only)

18

Cancels print data in page mode

SP

1B 20

Sets size of space to right of character

!

1B 21

Enables batch print mode

#

1B 23

Sets memory switch

%

1B 25

Enables/disables download character set

&

1B 26

Defines download character

*

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 3D

Selects peripheral device

@

1B 40

Initializes the printer

C

1B 43

Sets the eject length for single-sheet printing

D

1B 44

Sets horizontal tab position

F

1B 46

Enables/disables reverse feed for single-sheet mode

J

1B 4A

Prints and

n

/60-inch (approximate value) paper feed *1

K

1B 4B

Prints and

n

/60-inch (approximate value) reverse paper feed *1