Open ShahidBashir881 opened 4 years ago
I have the same issue, at this moment I don't found any alternative searching on over the internet
if you find any related solution then please tell me it still pending for me.
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.
On my Website is not working but perfectly working on local xampp server