Viewing PDF Documents

mike-h30 wrote on Tuesday, March 29, 2011:

Are PDF documents no longer going to be viewable inline?  I have tested OpenEMR 4.0 with Firefox 4 on OpenSuse 11.4 and OSX.  The PDF documents automatically download for viewing on both operating systems.

mukoya wrote on Tuesday, March 29, 2011:

My uploaded pdfs are being viewed online without need to download. This if so for both the build-in documents on the patient summary page and the newly fixed “scanned notes” encounter form. Win 7, xampp 1.7.3, firefox 3.6.

mukoya.

mike-h30 wrote on Tuesday, March 29, 2011:

Hi Mukoya,

I haven’t tried Win7 yet.  But I am getting documents to view without downloading on Safari and Chrome on OSX.  On OpenSUSE 11.4, after I install Mozplugger, PDF’s will view without downloading in Firefox 4. This is the first time I have tried Chrome since the beta a very long time ago.  I am not sure if its just me, but OpenEMR 4.0 seems lightning fast on Chrome.

-Mike

tmccormi wrote on Tuesday, March 29, 2011:

There are two place documents are viewed
1) The Documents management tree, this uses your browses PDF plugin configuration, which if missing or mis-configured will default to downloading.
2) The patient ‘Reports’ page, this one uses Imagemagick to convert the PDF to jpg first then view it natively.

I think (down the road) we should use the imagemagick model in both places.
-Tony

mike-h30 wrote on Tuesday, March 29, 2011:

Thanks Tony.  I like the ImageMagick model too.  We use Avantfax as front end to our Hylafax server and previewing PDF faxes is a non issue across browsers due to ImageMagick.

-Mike