printcap help please
Starting with the slink base system, I installed packages lprng,
magicfilter, gs. Then did magicfilterconfig --force
I ended up with the following in /etc/printcap
lp|hpdj|HP Deskjet540:\
:lp=/dev/lp0:sd=/var/spool/lpd/hpdj:\
:sh:pw#80:pl#66:px#1440:mx#0:\
:if=/etc/magicfilter/dj500-filter:\
:af=/var/log/lp-acct:lf=/var/log/lp-errs:
I know /dev/lp0 is correct because I've gotten
output there for example with ls > /dev/lp0.
But when I try lpq or lpr I get
no printcap for printer 'lp'
and the lpr attempt also says "transfer to
lp@localhost failed"
What's wrong with the file?
thanks,
Steve
Reply to: