Subject: Re: Some Help Debugging lpd with MacOS 9 printing.
To: Henry B. Hotz <hotz@jpl.nasa.gov>
From: Joseph Sarkes <jsarkes@tiac.net>
List: port-macppc
Date: 10/26/2001 08:36:19
> 
> First I *have* applied the patch from bin/14247 to support the 'o' 
> option used by OSX.  This is a different problem.

hmmm, I didn't know there was a patch for that, thanks.

> 
> I create a desktop printer under OS9 with the desktop printer 
> utility;  tell it that it's an lpr printer with queue RAW at the 
> right IP address.  I've done this with HP JetDirect interfaces and it 
> works.  I've done this with Solaris 2.5 and it doesn't because it 
> doesn't know it's a Postscript file instead of a text file, but it's 
> OK otherwise.

yep, after a bit of fiddling I finally got os9 to print. My main
problem was fiddling with dns until some combination worked.
(my local system is weird, I have a local nameserver set up to
resolve my local network names and something didn't cooperate
until there were names and reverse lookups for the ip addresses
in use.)  

> 
> In this case the Mac opens the connection, sends 6 bytes of data and 
> the NetBSD server closes the connection.  No print job log, no 
> nothing.

Until I fiddled with the above, I had the same things happening.

> 
> How do I debug this?  The -d option on lpd?  Is there some way to 
> make tcpdump actually show the packet contents and not just the 
> decoded headers?

I couldn't find anything like that myself...

> 
> I do have printing working BTW.  The netatalk package has improved 
> enormously since I last used it 3 years ago under Solaris.  (Or maybe 
> that's because I'm using NetBSD instead of Solaris?)  I still don't 
> know how to get it started automatically since the package doesn't 
> seem to document that.  I expect I can find the intended mechanism 
> eventually, or just fake it.
> -- 
> The opinions expressed in this message are mine,
> not those of Caltech, JPL, NASA, or the US Government.
> Henry.B.Hotz@jpl.nasa.gov, or hbhotz@oxy.edu
> 
> 


-- 
Joseph Sarkes		jsarkes@tiac.net