Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

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

share|improve this answer
    
Can I do it somehow rather than with lpadmin? –  Oleg May 6 '11 at 10:48

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)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.