Support for render-only embedded templates in PDF printer, added two new hooks printing.pdf and printing.plain