Star Micronics LC-8021 manual Printer Control Codes

Page 72

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

 

 

 

 

 

 

Image 72
Contents LC-8021 Trademark acknowledgments About this manual ChapterContents Using the EDS Mode Using the Printer with MS-DOSOptional Accessories Appendix a TroubleshootingPage Printer Setup Choosing a place for the printerUnpacking the printer General guide Opening the front cover Removing the front coverRemoving the protective materials Installing the ribbon cartridge Page Removing the ribbon cartridge Connecting to a power outlet and turning power on and off Connecting to a power outlet and turning power on and offLoading paper Connecting to your computer Connecting to your computerTo connect with a parallel cable To connect with a serial cable Printer Setup Switching between on-line and off-line Control Panel OperationsSelecting a font Line feedForm feed Paper ejectChanging the auto load position Entering the Multi-part Mode Clearing the printer’s bufferInitializing the printer Using the EDS Mode About EDS Mode settingsEntering the EDS Mode Using the EDS Mode Selecting a bankSelecting a switch Changing a switch settingPrinting the current switch settings Exiting the EDS ModeEDS-1 Settings Switch 1 EmulationSwitch 2 Not used Switch 3 Character Table Switch 4 RAM UsageSwitch 6 Multi-Part Mode Switch 1 Graphics DirectionSwitch 2 Not used Switch 3 Line Spacing Switch 4 Auto LF with CRSwitches 1, 2 Print Mode Switches 3, 4, 5 Print PitchSwitches 1, 2, 3, 4 Page Length Switch 5 Cut-sheet eject directionSwitch 6 Skew sensor for cut-sheet paper Bank E Name Country Remarks Russia Preferred by Microsoft International Switches 1, 2, 3, 4, 5, 6 LQ Font Selection Bank FEDS-2 Settings Switch 1 Data LengthSwitch 2 Parity Check Switch 3 ParitySwitch 4 Protocol Switches 5, 6 Not usedSwitch 1, 2, 3 Baud Rate Switches 4, 5, 6 Not usedSwitches 1, 2 Top and bottom margins Switch 3 Head gap sensing for on each lineSwitch 4 Control code FF Switches 5, 6 Waiting period for paper loadingUsing the Printer with MS-DOS Setting up for printing with MS-DOSPaper Handling Selecting paper typesCut-Sheet Paper PassbookFeeding a passbook into the printer Feeding cut-sheet paper into the printer Print area Optional Accessories Serial Interface Unit IS-NP192Serial-to-Parallel Interface Converter SPC-8K Appendix a Troubleshooting Short testLong test Adjusting the dot alignment Hexadecimal dumpAdjusting the dot alignment Troubleshooting guide Problem Possible CauseTroubleshooting guide Forms are smudged Ribbon is jammed Make sure that the ribbon Right during printing Character set is selected Checking system software settings in MS-DOS Mode LPT1=COM1 or Mode LPT1=COM2Appendix B Specifications Printing Speed Pitch Draft cps/dpiEmulation Appendix C Interface Pin Outs Parallel InterfaceSerial Interface Appendix D Character Sets Standard Italic Character Set International Character SetCharacter Sets IBM Special Character Set Code Page #860 PortugueseCode Page #850 Multi-lingual Code Page #861 IcelandicCode Page #863 Canadian French Code Page #866 RussianCode Page #865 Nordic Code Page #3840 IBM-RussianCode Page #3841 Gost-Russian Code Page #3844Code Page #3843 Polish Code Page #3845 HungarianCode Page #3846 Turkish Code Page #3848 Brazil-ABICOMPCode Page #3847 Brazil-ABNT Code Page #852 Latin-2Code Page #1001 Arabic Code Page #737 Greek Code Page #851 GreekCode Page #869 Greek Code Page #2001 Lithuanian-KBLCode Page #928 Greek Code Page #772 LithuanianCode Page #774 Lithuanian Code Page #3002 Estonian2Code Page #3001 Estonian1 Code Page #3011 Latvian1Code Page #3012 Latvian2 Code Page #3031 HebrewCode Page #3021 Bulgarian Code Page #3041 MalteseCode Page #3850 Standard KU Code Page #3861 Microwiz KUCode Page #3860 Rajvitee KU Code Page #3863Code Page #3864 Popular TIS Code Page #3865 Newsic TISStandard Mode Appendix E Printer Control CodesPrinter Control Codes Select 1/8″ line spacing Denmark OCR-B Set left margin IBM Mode Select print pitch and download Set base unit of line spacing Appendix F Glossary Appendix G Control Panel Operation Guide Multi Eject On Line PartAUTOEXEC.BAT 47 MS-DOS Page