awaiskhan33 Posted September 3, 2019 Share Posted September 3, 2019 I want a guidance to help me in setting up the mike42/escpos-php library with online POS website without printer can any one help me to solve the issue in php. I have Point of sale website in online server. I connect the print recipt code which is in my local server with this point of sale. but print is not working. I used the mike42/escpos-php library from github https://github.com/mike42/escpos-php. The following errors occoured whrn i click on print button. 1: Warning: copy(\\DESKTOP-L48VCRS\EPSON TM-U220 CAJA): failed to open stream: No such file or directory in C:\wamp64\www\sistema\src\Mike42\Escpos\PrintConnectors\WindowsPrintConnector.php on line 372 2: Fatal error: Uncaught Exception: Failed to copy file to printer in C:\wamp64\www\sistema\src\Mike42\Escpos\PrintConnectors\WindowsPrintConnector.php on line 291 3: Exception: Failed to copy file to printer in C:\wamp64\www\sistema\src\Mike42\Escpos\PrintConnectors\WindowsPrintConnector.php on line 291 The online website or POS url is http://dfathers.es Please any one help me to solve the issues. thanks Quote Link to comment https://forums.phpfreaks.com/topic/309174-pos-mike42escpos-php-print-receipt-issue/ Share on other sites More sharing options...
requinix Posted September 3, 2019 Share Posted September 3, 2019 #2 and #3 are both because of #1. Seems you have the wrong printer name... Quote Link to comment https://forums.phpfreaks.com/topic/309174-pos-mike42escpos-php-print-receipt-issue/#findComment-1569367 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.