ruski Posted January 12, 2010 Share Posted January 12, 2010 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 Quote Link to comment Share on other sites More sharing options...
marlonbtx Posted January 20, 2010 Share Posted January 20, 2010 Maybe you can parse the code that comes from you WYSIWYG editor, and make it more reliable, check the DOMPDF specs.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.