How to resume CUPS printer from command line?
Problem
I have printer in CUPS that due to driver problems (HP 1010) from time to time goes into pause. I would like to write a shell script that will execute once per hour to resume a printer in CUPS. But I have no idea after googling for couple of minutes how to resume printer from shell command line.
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: How to resume CUPS printer from command line?
There's the cupsenable command. starts a disabled printer (to find out the printername you can list your printers with or ). You may have to run the command as root or through sudo. So if you have to enable the printer in a shell script, you would have to add the shell to root's crontab, or edit your sudoers file.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix