lpd keeps printing the same file over and over -- HELP

Joel Huddleston j1h9453 at aim1.tamu.edu
Thu Apr 11 00:23:51 AEST 1991


In article <1991Apr9.161710.29024 at leland.Stanford.EDU> kocks at jessica.stanford.edu (Peter Kocks) writes:
>We had a perfectly functioning lpd filter to print files on our HP
>when all of a sudden the lpd seemed to want to reprint the same file
>over and over and over agian.  
>
>I heard this was a bug.  Does anyone know of a fix?

I had this problem with an lpd filter that I got off of the net.

To fix it, I added exits to the code which would return the correct
status to the lpd.  The most important was the exit(0); at the very
end of both the input and output filters.

Joel Huddleston  eka j1h9453 at zeus.tamu.edu
     Peace: Not just the absence of war but the absence of fear.
       War: Not just the absence of peace but the absence of cowardice.
Disclaimer: Not just the absence of blame but the absence of repsponsiblilty.



More information about the Comp.unix.ultrix mailing list