From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076343421796.tru64-unix-managers.marc@archive.invalid> From: Daniel.Clar () supelec ! fr (Daniel Clar) Date: Fri, 20 Dec 1996 12:34:56 +0000 To: tru64-unix-managers Subject: First Summary : TCP/IP Printing on a HP4M printer X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076343421796 The original message was : > Hello managers, > > I've installed an HP4M printer on an Alphastation 255 following the > documentation (Release Notes du 4.0a page 2-13 and following). > > Here is my printcap file : > > # cat /etc/printcap > lp|lp0|0|hp4csg|lp:\ > :af=/usr/adm/lpacct:\ > :ct=tcp:\ > :if=/usr/lbin/hplaser4psof:\ > :lf=/usr/adm/lperr:\ > :lp=@hp4csg/hp4m:\ > :mx#0:\ > :of=/usr/lbin/hplaser4psof:\ > :pl#66:\ > :pw#80:\ > :rw:\ > :sd=/usr/spool/lpd:\ > :xf=/usr/lbin/xf: > > I've added the following line in /etc/services : > > hp4m 9100/tcp # imprimante hp4M > > And issued the rcinet restart command. > > At each time I try to print something, I've the following lines in the lpr.log > file : > > Dec 13 14:37:15 x4164 lpd[1284]: lp: Daemon filter 'f' terminated (-1) > Dec 13 14:37:15 x4164 lpd[1284]: lp: filter/access error for dfA004x4164.ain.fr > Dec 13 14:37:15 x4164 lpd[467]: pid=1284 (sig=-1,err=0) > > > Some ideas ? > > Thanks > > Daniel > Thanks to Darryl Cook (pgmr@ppalf.appstate.edu) About the only difference I see in yours and mine is the xf variable. Have you tried taking it out? I dont think you need it anyway. I'll send you mine and you can compare it. There are a few differences but not many. I dont have the ct=tcp but i think mine worked with and without it so I left it off. Try taking out the of and if filter and see what happens there as well. btw: what version of os are you running? balaser|lp9:\ :if=/usr/lbin/hplj3si:\ :lf=/usr/adm/lp9err:\ :lp=@ba_tcp.appstate.edu/rmtcp:\ :of=/usr/lbin/hplj3si:\ :rm=:\ :rp=:\ :sd=/usr/spool/lpd9:\ :sh: ------------In fact , it's a hplj3si above----------- To Jimmy Shaffer (shaffer@sru.edu) This is my print cap file, I am printing to a hp lazer jet 4m+ I am running Digital Unix 3.2d-2 lp|lp0|0|HP4M|Networking:\ :af=/usr/adm/lpacct:\ :if=/usr/lbin/hplaser4psof:\ :lf=/usr/adm/lperr:\ :lp=/bin/lp:\ :mx#0:\ :of=/usr/lbin/hplaser4psof:\ :pl#66:\ :pw#80:\ :rm=printer.maltby.sru.edu:\ :rp=text:\ :rw:\ :sd=/usr/spool/lpd:\ :xf=/usr/lbin/xf: lp1|1|ps:\ :af=/usr/adm/lp1acct:\ :if=/usr/lbin/hplaserof:\ :lf=/usr/adm/lp1err:\ :lp=/dev/lpps:\ :mx#0:\ :of=/usr/lbin/hplaserof:\ :pl#66:\ :pw#80:\ :rm=printer.maltby.sru.edu:\ :rp=raw:\ :rw:\ :sd=/usr/spool/lpd1:\ :xf=/usr/lbin/xf: ----------------------------------------- And few others through phone calls. I've tried also on my side to remove either the 'of' line or the 'if' line from the printcap file. Without the 'if' line it's working but only for postscript files of course. As you can see in the above printcap file, the filter used for postscript files is hplaserof and not hplaser4psof and the two printers are declared remote and note with ct=tcp. So my conclusion today is that there is a problem with the printer filter files when tcp is used as described in the 4.0a Release Notes. Daniel o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o | Daniel Clar e-mail : Daniel.Clar@supelec.fr | | Computer Operations Manager : dc@supelec.fr | | Service Informatique Supelec and | | Plateau de Moulon DECUSF::CLAR_D or clar_d@decus.fr | | 91192 Gif sur Yvette Cedex - France | | Tel : (33 1) 69 85 14 87 Fax : (33 1) 69 85 12 34 | o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o