typesetting manpage for 6 inch ebook reader
Find out the gz file for the man page, and run the command (here we took bash as example).
cat /usr/share/man/man1/bash.1.gz | gunzip - | groff -Tps -dpaper=b6l -P-pb6 -P-l -man | ps2pdf - /tmp/bash.man.pdf