[expert] Netatalk and cups.

2001-02-15 Thread James Little

We are using a PC as a print/file server.  We do this, so we can print from
Linux, Unix, Windows, Novell, and MacOS and have them all use the same
spool, and also have them all be able to use the same shared directory.
I've had this machine set-up before with Mandrake 7.1, and all these things
worked perfectly.  I have since installed 7.2, and all the other things are
working.  I installed Netatalk, and used the same config files.  AFPD is
working correctly, but I can't make PAPD work.  I can generate the
postscript files and move them to the Linux box, and print them directly.  I
can also see the Printer listed under LaserWriter8 in the chooser, but I
cannot print directly to it from MACOS.  It always tells it's processing a
job.  Any help is appreciated.






Re: [expert] Netatalk and cups.

2001-02-15 Thread A V Flinsch

On Thursday 15 February 2001 01:20, you wrote:
 We are using a PC as a print/file server.  We do this, so we can print
 from Linux, Unix, Windows, Novell, and MacOS and have them all use the
 same spool, and also have them all be able to use the same shared
 directory. I've had this machine set-up before with Mandrake 7.1, and
 all these things worked perfectly.  I have since installed 7.2, and all
 the other things are working.  I installed Netatalk, and used the same
 config files.  AFPD is working correctly, but I can't make PAPD work. 
 I can generate the postscript files and move them to the Linux box, and
 print them directly.  I can also see the Printer listed under
 LaserWriter8 in the chooser, but I cannot print directly to it from
 MACOS.  It always tells it's processing a job.  Any help is
 appreciated.

One of the things that I had to do to get netatalk  cups to play nicely 
together was to create a pseudo lpd. To do this I created a file 
/etc/xinetd.d/cups-lpd containint the following
#
# cups-lpd -- print from mac
#
 
service printer
{
socket_type = stream
protocol = tcp
wait = no
user = lp
server = /usr/lib/cups/daemon/cups-lpd
}   


then restarted xinetd to get it all working


-- 
Alex
(Go easy on me, I'm a COBOL programmer in real life)