Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

Customize printer button behaviors in built-in PDF viewer

  • 2 trả lời
  • 1 gặp vấn đề này
  • 156 lượt xem
  • Trả lời mới nhất được viết bởi jenkincs

more options

Hello, Is it possible to customize the printer button behaviors in built-in PDF viewer by using javascript or any other...? When user click view button on my page, my app will open the pdf file with watermark within built-in PDF viewer. When user click the printer button in built-in PDF viewer, I need to execute some code to get the unwatermark pdf file and print the pdf. Is it possible to do that? thanks for your help!!!!

Hello, Is it possible to customize the printer button behaviors in built-in PDF viewer by using javascript or any other...? When user click view button on my page, my app will open the pdf file with watermark within built-in PDF viewer. When user click the printer button in built-in PDF viewer, I need to execute some code to get the unwatermark pdf file and print the pdf. Is it possible to do that? thanks for your help!!!!

Giải pháp được chọn

You can't modify the built-in PDF viewer, but you can install the web app version of the PDF viewer on your web server and modify it to your liking. Then you can serve PDFs through your viewer instead of directly to Firefox.

Đọc câu trả lời này trong ngữ cảnh 👍 1

Tất cả các câu trả lời (2)

more options

Giải pháp được chọn

You can't modify the built-in PDF viewer, but you can install the web app version of the PDF viewer on your web server and modify it to your liking. Then you can serve PDFs through your viewer instead of directly to Firefox.

more options

@jscher2000, Thank you very much for your reply! I will try it right now. Thanks!