- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- added printer w/ lpadmin, not printing; works fine...
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
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
09-15-2000 09:37 AM
09-15-2000 09:37 AM
#lpshut
#lpadmin -pGALI -mlaserjet5si -v/dev/null
#accept GALI
#enable GALI
#lpsched
(no errors on anything)
when submit a print job, I get a request ID like all is fine, nothing is in the queue. What am I missing?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2000 09:45 AM
09-15-2000 09:45 AM
Re: added printer w/ lpadmin, not printing; works fine when done with SAM
All your commands are correct however I suspect that the problem may be to do with the interface script 'laserjet5si'.
The jetadmin scripts in /etc/lp/interface call a script of the same name in /etc/lp/interface/model.orig. Did you manually copy in a script here? lpadmin doesn't know about this technique and will only put a script in /etc/lp/interface.
You will also find that jetadmin modifies the original interface script to define the PERIPHERAL variable pointing to your printer's IP address.
I suggest that you compare your two interface scripts and then you will find what extras jetadmin configures for you.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2000 03:39 PM
09-15-2000 03:39 PM
SolutionSince there are so many details required to configure a network printer, use SAM or run the /opt/hpnp/bin/jetadmin program. Or better yet, get the latest JetDirect software and (if the printer already has the network configurations loaded into it) then just use the addqueue command as in:
addqueue -h host_name -q queue_name
where host_name is the IP address or a known hostname for the printer, and queue_name is the name you'll use in HP-UX to refer to the printer using lp -d. See also the man page for removequeue.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2000 04:42 PM
09-17-2000 04:42 PM
Re: added printer w/ lpadmin, not printing; works fine when done with SAM
I think you might be configuring this printer as default in the sam, hence when you print it goes default to this printer. In the command use lpadmin -d "printer_name" to set it as a default.
see lpstat -t if the job is in the queue and what error it is showing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2000 06:00 AM
09-18-2000 06:00 AM