How to Print PDF Files in duplex mode ?

Hi,

Has anyone been able to print PDF files in duplex mode ?

I tried by "-o sides=two-sided-long-edge" option, and it's ok.
But i would like to set this option when creating PDF file.

Thanks,
Fabien.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

PDF file in duplex mode

Depending on what your environment is and what your trying to do, this might or might not help but we use ghostscript on Unix which converts the pdf to a postscript file. To make it print duplex, or not, here is the code we use to insert a line at the beginning of the file which tells the printer what to do:

IF lDuplex THEN
cOsCommand = ' ~{ print "statusdict begin true setduplexmode end" ; ' +
' cat ' + cPsPathFile + '.tmp ; } > ' +
cPsPathFile.
ELSE
cOsCommand = ' ~{ print "statusdict begin true end" ; ' +
' cat ' + cPsPathFile + '.tmp ; } > ' +
cPsPathFile.

This way our application can control the duplex on a more dynamic basis.