From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4c3e30222d5251ae X-Google-Attributes: gidfee84,public From: Ernest LaBonte Subject: Re: how do I add a laserjet III Si with jetdirect card to dunix 4.0d Date: 1999/03/04 Message-ID: <7bmhu3$ql$1@lead.zk3.dec.com>#1/1 X-Deja-AN: 451235979 Content-Transfer-Encoding: 7bit References: X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: UBPG Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 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