Questions tagged as 'pdf'

0
answers

HTML2PDF include meta, links css and js

I'm trying to create a pdf with the html2pdf library, but it says "headers already sent" when I add any of the following lines: <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" /> <link href="css/style_vista.css"...
asked by 28.06.2018 / 17:44
0
answers

Error: Uncaught DOMPDF_Exception: No block-level parent found. Not good

Good afternoon I am trying to generate a pdf through the Dompdf library but I have had the error that I present in the title of the question. I would like to know in what way this could be solved. Thank you PHP CODE: <?php require_once...
asked by 20.06.2018 / 20:15
1
answer

How to include one class inside another in PHP using FPDF

I hope you can support me, I am a beginner, I am working with PHP and FPDF, I currently have a document called index.php with the following code: <?php require_once(dirname(__FILE__) . '/Constantes.php'); require_once(RUTA_FPDF_PHP); $pdf =...
asked by 20.06.2018 / 23:43
0
answers

problem generating pdf with fpdf

My problem is this: I have a form with which I select some data that I import from a MYSQL database, when I give it the save button it must open a new window where the pdf should be generated, the problem is that when I hit the save button I...
asked by 18.06.2018 / 23:51
0
answers

how to place icon (shorcut icon) in DOMPDF?

I am starting with this library and I have not been able to place the icon of the company when the library is executed.    PHP File require_once 'dompdf/autoload.inc.php'; ob_get_clean(); use Dompdf\Dompdf; use Dompdf\Options; $options...
asked by 25.06.2018 / 16:37
0
answers

Problems with pdf when printing different records of a table

I only want that by means of a select you choose the id of the table and then through the library show your records in pdf <div class="formL"> <form action="constancia.php" name="formulario" method="POST...
asked by 16.06.2018 / 19:19
1
answer

problem with a pdf in iframe, the download button does not work

I have been with this problem for a few days, on my website I created a button to open a PDF in iframe on another page, but the problem is that once the page is opened it does not finish loading and second is that the button to download the pdf...
asked by 13.06.2018 / 06:55
0
answers

Problem when extracting text from a PDF

I need to extract text from a PDF for which I use pdftotext or pdftohtml depending on the case. However, I have found a PDF in which my script fails me. In the PDF the text is not as an image, but when I did a little research I realized that if...
asked by 10.06.2018 / 19:13
1
answer

reports pdf with python

I need to know how to show the records of a query in the database to a pdf document using python and reportlab. The idea is to show a table in a pdf where the data generated by the query to the DB is included     
asked by 14.06.2018 / 07:14
0
answers

bring a pdf c # from the back in ITextSharp Document to the front in angle 4 and show it?

I tell you that I have a routine in C # that forms a pdf that leaves it in a variable var pdfDoc = new iTextSharp.text.Document(PageSize.Letter); // lineas de código para formar el pdf res.Payload = pdfDoc; pdfDoc.Close();...
asked by 08.06.2018 / 17:44