- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: PostScript printer questions
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
08-24-2006 07:23 AM
08-24-2006 07:23 AM
I have a PostScript HP printer which is connected to 2 systems. It works on one (hpux 11.0) but not on the 2nd, (11.23) the jobs just hang in the queue.
Any idea how to troubleshoot this? Can I remove this printer and then re-add it? Where in the filesystem are the config files so I can compare them?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2006 10:45 AM
08-24-2006 10:45 AM
SolutionBill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2006 10:50 AM
08-24-2006 10:50 AM
Re: PostScript printer questions
I suspect that you chose completely different model scripts (which become the interface files) for these print queues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2006 01:26 AM
08-25-2006 01:26 AM
Re: PostScript printer questions
How do I delete this printer and correctly add it?
It's connected to another machine and works just fine on that other server. It doesn't work when accessed from the first machine. I compared the configuration files on both servers (like /var/spool/lp/interface/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2006 01:31 AM
08-25-2006 01:31 AM
Re: PostScript printer questions
For a remote printer, you would use lpadmin:
lpadmin -x$PRNTR # to delete
lpadmin -p$PRNTR -orm$LOC.holstein.com -orp$OPRNTR -mrmodel -v/dev/n
ull -ob3 -ocmrcmodel -osmrsmodel # to add
For a network printer you would use the hppi commands removequeue and addqueue:
removequeue -f -q $PRNTR
addqueue -h $IP -q $PRNTR -b off
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2006 01:49 AM
08-25-2006 01:49 AM
Re: PostScript printer questions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2006 02:01 AM
08-25-2006 02:01 AM
Re: PostScript printer questions
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2006 02:53 AM
08-25-2006 02:53 AM
Re: PostScript printer questions
J4189-11001C E.10.34 Hewlett-Packard JetDirect Printer Installer for Unix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2006 03:04 AM
08-25-2006 03:04 AM
Re: PostScript printer questions
The way to tell is:
lpstat -v
For Network printers, you will see:
device for myprinter1: /dev/null
For Remote printers, you will see an additional line:
device for myprinter2: /dev/null
remote to: mickey on disney.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2006 03:56 AM
08-25-2006 03:56 AM
Re: PostScript printer questions
device for myprinter1: /dev/null
I used hpnpadmin to add this printer, since addqueue wasn't what I needed (it only ads a queue once the printer has already been created)
- 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
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
> 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
- 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
Bill Hassell, sysadmin