Tag Info

New answers tagged

1

If your printer was setup with lpadmin, you should be able to get and set its options with lpoptions. There is a file called ~/.cups/lpoptions for each user (you can create it if it doesn't exist), and another called /etc/cups/lpoptions for system-wide settings. If you're able to change your settings with the lpoptions command, then you can make the settings ...


0

I believe the equivalent in pycups is the IPPError class (note the try / except example code), since the cupsLastError* functions in cups returns the IPP error codes. Checking the status code of a subprocess should also work, but seems like unnecessary overhead if pycups will give you the code directly.


3

127.0.0.1 is not the "outside world", it is looking around inside the house. Check your firewall configuration (iptables in Linux today), most of them shouldn't be accessible from the ouside. Don't run services you don't need. Uninstall all not required software. Change passwords to be stronger. Check your usage of the system, don't go chasing any ...



Top 50 recent answers are included