Operating System - HP-UX
1752301 Members
4623 Online
108786 Solutions
New Discussion

printer que server name changing

 
jsahibjon
Occasional Contributor

printer que server name changing

how to change the printer que through command line

1 REPLY 1
Pete Randall
Outstanding Contributor

Re: printer que server name changing

To the best of my knowledge there is no way.  You need to remove the queue and re-add it.

 

If you're using the lp spooler:

/usr/sbin/lpadmin -xQUEUENAME

/usr/sbin/lpadmin -pNEWQUEUENAME (any other options as needed)

 

or if you're using hppi

/opt/hpnpl/bin/removequeue -f -q QUEUENAME

/opt/hpnpl/bin/addqueue -h IPADDRESS -q NEWQUEUENAME (any other options as needed)


Pete