Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Windows Terminal Server - Printer name changes - and font issues

Posted on 2011-10-13
Medium Priority
Last Modified: 2012-06-21
pdc is windows 2003 sbs
terminal server is windows 2008 standard
most workstations are xp pro

When we log onto the terminal server, the local printer is added fine.  However, the name on the local printer continues to change.  example hp laserjet redirect 01.  The next time we log into the terminal session (same user and same local workstation), the hp laserjet redirect 02 printer name will appear.

We have some database applications that we have to configure with the printer name.  With the name continuing to change, the printer will not work unless we change the printer setup within the application.

Also, we have noticed that even when we do print, some fonts do not print properly.  The only font that prints fine is the Arial.  All documents and fonts look fine on the print preview through the terminal server but only the arial font is correct.  If we try to print these printers from the local workstation, everything prints fine.
Question by:gocga
  • 4

Accepted Solution

H earned 2000 total points
ID: 36963251
That's an inherent feature of terminal services to rename the printers based on session#

I would suggest connecting a networked printer directly on the server. Then use that for the application.

Or you can create a script or login script  to create a networked printer connection that always has the same name when they logon.  Let me know if you want assistance with this or examples.

Expert Comment

ID: 36963264

Expert Comment

ID: 36963272

Sorry too many http's


This is a link to scripting a printer add...


NOTE: Both lines can be placed in a batch file or typed after each other at a command prompt. These two lines are wrapped for readability.
rundll32 printui.dll,PrintUIEntry /ia /c\\server /m "AGFA-AccuSet v52.3" /h "Intel" /v "Windows 2000" /f %windir%\inf\ntprint.inf

rundll32 printui.dll,PrintUIEntry /if /b "Test Printer" /c\\SERVER /f "%windir%\inf\ntprint.inf" /r "lpt1:" /m "AGFA-AccuSet v52.3"
This example deletes an AGFA printer on a computer named SERVER:
rundll32 printui.dll,PrintUIEntry /dl /n "Test Printer" /c\\SERVER
For more information about the available switches, type /? after the command.

In addition, at a command prompt, type:
rundll32 printui.dll,PrintUIEntry /?
The preceding command displays the entire list of usage switches with extensive examples for using this method.

Additionally, at a command prompt, type
rundll32 printui.dll,PrintUIEntry /Xs /n "printer" ?
The preceding command displays additional help for changing printer properties. The following example switches the current print driver to the specified new printer driver (already installed on the server):
rundll32 printui.dll,PrintUIEntry /Xs /n\\SERVER\PRINTERSHARENAME DriverName "Lexmark C752 PS3"

Expert Comment

ID: 36963279

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to effectively resolve the number one email related issue received by helpdesks.
Exchange administrators are always vigilant about Exchange crashes and disasters that are possible any time. It is quite essential to identify the symptoms of a possible Exchange issue and be prepared with a proper recovery plan. There are multiple…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question