I am creating a web-based label printing system. There must be a single s / n for each label. Therefore, when the user decided to create 1000 tags (with the same data), all of them should have a unique s / n, so there will be 1000 pages in pdf, which increases the file size.
My problem is that the user decided to create more copies, the file size will become larger.
Is there a way to reduce pdf file size using Itext? Or can I create a PDF file and display it in a browser without saving it on the server / client hard drive?
Thanks for the help!
source share