HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Remote Printer IP Address Change
Operating System - HP-UX
1827588
Members
3005
Online
109965
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2002 01:58 AM
12-02-2002 01:58 AM
Remote Printer IP Address Change
Hi,
There many remote printers defined in one server. I want to change the IP addresses for all, how can I get a list of all those printers?
There many remote printers defined in one server. I want to change the IP addresses for all, how can I get a list of all those printers?
Set goals, and work to achieve them
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2002 02:10 AM
12-02-2002 02:10 AM
Re: Remote Printer IP Address Change
Hi,
Try
# lpstat -v
Write the names of printers and the pathnames of the
devices associated with them. The list argument is a
list of printer names.
Hope it helps
Robert-Jan.
Try
# lpstat -v
Write the names of printers and the pathnames of the
devices associated with them. The list argument is a
list of printer names.
Hope it helps
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2002 02:37 AM
12-02-2002 02:37 AM
Re: Remote Printer IP Address Change
You can try
cd /etc/lp/interface
grep ^PERIPH= * | more
This will give you the IP address (or name of the device depending on how it has been set up).
If the name is given, you can just use nslookup to get the IP address.
cd /etc/lp/interface
grep ^PERIPH= * | more
This will give you the IP address (or name of the device depending on how it has been set up).
If the name is given, you can just use nslookup to get the IP address.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2002 03:07 AM
12-02-2002 03:07 AM
Re: Remote Printer IP Address Change
Are these remote printers or are they JetDirect printers that were added with JetAdmin or HP Printer Installer (ie, in SAM these are called Network printers)? If they were added as remote printers, the addresses (IP or network name) are stored in the pstatus file which is binary and cannot be edited. Just delete and re-add the printers. A better solution is to use DNS names rather than IP addresses. If you don't have a DNS server, store the hostnames in /etc/hosts. That way, you can simple change /etc/hosts and the new IP addresses are immediately available.
For JetDirect, you can indeed change the /etc/lp/interface file to the new IP address for each printer. But as in the above case for remote printers, you can give each printer a hostname and IP address in /etc/hosts (assuming there is no DNS server) and replace IP addresses in the interface directory with hostnames. Also note that you can easily delete and add JetDirect printers with addqueue and removequeue.
Bill Hassell, sysadmin
For JetDirect, you can indeed change the /etc/lp/interface file to the new IP address for each printer. But as in the above case for remote printers, you can give each printer a hostname and IP address in /etc/hosts (assuming there is no DNS server) and replace IP addresses in the interface directory with hostnames. Also note that you can easily delete and add JetDirect printers with addqueue and removequeue.
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP