In my project i have to print a liste of images files (.png) with differents settings, and i ca do it without problem using the native .Net System.Drawing.Printing.PrintDocument classe :
The only thing i am not able to do is to define the Stapling property ?? After spending a lot of time of searching, i am very dissapointed on how to do this :
But if the solution is to use the print ticket class, i 've two others questions :
Important constraint : there is no GUI (because the program prints a lot of files in batch mode), so the user cannot change interactivly the staple option.
Finally, after spending few more hours of search, i've found the right answer to get and set specific printer settings.
Thanks to this Good Article, i did understand that in order to get/set all the settings of a printer, i have to deal with the DevMode structure of the printer.
Drawbacks :
Benefits :
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With