Star Micronics NX-2410 user manual Then QUA=2 Else QUA=0

Page 101

1250

IF HID$(I$,2,1)="p"

 

THEN

QUA=2

ELSE

 

QUA=0

 

 

1260

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1270

I$=INPUT$(P,#l)

 

 

 

 

 

 

 

 

 

 

 

 

 

1280

IF RIGHT$(I$,l)="T"

 

THEN

SCR=O

:GOTO

1300

 

 

1290

I$=INPUT$(l,#l)

 

:SCR=-1

 

 

 

 

 

 

 

 

 

1300

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1310 ;$=INPUT$(S,#l)

 

 

 

 

 

 

 

 

 

 

 

 

 

1320

IF LEFT$(I$,l)=E$

THEN IBM=0 ELSE IBM=-1

 

 

 

1330

1----__ Read data for 1 (.haracter -------------------------------

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

1350

IF I$=E$+"$l"

 

THEN

1440

 

 

 

 

 

 

 

 

1360

I$=INPUT$(l,#l)

 

:J$=INPUTQ(l,#l)

 

 

 

 

 

 

1370

CC=ASC(I$) :IF CC>126

THEN 1440

 

 

 

 

 

1380

AQ(CC)=INPUT$(3,#1)

:A(CC)=ASC(MID$(A$(CC),2,1))

 

 

1390

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1400

IF NOT

SCR THEN

1420

 

 

 

 

 

 

 

 

 

 

1410

P$(CC)=INPUT$(A(CC)'2,#1)

 

:GOTO

1430

 

 

 

 

 

1420

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

 

 

 

 

 

 

 

 

 

1430

IF NOT EOF(1) THEN 1330

 

 

 

 

 

 

 

 

 

1440

CLOSE #l

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1450

I======

START

DEFINITION

================I=======================

 

1460

 

1470

#______

Select

 

Std./IBM

________-__------------------------------

 

1480

LOCATE 6.1 :PRINT "SELECT MODE"

 

 

 

 

 

 

1490

SO$="Standard

 

mode

(DIP SW. l-6 ON )"

 

 

 

 

1500

Sl$="IBM

mode

 

 

(DIP SW. l-6 OFF)"

 

 

 

 

1510

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

 

 

 

 

 

1520

IF IBM THEN HD$=F$+":" +STRING$(3,0)

ELSE

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

 

1530

1-_____ Select =haracter

mode

-------------------_---------------

 

1540

LOCATE 9,l :PRINT "SELECT STYLE"

 

 

 

 

 

1550

SO$="Normal

 

 

 

(24dot)"

:Sl$="Super/subscript

(lbdot)"

 

1560

S=O :PX=lO :PY=l :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

1______

Select

 

Quality

 

 

_______---_-------------------------------

 

1610

LOCATE

12,l

:PRINT

"SELECT

QUALITY"

:S=O

 

 

 

1620

LOCATE

13,l

:PRINT

"

 

Letter

 

quality"

 

 

 

1630

LOCATE

14,l

:PRINT

*

 

Draft

quality"

 

 

 

1640

LOCATE

15,l

:PRINT

v

 

Proportional"

 

 

 

 

 

1650

LOCATE 13+S,l :PRINT "==>" :S$=INPUT$(l)

:QUA=ASC(S$)

 

1660

IF QUA=13

THEN

 

QUA=S

 

:GOTO

1680

ELSE

 

LOCATE 13+S,l

:PRINT w

I'

1670

S=((S+l)

MOD

3)

:GOTO

1650

 

 

 

 

 

 

 

 

16.30IF QUA=0 THEN HD$=E$+"xl"+HD$ :W=36 :A=23 ELSE 1700

1630 IF NOT SCR THEN 1740 ELSE 1860

1700 IF QUA=2 THEN 1720 ELSE HD$=E$+"xO"+HD$ :W=12

1710 IF SCR THEN A=7 :GOTO 1860 ELSE A=9 :GOTO 1860 1720 HD$=E$+"pl"+HDQ :W=42

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

1740

1_-----

select character

pitcb ----------------------------------

1750

 

 

 

 

 

1760

LOCATE

12,l

:PRINT

"Print pitch

1770

LOCATE

13,,1 :PRINT

*

LQ-1Ocpi.

'I

1780

LOCATE

14,l

:PRINT

"

LQ-12~~1.

11

1790

LOCATE

15,l

:PRINT

11

LQ-llcpi.

II

1800

LOCATE

13+S,l

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

:PT=ASC(S$)

 

1810

IF PT=13

THEN

PT=S

:GOTO 1830

ELSE LOCATE

13+S,l :PRINT '

'

1820

S=((S+l)

MOD

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

 

 

 

 

 

 

 

 

 

 

1860

CC=33

:CH$="!"

 

 

 

 

 

 

~ 1870

B-----

Select

cont~nue,Start

over -------------------------------

 

1880

LOCATE

16,l :PRINT

"CONTINUE?"

 

 

 

Image 101
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 Chapter Check the carton contentsPage Remove the top cower Setting UPInstall the ribbon cartridge Lnsfall the optional IC card Replace the top coverMount the paper guide Connect the printer’s power cordConnect the printer to the computer Figure i-7. Mounting the paper guide for single sheets Semiautomatic loadingManual loading Opening the rear cover Loading and Parking Fanfold FormsClamp Lever Figure l-72. Mounting the paper guide for fanfold forms Paper parkingTest Printing Interface test Long self testAdjusting the Printing GAP IBM Page Selected Mode You OFF Chapter Switches and IndicatorsPaper feed switch On Line switchQuiet Mode switch Short test pattern On Line switch POWER-UP FunctionsLprint CHR$I Next Return Switch combination functions of control panel Switch Combination FunctionsPage Page Memo Printer menu Installing Your SoftwareWidth Printer command optionsType styles Using Your Software Setting the DIP SwitchesInitialization sequence AlignmentType style and pitch selection Other printer commandsCan help you to use ESC4italicESC5 print Memo HARD-COPYING the Screen MS-DOS and PC-DOS With DOS and BasicAprint README.DOC Programming the Printer with DOS CommandsNew file Acopy CON LQPRINT.BAT Programming the Printer with BasicLprint Lprint END How the program works Page Lprint ES= c~$oc~$6oc~$6o RkPLACING the Ribbon Cleaning the PrinterReplacing the ribbon cartridge Replacing the Print HeadReplacing the print head ScrewsReplacing the battery Replacing the Battery in the RAM CardIf fanfold paper becomes stuck If the printer doesn’t printIf label 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 Interface and Emu/a tion Switches and indicatorsCharacter Sets Dot Matrix SizeType Sty/es and Pitches Paper SpecificationsDimensions and Weight Fnterface Signals Electrical SpecificationsEnvironmental Requirements OptionKCK OUT Memo FdNT Control Commands Select draft quality characters Printer Control CommandsSelect LQ type style Select LQ charactersSelect ornament character Select italic charactersCancel double-strike printing Cancel emphasized printingSelect Upright Characters Emphasized printingStart Overlining Stop UnderliningCharacter SET Commands Enable printing of a// character codes on next character Enable printing of all character codesSelect Slash Zero Select Normal ZeroElite pitch Pica PitchHigh-speed elite pitch High-density Elite PitchCancel Expanded Printing Cancel condensed printingCondensed Expanded printingCaocel one-line expanded printing Select Master Print modeSelect proportional spacing Select fixed spacingSelect double or quadruple size Increase character SpacingPrint Double-height Characters Return To normalSelect character height, width, and line spacing Select CharacterWidth Select character type and print pitch Vertical Position CommandsSet line spacing to 718 inch Set line spacing to 7160 or 7172 inchSet base unit for line spacing Set line spacing to 116 inchSet line spacing to n/180 or n/276 inch Set line spacing to n/360 inchDefine line spacing to n/72 inch Select forward feed modeExecute ESC a Line feedPerform one n/780-inch or n/276-inch line feed Set page Iength to n inches Cancel top and bottom marginsSet bottom margin Form feedEnable paper-out detector Disable paper-out detectorSet vertical tab stops Set vertical tab stops every n linesSet left margin Horizontal Position CommandsSelect vertical tab channel TabSet left and right margins Cancel autoniatic line feedCarriage return SetLeft justify BackspaceCenter text Right justifySet horizontal tab stops ResetSet horizontal tab stop every n columns Horizontal tabRelative horizontal tab in inches Relative horizontal TabAbsolute horizontal tab in inches Absolute horizontal tab in co/umnsPrint 8-bit double-density Graphics Print 8-bit Sing/e-density GraphicsPrint 8-bit double-density, double-speed graphics Print Bit quadruple-density GraphicsPrint 24bit hex-density graphics Select graphics modeDownload Character Commands Select Graphics ModeConvert graphics Density Copy character set from ROM into RAM cardSelect download character set Define DownloadSelect ROM character Other Printer Control CommandsSet MS6 to Set MS8 toCancel Quiet print Cancel last lineRepeat data Quiet printSet printer off-line Cancel immediate PrintSet printer on-he Stop printingUnidirectional printing BidirectionalOne-line unidirectional printing Manual feedSet print start position on ASF Reset PrinterEject paper From ASF Memo Normal character AppendixcDOWNLOADDraft 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 IBM Character SET #l I‘?Additional Character SET International Character Sets # $ h o 0 §Index Irl 107 Command Summary 109 Select base unit for line spacing 111