954,554 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Reduce PDF File Size using Itext(JAVA)

I'm creating a Web-based label printing system. For every label, there should be a unique s/n. So when a user decided to create 1000 labels (with the same data), all of it should have unique s/n, therefore the pdf will have 1000 pages, which increases the file size.

My problem is when the user decided to create more copies, the file size will get bigger.

Is there any way that I can reduce the file size of the pdf using Itext? Or is there any way that I can generated the pdf and output it in the browser without saving it neither to server/client's HDD?

Thanks for the help!

jeypijeypi
Newbie Poster
2 posts since Oct 2011
Reputation Points: 10
Solved Threads: 0
 

Ideas for you to ponder...

1. Limit the number of labels that the user can generate.

2. How big are the labels? Can you create multiple labels per page?

3. If it's the same data on each label, just generate one (page of) label(s),
and tell the user to print multiple pages of the same page.
Of course, if you are also printing the s/n on each label
(meaning the data is NOT the same on each label),
this solution will not work as intended.

hfx642
Posting Pro
515 posts since Nov 2009
Reputation Points: 248
Solved Threads: 105
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: