Star Micronics NX-2400 user manual 1600

Page 101

1250 IF HID$(I$,2,l)="p" THEN QUA=2 ELSE QUA=0 1260 '

1270 I$=INPUT$(2,#1)

1280 IF RIGHT$(I$,l)="T" THEN SCR=O :GOTO 1300 1290 I$=INPUT$(l,#l) :SCR=-1

1300 '

1310 I$=INPUT$(5,#1)

1320 IF LEPT$(I$,l)=E$ THEN IBN=O ELSE IBN=-1

1330 I------ Read data for 1 character -------------------------------

1340 I$=INPUT$(3,#i)

1350 IF I$=E$+"%l" THEN 1440

1360 I$=INPUT$(l,#l) :J$=INPUT$(l,#l)

1370 CC=ASC(I$) :IF CC>126 THEN 1440

1380 A$(CC)=INPUT$(3,Cl) :A(CC)=ASC(NID$(A$(Cc),a,l))

1390 '

1400 IF NOT SCR THEN 1420

1410 P$(CC)=INPUT$(A(CC)'z,tl) :GOTO 1430

1420 P$(CC)=INPUT$(A(CC)"3,#1)

1430 IF NOT EOF(1) THEN 1330

1440 CLOSE #l

1450 '

1460 I====== START DEFINITION *~I===**=SE*~EIE~il******~~==~=~*=***~****

1470

I------ Select Std./IBM _________________--_---------------------

1480

LOCATE 6,l :PRINT "SELECT MODE"

 

1490

SO$= "Standard

mode

(DIP

SW. l-6 ON )"

 

1500

Sl$="IBN

mode

(DIP

SW. l-6 OFF)”

 

1510

S=O :PX=7 :PY=l :GOSUB 2820 :IBN=S

 

1520

IF IBM THEN HD$=F$+"

:"+STRING$(3,0) ELSE HD$=E$+":"+STRING$(3,0)

1530

,____--

Sal,,&

,.hara,..ar

,,,,,da

---------~~~~~~~~~~~~~~~~~~~~~~~~~-

 

1540

LOCATE 9,l :PRINT "SELECT STYLE"

 

1550

SO$="Normal

 

(24dot)"

:Sl$="Super/subrcript

(lbdot)"

1560

S=O :PX=lO :PY-1 :GOSUB 2820 :SCR=S

 

1570 IF SCR THEN 1580 ELSE 1590

 

 

1580

HD$=CHR$(27)+"SO"+HD$

:HI=16 :GOTO 1600

 

1590

HD$=CHR$(27)+"T"+HD$

:HI=24

 

1600

I--_---

Select

Quality

 

------------------------------------------

 

1610 LOCATE 12,l :PRINT "SBLECT QUALITY" :S=O

 

1620

LOCATE

13,l

:PRINT

w

Letter

quality"

 

1630

LOCATE

14,l

:PRINT

II

Draft

quality"

 

1640

LOCATE

15,l

:PRINT

II

Proportional"

 

1650

LOCATE

13+S,l

:PRINT "==>" :S$=INPUT$(l)

 

:QUA=ASC(S$)

 

1660

IF

QUA=13

THEN

 

QUA=S

:GOTO

16EO

ELSE

LOCATE 13+S,l :PRINT '

w

1670

S=((S+l)

NOD

3)

:GOTO

1650

 

 

 

 

 

 

 

 

1680

IF

QUA=0

THEN

HD$=E$+"xl"+HD$

:W=36

:A=23

ELSE

1700

 

1690 IF NOT SCR THEN 1740 ELSE 1860

 

 

 

 

 

 

1700

IF

QUA=2

THEN

1720 ELSE HD$=E$+"xO"+HD$

:U=l2

 

 

1710 IF SCR THEN A=7 :GOTO 1860 ELSE A=9 :GOTO 1860

 

 

1720

HD$=E$+"pl"+HD$

 

:W=42

 

 

 

 

 

 

 

 

 

 

1730 IF SCR THEN A=23 :GOTO 1860 ELSE A=37 :GOTO 1660

 

 

1740

 

Sal*&

 

charact.r

pitch ----------------------------------

1750

I------

 

1760

LOCATE 12,l :PRINT "Print pitch

 

II :s=o

 

 

1770

LOCATE

13,l

:PRINT

'

 

LQ-10~~1.

w

 

 

 

 

1780

LOCATE

14,l

:PRINT

v

 

LQ-12~~1.

'

 

 

 

 

1790

LOCATE

15,l

:PRINT

e,

 

LQ-17~~1.

'

 

 

 

 

1800

LOCATE

13+S,l

:PRINT

"==)"

:S$=INPUTQ(l)

 

:PT=ASC(S$)

 

1810

IF

PT=13

THEN

PT=S

:GOTO

1830

ELSE LOCATE

13+S,l :PRINT w

II

lS20

S=((S+l)

NOD

3)

:GOTO

1800

 

 

 

 

 

 

 

 

1830

HD$=E$+"xl"+HD$

 

:W=36

:A=29

 

 

 

 

 

 

 

 

1840

IF

PT=l

THEN

W=30

:A=23

ELSE

 

IF

PT=2

THEN

W=24

:A=15

 

1850

'

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1660

CC=33 :CH$="!*

continu*,start

 

 

 

Ovar

-------------------------------

 

 

1670

I-----

 

Sal*&

 

 

 

 

 

 

1880 LOCATE 16,l :PRINT "CONTINUB?"

93

Image 101
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 horizontal tabulation If you have problems with graphicsIf you have problems with download characters Interface and Emulation Switches and fndicatorsPrinting Mechanism Dot Matrix Size Character SetsType Sty/es and Pitches Paper SpecificationsDimensions and Weight 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 CharactersStart Underlining Select Upright CharactersDouble-strike Printing 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 modeDownload Character Convert graphics densityCopy standard characters from ROM into RAM 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 feedSet print start position on ASF Reset printerEject Paper 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