Star Micronics NX-2400 user manual New file

Page 45

If you want a particular type style or print pitch you can make these

settings from the control panel before you start printing. See Chapter 2.

If you print from the DOS command level very often, it will be ad-

vantageous to create a printer setup file. Then instead of setting pitches etc. manually each time, you can complete the setup with a single command from

your computer. For example, you can create a file containing printer

commands to set the right and left margins, select letter quality, and select

elite pitch. You can find the commands in Appendix B. We suggest the following:

0

Letter

quality

< ESC

>

“x”

“1”

Elite

pitch

< ESC

>

“!”

Cl>

Left and right margins <ESC> “X" <12> <92>

<ESC > “!” < 1 > is a powerful command that, in addition to selecting

elite pitch, cancels unwanted features such as underlining which might be

left from previous commands. The angle brackets around the < 1 > indicate character code 1, which is a control code, not the printable digit “1”.

<ESC > “x” < 12 > < 92 > sets the left margin in column 12 and the right margin in column 92. This will give a 6.7-inch, 80-column printed line with a one-inch left margin. (Elite has 12 characters per inch). < 12 > is a control code; < 92 > is the character “\“, as you can verify in Appendix D.

You may want to place additional commands in this file, such as line spacing and bottom margin commands. Or you may want to create a variety

of setup files with a different set of commands in each.

To avoid excess line feeds, you should place the commands on one line in the setup file. You may or may not be able to generate a setup file with

word-processing software; it depends on whether your software lets you enter

control codes. If your system includes the file EDLIN.COM, however, you can easily create a setup file with the DOS line editor.

An appropriate name for this setup file would be LQELITE.DAT. To

use the DOS line editor, type the command EDLIN LQELITE.DAT, then

type the underlined parts of the following display. Press RETURN at the end of each line. Don’t type the symbol “““. This symbol means to hold the CTRL key down while pressing the next key: for example, “V means

to type CTRL-V. h C means to type CTRL- C, which indicates the end of the input.

A>EDLIN LQELITE.DAT

New file

*1

-

Image 45
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 printing is faint, incomplete, or unclear TroubleshootingIf a// text is printed on the same line If line spacing is twice as wide as expectedIf you have problems with graphics If you have problems with download charactersIf you have problems with horizontal tabulation Switches and fndicators Printing MechanismInterface and Emulation Dot Matrix Size Character SetsPaper Specifications Dimensions and WeightType Sty/es and Pitches Interface Signals Electrical SpecificationsEnvironmental Requirements OptionSignal Pin No Name Memo Select draft quality characters Font Control CommandsSelect LQ type Style Select LQ charactersSelect ornament character Select Italic CharactersSelect Upright Characters Double-strike PrintingStart Underlining Stop Underlining Cancel Superscript Or subscriptStart Overlining Stop OverliningSelect IBM character set Select Standard characterSelect character set #7 Select Character set #2Enable printing of a// character codes on next character Enable printing of all character codesSelect s/ash zero Select normal zeroElite pitch Pica pitchHigh-speed elite pitch High-density elite pitchCancel expanded printing Cancel condensed printingCondensed printing Expanded printingCaucel one-line expanded printing Select master print modeSe/ect proportional spacing Select fixed spacingSelect double or quadruple size Increase character SpacingPrint double-height characters Return to normal HeightSelect character height, width, and line spacing Select Character WidthSelect character type and print pitch Vertical Position CommandsSet line spacing to 7160 or 7172 inch Set line spacing to 718 inchSet base unit for line spacing Set line spacing to 716 inchSet line spacing to n/780 or n/216 inch Set line spacing to n/360 inchSelect reverse feed mode Select forward feed modeDefine line spacing to n/72 inch Execute ESC aPerform one n/780-inch reverse line feed Perform one n/180-inch or n/2164nch line feedFeed paper n lines Set top of page at current positionSet page length to n inches Cancel top and bottom marginsSet top margin Set bottom marginEnable paper-out detector Disable paper-out detectorSet vertical tab stops Set vertical tab stops every n linesVertical tab Select Vertical Tab channelSet left margin Set right marginSet left and right margins Cancel automatic line feedCarriage return Set automatic Line feedLeff justify BackspaceCenter text Right justifySet horizontal tab stops Reset all tab stopsSet horizontal tab stop every n columns Horizontal tabRelative horizontal tab in inches Relative horizontal TabAbsolute horizontal tab in inches Absolute horizontal tab in columnsPrint 8-bit single-density graphics Graphics CommandsPrint 8-bit double-density graphics Print 8-bit double-density, double-speed graphicsPrint M-bit hex-density graphics Select graphics modeConvert graphics density Copy standard characters from ROM into RAMDownload Character Select download character set Define DownloadDelete Last character Sent Other Printer Control CommandsROM MSBRepeat data Cancel Quiet PrintQuiet Print Last LineSet printer off-line Cancel Immediate PrintSet printer on-line Stop printingUnidirectional printing PrintingOne-line unidirectional printing Manual feedReset printer Eject PaperSet 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