Script to automate PDF for printing from html text files