troubleshooting Question

VB.Net Change Default Printer Settings by code

Avatar of PNRT
PNRT asked on
Visual Basic.NET.NET Programming
31 Comments1 Solution5285 ViewsLast Modified:
Hi Experts.    I just deleted a question that I got no response to so I am reposting it in much simpler terms.
When I go in to the properties of my Windows default printer, I can change the default printer preferences such as landscape/portrait etc.

I need to be able to do this through my code.

Changing the print document or page settings is not sufficient.  I need to be able to change the actual default settings as though I had changed the physically.    I have tried many options but none seem to have any effect

Any help appreciated.
ASKER CERTIFIED SOLUTION
Karrtik Iyer
Software Architect

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 31 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 31 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros