Recent

Author Topic: dynamic document template to pdf  (Read 171 times)

marcusadamski

  • Newbie
  • Posts: 4
dynamic document template to pdf
« on: October 25, 2020, 11:53:03 am »
Hello,

I'm exploring how to create an application to: select between several (pre-made) document "templates", allowing elements of those templates to configured through the application, then generating a pdf of the template. Would like to have the ability to embed images.

My first approach would be to use a readable text-based format like  rtf, html, LaTeX etc for the templates, and allow the app to adjust as needed (specifying text, images etc), before generating a pdf.

I've been looking around the documentation and the closest I've seen is "fcl-pdf" - but that has to be programmatically generated rather than using a readable, text-based, template. Although flexible, it looks tricky to design a document using fcl-pdf.

Was looking for some suggestions on how to approach this? 

Many thanks for any help,
Marcus

jamie

  • Hero Member
  • *****
  • Posts: 3790
Re: dynamic document template to pdf
« Reply #1 on: October 25, 2020, 04:29:18 pm »
I've found that using a form on the screen, one that will be the same as the printer using a timage so that the complete form is there and then use the PDF printer to send it and it works …

 you do need to scale the output to match your printer dpi .

at this least this way you can get a preview of what you want before printing it.

The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018