On Wed, Apr 4, 2012 at 11:36 PM, Jan Stary <[email protected]> wrote: > On Apr 04 22:25:18, Girish Venkatachalam wrote: >> ftp://g3tech.in/printcap > > Sigh. Next time, please post the six damn lines inline. > > rp:HP PRinter:\ > :lp=:rm=192.168.1.6:rp=lp:\ > :af=/etc/foomatic/hp.ppd:\ > :if=/usr/local/bin/foomatic-rip:\ > :sd=/var/spool/output:\ > :lf=/var/log/lpd-errs:\ > :sh: > >> # export PRINTER=rp@<IP> > > Does that mean "[email protected]"? >
I tried that as well as what you suggest below. I get on the command line, "connecting to localhost..." > Anyway, I don't think this is correct: it should be simply "rp", > i.e. the name of the printer in your printcap. > > With the above printcp, an empty lpq, and a correctly running lpd, > what does the following do? > > echo test | lpr -Prp > Yes empty lpq , lpd runs and the above command does nothing. > If it doesn't work, what does lpd-errs say? > Nothing. Okay I am giving up now. -Girish -- G3 Tech Networking appliance company web: http://g3tech.in mail: [email protected]

