3D FlipBook - Print Button Not Working Question

s***e@biomedx.com
2020-12-17
2020-12-18

Hi,

I open all PDF docs on a website using the lightbox.

I have cmdPrint enabled auto (yes) and cmdSave not checked in settings.

This is the typical code on a page: [3d-flip-book mode="link-lightbox" pdf="https://website.com/folder/doc.pdf"]Doc-Name[/3d-flip-book]

In Firefox, clicking the print button opens a new tab and puts the document in the Firefox pdf reader.

Nothing happens when clicking the print button in Chrome, Opera or Edge.

Any ideas?

Replies

s***e@biomedx.com
2020-12-18
2020-12-18

I was running v 1.10.11, saw an update come through this morning and updated it, but PDFs would not open, it would just spin. Then I thought it needed the WP upgrade to 5.6, did that, but still no PDF would open. Down graded to v 1.10.11 and it now loads PDFs. For reference if it matters, I am getting PDF files from another site directory with this code in the htaccess:

<IfModule mod_headers.c>
<Files ~ ".*\.pdf$">
Header add Access-Control-Allow-Origin "https://mywebsite.com"
Header add Access-Control-Allow-Methods "GET"
Header add Access-Control-Allow-Headers: "Range"
Header add Access-Control-Expose-Headers: "Accept-Ranges, Content-Encoding, Content-Length, Content-Range"
</Files>
</IfModule>
a***r@3dflipbook.net
2020-12-18
2020-12-18

To run print dialog it takes some time, check https://3dflipbook.net/simple-tag-pdf . Write a link to your website. Did you clear the browser cache after updating? - it can be the reason.

s***e@biomedx.com
2020-12-18
2020-12-19

I discovered the print button does not work when the PDF file comes from a 2nd website. I am using the htaccess info as referenced above. Maybe you know of something else that needs to be added there?

Log In to leave a comment