66Printer Control Codes

Standard Mode

 

 

ASCII Code

Function

 

 

 

 

ESC % n

 

Select user defined characters

 

n =

00

Normal (ROM) characters

 

 

01

User-defined (RAM) characters

 

 

 

ESC & 00 n m a1 a2 a3

Define user defined characters

 

d1...dk

 

 

ESC (- nL nH m d1 d2

Select line/score

 

d1

=

01

Underline

 

 

 

02

Strikethrough

 

 

 

03

Overscore

 

d2

=

00

Turn off scoring

 

 

 

01

Single continuous line

 

 

 

02

Double continuous line

 

 

 

05

Single broken line

 

 

 

06

Double broken line

 

 

 

 

ESC (B n1 n2 k m s v1 v2

Bar-code

 

c d

EAN-13

 

k =

00

 

 

 

01

EAN-8

 

 

 

02

Interleaved 2 of 5

 

 

 

03

UPC-A

 

 

 

04

UPC-E

 

 

 

05

CODE39

 

 

 

06

CODE128

 

 

 

07

Postnet

 

 

 

 

ESC (^ nL nH d1...dk

Print data as characters

 

 

 

 

ESC (t 03 00 d1 d2 00

Assign character table

 

d1 = ESC t d1

 

Italic

d2

= 00

#437

 

 

01

USA

 

 

03

#850

Multi-lingual

 

 

07

#860

Portuguese

 

 

19

#861

Icelandic

 

 

08

#863

Canadian French

 

 

09

#865

Nordic

 

 

1A

#866

Russian

 

 

1B

#3840

IBM-Russian

 

 

1C

#3841

Gost

 

 

1D

#3843

Polish

 

 

1E

#3844

CS2

 

 

1F

#3745

Hungarian

 

 

20

#3846

Turkish

 

 

21

#3847

Brazil-ABNT

 

 

22

#3848

Brazil-ABICOMP

 

 

18

#852

Latin-2

 

 

 

ESC * m nL nH d1...dk

Select bit-image

 

ESC + n

 

Set n/360line spacing

 

 

 

 

 

ESC - n

 

Turn under line on/off

 

n = 00

Turns underline off

 

 

 

01

Turns underline on

 

 

 

 

 

ESC / m

 

Select vertical tab channel

 

 

 

 

 

 

Page 72
Image 72
Star Micronics LC-8021 manual Printer Control Codes