Here is a program that will allow you to input a message and have it print out the message as a banner on the 2040 printer.
The letters are generated one at a time by PEEKing at the letter to be generated in the ROM, making it 8 times normal size and turning it on it’s side and then COPYing it to the printer.
The program is much faster in FAST mode, but you can’t see the letter forming. [struck out in print: By changing line 128, you can change the character that is actually used in printing the large one.]
Enter the program as listed and use GOTO 280 to SAVE it so that it will self start next time it’s LOADed.
10 PRINT ,," INPUT MESSAGE"
20 INPUT M$
30 LET LEN=LEN M$
50 FOR L=1 TO LEN
55 LET CH=CODE M$(L)
60 LET R=7680+(CH*8)
63 LET A=1
67 LET B=1
70 FOR R=R+7 TO R STEP (-,25)
80 LET RC=PEEK R
90 FOR H=1 TO 7
100 LET D=RC
110 FOR G=1 TO 3
120 IF G=2 OR 3 THEN LET RC=D
130 LET CNTR=0
140 IF RC<128 THEN GOTO 170
150 LET CNTR=128
160 LET RC=RC-128
170 LET RC=RC*2
180 PRINT AT A,B;CHR$ CNTR;
190 LET A=A+1
200 NEXT G
210 NEXT H
220 LET A=1
230 LET B=B+1
240 NEXT R
250 COPY
260 NEXT L
270 STOP
280 SAVE "BANNER"
Reprinted from S.U.M. May/86
Products
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.