Guest Prabu Posted October 12, 2007 Posted October 12, 2007 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.
Recommended Posts