tharris Posted July 11, 2008 Share Posted July 11, 2008 Could someone please look at this line of code see if they see the error. I have verified the script is gathering all the required information but when I try to pass it to printui in the script it gives me an error that either the operation can not be completed or that it can't find a suitable driver. If I run the command manually and use the same information it is getting form the variables it works fine. RunWait(@ComSpec & " /c " & 'rundll32 printui.dll,PrintUIEntry /if /b "' & $Name & '" /f "' & $PrinterDriver & '" /r "' & "IP_" & $IP & '" /m "' & $Model & '"', "",@SW_HIDE) 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