Questions tagged as 'dompdf'

1
answer

how to send PDF by email with dompdf

How do I send a pdf generated by email with dompdf ? Here is my source code: /* Cria a instância */ $dompdf = new DOMPDF(); /* Carrega seu HTML */ $dompdf->load_html("<p align=\"center\"><img src=\"caminho da...
asked by 04.06.2017 / 07:54
1
answer

DomPDF - Block printing and download

Is it possible to block printing and download in DomPDF?     
asked by 31.03.2017 / 02:48
1
answer

Problem to generate reports with DOMPDF + Codeigniter

Hello, I'm trying to generate a report using Dompdf but I'm encountering the following error A PHP Error was encountered Severity: Notice Message: Undefined property: Relatorio::$dompdf Filename: controllers/Relatorio.php Line Number: 2...
asked by 01.12.2016 / 16:34
0
answers

Dompdf does not load with file 80mmx30mm

Hello, I am trying to generate a PDF to be printed as an 80x30 size label, but by setting this size the PDF will not load. Larger dimensions usually load. $customPaper = array(0,0,80,30); $dompdf->set_paper($customPaper, 'portrait'); The...
asked by 21.07.2018 / 19:20
0
answers

Convert to PDF with php

I have the following problem, I have these value in html with php (will get the values to mysql): Andmygoalwouldbethroughtheuseofmaterializebuttonsgavetheusertheabilitytomakescreenshotorconvertthesevaluesintopdfforlaterprinting. I'vebeenlooking...
asked by 06.06.2018 / 13:57
1
answer

DomPDF Illegal error "offset offset 'hex' online 1150 style.cls.php"

I have the following code: <?php session_start(); if(isset($_SESSION['logado'])==false){ echo("<script>window.location = 'login.php';</script>"); } ?> <!DOCTYPE html> <html> <head&g...
asked by 24.09.2017 / 20:19
0
answers

Problems with DOM PDF PHP

I am generating a document and this error is appearing:    Call to undefined method Dompdf \ FrameDecorator \ TableRowGroup :: get_cellmap () My impression method is developed like this: public function imprimircumpom(Request $request,...
asked by 04.06.2017 / 17:15
1
answer

How to capture the code of a table generated via html?

I created a table with data by HTML and PHP, how do I generate a string from this table with this data so I can play in my DOMPDF load_html?     
asked by 26.06.2017 / 19:49
0
answers

Problems with print layout

I'm having trouble setting up print layout in Elgin i9 , I'm putting script in laravel 5.4 like this: $produto = Produto::find($request->input('COD_IDENT_PRODU')); $qtd = $request->input('QTD_IDENT_PRODU'); $cod...
asked by 02.03.2017 / 23:58
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