From owner-freebsd-questions Thu May 7 00:49:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA03046 for freebsd-questions-outgoing; Thu, 7 May 1998 00:49:31 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.10.60]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA03027 for ; Thu, 7 May 1998 00:49:27 -0700 (PDT) (envelope-from kheuer@gwdu60.gwdg.de) Received: from localhost (kheuer@localhost) by gwdu60.gwdg.de (8.8.5/8.8.5) with SMTP id JAA03717; Thu, 7 May 1998 09:48:01 +0200 (CEST) Date: Thu, 7 May 1998 09:48:00 +0200 (CEST) From: Konrad Heuer To: Lanny Baron cc: questions@FreeBSD.ORG Subject: Re: printing with ghostscript?? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 7 May 1998, Lanny Baron wrote: > 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: > > which produces the above log Be aware: `if' stands for input filter; you've to specifiy (and supply) a script or another executable which handles your print job. Within this script you may call ghostscript to convert PostScript into the language of your printer. Konrad Heuer // Gesellschaft fuer wissenschaftliche Datenverarbeitung mbH // Goettingen (GWDG), Am Fassberg, D-37077 Goettingen, Germany // // kheuer@gwdu60.gwdg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message