Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] Re: samba printer problems

> [root@laser /root]# lpr /etc/motd
> lpr: lp: lp: unknown printer
> [root@laser /root]# echo "blah blah" > /dev/lp0
> it prints fine..
> My /etc/printcap looks like this
> lp0:\
>         :sd=/var/spool/lpd/lp0:\

If your printer isn't called lp, you'll need to pass its name as well, try
this: lpr -Plp0 /etc/motd

Since (guess) you only have one printer, I'd change that first line of
your printcap to this: lp0|lp:\

-- adm