beautypg.com

Appendix e: printer control codes – Star Micronics LC-8021 User Manual

Page 71

background image

65

Appendix E: Printer Control Codes

This appendix lists the printer’s control commands. It gives the name of each control
command, along with the applicable emulation mode (Standard or IBM), and the
applicable ASCII code.

Standard Mode

ASCII Code

Function

BEL

Beeper

BS

Backspace

HT

Tab horizontally

LF

Line feed

VT

Tab vertically

FF

Form feed

CR

Carriage return

SO

Select double width printing (1 line)

SI

Select condensed printing

DC1

Select printer

DC2

Cancel condensed printing

DC3

Deselect printer

DC4

Cancel double width printing (1 line)

CAN

Cancel line

ESC LF

Reverse feed by current line space

ESC FF

Reverse form feed

ESC SO

Select double width printing (1 line)

ESC SI

Select condensed printing

ESC EM

n

Control cut-sheet feeder (printer ignores this code)

ESC SP

Set inter character space

ESC !

n

n

= 00

01
02
04
08
10
20
40
80

Master select

10 cpi

(ESC P)

12 cpi

(ESC M)

Proportional

(ESC p)

Condensed

(SI)

Emphasised

(ESC E)

Double-strike

(ESC G)

Double-wide expanded

(ESC W)

Italic

(ESC 4)

Underlining

(ESC -)

ESC #

Cancel MSB control

ESC $

n

L

n

H

Set absolute horizontal print position