Solved

Changing a printer name on HP Thin Clients

Posted on 2010-09-22
6
536 Views
Last Modified: 2012-06-21
I have numerous thin clients all with the same zebra lp2844 printer installed on them.  We changed the naming convention about halfway through deployment so some are named correctly (WSName_LP2844) most are still named the default Zebra LP2844.  I need to automatically rename all of the printers to the former naming scheme.  Not sure if this can be done through the rundll32 prtui.dll,printuientry or if it must be done through reg keys.  Doesn't matter how it is done just need some help with this.  Thanks.
0
Comment
Question by:PhillipsPlastics
  • 2
  • 2
6 Comments
 
LVL 11

Expert Comment

by:Plantwiz
ID: 33740259
Have you seen this?
Pg 43-44

It appears during the setup phase the descriptive name can be modified.
http://h10032.www1.hp.com/ctg/Manual/c01361922.pdf

0
 
LVL 11

Expert Comment

by:Plantwiz
ID: 33740267
0
 

Author Comment

by:PhillipsPlastics
ID: 33742991
The HP thinclient has Windows embedded on it so I can manually change it on every workstation we have and commit those changes but since we have around 200 or so of the units across the state I am trying to come up with a way to modify it automatically after they have all been setup and deployed...
0
 

Accepted Solution

by:
PhillipsPlastics earned 0 total points
ID: 33746488
RUNDLL32 PRINTUI.DLL,PrintUIEntry /Xs /n "NAME" PrinterName "%COMPUTERNAME%_LP2844"
0
 

Expert Comment

by:EddieLoma
ID: 33748712
SET KEY=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers
SET PRN.NAME=Zebra LP2844
SET PRN.NEWNAME=%COMPUTERNAME%_LP2844

FOR /F "Tokens=8 delims=\" %%I In ('REG QUERY "%KEY%" ^|FIND /I "%PRN.NAME%"') DO IF
NOT "%%I"=="%PRN.NAME%" GOTO :EOF

rundll32.exe PrintUI.DLL,PrintUIEntry /Xs /n "%PRN.NAME%" PrinterName "%PRN.NEWNAME%"
0

Featured Post

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

Suggested Solutions

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

821 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