¿Cómo convertir Html a Pdf en el navegador en vivo en el siguiente toque?

I want to convert my html page into pdf format, on the net tab in my project. What is the best solution to achieve this? Thanks in advance. Below is the code that I have so far:


$dompdf = new DOMPDF();



preguntado el 13 de septiembre de 13 a las 13:09

Are you saying you want to capture dynamic document content and convert to PDF? Or can the document be reconstructed on the server? Can you better describe your layout and content flow? You mention "next tap" and "net tab"? Do you have an HTML tab and a PDF tab. Or does the user "tap" and a PDF is produced? -

It is new tab brother -

Still need a bit more detail about the process. A tab on the same page (HTML+JS tabs)? A browser tab? Does the user have to do anything or should it be rendered at the same time? -

1 Respuestas

¿Has probado esta biblioteca?

jsPDF | http://parall.ax/products/jspdf

It only uses javascript, so you don't need php.

Respondido el 13 de Septiembre de 13 a las 13:09

No i haven,t, i am new to this environmnet - Hunarmán

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.