Questions tagged [dompdf]

A PHP-based tool that efficiently converts HTML files to PDF format

Having trouble with Image and Css not displaying correctly when using CodeIgniter 3 with DomPDF?

I'm currently utilizing CodeIgniter 3 and dompdf to convert an HTML view into a PDF. While I am able to successfully convert the HTML to PDF, the proper styling is not being applied. All necessary CSS files have been included as custom design in the v ...

Unraveling a PDF string and transmitting it through CodeIgniter's email feature

For the past couple of days, I've been trying to use dompdf to generate a PDF. My process involves taking the raw string, encoding it for later database storage, and then decoding it so that I can send it as an attachment via email. However, despite my eff ...

Adding custom fonts to DOMPDF: a step-by-step guide

First, I moved the dompdf library folder to /dompdf Next, I added a /fonts folder containing Roboto-Black.ttf Then, I created an index.php file <?php // Autoloader inclusion require_once 'dompdf/autoload.inc.php'; // Namespace reference ...

Barryvdh/laravel-domPDF is causing an error where it attempts to read the property "name" on a boolean value

Currently, I am utilizing Laravel 8 with PHP 8 in addition to barryvdh/laravel-domPDF. The issue I am facing involves a CRUD that showcases employee details and allows for the printing of their payslips. It functions correctly when not passing through the ...

Printing only the form.blade.php file using Laravel's dompdf module

I need assistance with exporting or printing only a specific form as a PDF. The form is located within an app.blade.php file and includes various components such as a side panel, header, and mid content (highlighted in the red "box"). However, I want to pr ...