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