I've narrowed down the issue a little more. When I remove the following lines
of code, the duplexMode is retained.
pdfStamper.addViewerPreference(PdfName.HIDETOOLBAR, pdfBoolean);
pdfStamper.addViewerPreference(PdfName.FITWINDOW, pdfBoolean);
It seems adding additional viewer preferences overwri
I got it working. I had to set the pdfReader to appendable as well as the
pdfStamper to appendable.
--
View this message in context:
http://old.nabble.com/Retain-DuplexMode-property-tp27706214p27710454.html
Sent from the iText - General mailing list archive at Nabble.com.
Perhaps you should provide before & after PDFs to look at...
-Original Message-
From: vdunkin [mailto:vdun...@dhs.state.or.us]
Sent: Tuesday, February 23, 2010 12:46 PM
To: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] Re tain DuplexMode property
I must d
e:
>
> As long as you stamp in "append" mode,, it should be fine.
>
> -Original Message-
> From: vdunkin [mailto:vdun...@dhs.state.or.us]
> Sent: Tuesday, February 23, 2010 11:35 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-question
As long as you stamp in "append" mode,, it should be fine.
-Original Message-
From: vdunkin [mailto:vdun...@dhs.state.or.us]
Sent: Tuesday, February 23, 2010 11:35 AM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] Re tain DuplexMode property
I am using
I am using PdfReader to read in an existing pdf form, then using PdfStamper
to fill the form. The existing pdf has document properties on the advanced
tab under print dialog presets that specify DuplexMode. I would like to
retain the settings of the original form so that if the form specifies
'Dup