Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2001 16:14:16 EST
From:      Vitman3852@aol.com
To:        FreeBSD-questions@freebsd.org
Subject:   lpd problem
Message-ID:  <c9.1b02f343.29622f28@aol.com>

next in thread | raw e-mail | index | archive | help

--part1_c9.1b02f343.29622f28_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

When lpd is run form the rc.conf file, it appears to run, but does not work 
properly.  If I print I get the following message:
"job could not be printed (cfa010)"

lpd works fine when I start it from the command prompt.  The paths appear to 
be correct.  Any ideas?


At 8:47 PM -0500 12/27/01, Vitman3852@aol.com wrote:
>I am using "pnm2ppa" and a HP 712C.  If I start lpd from a command
>line, everthing is fine.  When lpd is started from rc.conf, everthing
>is NOT fine.  No print.  I've been over the man pages and pnm2ppa docs
>and I haven't found anything.
>
>Any ideas?

I do not know about pnm2ppa or HP 712c's, but what are the symptoms
you see when you have lpd started from rc.conf?

Does lpd itself run OK?  If you send a job to the printer, does the
lpd start a task for that job/printer, and the job "disappears"?  Or
does lpd cease running?

You have an 'if=' filter set in your printcap file?  If the filter is
running OK when started by hand, then it's probably something subtle
in the environment which is different.  Have the filter print out it's
environment into some logfile, and see what's different.  It wouldn't
surprise me if the problem was that the setting of PATH is different,
and that the filter needs to pull something out of /usr/local/bin or
something like that.

--part1_c9.1b02f343.29622f28_boundary
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

<HTML><FONT FACE=arial,helvetica><FONT  SIZE=2>When lpd is run form the rc.conf file, it appears to run, but does not work properly. &nbsp;If I print I get the following message:
<BR>"job could not be printed (cfa010)"
<BR>
<BR>lpd works fine when I start it from the command prompt. &nbsp;The paths appear to be correct. &nbsp;Any ideas?
<BR>
<BR>
<BR>At 8:47 PM -0500 12/27/01, Vitman3852@aol.com wrote:
<BR>&gt;I am using "pnm2ppa" and a HP 712C. &nbsp;If I start lpd from a command
<BR>&gt;line, everthing is fine. &nbsp;When lpd is started from rc.conf, everthing
<BR>&gt;is NOT fine. &nbsp;No print. &nbsp;I've been over the man pages and pnm2ppa docs
<BR>&gt;and I haven't found anything.
<BR>&gt;
<BR>&gt;Any ideas?
<BR>
<BR>I do not know about pnm2ppa or HP 712c's, but what are the symptoms
<BR>you see when you have lpd started from rc.conf?
<BR>
<BR>Does lpd itself run OK? &nbsp;If you send a job to the printer, does the
<BR>lpd start a task for that job/printer, and the job "disappears"? &nbsp;Or
<BR>does lpd cease running?
<BR>
<BR>You have an 'if=' filter set in your printcap file? &nbsp;If the filter is
<BR>running OK when started by hand, then it's probably something subtle
<BR>in the environment which is different. &nbsp;Have the filter print out it's
<BR>environment into some logfile, and see what's different. &nbsp;It wouldn't
<BR>surprise me if the problem was that the setting of PATH is different,
<BR>and that the filter needs to pull something out of /usr/local/bin or
<BR>something like that.</FONT></HTML>

--part1_c9.1b02f343.29622f28_boundary--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c9.1b02f343.29622f28>