BlueLord Posted October 11, 2010 Share Posted October 11, 2010 Hy, I need for my script a way to use printer profile(you can see in pict about what i speak). I have searched the forum and i don't have any ideea if it's posible. Please give me some hint's. I attach my script until now Thank'sprt2.au3 Link to comment Share on other sites More sharing options...
wakillon Posted October 11, 2010 Share Posted October 11, 2010 Hy,I need for my script a way to use printer profile(you can see in pict about what i speak).I have searched the forum and i don't have any ideea if it's posible.Please give me some hint's. I attach my script until nowThank'sPerhaps this post can help you ? AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
wakillon Posted October 12, 2010 Share Posted October 12, 2010 I think this is the good one ! $_PrintSplit = StringSplit ( RegRead ( "HKCU\Software\Microsoft\Windows Nt\CurrentVersion\Windows", "Device" ), ',' ) RunWait ( 'rundll32 printui.dll,PrintUIEntry /e /n "' & $_PrintSplit[1] & '"' ) AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
BlueLord Posted October 12, 2010 Author Share Posted October 12, 2010 That is menu from picture, it's ok. What i need it's a way how to print a file calling this "profile". For example: I have a profile set for landscape and an another set for portrait and color. Let's say that i want to print a file via a function which call a certain printer with a specific profile (settings). It's posible Link to comment Share on other sites More sharing options...
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