Questions tagged as 'dompdf'

1
answer

Configure page headers with DOMPDF

Is there any way to configure DOMPDF to place a header on all pages of the generated PDF? I am generating a report and would like all the pages of the report to have the header of the first one. //define o estilo da página pdf $style='...
asked by 09.09.2015 / 19:02
1
answer

How to resolve memory size error for large files generated with DomPDF?

What happens is that when the HTML (dynamically generated) gets too large, the pdf is not created, and returns this error:    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried   to allocate 64 bytes) in   /home/www/models/d...
asked by 26.04.2016 / 17:01
1
answer

Failed to load PDF document

I'm working with an office system, where the user will enter the legal number, the person to which the document will be directed and the message, and would like that, if the data were successfully added to the bank, a PDF with the information...
asked by 13.09.2017 / 17:11
2
answers

dompdf php to pdf

I'm using DomPDF to generate the pdf. The question is that I can not convert my html to pdf. My html is generated by several php lines with variables and etc ... I have tried to pass a variable with everything to DomPDF::loadhtml...
asked by 19.01.2016 / 12:13
1
answer

Where I find DOMPDF v.5

I'm just finding version 6 on GitHub, but I want to use version 5 that has the following files: dompdf/ |--include/ |--lib/ |--changelog.txt |--docblox.dist.xml |--dompdf.php |--dompdf_config.custom.inc.php |--dompdf_config.inc.php |--LICENSE....
asked by 08.03.2016 / 19:54
1
answer

Problem with accent when generating PDF with dompdf

I am generating a PDF report using the dompdf API, and words that contain accent are not being displayed correctly. I put the charset = 'utf-8' tag inside the head, but it does not solve the problem <meta charset='utf-8'/> In php...
asked by 11.09.2015 / 01:06
1
answer

DOMPDF: Frame not found in cellmap. What causes this error?

This problem has haunted me for a long time and I still can not find a solution for it. I have developed a system, where in a given location, the user can print a report, which is generated by class DOMPDF , in Laravel 4 . It s...
asked by 12.02.2015 / 19:55
2
answers

DomPDF API for PDF generation in PHP

I use the software laragon that already comes with laravel and composer integrated to the project, I executed the line: Note: I did not bother with good practice yet, I want to make it work first composer require barryvdh/laravel-dompdf...
asked by 10.09.2017 / 14:14
1
answer

Footer does not appear on the first page - Laravel DomPDF

I have the following code in my application to generate a PDF report: $head = '<html><head>' . '<title>Relatório</title><style type="text/css">' . '@page {margin: 120px 50px 80px 50px;}.head{font-size:...
asked by 05.05.2016 / 16:52
1
answer

Create PDF from a BIG HTML file with DOMPDF

I'm trying to convert a 40mb html file into PDF using DOMPDF. Even with a timeout of 3600 seconds, it does not generate the file, nor do I put it as a cron job 1x a day or run it on the command line. My script <?php require_once 'dom...
asked by 05.09.2016 / 19:46