- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Printer administration
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
Discussions
Discussions
Forums
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
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-22-2008 02:11 PM
тАО12-22-2008 02:11 PM
Printer administration
We have these ancient terminal servers called Micro Annex. You can read more about them here..
http://aput.net/~jheiss/annex/
These have been discontinued and are not supported. I know, I wish I could replace them but the damn things never break and we can't budget for replacing these things as of right now.
Well on the PA-RISC system, I install these printers by using SAM->Printers & Plotters->add local printer/plotter->add printer with nonstandard device file. And I select the printer model that was provided to us millenia ago. The device path is /dev/null.
I attached that script. In order to direct output to a printer, you need to change the lines ANNEX= and ANNEXLINE= (like ANNEX=annex1 and ANNEXLINE = 4)
Installing it this way on the Itanium didn't work (test prints not successful).
Next I tried to install a printer using hppi and using this model again. It created an standard hppi printer model script in the /etc/lp/interface directory, and put the annex model in the /etc/lp/interface/model.orig/ directory. I was able to change the ANNEX part in that file and send a test print to the printer. YAY! right? Well here's where I'm stuck. It printed then immediately the printer was disabled. When I go to enable the printer again, it prints the test page and disables itself again.
Here's whats in the /var/adm/lp/log said
lpsched: FIFO: Dec 22 17:03 n
lpsched: FIFO: Dec 22 17:03 n
lpsched: FIFO: Dec 22 17:03 n
lpsched: FIFO: Dec 22 17:03 n
lpsched: FIFO: Dec 22 17:03 e test3
test3-15 root test3 Dec 22 17:03
lpsched: FIFO: Dec 22 17:03 n
lpsched: FIFO: Dec 22 17:03 n
/etc/lp/interface/model.orig/test3
/opt/hpnpl/bin/hpnpf -j test3-15+root -x test3
hpnpf: unknown host test3
disabling test3
lpsched: FIFO: Dec 22 17:03 n
lpsched: FIFO: Dec 22 17:03 d test3 reason unknown
lpsched: FIFO: Dec 22 17:03 m test3 r 12740
lpsched: CHILD: Dec 22 17:03 test3 15 000f
I'm not sure what some of this info means.
Any help and advice with any and all of this would be greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-22-2008 05:07 PM
тАО12-22-2008 05:07 PM
Re: Printer administration
It's strange it prints something then gets an error. From the above log, it seems it can't find test3:
hpnpf: unknown host test3
If this is a network printer, it can't find it. But if it can't find it, how did you print a test page?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2008 04:56 AM
тАО12-23-2008 04:56 AM
Re: Printer administration
I just ignore the part where it can't find the printer and tell it to use the model script I was given. It prints, but it won't "clear the queue" for that printer, and the queue disables itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2008 05:15 AM
тАО12-23-2008 05:15 AM
Re: Printer administration
That seems like a remote printer.
>it installs it as a network printer. It prints, but it won't "clear the queue" for that printer, and the queue disables itself.
Except for the "It prints", this seems the wrong way to do things.
You probably need Bill to weigh in here.
I suppose you could try adding test3 in /etc/hosts to point back to the current system? I'm not sure what hpnpf -j is doing?
Here are some threads about hpnpf:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1095816
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1064051
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=870275
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2008 06:04 AM
тАО12-23-2008 06:04 AM
Re: Printer administration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2008 06:45 AM
тАО12-23-2008 06:45 AM
Re: Printer administration
You would still need the aprint utility in the new server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2008 08:19 AM
тАО12-23-2008 08:19 AM
Re: Printer administration
I didn't realize aprint wasn't a standard HP-UX, but it looks like when I copied the annex software over, it brought aprint with it as well. It's in the /usr/annex/ directory, as the PATH variable in the printer script shows.
I even did a
./aprint -Aannexf4 -L4 -Fabcdefg^L and it printed. So that part is working.
I haven't tried the other method yet, nor read over those links you provided, I will do so soon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-23-2008 08:39 AM
тАО12-23-2008 08:39 AM
Re: Printer administration
You did say it printed. :-)
>nor read over those links you provided
Since you will no longer be using hpnpf with TTr's suggestion, you can probably skip it.