3 lines
113 B

#!/bin/bash
html2ps -b http://localhost:21002/ | gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite "-sOutputFile=-" -f "-"