Star Micronics NX-2410 user manual Lprint

Page 47

1000

) Set control codes

 

 

1010

E$=CHR$(27)

'Escape code

1020

D$=E$+"xO"

'Draft quality

1030

L$=E$+"xl"

'Letter quality

1040

C.$=Ej+"kO"+L$

'Courier characters

1050

P$=ES+"kZ"+LS

'Prestige characters

1060

Oi=E$+"k3"+L$

'Orator characters

1070

S$=E$+"k4"+L$

'Script characters

1080

H$=CHR$(O)

'Horizontal tab

1090

PI$=E$+"P"

'Pica pitch

1100

' Start printing

 

 

1110

WIDTH "LPT1:",255

 

 

1120

LPRINT

I;"D";CHR$(3);CHR$(24);CHR$(O);

1130

LPRINT

I;"Type styles are:"

1140

LPRINT

I;D$;"Draft characters,";

1150

LPRINT

I;C$;"Courier characters,"

1160

LPRINT

:;p$;"Prestige

characters,":

1170

LPRINT

!;O$;"Orator characters,"

1180

LPRINT

l;s$;'tScript

characters,"

1190

LPRINT

I;"4"*

'Select italics

1200

LPRINT

I;D$;:'and";C$;"italics ";P$;"for ";

1210

LPRINT

;;"a11 ";S$;"styles."

1220

LPRINT

I*"5"

'Cancel italics

1230

LPRINT

1;"Print pitches are:"

1240

LPRINT

H$;PI$;"Pica pitch (10 CPI),";

1250

LPRINT

HS*ES*"M"'"Elite>I ,

pitch (12 CPI),"

1260

LPRINT

H$iE$; Mg’ti I( Semi-condensed pitch (15 CPI),";

1270

LPRINT

HS;PI$;

'Select condensed print

1280

LPRINT

CHRS(15);

1290

LPRINT "Condensed pica pitch (17 CPI),"

1300

LPRINT

HS*ES,.,"M":"Condensed elite pitch (20 CPI),";

1310

LPRINT

CHR$(i8)

'Cancel condensed print

1320

LPRINT

H$;E$;"pl";

'Select proportional spacing

1330

LPRINT

PI$;"Normal proportional, ";

1340

LPRINT

H$;CHR$(15);"and condensed proportional.";

1350

LPRINT

CHR$(18);

'Cancel proportional epacing

1360

LPRINT

E$;"pO"

1370

LPRINT

H$;E$;"wl ";v'Double-height,";ES;"wO"

1380

LPRINT

1390

LPRINT

H$;E$;"Wl ";"Double width,";E$;"WO"

1400 LPRINT

H$;CHR$(28);"E";CHR$(2);"Triple width,";

1410 LPRINT

CHR$(28);"E";CHR$(O)

1420 LPRINT

H$;E$;*'h";CHR$(l);"Double-sized,"

1430 LPRINT

H$:E$;t~h";CHR$(2);"Quad-sized.";

1440 LPRINT

E$:"h";CHR$(O)

 

1450 LPRINT

:LPRINT :LPRINT

 

1460

LPRINT

E'S;"Q";CHR$(47')'Set right margin

1470

LPRINT

C$:"Various line and character spacings:"

1480

LPRINT

E$;"al"

'Center text

1490 FOR I=1 TO 7

 

 

1500 LPRINT

E$;"A";CHR$(I);

'Set line spacing

1510 LPRINT ES;" ";CHR$(I); 'Increase character space

1520 LPRINT "THE SPACINGS ARE CHANGED"

1530 NEXT

I

 

 

 

1540 FOR

I=7

TO 1 STEP -1

 

 

1550 LPRINT

E$:~~A";CHR$(I); 'Set line spacing

39

Image 47
Contents MULTI-FONT Relocate the computerorprinterwithrespectto the mceiver HOW to USE this Manual Features of the Printer Quad-sized Tableofcontents Commercial Software Download Character Generator Chapter Check the carton contentsPage Remove the top cower Setting UPInstall the ribbon cartridge Lnsfall the optional IC card Replace the top coverMount the paper guide Connect the printer’s power cordConnect the printer to the computer Figure i-7. Mounting the paper guide for single sheets Semiautomatic loadingManual loading Opening the rear cover Loading and Parking Fanfold FormsClamp Lever Figure l-72. Mounting the paper guide for fanfold forms Paper parkingTest Printing Interface test Long self testAdjusting the Printing GAP IBM Page Selected Mode You OFF Chapter Switches and IndicatorsPaper feed switch On Line switchQuiet Mode switch Short test pattern On Line switch POWER-UP FunctionsLprint CHR$I Next Return Switch combination functions of control panel Switch Combination FunctionsPage Page Memo Printer menu Installing Your SoftwareWidth Printer command optionsType styles Alignment Setting the DIP SwitchesUsing Your Software Initialization sequenceType style and pitch selection Other printer commandsCan help you to use ESC4italicESC5 print Memo HARD-COPYING the Screen MS-DOS and PC-DOS With DOS and Basic Aprint README.DOC Programming the Printer with DOS CommandsNew file Acopy CON LQPRINT.BAT Programming the Printer with BasicLprint Lprint END How the program works Page Lprint ES= c~$oc~$6oc~$6o RkPLACING the Ribbon Cleaning the PrinterReplacing the ribbon cartridge Replacing the Print HeadReplacing the print head ScrewsReplacing the battery Replacing the Battery in the RAM CardIf a// text is printed on the same line If the printer doesn’t printIf fanfold paper becomes stuck If label paper becomes stuckIf you have problems with download characters If you have problems with horizontal tabulationIf you have problems with graphics Interface and Emu/a tion Switches and indicatorsCharacter Sets Dot Matrix SizeType Sty/es and Pitches Paper SpecificationsDimensions and Weight Option Electrical SpecificationsFnterface Signals Environmental RequirementsKCK OUT Memo FdNT Control Commands Select draft quality characters Printer Control CommandsSelect italic characters Select LQ charactersSelect LQ type style Select ornament characterEmphasized printing Cancel emphasized printingCancel double-strike printing Select Upright CharactersStart Overlining Stop UnderliningCharacter SET Commands Select Normal Zero Enable printing of all character codesEnable printing of a// character codes on next character Select Slash ZeroHigh-density Elite Pitch Pica PitchElite pitch High-speed elite pitchExpanded printing Cancel condensed printingCancel Expanded Printing CondensedSelect fixed spacing Select Master Print modeCaocel one-line expanded printing Select proportional spacingReturn To normal Increase character SpacingSelect double or quadruple size Print Double-height CharactersSelect character height, width, and line spacing Select CharacterWidth Set line spacing to 7160 or 7172 inch Vertical Position CommandsSelect character type and print pitch Set line spacing to 718 inchSet line spacing to n/360 inch Set line spacing to 116 inchSet base unit for line spacing Set line spacing to n/180 or n/276 inchLine feed Select forward feed modeDefine line spacing to n/72 inch Execute ESC aPerform one n/780-inch or n/276-inch line feed Form feed Cancel top and bottom marginsSet page Iength to n inches Set bottom marginSet vertical tab stops every n lines Disable paper-out detectorEnable paper-out detector Set vertical tab stopsTab Horizontal Position CommandsSet left margin Select vertical tab channelSet Cancel autoniatic line feedSet left and right margins Carriage returnRight justify BackspaceLeft justify Center textHorizontal tab ResetSet horizontal tab stops Set horizontal tab stop every n columnsAbsolute horizontal tab in co/umns Relative horizontal TabRelative horizontal tab in inches Absolute horizontal tab in inchesPrint Bit quadruple-density Graphics Print 8-bit Sing/e-density GraphicsPrint 8-bit double-density Graphics Print 8-bit double-density, double-speed graphicsPrint 24bit hex-density graphics Select graphics modeCopy character set from ROM into RAM card Select Graphics ModeDownload Character Commands Convert graphics DensitySelect download character set Define DownloadSet MS8 to Other Printer Control CommandsSelect ROM character Set MS6 toQuiet print Cancel last lineCancel Quiet print Repeat dataStop printing Cancel immediate PrintSet printer off-line Set printer on-heManual feed BidirectionalUnidirectional printing One-line unidirectional printingSet print start position on ASF Reset PrinterEject paper From ASF Memo Normal character AppendixcDOWNLOADDraft characters Pica Super/subscript character 1220 Then QUA=2 Else QUA=0 CLS Locate PX,PY Print ISO$ Plot chara,-.ter ------------~-~----~-~-~~~~-~~~~~ Character Sets Standardcharacterset IuIX Ih Y I-G- I-G- l-7 Page IBM Character SET #l I‘?Additional Character SET International Character Sets # $ h o 0 §Index Irl 107 Command Summary 109 Select base unit for line spacing 111