tobias7 Posted March 6, 2008 Posted March 6, 2008 I have a program that I'm making in AutoIt where I need to print pictures out. I need this program to be very compatible(needs to work with Vista and preferably 64 bit systems), and I need to be able to print different pictures without calling a dialog box more than once. I have some experience with DllCalls, so I started looking in MSDN. The functions I found (StartDoc, StartPage, EndPage, EndDoc) require a handle to a printer's device context. In order to get that, I need to call PrintDlgEx, but coding up this function in AutoIt looks way too complex for my skills. Could someone either code up a function that returns a handle to a printer's device context or point me in another direction? Thanks very much.
weaponx Posted March 6, 2008 Posted March 6, 2008 You could try using:RUNDLL32 PRINTUI.DLL,PrintUIEntry /?See here:http://www.robvanderwoude.com/2kprintcontrol.html
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now