Questions tagged as 'dompdf'

0
answers

PDF does not bring data correctly (I'm using DOMPDF)

function contasApagar() { $fornecedorDAO = new fornecedoresDAO(); $retfornecedor = $fornecedorDAO->buscarTodos(); $forma_pagtoDAO = new forma_pagtoDAO(); $retformapagamento = $forma_pagtoDAO->buscarTodas();...
asked by 01.11.2018 / 16:37
1
answer

Page number with DOMPDF and LARAVEL

How do I put the number of each page with domPDF? I use it with laravel. Example: Page 1-4, Page 2-4, Page 3-4, and Page 4-4; My function for fetching bank data: public function print($id) { $budget = Budget::find($id); $...
asked by 17.10.2018 / 01:19
0
answers

Error generating pdf with dompdf

When generating a pdf from a table, when the text is too large, it breaks the page at the beginning and does not display all the text at the end //referenciar o DomPDF com namespace use Dompdf\Dompdf; include('template/functions/php/class-c...
asked by 29.08.2018 / 16:56
0
answers

how to change the orientation of dompdf

How to change the orientation of dompdf. I already include the following code, but it did not work $dompdf->setPaper('A4', 'landscape');     
asked by 27.04.2018 / 22:46
0
answers

High consumption and slowness with DOMPDF

Good using DOMPDF to generate a PDF report from an HTML table. I'm having a very big problem where DOMPDF is using an average 4.4GHz processor and 1GB of ram and taking more than 5 minutes to render a table with 850 rows. I do not know if...
asked by 27.04.2018 / 02:53
0
answers

Convert Html (SVG) to PDF using DomPDF

With the code below I am able to generate the PDF normally. Only the "figure" I am generating using SVG is not showing. What do I have to change for the figure to be included in the PDF? *** Remembering that I can not change anything in...
asked by 26.04.2018 / 02:41
1
answer

PDF in Laravel returning View selected

Hello, I'm using DomPDF to try to return a report in pdf, but every time I call the view it loads like it's in an infinite loop and nothing happens. Follow my code CourseController.php public function downloadPDF($id) { $curso = Curs...
asked by 27.03.2018 / 13:18
0
answers

set_paper height DOMPDF

I'm using% custom% as follows: $dompdf->set_paper(array(0,0,226,226)); I want to get a page with% of% of 80mm, converted the value to 226pt. The problem I'm having is with set_paper , how do I get the value to be calculated accordi...
asked by 02.03.2018 / 14:07
0
answers

Table lines do not break at the end of the page - PDF & Laravel

I have a table with a lot of rows, and when I generate the PDF of that HTML page with DomPDF it does not jump to the next page. I tried some tutorials here, but it did not work very well. Here's the problem image: <!DOCTYPE html>...
asked by 27.09.2017 / 00:34
0
answers

DOMPDF Page Limit - Laravel

Good afternoon guys, I am making a DOMPDF print request, whose quantity is greater than 200 pages. When I make the request it can not generate, but if I pass a condition to generate up to a certain record, less than that amount, it is generat...
asked by 25.05.2017 / 21:15