Print Dialog

  • Thread starter Thread starter Jon Vaughan
  • Start date Start date
J

Jon Vaughan

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
 
Hi,

The printdocuments printcontroller display that window. Try
this

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

http://msdn.microsoft.com/library/d...ingprintdocumentclassprintcontrollertopic.asp


Ken
------------------

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
 
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
 
Hi,

That will prevent it from showing up.

Ken
-------------------
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top