Star Micronics DOT MATRIX PRINTERS, LC-1521 Line Spacing Commands, Download Character Commands

Page 106

98 Printer Control Codes

Line Spacing Commands

Description

Mode

ASCII Code

 

 

 

Advance paper one line (line feed)

Both

LF

 

 

 

Reverse paper one line

STD

ESC LF

 

 

 

Set line spacing to 1/8

Both

ESC 0

 

 

 

Set line spacing to 7/72

IBM

ESC 1

 

 

 

Set line spacing to 1/6

STD

ESC 2

 

 

 

Execute ESC A

IBM

ESC 2

 

 

 

Set line spacing to n/216

Both

ESC 3n

 

 

 

Set line spacing to n/72

STD

ESC An

 

 

 

Define line spacing to n/72

IBM

ESC An

 

 

 

One time feed of n/216

Both

ESC Jn

 

 

 

Reverse line feed

IBM

ESC ]

 

 

 

One time reverse feed of n/216

STD

ESC jn

 

 

 

Download Character Commands

Description

Mode

ASCII Code

 

 

 

Cancel download character set

STD

ESC %0

 

 

 

Select download character set

STD

ESC %1

 

 

 

Define download characters in RAM

STD

ESC &00H

 

 

 

Copy standard ROM font into RAM

STD

ESC :00H n 00H

 

 

 

Define download characters in RAM

IBM

ESC =

 

 

 

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 Dn…NULL

 

 

 

Set right margin

STD

ESC Qn

 

 

 

Set left and right margins

IBM

ESC X n1 n2

 

 

 

Image 106
Contents LC-1511 LC-1521 EC Council Directive 73/23/EEC and 93/68/EEC of 22 July Trademark acknowledgments About this manual ChapterContents Using the Printer with Windows 3.1 Using the EDS ModeUser Setup Utility Using the printer with Windows 95Optional Accessories Using the Printer with MS-DOSPaper Handling Page Printer Setup Choosing a place for the printerPrinter Setup Unpacking the printerGeneral guide General guideOpening the front cover Removing the protective materialsRemoving the protective materials Installing the platen knob Installing the ribbon cassetteInstalling the ribbon cassette Removing the ribbon cassette Installing the paper guide Installing the paper guideDegree angle Fanfold paper Degree angle Cut-sheet paper Standing up the paper guidePaper Type Paper Guide Angle Connecting to a power outlet and turning power on and off Connecting to a power outlet and turning power on and offLoading fanfold paper Loading fanfold paper Printer Setup Loading fanfold paper Printing on fanfold paper Unparking fanfold paper Parking fanfold paperParking fanfold paper Using the tear-off function Connecting to your computerConnecting to your computer Switching between on-line and off-line Control Panel OperationsSelecting a font Entering the Font Lock ModeLit Indicator Font Selecting a fontLit Indicators Meaning Setting the character pitchEntering the Pitch Lock Mode Control Panel OperationsForm feed fanfold paper Line feedPaper eject cut-sheet paper Micro feedSelecting the Quiet Print Mode Setting the top of form positionTear-off function fanfold paper Changing the auto load position Changing the auto load positionSaving a macro Clearing the printer’s bufferEntering the Multi-part Mode Initializing the printerAbout EDS Mode settings Using the EDS ModeEntering the EDS Mode Selecting a bank Selecting a switchChanging a switch setting Selecting a bankExiting the EDS Mode Printing the current switch settingsChecking the settings of switches in a bank Using the EDS ModeEDS Mode Settings Switch 2 Auto Tear-off Long Switch 6 Multi-Part ModeSwitch 1 Graphics Direction Switch 3 Line SpacingSwitch 6 Quiet Switches 1, 2 Print ModeSwitches 3, 4, 5 Print Pitch Print ModeSwitch 5 CR Centering Position Switches 1, 2, 3, 4 Page LengthLength Code SW1 SW2 SW3 SW4 SW5Name Country Remarks Country Remarks International Character SetSwitches 1, 2, 3, 4, 5 NLQ Font Selection Bank FUser Setup Utility Installing the User Setup UtilityStarting the User Setup Utility Starting the User Setup UtilityUser Setup Utility Changing the General, Font, Paper and Adjust SettingsTo select a window To select a setting box Adjusting the dot alignmentAdjusting the dot alignment To change a settingSaving setup data in a configuration file Changing the printer portExiting the User Setup Utility Importing setup data from a configuration fileReturning to default settings Using the Help menuUsing the Printer with Windows Setting up for printing with Microsoft WindowsSetting up for printing with Microsoft Windows 3.1 Using the Printer with Windows Getting ready to printPrinting a document Printing a documentInstalling TrueType fonts Selecting fonts in Windows applications Selecting fonts in Windows applicationsSetting up the printer in Windows Setting up the printer in Windows 95 Using the printer with Windows Preparing to print Preparing to printPrinting a document Printing a document Installing TrueType fonts Using the Printer with OS/2 Warp Setting up for printing with OS/2 WarpUsing the Printer with OS/2 Warp Using the Printer with MS-DOS Setting up for printing with MS-DOSCut-Sheet Paper Manual Feed Paper HandlingSelecting paper types Cut-Sheet Paper with Optional Automatic Sheet FeederAdjusting for paper thickness Adjusting for paper thicknessPaper Handling Automatic fanfold feedingManual sheet feeding ThicknessClearing paper jams Clearing paper jamsAutomatic Sheet Feeder SF-15HA Optional AccessoriesPreparing the printer Serial Interface Unit IS-8H192 and IS-32H768 Pull Tractor Unit PT-15HAPull Tractor Unit PT-15HA Specifications IS-8H192 Optional AccessoriesSpecifications IS-32H768 Serial-to-Parallel Converter SPC-8K Serial-to-Parallel Converter SPC-8KSpecifications Testing the printer Appendix a TroubleshootingShort test Hexadecimal dump Hexadecimal dumpLong test Troubleshooting DOT Adjustment SettingTroubleshooting guide Troubleshooting guideProblem Possible Cause Jamming paper Printed on Return is enabled Printer case is hot Printer’s air vents are Left margin moves to Paper is not loaded Enter the EDS Mode To check the default printer selection Checking system software settings in WindowsChecking system software settings in Windows To check the driver setupChecking system software settings in MS-DOS To check the portAppendix B Specifications Specifications Power Consumption LC-1521 Dimensions and WeightPower Supply Ribbon TypeOptional Serial Interface IS-8H192 and SPC-8K Appendix C Interface Pin OutsParallel Interface Pin Name FunctionAppendix D Character Sets Standard Italic Character Set International Character SetCharacter Sets IBM Character Set #2 Code Page #437 IBM-PC Character Set #1Code Page #850 Multi-lingual IBM Special Character SetCode Page #860 Portuguese Code Page #861 IcelandicCode Page #865 Nordic Code Page #863 Canadian FrenchCode Page #866 Russian Code Page #3840 IBM-RussianCode Page #3843 Polish Code Page #3841 Gost-RussianCode Page #3844 Code Page #3845 HungarianCode Page #3847 Brazil-ABNT Code Page #3846 TurkishCode Page #3848 Brazil-ABICOMP Code Page #852 Latin-2Code Page #737 Greek Code Page #1001 ArabicCode Page #851 Greek Code Page #928 Greek Code Page #869 GreekCode Page #2001 Lithuanian-KBL Code Page #772 LithuanianCode Page #3001 Estonian1 Code Page #774 LithuanianCode Page #3002 Estonian2 Code Page #3011 Latvian1Code Page #3021 Bulgarian Code Page #3012 Latvian2Code Page #3031 Hebrew Code Page #3041 MalteseDescription Mode Ascii Code Font and Character Set Control CommandsAppendix E Printer Control Codes Top/Bottom Margin and Vertical Tab Commands Print Pitch Control CommandsPrinter Control Codes Bit Image Graphic Commands Special Print Mode CommandsForm Feed and Related Commands Download Character Commands Line Spacing CommandsHorizontal Print Position Control Commands Other Commands Appendix F Glossary Appendix G Control Panel Operation Guide ON-LINEPage MS-DOS Page Page Customer service information