From: Ernest LaBonte <labonte!@!zk3.dec.com>
Subject: Re: how do I add a laserjet III Si with jetdirect card to dunix 4.0d
Date: 1999/03/04 [thread overview]
Message-ID: <7bmhu3$ql$1@lead.zk3.dec.com> (raw)
In-Reply-To: BCkD2.276$oe3.31968@PM01NEWS
Tcp/ip printing provides more flexibility by using print filters where
lpd remote printing does not.
Which print filter to use really depends on your specific printing needs.
A good starting point would be to use the ps_level1of filter.
-- generic tcp/ip setup instructions ---
These directions are for Compaq Tru64 (Digital) UNIX V4.0 and later.
1) An IP name and address must be obtained for the printer. Once
you have an IP address refer to the printer documentation to
set it in the printer.
Let say for this example the IP name is pr.local.com.
If you can ping the printer continue on.
2) Now you need to know the socket address for that printer.
Known
socket address are:
Digital DEClaser 3500 10001
DEClaser 5100 10001
LN15 3001
LN17 2501
LN20 35
LN40 35
HP Printers 9100
Lexmark Printers 9100
Xerox Printers 2000, 2501
As ROOT edit the /etc/services file and create a socket name
for your printer. Example entry for socket 2501.
port_2501 2501/tcp
I chose the name port_2501 but any name can be used.
3) Now that the services file has been updated, restart the inetd
deamon by sending it a SIGHUP. This needs to be done to reload
the updated services files. eg:
# ps ax | grep inetd
446 ?? I 0:00.17 /usr/sbin/inetd
966 ttyp2 S + 0:00.01 grep inetd
# kill -HUP 446
446 is the process ID number and will not be the same.
( You could also use the command "rcinet restart" )
4) Now use lprsetup to create the print queue and make the
necessary
printcap/printfilter changes. For this example the ln03r
printer
was selected.
Edit the printcap and change the lp value to:
:lp=@pr.local.com/port_2501:\
The ip name and port name were defined in the previous steps.
Change the ct setting to `:ct=tcp:\'.
5) If everything went well you should be able to print.
Example of a completed printcap entry:
pr|lp:\
:ct=tcp:\
:if=/usr/lbin/ln03rof:\
:lf=/usr/adm/lperr_pr:\
:lp=@pr.local.com/port_2501:\
:mx#0:\
:of=/usr/lbin/ln03rof:\
:pl#66:\
:pw#80:\
:rw:\
:sd=/usr/spool/print/pr:\
:xf=/usr/lbin/xf:
Joe wrote:
> I'm trying to add a laserjet III Si with jetdirect card to dunix 4.0d
> ok...
> Is the 3Si supposed to be in PCL or PS mode?
> What should I use for the if:? of:?
>
> hpnp under sunos 4.1.3 worked as a total no-brainer, one queue and the
> printer knew how to handle ps and ascii text.
>
> thanks for any help
> --joe
next prev parent reply other threads:[~1999-03-04 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-04 5:00 how do I add a laserjet III Si with jetdirect card to dunix 4.0d Joe
1999-03-04 5:00 ` Ernest LaBonte [this message]
1999-03-04 5:00 ` tony
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox