PrintUI.DLL: Change printer port?

  • Thread starter Michael Jennings
  • Start date
M

Michael Jennings

I have seen this article:
http://support.microsoft.com/?kbid=314486

Is it possible in Windows XP, on a peer-to-peer network, to change
the printer port by running some form of this command:

Usage: rundll32 printui.dll,PrintUIEntry [options] [@commandfile]

Could you give me an exact form of the command to change the printer port?

When I try it, I get an error message:

rundll32 printui.dll,PrintUIEntry /r "LPT1:" /n "Star SP317"

Error message: Operation could not be completed.

I need to run this command:

mode LPT1:=COM2:

It cannot run while the port is being held by a printer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top