Star Micronics FR-10, FR-15 manual Al o t p

Page 100

I

N c

t c

a

o t p

al o t p

t

t

i e

 

a c

l

t g

a b

e

 

T w

i d

b f

p

c

a c

s

t r

m

(

1

a c

c

(

1

a

v

 

t l

s

(

1

a 1

a a c

 

t m

 

t s

b

c

(

1

a 1

 

 

 

 

 

 

N t p

r

t n

s

a g

a d

 

 

o t

p

w

 

a

i

p

b

p

o

u

i

s

e

 

 

 

 

 

 

u

The K)Wo c s i t next printed line is created by downloading two new character patterns, which are printed in place of the character “<” (character 60).

The final part of the program uses dot graphics to print an “SW” logo. The dot pattern of the logo was originally laid out on graph paper, then converted to the data in lines 4180 to 4490 with the help of a calculator. Each number represents eight vertical dots. (See “Graphics commands” in Chapter 4 for details.)

The pattern is printed in four rows, each eight dots high and 65 dots wide. Lines 1830 to 1900 read the dot data into a string array variable named LOGC)$. Line 1910 sets the line spacing to 8172inch SOthat the rOwSwill connect vertically. The loop in lines 1920 to 2020 does the printing in four passes of the print head.

This program can also be run in IBM mode if you change a few of the lines as shown below to allow for differences in some of the commands. You will

get a cylinder instead of a barrel effect, bccuase the IBM m d n

h

a c

t

m

t c

s

i

M

f

I

m

o

 

1070 P$=CHR$(18)

‘Pica pitch

 

1250 LPRINT H$;E$;“:“;“Elite pitch (12 CPI),“

 

1290

‘ LPRINT H$;E$;“M”;“Condensede1ite pitch (20 CPI),“;

1420 LPRINT CHR$(28);“Q”;CHR$(47)

‘Set right margin

 

1460 LPRINT E$;“A”;CHR$(I);E$;“2”; ‘Set 1ine spacing

 

1470

‘ LPRINT E$;“ “;CHR$(I); ‘Increasecharacterspace

 

1510 LPRINT E$;“A”;CHR$(I);E$;“2”; ‘Set 1ine spacing

 

1520

‘ LPRINT E$;“ “;CHR$(I); ‘Increasecharacterspace

 

1570

‘ LPRINT E$;“ “;CHR$(O); ‘Normal characterspace

 

1580 LPRINT :LPRINT CHR$(28);“Q”;CHR$(80)

 

1610 LPRINT H$;CHR$(28);“4”;“Italics”;CHR$(28);“5”;“, “;

1910 LPRINT E$;“A”;CHR$(8);E$;“2”;

‘Set 8/72” 1ine spacing

3030 LPRINT E$;

; CHR$(28);“:“;CHR$(O);CHR$(O);CHR$(O);

3150 LPRINT CHR$(28);“&”;CHR$(O);CHR$(60);CHR$(60);

94

Image 100
Contents MULTI-FONT Page Organizationof this Manual Page Tableof Contents DIP Switches Troubleshooting and Maintenance Specifications Character SetsFrontpaneldiagnosticand INSTALLINGAPPLICATIONSOFI’WAREChapter Locatingthe PrinterPage Settingup Print head shield Connection DIP switch covel Loadingpaper Cut-sheetpaperFanfoldpaper continuousstationery Release lever Sprocket cover Once thepaper has been loaded Indicators Controlsand IndicatorsControls Pitch Panel Lock PitchseitingIocpi Font Panel Lock FontseitingQuietmode Form feed PaperhandlingPaperparking Short tear-offfunction Test and Maintenancesettings BUFFERCLEAR/RESETMicro Feed Setting UP the Memoryswitches Page CommandMenu MenuoptionsFont Menu LinePrintpitch Condensed Print Italicprint Print MenuAutoloading Skipover Perforation FormsMenuAutocr Linesper Inch Pagelength Ramusage Buffer Quietmode OptionasfAutolf Autocr ONI Linesper InchEmulations NumericalrepresentationCommandcodesand Escapesequences Examplecommand Both ESCFont style and characterset controlcodes Select italic charactersStandard Deselectitalic printingSelectfont Both Select charactertable BothSelect primarycharacterset SeiectsecondarycharactersetSelect internationalcharacterset Esc OAhPrintasinale characterfrom the All CharacterChart IBM \ ES7 \ Printcontinuouslyfrom the AHCharactersChart IBM\ Select/cancelundefinedcontrolcode area Standard Fontpitch controlcodes Cancelcondensedprint mode Set condensedprint modeSelect/cancelproportionalprintingBoth Specialprint mode controlcodes Set or cancel pica proportionalpitchSeiectkancei expandedprinting Seiectone-iineexpandedprintingBothCancelone-lineexpandedprint Both Select Masterprint mode BothSelectemphasizedprint mode Both Select print modeCancelemphasizedprint modeBoth Canceldouble-strikeprintingBoth Select/cancelunderlineBothSelect/canceloverlineBoth Select double-strikeprintingCancelsuperscripthubscript Both Line space controlcodesSelect superscriptkubscript LinefeedSet linespacingto 1/8 inch Set iine spacingto 7/72 inchSet iine spacingto 1/6 inch Set iine spacingto n/216 inchSet line spacingto n/72 inch Standard Defineline spacing1/72 inch incrementsExecuteESCAdefinitionIBM One-timelinefeed in 1/216 inch increments BothForm feed controlcodes Reverseone-timelinefeed in 1/216 inch Increments BothSet verticsiprint positionin iines Both FormfeedBoth mReversefeed to top of form Both Set page iengthin iines BothMarginsand verticaltab settingcontrolcodes Set top-of-formMoveto next verticaitab position Set verticaitab positions BothSelectverticalform unit VFUchannel Both Set VFU verticaltabsCanceltop and bottommargins Set top marginSet bottommargin Set left and right margins BothHorizontalprint position controlcodes Set left marginSet right margin Carriagereturn BothMoveto next horizontaltab Both Set/cancelautomaticlinefeedIBMSet/clearhorizontaltabs Both Restoretabs to defaultsettings Set relativehorizontaltab positions BothSet horizontalprint position EscrProducecharacterspaceStandard Set justificationmodeSelect next horizontalprint positionby dot Downloadedcharactercontrolcodes Move print headCopystandardROM font into RAM ~StandardDefinedraft downloadcharacters IBM Byte4 3rd Select download/standardcharactersetBoth GraphicsSelect-bitimagemode Both Select 8-dot normaldensity Select8-dot doubl-densityRedefinebit-imagemode Both Select8-dot double-speeddouble-densitySelect9-dot graphics Standard Set MSBto MiscellaneouscodesSet MSBto O CancelMSBcontrol Both Cancellast character StandardSelectzero stvle Both BackspaceBothCancellast line Both Set printeroff-line StandardSet printeron line Deselectprinter1OcarriagemodelonlyIBMDeselectprinter15 carriagemodelonly Enablepaper-outdetectionBothSound buzzer Enableunidirectionalprintingfor one line only Both Enable/disablebidirectionalprinting BothDefine macroinstructionBoth Enable/disablelargecharacterprintingBoth Enabie/disabiedoubie-heightmode BothSelectcharacterheight,width, line spacing Set/cancelimmediatemode Both ASF AutomaticSheet FeedercontrolAscii commandsequences SelectautomodeSelecticancelunderline Select/cancelitalic mintSekcffcancel expandedprint Both ControlASF 28h 43h 29hPage ’’’’’’’ OFF IBM Ipter6 Troubleshooting and Maintenance TroubleshootingPowersupply PrintjngIf the print is faint,or uneven,checkthe following If the printoutis not what is expectedIf dots are missingin the printing,checkthe following Paper feeding Correctthis if necessaryISthe papertoothick? Following Maintenance Adjustingthe PrintinggapRibbonreplacement Print headshield Replacingthe Printhead Open the top coverPrint headbolts Short test mode Frontpaneldiagnosticand Test ModesStandardmode Test mode Texttest mode Int m T MB p HexadecimaldumpmodeNext Lprint BidirectionaltestYadjustmentm E f t m p t PITCH’ b Page I P P I b T r F t y p L o p I s T f D s W t u t ‘Mo a T c M c A h T m T D s F t r A i a d T p O b u o t @ k c Cu tN . D T u E T t p C c SampleprogramT t p Gosub Restore How theprogram works Hm hAl o t p 1i a c 1i i n 1I n I n S 1o cPatchesnecessaryto use the BASICinterpreter T hHP a A N N c O t‘ J 8oX + 3 c8kg 17.61b DATA2 B f T a l ’TI%E14i Il-.1l 11691 11851 I2 mLther charactem are identical to Standard character set #1 ‘ 1’ iJ ‘ iz ‘ ,i 1831 I S t 1 b t P b s 1 1 1 1 7 on b a@ & u 0 a u 6 e 110 Index Page Star Micronics AMERICA, INC Star Micronics Deutschland Gmbh