Enable/Disable printer queue from command line

Sean McBrien smcbrien at bfsec.bt.co.uk
Fri Jun 16 00:54:26 PDT 2006


> So what did you do to get it working??
>
> Are you aware that this conversation may be kept for history
> inside the Google cache, or some mailing list archive, and in
> a year or 2 some poor user will have the same problem as you
> had, and she'll find *nothing* for helping her with a solution?

I did as you what you suggested to do with Allow in the cupsd.conf file.

> You could use the "expect" command as part of your script.
> Or you could run it as a cron job using root privileges.


I've never used except, but I shall have a look online, thanks for the sugguestion.

The root password for the printers is different to the one for the actual box so it will still prompt me for a password.




More information about the cups mailing list