<iframe src="document.pdf" id="PDFtoPrint"></iframe>
<input type="button" value="Print" onclick="document.getElementById('PDFtoPrint').focus(); document.getElementById('PDFtoPrint').contentWindow.print();">
Save and test your work. You will likely want to save the code with a ".htm" file extension, and then it can be opened in your web browser for testing.
Things you need
- Word processor (such as Notepad)
- Web browser