loadPdf requires imagick extension.
Fatal error: Uncaught Exception: loadPdf requires imagick extension. in C:\xampp\htdocs\systemcolas\vendor\mike42\escpos-php\src\Mike42\Escpos\ImagickEscposImage.php:218
Stack trace:
#0 C:\xampp\htdocs\systemcolas\vendor\mike42\escpos-php\example\print-from-pdf.php(44): Mike42\Escpos\ImagickEscposImage::loadPdf('resources/docum...', 260)
#1 {main}
thrown in C:\xampp\htdocs\systemcolas\vendor\mike42\escpos-php\src\Mike42\Escpos\ImagickEscposImage.php on line 218
Notice: Print connector was not finalized. Did you forget to close the printer? in C:\xampp\htdocs\systemcolas\vendor\mike42\escpos-php\src\Mike42\Escpos\PrintConnectors\FilePrintConnector.php on line 44