Hello. When I test first on my local computer it works fine, it would print. But when I deploy it on the server, it would produce an error copy(\\DESKTOP-O2ERE3M\EPSON TM-T82 Receipt): failed to open stream: No such file or directory. The printer is already a shared one. So for short, I'm trying to print the receipt remotely over the internet after I deploy my website on the server.
$connector = new WindowsPrintConnector("EPSON TM-T82 Receipt");
$printer = new Printer($connector);
$printer -> text("Hello World\n");
$printer -> cut();
$printer -> close();
I'm using Laravel framework and in my windows server I also use XAMPP
Hello. When I test first on my local computer it works fine, it would print. But when I deploy it on the server, it would produce an error
copy(\\DESKTOP-O2ERE3M\EPSON TM-T82 Receipt): failed to open stream: No such file or directory
. The printer is already a shared one. So for short, I'm trying to print the receipt remotely over the internet after I deploy my website on the server.I'm using Laravel framework and in my windows server I also use XAMPP