Star Micronics NX-2400 user manual If ST=5 then CLS Goto

Page 103

2530

2540

2550

2560

2570

2580

2590

2600

2610

2620

2630

2640

2650

2660

2670

2660

2690

2700

2710

2720

2730

2740

2750

2760

2770

2760

2790

2600

2810

2620

2830

2840

2850

2860

2070

2880

2890

2900

2910

2920

2930

2940

2950

2960

2970

2980

2990

3000

3010

3020

3030

3040

3050

3060

3070

3080

3090

3100

3110

3120

3130

3140

3150

3160

IF Y<Al THEN DT(X,Y+l)=O :CS$=STRING$(2,1) :GOTO 2610 ELSE GOT0 2610 IF Y=Al THEN CS$=CHR$(2) ELSE CS$*STRING$(2,2)

GOT0 2610

IF ST<3 THEN CS$=CHR#(l) :GOTO 2610

IF DT(X,Y+l)*l THEN CS$=CHR$(l) :GOTO 2610

DT(X,Y)=l :CS$=CHR$(2)

IF Y<Al THEN DT(X,Y+l)*P :CS$=STRING$(2,2)

GOSUB 3670

SS=ST :BX=X :BY=Y :GOSUB 2930 :IF SS=ST THEN 2710

IF ST>3 THEN 2670

FOR Z=lO TO 12 :LOCATE Z,48 :PRINT 'I 'I :NEXT Z

LOCATE 9+ST,48 :PRINT "+" :GOTO 2480

IF ST=4 THEN GOSUB 3040 :GOTO 2460

IF ST=5 THEN CLS :GOTO 1940

IF ST=6 THEN 3210

IF ST-7 THEN 3100

IF

DT(BX,BY)=O

THEN

2750

:ELSE

 

o

IF

DT(BX,BY)=l

AND BYcAl

THEN CS$="

n

GOT0

2810

 

 

 

 

 

 

C&$9”

 

.‘I

:IF

(BX

MOD

8)=1

THEN CS$="-"

 

IF

(BY BOD lO)=O THEN CS$="+'

 

 

IF

BY=Al

OR

DT(BX,BY+l)OO

THEN

2810

 

IF

((BY+l)

MOD

lO)=O

THEN

CS$=CS$+"+"

:GOTO 2810

IF

(BX MOD 8)=1 THEN CS$=CS$+“-”

ELSE

CS$=CS$+“-I’

GOSUB

3660

:GOTO 2480

 

 

 

I----__ yes or No _--____-----___----_--~~-----~~~~~-~~-~-~~~~---

LOCATE PX,PY :PRINT " I(:sag

LOCATE PX+l,PY :PRINT " ";sl$ IF NOT S THEN 2860 ELSE 2880

LOCATE PX,PY :PRINT "=*>'

LOCATE PX+l,PY :PRINT n " :LOCATE PX,PY

IFS THEN 2890 ELSE 2910

LOCATE PX,PY :PRINT w w

LOCATE PX+l,PY :PRINT "==>" :LOCATE PX,PY

I$=INPUTQ(l) :IF I$OCHR$(13) THEN S=NOT S :GOTO 2850

RETURN

I_____- Fu,.&m-on key check --__-----__----__---------------------

I$=INPUT$(l) :SK=ASC(I$) :FK*VAL(I$)

IF SK>6 AND SK<14 THEN ST=%-6 :GOTO 3030 IF FK=O OR FK=5 THEN 2940

IF FK MOD 3 = 0 THEN Y=Y+l

IF FK MOD 3 * 1 THEN Y=Y-1 IF FK >6 THEN X=X-l

IF FK <4 THEN X*X+1

IF Y>Al THEN Y=Al ELSE IF Y<l THEN Y=l

IF X>HI THEN X=HI ELSE IF X<l THEN X=1

RETURN

n_____- clear all dots _---~~~~--_------~~--~--~~~~~--~~~~~~~~-~~

FOR N=l TO HI-7 STEP 8 :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

FOR X=1 TO HI :FOR Y=l TO Al :DT(X,Y)=O :NEXT Y,X

ST=2 :X=1 :Y=l :RETURN

1--m--- Store ,..hara,..=rdata --_---_-_-----_---------------------

CLS :LOCATE 20,20 :PRINT wa**** WAIT f..*"ll

FL=0 :A$(CC)=CHR$(AO)+CHR$(Al)+CHR$(A2) :A(CC)=Al :P$(CC)="" FOR Y=l TO Al :FOR N=l TO HI-7 STEP 6 :WT=l26 :P*O

FOR X-N TO N+7 :P=P+WT*(DT(X,Y) AND 1) :FL=FL+P WT=.5*WT :NEXT X

P$(CC)=P$(CC)+CHR$(P) :NEXT N,Y

95

Image 103
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 line spacing is twice as wide as expected TroubleshootingIf printing is faint, incomplete, or unclear If a// text is printed on the same lineIf you have problems with download characters If you have problems with graphicsIf you have problems with horizontal tabulation Printing Mechanism Switches and fndicatorsInterface and Emulation Dot Matrix Size Character SetsDimensions and Weight Paper SpecificationsType Sty/es and Pitches Option Electrical SpecificationsInterface Signals Environmental RequirementsSignal Pin No Name Memo Select draft quality characters Font Control CommandsSelect Italic Characters Select LQ charactersSelect LQ type Style Select ornament characterDouble-strike Printing Select Upright CharactersStart Underlining Stop Overlining Cancel Superscript Or subscriptStop Underlining Start OverliningSelect Character set #2 Select Standard characterSelect IBM character set Select character set #7Select normal zero Enable printing of all character codesEnable printing of a// character codes on next character Select s/ash zeroHigh-density elite pitch Pica pitchElite pitch High-speed elite pitchExpanded printing Cancel condensed printingCancel expanded printing Condensed printingSelect fixed spacing Select master print modeCaucel one-line expanded printing Se/ect proportional spacingReturn to normal Height Increase character SpacingSelect double or quadruple size Print double-height charactersSelect character height, width, and line spacing Select Character WidthSet 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/360 inch Set line spacing to 716 inchSet base unit for line spacing Set line spacing to n/780 or n/216 inchExecute ESC a Select forward feed modeSelect reverse feed mode Define line spacing to n/72 inchSet top of page at current position Perform one n/180-inch or n/2164nch line feedPerform one n/780-inch reverse line feed Feed paper n linesSet bottom margin Cancel top and bottom marginsSet page length to n inches Set top marginSet vertical tab stops every n lines Disable paper-out detectorEnable paper-out detector Set vertical tab stopsSet right margin Select Vertical Tab channelVertical tab Set left marginSet automatic Line feed Cancel automatic line feedSet left and right margins Carriage returnRight justify BackspaceLeff justify Center textHorizontal tab Reset all tab stopsSet horizontal tab stops Set horizontal tab stop every n columnsAbsolute horizontal tab in columns Relative horizontal TabRelative horizontal tab in inches Absolute horizontal tab in inchesPrint 8-bit double-density, double-speed graphics Graphics CommandsPrint 8-bit single-density graphics Print 8-bit double-density graphicsPrint M-bit hex-density graphics Select graphics modeCopy standard characters from ROM into RAM Convert graphics densityDownload Character Select download character set Define DownloadMSB Other Printer Control CommandsDelete Last character Sent ROMLast Line Cancel Quiet PrintRepeat data Quiet PrintStop printing Cancel Immediate PrintSet printer off-line Set printer on-lineManual feed PrintingUnidirectional printing One-line unidirectional printingEject Paper Reset printerSet 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