Im having trouble deleting a network printer on a win2k w/station


Paul Howes

I'm having trouble deleting a network printer on a win2k w/station. I'm
guessing the printer was set-up using the rundll32 printui.dll,PrintUIEntry
command. Trouble is I don't know how to delete it, as I don't know which
shared network printer it was set-up from.

The way I normally set my printers up is to type the following line:
rundll32 printui.dll,PrintUIEntry /y /ga
/n\\printservername\printersharename. Then for example my printer would
then show up as 'DeskJet on workstation1'. I then know to remove this
printer I change the /ga to /gd.

However the printers that are on the workstations at the moment are shown as
for example 'HP DeskJet 890c Series 1 on workstation1', and I don't know how
to remove these as this isn't the share name.

Hope this makes sense

Paul Baker


You can remove your connection to the network printer simply by using

Do you mean programmatically? You can use the same name as you did to add
it, of the form \\server\share. There are actually two acceptable names of
this form. One uses the name of the share (eg. \\workstation1\DeskJet) and
one uses the name of the printer as it appears locally to the server (eg.
\\workstation1\HP Deskjet 890c Series 1). The '... on ...' name is just for
display and is only understood by the shell.

Paul Baker

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