Suppress print progress popup

Questions, comments and suggestions concerning VintaSoft PDF .NET Plug-in.

Moderator: Alex

Post Reply
IntegraHarlan
Posts: 84
Joined: Fri Jan 24, 2020 3:37 am

Suppress print progress popup

Post by IntegraHarlan »

Hi,
I am using the AnnotatedPdfPrintDocument class to print pdf documents.
I have the option to print with a print dialog or print without the dialog.
When I print with out the printDialog, I do not want to display the print progress status popup that displays the page being printed.
Is there a way to disable this pop from showing?
Thanks

Harlan
Alex
Site Admin
Posts: 2315
Joined: Thu Jul 10, 2008 2:21 pm

Re: Suppress print progress popup

Post by Alex »

Hi Harlan,

For suppressing the print progress popup you need to change the print controller in PDF print document:

Code: Select all

annotatedPdfPrintDocument.PrintController = new System.Drawing.Printing.StandardPrintController();
Best regards, Alexander
IntegraHarlan
Posts: 84
Joined: Fri Jan 24, 2020 3:37 am

Re: Suppress print progress popup

Post by IntegraHarlan »

That works
Thanks for the quick reply
Post Reply