Re: Problem with /etc/printcap
>
> Hi,
> I try to print on a ethernet printer ( HP Laserjet 4m ) and i have some
> problem with /etc/printcap, so i can use the printer.
> If i try to print with lpr or if i try a lpq, i receive the error message:
>
> lpr: lp: unknow printer.
>
> My /etc/printcap is:
>
> lj-5|remote-hplj:\
> :lp=/dev/null:sh:\
> :sd=/var/spool/lpd/lj-5:\
> :rm=132.203.76.56:rp=raw:
>
You need to tell lpr what printer you want to print to:
either:
lpr -Plj-5 myfile
or:
export PRINTER=lj-5
lpr myfile
--
joost witteveen
joost@rulcmc.leidenuniv.nl
joostje@debian.org
--
Use Debian/GNU Linux!
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com
Reply to: