From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,84a44a713c9b1753 X-Google-Attributes: gidfee84,public From: Labonte Subject: Re: How to connect printer HP1600CM via Jetdirect interface? Date: 1999/05/06 Message-ID: <7gs5he$r2a$1@lead.zk3.dec.com>#1/1 X-Deja-AN: 474748091 Content-Transfer-Encoding: 7bit References: <37313D91.662B7BC4@tde-online.de> 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 is available in the V4.0 releases however not supported or documented until V4.0a. The documentation is in release notes or system admin guide depending on the os version. Setup instructions provided below. 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. 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. HP printers use socket address 9100. As ROOT edit the /etc/services file and create a socket name. ie: port_9100 9100/tcp I chose the name port_9100 but any name can be used. 3) Now that the services file has been updated, restart the inetd to load the changes. I don't believe this needs to be done but I have gotten into the habit of restarting inetd when changing the 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 ps_level1 printer was selected. Edit the printcap and change the lp value to: :lp=@pr.local.com/port_9100:\ 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/ps_level1of:\ :lf=/usr/adm/lperr_pr:\ :lp=@pr.local.com/port_9100:\ :mx#0:\ :of=/usr/lbin/ps_level1of:\ :pl#66:\ :pw#80:\ :rw:\ :sd=/usr/spool/print/pr:\ :xf=/usr/lbin/xf: Burkhard Schultheis wrote: > Hi, > > how can I connect a HP1600CN postscript printer via Jetdirect interface? > Which software to install? I've found nothing about this printer in the > DEC documentation and in the printer installation in SysMan. > Thank you in advance! > -- > Burkhard Schultheis > Tele Data Electronic > Wagnerstr. 10 > D-76448 Durmersheim