Star Micronics NX-2410 user manual How the program works

Page 50

3260 DATA 15, 15, 0, 0, 0, 0, 0, 0, 0, 0 3270 DATA 0, 1, 3, 3, 7, 7, 15, 14, 14, 14 3280 DATA 14, 15, 7, 7, 7, 3, 0, 0, 0, 0 3290 DATA 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 3300 DATA 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 3310 DATA 1, 3, 7, 7, 7, 15, 14, 14, 14, 14 3320 DATA 14, 7, 7, 3, 3, 15, 15, 15, 0, 0 3330 DATA 0, 0, 0, 0, 0, 0, 0, 0, 0, 0

3340 DATA 0, 0, 60,255,255,255,255,255,143, 15

3350 DATA 7, 7. 7. 7, 3, 3. 3,131,193,241 3360 DATA 240;240; 0; 0; 0; 0; 0; 0; 0; 1

3370 DATA 121,253,253,255,255,255,143, 7, 7, 7

3380 DATA 31,253,252,248,248,240,192, 0, 7, 15 3390 DATA 31, 31, 15, 7, 3, 0, 0, 0, 0, 0 3400 DATA 0, 0, 0, 0, 0, 0, 0, 0, 60,255 3410 DATA 255,255,255,255,143, 15, 7, 7, 7, 7

3420 DATA 3, 3, 3,131,193,241,240,240, 0, 0 3430 DATA 0, 0, 0, 0, 0, 0, 0, 0, 0, 0

3440 DATA 0, 31 31, 3,129,128,192,192,192,192

3450 DATA 192,224 224,224,224,240,255,255,255,255

3460 DATA 255,127 0, 0‘ 0‘ 0, 63,127,255,255

3470 DATA 255,255 193,128,128,128,128,192,224,240

3400 DATA 252,255 255,255,127, 63, 31, 7, 7, 31

3490 DATA 254,252 248,224,128, 0, 0, 3, 7, 7 3500 DATA 7, 3 0, 0, 0, 0, 0, 31, 31, 3 3510 DATA 129,128;192,192,192,192,192,224,224,224

3520 DATA 224,240,255,255,255,255,255,127, 0, 0 3530 DATA 0, 0, 0, 0, 0, 0, 0, 0, 0, 0

3540 DATA 0,248,248,240,224,224,112,112, 56, 56

3550 DATA 56, 56, 56,120,120,240,240,224,224,192

3560 DATA 128, 0, 0, 0, 0, 0,192,224,240.240

3570 DATA 240,248,248,248,120,120, 56, 56, 56, 56

3500 DATA 40,112,224,224,224,224,240,240,240,240

3590 DATA 120,12@, 56, 56, 56, 56,120,240,224,224

3600 DATA 193,128, 0, 0, 0, 0, 0,240,240,240

3610 DATA 224,224,112,112, 56, 56, 56, 56, 56,120

3620 DATA 120,240,240,224,224,192,128, 0, 0, 0 3630 DATA 0, 0, 0, 0, 0, 0, 0, 0, 0, 0

How the program works

This program begins by assigning a number of printer commands to BASIC string variables (lines 1000 to 1090). You can find most of these commands near the beginning of Appendix B.

The WIDTH “LPTl:” 255 statement in line 1110 means infinite line width. It prevents the IBM-PC from inserting unwanted carriage returns and line feeds in graphics data.

42

Image 50
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 Initialization sequence Setting the DIP SwitchesUsing Your Software 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 label paper becomes stuck If the printer doesn’t printIf fanfold 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 Environmental Requirements Electrical SpecificationsFnterface Signals OptionKCK OUT Memo Printer Control Commands FdNT Control Commands Select draft quality charactersSelect ornament character Select LQ charactersSelect LQ type style Select italic charactersSelect Upright Characters Cancel emphasized printingCancel double-strike printing Emphasized printingStop Underlining Start OverliningCharacter SET Commands Select Slash Zero Enable printing of all character codesEnable printing of a// character codes on next character Select Normal ZeroHigh-speed elite pitch Pica PitchElite pitch High-density Elite PitchCondensed Cancel condensed printingCancel Expanded Printing Expanded printingSelect proportional spacing Select Master Print modeCaocel one-line expanded printing Select fixed spacingPrint Double-height Characters Increase character SpacingSelect double or quadruple size Return To normalSelect character height, width, and line spacing Select CharacterWidth Set 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/180 or n/276 inch Set line spacing to 116 inchSet base unit for line spacing Set line spacing to n/360 inchExecute ESC a Select forward feed modeDefine line spacing to n/72 inch Line feedPerform one n/780-inch or n/276-inch line feed Set bottom margin Cancel top and bottom marginsSet page Iength to n inches Form feedSet vertical tab stops Disable paper-out detectorEnable paper-out detector Set vertical tab stops every n linesSelect vertical tab channel Horizontal Position CommandsSet left margin TabCarriage return Cancel autoniatic line feedSet left and right margins SetCenter text BackspaceLeft justify Right justifySet horizontal tab stop every n columns ResetSet horizontal tab stops Horizontal tabAbsolute horizontal tab in inches Relative horizontal TabRelative horizontal tab in inches Absolute horizontal tab in co/umnsPrint 8-bit double-density, double-speed graphics Print 8-bit Sing/e-density GraphicsPrint 8-bit double-density Graphics Print Bit quadruple-density GraphicsSelect graphics mode Print 24bit hex-density graphicsConvert graphics Density Select Graphics ModeDownload Character Commands Copy character set from ROM into RAM cardDefine Download Select download character setSet MS6 to Other Printer Control CommandsSelect ROM character Set MS8 toRepeat data Cancel last lineCancel Quiet print Quiet printSet printer on-he Cancel immediate PrintSet printer off-line Stop printingOne-line unidirectional printing BidirectionalUnidirectional 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