Add text to existing PDF

Hi, I’m using Railo 4 the moment but considering step to Lucee. In both
engines I have the question how to add a line of text at a certain position
in an existing PDF. So I have a premade PDF (a giftcard) where I want to
add a unique generated code. Right now I am doing this via premade
PNG-imagefiles and then using some CFIMAGE and CFDOCUMENT magic. But can
this not be done directly in the PDF? Thx up front. Sebastiaan

Hi Sebastian,

I know this is possible using ACF and a PDF with form fields using CFPDF (
http://cfdocs.org/cfpdf), however I don’t think Railo or Lucee have CFPDF.
You might be able to do it by invoking a third party PDF library, maybe
PDFBox (https://pdfbox.apache.org/) but without looking I’m not sure.

Kind regards,

Andrew
about.me http://about.me/andrew_dixon
mso http://www.mso.net - Lucee http://lucee.org - MemberOn 28 March 2015 at 15:37, <@onlinebase.nl> wrote:

Hi, I’m using Railo 4 the moment but considering step to Lucee. In both
engines I have the question how to add a line of text at a certain position
in an existing PDF. So I have a premade PDF (a giftcard) where I want to
add a unique generated code. Right now I am doing this via premade
PNG-imagefiles and then using some CFIMAGE and CFDOCUMENT magic. But can
this not be done directly in the PDF? Thx up front. Sebastiaan


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/16808a6a-c603-4c14-b904-5a29352bcba0%40googlegroups.com
https://groups.google.com/d/msgid/lucee/16808a6a-c603-4c14-b904-5a29352bcba0%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.