Fatal error: Uncaught TypeError: Mike42\Escpos\Printer::__construct(): Argument #1 ($connector) must be of type Mike42\Escpos\PrintConnectors\PrintConnector, null given, called in C:\xampp\htdocs\systemcolas\vendor\mike42\escpos-php\example\interface\windows-usb.php on line 26 and defined in C:\xampp\htdocs\systemcolas\vendor\mike42\escpos-php\src\Mike42\Escpos\Printer.php:361
Stack trace:
#0 C:\xampp\htdocs\systemcolas\vendor\mike42\escpos-php\example\interface\windows-usb.php(26): Mike42\Escpos\Printer->__construct(NULL)
#1 {main}
thrown in C:\xampp\htdocs\systemcolas\vendor\mike42\escpos-php\src\Mike42\Escpos\Printer.php on line 361