How to pipe dvips output through Ghostscript?

Heiko Oberdiek oberdiek@ruf.uni-freiburg.de
Mon, 15 Mar 1999 01:46:45 +0100


At 14:24 14.03.99 -0800, Richard Stanton wrote:
>dvips utah99 -n 1 -o "| gswin32c -sDEVICE=cdj550 -dNOPAUSE -",
>
>I get the following output:
>
>This is dvips(k) 5.83 Copyright 1998 Radical Eye Software
>(www.radicaleye.com)
>' TeX output 1999.02.09:1437' -> | gswin32c -sDEVICE=cdj550 -dNOPAUSE -
><texc.pro>Aladdin Ghostscript 5.50 (1998-9-11)
>Copyright (C) 1998 Aladdin Enterprises, Menlo Park, CA.  All rights
>reserved.
>This software comes with NO WARRANTY: see the file PUBLIC for details.
>
>The mswindll device is not supported by the command line version of
>Ghostscript.  Select a different device using -sDEVICE= as described
>in Use.htm.
>Error: /undefinedfilename in (gswin32c)

Things should work, if you omit the space between | and gswin32c:
  dvips utah99 -n 1 -o "|gswin32c -sDEVICE=cdj550 -dNOPAUSE -"

Yours sincerely
  Heiko <oberdiek@ruf.uni-freiburg.de>