views:

13

answers:

1

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 .

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