Hi, just wanted to ask how can I save pdf documents as optimized version 1.4 (acrobat 5.0) documents, using Adobe Acrobat 9 standard? I know that the pro version enables to save as.(and then choose the settings), use the optimizer, use batch processing or preflight, but none of these seems to be available in the standard version.what should I do?
Active3 months ago
How to convert PDF version 1.5 to version 1.4 in PHP ? Can anyone point me in the right direction ?
hakre164k3333 gold badges324324 silver badges643643 bronze badges
shaikhshaikh
90044 gold badges1212 silver badges3030 bronze badges
4 Answers
Pdf Document Version 1.4
I have a similar requirement, and found that Ghostscript can modify a PDF version. Documentation is here: http://ghostscript.com/doc/current/Use.htm
However, I didn't find anything specific about the dCompatibilityLevel option in the documentation. Rather, I found this article that demonstrated its use: http://rohieb.wordpress.com/2012/06/09/use-ghostscript-to-convert-pdf-files/
Here is the command:
JuliaKJuliaK
you can easily convert PDF version 1.5 to 1.4 . At present i am working at the same situation where i need to convert the pdf version. i noticed in my case that PDF generated from a 'dompdf' library is version 1.3 and i am using the latest mozilla firefox but still mozilla shows a black screen when i try to read my PDF . (black screen on any page of my multi-page PDF , not all).
so when my dompdf generates the PDF version 1.3 then i will convert it to version 1.4 because 1.4 is fine with my mozilla firefox and indeed all browsers.
you can convert PDF version using 2 ways.
1) use ghostscript command line tool
2. using a PHP library given at github.Download it from here
I am working on this tool at present which encrypt a pdf file. it is almost done and ready to use . Here
webnius Infotechwebnius Infotech
I had same problem for years, without reinstalling any stuff, there is an online converter: https://docupub.com/pdfconvert/
DavidDavid
Here is a working complete script, not perfect but simple. Script reads all pdf's from c:temp_in converts them and saves them as version 1.4 in folder c:temp_done. Had some trouble with paths to the ghost script so path is declared fully in the shell_exec. Also added some debugging to the script by implementing '2>&1'.(Obviously ghost script is installation is required.)
Lightning_youngLightning_young