iTextSharp PDF printing

后端 未结 2 1205
感情败类
感情败类 2021-01-06 08:32

I\'m trying to create a method that will send a PDF file directly to my printer (causing the print dialog to appear).

Below is the code I\'ve been working on - most

2条回答
  •  梦谈多话
    2021-01-06 09:18

    You want to add Javascript to the PDF to open the print dialog, not the web page (unless you really do want the web page print dialog, not the PDF print dialog). I have done this before, but not with iTextSharp; but a quick Google search should tell you how to add Javascript using iTextSharp to open the print dialog.

提交回复
热议问题