[olug] Unix Tip: CHANGING A PRINT QUEUE IP

Unix Guru Universe listserv at ugu.com
Mon Dec 16 19:01:27 UTC 2002


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

			      UNIX GURU UNIVERSE 
			         UNIX HOT TIP

			Unix Tip 2176 - December 16, 2002

		    http://www.ugu.com/sui/ugu/show?tip.today

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


CHANGING A PRINT QUEUE IP

 
To change the IP address of 
a print queue in HP UX 10.20 
(and maybe others), go to 
/var/spool/lp/interface.  
Edit the file with the same 
name as the print queue and 
change parameter PERIPH  to 
the new IP address.

For example, to change 
printer_1 from 127.0.0.2 to 
127.0.10.10, edit
 /var/spool/lp/interface/printer_1 
and change the line PERIPH=127.0.0.2 to
PERIPH=127.0.10.10.

Disable and enable printer_1, 
and jobs sent to printer_1 will 
go to the new IP address.


--------------------------------------------------------------------------
To Subscribe:    http://www.ugu.com/sui/ugu/show?tip.subscribe
To Unsubscribe:  http://www.ugu.com/sui/ugu/show?tip.unsubscribe
To Submit A Tip: http://www.ugu.com/sui/ugu/show?tip.today

==========================================================================
DISCLAIMER: All UNIX HOT TIPS ARE OWNED BY THE UNIX GURU UNIVERSE AND ARE
NOT TO BE SOLD, PRINTED OR USED WITHOUT THE WRITTEN CONSENT OF THE UNIX 
GURU UNIVERSE. ALL TIPS ARE "USE AT YOUR OWN RISK". UGU  ADVISES THAT 
ALL TIPS BE TESTED IN A NON-PRODUCTION DEVELOPMENT ENVIRONMENT FIRST.

Unix Guru Universe - www.ugu.com - tips at ugu.com - Copyright 1994-2001
==========================================================================




More information about the OLUG mailing list