• palordrolap@fedia.io
    link
    fedilink
    arrow-up
    5
    ·
    5 days ago

    From the man manual page: man -t name-of-command | lpr -Pps

    This dumps the manual page, along with relevant formatting, to the default Postscript-capable printer attached to the system.

    There are ways to print all manual pages this way, but you’re gonna need a lot of paper. Bash’s manual page is getting towards 100 pages* and ffmpeg’s runs to nearly 700.

    By comparing compressed sizes in /usr/share/man/man1 and the equivalent page count of those two commands, I reckon my system’s full complement of manuals would be on the order of 35- to 40,000 pages.

    * Figures obtained by using man -t name-of-command | ps2pdf - outputname.pdf to create PDFs instead, then scrolling to the end. I neither have a printer nor want to actually print anything.