Earlier I wrote: > I recently obtained the hp-filters.shar from the Sun archives at > rice.edu, and I was hoping someone could help me with a problem I've > run up against. > > When I ask for a printout (lpr -Plasp or any other name) the fonts > are correctly set but I get endless copies. Truth is, I've never > let it print more than about six. The printer works fine without > either of the filters included. The solution was provided by Don Hooper (hoop@boulder.colorado.edu): > I had just the problem you describe just after my last > upgrade. It turns out that the problem was it couldn't find /var/adm/lj-acct > to record the page counts for the user's job. Performing (as root) > "echo -n >/var/adm/lj-acct" and restart lpd should clear it up. For some > reason I haven't figured out, this file must be writable by everyone. Now, if > you want to know why this causes multiple copies, I'll continue. The filter > is the one trying to open that file at the end of the job. It fails and > returns a non-zero exit status. The lpd daemon notices this and restarts > the job assuming it failed completely! Can you say brain-damage? Of > course, if I'm wrong, then I'm the one with brain-damage. :-)> > > Don Hooper, hoop@boulder.colorado.edu, ...!uunet!ncar!boulder!hoop Well, Don, you are not brain damaged, you hit the nail right on the head. I set up the /var/adm/lj-acct file and *shazam* all works as advertised! Many thanks to Don Hooper for his suggestion and to Brian Utterback for contributing this software. -- .../Paul Maclauchlan Moore Corporation Limited, Toronto, Ontario (416) 364-2600 paul@moore.UUCP -or- ...!uunet!attcan!telly!moore!paul "I've been hitting the town and it didn't hit back."/McC&MacM'89