Parallel port printing on 5.1

From: Chris <chris_at_tellme3times.com>
Date: Thu, 12 Feb 2004 15:40:32 -0500
I'm trying to get ghostscript running on my 5.1. I took the same script 
I had on 4.7 which has the following line that calls gs;

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

I get the following in lpd-errs;


   Error: /invalidfileaccess in --.outputpage--
   Operand stack:
      1   true
   Execution stack:
      %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   
--nostringval--   --nostringval--   false   1   %stopped_push   1   3   
%oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   1   3   
%oparray_pop   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   0   3   
%oparray_pop   --nostringval--   --nostringval--   --nostringval--   
--nostringval--
   Dictionary stack:
   --dict:1059/1123(ro)(G)--   --dict:0/20(G)--   --dict:108/200(L)--
   Current allocation mode is local
   Last OS error: 45
   GNU Ghostscript 7.07: Unrecoverable error, exit code 1
   Feb 12 15:37:04 charge lpd[1787]: lp: job could not be printed

Now in /dev/fd/ I only have 0 1 2 and no 3
I can print simple text to the printer but nothing formated in postscript...

Do I need to create 3? If so how?

Chris
Received on Thu Feb 12 2004 - 11:38:12 UTC

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