dompdf Questions
4
I am using dompdf (a PHP library) to create a PDF page and I have a problem to set proper dimensions. When I use CSS property:
@page {
size: 21cm 29.7cm;
}
… and for example I want to have the...
11
Solved
2
When using dompdf what PDF meta data can be set in the document information dictionary?
Originally asked elsewhere:
Are you able to parse more META info to be added to PDF information during PD...
Rejection asked 26/8, 2015 at 18:6
8
I'm using bootstrap grid to display and i want that my client download it in pdf so for that i'm using dompdf but dompdf is not able to apply bootstrap style. I cannot go back and turn my bootstrap...
Overbearing asked 1/5, 2015 at 11:4
5
Solved
I have a table with very long texts that has no spaces (users like to post a full website URL complete with all the parameters)
Then I set on word-break:break-all; and word-wrap:break-word; on eac...
3
Solved
I'm using Zend Framework and DOMPDF library. When I test it with inline css everything works perfectly. But when I tried to move css code to the external file rules are not applied to the html page...
Earthman asked 19/6, 2013 at 7:41
5
I'm building a PDF with dompdf, but my pdf doesn't contains a specified image. I already set the value to true in dompdf_config.inc.php
def("DOMPDF_ENABLE_REMOTE", true);
and this is my image HT...
3
Solved
Here is the HTML just before $dompdf->render() and $dompdf->output() are called:
<img src="http://www.example.com/images/Logo.png" />
All other invoices display the image fine when viewing...
2
Solved
I am using two webfonts in a page that I convert to a PDF using dompdf. I have this in the header:
<link href='http://fonts.googleapis.com/css?family=Signika:600|Roboto+Condensed' rel='styleshe...
Walburga asked 24/6, 2017 at 17:40
1
I am getting the error
"Image not found or type unknown"
after downloading PDF in Symfony 4 using dompdf package.
My method in my controller class:
public function dompdf(EvaluationReposi...
3
Solved
I generated a PDF using the dompdf library and used this:
$dompdf->stream('my.pdf',array('Attachment'=>0));
to force the browser to let the user view the PDF before downloading. But it's n...
4
Solved
12
require_once("function/dompdf/dompdf_config.inc.php");
$dompdf = new DOMPDF();
foreach($modules as $module){
$output = "Hello " .$module['name'];
$dompdf->load_html($output);
$dompdf->rend...
5
When I want to download invoice.pdf got error:-
fopen(project_path\storage\fonts/\071ddd89a9cb147bf5639344caee3fe8.ufm): failed to open stream: No such file or directory
enter image descripti...
3
Solved
Hi I am using DOMPDF to generate PDF file, I would like to know how to get page number.
I have try the following as mention in FAQ page of DOMPDF. and not successful.
NOTE: I also have turn on inl...
3
Solved
Is there something like:
$dompdf = new DOMPDF();
$dompdf->resolution(200);
$dompdf->load_html($html);
$dompdf->render();
Instead of having to set in the dompdf_config.inc.php, as I have...
3
I am using Dompdf for the report generation in the php. I am not able to include the external style sheet for the same...
The code I am using is similar to the following:
<?php
require_once "d...
2
I am using dompdf to render a PDF document. We use Bootstrap 4 on the whole application, so I would like to be able to use it in the twig template used to generate our document.
Currently, I'm fac...
Elgin asked 5/5, 2020 at 14:59
2
Solved
iam using dompdf to generate pdf file from html , the problem is the generated filesize is big ,i.e. 1MB for 1 page of pdf !
is there any way to reduce it ?
1
Solved
I am using dompdf in my Laravel v8.26.1 app. I am also using Laravel Livewire v1.3.5.
I can get a view to download a pdf outside of Livewire, but can't seem to get it to work inside a Livewire view...
Thither asked 6/2, 2021 at 22:18
5
I want create a DOMPDF with laravel, and I must passing my variable to view. I've been try passing variable like below, but it still not working yet.
here my Laravel Controller
public function p...
4
I am trying to generate a dynamic PDF out of a PHP page and it gives me this error:
Fatal error: Uncaught exception 'Dompdf\Exception' with message 'The row #4 could not be found, please file an i...
2
After several hours of searching, I am still unable to resolve this issue. I am having a problem with displaying images in a PDF file generated by dompdf library.
I have an editor tinyMCE where a...
5
Solved
What is the best way to do page breaks in dompdf?
I have had a look here at the page-break-before css attribute, but it didn't work when I did:
table {page-break-before:auto;}
The page still br...
Cherlycherlyn asked 4/1, 2012 at 7:33
10
I am generating php page using smarty template based on html form input and uploaded files. Using dompdf, I want to save the generated page as a pdf file.
When the user submits the multipart/form-d...
© 2022 - 2025 — McMap. All rights reserved.