1 REM by Tom Vandepoel. Repri
nted from ZX Computing May/87.
2 REM prints to 2040 printer
in various sizes. Width cannot
be greater than 4.
10 INPUT "text to be printed "
;a$: INPUT "height/point ";h: IN
PUT "width/point ";w
15 FOR n=1 TO LEN a$: LET h$="
": LET s$="": PRINT AT 21,0;a$(n
)
17 FOR e=1 TO h: LET h$=h$+a$(
n): LET s$=s$+" ": NEXT e
20 FOR x=0 TO 7: LET p$="": FO
R y=0 TO 7
30 LET p$=p$+(h$ AND POINT (x,
y)=1)+(s$ AND POINT (x,y)=0)
40 NEXT y: FOR e=1 TO w: LPRIN
T p$: NEXT e: NEXT x: NEXT n
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.