Re: Where can I get JetAdmin for Linux?

2002-01-24 Thread Gary L. Dolan
Thanks to all for the suggestions about getting the LaserJet 8000
running with the new debian box. Due to other matters I've only had a
little time to put some of these suggestions into play, but I'll
let you know how things turn out. Thanks again.
-- 
Gary Dolan
Debian GNU/Linux 2.2, Kernel 2.5.1-pre8 
FreeBSD 4.4



Re: Where can I get JetAdmin for Linux?

2002-01-23 Thread Gary L. Dolan
On Tue, Jan 22, 2002 at 11:29:43PM -0500, dman wrote:
 
 Can you ping it?  Can you telnet to it?  (try port 80 for the
 webserver, 631 to try and do IPP and 9100 for JetDirect; if you type
 stuff while telnetted to 9100 it will spit out of the printer as plain
 text)
 
 On a jetdirect box at work I get the following :
 
 $ nmap 192.168.0.5

Severl things here that I will try today. I had no luck either
pinging or trying to telnet, but as I recall I tried only port 631.

-- 
Gary Dolan
Debian GNU/Linux 2.2, Kernel 2.5.1-pre8 
FreeBSD 4.4



Re: Where can I get JetAdmin for Linux?

2002-01-23 Thread Joachim Trinkwitz
Noah Meyerhans [EMAIL PROTECTED] writes:

 On Tue, Jan 22, 2002 at 10:29:05AM -0500, Brian P. Flaherty wrote:
  
  I don't know if you can get JetAdmin for Linux, but I suggest looking
  at CUPS.  I have JetAdmin at work on Solaris and CUPS at home and they
  seem pretty similar to me.  When you say check the status of an HP
  printer, what do you mean?  Is it something more than a cron job
  grepping the result of 'lpstat -p printer'? 
 
 No, JetAdmin and CUPS/lp* do very different things.  Among other things,
 JetAdmin and friends can communicate via SNMP to a networked printer,
 allowing you to do fun things like reboot it or query paper status and
 things like that.  CUPS/lp* only handle local queue stuff.  They don't
 do much talking to printers beyond sending jobs to them.

`apt-cache search snmp' shows up with among others snmp - NET SNMP
(Simple Network Management Protocol) Apps and npadmin - Query
information from SNMP featured printer. Maybe they do (part of) what
you want.

BTW, this is sid.

Greetings,
joachim



Re: Where can I get JetAdmin for Linux?

2002-01-23 Thread Dragos
On Tuesday 22 January 2002 04:45 pm, Stan Brown wrote:
 I'm replacing a HP-UX workstation with a woody box.

 One of the functions of this HP box is to rotuinely check that status of a
 HP jetAdmin printer.

 Can I get JetAdmin software for Linux? If so has anyone got a pointer to a
 location?

 Any words of wisddom here?
hello,
I looked through my files, and I don't have it anymore, but I used to have hp 
webjetadmin for linux, downloaded from hp's site (you'll have to search for 
it, I did the same some time ago and don't remember the link)

dragos



Re: Where can I get JetAdmin for Linux?

2002-01-23 Thread Dragos
On Wednesday 23 January 2002 05:10 pm, Dragos wrote:
 On Tuesday 22 January 2002 04:45 pm, Stan Brown wrote:
  I'm replacing a HP-UX workstation with a woody box.
 
  One of the functions of this HP box is to rotuinely check that status of
  a HP jetAdmin printer.
 
  Can I get JetAdmin software for Linux? If so has anyone got a pointer to
  a location?
 
  Any words of wisddom here?

 hello,
 I looked through my files, and I don't have it anymore, but I used to have
 hp webjetadmin for linux, downloaded from hp's site (you'll have to search
 for it, I did the same some time ago and don't remember the link)

 dragos
look what I found quickly:
http://www.hp.com/cposupport/swindexes/hpwebjetad1880_swen.html

dragos



Re: Where can I get JetAdmin for Linux?

2002-01-23 Thread dman
On Wed, Jan 23, 2002 at 05:42:29AM -0600, Gary L. Dolan wrote:
| On Tue, Jan 22, 2002 at 11:29:43PM -0500, dman wrote:
|  
|  Can you ping it?  Can you telnet to it?  (try port 80 for the
|  webserver, 631 to try and do IPP and 9100 for JetDirect; if you type
|  stuff while telnetted to 9100 it will spit out of the printer as plain
|  text)
|  
|  On a jetdirect box at work I get the following :
|  
|  $ nmap 192.168.0.5
| 
| Severl things here that I will try today. I had no luck either
| pinging or trying to telnet, but as I recall I tried only port 631.

At work we have 2 jetdirect boxes and only one of them supports ipp
(the one with the lower model number doesn't).

-D

-- 

In the way of righteousness there is life;
along that path is immortality.
Proverbs 12:28



Re: Where can I get JetAdmin for Linux?

2002-01-23 Thread Dimitri Maziuk
* Gary L. Dolan ([EMAIL PROTECTED]) spake thusly:
 On Tue, Jan 22, 2002 at 05:22:29PM -0600, Dimitri Maziuk wrote:
  
  Well, you could print to it via Samba, or you could plug your
  networked printer into the hub, give it ip address etc., and
  set up CUPS with socket://my.hp.printer:9100/ on the Debian side.
 
 I haven't tried Samba yet, altho did a bit of looking at it. I did
 plug it into the hub, set up a new ip address, but had no luck
 communicating with it.

  When you say tried connecting, did you use crossover cable?
 Yes

I meant, if you were connecting directly to the 2nd NIC on your
box, not if you were plugging it into the hub, of course.

  Did you add route to 192.0.0.192 (or whatever your printer's
 Yes; that's the default on the printer. I also changed the ip
 using the configuration capabilities of the printer.

Hmm. Does the light on the hub come up when you plug in the
printer? Tried different cables? 

Basically, the problem may be with ethernet (NICs, cables), 
tcp/ip (route, netmask), or the printer itself. Once you've
got the first two right, you can nmap the printer and see
what ports are open etc.

Dima
-- 
The wombat is a mixture of chalk and clay used for respiration.  -- MegaHal



Where can I get JetAdmin for Linux?

2002-01-22 Thread Stan Brown
I'm replacing a HP-UX workstation with a woody box.

One of the functions of this HP box is to rotuinely check that status of a
HP jetAdmin printer.

Can I get JetAdmin software for Linux? If so has anyone got a pointer to a
location?

Any words of wisddom here?

-- 
Stan Brown [EMAIL PROTECTED]843-745-3154
Charleston SC.
-- 
Windows 98: n.
useless extension to a minor patch release for 32-bit extensions and
a graphical shell for a 16-bit patch to an 8-bit operating system
originally coded for a 4-bit microprocessor, written by a 2-bit 
company that can't stand for 1 bit of competition.
-
(c) 2000 Stan Brown.  Redistribution via the Microsoft Network is prohibited.



Re: Where can I get JetAdmin for Linux?

2002-01-22 Thread Brian P. Flaherty
Stan Brown [EMAIL PROTECTED] writes:

 I'm replacing a HP-UX workstation with a woody box.
 
 One of the functions of this HP box is to rotuinely check that status of a
 HP jetAdmin printer.
 
 Can I get JetAdmin software for Linux? If so has anyone got a pointer to a
 location?

I don't know if you can get JetAdmin for Linux, but I suggest looking
at CUPS.  I have JetAdmin at work on Solaris and CUPS at home and they
seem pretty similar to me.  When you say check the status of an HP
printer, what do you mean?  Is it something more than a cron job
grepping the result of 'lpstat -p printer'? 

Brian



Re: Where can I get JetAdmin for Linux?

2002-01-22 Thread dman
On Tue, Jan 22, 2002 at 09:45:26AM -0500, Stan Brown wrote:
| I'm replacing a HP-UX workstation with a woody box.
| 
| One of the functions of this HP box is to rotuinely check that status of a
| HP jetAdmin printer.
| 
| Can I get JetAdmin software for Linux? If so has anyone got a pointer to a
| location?

I don't know what the JetAdmin program is, but the HP JetDirect
boxes I've seen have a mini web server in them.  Try pointing your
java-enabled web browser at the jetdirect box and see what happens.  I
remember consitently crashing the JVM when I tried :-) (though it
works on windows; blame sun).

-D

-- 

He who belongs to God hears what God says.  The reason you do not hear
is that you do not belong to God.
John 8:47



Re: Where can I get JetAdmin for Linux?

2002-01-22 Thread Noah Meyerhans
On Tue, Jan 22, 2002 at 10:29:05AM -0500, Brian P. Flaherty wrote:
 
 I don't know if you can get JetAdmin for Linux, but I suggest looking
 at CUPS.  I have JetAdmin at work on Solaris and CUPS at home and they
 seem pretty similar to me.  When you say check the status of an HP
 printer, what do you mean?  Is it something more than a cron job
 grepping the result of 'lpstat -p printer'? 

No, JetAdmin and CUPS/lp* do very different things.  Among other things,
JetAdmin and friends can communicate via SNMP to a networked printer,
allowing you to do fun things like reboot it or query paper status and
things like that.  CUPS/lp* only handle local queue stuff.  They don't
do much talking to printers beyond sending jobs to them.

noah

-- 
 ___
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 


pgpPEOcObOnIU.pgp
Description: PGP signature


Re: Where can I get JetAdmin for Linux?

2002-01-22 Thread Noah Meyerhans
On Tue, Jan 22, 2002 at 09:45:26AM -0500, Stan Brown wrote:
 
 Can I get JetAdmin software for Linux? If so has anyone got a pointer to a
 location?

Hmm.  JetAdmin is just a Java applet, right?  I have not personally used
it, though I have coworkers who do.  IIRC, some JetDirect cards have a
built-in webserver, so if you point your java-enabled browser at the
printer you'll get the Java applet stuff.

Alternatively, if you don't have the right JetDirect cards, I would
guess you could get JetAdmin from HP's web site.

I also recommend getting the SNMP mib for the JetDirect card, which will
allow you to write your own SNMP scripts to talk to the printers.  I've
found this to be extremely useful.

noah

-- 
 ___
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 


pgpXlfy2MbcGb.pgp
Description: PGP signature


Re: Where can I get JetAdmin for Linux?

2002-01-22 Thread Gary L. Dolan
On Tue, Jan 22, 2002 at 04:48:30PM -0500, Noah Meyerhans wrote:
 No, JetAdmin and CUPS/lp* do very different things.  Among other things,
 JetAdmin and friends can communicate via SNMP to a networked printer,
 allowing you to do fun things like reboot it or query paper status and
 things like that.  CUPS/lp* only handle local queue stuff.  They don't
 do much talking to printers beyond sending jobs to them.
 
I hate to leap in here, but I have been just looking at a similar
problem. The basic setup: old standalone NT box, using LaserJet 8000 DN
printer. JetDirect software, and the card, were installed but never
used. New debian box (have to share with W2000) connected to LAN. Is
there any way to use the debian box to (a) feed print jobs to the 8000,
and (b) monitor print status, queue, etc., thru JetAdmin and
JetDirect? The 8000 has to remain with the old NT box as the basic
setup, but it seems a shame to waste it's rather significant potential.
I have looked around for some linux JetAdmin stuff, found nothing.
I have a second card in the new box that I tried connecting to the
JetDirect card, to see what I could do, but so far no luck. 
Perhaps even tho there is no JetAdmin stuff available for linux, are
there other possible ways of controlling this big dog of a printer
thru the debian box? I suspect that the original poster is in somewhat
the same situation, wondering what to do next? Thanks for any decent
suggestions.



-- 
Gary Dolan
Debian GNU/Linux 2.2, Kernel 2.5.1-pre8 
FreeBSD 4.4



Re: Where can I get JetAdmin for Linux?

2002-01-22 Thread Raúl Alexis Betancort Santana
El Tue, Jan 22, 2002 at 04:15:10PM -0600, Gary L. Dolan escribió:
 On Tue, Jan 22, 2002 at 04:48:30PM -0500, Noah Meyerhans wrote:
  No, JetAdmin and CUPS/lp* do very different things.  Among other things,
  JetAdmin and friends can communicate via SNMP to a networked printer,
  allowing you to do fun things like reboot it or query paper status and
  things like that.  CUPS/lp* only handle local queue stuff.  They don't
  do much talking to printers beyond sending jobs to them.
  
 I hate to leap in here, but I have been just looking at a similar
 problem. The basic setup: old standalone NT box, using LaserJet 8000 DN
 printer. JetDirect software, and the card, were installed but never
 used. New debian box (have to share with W2000) connected to LAN. Is
 there any way to use the debian box to (a) feed print jobs to the 8000,
 and (b) monitor print status, queue, etc., thru JetAdmin and
 JetDirect? The 8000 has to remain with the old NT box as the basic
 setup, but it seems a shame to waste it's rather significant potential.
 I have looked around for some linux JetAdmin stuff, found nothing.
 I have a second card in the new box that I tried connecting to the
 JetDirect card, to see what I could do, but so far no luck. 
 Perhaps even tho there is no JetAdmin stuff available for linux, are
 there other possible ways of controlling this big dog of a printer
 thru the debian box? I suspect that the original poster is in somewhat
 the same situation, wondering what to do next? Thanks for any decent
 suggestions.


 Long time ago I used some tools to setup a JetDirect printer under
linux, I promise you that it could be done :), moreover cups support
JetDirect printers, but I don't know if they have to been setup before
or cups setup them.
 BTW looking for jetadmin at fm.net show up 2 projects that seems to
support it, ones from HP and other that also support snmp printers, so
maybe they will be usefull for you.

 Also making a search on google for jetadmin linux show this on the
first position:

 Downloads and Drivers for hp web jetadmin software for ...hp web
jetadmin software drivers and downloads for American English. ...
Microsoft Windows
2000, Linux - Red Hat 7.1. Microsoft Windows NT 4.0, Linux - SuSE
Linux  7.1. ...
www.hp.com/cposupport/swindexes/hpwebjetad1880_swen.html - 49k -
Cached -Similar pages   
 

 So ... I think that HP had tools for jetadmin on linux.

 Have fun!

-- 
   _   _
  // Raúl A. Betancort Santana/ A Dream is an answer to  __   \\   
 // [EMAIL PROTECTED] // question that we don't know  (oo)   \\  
// Dimensión Virtual S.L.   //  how to ask. / \/ \  //  
\ A Linux Solution Provider   /   `V__V' /   


pgpM0P5M1BMZL.pgp
Description: PGP signature


Re: Where can I get JetAdmin for Linux?

2002-01-22 Thread Dimitri Maziuk
* Gary L. Dolan ([EMAIL PROTECTED]) spake thusly:
...
 I hate to leap in here, but I have been just looking at a similar
 problem. The basic setup: old standalone NT box, using LaserJet 8000 DN
 printer. JetDirect software, and the card, were installed but never
 used. New debian box (have to share with W2000) connected to LAN. Is
 there any way to use the debian box to (a) feed print jobs to the 8000,
 and (b) monitor print status, queue, etc., thru JetAdmin and
 JetDirect? The 8000 has to remain with the old NT box as the basic
 setup, but it seems a shame to waste it's rather significant potential.
 I have looked around for some linux JetAdmin stuff, found nothing.
 I have a second card in the new box that I tried connecting to the
 JetDirect card, to see what I could do, but so far no luck. 

Well, you could print to it via Samba, or you could plug your
networked printer into the hub, give it ip address etc., and
set up CUPS with socket://my.hp.printer:9100/ on the Debian side.
The latter is how a bunch of nt, w2k, linux  solaris boxen print
to 2 HPs here (4000 and 4500DN).

When you say tried connecting, did you use crossover cable?
Did you add route to 192.0.0.192 (or whatever your printer's
ip address is)? If that's set up, you should be able to 
telnet to the printer.

Dima
-- 
The wombat is a mixture of chalk and clay used for respiration.  -- MegaHal



Re: Where can I get JetAdmin for Linux?

2002-01-22 Thread Neal Lippman
On Tuesday 22 January 2002 10:29, Brian P. Flaherty wrote:
 Stan Brown [EMAIL PROTECTED] writes:
  I'm replacing a HP-UX workstation with a woody box.
 
  One of the functions of this HP box is to rotuinely check that status of
  a HP jetAdmin printer.
 
  Can I get JetAdmin software for Linux? If so has anyone got a pointer to
  a location?

 I don't know if you can get JetAdmin for Linux, but I suggest looking
 at CUPS.  I have JetAdmin at work on Solaris and CUPS at home and they
 seem pretty similar to me.  When you say check the status of an HP
 printer, what do you mean?  Is it something more than a cron job
 grepping the result of 'lpstat -p printer'?

 Brian


http://www.hp.com/cposupport/networking/software/hpwebjet_linux.selfx.html

Good luck.



Re: Where can I get JetAdmin for Linux?

2002-01-22 Thread Gary L. Dolan
On Tue, Jan 22, 2002 at 05:22:29PM -0600, Dimitri Maziuk wrote:
 
 Well, you could print to it via Samba, or you could plug your
 networked printer into the hub, give it ip address etc., and
 set up CUPS with socket://my.hp.printer:9100/ on the Debian side.

I haven't tried Samba yet, altho did a bit of looking at it. I did
plug it into the hub, set up a new ip address, but had no luck
communicating with it.
 When you say tried connecting, did you use crossover cable?
Yes
 Did you add route to 192.0.0.192 (or whatever your printer's
Yes; that's the default on the printer. I also changed the ip
using the configuration capabilities of the printer.

-- 
Gary Dolan
Debian GNU/Linux 2.2, Kernel 2.5.1-pre8 
FreeBSD 4.4



Re: Where can I get JetAdmin for Linux?

2002-01-22 Thread dman
On Tue, Jan 22, 2002 at 10:03:08PM -0600, Gary L. Dolan wrote:
| On Tue, Jan 22, 2002 at 05:22:29PM -0600, Dimitri Maziuk wrote:
|  
|  Well, you could print to it via Samba, or you could plug your
|  networked printer into the hub, give it ip address etc., and
|  set up CUPS with socket://my.hp.printer:9100/ on the Debian side.
| 
| I haven't tried Samba yet, altho did a bit of looking at it. I did
| plug it into the hub, set up a new ip address, but had no luck
| communicating with it.

Can you ping it?  Can you telnet to it?  (try port 80 for the
webserver, 631 to try and do IPP and 9100 for JetDirect; if you type
stuff while telnetted to 9100 it will spit out of the printer as plain
text)

On a jetdirect box at work I get the following :

$ nmap 192.168.0.5

Starting nmap V. 2.54BETA30 ( www.insecure.org/nmap/ )
Interesting ports on  (192.168.0.5):
(The 1542 ports scanned but not shown below are in state: closed)
Port   State   Service
21/tcp openftp 
23/tcp opentelnet  
80/tcp openhttp
280/tcpopenhttp-mgmt   
515/tcpopenprinter 
631/tcpopencups
9100/tcp   openjetdirect   


Nmap run completed -- 1 IP address (1 host up) scanned in 7 seconds

HTH,
-D

-- 

A perverse man stirs up dissension,
and a gossip separates close friends.
Proverbs 16:28