Sign in to follow this  
Followers 0
Death259

Printing In AutoIt

3 posts in this topic

#1 ·  Posted (edited)

I looked in the faq, and searched around the forums some, but i was unable to find the solution to my problem.

In my program i have an input box that i want to print the contents of. By print i mean i want to print to the default printer. or even better if i could bring up the usual dialog box that comes up when you normally print things in say microsoft word. all that aside, i figure the easiest thing would probably be just to print to the default printer. as far as i know there isn't a simple method for this. So i was just wondering how i would go about this?

I tried sending it to notepad and then sending a Ctrl P but that didn't work for me, which means, i probably just had it all wrong.

When notepad would open it would freeze Program i had made.

Thanks in Advance.

--Death259

Edited by Death259

Share this post


Link to post
Share on other sites



If you can write the contents of your input box ro a file then you can use _FilePrint



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

If you can write the contents of your input box ro a file then you can use _FilePrint

awesome, that works, cause i have it create a text file based on the input box, so that works perfectly thanks man.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0