Windows 2000/XP changing local names of network printers

G

Guest

When adding a network printer to a workstation either via vbs logon script or
manually windows 2000/XP always wants to append the 'on [servername]' to the
printer name thus making the printer name even longer. Is there a way to
remove this via vbs script (preferable) or registry key? I have several apps
that do not support windows printer names longer than 25 characters.

Please help. Thanks.

Darrell
 
A

Alan Morris\(MSFT\)

when the connection relies on RPC and named pipes, one cannot change the
connection name. Printers that connect using SMB (Win9x and printers to
Local Port of type \\printserver\printshare) can be renamed.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

Bruce Sanderson said:
I don't know of a way to change the name of a true "Network Printer".

But, if it is a real problem, you can add the printer as a local printer
while redirecting it to the shared printer. See
http://members.shaw.ca/bsanders/NetPrinterNoPP.htm. This page discusses a
different issue, but the bypass for it is the same.

--
Bruce Sanderson MVP

It's perfectly useless to know the right answer to the wrong question.


Darrell said:
When adding a network printer to a workstation either via vbs logon
script
or
manually windows 2000/XP always wants to append the 'on [servername]' to the
printer name thus making the printer name even longer. Is there a way to
remove this via vbs script (preferable) or registry key? I have several apps
that do not support windows printer names longer than 25 characters.

Please help. Thanks.

Darrell
 
A

Alan Morris\(MSFT\)

the spooler reports the connection name as \\printserver\sharename. The
Print UI and Common print dialog take this name and reformats it to what is
seen on the screen.

Create local printers to \\printserver\printshare Local Ports (user must be
Admin or Power user with load driver priv) or net use LPT2:
\\printserver\printshare and set the app to print to LPT.
--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

Darrell said:
If I setup a new printer queue on the win2000 server is there a way for the
2000/XP clients not to append the "on [servername]" to the end of the printer
name for the RPC connections?

Thanks,

Alan Morris(MSFT) said:
when the connection relies on RPC and named pipes, one cannot change the
connection name. Printers that connect using SMB (Win9x and printers to
Local Port of type \\printserver\printshare) can be renamed.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

Bruce Sanderson said:
I don't know of a way to change the name of a true "Network Printer".

But, if it is a real problem, you can add the printer as a local printer
while redirecting it to the shared printer. See
http://members.shaw.ca/bsanders/NetPrinterNoPP.htm. This page discusses a
different issue, but the bypass for it is the same.

--
Bruce Sanderson MVP

It's perfectly useless to know the right answer to the wrong question.


When adding a network printer to a workstation either via vbs logon script
or
manually windows 2000/XP always wants to append the 'on [servername]' to
the
printer name thus making the printer name even longer. Is there a way to
remove this via vbs script (preferable) or registry key? I have several
apps
that do not support windows printer names longer than 25 characters.

Please help. Thanks.

Darrell
 

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