09-18-2020 02:47 AM
Attach works perfectly!
One last question 😄
Is there a "print pdf" function such as RGT's "print report" or should i just use System Exec.vi?
09-18-2020 03:09 AM - edited 09-18-2020 03:12 AM
@AeroSoul wrote:
Attach works perfectly!
One last question 😄
Is there a "print pdf" function such as RGT's "print report" or should i just use System Exec.vi?
I deliberately kept this out of the toolkit. Reliably printing PDFs is hard.
You need a viewer, the toolkit doesn't render at all. But Acrobat tends to popup, or open, or splash dialogs when printing. It also needs installing and updating. Updating changes things...
Using system exec or shellexecute usually makes it simple in general to print.
You can also use Acrobat ActiveX container in LabVIEW. (LoadFile, PrintAll).
AFAIK, GhostScript is the only way to do it without installing anything and without popups.
It's not that hard to set something up that works, but to make a VI that works for everyone is hard. So, no VI in the toolkit.
Also, the toolkit is platform independent. With little effort, it runs on Linux, MacOS, cRIOs (VxWorks, Pharlap and Linux). Supporting a print function for all of them would be hard.