3

Is it possibile to use Usb printer with Epson ePos Javascript SDK? Or is it only for ethernet/wireless model?

I hope to find an utility to convert a usb printer to a network listening printer to recycle all my usb printers.

Tobia
  • 9,165
  • 28
  • 114
  • 219
  • Hi Tobia! Did you ever get an answer to this question on maybe another channel than stackoverflow? Have you been able to talk to the usb connected printer with javascript? – matths Nov 07 '18 at 15:00
  • Unfortunately I did not find a solution yet. – Tobia Nov 07 '18 at 16:46
  • we are going to use a little nodejs script using npm package escpos and ws, offering the printing via websocket from within the browser / website. This nodejs package is working with the usb printer like a charm. – matths Nov 08 '18 at 10:05
  • Is it bi-directional? I need to query the printer status and, for example, I cannot use windows spooler. I had to install a virtual USB-COM service and query the printer by a virtual serial interface... – Tobia Nov 08 '18 at 11:27
  • It's just printing as far a I can see, and it's using Zadig to access the printer directly via USB at Windows. I tested under Mac OSX so far, and it's just working. Link to node module: https://www.npmjs.com/package/escpos – matths Nov 10 '18 at 17:31

1 Answers1

0

For Linux, we have a utility called rpd, which connects a locally attached printer and listens on TCP port 9100 for incoming connection. It makes any printer a networked printer, but it's not (yet?) published as open source.

Marc Balmer
  • 1,780
  • 1
  • 11
  • 18
  • HI Marc, this seems promising. is this project available right now. Can you please share the link for the same – Peru Mar 07 '19 at 08:49