This is a simple program that prints an Internet Draft (ID) or RFC.


Because of the difference between the number of lines on laser printers and line / dot-matrix printers, each "page" of the draft actually takes up 2 pages and you end up with lots of pages with just a one line footer.

This script tries to fix that by downloading the draft, converting it to a PDF and then printing it.


  This script prints an Internet Draft (or RFC). It does this by
  reading the file (possibly first fetching it from the Internet),
  converting it to a PDF (and doing basic munging on it and then
  sending the PDF to lpr to actually do the printing.

    -F, --file <filename>  -- print this local file.
    -O, --outdir <dir>     -- save the converted PDF in this dir.
    -h, --help             -- this help.
    <url>                  -- fetch (and print) the file at the URL.
         Fetches and prints RFC5635 from the site and prints it.

      ./ -F ~wkumari/docs/IETF/MyDrafts/deprecate-as-sets-00.txt
         Prints the local file called deprecate-as-sets-00.txt.


Source is: