hispeed_mike Posted July 3, 2007 Share Posted July 3, 2007 Hi, Here is the script #include "Process.au3" $comm = _RunDOS ("rundll32 printui.dll,PrintUIEntry /p /n'Win2PDF'") the line needs to be like this at command prompt rundll32 printui.dll,PrintUIEntry /p /n"Win2PDF" how do I write the quotes around the printer name??????? to get this to work????? Cheers Mike Link to comment Share on other sites More sharing options...
MHz Posted July 3, 2007 Share Posted July 3, 2007 Try this. Ya know that @ComSpec does not like single quotes so do not pass them. $comm = _RunDOS ('rundll32 printui.dll,PrintUIEntry /p /n"Win2PDF"') Link to comment Share on other sites More sharing options...
MisterBates Posted July 3, 2007 Share Posted July 3, 2007 Try this. Ya know that @ComSpec does not like single quotes so do not pass them. $comm = _RunDOS ('rundll32 printui.dll,PrintUIEntry /p /n"Win2PDF"')oÝ÷ Ûú®¢×®Øb±«¢+ØÀÌØí½µ´ô}IÕ¹=L ÅÕ½ÐíÉÕ¹±°ÌÈÁÉ¥¹ÑÕ¤¹±°±AÉ¥¹ÑU%¹ÑÉä½À½¸ÅÕ½ÐìÅÕ½Ðí]¥¸ÉAÅÕ½ÐìÅÕ½ÐìÅÕ½Ðì [u]MisterBates[/u]_____________________________________________________Suspend/Resume Windows ScreensaverWatchWindows - Window watcher/loggerUDF: Click systray menu/submenu itemsUDF: Outlook Express Folder/Message handling (+ example code)HowTo: Multiple icons in one compiled script 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