i use printer to print on some rows and columns pre made on papers so i want to control default printer settings to some settings programmatically using C# windows Applications some help me please . thanks in advance .
views:
13answers:
1
A:
You can use the PrinterSettings
class to change printer settings. You can find more information about that here.
If you need to set the default printer I don't know of any .Net way of doing it but you could call the SetDefaultPrinter
API function via PInvoke as described here.
ho1
2010-06-20 08:07:00