Where can I find the server name?

ry
7

I have set up a new printer - then uninstalled the old one.

Since the first installation was unsuccessful for whatever reason, I have now Following entries

Printer name Canon TR8500 series (copy 1)

Printer name Canon TR8500 series

Printer name Canon TR8500 series FAX (copy 1)

Printer name Canon TR8500 series FAX

Since I now have 15 printers to choose from in my printer menu, I would like to delete the double entries (… Copy 1).

That's why I switched to the command level.

C: \ Windows \ System32 \ Printing_Admin_Scripts \ de-DE> cscript prnmngr.vbs -l

At the command level, the entry for the printer I want to delete is shown as follows:

server name

Printer name Canon TR8500 series (copy 1)

share name

Driver name Canon TR8500 series

Port name USB002

comment

Location

Canon TR8500 series Print Processor

RAW data type

parameter

Attributes 3648

Priority 1

Default priority 0

Average pages per minute 0

Printer status idle

Extended printer status Unknown

Error status detected Unknown

Extended detected error status Unknown

The syntax that Microsoft gives me is

Examples:

cscript prnmngr.vbs -d -p "printer" -s server

Since the field "Server name" is empty for me, my question is what to enter in the argument "-s server".

I entered the following options without success:

cscript prnmngr.vbs -d -p Canon TR8500 series (Copy 1)

cscript prnmngr.vbs -d -p Canon TR8500 series (copy 1) -s

cscript prnmngr.vbs -d -p Canon TR8500 series (copy 1) -s server

Obviously it's because of the missing server name.

Now I have tried to find it with me - so far without success.

At Microsoft there was a hint to search via the Explorer and "Network folder".

I don't find a server name there, just the name of my computer "LAPTOP-JJOH816B" and other devices such as The router.

Even typing

cscript prnmngr.vbs -d -p Canon TR8500 series (copy 1) -s LAPTOP-JJOH816B

Was of course not successful.

Who has another idea here?

1000 thanks in advance

Vi

How about the easy way (right click on the printer → uninstall)?

ry

Thanks for the hint.

Before I switched to the command level, I tried to "right click" to delete the printer in the print menu - unfortunately it didn't work.

Da

Try with localhost or 127.0.0.1. I would be very surprised if only FQDNs could be used.

ry

Thank you very much - unfortunately not successful either.

Neither

cscript prnmngr.vbs -d -p Canon TR8500 series (copy 1) -s localhost

yet

cscript prnmngr.vbs -d -p Canon TR8500 series (copy 1) -s 127.0.0.1

have deleted the entry.

ry

Have now found my mistakes.

I have to put the printer name in "", then it works, i.e. The correct command should be:

cscript prnmngr.vbs -d -p "Canon TR8500 series (Copy 1)"

Da

What does the terminal answer?
Is the computer joined to a domain network?

ta

HOORAY,

cscript prnmngr.vbs -d -p "Canon TR8500 series (Copy 1)"

works, i.e. The name of the printer must be between the "".