Click here to Skip to main content
15,905,776 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How can I set the number of copies manually when I'm going to print, because I'm not used the printdialog code.
Posted

1 solution

 
Share this answer
 
Comments
Member 10332274 26-Jan-14 20:16pm    
But I'm using a numericUpDown command. How can I apply that codes to that command?
Kornfeld Eliyahu Peter 27-Jan-14 2:33am    
Do you mean NumericUpDown control? Catch the change event of it and update the number of copies you want to print...
Member 10332274 27-Jan-14 7:05am    
Yes. That's I want to know
Kornfeld Eliyahu Peter 27-Jan-14 7:08am    
Use NumericUpDown.ValueChanged event - http://msdn.microsoft.com/en-us/library/system.windows.forms.numericupdown.valuechanged(v=vs.110).aspx.
Inside the event handler set PrinterSettings.Copies to the new value...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900