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()