06-16-2015 04:04 AM
Hi,
The Exaprom pdf is a very useful toolkit, thank you very much for this contribution.
But I have difficulties to re-open a pdf file generated with Exaprom 2.0.
I just want to add new content to the same pdf file without just using concatenation (to avoid blank spaces).
I tried the tips here : http://forums.ni.com/t5/LabVIEW/Concatenate-PDF-files-with-Exaprom-iTextSharp/td-p/2049196/page/2
without success.
I also tried to create a file and fill it using a for loop, but this solution is not satisfying if there is an interruption of the loop (there is not a proper closing - which has to happen after the loop - and so loss of the saved data).
Can you help me on this please ?
Thank you !
06-16-2015 10:44 AM
What do you exactly want to do?
Could you give more details?
Could you post what you have done (LV2013)?
06-17-2015 04:17 AM
I have done a simple example (screenshot) to show what I intend to.
In fact it is a while loop with an event (or condition) loop inside.
I want to re-use the same created pdf. file to add new data.
This way, if I interrupt the loop I can still use the same file.
I wouldn't need to create a new one and concatenate the files or overwhite it and restart from the beggining...
Thanks
06-17-2015 09:40 AM
The short answer is this is not possible, because this imply too much modifications to the library.
06-23-2015 10:04 AM
Ah ok, what a shame !
But in the discussion with Hoovah you highlight an "Open PDFStamper" in "Append Header, Footer and Watermark.vi" in "Close PDF.vi.
Is it possible to try something with it ?
If there is really no solution I will use the concatenation.
Thanks.
06-23-2015 10:27 AM
(you mispelled hooovahh)
And in that case it was just writing a footer or header, over top of an existing footer or header. I think it would be far too complicated to be able to write new content, on the same page as existing content, if you actually not covering up the existing data, which it sounds like you do.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
06-23-2015 10:45 AM - edited 06-23-2015 10:50 AM
The PDF Stamper is for writing over an existing PDF file, not at the end of a PDF file.
We could import pages with PDFWriter, but "the major downside is that all interactive features of the imported page (annotations, bookmarks, fields, and so forth) are lost in the process".
More thant that, the page is add like a template. It is not possible to know where the text stops in the last page. You will have no indication where to start to write the new information on the last page.
06-24-2015 07:20 AM
(Sorry Hooovahh)
Ok I understand.
Thank you for your answers !
Nico