[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Netatalk: job could not be printed--Solved



Here is the answer to my own question.
I posted to the linux-atalk list:
http://lists.netspace.org/cgi-bin/wa?A0=linux-atalk

and got an answer that worked.

On Mon, 6 Aug 2001 13:15:12 -0700, andrew morgan <morgan@ORST.EDU> wrote:

 >I believe Potato uses LPRng for the printer system.  You'll need to change
 >your papd.conf file to:
 >
 >Deskjet:\
 >        :pr=|/usr/bin/lpr -Plp0:\
 >        :op=susan:\
 >        :pd=/etc/netatalk/ppds/HPDJ1200C.ppd:
 >
 >This tells papd to pipe the printjob to the lpr program (you may need to
 >change the path to lpr to match your system).  Otherwise, papd tries to
 >place the printjob and a control file in the spool directory.  It is much
 >better to keep papd out of there.
 >
 >        Andy



David Raeker-Jordan wrote:
> I have set up netatalk on my stable machine so that I can print from a Mac
> IIsi. "Deskjet" is a HP Deskjet 694C that resides on my debian machine at
> lp0.
> 
> Here is the papd.conf file:
> 
> Deskjet:\
> 	:pr=lp0:\
> 	:op=susan:\
> 	:pd=/etc/netatalk/ppds/HPDJ1200C.ppd
> 
> I can choose "Deskjet" from the Mac, and I get no printing error on the Mac
> side. Here is what I see in /var/log/lpr.log:
> 
> Aug  4 21:52:01 claire papd[29575]: restart (1.4b2+asun2.1.3)
> Aug  4 21:52:07 claire papd[29575]: register Deskjet:LaserWriter@*
> Aug  4 21:57:00 claire papd[29575]: child 29580 for "Deskjet" from 65280.1
> Aug  4 21:57:18 claire papd[29580]: lp_print queued
> Aug  4 21:57:18 claire papd[29575]: child 29580 done
> Aug  4 21:57:19 claire lpd[29581]: lp0: job could not be printed (cfA015claire)
> 
> It looks like netatalk starts fine, registers "Deskjet," the debian machine
> queues a job from the Mac, but reports that "job could not be printed." BTW,
> the printer works fine from the linux side.

-- 
David Raeker-Jordan
mailto:rkrjrdn@epix.net
Harrisburg, PA, USA



Reply to: