PS printing to non PS printer on 5.2

From: Chris <chris_at_tellme3times.com>
Date: Fri, 13 Feb 2004 18:02:19 -0500
Hell all,

I'm having trouble getting gs to print with the instructions in the 
handbook. While I can print simple text to the printer I am unable to 
print postscript.

The same script works fine on 4.x I have now tried this on 5.1 and 5.2.1 
and both result in the same errors;

       AFPL Ghostscript 8.11: **** Could not open the file /dev/fd/3 .
       Error: /invalidfileaccess in --.outputpage--


now on 5.x we do not have /dev/fd/3 as required by the hand book;

     /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=djet500 \
        -sOutputFile=/dev/fd/3 - && exit 0

I have also tried the following...

    /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=ljet4 \
        -sOutputFile=- - | dd obs=8k && exit 0

which was sugjested by Poul-Henning. I get garbaje in the log file wich I assume is the HP PCL5 control characters.


l2Al0o0l0El-180u36Z0Fu600Dl1X|2AB0x0Y600R+3943Y1A3M5W?ÿÿ28W?ÿ&À.ð%à.à%à?ð$þð7W?ÿÿü6Wÿÿ6Wÿ6Wÿà6Wÿ?ð11W?ÿ3?À5)7W?ÿüø8Wÿÿàÿ"ÿ
ÿþüÿüàø?%àÀÁ"ÿÀ áÿþþ?þ%ÿÀ?à?áþ53Wÿ)à    ñÀà     ãÿÿ%ÿþÿÿðñ48Wÿ)ð        óàð     ç?Àÿñþ(ÿ
ü
 ?"ÿÀ&À'ü"ø$ÿ"ü?ÿ37Wÿ*ü
øàø
Aÿÿû34Wÿ)?ø&ÿÀ
?ø&ÿ?þ?
       34Wÿ)!àÀ13W?ÿ_ÿÿø?
                         ÿÿ11Wÿ^ð
ð6Wÿà6WÿÀ6Wÿ6Wÿð6Wÿ
à6Wÿ
À6Wÿ
6Wÿ
?þ5W?ÿ
ü5W?ÿ
ÿø6Wÿ   ð6Wÿ    à6Wÿ    À6Wÿ    6Wÿ     à5WüÀ5Wü5Wü5Wïb4W?âü4W?âÿø5Wáð5Wáà5WáÀ5Wá5WáÔð5WÔà5WÔÀ5WÔ5WÔÀ5WÇ5WÇ4W?º?þ4W?ºü4W?ºÿø5W¹ð5W¹à5W¹À5W¹5W¹W?­ÿø5W¬ð5W¬à5W¬À5W¬5W¬à5WÀ5W5W5Wb4W?ü4W?ÿø5Wð5Wà5WÀ5W5Wwð5Wwà5WwÀ5Ww5WwÀ5Wj5Wj4W?]?þ4W?]ü4W?]ÿø5W\ð5W\à5W\À5W\5W\W?Pÿø5WOð5WOà5WOÀ5WO5WO2+1 records out
19062 bytes transferred in 0.515156 secs (37002 bytes/sec)


Can someone please help.

Chris
Received on Fri Feb 13 2004 - 13:59:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:43 UTC