LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving report to PDF without Word Licence

Solved!
Go to solution

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?

 

0 Kudos
Message 11 of 12
(393 Views)

@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.

Message 12 of 12
(388 Views)