Subject: RE: Need some help with printing on a LaserWriter IIg
From: andrew morgan (morgan@orst.edu)
Date: Wed Jun 07 2000 - 02:15:24 EDT
On Wed, 7 Jun 2000, Morgan Reed wrote:
> I need help. still can't get the printer to work and am starting to get
> frustrated. I need to know if anyone can explain what is happening in the
> following line:
>
>
> job 'cfA679LinuxBox2.thereedfamily.org' transfer to lp@localhost failed
>
> My printcap is as follows, there is a space after the last line, and there
> is nothing else in the printcap except the double ## text at the top:
>
> lp:\
> :of=/usr/lib/atalk/filters/ofpap:\
> :lp=/dev/null:\
> :sd=var/spool/lpd/LaserWriterIIg:\
> :pl#63:pw#85:\
> :mx#0:\
> :sh:\
> :sf
>
>
> I have set up a directory in the lpd folder called LaserWriterIIg and the
> filters are in the directory /usr/lib/atalk/filters/ and the ethernet name
> of the printer is MMLab IIg.
> I have a .paprc in the dir /var/spool/lpd/LaserwriterIIg and it reads:
> MMLab IIg
>
> I can print with pap -p "MMLab IIg" test1.ps, that works fine. but I get
> the lp@localhost error when I try to do lpr -P lp test1.ps
I don't know if this is the problem, but you are missing a leading slash
in your definition of the spool directory. It should be
"sd=/var/spool/lpd/LaserWriterIIg:\".
If that isn't it, then maybe this note from the psf(8) manpage is
relevant:
Note that if the host in question spools to more than one AppleTalk
printer, /dev/null should not be used for the lp capability. Instead,
a null device should be created with mknod for each printer, as has been
done above.
You can create a null device in your spool directory with the following
command:
mknod /var/spool/lpd/LaserWriterIIg/null c 1 3
You may need to fiddle with the permission bits on the null device (666
maybe?).
Andy
This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:30:58 EST