You are not logged in.

#1 2012-10-26 01:54:34

cvillelk
Member
From: Lafayette, LA
Registered: 2011-01-01
Posts: 17

Printing From Client With Only libcups Installed

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

#2 2012-10-26 02:03:12

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,559
Website

Re: Printing From Client With Only libcups Installed

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

#3 2012-10-26 02:16:00

cvillelk
Member
From: Lafayette, LA
Registered: 2011-01-01
Posts: 17

Re: Printing From Client With Only libcups Installed

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

#4 2013-02-07 06:44:24

dreamzoner
Member
Registered: 2012-10-09
Posts: 2

Re: Printing From Client With Only libcups Installed

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

Board footer

Powered by FluxBB