DYSTOPIANPIXEL

printControl Driver

Illustrative assembly code beside a network printer producing a BASIC listing and a pixel image
Concept artwork for text, programme listings and image printing.

Last updated: · Not started

What we tried, why we chose an approach and what we learned. These are dated accounts; see Progress for the current position and recorded outcomes.

Agreeing the printing controls

The printing discussion moved from the contents of a page to the life of a print job. A usable service needs to explain what it is doing and let the caller stop it, especially when the printer is a separate machine on the network.

Keep setup out of ordinary printing

Choosing a printer and remembering its defaults belongs in a companion setup utility. Keeping that work separate should let normal BASIC printing stay familiar instead of requiring every application to repeat discovery and configuration.

Start with one job

The first-version design chose one active job at a time. That gives progress, completion and cancellation a clear owner before introducing more complicated scheduling. Ordinary text output can still open and finish a job automatically; applications needing more control can identify and manage it explicitly.

Ask the printer what it supports

Colour, paper, quality and duplex choices should follow capability information rather than offer settings that cannot work. A connection check, test page and understandable errors make the setup verifiable. These were design choices to implement and test, not a claim of a released printing service.

From listings to pictures

This idea began with a straightforward question: could I print a NextBASIC programme from the Next through a network printer? Investigating wifiprn led me to think about what would make printing a dependable part of the machine.

A printer service for the Next

I want printControl to be available across applications, with a printer chosen once and settings remembered when the machine restarts. A setup utility will handle discovery, manual selection and test printing, while ordinary BASIC printing stays familiar.

Pictures belong alongside text

Printing screen images became an important part of the first version. That includes the traditional Spectrum display, Layer 2 screens and pictures prepared by an application, with useful choices for colour, monochrome and placement on the page.

Reliability is part of the feature set

Progress, cancellation and recovery matter just as much as getting a page out. If a printer is switched off or a connection disappears, the service should explain the problem and return control rather than leaving the user waiting indefinitely.

A scope to build from

The V1 requirements are now agreed. The next step is design, followed by developing and checking the individual printing features. A broader network service can be considered separately later, while this project stays centred on printing.