Questions tagged [barryvdh]
17 questions
3
votes
1 answer
which is the equivalence of measurements in cm or mm for DOMPDF
I am using laravel, barryvdh / laravel-dompdf to generate a pdf.
But I need to configure my paper size to measurements the customer.
which is the equivalence of measurements in cm or mm.
I configure some measures, I found:
$pdf =…

wil
- 35
- 5
1
vote
0 answers
Return multiple PDF views using one route
I would like to know if it's possible to display multiple PDF files using one route (with package Barryvdh\DomPDF). Would be something like this :
User clicks on link "Download all files";
Link points towards method downloadAll()
This method…

StewieSWS
- 546
- 3
- 10
1
vote
0 answers
laravel Barryvdh dompdf error layout_line()
Im using Laravel 8, codes works perfectly before in both dev and prod server before. but when i move to PHP8, it still works in Dev server, but got an error in my production environment with this…

Dahliar Ananda
- 33
- 5
1
vote
1 answer
laravel/ui[v3.0.0, ..., v3.2.0] require illuminate/console ^8.0 -> found illuminate/console[v8.0.0, ..., v8.36.2]
I am trying to make pdf using baaryvdh/dompdf in laravel but while installing the package using the command:
`composer require barryvdh/laravel-dompdf`
getting the error:
Using version ^0.9.0 for barryvdh/laravel-dompdf
./composer.json has been…

mohsin
- 11
- 1
- 3
0
votes
1 answer
problem with barryvdh/laravel-dompdf can´t use bootstrap styles
Library it´s:
composer require barryvdh/laravel-dompdf
i´m trying to create pdf in my app with laravel 10.20. I created my blade and all content it´s ok.
I have any rows, columns, etc and all my content when i access to route that i can show my…

scorpions77
- 51
- 8
0
votes
0 answers
How can I get my wkhtmltopdf footer to display on all pages in my Laravel project with barryvdh package?
I have a 20 pages I need to add footer to them using wkhtmltopdf footer-html, but footer not added to all pages.
$footerHtml = view()->make('print.footer', ['job_id' => $job_id])->render();
$pdf = PDF::loadView('print.page',…

Sara Shoukry
- 1
- 1
- 2
0
votes
1 answer
barryvdh/dompdf not completely showing data in Laravel
i'm working with DomPdf in Laravel. But it not showing all the data.
here's the image (I can't embeded the image because don't have enough reputation) :
IMG1
and this my pdf blade :
body{
background-color: white;
}
…

Tommy Saputra
- 21
- 5
0
votes
1 answer
Set header and Footer ONLY for Once using MPDF in laravel
I am using MPDF in LARAVEL to create PDFs using an HTML template.
I just want to add the header at the start of the PDF and the Footer at only the End of the PDF.
$mpdf = new \Mpdf\Mpdf( [ 'mode' => 'en-GB', 'format' => 'A4', 'default_font_size' =>…

always-a-learner
- 3,671
- 10
- 41
- 81
0
votes
0 answers
barryvdh laravel/dompdf change my css layout
Im using the barryvdh dompdf to generate the pdf file for my view ,
This is the expected outcome:
but what I got is :
The css design of the view has been change . im using both css and bootsrap for desgining the page
may I ask how the improve…

JUSTIN CHUA
- 55
- 1
- 10
0
votes
0 answers
Laravel Barryvdn dompdf is not working as expected
I am creating a pdf in laravel which contains exactly 100 rows. Page break is working fine on the first page. But on the second page, it is working like in the screenshot. The new page is created but dont know what is happening with the data. My…

Jincy
- 45
- 8
0
votes
1 answer
Laravel PDF: Different background images for different pages
I have been using barryvdh/laravel-dompdf for pdf generation. My problem is that I want to use different background images on different pages which I can't. One background image is displayed on all the pages.

Zain Farooq
- 2,956
- 3
- 20
- 42
0
votes
1 answer
0
votes
1 answer
Barryvdh/laravel-domPDF returning Attempt to read property "name" on bool
Im using Laravel 8 with PHP 8 as well as barryvdh/laravel-domPDF. I have a crud that displays employee information and you can print out their payslips. When i dont pass through the $id it works correctly and prints all the employees information…
user14650808
0
votes
2 answers
Call to a member function get_cellmap() on null
I was using barryvdh/laravel-domPDF and came across the error
call to a member function get_cellmap() on null
I'm using Laravel 8.42.1 and PHP 8.0.3.
user14650808
0
votes
1 answer
ErrorException Undefined offset: 0 laravel
in my laravel project the barryvdh debugger was installed, I was trying to make pdf using barryvdh pdf package for that i run the composer command on my dev server which was
composer require barryvdh/laravel-dompdf
after that it was showing an…

mohsin
- 11
- 1
- 3