Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

View PDFs inline in Camino on Intel Macs Web Browsers
As the PDF plugin is currently PowerPC only, it does not work on Intel Macs. The only workaround is to run the browser within Rosetta. For Safari and Firefox, this is not a huge problem as both are able to view inline PDFs (the first with its own engine, and both via Adobe Reader 8). Sadly, this doesn't work with Camino which is quite annoying.

As QuickTime is able view PDFs, I tried to change the MIME type settings in order to let the QuickTime plug-in handle PDF files. Sadly, the necessary setting in the QuickTime Preference Pane doesn't seem to stick, or Camino seems to ignore it.

I finally discovered (through the help of the Camino Mailing List) that Camino also stores this information in the file pluginreg.dat (to be found at ~/Library -> Application Support -> Camino). So if you add an entry which forwards PDFs to the QuickTime plug-in, you're finally able to view PDFs inline again.

The line has to be added to the end of the QuickTime Plug-in section, and looks like this:
nn:application/pdf:PDF image:pdf:$
Where nn is the next free number within this section. In my case, that was 62. You also have to increase the counter at the beginning of the section by one (in my case to 63, as the list starts with 0).

Sadly nothing is without disadvantages: You will only see the first page of the PDF, as the QuickTime controller is not shown, and zooming is not possible. Hopefully Adobe will include Camino support in future releases of Adobe Reader, or the PDF Browser Plug-in will be released as a Universal Binary.
    •    
  • Currently 2.83 / 5
  You rated: 4 / 5 (6 votes cast)
 
[21,280 views]  

View PDFs inline in Camino on Intel Macs | 16 comments | Create New Account
Click here to return to the 'View PDFs inline in Camino on Intel Macs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
View PDFs inline in Camino on Intel Macs
Authored by: sweek on Jan 10, '07 09:57:27AM

Are you sure Adobe Reader 8 works with Firefox on Intel Macs? I've tried it before and it didn't for me.



[ Reply to This | # ]
View PDFs inline in Camino on Intel Macs
Authored by: giulio on Jan 10, '07 10:34:17AM
I find this much nicer:
http://www.schubert-it.com/pluginpdf/

---
Freelance web development
WebVeteran.com

[ Reply to This | # ]

View PDFs inline in Camino on Intel Macs
Authored by: magir on Jan 10, '07 10:57:51AM

As written in the hint, the PDF plugin doesn't work on Intel Macs.



[ Reply to This | # ]
View PDFs inline in Camino on Intel Macs
Authored by: neilio on Jan 10, '07 11:29:29AM

The Schubert PDF plugin is PPC-only, so it's not an option.

Anyone know how to set this for Firefox? The plugin.dat file in the Firefox profile directory has completely different information in it.

---
Slumming at http://www.beatnikpad.com/



[ Reply to This | # ]
View PDFs inline in Camino on Intel Macs
Authored by: lari on Jan 10, '07 12:00:16PM

My pluginreg.dat was like the one in camino. FF2 that is. Don't know how FF1.5 version looks like though. But like Camino, FF only shows the first page and I can't find any controls to change the page. :(



[ Reply to This | # ]
View PDFs inline in Camino on Intel Macs
Authored by: ecco on Jan 10, '07 01:15:29PM

> You will only see the first page of the PDF

Sorry, but do you really find this tip useful in any way?



[ Reply to This | # ]
View PDFs inline in Camino on Intel Macs
Authored by: magir on Jan 11, '07 03:00:37AM

Your mileage may vary ;-). Sometimes the first page is sufficient, if someone else can convince the Quicktime plugin to show the controller, it would be possible to view the other pages as well.

I still hope that the PDF plugin will be ported to Intel, but I haven't received an answer from the author, yet.



[ Reply to This | # ]
Boys, I'm sorry, but Schubertit *does* work on intel
Authored by: Herve5 on Jan 11, '07 11:54:40AM

... at least on my mac :-)
Now maybe it's PPC code rerun through intel or whatever you want, but, well. Just works.



[ Reply to This | # ]
Boys, I'm sorry, but Schubertit *does* work on intel
Authored by: magir on Jan 11, '07 02:15:19PM

Are you sure, that you're running an Intel version of Camino? Please recheck that. If this is the case, this would be very strange.



[ Reply to This | # ]
Boys, I'm sorry, but Schubertit *does* work on intel
Authored by: frankxiv on Mar 14, '07 12:01:43AM

I guarantee that if you are running the Universal Binary version of an application, unless you force it to open using Rosetta that the Schubert IT plugin will not work. I just testing it both ways on my machine and it works when opening using Rosetta but not when opening as a native Intel application.

Frank



[ Reply to This | # ]
View PDFs inline in Camino on Intel Macs
Authored by: kamath on Apr 04, '08 12:06:41AM

This is equivalent to opening the Quicktime Pref Pane in System Preferences, clicking on the "Advanced" tab, clicking on the "MIME settings" button, expanding "Images - Still image files" group, and selecting "PDF image". At least in Camino 1.5.5, which (for me) was magically putting application/PDF back into the Camino plugins.dat file every time it launched. Unchecking this box allowed Camino to download PDFs once again. If only the PDF plugin from Adobe worked in Camino (at all, let alone as nicely as it does in Safari).



[ Reply to This | # ]
View PDFs inline in Camino on Intel Macs
Authored by: upstageleft on Apr 24, '08 10:42:35PM

Tried the original hint, but the pluginreg.dat file is regenerated and overwritten whenever the plugins are registered (either at application startup or when the javascript command to reload plugins is issued).

Tried the method using the QT settings in System Preferences, but the PDF MIME setting checkbox keeps reverting to unchecked for no apparent reason. Either way, I have been completely unable to display PDFs in Camino on my Macbook Pro running in native (vs. Rosetta) mode.



[ Reply to This | # ]
View PDFs inline in Camino on Intel Macs
Authored by: zankty on Jan 05, '09 08:56:23AM
If you are using Camino 2 you can do the following:

1. Download the pdf-plugin version 0.9 from http://code.google.com/p/firefox-mac-pdf/
2. Rename the downloaded file to "fx-quartz-pdf-0.9.zip" and extract it
3. Copy the file "pdfplugin.plugin" from the extracted folder to ~/Library/Internet Plug-Ins/

Note: I also tried versions 0.9.9.5 to 1.0.1, but was unable to get them to work.

[ Reply to This | # ]
View PDFs inline in Camino on Intel Macs
Authored by: zankty on Jan 05, '09 08:57:56AM
If you are using Camino 2 you can do the following:

1. Download the pdf-plugin version 0.9 from http://code.google.com/p/firefox-mac-pdf/
2. Rename the downloaded file to "fx-quartz-pdf-0.9.zip" and extract it
3. Copy the file "pdfplugin.plugin" from the extracted folder to ~/Library/Internet Plug-Ins/

Note: I also tried versions 0.9.9.5 to 1.0.1, but was unable to get them to work.

[ Reply to This | # ]
View PDFs inline in Camino on Intel Macs
Authored by: norz on Jan 27, '09 11:23:42AM

Tried with Camino 2.0b1 and it crashed on the two pdf files I tried to open... :(



[ Reply to This | # ]
View PDF File script by Lisa
Authored by: norz on Jan 27, '09 11:50:11AM
A nice workaround is this script that takes the url from the clipboard, downloads it (via curl), opens it and moves it to the trash:
http://homepage.mac.com/lthompson.22/applescript/forcamino.html

NB: works fine with a .jpg file too! :)

[ Reply to This | # ]