Why won't rundll batch file command delete printers?

G

Guest

I've been testing out the following line in a batch file on a Windows XP
machine in an attempt to delete a printer from the comptuer:

rundll32 printui.dll,PrintUIEntry /dn /n\\computer8\NEWSLASER2

There is no doubt whatsoever that the computer name and the share name are
correct, but this always generates the following error:

"Printer connection cannot be removed. Either the printer name was typed
incorrectly, or the specified printer has lost its connection to the server.
For more information, click Help."

Of course, the help doesn't have anything on the subject, and I know the
printer name is correctly entered. Also, the printer seems to be connected
to the server. (I don't even know why it should care about the connection,
just remove the printer from this computer's listings).

The computer which is sharing the printer is a Windows 95 machine. I'm also
having the same issue on two Windows 98 SE machines which are both sharing a
printer. However, I can successfully delete, using this method, printers
which are connection to our Windows 2000 Server print server.

Any ideas why this happens, and what I might do to correct it?

Thanks

Pat Furrie
WESH-TV, Orlando
 
A

Alan Morris

"connections" to Win98, Unix Samba, and Novell shared printers are actually
local printers.
 

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