PDF Viewer Auto select Landscape and 11x17 when printing

For some reason it seems as if the print function in Ignition is not recognizing the default paper size of the printer, is there a way to script the layout and paper size when printing from the PDF viewer component? I have tried system.print.createPrintJob(event.source.parent) but this prints the component instead of the components contents.