I had a report being printed from the system.report.executeAndDistribute function which printed to a local printer. Below is the example code which worked for this local printer:
settings = {'primaryPrinterName': 'HP LaserJet M608 [847294]', 'backupPrinterName': 'none', 'copies': 1, 'printBothSides': True,
'collate': True, 'useRaster': False, 'rasterDPI': 1200, 'useAutoLandscape': False, 'pageOrientation': 'portrait'}
system.report.executeAndDistribute(path='FurnaceCycle', parameters=params, action='print', actionSettings=settings)
They now want to print to a network printer. I was given the printer path of
\puscgp03\gacoai293512p.
How would the code above change now that its not a local printer but a network printer? I am assuming that I can’t put the path above in place of the primary printer name