Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Thu Dec 21, 2023 7:54 am

Do you have a product similar to "Microsoft Print to PDF"?
A virtual printer that could be installed with my product on end users computers?

vjedlicka
 
Posts: 3
Joined: Fri Aug 18, 2023 4:54 pm

Thu Dec 21, 2023 8:37 am

Hello,

Thank you for your inquiry.
We regret to inform you that our product does not include a printer. However, I would like to mention that our product supports sending document content to a designated printer for printing purposes.
Please find below an example code snippet that demonstrates how you can achieve this functionality:
Code: Select all
// Create a new PdfDocument object to work with PDF files
PdfDocument pdfDocument = new PdfDocument();
// Load the PDF document from the specified file path
pdfDocument.LoadFromFile("input.pdf");
// Set the printer name for printing to "Microsoft Print to PDF"
pdfDocument.PrintSettings.PrinterName = "Microsoft Print to PDF";
// Print the document using the selected printer
pdfDocument.Print();
// Dispose of system resources associated with the PdfDocument object
pdfDocument.Dispose();

Sincerely,
Annika
E-iceblue support team
User avatar

Annika.Zhou
 
Posts: 1657
Joined: Wed Apr 07, 2021 2:50 am

Return to Spire.PDF

cron