[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: shared printers via LPRNG



> Does anyone know what I've been doing wrong? I appreciate any help
> anyone might be able to offer!

I found configuring LPRng really painfull. I can offer you 
an extract from my /etc/printcap, which is shared by server 
and all clients (for easier maintenance):

lp|lj|lj6mp|HP LaserJet 6MP
	:client
	:lp=%P@SERVER.SUB.DOMAIN
lp|lj|lj6mp|HP LaserJet 6MP
	:server
	:oh=SERVER.SUB.DOMAIN
	:if=/etc/magicfilter/lj6mp-filter
        :lp=/dev/lp0
        :sd=/var/spool/lpd/%P
	:mx=0:sh:sf:pw=80:pl=72:px=1440
	:af=/var/log/lp-acct
	:lf=/var/log/lp-errs

However, in addition to this, I found it essential to uncomment
the following line in /etc/lpd.conf (ie, DON'T force localhost!):

force_localhost@

Good luck,
-Igor Mozetic



Reply to: