Traduisez - Übersetzen - Traduzca - Traduza - Tradurre - Translate

Re: printers

James Amendolagine (uq274@freenet.victoria.bc.ca)
Sun, 12 Jan 1997 13:48:14 -0800

Terrific, it works!

The problem was with a filter which Redhat built to convert
postscript files to (cheap) printer readable format. The filter was
breaking on a call to a program called "nenscript". I removed it from
the filter and everything worked fine. Here's the filter:
--------------------------------------------------------
#!/bin/sh

DEVICE=laserjet

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

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

exit 0
---------------------------------------------------------

Thank's for the help!

Jamie