/bundles/itninjaweb/img/Breadcrumb_cap_w.png
Does anybody know if it is possible to rename a printer using DOS?????

I have an application that will only work if the printer is a certain name, I am running an exe silently to install the printer but once installed the name needs to be changed for the app to function correctly.

I thaught it would be quite simple if I could change it with a DOS command or Batch file however this has proved to be a bit more difficult than I would have hoped...
0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Community Chosen Answer


Answers

2
Hello Fishy,

We does it have to be done within DOS?

Why not use WMI under Windows to change the name of the printer?
Answered 02/21/2005 by: brenthunter2005
Fifth Degree Brown Belt

Please log in to comment
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

0
Thanks Brent, Yea I used 'cscript prncnfg -x -p "printer name" -z "new printer name" command, this worked perfectly.
Answered 02/21/2005 by: Fishy
Senior Yellow Belt

Please log in to comment
0
Is it a local printer? Or a shared network printer?
Answered 02/21/2005 by: WiseUser
Fourth Degree Brown Belt

Please log in to comment
0
It is in fact a local virtual PDF converter printer!!

For some reason the application will not recognise it until the name has being changed. I have figured out that you can change it using the prncnfg.vbs that on the XP OS.
Answered 02/21/2005 by: Fishy
Senior Yellow Belt

Please log in to comment