1819787 Members
3515 Online
109607 Solutions
New Discussion юеВ

print question

 
SOLVED
Go to solution
navin
Super Advisor

print question

Hi,
I would like to change my print queue name , how do i do that, no options at sam and hppi utility.please advice
Learning ...
4 REPLIES 4
Pete Randall
Outstanding Contributor
Solution

Re: print question

Unfortuantely, the only way I ever figured to do it was to delete the queue, then re-add it with the new name.


Pete

Pete
A. Clay Stephenson
Acclaimed Contributor

Re: print question

Pete is correct. You will need to use lpadmin -x to remove the printer and then use lpadmin admin again to add the printer. If this is a Network printer then you use the removequeue and addqueue commands to do the same thing. Man lpadmin, removequeue, addqueue for details.

If it ain't broke, I can fix that.
Bill Hassell
Honored Contributor

Re: print question

Since you are using hppi, the best way is to use two commands: removequeue and addqueue. In fact, forget using hppi and just use addqueue to add a new printer. Assuming your printer name is prn1 with an IP address of 12.34.56.78:

removequeue -q prn1
addqueue -q prn2 -h 12.34.56.78

That's all there is to do with HP network printers.


Bill Hassell, sysadmin
Court Campbell
Honored Contributor

Re: print question

Bill,

You should have your own forum category for printer questions.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"