From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b958dfe5f4629d07 X-Google-Attributes: gidfee84,public From: Labonte Subject: Re: PCL Printing in 4.0E Date: 1999/04/02 Message-ID: <7e2vlp$s5o$1@lead.zk3.dec.com>#1/1 X-Deja-AN: 462010418 Content-Transfer-Encoding: 7bit References: <7dvr5p$u86$1@reader1.reader.news.ozemail.net> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: UBPG Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 best guess ... Assuming you can ping the jetdirect box try the following... Create a generic_text print queue connected to /dev/lp0 . As ROOT edit the /etc/services file and create a socket name for a port on the JetDirect. eg: hp_port1 9100/tcp hp_port2 9101/tcp hp_port3 9102/tcp 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" ) Edit the previously created print queue and change the lp value to: :lp=@jetdirect_host_name/hp_port1:\ If the printer is on port 2 then use hp_port2, etc.. Change or add ct setting to `:ct=tcp:\'. If everything went well you should be able to print. Example of a completed printcap entry: pr|lp:\ :ct=tcp:\ :if=/usr/lbin/pcfof +Cgeneric_text.pcf:\ :if=/usr/lbin/ln03rof:\ :lf=/usr/adm/lperr_pr:\ :lp=@jetdirect_host_name/hp_port1:\ :mx#0:\ :of=/usr/lbin/pcfof +Cgeneric_text.pcf:\ :pl#66:\ :pw#80:\ :rw:\ :sd=/usr/spool/print/pr:\ :xf=/usr/lbin/xf: Add :sh:\ to suppress the banner page. tony wrote: > tony <#####*^%tony.pomeroy@southmark.com.au> wrote in message ... > >Does anyone know how to set up a PCL Printer (HP DeskJet 694C) connected > via > >a Jetdirect 3 Port. > >The Remote printing side has been setup OK and prints text fine. Obviouslly > >the printer doesn't support postscipt. > > > >Tony P > > > >