Instead of `paps`, you could also try
... | sed -re 's/$/\n\n/' | uniq | man -Tps -l - | ...
If you have groff, you can also have `man` go straight to PDF.