Click here to Skip to main content
15,867,488 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello every one ,

I have created windows application that take some data from database and send it to the printer, the application has been set to full screen and in front of all other application, the problem is that when document sent to the printer small message box show up and saying ‘page 1 of document’. Please have a look at screen shot. I would like to disable this box from showing up either in the code or windows setting. Would you please give me your suggestion?

http://social.msdn.microsoft.com/Forums/getfile/105924[^]

Thanks in advance for the help.

Regards,
Posted
Comments
Zoltán Zörgő 14-May-12 15:16pm    
If this is part of the printer driver, you could try to find the window ba it's caption and send a a hiding message to it.
Take a look hre: http://www.go4expert.com/forums/showthread.php?t=973

1 solution

Hi,

Set the PrintController of the PrintDocument to:
VB
PrintController = New StandardPrintController

This will hide the printing process dialog.

Regards,


Daniel.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900