beautypg.com

Star Micronics Line Thermal Printer User Manual

Page 13

background image

―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

STAR Line Mode Command Specifications

2-3


Class


Commands


Name

Chinese

ESC p

Set to JIS Chinese character mode

characters

ESC q

Cancel JIS Chinese character mode

ESC $

Set/cancel JIS Chinese character mode

ESC s

Set two byte Chinese characters left/right spaces

ESC t

Set 1 byte Chinese characters left/right spaces

ESC r

Register Chinese download characters

Others

CAN

Cancel print data and initialize commands

ESC @

Command initialization

ESC GS #

Set memory switch

ESC ?

Reset printer

ESC GS r

Get CRC code

Macro

ESC GS

+

Register macro


(*) Chinese character commands

• Chinese character control commands are ignored on printers not installed with Chinese character fonts (those

intended for overseas).

• All Chinese character control commands are ignored if the specification for the location of use is specified as

SBCS (single byte countries) by the memory switch.



• R a s t e r r e l a t e d c o m m a n d s


Class


Commands


Name

Raster commands

ESC * r R

Initialize raster mode

ESC * r A

Enter raster mode

ESC * r B

Quit raster mode

ESC * r C

Clear raster data

ESC * r D

Drive drawer

ESC * r E

Set EOT mode

ESC * r F

Set FF mode

ESC * r P

Set page length

ESC * r Q

Set print quality

ESC * r m l

Set left margin

ESC * r m r

Set right margin

ESC * r T

Set top margin

ESC * r K

Set print color

b n1 n2 d1...dk

Transfer raster data (auto line feed)

k n1 n2 d1...dk

Transfer raster data

ESC * r Y

Position movement in vertical direction (Line break at specified dot)

ESC FF NUL

Execute form feed mode

ESC FF EOT

Execute EOT mode

ESC * r N

Discard data for specified byte count

ESC * r V

Execute external buzzer drive