Re: PS printing to non PS printer on 5.2

From: Dirk Roehrdanz <Dirk.Roehrdanz_at_t-online.de>
Date: Sat, 14 Feb 2004 12:24:14 +0100
Hello Chris,

On  0, Chris <chris_at_tellme3times.com> wrote:
> 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

to access /dev/fd/3 you have to mount fdescfs before:
 mount_fdescfs fdescfs /dev/fd

You can put an adequate line in /etc/fstab(after the devfs line):
fdescfs	/dev/fd	fdescfs	rw	0	0

Dirk
Received on Sat Feb 14 2004 - 02:24:26 UTC

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