If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):
From: Jeff Liebermann <jeffl@comix.santa-cruz.ca.us> Subject: Re: How to add HP network printer? References: <khN76.7247$68.1416347@typhoon.tampabay.rr.com> Date: Fri, 12 Jan 2001 23:03:30 -0800 On Sat, 13 Jan 2001 00:26:56 GMT, "jt" <jtsoft@hotmail.com> wrote: >Ref OSR 5.0.6 >Attempted to add HPLaserJet printer on my little network. I can ping it >fine.
>Went thru adding the script using HP print manager. When I attempt to test
>it with the HP print manager #5 from the menu pick, it comes back failed
>saying, that I have to add Fuzzy to the access printer list. Where is the
>file? Btw, fuzzy is the name of SCO box.
The "add printer to access list" is bogus. Basically, SNMP tried to
contact your printer to get status information and failed. The stupid
error message has nothing to do with the problem.
Since you've supplied no print server model and topology information,
I can't tell exactly what's broken. My *GUESS(tm)* is that:
1. Your OSR5 server and unspecified HP print server is on opposite
sides of a firewall and router. You need a hole at port 9100 for HPNP
but also at 161 for SNMP. The easiest fix is to simply rename:
/etc/getone
which is the SNMP binary used by HPNP to get the status info. If it
doesn't find this binary, it assumes that the printer is always ready.
2. Your unspecified printer may not have a valid or functional IP
address. It may also be on another subnet, or otherwise unreachable.
Try:
ping ip-address-of-the-unspecified-hp-print-server
If you can't ping it, you can't print to it. Fix the route, netmask,
config, or whatever.
3. Note that I said IP address, not print server name in #2. Now try
it with the print server name as found in /etc/hosts. If it's not in
/etc/hosts, put it in /etc/hosts. Then try pinging it by name.
4. If your unspecified printer is one of the older HP incantations
(HPIII, HP4, HP25xx print server), then they can only have their IP
address set with bootp or some other such protocol. There is no way
to save the IP address in the print server (or printer) for these
older devices and printers. If this is the case, tweak:
/etc/bootptab
to set the IP address of the print server. If you're not sure which
machine has set the IP address, just run the test page on the printer
and it will tell you the current IP address. Then go looking for
which machine is the culprit.
5. Some of the later print servers default to using DHCP to set the
IP address. This is great if you enjoy troubleshooting and don't mind
pager calls when someone flushes the DHCP cache. From experience,
please use a fixed IP address for printers and other devices that do
not move (routers, firewalls, SNMP monitored devices, servers).
>Of course I could of done this all wrong. Just follwing the docs...
Docs? Oh, it's no fun if you read the docs. I usually read the docs
after I fix the problem to see if I missed anything. Besides, if the
program were any good, it wouldn't need any docs.
--
# Jeff Liebermann 150 Felker St #D Santa Cruz CA 95060
# 831.336.2558 voice http://www.mp3.com/JeffLiebermann
# 831.426.1240 fax http://www.cruzio.com/~jeffl
# 831.421.6491 digital_pager jeffl@comix.santa-cruz.ca.us
/Bofcusm/961.html copyright 1997-2004 (various authors) All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar