I have the same issue... In my case the terminal the printer was connected to is gone. For example the printer is printer3 on host local3... local3 is no longer on the network.
/usr/lib/lpshut #works ok
/usr/lib/lpadmin -x YourPrinter #fails out... says it can't connect to host local3
lpstat...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.