Mac OS X – installing pdf-tools using homebrew to circumvent “For the best experience, open this PDF portfolio in Acrobat 9 or Adobe Reader 9, or later.”
Posted by jpluimers on 2016/09/14
I don’t want Acrobat/Adobe Reader on my Mac. Period.
But Preview will show some PDF files as “For the best experience, open this PDF portfolio in Acrobat 9 or Adobe Reader 9, or later.” or “For the best experience, open this PDF portfolio in Acrobat X or Adobe Reader X, or later.”
This is some Adobe marketing scam where they generate a PDF file actually as a portfolio of PDF files having the first PDF being “marketing” message.
So I needed the pdf-tools on my Mac for which many sites suggest to use brew install pdf-tools
. That worked not so well:
$ brew install pdf-tools Error: No available formula with the name "pdf-tools" ==> Searching for similarly named formulae... This similarly named formula was found: mupdf-tools To install it, run: brew install mupdf-tools ==> Searching taps... This formula was found in a tap: homebrew/emacs/pdf-tools To install it, run: brew install homebrew/emacs/pdf-tools
Searching for “Error: No available formula with the name” “pdf-tools” didn’t return useful results but looking for brew “pdf-tools” gone revealed pdf-tools: move to homebrew/emacs · wingyplus/homebrew@6e73af9 indicating the command should indeed be brew install homebrew/emacs/pdf-tools
however that also ended up failing, in fact with multiple errors:
==> make server/epdfinfo Error: No available formula with the name "homebrew/dupes/tcl-tk" Please tap it and then try again: brew tap homebrew/dupes ==> Searching for similarly named formulae... Error: No similarly named formulae found. ==> Searching taps... Error: No formulae found in taps.
After doing abrew tap homebrew/dupes
it finally worked.
Now I could split the 32pfl7404h_12_dfu_nld.pdf
document I mentioned in Mac OS X – Spotlight not finding many files: force a rescan solved it (I have no idea why around 2012, that file would display correctly using Preview).
pdfdetach -saveall /tmp/32pfl17404h.pdf
It would actually reveal two embedded PDF files:
Elektronische gebruikershandleiding.pdf
Volledige gebruikershandleiding.pdf
The latter had the image of the back-side connectors placement I was looking for.
–jeroen
via: pdf – How do I open a “Acrobat X” document without the newest version? – Super User
Leave a Reply