Hi Alex...

Thanks very much for your reply! I've followed your first step...

> To get it working the first thing that I did was create the following
> file as /etc/xinetd.d/cups-lpd  This lets things that want to print to
> lpd find something that simulates lpd

> #
> # cups-lpd -- print from mac
> #
> service printer
> {
> socket_type = stream
> protocol = tcp
> wait = no
> user = lp
> server = /usr/lib/cups/daemon/cups-lpd
> }

...but I'm getting stuck (although closer) on the second step.

> then tweaked papd.conf to look like this to print on the "Basement"
> printer attached to Homer

> Basement:Basement@Homer:\
>              :pr=|/usr/bin/lp -d Basement:\
>              :op=daemon:\
>              :pd=/etc/cups/ppd/Basement.ppd

In my setup, pravda.tenzo.net is the linux box that the printer hp4050 is 
connected to. As you can see, I'm stumbling a bit on syntax. I've tried 
various permutations of your papd.conf, including:

hp4050:\
      :pr=lp:\
      :op=nobody:\
      :pd=/etc/atalk/ppds/hp4050.ppd:

This was the original papd.conf I used with Red Hat / lpr. 

hp4050:hp4050@pravda:\
      :pr=lp:\
      :op=daemon:\
      :pd=/etc/atalk/ppds/hp4050.ppd

In both of the above cases, when I print from a Mac, I get the original error 
messaage: "The document [doc_name] could not be printed. A connection was 
made to the printer, but the printer is currently not responding to queries." 
(MacOS Error -8993)

hp4050:hp4050@pravda:\
      :pr=|/usr/bin/lp -d hp4050:\
      :op=daemon:\
      :pd=/etc/atalk/ppds/hp4050.ppd

hp4050:\
      :pr=|/usr/bin/lp -d hp4050:\
      :op=daemon:\
      :pd=/etc/atalk/ppds/hp4050.ppd

In both these cases, the print job spools and then clears in the LaserJet 
status window. It's as though it has spooled and gone to print, but never 
does. No error on the Mac end.

I'm thinking it has to do with authentication but I don't know enough about 
how that works. Would you have any suggestions?

Thanks again.

M.

-- 
Michael O'Henly
TENZO Design

Reply via email to