Solved

Changing a printer name on HP Thin Clients

Posted on 2010-09-22
6
545 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

691 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