Star Micronics NX-2400 user manual Using the Printer with DOS and Basic

Page 43

..

Chapter 4 USING THE PRINTER WITH DOS AND BASIC

Although you will probably do most of your printing with the aid of

commercial software, at times you will want to employ direct commands

.

or programs of your own. This chapter will give you some ideas. Three subjects are covered:

Hard-copying the screen

Programming the printer with DOS commands

I.

Programming the printer with BASIC

HARD-COPYING THE SCREEN (MS-DOS AND PC-DOS)

If your computer has a PRTSC (or PrtSc) key, there is an easy way to get hard copy of the screen. Press the SHIFT and PRTSC keys. The printer will print the current screen contents. The PRTSC key works both at the

system command level and while you are running application software.

Normally the PRTSC key prints only text data, but if your DOS system

includes a file named GRAPHICS.COM, you can hard-copy graphics dis- plays by first typing the command:

A>GRAPHICS

You will find that graphics printing takes considerably more time than

text printing. See your DOS manual for further information on the

GRAPHICS command.

At the DOS command level, there is also a simple way to have the printer

print hard copy continuously, instead of one screen at a time. Press the CTRL key, hold it down, then also press the PRTSC key. If your computer does not have a PRTSC key, press the CTRL and P keys. Nothing visible will

happen, but you have just switched on the print-screen function. After this,

the printer will hard-copy all text displayed. For example, try typing the directory command:

A>DIR

You will obtain a printed directory.

35

Image 43
Contents NX-2400 Page HOW to USE this Manual Features of the Printer Quad-sized Tableofcontents With DOS and Basic Download Character Generator Chapter Platen Remove the top cover Setting UPInstall the ribbon cartridge Replace the top cower Install the optional IC cardMount the paper guide Connect the printer to the computerFigure l-7.Mounting the paper guide for single sheets Semiautomatic loadingManual loading Loading and Parking Fanfold Forms 11. Closing the sprocket covers Paper parking Short se/f test Paper unparkingInterface test Long se/f testAdjusting the Printing GAP International character set Print style and pitch selection Page Page OFF Control Panel OPERAllONS Paper Feed switch On Line switchSty/e/Pitch switch Quiet Mode switchSh0ff test paffern On Line switch POWER-UP FunctionsLprint CHR$I Next B8 B9 Switch combination functions of control panel Switch Combination FunctionsTop Of fOff?L Style/Pitch Page Memo Installing Your Software Using WE PR//vERPrinter Command optionsUsing Your Software Setting the DIP SwitchesType sty/e and pitch selection Printercommands Memo HARD-COPYING the Screen MS-DOS and PC-DOS Using the Printer with DOS and BasicName of list device PRN Programming the Printer with DOS CommandsNew file Acopy LQELITE.DAT PRN Aprint README.DOC Programming the Printer with Basic‘Cancel Lprint the Spacings are Changed Next H How the program works IBM Lprint ES= cHR$ocHR$6ocHR$6o Replacing the Ribbon Cleaning the PrinterReplacing the ribbon cartrlctge Replacing the Print HeadConnector cover Fligure 5-2. Replacing the print head Replacing the Battery in the RAM Card If line spacing is twice as wide as expected TroubleshootingIf printing is faint, incomplete, or unclear If a// text is printed on the same lineIf you have problems with download characters If you have problems with graphicsIf you have problems with horizontal tabulation Printing Mechanism Switches and fndicatorsInterface and Emulation Dot Matrix Size Character SetsDimensions and Weight Paper SpecificationsType Sty/es and Pitches Option Electrical SpecificationsInterface Signals Environmental RequirementsSignal Pin No Name Memo Select draft quality characters Font Control CommandsSelect Italic Characters Select LQ charactersSelect LQ type Style Select ornament characterDouble-strike Printing Select Upright CharactersStart Underlining Stop Overlining Cancel Superscript Or subscriptStop Underlining Start OverliningSelect Character set #2 Select Standard characterSelect IBM character set Select character set #7Select normal zero Enable printing of all character codesEnable printing of a// character codes on next character Select s/ash zeroHigh-density elite pitch Pica pitchElite pitch High-speed elite pitchExpanded printing Cancel condensed printingCancel expanded printing Condensed printingSelect fixed spacing Select master print modeCaucel one-line expanded printing Se/ect proportional spacingReturn to normal Height Increase character SpacingSelect double or quadruple size Print double-height charactersSelect character height, width, and line spacing Select Character WidthSet line spacing to 718 inch Vertical Position CommandsSelect character type and print pitch Set line spacing to 7160 or 7172 inchSet line spacing to n/360 inch Set line spacing to 716 inchSet base unit for line spacing Set line spacing to n/780 or n/216 inchExecute ESC a Select forward feed modeSelect reverse feed mode Define line spacing to n/72 inchSet top of page at current position Perform one n/180-inch or n/2164nch line feedPerform one n/780-inch reverse line feed Feed paper n linesSet bottom margin Cancel top and bottom marginsSet page length to n inches Set top marginSet vertical tab stops every n lines Disable paper-out detectorEnable paper-out detector Set vertical tab stopsSet right margin Select Vertical Tab channelVertical tab Set left marginSet automatic Line feed Cancel automatic line feedSet left and right margins Carriage returnRight justify BackspaceLeff justify Center textHorizontal tab Reset all tab stopsSet horizontal tab stops Set horizontal tab stop every n columnsAbsolute horizontal tab in columns Relative horizontal TabRelative horizontal tab in inches Absolute horizontal tab in inchesPrint 8-bit double-density, double-speed graphics Graphics CommandsPrint 8-bit single-density graphics Print 8-bit double-density graphicsPrint M-bit hex-density graphics Select graphics modeCopy standard characters from ROM into RAM Convert graphics densityDownload Character Select download character set Define DownloadMSB Other Printer Control CommandsDelete Last character Sent ROMLast Line Cancel Quiet PrintRepeat data Quiet PrintStop printing Cancel Immediate PrintSet printer off-line Set printer on-lineManual feed PrintingUnidirectional printing One-line unidirectional printingEject Paper Reset printerSet print start position on ASF Memo Norma/ character AppendixCDOWNLOADSemi-condensed Proportional Super/subscript character Iiao 1600 2440 If ST=5 then CLS Goto 3480 Character Sets Standard Character SET I7’Pj-iii-j IBM Character SET #2 Page IBM CH Aracter SET #I Additional Character SET SfR International Character SetsIndex 111 Lol107 Command Summary ESC ESC p ESC p0 ESC p.‘ 111