Bug in PrinterSettingclass???

  • Thread starter Thread starter Babz
  • Start date Start date
B

Babz

Hi
Using the PrinterSettings class I want to get the No. Of copies of the
document to be printed. But it is always giving 1 as the copies to be
printed. I am using following code

dgPrintDialog.PrinterSettings.Copies = 2
dgPrintDialog.ShowDialog()
NoOfCopies= dgPrintDialog.PrinterSettings.Copies

What is wrong with this code. Most of the people have raised the same issue
and told that this is bug. If it is a bug is there any way to get the NoOf
copies?

Need Help

Nanda
 
Hi,

There's nothing wrong with your code, it's working fine for me with the .NET
Framework 1.1

What version of the framework are you using?

Gabriele
 
Even for me the same error is there. I don't remeber the version of .net
frame work. but are you sure the bug has been solved in 1.1 version

Kondal
 
I don't know if this is a well know bugs that has been fixed on version 1.1
or something else, but it's working fine here. Unless the problem is
somewhere else, for example the printer driver.

Do you have the .NET Framework 1.1 installed? If you want I can send the
executable to you and you can see if it works or not.

Gabriele
 
Thanx Gabriele
Actually we are using .net version 1.0.3. I will try with 1.1 Version

Thax

Nanda
 
Back
Top