Added -printpdf command line option.