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

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


i use a template to create a image in the mainwindows

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

i can share you what i learn from this forum