pdf-l4
pdf-l4 copied to clipboard
Dompdf for Laravel 4
I've done everything the installation has asked but I get a Internal Server Error 500. return dd(PDF::load($html, 'A4', 'portrait')->output()); The code is within a controller that a route uses. The...
I try to generate pdf files in homestead, but when I try to use a CSS File inside the HTML it doesn't work. The pdf class just renders the pdf...
ErrorException Constants may only evaluate to scalar values open: /var/sites/exactchange/vendor/thujohn/pdf/src/Thujohn/Pdf/Pdf.php ``` protected $orientation; public function __construct(){ $_conf = array('DOMPDF_TEMP_DIR', 'DOMPDF_UNICODE_ENABLED', 'DOMPDF_PDF_BACKEND', 'DOMPDF_DEFAULT_MEDIA_TYPE', 'DOMPDF_DEFAULT_PAPER_SIZE', 'DOMPDF_DEFAULT_FONT', 'DOMPDF_DPI', 'DOMPDF_ENABLE_PHP', 'DOMPDF_ENABLE_REMOTE', 'DOMPDF_ENABLE_CSS_FLOAT', 'DOMPDF_ENABLE_JAVASCRIPT', 'DEBUGPNG',...
I got this error iconv(): Wrong charset, conversion from `auto' to`utf-8//IGNORE' is not allowed ``` Route::get('generate', function() { $pdf = App::make('dompdf'); $pdf->loadHTML('Test'); return $pdf->stream(); }); ```
Hi, how to add header and footer in every single page? How to add number page too? Thanks
Hi, I want to know how to change browser title? By default thujohn - pdf-14 gets last url parameter (someurl/45) and set as browser title (45). I want to set...
How do we set the page margin for any type of paper size? By default, it already set a margin for all sides.
Hi. I have a list of users, and i can access to the information details in a web page, i need to generate the pdf file of the information details,...
Hi, I want to know how to change browser title? By default thujohn - pdf-14 gets last url parameter (someurl/45) and set as browser title (45). I want to set...
I need to generate the pdf url according to the schedule below. However, before going straight to the template, I need to go get some information on the controller. How...