I have a niche Java app that I use extensively (since it's Java and thus basically cross-platform, and since it can cater to my needs), and its job is to produce a printed page with text on it.
However, I need to distribute those printed pages electronically, and thus I installed the printer-driver-cups-pdf
package, which gives me a PDF printer, and thus I can distribute PDF's to my team members.
However, these "printed" PDF's are enormous. A 2-page PDF is easily 800kb, and three pages are well over 1MB. This is a problem, since I cannot easily e-mail 10 of these documents to someone quickly.
Exporting a page with around the same amount of text within LibreOffice results in PDF files at least 10 times smaller.
Does anyone have any suggestions?
I cannot use image compression, since these pages contain only vectors.
Incidentally, I am using Ubuntu 15.10.
Thanks in advance!
EDIT: I have already tried Ghostscript with various -dPDFSETTINGS=/
settings. That, however, does not work, since it only applies to raster images. I have also tried converting to/from SVG, PS and EPS. I am still stuck with preposterously huge vector PDF files.
printer-driver-cups-pdf
...https://localhost:631
), or use Ghostscript or something to compress the PDF: askubuntu.com/q/113544/158442