You are not logged in.
I setup a working print server and installed only libcups (per wiki) on my desktop. Printing from my desktop works for in firefox, open office, and several other programs with the notable exception of Adobe Reader which tries to use an 'lpr' command.
I cannot print from the command line using lpr either.
Desktop:~$ lp -P ...
bash: lp: command not found
and
Desktop:~$ lpr -P ...
bash: lpr: command not found
Does anyone know how other programs are managing to print without lp/lpr?
Offline
I suspect they use libcups directly. Libcups's cups.h includes a function "cupsPrintFile()" which I suspect they call to print a file ... after the necesary initializations.
Why would you not want to install cups to get the tools to use this properly?
Last edited by Trilby (2012-10-26 02:05:42)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I have no good reason not to install cups. I suppose I quickly followed "The Recommended Simple Setup" in the cups wiki while attempting a minimalist install.
I will certainly be installing the full cups package so I can make use of the correct tools.
Thank you for the information and quick response.
Offline
Once you installed libcups, add your CUPS server's IP address or hostname into /etc/cups/client.conf and MAKE SURE you comment out "ServerName /var/run/cups/cups.sock".
Offline