[text at bottom] > > This is VERY interesting. Here is the sequence of events: > > Filter_status: using model 'hp8150' at 10:29:57.918 > - we have a TCP/IP connection > Filter_status: pagecount using 'pjl info pagecount' at 10:29:57.963 > - we want pagecount, etc. > Filter_status: setting up printer at 10:29:57.964 > Filter_status: getting sync using 'pjl echo' at 10:29:57.964 > - we are going to use PJL to see if the printer is alive > Filter_status: id = "LASERJET 8150" at 10:29:58.855 > - it is alive. It is also reporting itself as a LASERJET 8150 > (this is nice to know... as I have had some people trying to > use the wrong commands for a printer...) > Filter_status: sync done at 10:29:58.909 > - And the printer is now in a sane state > Filter_status: pagecounter 42 after 1 attempts at 10:29:58.910 > - The pagecounter value is 42. Ummm... that is really odd, > such a low page count... New printer? probably. > And 42? Life, the Universe, and Everything? Hmm... > Filter_status: pagecounter 42 at 10:29:58.910 > Filter_status: sending job file at 10:29:58.919 > - OK, we now rev up the data transfer > Filter_status: starting transfer at 10:29:58.919 > - and it stops HARD... > > There should be some 'getting 80% ...' stuff. > > Possiblity 1: the printer is dying. > Don't laugh, bad RAM did this to one system. > > OK, we can now debug this brutally. > > cd .../ifhp/UTILS # > cp /tmp/one.ps /tmp # get this test file from the ifhp distribution > > cp sendhp.sh /tmp > > vi /tmp/sendhp.sh > > -- edit the /tmp/sendhp.sh file > #!/bin/sh > out=10.0.0.31%9100 # set the IP address of your printer > #debug=debug=4 > file=/tmp/one.ps > model=model=hp8150 > cp /dev/null /tmp/out > /usr/libexec/filters/ifhp -Tdev=$out,trace,$debug,$model <$file 2>&1 | tee /tmp/log > > ^^^^ set path to ifhp > > Now run this: > > sh /tmp/sendhp.sh > > And you should see: > > ifhp 10:17:50.349 [90025] main: using model 'hp8150' > ifhp 10:17:50.355 [90025] Check_pagecount: pagecount using 'pjl info pagecount' > ifhp 10:17:50.355 [90025] Process_job: setting up printer > ifhp 10:17:50.355 [90025] Do_sync: getting sync using 'pjl echo' > ifhp 10:17:51.978 [90025] Pr_status: id = "LASERJET 8150" > ifhp 10:17:52.078 [90025] Do_sync: sync done > ifhp 10:17:52.082 [90025] Do_pagecount: pagecounter 1126 after 1 attempts > ifhp 10:17:52.083 [90025] Do_accounting: pagecounter 1126 > ifhp 10:17:52.083 [90025] Process_job: sending job file > ifhp 10:17:52.083 [90025] Send_job: starting transfer > ifhp 10:17:52.083 [90025] Send_job: initial job type 'POSTSCRIPT' > ifhp 10:17:52.083 [90025] Send_job: decoded job type 'POSTSCRIPT' > ifhp 10:17:52.083 [90025] Send_job: job type 'POSTSCRIPT' > ifhp 10:17:52.083 [90025] Send_job: transferring 145 bytes > ifhp 10:17:52.083 [90025] Send_job: 100 percent done > ifhp 10:17:52.083 [90025] Process_job: sent job file > ifhp 10:17:52.084 [90025] Do_waitend: getting end using 'pjl job/eoj' > ifhp 10:18:04.196 [90025] Do_waitend: end of job detected > ifhp 10:18:05.875 [90025] Do_pagecount: pagecounter 1127 after 1 attempts > ifhp 10:18:05.876 [90025] Do_accounting: pagecounter 1127, pages 1 > ifhp 10:18:05.876 [90025] Process_job: done > > If this works, then try one of the files you are trying to print: > > ... > file=/this.file.to.print > > and repeat. >
Hi Patrick, Have done the above as instructed and all worked fine, with the reporting text appearing as you listed above. ifhp by itself was always able to print however. The "problem" appears to creep in when lpd is meant to be passing the job to ifhp. Somehow in there (I believe), the job is not being sent by LPRng or not being received by ifhp. This was done using LPRng-3.8.8 and ifhp-3.5.5. Do you have anything else I can try? 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. -----------------------------------------------------------------------------
