Restart Print Jobs from Command Line

Lucky Leavell lucky.william.leavell at census.gov
Thu Oct 23 13:16:12 PDT 2008


We have a problem with our HP4550ps Design Jet plotters dropping offline in CUPS. I have written a simple shell script to parse output from the lpstat command to do a cupsenable but I also need to be able to detect print jobs that have a state of "Stopped" and restart them from the same script. Is there a command to:
    1. Determine a print job's state
    2. Restart a stopped print job?

Thank you,
Lucky Leavell




More information about the cups mailing list