CAPS Universe documentation  1.0.4
All you need to know to be successful
Removing an active Printer

An active printer means a visible printer: clients can retrieve its information and commit print jobs to it. Such a printer can disappear at any time. In this case the corresponding printing provider (or driver) terminates as well and log off itself at the printing provider.

Sometimes a printing provider disappears as well (maybe due to a bug which leads to a crash). In this case it doesn't log-off itself. But DBUS notifies the printing coordinator in this case about the connection lost.

In both cases the internal data structures representing this printer are removed. All clients querying for the printer's ID will receive an -ENODEV.

The same is valid for all print jobs associated with the gone printer. They are removed and all clients querying for these jobs will receive an -EINVAL.

Note
Currently there is no notifier for the associated jobs of the gone printer. They are aborded as well, but a waiting client gets no notifier about this event.