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:
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.