Jump to content

PDF Generate


Recommended Posts

I use Cute PDF to create pdf non programatically

I like this app too, have always wanted to check out the api to see if I could build a wrapper for LabVIEW but you have to pay to get the SDK. :(

I think I looked at this code once too and associated app

But UAC in Vista was blocking the app and I had to switch it off to get it to work.

I didn't like this, so I left it - but it did work (and it was free).

Link to comment
  • 3 years later...

I've used PDFCreator in the past for generating PDFs using the print to PDF feature.  I remember one particular version had a .NET API so that you could have a little more control.  This also allowed it to work without having to change what the default printer on the system was.

Link to comment

I've used PDFCreator in the past also and found it's worked well. More recently I've used iTextSharp, which is a .NET adaptation of iText, and had good luck with it. Admittedly, I haven't done any fancy or detailed PDF reports.

 

Side note: I may need to update our internal report library to make use of the new features.

Link to comment
  • 1 year later...

This is an old thread, but rather than start a new one, I thought I would reply here with some code.  I wrote a subVI that uses the COM interface of the latest version of PDF Creator (2.1).  It takes a VI ref as an input and prints the front panel to a PDF programmatically.  It also sets the file name so there is no pop-up.  You will need to install PDF Creator 2.1 and enable Auto-Save manually in the profile settings.  All I can say is it works for me.  If it doesn't work for you, you might have to fiddle with it.  Buy, hey, it's free!

Print VI panel to PDF.vi

post-17965-0-66876200-1432741674_thumb.p

Link to comment

Recently the PDF creating toolkit using ItextSharp by Exaprom has been updated to version 2.0.

 

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

 

The toolkit is very well put together and I've used it on a couple projects.  The example generates the manual for the toolkit, and it is pretty impressive to see all the features of the toolkit demonstrated, by generating the user manual.

  • Like 2
Link to comment

Recently the PDF creating toolkit using ItextSharp by Exaprom has been updated to version 2.0.

 

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

 

The toolkit is very well put together and I've used it on a couple projects.  The example generates the manual for the toolkit, and it is pretty impressive to see all the features of the toolkit demonstrated, by generating the user manual.

 

Ooooh, that's a bit sexy-have a like! I think you have just given me have a brain-wave (maybe a brain-fart, difficult to tell at the moment)

 

I've been thinking a bit about the SQLite API for LabVIEW recently because it has been pretty much feature complete for a while now and no-one is requesting any new features and either there are no bugs or no-one is telling me.

 

Your post to that software has given me the embryo of an idea of a possible improvement to the library. It can already export data to CSV and SQL, mainly for archiving purposes, but what about PDF (or HTML for that matter) for report generation?. I think it might be nice to be able to generate reports directly from a DB and squirt them out to, say, PDF.

 

I'll have to have a think on this.Thanks for pointing out that software.

Edited by ShaunR
  • Like 1
Link to comment

Recently the PDF creating toolkit using ItextSharp by Exaprom has been updated to version 2.0.

 

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

 

The toolkit is very well put together and I've used it on a couple projects.  The example generates the manual for the toolkit, and it is pretty impressive to see all the features of the toolkit demonstrated, by generating the user manual.

 

Well now I'm unhappy we paid for this awhile back.  http://sine.ni.com/nips/cds/view/p/lang/en/nid/211148

Link to comment

Well now I'm unhappy we paid for this awhile back.  http://sine.ni.com/nips/cds/view/p/lang/en/nid/211148

Well they aren't the same, or made by the same company.  There are likely features available in one and not the other, and you likely paid for any support you needed.

 

That being said I'm super impressed with the Exaprom one and wouldn't mind paying (a reasonable) fee if I needed it.

Link to comment

Well they aren't the same, or made by the same company.  There are likely features available in one and not the other, and you likely paid for any support you needed.

 

That being said I'm super impressed with the Exaprom one and wouldn't mind paying (a reasonable) fee if I needed it.

 

From the comments I see that there is some sort of vague licensing requirement for commercial use.

Link to comment
  • 2 months later...

The "Custom PDF Generator for LabVIEW - Simplicity AI" and "Exaprom PDF" are both based on "iTextSharp 4.1.6".  They have the same licensing requirement.

 

Il you take a look at the end user license agreement (EULA) for Simplicity AI (\LabVIEW 201X\vi.lib\Simplicity AI\SAI_PDF_API\PDF_Toolkit_EULA.pdf"):

 

"14.1 The software includes and uses the ItextSharp version 4.1.6 open source PDF library, which is licensed under LGPL (GNU Lesser General Public License)."

 

Jean-Marc

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.