When I type lpstat -p in bash I get:
lp@linuxbox 'xerox printer in room 100' (dest lp@193.233.9.7)
How do I change dest to another IP?
Printers for plain vanilla lpd
are configured in /etc/printcap
- the printcap(5) man page has all the gory details on that.
Your distribution is probably using CUPS though (you mentioned lpadmin
), so you need to make your changes through the CUPS tools. You can remove and re-add the printer via lpadmin, or see if the CUPS web interface is enabled and will let you do what you want (it's typically http://localhost:631)
You don't. You add another printer at the address of interest.