beautypg.com

Chapter 3: command summary, Star mode commands – Star Micronics SP298 Series User Manual

Page 23

background image

20

ENGLISH

Chapter 3: Command Summary

This printer supports two different command modes: the Star mode and the
ESC/POS mode.

The Star mode emulates previous Star printers. The ESC/POS mode emulates
the Epson TM-295 or TM-290 slip printer.

This chapter provides you with all of the commands supported by this printer.

Important!

Access the following URL for the latest version of this manual and for updates
on supported commands: http://www.star-micronics.co.jp/service/

sp_sup_e.htm

Star Mode Commands

The following tables show the Star mode commands that are supported by this
printer.

Character Selection

Control Codes

Hexadecimal

Codes

Function

“R”

n

1B 52

n

Selects the international character set

“/”

“1”

“/”

<1>

1B 2F 31
1B 2F 01

Selects slash zero

“/”

“0”

“/”

<0>

1B 2F 30
1B 2F 00

Selects normal zero

“t”

n

1B 1D 74

n

Selects the character code table

“M”

1B 4D

Selects the 7

×

9 (half dot) font

“P”

1B 50

Selects the 5

×

9 (2 pulses per dot) font

“:”

1B 3A

Selects the 5

×

9 (3 pulses per dot) font

n

1B 20

n

Sets character spacing

0E

Sets the printing magnified double in character width

14

Resets the printing magnified in character width