error codes for suspended printers
Oliver Neukum
oliver at neukum.name
Thu Oct 5 12:10:37 PDT 2006
Michael Sweet wrote:
> Oliver Neukum wrote:
>> Hi,
>>
>> I am implementing power management for usb printers in the kernel.
>> Which error code should be returned if CUPS tries to write to a suspended
>> printer?
>
> ENODEV would work with the current USB backend that uses the printer
> character device - that would trigger the automatic retry after a
> certain amount of time. The kernel would need to wake the printer
> up, however.
On a related note, how soon will the job be retried?
Regards
Oliver
More information about the cups
mailing list