- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: PostScript printer questions
Operating System - HP-UX
1748183
Members
3275
Online
108759
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
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
тАО08-25-2006 04:37 AM
тАО08-25-2006 04:37 AM
Re: PostScript printer questions
The addqueue command does not need anything setup except that the printer is online and has the network stuff setup (IP address, etc). What error did you get when you ran addqueue?
T|Just to verify that the printer is working OK, run the commaqnd hpnpadmin -v 12.34.56.78 where 12.34.56.78 is the printer's IP address. If that reports back a lot of stats, then all is well. Test that the printer can print a simple file:
hpnpf -x 12.34.56.78 -N /etc/profile
If that works OK, just use addqueue:
addquue -h 12.34.56.78 -q new_printer_name
That will create the new-printer_name and you can now use lp to print to it:
lp -dnew_printer_name /etc/profile
Note that all of the commands (except lp) are in the /opt/hpnpl/bin directory. Note also that hppi performs the same tasks as hpnpadmin and addqueue -- Unix admins prefer command line choices. Be sure to post any error messages that you get.
Bill Hassell, sysadmin
T|Just to verify that the printer is working OK, run the commaqnd hpnpadmin -v 12.34.56.78 where 12.34.56.78 is the printer's IP address. If that reports back a lot of stats, then all is well. Test that the printer can print a simple file:
hpnpf -x 12.34.56.78 -N /etc/profile
If that works OK, just use addqueue:
addquue -h 12.34.56.78 -q new_printer_name
That will create the new-printer_name and you can now use lp to print to it:
lp -dnew_printer_name /etc/profile
Note that all of the commands (except lp) are in the /opt/hpnpl/bin directory. Note also that hppi performs the same tasks as hpnpadmin and addqueue -- Unix admins prefer command line choices. Be sure to post any error messages that you get.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2006 06:39 AM
тАО08-25-2006 06:39 AM
Re: PostScript printer questions
Bill H
> What error did you get when you ran addqueue?
I meant to save it, but lost it. It was a simple one liner, something to the effect that it wasn't available, or found.
Anyway, it has been reported to me that all works now... so I didn't run these diagnostic commands, but will keep them in mind for future reference.
Is there a web site that explains all this hpnp stuff?
> What error did you get when you ran addqueue?
I meant to save it, but lost it. It was a simple one liner, something to the effect that it wasn't available, or found.
Anyway, it has been reported to me that all works now... so I didn't run these diagnostic commands, but will keep them in mind for future reference.
Is there a web site that explains all this hpnp stuff?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2006 07:41 AM
тАО08-25-2006 07:41 AM
Re: PostScript printer questions
We don't need no stinkin' website. You have everything you need. Simply cd to /opt/hpnpl/man and then do an "ls *"; you will see all the available man pages.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2006 11:45 AM
тАО08-25-2006 11:45 AM
Re: PostScript printer questions
Well, the lp spooler is the standard SysV implementation but the HP docs are badly split -- direct-connect and remote printers are described in the sysadmin docs but don't talk about printer scripts in detail. The JetDirect (hppi) software was written by the printer division and was never integrated into HP-UX docs. That's why I will be giving a paper on this topic at the HP Tech Forum in Houston next month. I'll also have a tutorial on script writing and an all day seminar on sysadmin toipics.
Bill Hassell, sysadmin
Bill Hassell, sysadmin
- « Previous
-
- 1
- 2
- Next »
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP