From: sterne@dublin.llnl.gov (Philip Sterne)
To: Steve Russell <stephen_russell@spectratek.co.uk>
Subject: Re: Ethernet HP Laserjet Postscript problem
Date: 1996/06/25 [thread overview]
Message-ID: <sj7msvpn98.fsf@dublin.llnl.gov> (raw)
In-Reply-To: 31C88258.65F5@spectratek.co.uk
>>>>> "Steve" == Steve Russell <stephen_russell@spectratek.co.uk> writes:
Steve> I have an HP laserJet 5M ethernet printer (with Jetdirect
Steve> card). It is set up to print postscript files. When a postscript
Steve> file is sent to it there is no problem. However when I send an
Steve> ascii file I get a postscript error on the printer.
[Printcap file snipped]
Steve> As I understand the "if:" line should wrap any ascii files in
Steve> postscript format before sending them off to the printer. I can
Steve> only assume that this is not happening. Does anyone have any
Steve> ideas please .
The filters are ignored if you print to a queue on a remote printer.
It assumes that the remote printer will take care of any filtering you
need.
Your options are to set up a second queue for text, using the line
:rp=text:
in your printcap, or filtering the text file by hand before firing it
at the printer:
/usr/lbin/ln03rof < testfile | lpr -Plaser
Neither solution is optimal. I would really like the printer to be
able to switch by itself so that only one queue was necessary.
Some people have suggested putting a wrapper around the lpr command to
call ln03rof if the file is a regular text file. This should work
too.
Good luck,
Phil
--
---------------------------------------------------------------------
Philip Sterne | sterne@dublin.llnl.gov
Lawrence Livermore National Laboratory | Phone (510) 422-2510
Livermore, CA 94551 | Fax (510) 422-7300
prev parent reply other threads:[~1996-06-25 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-06-19 4:00 Ethernet HP Laserjet Postscript problem Steve Russell
1996-06-25 4:00 ` Philip Sterne [this message]
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