Rayfloyd
Rayfloyd

Reputation: 273

Use Adobe reader instead of chrome pdf viewer to display a pdf

I'm outputting a pdf which has been made with scribus, and in all browsers except for chrome it outputs fine, however with chrome the letters are cut off and lower than usual. I found that disabling the chrome pdf viewer fixes the issue locally. But what about users who do not have it disabled? Is there some way I can make adobe reader show it instead of the chrome pdf viewer in my code?

Any help is appreciated,

Thanks

Edit: I can't make the user download the pdf as it is somewhat a preview before they send it in.

Upvotes: 2

Views: 1475

Answers (2)

Rayfloyd
Rayfloyd

Reputation: 273

I ended up flattening the pdf using the flatten option, it unified the result accross all browsers.

Upvotes: 0

Richard
Richard

Reputation: 30618

One option would be to use a Content-Disposition header to force the PDF to download as an attachment. When the user clicked on the downloaded file, it would then open in their registered PDF viewer rather than in Chrome.

Upvotes: 1

Related Questions