# Using system.print in place of 3rd party software, printing from gateway?

**URL:** <https://forum.inductiveautomation.com/t/using-system-print-in-place-of-3rd-party-software-printing-from-gateway/38094>\
**Category:** Ignition\
**Tags:** ignition79, ignition80\
**Created:** [August 26, 2020, 1:42pm UTC](https://forum.inductiveautomation.com/t/using-system-print-in-place-of-3rd-party-software-printing-from-gateway/38094 "2020-08-26T13:42:39Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![yifeiliu08](https://avatars.discourse-cdn.com/v4/letter/y/bbe5ce/32.png) [@yifeiliu08](https://forum.inductiveautomation.com/u/yifeiliu08)\
**Post date:** [August 28, 2020, 2:36pm UTC](https://forum.inductiveautomation.com/t/using-system-print-in-place-of-3rd-party-software-printing-from-gateway/38094/5 "2020-08-28T14:36:04Z")

</div>

i have try to use the ignition's system.print function in my factory's process to create barcode

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/9/19cf45683e70d15b9c7ee57e0cbb44ced6d9b620.png)  
i use a template to create a image in the mainwindows  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/6/36b1e6631a798e30280da71ab3f2ff793413bd75.png)  
then i write a scripting in the client event, if 1 cycle complete , the opc tag will trigger the print function , it will automatically print a label

> [@system.print.createPrintJob auto print](http://forum.inductiveautomation.com/t/system-print-createprintjob-auto-print/32791):
>
> [image] Script job =system.print.createPrintJob(event.source.parent.getComponent(‘PrintLabel’)) job.setPrinterName(‘Argox CP-3140L PPLB’) job.print() but if i create a automatically print without notification it will appear many page i don’t know how to do this scripting if no reminder , that can print only 1 page.

i can share you what i learn from this forum

---

_[View the full topic](https://forum.inductiveautomation.com/t/using-system-print-in-place-of-3rd-party-software-printing-from-gateway/38094)._
