Star Micronics LC-500 user manual Control Codes List, ESC/P mode

Page 46

5. Control Codes List

< ESC/P mode>

Command

 

HEX code

Function

 

 

 

 

 

 

 

 

BEL

 

07

 

 

Beeper

 

BS

 

08

 

 

Backspace

 

HT

 

09

 

 

Tab horizontally

 

LF

 

0A

 

 

Line feed

 

VT

 

0B

 

 

Tab vertically

 

FF

 

0C

 

 

Form feed

 

CR

 

0D

 

 

Carriage return

 

SO

 

0E

 

 

Select Double-width printing (1 line)

SI

 

0F

 

 

Select Condensed printing

 

DC2

 

12

 

 

Cancel Condensed printing

 

DC4

 

14

 

 

Cancel Double-width printing (1 line)

CAN

 

18

 

 

Cancel line

 

DEL

 

7F

 

 

Delete last character in buffer

 

ESC SO

 

1B

0E

 

Select Double-width printing (1 line)

ESC SI

 

1B

0F

 

Select Condensed printing

 

ESC SP n

 

1B

20 n

Set inter character space

 

ESC ! n

 

1B

21 n

Master select

 

n =

00

n =

00

10 CPI

(ESC P)

 

01

 

 

01

12 CPI

(ESC M)

 

02

 

 

02

Proportional

(ESC p)

 

04

 

 

04

Condensed

(SI)

 

08

 

 

08

Emphasized

(ESC E)

 

10

 

 

10

Double-strike

(ESC G)

 

20

 

 

20

Double-wide expanded

(ESC W)

 

40

 

 

40

Italic

(ESC 4)

 

80

 

 

80

Underlining

(ESC -)

ESC #

 

1B

23

 

Cancel MSB control

 

ESC $ nL nH

1B

24 nL nH

Set absolute horizontal print position

ESC % n

 

1B

25 n

Turn User-defined character on / off

n =

00

n =

00

Turns User-defined character off

 

01

 

 

01

Turns User-defined character on

ESC & 0 n m [ a0 a1 a2 d ...

1B

26

30 n m [ a0 a1 a2 d ...

Define User-defined characters

ESC ( - nL nH m d1 d2

1B

28

2D nL nH m d1 d2

Select or cancel score

 

ESC ( B nL nH k m s v1 v2

1B

28

42 nL nH k m s v1 v2

Select Bar-code printing

 

ESC * m nL nH d1...dk

1B

2A m nL nH d1...dk

Select Bit-image mode

 

ESC + n

 

1B

2B n

Set n/360" line spacing

 

ESC - n

 

1B

2D n

Turn under lining mode on / off

n =

00

n =

00

Turns underline off

 

 

01

 

 

01

Turns underline on

 

ESC / n

 

1B

2F n

Select vertical tab channel

 

ESC 0

 

1B

30

 

Select 1/8" line spacing

 

ESC 2

 

1B

32

 

Select 1/6" line spacing

 

ESC 3 n

 

1B

33 n

Select n/180" line spacing

 

ESC 4

 

1B

34

 

Select italic font

 

ESC 5

 

1B

35

 

Cancel italic font

 

ESC 6

 

1B

36

 

Enable printing of upper control codes

 

 

 

 

 

(Character set #2)

 

ESC 7

 

1B

37

 

Enable upper control codes

 

 

 

 

 

 

(Character set #1)

 

ESC 8

 

1B

38

 

Disable paper out detector

 

ESC 9

 

1B

39

 

Enable paper out detector

 

– 42 –

Image 46
Contents LC-500 EC Council Directive 89/336/EEC of 3 May Contents Control Codes List Printer Setup Choosing a place for the printerUnpacking the printer Printer Components Installing the paper guide Opening the printer coverRemoving the printer cover Connecting the Power Cord and turning the power on and OFF Installing the ribbon cassette Set the adjustment lever to the highest position Knob Connecting to your computer using the parallel cable Removing the ribbon cassetteFerrite Core Installation You can also run the power cord under the printer Cut-sheet paper Paper HandlingSelecting paper types Fanfold paperLoading cut-sheet paper Paper Type Weight Per Sheet Thickness Recommended Control panel Paper Printing on cut-sheet paper Loading fanfold paper Adjustment lever Pin tractor Sheet guides Page Printing on fanfold paper Fanfold paperParking fanfold paper Unparking fanfold paperPower Control Panel OperationsPrint mode selection Switching between on-line and off-lineControl panel functions in on-line mode Tear-off function fanfold paperPanel lock mode Panel macroSet/Park/Eject Control panel functions in off-line modeLine feed Form feedAuto loading position change mode Micro paper feedBuffer clear & All reset Set top of form TOFAbout EDS Mode settings Using the EDS ModeEntering the EDS Mode Printing the current EDS settings Selecting a switchChanging a switch setting Selecting a EDS numberEDS-1 Printer mode Character table / IBM character setEDS-2 Auto LF with CR Quiet modeAuto CR with LF Saving Control Panel StatusFF command / Eject direction Multi-part mode75% Compress mode Eject paper at Power onCR centering at top of form Print direction commandPrint direction CR wiping at top/bottomEDS-3 International character set CodeLength Cut-sheet paper EDS-4Length Fanfold paper Control Codes List ESC/P modeRAM ESC OCR B Troubleshooting Short testLong test Hexadecimal dumpAdjusting the dot alignment May come out looking like one of the followingTroubleshooting guide Problem Possible CauseProblem Printer’s air vents are blocked or obstructed Problem Possible Cause Program Appendix a Specifications Printing SystemPaper Connector Signals Parallel InterfaceAppendix B Character Sets IBM Graphics Character Set #1 Italic Character Set #1 Code Page #737 Code Page #851 Nordic Russian Code Page #869 Code Page #1001 Arabic Code Page #3002 Code Page #3012 CS2 Code Page #3845 International Character Set Appendix C. Control Panel Operation Guide Head Office European Office