tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Arrigo Triulzi <arrigo () albourne ! com>
To: tru64-unix-managers
Subject: [SUMMARY] Princap (and printing) with HP Deskjets
Date: Fri, 18 Sep 1998 11:32:37 +0000	[thread overview]
Message-ID: <96078721911926.tru64-unix-managers.marc@archive.invalid> (raw)

Hello all,

the original request was for a printcap entry for an HP DeskJet and
usage of ghostscript under DU to print Postscript automatically.

I am pleased to report that Paul A. Schoenly <pschoen@janus.gsfc.nasa.gov> 
kindly provided me with a set of filters from magicfilter pre-compiled
for DU.

During installation of magicfilter, version 1.2 + patches from the
Debian Linux distribution, all available from any good mirror of the
main site:

ftp.debian.org/pub/debian/dists/hamm/hamm/source/text/magicfilter*

I discovered an interesting problem: Ghostscript 5.01 does not like to
be called as a filter without a controlling tty. For example using
gs [options] -sOutputFile=- - to get Ghostscript to read in from stdin
and output to stdout works with version 4.x but *not* with version 5.x
unless called from a shell prompt.

The fix is to change the magicfilter filter files from using the
keyword "filter" to "ffilter" and changing the output to be $FILE as
opposed to stdout. This simple change fixes the obscure SIGFPE which
is otherwise obtained when printing.

Using apsfilter 4.9.1 failed miserably and porting it seems more pain
than it is worth given that magicfilter works fine. Also, note that
you can then throw at your DeskJet anything you want, including DVI
files, TIFF images, GZIPped files etc. All auto-converted by the
filter! :-)

Hope this helps,

Arrigo

-- 
Arrigo Triulzi <arrigo@albourne.com>
Albourne Partners Ltd. - London, UK

                 reply	other threads:[~1998-09-18 11:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox