I must doing something wrong, because the following doesn't work ....

pdfStamper = new PdfStamper(pdfReader, out, version, true);

pdfReader is the pdf I'm reading in
out is the outputstream I'm sending to a browser
the version is set to 1.7

Any ideas?


Leonard Rosenthol-3 wrote:
> 
> As long as you stamp in "append" mode,, it should be fine.
> 
> -----Original Message-----
> From: vdunkin [mailto:[email protected]] 
> Sent: Tuesday, February 23, 2010 11:35 AM
> To: [email protected]
> Subject: [iText-questions] Re tain DuplexMode property
> 
> 
> 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
> 'Duplex Flip Long Edge' or 'Simplex' my resulting pdf has these
> properties.
> Is there a way to do this? I am specifying pdf v1.7 when creating the
> stamper.
> -- 
> View this message in context:
> http://old.nabble.com/Retain-DuplexMode-property-tp27706214p27706214.html
> Sent from the iText - General mailing list archive at Nabble.com.
> 
> 
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions:
> http://www.1t3xt.info/examples/
> You can also search the keywords list:
> http://1t3xt.info/tutorials/keywords/
> 
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions:
> http://www.1t3xt.info/examples/
> You can also search the keywords list:
> http://1t3xt.info/tutorials/keywords/
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Retain-DuplexMode-property-tp27706214p27707327.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to