(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version



hp canaccess printer


What is this stuff?

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: Problems trying to access HP Printer
Date: Mon, 15 Oct 2001 10:25:15 -0700
References: <Xswy7.92$Gu2.2048@nsw.nnrp.telstra.net> 

On Mon, 15 Oct 2001 17:43:39 +1000, "Greg Hines"
<greghines@bigfoot.com.NOSPAM> wrote:

>===============================================================
>Checking that sherbris is on the printer's access list ...
>/usr/lib/hpnp/cfg/canaccess  fomain
>
>Printer access test failed.  Add sherbris to the
>printer's access list before continuing.
>===============================================================



1.  Please do not put useful information below the signature line
(which starts with the two dashes).  Most news readers will not quote
that part for replies.

2.  The error message is bogus.  What's really happening is that SNMP
is not able to access your unspecified printer.  If you're going
through a firewall, that means that port 161 will need to be open to
the printer.  HPNP uses SNMP to get the printer status info.  However,
HPNP can be tricked.  On your unspecified version of OSR5, rename the
program /bin/getone to something else to get it out of the way.  If
HPNP finds that it doesn't have the proper binary to query the
printer, it returns an always read message.  It should work after
that.

Another possibility is that you've tweaked the SNMP R/O community name
on the printer.  Put it back to "public".  Run:
   getmany printer_ip public iso
If you get pages and pages and pages and pages of OID's, SNMP is
working.

 
-- 
Jeff Liebermann  150 Felker St #D  Santa Cruz CA 95060
(831)421-6491 pgr (831)426-1240 fax (831)336-2558 home
http://www.LearnByDestroying.com   WB6SSY
jeffl@comix.santa-cruz.ca.us   jeffl@cruzio.com
 



Click here to add your comments





Tue Sep 19 16:09:51 2006: Subject:   anonymous


FYI I'm on Sco Unix OSR 5.0.6 and the getone file was in /etc.



Wed Feb 7 22:06:01 2007: Subject:   anonymous


Seems some new embedded jetdirect cards have problems. Doing the following:
/etc/getmany printer.ip public iso
will give a few settings and then:
/etc/getmany: error processing incoming pdu.

The ony fix that works for my HP Laserjet 2015n / 2015dn is to rename /etc/getone to something else. The HPNP Verify Network Printer Operation will still fail, but printer can be installed and jobs sent via spooler.



Fri Apr 27 05:58:12 2007: Subject:   anonymous


I have SCO OSR5.0.7 and although I have changed the name of /etc/getone printer Hp 1022n doesn´t print



Fri Apr 27 11:22:31 2007: Subject:   TonyLawrence

gravatar
So stop using that hpnp junk and use netcat

http://aplawrence.com/SCOFAQ/FAQ_scotec7getnetcat.html




Mon Nov 12 01:24:16 2007: Subject:   anonymous


It works as long as you're aware of SNMP weirdness. If they can't work out HPNP then it's likely they're going to have trouble setting up a netcat alternative.



Thu Feb 14 16:33:16 2008: Subject: HP Printers on SCO   anonymous


Jeff, you're a genius

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



/Bofcusm/907.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.

Publishing your articles here

Jump to Comments



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.



More:
       - OSR5
       - Bofcusm


Unix/Linux Consultants

Skills Tests

Guest Post Here











My Favorites

Change Congress