From owner-freebsd-questions Mon Oct 9 01:04:55 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA29015 for questions-outgoing; Mon, 9 Oct 1995 01:04:55 -0700 Received: from gilberto.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.31.2]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id BAA29007 for ; Mon, 9 Oct 1995 01:04:46 -0700 Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.6.11/8.6.9) id JAA18556; Mon, 9 Oct 1995 09:02:15 +0100 Message-Id: <199510090802.JAA18556@gilberto.physik.rwth-aachen.de> Subject: Re: Deskjet/Ghostscript !? To: nels0988@maroon.tc.umn.edu Date: Mon, 9 Oct 1995 09:02:15 +0100 (MET) Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <199510090156.UAA00186@localhost> from "Jon Nelson" at Oct 8, 95 08:56:36 pm From: Christoph Kukulies Reply-To: Christoph Kukulies X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1191 Sender: owner-questions@FreeBSD.ORG Precedence: bulk > > Howdy, I've been using FreeBSD for about a month now, and am very pleased > with it in every way. That's 2.0.5-RELEASE, btw. Anyway, to the point: > I have a Deskjet 520 and have installed Ghostscript and Ghostview. I can > use Ghostview perfectly, and I can sort-of make Ghostscript print text files, > but I would like to print using lpr, and not just text files either. > > The unix-lpr.sh script dies somewhere, giving me a command like: What is unix-lpr.sh? Is it part of ghostscript? I'm using something like this: /etc/printcap entry: lps|lp-postscript|hp ljet III mit filter fuer PostScript:\ :lp=/dev/lpt0:\ :sd=/var/spool/lps:\ :sh:\ :of=/usr/local/bin/gsljps:\ :lf=/var/log/lpd-errs:\ :mx#0: #!/bin/sh /usr/local/bin/gs -q -dSAFER -sDEVICE=laserjet -r300 -dNOPAUSE -sOutputFile=- - Instead of laserjet you can use whatever is appropriate for your printer. Type gs -help to get the supported devices list. > > error: /undefined in instructions immediately following the gsbanner and gsif > header stuff. > > Any suggestions? > > Sincerely, > > Jon Nelson > nels0988@maroon.tc.umn.edu > --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de