Do the following, with whatever other options you care to include: :lp=/dev/null :ifhp=dev=kwd-y106-lj8150dn%9100
...this, in my experience, is the only thing that ever works. Enjoy! ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | | Ryan Novosielski - Jr. UNIX Systems Admin |$&| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630 On Tue, 29 Jan 2002, Antony Healey wrote: > Hi, > > I'm having an issue trying to run fairly current versions of LPRng (3.8.4) > and ifhp (3.5.3). > > The problem creeps in when I add > > :ifhp=model=hp8150 > :filter=/local/apps/lprng/filters/ifhp > > If I don't use filter= at all, then the job will print. ASCII jobs do the > carriage return stepping problem. PS jobs appear to print fine. > > When the printer is attached to our production queue, running LPRng (3.5.3) > and ifhp (unknown), it all works fine. I would like to upgrade the software > the later version though. > > The full printcap entry I'm using at the moment is... > > kwd-y106-lj8150dn|8150 > :cm=HP8150dn (Y106) > :lp=kwd-y106-lj8150dn%9100 > :sd=/var/spool/lpd/%P > :as=|/local/apps/lprng/filters/start_accounting.sh > :ae=|/local/apps/lprng/filters/stop_accounting.sh > :af=accounting.log > :ifhp=model=hp8150 > :filter=/local/apps/lprng/filters/ifhp > > I've tried adding status@ to ifhp= but with no benefit. Removing :ae and :as > makes no difference. > > I'm at a loss as to why it just seems to halt. > > The file "status.kwd-y233-lj8150dn" contains the following:- > > waiting for subserver to exit at 2002-01-29-14:39:19.747 ## A=<NULL> > number=0 process=835 > subserver pid 836 starting at 2002-01-29-14:39:19.770 ## > A=antony@dinadan+834 number=834 process=836 > accounting at start at 2002-01-29-14:39:19.770 ## A=antony@dinadan+834 > number=834 process=836 > Filter_file: pgm '|/local/apps/lprng/filters/start_accounting.sh' exited > with status 'JSUCC' at 2002-01-29-14:39:19.928 ## A=antony@dinadan+834 > number=834 process=836 > opening device 'kwd-y106-lj8150dn%9100' at 2002-01-29-14:39:19.929 ## > A=antony@dinadan+834 number=834 process=836 > printing job 'antony@dinadan+834' at 2002-01-29-14:39:19.938 ## > A=antony@dinadan+834 number=834 process=836 > processing 'dfA834dinadan.cit.uws.edu.au', size 146, format 'f', IF filter > 'ifhp' at 2002-01-29-14:39:19.939 ## A=antony@dinadan+834 number=834 > process=836 > > > The file "status" says this:- > > using model 'hp8150' at 14:39:20.300 > pagecount using 'pjl info pagecount' at 14:39:20.346 > setting up printer at 14:39:20.347 > getting sync using 'pjl echo' at 14:39:20.347 > sync done at 14:39:21.245 > pagecounter 0 after 1 attempts at 14:39:21.282 > pagecounter 0 at 14:39:21.282 > sending job file at 14:39:21.286 > starting transfer at 14:39:21.287 > > > lpq says this (even after 5 minutes):- > > Printer: kwd-y106-lj8150dn@dinadan 'HP8150dn (Y106)' > Queue: 1 printable job > Server: pid 835 active > Unspooler: pid 836 active > Status: processing 'dfA834dinadan.cit.uws.edu.au', size 146, format 'f', IF > filter 'ifhp' at 14:39:19.939 > Filter_status: starting transfer at 14:39:21.287 > Rank Owner/ID Class Job Files Size Time > active antony@dinadan+834 A 834 one.ps 146 > 14:39:19 > > The 'data' light on the printer flashes for a few seconds, like it's > receiving something, but then that's it. It doesn't start up etc. > > Does anyone have any suggestions 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. > ----------------------------------------------------------------------------- > ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
