Jump to content

Recommended Posts

Dear Users,

 

I am again in need of some advice.

 

I looking to build a PDF templating system with dynamic bits of text using PHP and mySQL. The typical scenario would include a user creating html code from a wysiwyg such as TinyMSE or similar and then generating a PDF from the created HTML code. Some text in the html code will be dynamic and specified by tags such as <USERNAME> will be replaced by the required text.

 

At the moment I am planning to use libarary called DOMPDF which generates PDFs from html code as input, but after numerous attempts I have concluded that its no where near enough accurate and consistent. The main problem being that dompdf doesnt like the way the wysiwyg produces the html and doesnt really produce great results.

 

Now I am willing to go in a different direction and open to idea on what other systems am I able to use that will produce exactly the same results as you see on a web based editor.

 

Any ideas welcome, if more information is required please state so.

 

Thanks in advance

Alex

Link to comment
https://forums.phpfreaks.com/topic/188175-pdf-templating-web-based/
Share on other sites

  • 2 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.