[2387] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Printtool, DeskJet540, and Nenscript

daemon@ATHENA.MIT.EDU (Wes Parker)
Sat Nov 2 21:14:51 1996

To: redhat-list@redhat.com
Date: Sat, 02 Nov 1996 21:09:36 -0500
From: Wes Parker <wesp@ennui.ioa.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

--==!Exmh_1227068925P
Content-Type: message/rfc822

X-Mailer: exmh version 1.6.9 8/22/96
To:redhat-list@redhat.com
Cc:
Subject:Printtool, DeskJet540, and Nenscript 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

Last week I installed RH4.0 after having run various Slackware distributions 
for the last couple of years.  I have run into a problem printing.

I am using a DeskJet 540.  I installed the printer filter using printtool.  
The first problem I ran into was that when I tried to print, I got an error 
message telling me that the printer "Postscript" could not be found.  I added 
that name to the filter for the printer, and then was able to get some output, 
but the fonts were smeared and illegible.  I then read the Errata page and 
upgraded the fonts to version 4.02.

The packages currently installed are:

ghostscript-3.33-2
ghostscript-fonts-4.0-2
nenscript-1.13++-5

My printer filter looks like:

#!/bin/sh

DEVICE=lp|deskjet|PostScript
RESOLUTION=300x300
PAPERSIZE=letter
SENDEOF=

nenscript -TUS -ZB -p- |
if [ "$DEVICE" = "PostScript" ]; then
        cat -
else
        gs -q -sDEVICE=$DEVICE \
                -r$RESOLUTION \
                -sPAPERSIZE=$PAPERSIZE \
                -dNOPAUSE \
                -dSAFER \
                -sOutputFile=- -
fi

if [ "$SENDEOF" != "" ]; then
        printf "\004"
fi

exit 0

Any ideas?  I could ditch the nenscript setup and just go with MagicFilter or 
APS, but I've been screwing with this for a few days now and I'd like to make 
this work if I can...

Thanks!

Wes

-- 

"What you seek in vain for, half your life, one day you come
 full upon, all the family at dinner.  You seek it like a dream,
 and as soon as you find it you become its prey."  - Thoreau

FINGER wesp@ioa.com for public PGP key.



--==!Exmh_1227068925P
Content-Type: application/pgp-signature

-----BEGIN PGP MESSAGE-----
Version: 2.6.2

iQCVAwUBMnv+3FheKb/OOTtZAQEqlgP/c3EubyVQo4Q39oyU83Ae2A8jm+9JR1PG
zs6w64i0WRjV41W5RkezFatfXu7YkJxagTMshtBTcnhFlDpUVptEv0gxSLZ4CWtC
XhnMqfnTw5JD+Jd6QceptGEyQYp5ChmAXd8NfgYrnHoQRRP6nZrhdvI7u/MwJT7O
eJvKigcPfSw=
=SD6T
-----END PGP MESSAGE-----

--==!Exmh_1227068925P--


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post