Jump to content

Print Dialog

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
Saint

Saint

    Learning Programmer

  • Members
  • PipPipPip
  • 63 posts
I'm using C# to print some papers automatically for my work. I've designed everything and it worked fine. Most of my printers are networked printers and I noticed before that when I am not at work (where the network printers are) the print dialog takes forever to show up. Once I plugged in at work it was very quick.

Now, I am several states away from my networked printers but still on the same WAN. I've also added a printer that is across seas. My print dialog does not show up at all!!!! Anyone know how to resolve this problem?

Construction:

System.Windows.Forms.PrintDialog printDialog1 = new System.Windows.Forms.PrintDialog();


Loading:

if (printDialog1.ShowDialog() == DialogResult.OK)

{}


Hi >> Saint

#2
Guest_Jordan_*

Guest_Jordan_*
  • Guests
I have seen this happen before with the printDialog. In fact, when I was wireless and trying to us my application (with networked) printers it would not load the print dialog at all. I was, of course, using the .NET 1.0 and assumed this was fixed in .NET 2.0. Are you using 1.0 or 2.0?

To solve the problem, I simply plugged in. I'm not aware of any other methods as the people using my software was internal and I told them to not use wireless. It seems there would be a fix for this though because no other application has a lag time with a print-dialog. Maybe they are using a self-built dialog?

#3
Cosmet

Cosmet

    Learning Programmer

  • Members
  • PipPipPip
  • 58 posts
Everything looks fine in your code. I would check the connections to your printers because I know this dialog connects to each one before displaying.