Star Micronics LC-8521 Printer User Manual


 
100 Printer Control Codes
Horizontal Print Position Control Commands
Description Mode ASCII Code
Move print head to next horizontal tab position
Both HT
Return print head to left margin (carriage return)
Both CR
Move print head to absolute horizontal position STD
ESC $
n1
n2
Add
n
dot spaces between characters STD
ESC SPn
Cancel automatic line feed IBM
ESC 5 00H
Select automatic line feed IBM
ESC 5 01H
Set horizontal tab positions Both
ESC D
n
…NULL
Set right margin STD
ESC Q
n
Set left and right margins IBM
ESC X
n1
n2
Move print head to specified horizontal position STD
ESC \
n1
n2
Move print position to right IBM
ESC d
Set left margin STD
ESC l
n
Other Commands
Description Mode ASCII Code
Sound printer bell Both
BEL
Move printer head back one space (backspace) Both
BS
Set printer on line Both
DC1
Set printer off line STD
DC3
Cancel line in print buffer Both
CAN
Delete last character sent STD
DEL
Control cut-sheet feeder STD
ESC EM
Cancel MSB control STD
ESC #
Select score STD
ESC (-
One-line uni-directional printing STD
ESC <
Set MSB to logical 0 STD
ESC =
Set MSB to logical 1 STD
ESC >
Initialize printer STD
ESC @
Disable paper out detector STD
ESC 8
Enable paper out detector STD
ESC 9
Deselect printer IBM
ESC Q
n
Cancel uni-directional printing Both
ESC U0