1850404 Members
1979 Online
104054 Solutions
New Discussion

Re: remote printer

 
SOLVED
Go to solution
Carme Torca
Super Advisor

remote printer

Hi,

I have to change ip of a 100 remote printers, and I would like if this information is in one file and it's easy change it by editing the file.
I have a look to the file in /etc/lp/interface, but I haven't seen something about ip, the network printer has the PERIPH variable, but this information doen't exist in remote printers.

Does anyone could help me?
Thanks,
Carmen.
Users are not too bad ;-)
4 REPLIES 4
Victor BERRIDGE
Honored Contributor

Re: remote printer

Hi,
Are you talking of true remote printers or printers connected to your networks with jetdirect?

Depending on how they were configured at the beginning (network printers that is) :
If it were by using their names (because were declared in DNS or /etc/hosts) with jetadmin then you have just to modify /etc/hosts and it should work...

All the best
Victor
Geoff Wild
Honored Contributor

Re: remote printer

Depends - how did you create the remote printers - did you use a dns name or ip address?

If dns name - then you are okay - just update dns.

If ip address - then I think you will have to re-create all the queues... :(

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Carme Torca
Super Advisor

Re: remote printer

Hi,

I use sam.
And I have this information:

Remote System Name: 10.10.10.10
Remote Printer Name: pp

If I put in /etc/hosts the hosts and ip. It would work ok?,
Thanks!
Carmen.
Users are not too bad ;-)
John Waller
Esteemed Contributor
Solution

Re: remote printer

Unfortunatly as you have specified an ip address for your remote printer name changing your host file will not help. Also the ip address is not changeable in a text file.

The command you need to change the ip address is :
lpadmin -p -orm

To save you in the future you could add all your printers into your /etc/hosts file and give them an hostname then if the ip address changes you can just modify your /etc/hosts.

The command to change the remote destination would still be the same but yopu would specify instead of .

Also you will need to perform an lpshut before you can run the lpadmin command then an lpsched when you have finished.