Jump to content
Sign in to follow this  

how to print a gui

Recommended Posts

the gui changes - various graphics / labels / ...

now i want a function to print itself.

$contextmenu = GUICtrlCreateContextMenu ()

$printitem = GUICtrlCreateMenuitem ("Print", $contextmenu)

maybe i have to make a loop to read the color of each pixel and create a bitmap?

Share this post

Link to post
Share on other sites

i start my autoit gui

then i push some buttons on it

the gui creates some labels and graphics

i want to get it now to a printer

at this time i press "AltGr+Print" on my keyboard - then insert into paint.exe and send it to my printer.


That will do a print screen of the active window. Now just need to figure out how to send what is in the clipboard to the printer. Check out http://msdn.microsoft.com/library/default....ntspol_2ik4.asp

And here http://www.autoitscript.com/forum/index.ph...mp;hl=printing#

Edited by powaking

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  

  • Create New...