- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: printer moved to different network
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
03-08-2007 11:56 PM
03-08-2007 11:56 PM
printer moved to different network
I have a hp-ux server with IP address 192.80.70.4 and I have an hp LaserJet 4300n with IP address 192.80.70.10. All is fine.
I changed the printer's IP address to 182.77.88.10 and adapted that in the /etc/hosts file on my server (staying on 192.80.70.4).
I have a router in between the 192 and 182 networks.
I added a route on my server so he would send all 182 traffic to that router.
I can ping my printer fine from my server.
Print jobs get queued in the spooler fine.
BUT they do not print.
What am I missing here?
Thank you for looking into this.
Kind regards,
Luc Monnens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2007 12:14 AM
03-09-2007 12:14 AM
Re: printer moved to different network
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2007 12:26 AM
03-09-2007 12:26 AM
Re: printer moved to different network
when you added your printer what name did you give to your printer. ?
assign the ip address as the printer name and try. not sure if this will work. but give it a try.
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2007 12:38 AM
03-09-2007 12:38 AM
Re: printer moved to different network
If it's looking at the printer name and you made a change in your /etc/hosts file, chekc your /etc/nsswitch.conf to be sure you're hosts is looking at 'files' before 'dns'.
robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2007 12:55 AM
03-09-2007 12:55 AM
Re: printer moved to different network
I used the jetdirect printer installer to install another 182 printer on the 192 server. This time with the IP address and not the name.
It made no difference.
Hi Robert,
I checked the /etc/lp/interface for the first printer and that shows up with the name and yes I have the server check the hosts file first and then DNS.
So frankly, I don't think this has to do with using IP address and name.
I would be more inclined to think there is something wrong with the routing.
Although ping from the server works and with traceroute from the server I can see it go to my router fine and then finding the printer.
Does lp need to get soemthing back before it actually releases a print job to the printer?
Kind regards,
Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2007 01:05 AM
03-09-2007 01:05 AM
Re: printer moved to different network
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2007 01:06 AM
03-09-2007 01:06 AM
Re: printer moved to different network
# enable printer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2007 01:14 AM
03-09-2007 01:14 AM
Re: printer moved to different network
I can telnet to it fine from a 182 server.
There is no firewall, just a basic router.
Yes it is enabled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2007 01:21 AM
03-09-2007 01:21 AM
Re: printer moved to different network
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2007 03:17 AM
03-09-2007 03:17 AM
Re: printer moved to different network
hpnpadmin -v 12.34.56.78
Use the IP to avoid any issues with host or DNS. You'll need to consult with your network administrators concerning port 9100 if hpnpadmin can't reach the printer.
Bill Hassell, sysadmin
- Tags:
- hpnpadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2007 03:48 AM
03-09-2007 03:48 AM
Re: printer moved to different network
The router is just a linux box with 2 network cards and some basic routes added. It is doing what it is supposed to be doing for all other stuff.
Hi Bill,
I can run the hpnpadmin command fine. What should I look for in the output?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2007 12:51 PM
03-09-2007 12:51 PM
Re: printer moved to different network
addqueue -h 12.34.56.78 -q myprn
That should get the printer working.
Bill Hassell, sysadmin
- Tags:
- addqueue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2007 01:18 AM
03-13-2007 01:18 AM
Re: printer moved to different network
All answers helped me to look at this problem form a different angle and the commands Bill provided will come in usefull in the future, I am sure.
In the end I started again.
A. I changed the IP on the printer manually.
I made sure the default gateway pointed to the actual default gateway on the network and not to the printer's ip (as it used to do)
B.
1. I removed the printer's old ip address from my /etc/hosts file.
2. I removed the printer from the lp spooler config
3. I added the printer by ip address in the jetadmin tool and named the queue with the printername
4. I tested setup and printed a test page.
All worked fine!
All points assigned and case closed.
Thank you all for your help.
Kind regards,
Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2007 01:23 AM
03-13-2007 01:23 AM