Koozali.org: home of the SME Server

restart printer into cron

exocet

restart printer into cron
« 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

exocet

restart printer into cron
« Reply #1 on: August 17, 2005, 05:36:50 PM »
Can somebody please help? :-o

Robert

restart printer into cron
« Reply #2 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).

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: restart printer into cron
« Reply #3 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?