# system.print.createPrintJob - large amount of data (MB) and Print dialog

**URL:** <https://forum.inductiveautomation.com/t/system-print-createprintjob-large-amount-of-data-mb-and-print-dialog/22873>\
**Category:** Ignition\
**Created:** [February 26, 2019, 1:23pm UTC](https://forum.inductiveautomation.com/t/system-print-createprintjob-large-amount-of-data-mb-and-print-dialog/22873 "2019-02-26T13:23:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SBL\_MC](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sbl_mc/32/56813_2.png) [@SBL\_MC](https://forum.inductiveautomation.com/u/SBL_MC)\
**Post date:** [February 26, 2019, 1:23pm UTC](https://forum.inductiveautomation.com/t/system-print-createprintjob-large-amount-of-data-mb-and-print-dialog/22873/1 "2019-02-26T13:23:27Z")

</div>

Hi all,

Trying to print labels from ignition. The first issue I got is when added QR code element the print job is very large. I have seen jobs up to almost 70 MB, and the printer fails. I cannot see any way to reduce DPI or print quality from Ignitions. Hints, please?

# Put this code on a button to print out an image of components in a container component,

# giving very specific print options and removing the ability for the user to configure the print job.

job = system.print.createPrintJob(event.source.parent.getComponent(‘Container’))  
job.setShowPrintDialog(1)  
job.setPrinterName(“Brother QL-1060N”)  
job.setPageHeight(5)  
job.setPageWidth(5)  
job.setMargins(.5)  
job.setOrientation(1)  
job.print()
