[cups.general] Stop all jobs, NOW!

Felix E. Klee felix.klee at inka.de
Mon Aug 30 08:42:04 PDT 2004


Hi,

I wonder if there is a stable and non-complicated way to kill
    kill all print jobs on all printers
and
    kill all processes accessing print devices.
This may leave the printers in an inconsistent state. But that flaw is
acceptable and even somewhat intended (better stop now, than print more
pages).

For users with only one printer connected to /dev/lp0, the following
script is acceptable:

    #!/bin/sh
    lprm -    
    fuser -k /dev/lp0

But, I want a solution that works with all configurations.

Any ideas?

Felix





More information about the cups mailing list