# This modifies cupsd.conf to allow a user to un-pause printers

Snipped from the Mac Enterprise email list:

# This mofifies cupsd.conf to allow a user to un-pause printers

sudo launchctl stop org.cups.cupsd
killall cupsd
cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf.org;rm
/etc/cups/cupsd.conf;cat /etc/cups/cupsd.conf.org | sed -e ‘s/Limit
Pause-Printer Resume-Printer Enable-Printer/Limit Enable-Printer/’ >
/etc/cups/cupsd.conf
sudo launchctl start org.cups.cupsd

2 thoughts on “# This modifies cupsd.conf to allow a user to un-pause printers”

  1. alternately:

    Edit the CUPS configuration file by going to localhost:631, Administration, Edit Configuration File, search for the lines:

    Delete Resume-Printer in three places in the config, restart CUPS. All users can resume printing but not pause printing.

    Snipped from the Mac Enterprise email list

  2. alternately alternately:

    Why not do something like below and change the error policy so that it
    simply throws the job away if the printer is out of paper, or some other
    supply. That way, it won’t pause the printer. I believe this was posted by
    Mr. … at some point in the past:

    #!/bin/bash

    # sets cups to abort-job instead of default stop-job
    # for all currently installed printers

    while read -r _ _ printer _; do
    lpadmin -p “${printer/:}” -o printer-error-policy=abort-job
    done < <(lpstat -v)

    Snipped from the Mac Enterprise email list

Comments are closed.