Skip to main content
Mark Holley
Known Participant
October 14, 2018
Question

Distiller Parameters - setPagedevice

  • October 14, 2018
  • 1 reply
  • 711 views

Good day,

I'm hoping to convert something from a PostScript that doesn't work to a PostScript that works using Ghostscript 9.25.  This command works perfectly:

gswin64 -dQUIET -dBATCH -dNOPAUSE -dDUPLEX -sDEVICE=ps2write -sOutputFile=gmsnewpostscriptdup.ps gmstestfile.ps -c "<</PSDocOptions (<</ManualFeed false>> setpagedevice statusdict begin 0 setpapertray end)>> setdistillerparams" -f

...except for the fact that it doesn't carry over the original PostScript file's simplex/duplex information. Does anyone know the setpagedevice parameters that would allow me to do that? From what I understand, the parameters are Adobe-centric, so the program (Ghostscript) that I'm using for the actual tearing-down/rebuilding isn't important in this case.

Thank you!

This topic has been closed for replies.

1 reply

Dov Isaacs
Legend
October 14, 2018

The setPagedevice parameters are not “Adobe-centric” but rather, are specific to the device in question. Since you have claimed to be going to an iGen, contact Xerox and ask them what you need to put in the setPagedevice.

          - Dov

- Dov Isaacs, former Adobe Principal Scientist (April 30, 1990 - May 30, 2021)
Mark Holley
Known Participant
October 14, 2018

Sure Dov, will do.