I think I've figured out the three-times-repeated problem.
The default value of lprng's config parameter "send_try" is three.
And I changed my lpr filter recently, adding a program that calls
tcdrain(1); apparently that's not legal on parallel port devices, so
that program exited with failure, which led lpd to think that the
filter had failed and that it should try again.
I've eliminated the drain program from the filter and I'm not getting
repetition any more. But I wonder what could have caused the corruption
that led me to introduce the drain program in the first place. I've
just change to using an interrupt instead of polling; maybe I should put
it back to polling to see if anything changes.
-- Chip Salzenberg - a.k.a. - <chip@pobox.com> "Nice shooting, Zanthar!" "Thanks, Denise." // MST3K - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu