Publication: Syntax
Pub Details: Syntax/Syntax ZX80 v2 n11 (Volume 2, Issue 11)
Date: November 1981
Pages: 2
Clive Sinclair of Sinclair Research demonstrated his ZX81 printer at the the US introduction of the ZX81 computer in Boston on Oct.7. Although in production in England, the printers cannot be imported into the US until they get FCC approval. Sinclair expects approval near the end of the year.
This sample hardcopy output from a ZX81 on a Sinclair printer shows its print size and readability. The aluminized paper is about 4 inches wide. The program draws the curve printed above it and takes more than 1K RAM.

10 DIM C(64)
20 FOR V=1 TO 64
30 LET C(V)=22+20*(SIN ((V-1)/32*PI))
40 NEXT V
100 FOR G=1 TO 64
110 PLOT G-1,C(G)
115 NEXT G
117 GOSUB 1000
120 COPY
125 GOSUB 1000
130 LLIST
135 FOR H=1 TO 6
140 LPRINT
145 NEXT H
1000 IF INKEY$<>"" THEN RETURN
1010 GOTO 1000
This version runs on a 1K ZX81:
10 FOR X=0 TO 64 STEP 8
20 FOR V=X TO 63+X
30 PLOT V-64*INT X/64,22+20*(SIN V/(32*PI))
40 NEXT V
50 NEXT X
To make a longer series of sine curves, add 15 CLS
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.