Print to printer / PDF

This script works to save the PDF as the page shows which is great. The next issue is formatting the PDF to export in 8.5 x 11 page format regardless of the window size. Also looking for a 4x6 card format as well to print to a Zebra label printer in shipping. Thanks!