Solved

Toggle Print to File on Print Driver C#

Posted on 2009-07-13
2
471 Views
Last Modified: 2013-12-01
I am trying to automate a 3rd party application I  need to be able to toggle the print to file option of my printer driver on/off.  Since I am automating a 3rd party application, I do not have access to the PrintDocument which has this ability.

How would I go about doing this?
0
Comment
Question by:searchei68
2 Comments
 
LVL 21

Accepted Solution

by:
MogalManic earned 500 total points
ID: 24853258
You could use the SendKeys API and control the 3rd party Dialog box:
  http://www.codeproject.com/KB/cs/SendKeys.aspx
0
 

Author Closing Comment

by:searchei68
ID: 31602859
Thanks, I actually just ran across the same article as I received notification of you email.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

This is about my first experience with programming Arduino.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now