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

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



On Mon, Aug 06, 2001 at 10:17:30PM -0400, David Raeker-Jordan wrote:
> 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

thanks for posting your solution -- it helps the next poor sot
(someone a lot like me) from enduring the same distress!

-- 
DEBIAN NEWBIE TIP #44 from Will Trillich <will@serensoft.com>
:
Ever think you're reading OUTDATED DOCUMENTATION? Check the
last-revised-date: if it's more than a few years ago, then
there's probably something more recent out there. It may
be under a whole different name, so it'll take perseverance
and determination on your part. Be alert -- you'll find it!

Also see http://newbieDoc.sourceForge.net/ ...



Reply to: