2 MAXFILES=2:DIMB(8):B1=30481:B2=30960:CLS:PRINT" BANNER.100 v1.0 by Mark Lutton ":PRINT:PRINT"This program will print a banner on your printer or to any file. The text of":PRINT"the banner must be in a file.":PRINT:GOSUB29
6 LINEINPUT"Output file (ENTER for LPT:)? ";F2$:IFF2$=""THENF2$="LPT:
7 CLS:PRINT"Banner prints sideways on your printer, thus height expansion depends on the ":PRINT"printer's width. Each character is 8 positions high. Height expansion of 10 will fill an 80-column print line.":PRINT:GOSUB29
9 CLS:PRINT"Screen pixels are square but most printers print 10 characters per inch and 6 lines per inch.":PRINT"Width expansion should be 3/5 of height expansion, or 4/5 if printing 8 lines per inch.
11 H=10:W=6:INPUT"Height expansion (ENTER for 10)";H:INPUT"Width expansion (ENTER for 6)";W:CLS:PRINT"Character used for printing must be one that your printer can print. It might not look on the printer like it does on the screen.
13 C$="":INPUT"Character to use for printing (ENTER to print each character with itself)";C$:IFLEN(C$)>1THENC$=LEFT$(C$,1)
14 LM=1:INPUT"Left margin for printer(ENTER for 1)";LM:IFLM<1THENLM=1
15 R$="":INPUT"Print line feed after each line";R$:R1$=LEFT$(R$,1):IFR1$="Y" ORR1$="y"THENLF=1ELSEIFR1$="N" ORR1$="n"THENLF=0ELSE15
16 CLS:PRINT"If you are using the maximum width of your printer, and your printer does an automatic return at the last column, resulting in double-spacing, answer the next question 'Y'.
17 R$="":INPUT"Suppress return in last column";R$:R1$=LEFT$(R$,1):IFR1$="Y" ORR1$="y"THENEL=0ELSEIFR1$="N" ORR1$="n"THENEL=1ELSE17