Star Micronics SP298 Printer User Manual


 
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 ((6n/5) +
0.5)/72 inch.
Control Codes
Hexadecimal
Codes
Function
<HT> 09 Horizontal tab
<LF> 0A Line feed
<FF> 0C
Paper eject in single sheet mode
Paper mode print and return
<DLE> <EOT> 10 04 Enables real-time status send (Serial I/F only)
<CAN> 18 Cancels print data in page 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 25 Enables/disables download character set
<ESC> & 1B 26 Defines download character
<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 3D Selects peripheral device
<ESC> @ 1B 40 Initializes the printer
<ESC> C 1B 43 Sets the eject length for single-sheet printing
<ESC> D 1B 44 Sets horizontal tab position
<ESC> F 1B 46 Enables/disables reverse feed for single-sheet mode
<ESC> J 1B 4A Prints and
n
/60-inch (approximate value) paper feed *1
<ESC> K 1B 4B Prints and
n
/60-inch (approximate value) reverse paper feed *1