Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: exocet on August 02, 2005, 05:39:33 PM

Title: restart printer into cron
Post by: exocet on August 02, 2005, 05:39:33 PM
We are using cups to print to a network printer.

When some users send large files to the printer, the printer buffer is full and need to be restarted manually to print again.
In cups we need to restart the printer also.

Can we put the restart of the printer in cups (web interface) into cron-daily?

Thanks
Title: restart printer into cron
Post by: exocet on August 17, 2005, 05:36:50 PM
Can somebody please help? :-o
Title: restart printer into cron
Post by: Robert on August 17, 2005, 08:03:13 PM
Next time you need to restart a printer, please try the commands
# /usr/bin/disable printer
# /usr/bin/enable printer
from a root prompt. If that has the desired effect, you can put those commands in a cron script (man cron for details).
Title: Re: restart printer into cron
Post by: CharlieBrady on August 17, 2005, 08:55:41 PM
Quote from: "exocet"
We are using cups to print to a network printer.


Out of interest, why did you change from using the builtin LPRng print spooling?