How to print a PDF from the browser

前端 未结 7 1537
天涯浪人
天涯浪人 2020-11-28 07:53

In a Web application, is it possible to force a PDF file to be printed on the client? If the browser is configured to open the PDF inside the window, I guess that calling wi

相关标签:
7条回答
  • 2020-11-28 08:23

    you can set a http header to application/pdf and then force a new window open with javascript and print that way. but who would really do that? i mean come on now.

    0 讨论(0)
提交回复
热议问题