https://github.com/michaeldv/awesome_print port
