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