You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Declaration of setasign\Fpdi\FpdfTplTrait::setPageFormat($size, $orientation) should be compatible with TCPDF::setPageFormat($format, $orientation = 'P')
#14
Open
edwinmugendi opened this issue
Jun 16, 2021
· 0 comments
Declaration of setasign\Fpdi\FpdfTplTrait::setPageFormat($size, $orientation) should be compatible with TCPDF::setPageFormat($format, $orientation = 'P')
// and now we can use library
$pdf = new \Jurosh\PDFMerge\PDFMerger;
//Add as many pdfs as you want
$pdf->addPDF($front, 'all','vertical')
->addPDF($back, 'all','vertical');
//Call merge, output format `file`
$pdf->merge('file', $card);
The text was updated successfully, but these errors were encountered:
I'm getting this error:
Declaration of setasign\Fpdi\FpdfTplTrait::setPageFormat($size, $orientation) should be compatible with TCPDF::setPageFormat($format, $orientation = 'P')
// and now we can use library
$front = '/home/sapama/projects/web/erp/public/media/erp/upload/cards/front-18980.pdf';
$back = '/home/sapama/projects/web/erp/public/media/erp/upload/cards/back-18980.pdf';
$card = '/home/sapama/projects/web/erp/public/media/erp/upload/cards/18980.pdf';
The text was updated successfully, but these errors were encountered: