- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Printer Model Script
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
11-12-2004 01:36 AM
11-12-2004 01:36 AM
Printer Model Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2004 02:18 AM
11-12-2004 02:18 AM
Re: Printer Model Script
In general, a model script in /usr/lib/lp/model is copied to /var/spool/lp/interface/printername. Once the copy is in the interface directory it's a unique version so you are free to change it. The same is true of network printer model scripts except they start out /opt/hpnpl/sh and there are two conponents. One in /var/spool/lp/interface and the other part in the model.orig directory just below; both share the common printer (more properly, the queue name).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2004 03:13 AM
11-12-2004 03:13 AM
Re: Printer Model Script
While I have used addqueue many times in the past to configure printers at remote locations, this most recent print setup is acting strangely. It appears to be in "quiet" mode and print jobs take twice as long as normal.
I want to make sure that the printer is configured to use the dumb print model script.
By the way, this printer does not appear in /var/spool/lp/interface/ for some reason.
I used the following command to add the printer:
addqueue -i 9998 -h ip.address -p 3 -q printername
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2004 05:04 AM
11-12-2004 05:04 AM
Re: Printer Model Script
You can check the printer status by typing:
/opt/hpnpl/hpnpadmin -v
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2004 08:40 AM
11-12-2004 08:40 AM
Re: Printer Model Script
opt/hpnpl//bin/hpnpf -x 12.34.56.78 -N -l /var/tmp/hpnpf.log /etc/profile
Take a look at the (lengthy) logfile to see what part of the protocol seems to be failing. /opt/hpnpl/bin/hpnpadmin is also a good test to see what is hanging or missing with remote queries. You may need to use soemthing like Ethereal and a PC (or setup nettl on HP-UX) to decode a LAN trace file.
Bill Hassell, sysadmin