Star Micronics NX-2410 user manual Cls

Page 102

I

1890

1900

1910

1920

1930

1940

1950

1960

1970

1980

1990

2000

2010

2020

2030

2040

2050

2060

2070

2080

2090

2100

2110

2120

2130

2140

2150

2160

2170

2180

2190

2200

2210

2220

2230

2240

2250

2260

2270

2280

2290

2300

2310

2320

2330

2340

2350

2360

2370

2360

2390

2400

2410

2420

2430

2440

2450

2460

2470

24.90

2490

2500

2510

2520

SO$="Continue" :Sl$="Start over"

S=O :PX=l7 :PY=l :GOSUB 2820 :IF S THEN CLS :GOTO 1120

CLS

I----- Select character position --------------------------------

CH$=CHR$(CC)

LOCATE 1,SO :PRINT "CHARACTER [";CH$;"]"; I$=INPUT$(l)

IF " "<I$ AND I$<CHR$(127) THEN CH$=I$ ELSE GOT0 2000 CC=ASC(CHS)

LOCATE‘1,56 :PRINT "CHARACTER : ";CH$;" I'

IF A(CC)<O THEN AO=O :Al=A :A2=W-A :GOTO 2030

AO=ASC(LEFT$(A$(CC),l)) :Al=A(CC) :A2=ASC(RIGHT$(A$(CC),l)) LOCATE 3.50 :PRINT "Body-Width = ";A1

LOCATE 4,50 :PRINT "Left Space = ":A0

LOCATE 5,50 :PRINT "Right Space = ":A2 LOCATE 7,50 :PRINT "( Are you sure ? )" LOCATE 8,50 :PRINT "*** Yes or No ***'*

A$=INPUT$(l)

LOCATE 7,50 :PRINT SPC(25) :LOCATE 8,50 :PRINT SPC(25) IF A$="N" OR A$="n" THEN 2110 ELSE GOT0 2240

I----- Select Character width/Left space ------------------------

FOR I=3 TO 5 :LOCATE I,50 :PRINT SPC(25) :NEXT I LOCATE 3,50 :INPUT "Body-Width = ";A1

IF Al=0 OR Al>W THEN BEEP :LOCATE 3.50 :PRINT SPC(20) :GOTO 2130 LOCATE 3.63 :PRINT STR$(Al);". '

LOCATE 4,50 :INPUT "Left Space = ";A0

IF AO+Al>W THEN BEEP :LOCATE 4,50 :PRINT SPC(20) :GOTO 2160 LOCATE 4,63 :PRINT STR$(AO);". '

IF QUA=2 THEN 2210

A2=W-AO-Al :LOCATE 5.50 :PRINT "Right Space =";:GOTO 2230 LOCATE 5,50 :INPUT "Right Space = ";A2

IF AO+Al+A2>W THEN LOCATE 3,50 :PRINT SPC(20) :GOTO 2210

LOCATE 5.63 :PRINT STR$(AP);". " :GOTO 2060

n----- Key explanations -----___------------__I_________________-

LOCATE lo,50 :PRINT “Fl: Clear dot"

LOCATE 11,50 :PRINT “F2: Pass over"

LOCATE 12,50 :PRINT “F3: Set dot"

LOCATE 13,50 :PRINT “F4: Clear all dots"

LOCATE 14,50 :PRINT "F5: Skip character"

LOCATE 15,50 :PRINT "F6: End"

LOCATE 16,50 :PRINT "RET Record character"

t----- Get character ~_~---------~~~~~~~~~~~~~~~~~~~~-~~-~~-~----

IF A(CC)<O THEN GOSUB 3040 :GOTO 2460

FOR N=l TO HI-7 STEP S :FOR O=N TO N+7 :LOCATE 0,l

IF O=N THEN PRINT LEFT$(SC$(O),Al); ELSE PRINT LEFT$(SC$(l),Al); NEXT 0,N

H=O :FOR Y=l TO Al :FOR N=l TO HI-7 STEP 6 :H=H+l :WT=l20

P=ASC(MID$(P$(CC),H,l)) :FOR O-N TO N+7 IF (P AND WT)=O THEN 2430

~~'~;xl=~kp~;';II~y~~~~~

;:;;mb"

:GOSUB 3680 ELSE GOSUB 3680

WT=.J'WT :NEXT 0 :NEXT N :NEXT

_-----

___________________

P----

m Modify & plot character

x=1 :r=1

FOR Z=lO TO 12 :LOCATE Z,48 :PRINT M II :NEXT Z ST=2 :LOCATE 11,48 :PRINT "+" :GOTO 2480

;F DT(X,Y)=P THEN CS$=CHR$(P) :GOTO 2610

IF DT(X,Y)=O THEN 2570

IF ST>1 THEN 2540 ELSE DT(X,Y)=O :CS$=CHR$(l)

94

Image 102
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 cardConnect the printer’s power cord Connect the printer to the computerMount the paper guide 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 menuPrinter command options Type stylesWidth 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 horizontal tabulation If you have problems with graphicsIf you have problems with download characters Switches and indicators Interface and Emu/a tionDot Matrix Size Character SetsPaper Specifications Dimensions and WeightType Sty/es and Pitches 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 WidthSelect character height, width, and line spacing 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 feedReset Printer Eject paper From ASFSet print start position on 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