LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generate A Report and Save In PDF

Solved!
Go to solution

Hi All,

 

Attached VI i am working on.,

 

Here I'm trying to generate a report by appending chart image into that and save the report as pdf.

 

But i coudnt able to save it in pdf.

 

In the path dialog box,eventhough i give file name as.PDF,still i coundt able to print in pdf and when i tried to open it became corrupted.

 

please help out of this

Download All
0 Kudos
Message 1 of 4
(3,719 Views)
Solution
Accepted by topic author Dskp

I started down the "save as PDF from Word" path a while back but I've never gotten around to completing the VI.  I believe what you'll need to do is use "Word Get ActiveX References.VI"  and document.SaveAs2 method (invoke node).  You need to wire an integer "17" to the variant "file format" input.

Message 2 of 4
(3,699 Views)
Solution
Accepted by topic author Dskp

Hi,

 

Find link for PDF file saving.

 

https://decibel.ni.com/content/docs/DOC-25831

 

Regards,

 

Bijay

Message 3 of 4
(3,662 Views)

HI,

 

Thanks..It worked for me.

0 Kudos
Message 4 of 4
(3,648 Views)