Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

HP printer problem

0 views
Skip to first unread message

Thomas Crow

unread,
Jan 5, 1994, 12:41:23 PM1/5/94
to
On our system we have access to three printers, only one of which can handle postscript. Is there any way to
prevent any postscript files from printing on the two non-postscript printers. We are running HP-UX 9.01; the
printers operate from NetQue printer servers. Thanks in advance


--
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
Tom Crow email to tc...@relay.nswc.navy.mil
Mathematician/System Administrator o
Naval Surface Warfare Center, Dahlgren Division /|-'
Dahlgren, VA `|\ o
` `
"Don't tell me I'm burning the candle at both ends --
Tell me where to get more wax!"
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

Noel Hunter

unread,
Jan 8, 1994, 5:01:47 PM1/8/94
to
Thomas Crow (tc...@nswc.navy.mil) wrote:
: On our system we have access to three printers, only one of which can handle postscript. Is there any way to

: prevent any postscript files from printing on the two non-postscript printers. We are running HP-UX 9.01; the
: printers operate from NetQue printer servers. Thanks in advance

Modify the printer script(s). Usually, you can use the "file" command to
determine is a file is postcript. If it is, you can reject it, or print
out an error page. The logic would be something like this (this is not
perfect, just a guess):

filetype = `/usr/bin.file $1`
if [ $filetype -eq "Postscript" ]
then
exit 1
else
... print the file

--
* Noel Hunter, Academic Systems Administrator, Wake Forest University *
* no...@wfu.edu TEL:(910) 759-5812 MAIL:PO Box 7408 Winston-Salem, NC 27109 *

0 new messages