Click to See Complete Forum and Search --> : Changing a print driver setting in .NET?


Armantrout
March 25th, 2003, 01:02 AM
Hello,

Using VB.NET or C#, how can I programmatically change the current page length setting in a print driver?

I need to change the actual setting in the printer preferences, as the typical .NET PrinterSettings and DefaultPageSettings options will not work for this application. I assume that I’ll need to go through the Windows API or use the DevMode structure, but there is little to no documentation that I could find about this as it is done in .NET.

Any and all tips will be much appreciated.

Regards,

--Josh