Reputation: 388
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.
Upvotes: 3
Views: 1234
Reputation: 388
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 :
Upvotes: 1