loadPdf requires imagick extension.
Fatal error: Uncaught Exception: loadPdf requires imagick extension. in /home/www/elite.ug/ppos2/src/Mike42/Escpos/ImagickEscposImage.php:217 Stack trace: #0 /home/www/elite.ug/ppos2/example/print-from-pdf.php(44): Mike42\Escpos\ImagickEscposImage::loadPdf('resources/docum...', 260) #1 {main} thrown in /home/www/elite.ug/ppos2/src/Mike42/Escpos/ImagickEscposImage.php on line 217

Notice: Print connector was not finalized. Did you forget to close the printer? in /home/www/elite.ug/ppos2/src/Mike42/Escpos/PrintConnectors/FilePrintConnector.php on line 47