Click here to Skip to main content
12,445,470 members (60,624 online)
Rate this:
 
Please Sign up or sign in to vote.
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 13-May-12 23:01pm
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

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Hi,

Set the PrintController of the PrintDocument to:
PrintController = New StandardPrintController
This will hide the printing process dialog.

Regards,


Daniel.
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160811.3 | Last Updated 6 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100