Re: How to open PDF that requires Adobe 9
On Tuesday 07 December 2010 08:40:01 am Clint Pachl wrote: Anthony Bentley wrote: This happens when there are multiple PDFs embedded in a single PDF file. I remember reading a Ghostscript bug about this (could probably find it again if I had the exact error message), but unfortunately Mupdf still doesn't support it. Here is the Ghostscript bug: http://bugs.ghostscript.com/show_bug.cgi?id=690422 From here it looks like you might be able to get it with gs after all. Good research Anthony. That bug describes my situation exactly. The only thing is that I didn't know what the hell a portfolio PDF was until now. Unfortunately, the gs ports is version 8.63 (released 2008-08-01). This bug report/fix happened in April 2009. Shit, now Mr. Schroder is going to be on my ass about patches again. :-P kili@ posted a ghostscript update to ports@ in October IIRC, you may consult the archives. cheers, Sebastian
Re: How to open PDF that requires Adobe 9
You may want to look at Pdftk at http://www.pdflabs.com/. You may be able to use Pdftk to massage the pdf file you can open it. I don't know if it will build on OpenBSD (although there is a FreeBSD port.) Regards, On 12/07/10 03:47, Sebastian Reitenbach wrote: On Tuesday 07 December 2010 08:40:01 am Clint Pachl wrote: Anthony Bentley wrote: This happens when there are multiple PDFs embedded in a single PDF file. I remember reading a Ghostscript bug about this (could probably find it again if I had the exact error message), but unfortunately Mupdf still doesn't support it. Here is the Ghostscript bug: http://bugs.ghostscript.com/show_bug.cgi?id=690422 From here it looks like you might be able to get it with gs after all. Good research Anthony. That bug describes my situation exactly. The only thing is that I didn't know what the hell a portfolio PDF was until now. Unfortunately, the gs ports is version 8.63 (released 2008-08-01). This bug report/fix happened in April 2009. Shit, now Mr. Schroder is going to be on my ass about patches again. :-P kili@ posted a ghostscript update to ports@ in October IIRC, you may consult the archives. cheers, Sebastian
Re: How to open PDF that requires Adobe 9
On Sat, Dec 04, 2010 at 06:28:04PM -0700, Clint Pachl wrote: When I open [the UPS developer's guide] with xpdf(1) I get a [message] to download the the latest Adobe crapware to view it. This is cheating, but have you tried throwing it into Google docs? Joachim
Re: How to open PDF that requires Adobe 9
Joachim Schipper wrote: On Sat, Dec 04, 2010 at 06:28:04PM -0700, Clint Pachl wrote: When I open [the UPS developer's guide] with xpdf(1) I get a [message] to download the the latest Adobe crapware to view it. This is cheating, but have you tried throwing it into Google docs? Joachim Damn Joachim, nice cheat! I can't believe I didn't think of giving this a try. I was hopeful it would work. Unfortunately, I get the same error: For the best experience, open this PDF portfolio in Acrobat 9 or Adobe Reader 9, or later. I'd also like to mention I tried the pdftops and pdf2ps commands without success. Still get a single page PDF stating the above message. I guess it has to do with this PDF being a portfolio, like Anthony Bentley mentioned. Thanks, Clint
Re: How to open PDF that requires Adobe 9
I would be surprised if okular didn't open it. (okular being the KDE viewer) On 7 December 2010 10:42, Clint Pachl pa...@ecentryx.com wrote: Joachim Schipper wrote: On Sat, Dec 04, 2010 at 06:28:04PM -0700, Clint Pachl wrote: When I open [the UPS developer's guide] with xpdf(1) I get a [message] to download the the latest Adobe crapware to view it. This is cheating, but have you tried throwing it into Google docs? B B B B B B B B Joachim Damn Joachim, nice cheat! I can't believe I didn't think of giving this a try. I was hopeful it would work. Unfortunately, I get the same error: For the best experience, open this PDF portfolio in Acrobat 9 or Adobe Reader 9, or later. I'd also like to mention I tried the pdftops and pdf2ps commands without success. Still get a single page PDF stating the above message. I guess it has to do with this PDF being a portfolio, like Anthony Bentley mentioned. Thanks, Clint
Re: How to open PDF that requires Adobe 9
This happens when there are multiple PDFs embedded in a single PDF file. I remember reading a Ghostscript bug about this (could probably find it again if I had the exact error message), but unfortunately Mupdf still doesn't support it. Here is the Ghostscript bug: http://bugs.ghostscript.com/show_bug.cgi?id=690422 From here it looks like you might be able to get it with gs after all. This forum thread claims that Okular can view PDF portfolios as well: http://www.linuxquestions.org/questions/linux-software-2/pdf-portfolio-833748/ -- Anthony J. Bentley
Re: How to open PDF that requires Adobe 9
Joel Wiramu Pauling wrote: I would be surprised if okular didn't open it. (okular being the KDE viewer) I don't have KDE so I can't test. But I did find this link: http://forum.kde.org/viewtopic.php?f=20t=91242 It looks like portfolio PDFs are not supported, although someone there mentions a possible hack. okular apparently uses poppler as the backend. Poppler is a fork of xpdf-3.0, so we're back to square one.
Re: How to open PDF that requires Adobe 9
2010/12/6 Clint Pachl pa...@ecentryx.com: mentions a possible hack. okular apparently uses poppler as the backend. Poppler is a fork of xpdf-3.0, so we're back to square one. To quote the mailing list motto: Stop whining. Where's the patch? ;-} I can find no bug report in the podofo bugzilla. Best Martin
Re: How to open PDF that requires Adobe 9
On 6 December 2010 22:42, Clint Pachl pa...@ecentryx.com wrote: Still get a single page PDF stating the above message. I guess it has to do with this PDF being a portfolio, like Anthony Bentley mentioned. How are the constituent PDFs stored in the portfolio PDF? Unencrypted? Would it be possible to simply use file carving http://www.forensicswiki.org/wiki/File_Carving to extract them? There are unix file carving programs such as scalpel or foremost, but I don't think there is an OpenBSD port. One can try to do things manually with a hex editor of course. Does anyone have a link to a copy of the OP's original offending PDF, so I could try to poke it in this way? (I'm not gonna register w/ UPS just to see that guide.) NB: When googling for the guide, I found this: http://aricmackey.com/2008/04/fail-ups-developers-guide/ Not sure if it still applies. PS I just did some groping around inside some other portfolio PDF file, but it doesn't seem to be just simple concatenation.
Re: How to open PDF that requires Adobe 9
ropers wrote: On 6 December 2010 22:42, Clint Pachlpa...@ecentryx.com wrote: Still get a single page PDF stating the above message. I guess it has to do with this PDF being a portfolio, like Anthony Bentley mentioned. How are the constituent PDFs stored in the portfolio PDF? Unencrypted? pdfinfo says they are encrypted, although it is probably only reporting on the container file. Does anyone have a link to a copy of the OP's original offending PDF, so I could try to poke it in this way? (I'm not gonna register w/ UPS just to see that guide.) I posted one here for you to play with: http://pachl.us/ups.pdf Thanks, Clint
Re: How to open PDF that requires Adobe 9
Anthony Bentley wrote: This happens when there are multiple PDFs embedded in a single PDF file. I remember reading a Ghostscript bug about this (could probably find it again if I had the exact error message), but unfortunately Mupdf still doesn't support it. Here is the Ghostscript bug: http://bugs.ghostscript.com/show_bug.cgi?id=690422 From here it looks like you might be able to get it with gs after all. Good research Anthony. That bug describes my situation exactly. The only thing is that I didn't know what the hell a portfolio PDF was until now. Unfortunately, the gs ports is version 8.63 (released 2008-08-01). This bug report/fix happened in April 2009. Shit, now Mr. Schroder is going to be on my ass about patches again. :-P
Re: How to open PDF that requires Adobe 9
UPS is so annoying. The UPS developer's guide is in a 9MB PDF file. When I open it with xpdf(1) I get a (1) page PDF that states I need to download the the latest Adobe crapware to view it. How can I get around this? Why does xpdf even abide? I tried the following gs(1) command hoping it would convert it, but failed with an unrecoverable error (I can paste the error output here if someone thinks it will be helpful): gs -dNOPAUSE -dSAFER -dBATCH -sDEVICE=pdfwrite -sOutputFile=foo.pdf guide.pdf I also tried without the options, NOPAUSE, etc. Any suggestions? This happens when there are multiple PDFs embedded in a single PDF file. I remember reading a Ghostscript bug about this (could probably find it again if I had the exact error message), but unfortunately Mupdf still doesn't support it. Standard Adobe Reader lets you view but not extract, even. I had to go to a computer lab and use Acrobat on a Mac to pull out the individual files. It's probably not a hard problem to solve, but I don't know of any open-source programs that do this yet. -- Anthony J. Bentley b
Re: How to open PDF that requires Adobe 9
Hi, Why are you using xpdf? it's so old and crummy :-). print/epdfview, which uses the poppler library. textproc/mupdf, independent renderer, pretty good. -Bryan.
Re: How to open PDF that requires Adobe 9
On Sat, Dec 4, 2010 at 6:17 PM, Brynet bry...@gmail.com wrote: Hi, Why are you using xpdf? it's so old and crummy :-) Not addressed to me, but my opinions below. print/epdfview, which uses the poppler library. I haven't tried this, but I'm not a fan of GTK apps. most are fugly and clunky. textproc/mupdf, independent renderer, pretty good. i have pdfs that mupdf doesn't display properly. --patrick
Re: How to open PDF that requires Adobe 9
On Sat, Dec 4, 2010 at 8:17 PM, Brynet bry...@gmail.com wrote: Hi, Why are you using xpdf? it's so old and crummy :-). print/epdfview, which uses the poppler library. textproc/mupdf, independent renderer, pretty good. -Bryan. There is also textproc/zathura.
Re: How to open PDF that requires Adobe 9
Brynet wrote: Hi, Why are you using xpdf? it's so old and crummy :-). print/epdfview, which uses the poppler library. textproc/mupdf, independent renderer, pretty good. -Bryan. All I can say is that I use cwm and don't like interfaces, GTK, gnome, or KDE. I highly agree with Patrick.
Re: How to open PDF that requires Adobe 9
On 12/04/10 23:09, Clint Pachl wrote: All I can say is that I use cwm and don't like interfaces, GTK, gnome, or KDE. I highly agree with Patrick. I also use cwm, but that doesn't means I completely avoid applications using GTK+ or even Qt, there aren't a whole lot of programs using xlib or xcb directly. You just asked for a way to display your files, my apologies for suggesting that you step outside of your comfort zone. ;-) Good luck, -Bryan.
Re: How to open PDF that requires Adobe 9
On Sat, 4 Dec 2010, Abel Abraham Camarillo Ojeda wrote: On Sat, Dec 4, 2010 at 8:17 PM, Brynet bry...@gmail.com wrote: Hi, Why are you using xpdf? it's so old and crummy :-). print/epdfview, which uses the poppler library. textproc/mupdf, independent renderer, pretty good. -Bryan. There is also textproc/zathura. zathura is really cool! Didn't know about it. But the default key bindings are really weird. I did tried many in the past, but had always to go back to acroread.
Re: How to open PDF that requires Adobe 9
On 2010-12-05, Brynet bry...@gmail.com wrote: Hi, Why are you using xpdf? it's so old and crummy :-). print/epdfview, which uses the poppler library. AFAIK the poppler library is based on xpdf code so the result would be about the same. Best regards, Jona -- Worse is better Richard P. Gabriel