Star Micronics NX-2400 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,192,224,224,240 3480 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

3580 DATA 48,112,224,224,224,224,240,240,248,248

3590 DATA 120,120, 56, 56, 56, 56,120,240,224,224

3600 DATA 192,128, 0, 0, 0, 0, 0,248,248,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 NX-2400 Page HOW to USE this Manual Features of the Printer Quad-sized Tableofcontents With DOS and Basic Download Character Generator Chapter Platen Setting UP Remove the top coverInstall the ribbon cartridge Install the optional IC card Replace the top cowerConnect the printer to the computer Mount the paper guideSemiautomatic loading Figure l-7.Mounting the paper guide for single sheetsManual loading Loading and Parking Fanfold Forms 11. Closing the sprocket covers Paper parking Paper unparking Short se/f testLong se/f test Interface testAdjusting the Printing GAP International character set Print style and pitch selection Page Page OFF Control Panel OPERAllONS On Line switch Paper Feed switchQuiet Mode switch Sty/e/Pitch switchPOWER-UP Functions Sh0ff test paffern On Line switchLprint CHR$I Next B8 B9 Switch Combination Functions Switch combination functions of control panelTop Of fOff?L Style/Pitch Page Memo Using WE PR//vER Installing Your SoftwareCommand options PrinterSetting the DIP Switches Using Your SoftwareType sty/e and pitch selection Printercommands Memo Using the Printer with DOS and Basic HARD-COPYING the Screen MS-DOS and PC-DOSProgramming the Printer with DOS Commands Name of list device PRNNew file Programming the Printer with Basic Acopy LQELITE.DAT PRN Aprint README.DOC ‘Cancel Lprint the Spacings are Changed Next H How the program works IBM Lprint ES= cHR$ocHR$6ocHR$6o Cleaning the Printer Replacing the RibbonReplacing the Print Head Replacing the ribbon cartrlctgeConnector cover Fligure 5-2. Replacing the print head Replacing the Battery in the RAM Card If a// text is printed on the same line TroubleshootingIf printing is faint, incomplete, or unclear If line spacing is twice as wide as expectedIf you have problems with horizontal tabulation If you have problems with graphicsIf you have problems with download characters Interface and Emulation Switches and fndicatorsPrinting Mechanism Character Sets Dot Matrix SizeType Sty/es and Pitches Paper SpecificationsDimensions and Weight Environmental Requirements Electrical SpecificationsInterface Signals OptionSignal Pin No Name Memo Font Control Commands Select draft quality charactersSelect ornament character Select LQ charactersSelect LQ type Style Select Italic CharactersStart Underlining Select Upright CharactersDouble-strike Printing Start Overlining Cancel Superscript Or subscriptStop Underlining Stop OverliningSelect character set #7 Select Standard characterSelect IBM character set Select Character set #2Select s/ash 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 printing Cancel condensed printingCancel expanded printing Expanded printingSe/ect proportional spacing Select master print modeCaucel one-line expanded printing Select fixed spacingPrint double-height characters Increase character SpacingSelect double or quadruple size Return to normal HeightSelect Character Width Select character height, width, and line spacingSet 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/780 or n/216 inch Set line spacing to 716 inchSet base unit for line spacing Set line spacing to n/360 inchDefine line spacing to n/72 inch Select forward feed modeSelect reverse feed mode Execute ESC aFeed paper n lines Perform one n/180-inch or n/2164nch line feedPerform one n/780-inch reverse line feed Set top of page at current positionSet top margin Cancel top and bottom marginsSet page length to n inches Set bottom marginSet vertical tab stops Disable paper-out detectorEnable paper-out detector Set vertical tab stops every n linesSet left margin Select Vertical Tab channelVertical tab Set right marginCarriage return Cancel automatic line feedSet left and right margins Set automatic Line feedCenter text BackspaceLeff justify Right justifySet horizontal tab stop every n columns Reset all tab stopsSet horizontal tab stops Horizontal tabAbsolute horizontal tab in inches Relative horizontal TabRelative horizontal tab in inches Absolute horizontal tab in columnsPrint 8-bit double-density graphics Graphics CommandsPrint 8-bit single-density graphics Print 8-bit double-density, double-speed graphicsSelect graphics mode Print M-bit hex-density graphicsDownload Character Convert graphics densityCopy standard characters from ROM into RAM Define Download Select download character setROM Other Printer Control CommandsDelete Last character Sent MSBQuiet Print Cancel Quiet PrintRepeat data Last LineSet printer on-line Cancel Immediate PrintSet printer off-line Stop printingOne-line unidirectional printing PrintingUnidirectional printing Manual feedSet print start position on ASF Reset printerEject Paper Memo AppendixCDOWNLOAD Norma/ characterSemi-condensed Proportional Super/subscript character Iiao 1600 2440 If ST=5 then CLS Goto 3480 Character Sets I7’ Standard Character SETPj-iii-j IBM Character SET #2 Page IBM CH Aracter SET #I Additional Character SET International Character Sets SfRIndex Lol 111107 Command Summary ESC ESC p ESC p0 ESC p.‘ 111