Skip to main content

ACTIVE_STATES

Constant ACTIVE_STATES 

Source
pub const ACTIVE_STATES: [PrinterState; 2];
Expand description

The job states a printer’s job is adoptable in: a job it is running, and a job it has paused part-way through.

Every other state is a machine with no job in progress — idle, cancelling the one it had, in error, unreachable, or saying something this vocabulary does not name — and a print opened for one of those would be a record of a job that is not there.