Hello guys,
I am trying to use pdfCreator as a printer with the system.report.executeAndDistribute
function.
There are no log errors and I have also tried disabling the interactive function within pdfCreator.
Is this even possible or am I doing something wrong ?
Hello,
pdfCreator (https://www.pdfforge.org/en/pdfcreator) is a free application that creates a printer queue and generates a pdf output.
I have a gateway script that prints a report on true...
p = system.tag.readBlocking("[default]test_print")[0].value
if p:
system.tag.writeBlocking("[default]test_print",0)
settings = {'primaryPrinterName': 'PDFCreator', 'backupPrinterName': 'none', 'copies': 1, 'pageOrientation': 'portrait'}
system.report.executeAndDistribute(path='test', project='Test', action='print', actionSettings=settings)
If the output goes to a physical printer there are no problems.
Ignition's reporting tool is fundamentally a PDF creator. If you have Ignition use a printer, it takes the PDF it created internally and prints it. If you then run through PDFcreator you are doing extra work for nothing. (Yes, PDFcreator is a neat program. I use it for some things, too. Doesn't make it appropriate for this usage.)