Questions tagged as 'dompdf'

0
answers

Float in DOMPDF does not work as it should

I need to use dmpdf to generate a grid of images, but the float does not work right. Instead of it coming down when it reaches the edge of the page it keeps going to the right. I have tried to put a div above limiting the size but it also did no...
asked by 12.08.2015 / 15:59
1
answer

Set paper size DOM PDF

I need to set the paper size from DOM PDF to 80x550mm I need to print on my non-fiscal printer Elgin i9 am photing it like this: $documentTemplate = ' <!doctype html> <html> <head> &l...
asked by 02.03.2017 / 04:04
1
answer

error MPDF error: Some data has already been output to browser

Hello, I'm having a very strange error using the mPDF library to generate PDF. The page fetches data from the database and displays it on the page and mPDF in turn generates the pdf. However, when I do not generate the pdf the data is d...
asked by 05.11.2015 / 18:45
1
answer

How to insert an HTML file inside a PHP variable?

Talk to people, I have a file named post_forms.php that takes the results of $_POST[] , must fill variables inside the form_xxx.html file, create a PDF with the DomPDF lib and send with PHPMAiler. See a part of each file:...
asked by 08.09.2018 / 16:36
1
answer

coupon-style PDF

I need to create a PDF-style coupon to send to a non-fiscal Daruma DR800 printer. I need to know how to generate a custom size PDF and its contents. I already do PDF generation with DOMPDF in Laravel 5.5. Example of how to generate any PDF...
asked by 05.04.2018 / 16:45
1
answer

change ntext data type to text, SQL Server

I need to change the data type of a field that is in "ntext" to "text". The reason is that I'm having trouble pulling the value from the database and generating a PDF with the DOMPDF component of php. When trying to change command line: ALT...
asked by 19.12.2017 / 17:13
0
answers

Corrupted file dompdf / laravel

Good evening, next, I'm going through a PDF printing problem, I made a system in Laravel where I need to print a list of a specific template, and I'm using lib: link All right until then. The problem is when I'm asking to save the sav...
asked by 29.11.2018 / 02:10
0
answers

DomPDF returning accents as a question mark

I'm using version 8.2 of DomDPF only the special characters are set to "?". I have already tried using the this topic just do not have a dompdf_config.inc.php file here. Neither adding the code ( header('Content-type: text/html;...
asked by 06.11.2018 / 19:35
1
answer

How do I get the correct CSS in DOMPDF?

Good morning guys, how are you? I have 3 files: certificate.png | style.css | certificate.html I have a method that unites them and print the certificate in PDF, when printo on the screen with var_dump comes out right, when generating the...
asked by 06.11.2018 / 15:42
0
answers

I am using dompdf and getting the following error: Parse error: syntax error, unexpected 'use' (T_USE) in the line where reference namespace

function contasApagar() { $fornecedorDAO = new fornecedoresDAO(); $retfornecedor = $fornecedorDAO->buscarTodos(); $forma_pagtoDAO = new forma_pagtoDAO(); $retformapagamento = $forma_pagtoDAO->buscarTodas();...
asked by 31.10.2018 / 22:08