Hello,
Why to install cups server if you do not need a server?
A printer on a network has an IP. A modern printer/fax... so that can be surely understanding PS and PDF format. (type xerox).
Well, since there is no information on the web about using cups-client, then, everyone uses
apt-get install cups
OK. so the target of this mission is to print with only the minimum requirement:
Code:
ii cups-client 1.5.3-5+deb7u1 i386 Common UNIX Printing System(tm) - client programs (SysV)
If you add :
Code:
mkdir ~/.cups
touch ~/.cups/client.conf
vim ~/.cups/client.conf
With the following content of .cups/client.conf :
Code:
Encryption IfRequested
#Encryption Never
#Encryption Required
ServerName 192.xxx.xxx.xxx
lpr -S <-- is not available on debian stable, so you must add to /etc/hosts the name of the printer for using -P option with LPR. you may add myprinter to the given ip of hosts.
might now work.
so far so good, the following command might eventually print.
Code:
curl http://www.gnuplot.info/docs/tutorial.pdf > /tmp/mydocument.pdf
lpr -P myprinter /tmp/mydocument.pdf
However a quick check of lpq tells you that the pdf is awaiting to be printed, and hangs forever...
lpq
Likely there is something wrong...
A great expert my help !! ex. our master Tobi
I am looking forward to reading and exchanging.
Many Thanks