Closed Marchiuzzz closed 2 years ago
Hey there, What do you get as output? Also, please note as per the Readme, you aren't suppose to instantiate PDF
@elibyy You're right, I needed to use the methods statically, missed this important detail. It works now, thanks for fast reply!
Hi, I'm not sure if I'm doing something wrong or am missing something but nothing I try works. More specifically, none of these work, I get
Call to undefined method Elibyy\TCPDF\Facades\TCPDF::setPrintHeader()"
etc. I'm using laravel 8, maybe that's why, although my PHP version is 7.3?It's as if I just have the tcpdf-laravel wrapper but not the actual TCPDF. Do I need to also require for TCPDF separately?