Tuesday, May 23, 2017

How do I create a new FCPDF instance using Laravel with UTF

In original one there's functionality

$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);

But I am using that one created for Laravel (https://packagist.org/packages/elibyy/tcpdf-laravel)

And there is nearly no docs so I have no way of doing it. Does anyone have any idea how to achieve it?



via Ethris

Advertisement