DuplexMode

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Merger for .NET (v3.x and older)  /  Display Thread

DynamicPDF Merger for .NET (v3.x and older) Forum

 Jul 18 2013 1:01 PM
HI,

I'm trying to print my document PDF from Windows 8 via my web application. In Document Properties \ Advanced, I set to “Simplex” the  DuplexMode flag. When I print the document, the “Print on both sides of paper” is checked and my PDF document is printed on both sides.
My question is, what is the difference between the “DuplexMode” in Document Properties and the “Print on both sides of paper” in Print Options? I’m using Adobe Acrobat X Pro.


For your reference, the following is the coding to set DuplexMode in the MergeDocument Class.

// Final merge and production of PDF
MergeDocument mergeDocument = new MergeDocument();

...

if (IsPDFduplexMode)
     mergeDocument.ViewerPreferences.Duplex = ceTe.DynamicPDF.Duplex.DuplexFlipLongEdge;
else
     mergeDocument.ViewerPreferences.Duplex = ceTe.DynamicPDF.Duplex.Simplex;

....

Thank you very much for your help.

Naim Himrane
Technicost Inc.
 Jul 18 2013 4:55 PM
Posted by a ceTe Software moderator
Hello Niam,

DuplexMode that you see in document properties is encoded into the PDF document and this setting can be modified using MergeDocument.ViewerPreferences.Duplex property in our product. 

The “Print on both sides of paper” in the print dialog is the actual printer setting specified in the print driver. 

We have tested this on our end, when the document setting is set to simplex and the print profile setting is set to duplex the document printed in simplex. In your case the printer you are using might be overriding the duplex setting specified in the document.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 9:21 AM.