By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,168 Members | 2,484 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,168 IT Pros & Developers. It's quick & easy.

Print Dialog

P: n/a
Hi,

I have written some code using the printdocument object, the code works fine
, but when the printer is printing an xp dialog box appears ( same one that
appears when you print in notepad ) stating what page number is printing. I
have looked at the PrintDocument to try and find a way of removing it in
code, but didnt see it....

if anyone knows how to do this in code or even as some form of windows
setting or tweak could they tell me please?

Thanks

Jon
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi,

The printdocuments printcontroller display that window. Try
this

PrintDocument1.PrintController = New
System.Drawing.Printing.StandardPrintController

http://msdn.microsoft.com/library/de...ollertopic.asp
Ken
------------------

"Jon Vaughan" <jo**********@hotmail.com> wrote in message
news:qV********************@fe07.news.easynews.com ...
Hi,

I have written some code using the printdocument object, the code works fine
, but when the printer is printing an xp dialog box appears ( same one that
appears when you print in notepad ) stating what page number is printing. I
have looked at the PrintDocument to try and find a way of removing it in
code, but didnt see it....

if anyone knows how to do this in code or even as some form of windows
setting or tweak could they tell me please?

Thanks

Jon

Nov 21 '05 #2

P: n/a
Hello,

Are we talking about the same dialog box ?
The one I mean is a small one that reads like :

PRINTING
Page X of Doc Y
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:uW**************@TK2MSFTNGP14.phx.gbl...
Hi,

The printdocuments printcontroller display that window. Try
this

PrintDocument1.PrintController = New
System.Drawing.Printing.StandardPrintController

http://msdn.microsoft.com/library/de...ollertopic.asp
Ken
------------------

"Jon Vaughan" <jo**********@hotmail.com> wrote in message
news:qV********************@fe07.news.easynews.com ...
Hi,

I have written some code using the printdocument object, the code works
fine
, but when the printer is printing an xp dialog box appears ( same one
that
appears when you print in notepad ) stating what page number is printing.
I
have looked at the PrintDocument to try and find a way of removing it in
code, but didnt see it....

if anyone knows how to do this in code or even as some form of windows
setting or tweak could they tell me please?

Thanks

Jon

Nov 21 '05 #3

P: n/a
Hi,

That will prevent it from showing up.

Ken
-------------------
"Jon Vaughan" <jo**********@hotmail.com> wrote in message
news:ZC********************@fe07.news.easynews.com ...
Hello,

Are we talking about the same dialog box ?
The one I mean is a small one that reads like :

PRINTING
Page X of Doc Y
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:uW**************@TK2MSFTNGP14.phx.gbl...
Hi,

The printdocuments printcontroller display that window. Try
this

PrintDocument1.PrintController = New
System.Drawing.Printing.StandardPrintController

http://msdn.microsoft.com/library/de...ollertopic.asp
Ken
------------------

"Jon Vaughan" <jo**********@hotmail.com> wrote in message
news:qV********************@fe07.news.easynews.com ...
Hi,

I have written some code using the printdocument object, the code works
fine
, but when the printer is printing an xp dialog box appears ( same one
that
appears when you print in notepad ) stating what page number is printing.
I
have looked at the PrintDocument to try and find a way of removing it in
code, but didnt see it....

if anyone knows how to do this in code or even as some form of windows
setting or tweak could they tell me please?

Thanks

Jon


Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.