Print multiple copies of the same document
-
I wrote a sample C# code for printing. I want to print multiple copies of the same document, where the num of copies are to be specified by user.I used below code: printDocument1.PrinterSettings.Copies = 5; But doesn't work, Please help me.
Best Regards, Reza Shojaee
-
I wrote a sample C# code for printing. I want to print multiple copies of the same document, where the num of copies are to be specified by user.I used below code: printDocument1.PrinterSettings.Copies = 5; But doesn't work, Please help me.
Best Regards, Reza Shojaee
Reza Shojaee wrote:
But doesn't work, Please help me.
Have you checked the
MaximumCopies
[^] property? Not all printers support printing multiple copies according to the documentation[^];MSDN states:
Not all printers support printing multiple copes. You can use the MaximumCopies property to determine the maximum number of copies the printer supports. If the number of copies is set higher than the maximum copies supported by the printer, only the maximum number of copies will be printed, and no exception will occur.
I are Troll :suss: