Star Micronics NX-2410 user manual Programming the Printer with DOS Commands, Aprint README.DOC

Page 44

To switch printer output off, press CTRL-PRTSC or CTRL-P again.

Each time you press this key combination, hard copy toggles from on to off or from off to on.

PROGRAMMING THE PRINTER WITH DOS COMMANDS

If your system includes the file PRINT.COM you can use the main DOS printing command. Simply type the word PRINT followed by the name

of the file you want to print. To print a file named README.DOC, for example, type:

A>PRINT README.DOC

The computer may respond with the following message, asking which printer to use:

Name of list device [PRN]:

If your computer is connected to only one printer, press RETURN to select the default choice (PRN). Printing will begin and the A> prompt

will reappear. You can execute other commands or programs while the file is being printed.

A single PRINT command can print two or more files. List the tile names

consecutively on the same line, or use wild-card characters (* and ?). Each file will be printed starting on a new page. The PRINT command also has control options. For example, you can terminate a printing job in progress

with the /T option. (The printer may not stop printing immediately; it may

have considerable data stored ahead in its buffer.) For the /T optioqtype:

A>PRINT/T

 

 

 

 

 

 

See your DOS manual for further

information

about

the

PRINT

-

command. If your system does not include

PRINT.COM,

you

can print

files

 

by using the PRN device name in COPY

or TYPE commands

such

as

the

 

following:

 

 

 

 

 

 

A>COPY README.DOC PRN

A>TYPE README.DOC > PRN

COPY and TYPE do not permit you to execute other commands while the file is printing.

36

Image 44
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 Check the carton contents ChapterPage Setting UP Remove the top cowerInstall the ribbon cartridge Replace the top cover Lnsfall the optional IC cardMount the paper guide Connect the printer’s power cordConnect the printer to the computer Semiautomatic loading Figure i-7. Mounting the paper guide for single sheetsManual loading Loading and Parking Fanfold Forms Opening the rear coverClamp Lever Paper parking Figure l-72. Mounting the paper guide for fanfold formsTest Printing Long self test Interface testAdjusting the Printing GAP IBM Page Selected Mode You OFF Switches and Indicators ChapterOn Line switch Paper feed switchQuiet Mode switch POWER-UP Functions Short test pattern On Line switchLprint CHR$I Next Return Switch Combination Functions Switch combination functions of control panelPage Page Memo Installing Your Software Printer menuWidth Printer command optionsType styles Setting the DIP Switches Using Your SoftwareInitialization sequence AlignmentOther printer commands Type style and pitch selectionCan help you to use ESC4italicESC5 print Memo With DOS and Basic HARD-COPYING the Screen MS-DOS and PC-DOSProgramming the Printer with DOS Commands Aprint README.DOCNew file Programming the Printer with Basic Acopy CON LQPRINT.BATLprint Lprint END How the program works Page Lprint ES= c~$oc~$6oc~$6o Cleaning the Printer RkPLACING the RibbonReplacing the Print Head Replacing the ribbon cartridgeScrews Replacing the print headReplacing the Battery in the RAM Card Replacing the batteryIf the printer doesn’t print If fanfold paper becomes stuckIf label paper becomes stuck If a// text is printed on the same lineIf you have problems with download characters If you have problems with horizontal tabulationIf you have problems with graphics Switches and indicators Interface and Emu/a tionDot Matrix Size Character SetsType Sty/es and Pitches Paper SpecificationsDimensions and Weight Electrical Specifications Fnterface SignalsEnvironmental Requirements OptionKCK OUT Memo Printer Control Commands FdNT Control Commands Select draft quality charactersSelect LQ characters Select LQ type styleSelect ornament character Select italic charactersCancel emphasized printing Cancel double-strike printingSelect Upright Characters Emphasized printingStop Underlining Start OverliningCharacter SET Commands Enable printing of all character codes Enable printing of a// character codes on next characterSelect Slash Zero Select Normal ZeroPica Pitch Elite pitchHigh-speed elite pitch High-density Elite PitchCancel condensed printing Cancel Expanded PrintingCondensed Expanded printingSelect Master Print mode Caocel one-line expanded printingSelect proportional spacing Select fixed spacingIncrease character Spacing Select double or quadruple sizePrint Double-height Characters Return To normalSelect character height, width, and line spacing Select CharacterWidth Vertical Position Commands Select character type and print pitchSet line spacing to 718 inch Set line spacing to 7160 or 7172 inchSet line spacing to 116 inch Set base unit for line spacingSet line spacing to n/180 or n/276 inch Set line spacing to n/360 inchSelect forward feed mode Define line spacing to n/72 inchExecute ESC a Line feedPerform one n/780-inch or n/276-inch line feed Cancel top and bottom margins Set page Iength to n inchesSet bottom margin Form feedDisable paper-out detector Enable paper-out detectorSet vertical tab stops Set vertical tab stops every n linesHorizontal Position Commands Set left marginSelect vertical tab channel TabCancel autoniatic line feed Set left and right marginsCarriage return SetBackspace Left justifyCenter text Right justifyReset Set horizontal tab stopsSet horizontal tab stop every n columns Horizontal tabRelative horizontal Tab Relative horizontal tab in inchesAbsolute horizontal tab in inches Absolute horizontal tab in co/umnsPrint 8-bit Sing/e-density Graphics Print 8-bit double-density GraphicsPrint 8-bit double-density, double-speed graphics Print Bit quadruple-density GraphicsSelect graphics mode Print 24bit hex-density graphicsSelect Graphics Mode Download Character CommandsConvert graphics Density Copy character set from ROM into RAM cardDefine Download Select download character setOther Printer Control Commands Select ROM characterSet MS6 to Set MS8 toCancel last line Cancel Quiet printRepeat data Quiet printCancel immediate Print Set printer off-lineSet printer on-he Stop printingBidirectional Unidirectional printingOne-line unidirectional printing Manual feedSet print start position on ASF Reset PrinterEject paper From ASF Memo AppendixcDOWNLOAD Normal characterDraft 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 I‘? IBM Character SET #lAdditional Character SET # $ h o 0 § International Character SetsIndex Irl 107 Command Summary 109 Select base unit for line spacing 111