RE: Need some help with printing on a LaserWriter IIg


Subject: RE: Need some help with printing on a LaserWriter IIg
From: Morgan Reed (morganr@home.com)
Date: Tue May 30 2000 - 22:33:28 EDT


alright, I made some corrections in my print cap (the typos you saw were
actully a result of me transcribing from one machine to another)

I checked ownership and chowned whant needed to be chowned. still no luck
on printing.

Part of my probelm is I don't really understand the error message I am
getting....

job 'cfA679LinuxBox2.thereedfamily.org' transfer to lp@localhost failed

This implys that the print infor is being passed from the lpr to
lp@localhost, where it dies. why is that? what does the message mean?

Thanks everyone so far, getting closer (or at least I hope so)

-----Original Message-----
From: Lancaster, David Matthew [mailto:c4ng2@unb.ca]
Sent: Tuesday, May 30, 2000 7:52 AM
To: Morgan Reed
Cc: eugster@giub.unibe.ch; netatalk-admins@umich.edu
Subject: Re: Need some help with printing on a LaserWriter IIg

> I am able to send a print job to my laserwriter with pap (pap -p "MMLab
IIg"
> test.ps), however, if I try and use lpr, I get one of the following
errors:
>
> job 'cfA679LinuxBox2.thereedfamily.org' transfer to lp@localhost failed
> or
> job 'cfA680LinuxBox2.thereedfamily.org' tcp spooler is being used
by(.....
> I have not be able to re-duplicate this error, the first one appears
> consistantly).

Might be a printcap error, or a spool directory problem.
Did you verify that lpd is running correctly?

My config for RH6 & LaserIIG is as follows:

[root@darkith /etc]# cat /etc/printcap
lp:\
        :sd=/var/spool/lpd/laser:\
        :lf=/var/log/lpd-errs:\
        :if=/usr/lib/filters/ifpap:\
        :of=/usr/lib/filters/ofpap:\
        :df=/usr/lib/filters/ofpap:\
        :lp=/dev/null:\
        :sh:\
        :sf:\
        :mx#0:\
        :pl#63:\
        :pw#85

[root@darkith /etc]# ls -al /usr/lib/filters/
total 8
drwxr-xr-x 2 root root 1024 Sep 2 1999 .
drwxr-xr-x 36 root root 7168 May 24 08:49 ..
lrwxrwxrwx 1 root root 13 Feb 10 17:34 ifpap ->
/usr/sbin/psf
lrwxrwxrwx 1 root root 13 Feb 10 17:34 ofpap ->
/usr/sbin/psf

[root@darkith /etc]# ls -al /var/spool/lpd/laser
total 7
drwxrwxr-x 2 root lp 1024 May 15 22:09 .
drwxrwxr-x 3 root daemon 1024 Sep 8 1999 ..
-rw-r--r-- 1 root root 16 Mar 6 22:27 .paprc
-rw-rw---- 1 root root 84 Apr 25 11:44 .railmag
-rw-r----x 1 root lp 4 May 15 22:08 .seq
-------r-- 1 root root 20 May 15 22:08 lock
-rw-rw-r-- 1 root root 32 May 15 22:09 status

[root@darkith /etc]# cat /var/spool/lpd/laser/.paprc
LaserWriter IIg

I found that the formating in printcap is super-picky. Extra
spaces/carriage returns can even cause problems. I also note that you end
with a colon, which I did not. Perhaps a problem? You also have shsf
together, which I have seperated on two lines. Not sure if it's incorrect,
but I do know what worked for me.

Remember to do a "lpc restart all" after making changes to printcap. I
believe somebody suggests needing quotes around the printer name in
.paprc, but I didn't...

D.

> I did edit the services file to include the numbers and ports you
specified
> (even though I did not build it myself, and instead used the binary that
is
> downloaded with dselect in Debeian) and I edited my printcap with the
> following:
>
> lp|MMLab IIg:LaserWriter:\
> :lp=/dev/null:\
> :sd=var/spool/lpd/LaserWriterIIg:\
> :pl#63:pw#85:\
> # :mx#0:\
> :shsf:\
> :of=/usr/lib/atalk/filters/ofpap:
>
> 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.
>
> What have I done wrong?
>
> Another aside note, My IIg printer won't rename from the ethertalk port.
> If I hook it up to my mac via 8pin din, I can rename and the name will
> stick, but when I put the ethertalk on, then rename, the printer software
> "loses" the printer when I try to rename and then update. No biggie. I
> have the printer select switch set to 4, should it be something else?
>
> I am going to cc this messgae to the netatlk mailing list on the jhope
that
> this will either a) be solved quickly by someone on the list, or b) if
you
> are able to solve it, I can post the results there.
>
> Thank you,
>
> Morgan Reed
>
>



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:30:49 EST