Why not use something like http://github.com/susam/texme as a starting point? Really easy to turn any Markdown document into a rendered HTML with a single line of code in the header.
This rendered HTML could be converted to PDF and printed or the self-rendered HTML itself could be printed directly.