From owner-freebsd-questions Thu May 7 02:38:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA15204 for freebsd-questions-outgoing; Thu, 7 May 1998 02:38:13 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from cyclone.degnet.baynet.de (www.degnet.baynet.de [194.95.214.129]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA15130 for ; Thu, 7 May 1998 02:37:59 -0700 (PDT) (envelope-from malte@webmore.com) Received: from neuron.webmore.com (unverified [194.95.214.174]) by cyclone.degnet.baynet.de (EMWAC SMTPRS 0.83) with SMTP id ; Thu, 07 May 1998 11:35:16 +0200 Received: from neuron.webmore.de (malte@webmore.com) by neuron.webmore.com (8.8.8/8.8.8) with ESMTP id LAA02337; Thu, 7 May 1998 11:35:13 +0200 (CEST) Message-ID: X-Mailer: XFMail 1.2 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Thu, 07 May 1998 11:35:13 +0200 (CEST) Reply-To: malte@webmore.com From: Malte Lance To: Lanny Baron Subject: RE: printing with ghostscript?? Cc: questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 07-May-98 Lanny Baron wrote: > > Hello, > > I have been trying to set up my printer to work so I can print from > Netscape. I have so far not had any luck. I have looked in the log and get > this: > > May 7 00:54:32 cybertouch lpd[7564]: cannot execv /dev/lpt0 > May 7 00:54:32 cybertouch lpd[7563]: lp: job could not be printed > (cfA019cybertouch.org) > > The current /etc/printcap has this working entry: > > lp|canon-bubblejet-4000:canon-bubblejet-600:\ > :sh:\ > :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/bjc600.log:\ > :if=/dev/lpt0:if=/usr/local/libexec/bjc600: "if" defines an input-filter. Since you defined "/dev/lpt0" as an input-filter, lpd tries to run it, assuming it is an executable. Just remove the entry "if=/dev/lpt0:" and things should work. You may want to add "sh" and "mx#0". Have a look at "man printcap" and "man termcap". Malte > > which produces the above log > > > But if I change the /etc/printcap to what Greg Lehey's FreeBSD book says, > which is this: > >#lp|local line printer:\ ># :sh:\ ># :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:sh:mx#0:\ ># :if=/usr/local/libexec/lpfilter > > I am able to print regular text files. > > Can anyone please help me? > > Thanks, > > > * Lanny Baron * >| Have you had your BEEF today? | >| http://www.tht.net/~beef | >| * >| Want a great operating system? | >| try FreeBSD, it's remarkable! | > * http://www.FreeBSD.org * > &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message ---------------------------------- E-Mail: Malte Lance Date: 07-May-98 Time: 11:11:23 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message