lp filename yields "cannot open connection to localhost - Connection refused"
I am using CUPS on Slackware. When I try to print from a shell, using lp or lpr, I get:
cannot open connection to localhost - Connection refused
Make sure the remote host supports the LPD protocol
and accepts connections from this host and from non-privileged (>1023) ports
Waiting 10 seconds before retry
But localhost is reachable (ping and telnet work). I can also print from KDE applications, but not from shell!