How to Print pdf from html with php or js (codeigniter)? : I'm currently facing an issue I can't really solve. I'm using MVC scheme with codeigniter. I'd like to dynamically print a pdf from a html view (either using javascript while clicking on a button or doing it with php after an ajax request) with some custom parameters, css, positions of elements etc.
The point is, all available libraries are not working for me. So far I've tried Tcpf, mpdf, html2pdf, dompdf, jspdf, fpdf.
In most cases, they don't have a good rendering for the css, so the elements are more or less printed without the imposed features.

Does anyone have any more suggestions? :)
Thanks a lot!


