- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unix Printer Configuration
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
12-01-2003 06:03 PM
12-01-2003 06:03 PM
Hi,
I had a network printer. Currently the printer has been replaced by a same model printer. But the ip has been changed.
It is printing fine from WINDOWS environment but not from unix.
I have changed the /etc/hosts file. I have rebooted printer server. Now it is printing only from one server but not from others.
can anybody please explain the problem?
Regards
Sugata
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 06:15 PM
12-01-2003 06:15 PM
Re: Unix Printer Configuration
run this in the server to check if the printer has the correct IP.
#cd /var/lp/spool/interface
#grep -ns [new ip address] *
Check what printers has the new ip address!
Also, use sam instead of modifing the /etc/hosts manually
Hope this help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 06:17 PM
12-01-2003 06:17 PM
Re: Unix Printer Configuration
To remove the printer:
#lpshut; lpadmin -x ptr_name; lpsched;
To readd the printer:
# lpadmin -pptr_name -v/dev/null -mrmodel -ocmrcmodel -osmrsmodel -ob3 -ormsvr_name -orpqueue_name -v/dev/null
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 06:47 PM
12-01-2003 06:47 PM
Re: Unix Printer Configuration
I have checked in /var/sppol/lp/interface folder. It is not showing the old ip also.
I have tried to remove the printer & reload again. That also didn't help me.
Sugata
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 06:50 PM
12-01-2003 06:50 PM
Re: Unix Printer Configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 06:55 PM
12-01-2003 06:55 PM
Re: Unix Printer Configuration
<<
I have changed the /etc/hosts file. I have rebooted printer server. Now it is printing only from one server but not from others.
>>
You have more HPUX servers ?? change the /etc/hosts file on all servers.
HTH,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 06:57 PM
12-01-2003 06:57 PM
Re: Unix Printer Configuration
Try swaping out the cables with the working ones, also test the connectivity by pinging the print server[I'm assuming the printer is connected thru a Jet direct print server]
Also try
#lpstat -t [printer name] to check the status of the printer!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 06:57 PM
12-01-2003 06:57 PM
Re: Unix Printer Configuration
printer sunjet is idle. enabled since Nov 12 12:44
fence priority : 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2003 07:22 PM
12-01-2003 07:22 PM
Re: Unix Printer Configuration
*****************************************
#lpstat -tsunjet
scheduler is running
system default destination: lj4g15
device for sunjet: /dev/null
device for moonjet: /dev/null
device for lj4g15: /dev/null
remote to: lj4g15 on plsmain
moonjet accepting requests since Nov 12 12:38
sunjet accepting requests since Nov 12 12:44
lj4g15 accepting requests since Nov 19 18:44
printer moonjet now printing moonjet-2223. enabled since Nov 12 12:38
fence priority : 0
printer sunjet is idle. enabled since Nov 12 12:44
fence priority : 0
printer lj4g15 is idle. enabled since Nov 19 18:45
fence priority : 0
moonjet-2223 sugatas priority 0 Dec 2 13:36 on moonjet
test1 19 bytes
printer queue for lj4g15
plsmain: Warning: lj4g15 is down
*********************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 10:48 AM
12-04-2003 10:48 AM
Re: Unix Printer Configuration
1. Can you ping the print server from Unix using the DNS name and IP address?
2. If you are going to a HP Jet Direct card go into SAM and go to "printers and plotters" and tab to actions and select "add remote printer/plotter" Give your printer a name and configure location to the server either by IP address or server name.
3. Try reconfiguring the unix side with a different printer name to the print server.
4. Setup the same printer on the print server with a new share name and see if you can connect from unix to the printer. You can disable the current printer on the print server during this process. Then configure the printer in SAM from unix.
Once it works you can delete the old printer settings.
5.Configure the printer in SAM directly to the HP Jet Direct card. If you can print from unix directly to the Jet Direct card, definitely reset up the printer on the print server using a different share name. Resetting up the printer when IP addresses have changed on the print server usually does the trick when going from unix to a print server.Also take everyones advice on the /etc/lp/interface.
Good Luck,
Doug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 10:59 AM
12-04-2003 10:59 AM
Re: Unix Printer Configuration
When you re-added the printer did you supply the *new* IP or hostname AND the new queue name on that print server?
Do an lpstat -t
to verify this info.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 11:01 AM
12-04-2003 11:01 AM
Solution# xPORT, PERIPH, TEOJ are all configurable
xPORT=
PERIPH=55.1.5.242
DEVTYPE="RAW"
TEOJ=""
STATUSLOG=""
HPNPFOPT=
TOJMON=""
ONUSTATUS=""
Take Care,
Doug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 11:07 AM
12-04-2003 11:07 AM
Re: Unix Printer Configuration
lpstat -v
This will show host & queue names.
Jeff