Print multiple PDF files without displaying the Printer dialog box

I want to create a method in an ASP.Net + C # web application to enter the path of PDF files as input, and then print it all without showing the Select Printer dialog box, so it prints using the default printer.

+3
source share
2 answers

The best you can do is combine the PDF files into one file and then print it, showing the printer dialog once at the beginning of the process. There are many commercial .NET PDF libraries that have this functionality.

Disclaimer: I work at Atalasoft. Here is the code for this with DotImage

PdfDocument.Combine("Output.pdf", "doc1.pdf", "doc2.pdf", "doc3.pdf");

http://www.atalasoft.com/products/dotimage/white-papers/building-pdf-documents-with-dotimage

+3

- . . PDF .

+1

Source: https://habr.com/ru/post/1783617/


All Articles