From owner-freebsd-questions Mon Dec 31 13:14:30 2001 Delivered-To: freebsd-questions@freebsd.org Received: from imo-d09.mx.aol.com (imo-d09.mx.aol.com [205.188.157.41]) by hub.freebsd.org (Postfix) with ESMTP id CAC0F37B41C for ; Mon, 31 Dec 2001 13:14:24 -0800 (PST) Received: from Vitman3852@aol.com by imo-d09.mx.aol.com (mail_out_v31_r1.9.) id n.c9.1b02f343 (3860) for ; Mon, 31 Dec 2001 16:14:17 -0500 (EST) From: Vitman3852@aol.com Message-ID: Date: Mon, 31 Dec 2001 16:14:16 EST Subject: lpd problem To: FreeBSD-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="part1_c9.1b02f343.29622f28_boundary" X-Mailer: AOL 6.0 for Windows US sub 10552 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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 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-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message