- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- printer problem
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
01-30-2009 06:58 AM
01-30-2009 06:58 AM
printer problem
Printer Description:
--------------------
MANUFACTURER :Hewlett-Packard;
COMMAND SET :PJL,MLC,PCL,PCLXL,POSTSCRIPT;
MODEL :HP LaserJet 2100 Series;
CLASS :PRINTER;
DESCRIPTION :Hewlett-Packard LaserJet 2100 Series
Printer ID : 513
The printer works fine on this server (11.11)
When i transferred the printer queue from this server to another(11.11) using
/usr/sam/lbin/lpmgr -S -xsavedir=/var/sam/lp
tar -cf /var/sam/lp_spools.tar /var/sam/lp
transferred using scp to another server
On another server
chown -R lp:bin /var/sam/lp_spools.tar
tar -xfp /var/sam/lp_spools.tar
/usr/sbin/lpshut
/usr/sam/lbin/lpmgr –R –xsavedir=/var/sam/lp
/usr/sbin/lpsched
It does not work. The print jobs get stuck up in the queue.
The printer IP address is reachable from both server and telnet
Also when i give a test print i do not see the logs updated under /var/adm/lp/log
Instead the log file is getting updated with some old jobs.
I have tried restarting the lp scheduler on server 2
Nothing works
Please suggest
Thanks
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2009 11:44 AM
02-01-2009 11:44 AM
Re: printer problem
Thanks
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2009 11:59 AM
02-01-2009 11:59 AM
Re: printer problem
hpnpadmin -AaSs 12.34.56.78
or for everything:
hpnpadmn -v 12.34.56.78
So if all is well, then simply delete the printer at the second server (lpadmin -x myprinter). Then use this command:
addqueue -h 12.34.56.78 -q myprinter -b off -t off -r off
where: 12.34.56.78 is the printer's IP address.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2009 12:14 PM
02-01-2009 12:14 PM
Re: printer problem
If it was only for 1 printer i would have just created the printer queue manually on another server.
That was just an example.
I have 750 servers to move to other server.
That is why i am using "lpmgr"
This is the post i had posted before but couldn't get a solution to my problrm
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1306455&admit=109447626+1233518653336+28353475
Thanks
Sunny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2009 04:13 PM
02-01-2009 04:13 PM
Re: printer problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2009 04:26 PM
02-01-2009 04:26 PM
Re: printer problem
# HPNPL E.10.34 Hewlett-Packard JetDirect Printer Installer for Unix
HPNPL.HPNPL-MAN E.10.34 Standard Man Pages for JetDirect Printer Installer for Unix
Initially i was not aware of the transferqueue step so i had not used it.
But since i am doing this on a production environment i will have to wait for another chance to try it.
What difference can it make. Now when i check on server 2 i can pass the test print through the print queue but i was not able to do it when i was performing the drill.
Sunny