I am trying to allow operators to print various screens and reports at will.
I have installed a printer (via USB) that they had onsite. I am able to print test pages from windows.
I also installed a virtual PDF printer and can print to it from notepad, wordpad and the like.
When I call the function above, I am only given the option to print to the “Microsoft XPS Document Writer”. No other printer show up in the list. Therefore I am unable to print either screens or reports, as the report print command appears to use the same function.
Code I am calling is below:
////////////////////////////////////////////////////////////////
job = system.print.createPrintJob(event.source.parent)
job.setMargins(0.5)
job.zoomFactor = 0.75
job.showPageFormat = 0
job.print()
////////////////////////////////////////////////////////////////
Is there a place to add these printers to this function? are there additional drivers that I need to install?
Thanks for any help.