# PDF Viewer Auto select Landscape and 11x17 when printing

**URL:** <https://forum.inductiveautomation.com/t/pdf-viewer-auto-select-landscape-and-11x17-when-printing/12119>\
**Category:** Ignition\
**Created:** [September 12, 2016, 3:38pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-auto-select-landscape-and-11x17-when-printing/12119 "2016-09-12T15:38:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaronkneeland](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@aaronkneeland](https://forum.inductiveautomation.com/u/aaronkneeland)\
**Post date:** [September 12, 2016, 3:38pm UTC](https://forum.inductiveautomation.com/t/pdf-viewer-auto-select-landscape-and-11x17-when-printing/12119/1 "2016-09-12T15:38:06Z")

</div>

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.
