
Some time ago I suggested some possible up-dating of Page 1 of this newsletter. Having had a commodore 1520 plotter for a few years plus John McMichael‘s programming and interface (Oliger) but not having actually done any programming for it, now seemed to be a time to get at it and see what I had. Page 1 shows the results of the plotting for the graph, making it similar in size to the old TS 1000/2040 print and the more recent 2068/Epson printer output.
The lines are thinner as they are a normal line width for this plotter. The lettering can be adjusted for position by defining the start of each line.
The program uses letters before the X and Y variables to define the kind of move that is to be made, relative or absolute, pen up and pen down (draw). It seems to be something like the Turtle programming popular a few years ago. John’s programming is a way to adopt the Commodore system to the 2068. This is a serial machine so it uses a serial interface.
The plotter uses a 4 1/4 inch roll of adding machine paper so my image of about 3 1/2 inches fitted nicely Actually, the printed width is a bit less than this 4 1/4 inches as the maximum line length across the paper is 479 dots with a spacing of 0.2 mm or o.0078 inches. This figures to be about 3 3/4 inches. I elected to take the inside dimensions of the original image as the plotting was to fit inside.
The following program shows how I produced a workable program, lines 10-60 being from John’s programs while my additions of lines 100-310 draws the picture and adds the text.
10 LOAD /"pdr"CODE : LET x=(PEEK 23631+PEEK 23632*256)+15: POKE x,0: POKE (x+1),91: OUT 63,7
20 BORDER 0: PAPER 0: CLS : INK 6: PRINT AT 10,0; FLASH 1;"TURN 1520 PRINTER/PLOTTER ON NOW": BEEP 1,20: PAUSE 400: INK 7
30 CLS
60 LPRINT CHR$ 25;0: LPRINT CHR$ 26;1: LPRINT CHR$ 27;0: LPRINT CHR$ 28;0
100 LPRINT : LPRINT : LPRINT "CCAT CHART"
120 LPRINT CHR$ 24;"M10,-320"
130 LPRINT
140 LPRINT CHR$ 24;"I"
150 LPRINT CHR$ 24;"R0,0"
160 LPRINT CHR$ 24;"J0,288"
170 LPRINT CHR$ 24;"J440,288"
180 LPRINT CHR$ 24;"J440,0"
190 LPRINT CHR$ 24;"J-440,0"
200 LPRINT CHR$ 24;"R0,48"
210 LPRINT CHR$ 24;"J440,48"
220 LPRINT CHR$ 24;"R0,48"
250 LPRINT CHR$ 24;"J240,288"
260 LPRINT CHR$ 24;"J440,88"
270 LPRINT CHR$ 24;"J397,48"
280 LPRINT CHR$ 24;"J157,288"
290 LPRINT CHR$ 24;"J117,248"
300 LPRINT CHR$ 24;"R0,24": LPRINT " COMPUTING THE FUTURE-- IN CLACKAMAS COUNTY"
310 LPRINT CHR$ 24;"R10,250": LPRINT "CLACKAMAS COMPUTER APPLIED TRAINING THE SOCIETY PLOTTER"
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.