[97576] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: HP JetDirect and RH 5.1

daemon@ATHENA.MIT.EDU (Fred Lenk RHL Linux account)
Tue Nov 3 19:05:57 1998

From: "Fred Lenk RHL Linux account" <fllnx@CommPower.com>
To: redhat-list@redhat.com
Date: Tue, 3 Nov 1998 16:01:00 -0700
Reply-to: fllnx@CommPower.com
In-reply-to: <000901be0751$b391ba10$0200005a@greg.meltonmachine.com>
Resent-From: redhat-list@redhat.com

Well you dont need to install the JetDirect software like on
Win environment. I put JetDirect administrator software on
an NT which now servers as the "print server" for a bunch of
Windows boxes.

But my linux box serves as the bootp server for the HP
printers with JetDirect cards. When the printer powerup,
they go out and try to find a bootp server that can tell
them what their ip address is (if they have somehow
forgotten it which they sometimes do, especially when
there's a power outage). Once the printer has is ip address,
which is always the same address, you can then add a
"network" printer to your linx box using control-panel after
running startx (Red Hat Linux). My Linux box is also the
DNS, so the printers are also listed in the /etc/hosts file.
When I setup a "network printer", i tell linux that the host
name AND the queue name are the same entry as I put in the
/etc/hosts file. For example, the /etc/hosts file shows

192.xxx.xxx.xxx     hplan1
192.xxx.xxx.xxx     hplan2

So my first network printer (default lp) was configured as
attached to host hplan1, queue hplan1.

As far as the bootp server config:
the file /etc/bootptab shows the following for the first
network pritner:

hplan1:\
  :ht=ether:\
  :ha=0800091dnnnn:\
  :sm=255.255.255.0:\
  :lg=192.yyy.yyy.yyy:\
  :hn:\
  :ip=192.xxx.xxx.xxx:

where lg is the bootp server's ip address (happens to also
be the DNS) and ip is the printer's ip address, and the ha
entry above is a purposely partial MAC or hardware address
of the ethernet board on the JetDirect card. This should
probably be included in your JD docs somewhere.

Once the printer boots up and gets its ip address, you can
actually telnet into it and setup other stuff.

With some printers, you may not need a bootp server if you
can punch in the ipaddress from the printer's control panel.

By the way, with the Linux box thus configured (also 
running SMB), I could actually use it as a backup printer
server by simply modifying the W95/98 and WNT boxes to use
the Linux box printers instead of the NT box printers. But,
I dont because I want to have the print spooler on a
separate system which has very little other use. Makes it
easier to fix and reboot things without impacting too many
aspects of network services.

Hope that helps, fred



> Date:          Tue, 3 Nov 1998 11:45:09 -0600
> From:          "Greg Cox" <greg.cox@meltonmachine.com> To:
>            <redhat-list@redhat.com> Subject:       HP
> JetDirect and RH 5.1

> Can someone please point me to some help.
> I would like to set up RH to plot to a jetdirect card.
> 
> -Cox
> 
> Date:          Tue, 3 Nov 1998 11:45:09 -0600
> From:          "Greg Cox" <greg.cox@meltonmachine.com>
> To:            <redhat-list@redhat.com>
> Subject:       HP JetDirect and RH 5.1

> Can someone please point me to some help.
> I would like to set up RH to plot to a jetdirect card.
> 
> -Cox
> 
> 
Fred Lenk RHL Linux Account
mailto:fllnx@commpower.com


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post