escpos-php icon indicating copy to clipboard operation
escpos-php copied to clipboard

On my Website is not working but perfectly working on local xampp server

Open ShahidBashir881 opened this issue 5 years ago • 3 comments
trafficstars

On my Website is not working but perfectly working on local xampp server

ShahidBashir881 avatar Aug 18 '20 08:08 ShahidBashir881

I have the same issue, at this moment I don't found any alternative searching on over the internet

diquispe avatar Oct 19 '20 20:10 diquispe

if you find any related solution then please tell me it still pending for me.

ShahidBashir881 avatar Oct 20 '20 05:10 ShahidBashir881

Printing on local will work well with this package.

However, to print online, you will need to develop a desktop service which has to be installed on the local computer where you need printing to be done. Operating System does not matter in this case, you can be hosting on Linux based server and printing on a windows server. This desktop service interfaces between the online service and the local service.

I resolved this by developing an electron js service based on node-escpos package which can receive commands from the online print command and then communicate those commands to the printer through USB.

You can check out the node-escpos printer driver package for some inspiration on how to go about this.

mutiemule avatar Apr 30 '22 09:04 mutiemule