I would like to know how to print with lp commands without using CUPS.
If I send a file to print with this command:
cat fichero.txt | lpr
I've got this error:
lpr cannot open connection to localhost
How can I print or config my system to print using lp commands?