2

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?

Oleg
  • 61
  • 1
  • 1
  • 2

2 Answers2

2

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)

voretaq7
  • 79,345
  • 17
  • 128
  • 213
0

You don't. You add another printer at the address of interest.

Ignacio Vazquez-Abrams
  • 45,019
  • 5
  • 78
  • 84