On the Club Larken Disk #2 (OMNIBUS) there is a program called “index0.Cm“. It is a TIME MACHINE-compiled version of a Basic program. Two places in the program have a call for a printer. The program checks to see if the printer is ON. If the printer is not in place or is not turned on the program flashes a reminder to turn the printer on.
This is a neat feature, however it does cause problems. It presumes the printer will return values of 58 (small printer ON) and 237 (large printer on). My printer does not return these values. Instead the responses from my printers are 56 and 108.
The solution is to POKE new values into eight addresses in the “index0.Cm” code. The POKEs in my case were:
POKE 32325,56 (old 58) small printer
POKE 32357,108 (old 237) large printer
POKE 32425,56
POKE 32457,108
POKE 34344,56
POKE 34376,108
POKE 34430,56
POKE 34462,108
To find out the correct code numbers for your setup run the following lines:
10 LET n = IN 251
20 PRINT AT 10,10;" ";AT 10,10;n
30 GOTO 10
Experiment by turning the TS2040 printer on and off. Then change the program: LET n = 127 and do the same thing for the large printer. Verify the addresses have the old numbers shown above; then POKE in the new numbers and re-SAVE the program. This will need to be done with each copy of the program you happen to have.
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.