So, I have a reporting system built using Java and iText. PDF templates are created using Scribus. Java code combines data into a document using iText. Then the files are copied to the NFS share, and the BASH script prints them.
I use acroread to convert them to PS, then lpr PS.
FOSS's pdftops app is terribly inefficient.
My main problem is that the PDF created using iText / Scribus is very large. And I recently ran into a problem when acroread pukes due to the fact that it is gaining 4 GB of memory on large (over 300 pages) documents. (Adobe is very slow when updating material to 64 bits).
Now I can use Adobe Reader on Windows and use the Reduce file size option or everything that caused it, and it significantly (> 10x) reduces the PDF size (it deletes a lot of metadata about the form fields, and this appears) and creates a PDF file that basically an image to print. A.
My question is - does anyone know of a good solution / program to run something similar on Linux. Ideally, this would optimize the PDF file, reduce the size and reduce the complexity of the PS, so the printer could print faster, as it now takes about 15-20 seconds of the page to print. A.
optimization linux pdf postscript itext
Sheldon ross
source share