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

Re: Bug in PrinterSettingclass??? by Gabriele

Gabriele
Thu Nov 06 07:27:10 CST 2003

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



Re: Bug in PrinterSettingclass??? by Babz

Babz
Thu Nov 06 10:43:35 CST 2003

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

"Gabriele G. Ponti" <ggponti.at.hotmail.com> wrote in message
news:e$tkymGpDHA.3732@tk2msftngp13.phx.gbl...
> 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
>
>



Re: Bug in PrinterSettingclass??? by Gabriele

Gabriele
Thu Nov 06 12:28:32 CST 2003

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



Re: Bug in PrinterSettingclass??? by Babz

Babz
Thu Nov 06 22:31:40 CST 2003

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

Thax

Nanda

"Gabriele G. Ponti" <ggponti.at.hotmail.com> wrote in message
news:uVssKPJpDHA.2592@TK2MSFTNGP10.phx.gbl...
> 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
>
>