Quote:
Originally Posted by MadAstra
If you figure out how to do this on Linux I'd love to know. I don't have Acrobat Pro and this has been driving me nuts. Thank you.
|
In that case, you'll be happy to hear that it turns out to be very simple to do it with ghostscript. All you need to do is create a new PDF forcing ghostscript to use the file's 'screen' options rather than its 'printer' options, by setting
-dPrinted=false.
Code:
gs -sDEVICE=pdfwrite -dDOPDFMARKS -dNOPAUSE -dQUIET -dBATCH -dPrinted=false -dPassThroughJPEGImages=true -sOutputFile=output.pdf input.pdf
This gives you a new PDF where the annotations print perfectly.
Note that I tried this on gs version 9.18. If you're using version 9.21 or later and find this doesn't work, you may need to also add
-dPreserveAnnots=false.
I've only tried this on Linux, but it should work on any platform where you can install ghostscript.