Looking for a web pdf viewer, not the google document viewer

PDF is a page format and it doesn't convert to HTML that nicely. If you want to preserve the look of the PDF file 100%, convert to an image. You can convert to a lower res image to dissuade users to print your pdf. Also, you can put a watermark on the image with "CONFIDENTIAL" or "DO NOT COPY" with imagemagick: http://www.imagemagick.org/script/composite.php

Use ghostscript to convert your PDF to an image:

gs -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 -dEPSCrop -sOutputFile=$FILE.png $FILE.pdf

Or ImageMagick:

convert -density 300 $FILE.pdf $FILE.png

Source: http://hublog.hubmed.org/archives/001875.html


Found a great solution with FlexPaper http://flexpaper.devaldi.com/

Doesn't support all document types, only pdfs for now, but that does the trick for me