Why are the pages images and not real text and vector objects?  If you want 
small files, DON'T use raster images!

From: Jason Berk [mailto:[email protected]]
Sent: Sunday, March 21, 2010 12:47 PM
To: [email protected]
Subject: [iText-questions] design pattern


hello all.

looking for advice...

my credit union has 60K members.  I need to produce a single PDF for each 
member that uses low res images (96 DPI).  This is know as the "E-Statement".  
For about half of the members, I also need to produce a "print statement" 
version which uses 300 DPI images.  The print statement needs to be just one 
single PDF (with thousands of pages).  I would like this print file to be as 
small as possible.

it is possible to

1) create a statement with a button as an image place holder
2) save that statement as a singular PDF after adding low res images to the 
buttons
3) concat that statement to an open PDF stream after adding high res images to 
the buttons (so the pdf specific stuff isn't repeated with each statement)

I've read this: http://1t3xt.info/examples/browse/?page=example&id=347 which 
shows how to set button images and I've read about using PdfSmartCopy to concat 
PDFs, but from what I read, the PDF innards will still be repeated in my 
resulting file, eating up file size (please correct me if this is not the case)

I've also thought about creating two different processes...once to create e 
versions and one to create the print file, but that seems inefficient as I'd be 
creating the (hopefully) same statement twice for basically half of my accounts 
and could potentially result in the statement looking slightly different 
between e and print versions.

The end goal is for a member to get his print statement in the mail, and print 
the estatement from online banking and (basically) not be able to tell which is 
which.

how would you all handle this with iText / Java?

(FYI: this is a server side java process...no web container)

Thanks for any opinions / help.

Jason



***This is a transmission from Purdue Employees Federal Credit

Union (PEFCU) and is intended solely for its authorized

recipient(s), and may contain information that is confidential

and or legally privileged.  If you are not an addressee, or the

employee or agent responsible for delivering it to an addressee,

you are hereby notified that any use, dissemination,

distribution, publication or copying of the information

contained

in this email is strictly prohibited. If you have received this

transmission in error, please notify us by telephoning (765)

497-3328 or returning the email. You are then instructed to

delete the information from your computer.  Thank you for your

cooperation.***


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