Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 1995 09:02:15 +0100 (MET)
From:      Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
To:        nels0988@maroon.tc.umn.edu
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Deskjet/Ghostscript !?
Message-ID:  <199510090802.JAA18556@gilberto.physik.rwth-aachen.de>
In-Reply-To: <199510090156.UAA00186@localhost> from "Jon Nelson" at Oct 8, 95 08:56:36 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510090802.JAA18556>