Printer On/Off Detection Programs

See all articles from Timelinez v2 n9
Author(s): Linda Banta
Publication: Timelinez
Pub Details: Timelinez v2 n9 (Volume 2, Issue 9)
Date: September 1984
Pages: 5

Two short TS2068 BASIC programs using machine code REM statements and USR calls to detect whether the TS2040 printer is currently on or off, printing a corresponding status message. Program 1 uses POKE 26516,73 and tests USR 16514 against 16383; Program 2 (with FLASH) uses a similar approach with CLS reset. Practical safety check before running programs that would crash if the printer is off when called.