11

I am displaying some PDF documents in my web site like this :

<object id="pdfviewer1" data='b.pdf#page=1&toolbar=0&statusbar=0&messages=0&navpanes=0&scrollbar=0' 
        type='application/pdf' 
        width='500px' 
        height='350px'>
    <p>It appears you don't have a PDF plugin for this browser.</p>
</object>

Because of native PDF reader on Chrome, all openParams options are ignored because they are specifics for Adobe Reader.

Is it possible to specify PDF open parameters for Chrome native PDF reader?

sdespont
  • 13,915
  • 9
  • 56
  • 97
  • possible duplicate of [How to specify parameters to google chrome adobe pdf viewer?](http://stackoverflow.com/questions/7126089/how-to-specify-parameters-to-google-chrome-adobe-pdf-viewer) – BentOnCoding Feb 04 '13 at 14:59
  • 1
    http://stackoverflow.com/questions/7126089/how-to-specify-parameters-to-google-chrome-adobe-pdf-viewer/7154043#comment20538180_7154043 – BentOnCoding Feb 04 '13 at 14:59

1 Answers1

8

I am just quoting @Robotsushi answer he has written in his topic for closing the question :

After checking various chrome bug reports, I can confirm that google chrome ignores the defualt functionality of adobe pdf viewer and at the time of this answer there is no way to passing parameters like zoom to the pdf viewer in chrome. I hope this saves someone else some time.

EDIT: See the quoted answer for updated information. As of Dec 2017 Chromium added support for view, zoom, page, toolbar and nameddest and later made it into Chrome.

DungSaga
  • 151
  • 1
  • 5
sdespont
  • 13,915
  • 9
  • 56
  • 97