Posted October 12, 200717 yr I am trying to share a printer from command line using following command rundll32 printui.dll,PrintUIEntry /Xs /n "HP Officejet 6200 series" "ShareName" "HP Officejet 6200 series-Share" attributes +Shared The above command is working fine in XP. If I run this same command in "Windows XP embedded", it shares the printer successfully but end up with a popup as "Operation Could not be completed" .Since I am executing this command from c# code, the executing is not moving to next line and application hangs up. The only difference I can see between two OS is, the "Windows XP embedded" has "printui.dll version 5.1.2600.1106" and "Windows XP" has version "5.1.2600.2180". Please help to resolve this issue.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.