HPLIP HP Backend pausing because power off

Asked by choward16980

Using CUPS 1.5.3 on raspbian.

I have an HP p1102w connected via usb. I'm trying to build an extremely low wattage workstation and one of the benefits is having a power on/off button on the front of the printer. Unfortunately, if this isn't pressed after the workstation is powered on, any job passed to the printer queue halts the printer queue. The only way to restart it is to either issue cupsenable LASERJET or visit the CUPS webgui via https://ip_address:631, manage printers, click your printer, and then under the maintenance dropdown, choose resume printer.

I've added the values for a global error policy to my cupsd.conf as well as a JobRetryInterval 30

I've set the error policy using:
lpadmin -p LASERJET -o printer-error-policy=retry-this-job

I've set the purported global error policy in cupsd.conf:
ErrorPolicy retry-this-job

Nothing has fixed the issue.

I believe it is defined in this bug report quite well:
https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/692568

So, short of running a cron job that executes cupsenable LASERJET every 30 seconds (which uses 20-25% cpu when actually paused), is there a valid solution for this?

It is blowing my mind how this isn't configurable.

Thanks,
Chris

UPDATE:
I've gone ahead and just created a shortcut to run the above command (cupsenable LASERJET) using PLINK on the Windows terminal server. The cost and power savings are so significant (1/10th a normal computer) on this workstation that all my users accept the inconvenience.

Question information

Language:
English Edit question
Status:
Expired
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.