Date: Thu, 07 May 1998 11:35:13 +0200 (CEST) From: Malte Lance <malte@webmore.com> To: Lanny Baron <beef@cybertouch.org> Cc: questions@FreeBSD.ORG Subject: RE: printing with ghostscript?? Message-ID: <XFMail.980507113513.malte@webmore.com> In-Reply-To: <Pine.BSF.3.96.980507012211.7604A-100000@cybertouch.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <malte@webmore.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980507113513.malte>