I'm creating a system in PHP and we're entering the printing phase with non-fiscal thermal printers. In principle I did not find Epson support for PHP printing and in searches I found the component mike42 / escpos-php . Using it I got networked impressions with Ethernet and local with USB. My client needs networked LPT printing and also networked USB.
The system will run on tablet's and there will be a print server where does not necessarily have to be in PHP because it uses REST with print data passed via JSON to it.
My need is to create a server where you can print other computers that have printers shared with it, but the printers are USB and / or LPT .
Note: In the mike42 / escpos-php component description it is supported but in practice it was not possible because the following message appears: Warning: copy (\ NAME-SERVER \ printer_name): failed to open stream: Permission denied in ... \ escpos-php-1.5. 1 \ src \ Mike42 \ Escpos \ PrintConnectors \ WindowsPrintConnector.php on line 372 .
Any suggestions, has anyone ever come across a similar situation?
On file permissions issues, when giving permissions in the PRINTERS folder of both the server and the computer where the printer is installed and shared with the server the message remains, where according to searches the same should disappear. Adding this fact and being at the very beginning of the impressions part, so it would not be a problem if the server was in another language, for example.
Thanks for the answers but so far unsuccessful.