* HPLJ IV with network card
@ 1994-11-06 21:17 Sean Donelan
1994-11-07 9:30 ` Volker Hejny
0 siblings, 1 reply; 5+ messages in thread
From: Sean Donelan @ 1994-11-06 21:17 UTC (permalink / raw)
How can one setup an HP Laserjet 4 with a network card as a printer on
a DEC OSF/1 without HP's unix software?
--
Sean Donelan, Data Research Associates, Inc, St. Louis, MO
Domain: sean@dra.com, Voice: (Work) +1 314-432-1100
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HPLJ IV with network card
1994-11-06 21:17 HPLJ IV with network card Sean Donelan
@ 1994-11-07 9:30 ` Volker Hejny
1994-11-07 9:44 ` Sean Donelan
0 siblings, 1 reply; 5+ messages in thread
From: Volker Hejny @ 1994-11-07 9:30 UTC (permalink / raw)
In article <1994Nov6.161733@sdg.dra.com>, sean@sdg.dra.com (Sean Donelan) writes:
|>
|>How can one setup an HP Laserjet 4 with a network card as a printer on
|>a DEC OSF/1 without HP's unix software?
|>
Hi,
I suppose you've bought the printer with the same card (JetDirect) as
we did.
To boot and configure the printer you have to do the following:
1) Enable the 'bootp' protocol in the '/etc/inetd.conf' file by uncommenting
the line.
2) Enable 'tftp' in the same way. Behind the last entry in the line (tftp)
add (for security) the parameters '-r /boot /boot', where '/boot' is
the directory which contains the configuration file.
With these options tftp adds the path /boot before each requested file
(-r /boot), and allows only to get files out of /boot (second /boot).
If you have already configured tftp you will know what you have to add.
3) Add one entry for your printer in the '/etc/bootptab' file (described
in the manual of the JetDirect card):
hplaser:\
:hn:ht=ether:vm=rfc1048:\
:ha=ethernet-address:\
:ip=internet-address (printer):\
:lg=internet-address (workstation):\
:T144="hplaser.cfg":
In the entry above it is assumed that the name of the printer is hplaser
and the configuration file is named hplaser.cfg
4) Add the file hplaser.cfg in the directory /boot. If the file is empty
it is allowed to print from all workstations. If you want to restrict
the access, read the manual.
5) Restart the 'inetd' process.
Now, your printer should work.
Volker
--
==============================================================================
Volker Hejny | Tel.: 0641 - 702 2783 | \|/ ____ \|/
II. Physikalisches Institut | 2760 | @~ / .. \ ~@
Universitaet Giessen | Fax : 0641 - 74390 | \_( \__/ )_/
Heinrich-Buff-Ring 16 | | \____/
D-35392 Giessen | Internet: hejny@marvin.physik.uni-giessen.de
==============================================================================
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HPLJ IV with network card
1994-11-07 9:30 ` Volker Hejny
@ 1994-11-07 9:44 ` Sean Donelan
1994-11-07 14:02 ` Volker Hejny
1994-11-07 22:05 ` Brent A. Nelson
0 siblings, 2 replies; 5+ messages in thread
From: Sean Donelan @ 1994-11-07 9:44 UTC (permalink / raw)
In article <Cyw52D.EKA@muster.hrz.uni-giessen.de>, hejny@labalpha.physik.uni-giessen.de (Volker Hejny) writes:
> Now, your printer should work.
Ok, I've got everything setup so the printer prints. But I can't
figure out how to configure lpsetup on OSF/1 to print to the JetDirect
card. The DEC manuals only talk about printers connected to LAT and tty
devices.
P.S. I've got it working from a VMS system printing to socket 9100
on the HPLJ.
--
Sean Donelan, Data Research Associates, Inc, St. Louis, MO
Domain: sean@dra.com, Voice: (Work) +1 314-432-1100
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HPLJ IV with network card
1994-11-07 9:44 ` Sean Donelan
@ 1994-11-07 14:02 ` Volker Hejny
1994-11-07 22:05 ` Brent A. Nelson
1 sibling, 0 replies; 5+ messages in thread
From: Volker Hejny @ 1994-11-07 14:02 UTC (permalink / raw)
In article <1994Nov7.044437@sdg.dra.com>, sean@sdg.dra.com (Sean Donelan) writes:
|>> Now, your printer should work.
|>
|>Ok, I've got everything setup so the printer prints. But I can't
|>figure out how to configure lpsetup on OSF/1 to print to the JetDirect
|>card. The DEC manuals only talk about printers connected to LAT and tty
|>devices.
|>
|>P.S. I've got it working from a VMS system printing to socket 9100
|>on the HPLJ.
Sorry, I forgot to say how to setup the printcap file:
With lprsetup you have to select the printer type 'remote'. It's the
same to print with an ethernet printer and to print via a remote workstation.
The remote name ('rm') is the printer name, which you have to add to the
/etc/hosts database and the remote printer ('lp') is 'text' for text
printing and 'raw' for postscript and HPGL. Your printcap entry should
be like:
4|lp4|hplaser|HPLASER:\
:lf=/usr/adm/lp4err:\
:lp=:\
:rm=hplaser:\
:rp=raw:\
:sd=/usr/spool/lpd4:
5|lp5|hplaser_text:\
:lf=/usr/adm/lp5err:\
:lp=:\
:rm=hplaser:\
:rp=text:\
:sd=/usr/spool/lpd5:
with printer 4 for PS and 5 for text.
Hope this will help you,
Volker
--
==============================================================================
Volker Hejny | Tel.: 0641 - 702 2783 | \|/ ____ \|/
II. Physikalisches Institut | 2760 | @~ / .. \ ~@
Universitaet Giessen | Fax : 0641 - 74390 | \_( \__/ )_/
Heinrich-Buff-Ring 16 | | \____/
D-35392 Giessen | Internet: hejny@marvin.physik.uni-giessen.de
==============================================================================
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HPLJ IV with network card
1994-11-07 9:44 ` Sean Donelan
1994-11-07 14:02 ` Volker Hejny
@ 1994-11-07 22:05 ` Brent A. Nelson
1 sibling, 0 replies; 5+ messages in thread
From: Brent A. Nelson @ 1994-11-07 22:05 UTC (permalink / raw)
Sean Donelan (sean@sdg.dra.com) wrote:
: In article <Cyw52D.EKA@muster.hrz.uni-giessen.de>, hejny@labalpha.physik.uni-giessen.de (Volker Hejny) writes:
: > Now, your printer should work.
: Ok, I've got everything setup so the printer prints. But I can't
: figure out how to configure lpsetup on OSF/1 to print to the JetDirect
: card. The DEC manuals only talk about printers connected to LAT and tty
: devices.
: P.S. I've got it working from a VMS system printing to socket 9100
: on the HPLJ.
: --
: Sean Donelan, Data Research Associates, Inc, St. Louis, MO
: Domain: sean@dra.com, Voice: (Work) +1 314-432-1100
There is a program which will allow you to print to an HP JetDirect printer
that can be retrieved by ftp to ftp.cs.umn.edu. The program is
users/lemay/hpdriver-0.4.tar. We're using hpdriver-0.2 on OSF/1 2.0, and
it has been very reliable. Presumably, the new version is, too.
Brent Nelson
brent@phys.ufl.edu
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1994-11-07 22:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-11-06 21:17 HPLJ IV with network card Sean Donelan
1994-11-07 9:30 ` Volker Hejny
1994-11-07 9:44 ` Sean Donelan
1994-11-07 14:02 ` Volker Hejny
1994-11-07 22:05 ` Brent A. Nelson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox