PS printing to non PS printer on 5.2
Dirk Roehrdanz
Dirk.Roehrdanz at t-online.de
Sat Feb 14 03:24:26 PST 2004
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
More information about the freebsd-current
mailing list