> > I'm having some difficulty in trying to trace a 'fault' when using the = > > newer version of LPRng and ifhp. > > > > If I attach the printer (an HP 8150dn) to LPRng 3.8.5 and ifhp 3.5.3, = > > the job never prints. The logs come back saying "done" etc, but the job = > > just sits in the queue like it's waiting on some response from the = > > printer. > > > > If I attach the same printer to another queue, running LPRng 3.5.3 and = > > ifhp (unknown version) then the job printers straight away. There is no = > > delay between the job hitting the queue and the printer starting up. > > > > Has anyone else experienced this, or have any ideas for testing? > > > > Some details.... > ... > > What is your printcap for this printer? > > Patrick
Hi Patrick, /etc/printcap entry is .common: :sd=/var/spool/lpd/%P :sh:mx=0:mc=0 kwd-y106-lj8150dn|8150 :tc=.common :lp=kwd-y106-lj8150dn%9100 :filter=/local/apps/lprng/filters/ifhp :ifhp=model=hp8150 :done_jobs=0 Just very basic until I can get past this 'issue'. Here's the lpq -llll result... Printer: kwd-y106-lj8150dn@dinadan '8150' Queue: 1 printable job Server: pid 610 active Unspooler: pid 611 active Status: waiting for subserver to exit at 10:29:51.166 Status: subserver pid 611 starting at 10:29:51.188 Status: accounting at start at 10:29:51.190 Status: opening device 'kwd-y106-lj8150dn%9100' at 10:29:51.193 Status: printing job 'root@dinadan+609' at 10:29:57.316 Status: processing 'dfA609dinadan.cit.uws.edu.au', size 146, format 'f', IF filter 'ifhp' at 10:29:57.318 Filter_status: using model 'hp8150' at 10:29:57.918 Filter_status: pagecount using 'pjl info pagecount' at 10:29:57.963 Filter_status: setting up printer at 10:29:57.964 Filter_status: getting sync using 'pjl echo' at 10:29:57.964 Filter_status: id = "LASERJET 8150" at 10:29:58.855 Filter_status: sync done at 10:29:58.909 Filter_status: pagecounter 42 after 1 attempts at 10:29:58.910 Filter_status: pagecounter 42 at 10:29:58.910 Filter_status: sending job file at 10:29:58.919 Filter_status: starting transfer at 10:29:58.919 Rank Owner/ID Class Job Files Size Time active root@dinadan+609 A 609 /home/antony/one.ps 146 10:29:51 The job will now stay listed as 'active' indefinately. The closest I've been able to diagnose is that there is some problem with lpd sending the job out on STDOUT or with ifhp accepting the job on STDIN. Physical result is that the printer data light flashes for 10 seconds (approx) and then stops. I can get this same result by getting ifhp to directly contact the printer (-Tdev=..) while not passing it a file on STDIN. Would love some guidance if possible. Regards, Antony. ----- Unix Systems Administrator School of Computing & IT University of Western Sydney Phone: (02) 4736 0771 Fax: (02) 4736 0770 Programmer (n): One who makes the lies the salesman told come true. She said she had nothing to wear. I smiled. ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
