node-thermal-printer icon indicating copy to clipboard operation
node-thermal-printer copied to clipboard

Can this be integrated with USB connected thermal printer of any brand

Open jafsparrow opened this issue 1 year ago • 5 comments

I have a thermal printer made by the company posway which works with windows installed pos billing software..

my question is , since it not the eposn,star or tanca printer, is there any way to connect to any locally usb connected printers with proper drivers installed?

I am trying to create a webserver with thermal printing capability on server connected printer.

any suggestions? or if there is any other library for the particular purpose plz ...?~!!!!

jafsparrow avatar May 06 '23 08:05 jafsparrow

I'm having the same problem. Did you find any solution for that?

PedroBarbosaSw avatar Jul 01 '23 21:07 PedroBarbosaSw

Hi Pedro, I have selected puppeteer and pdf printer for my server. I still don't know if it is the optimal and efficient solution, but it works at the moment.

This is how it works now.

  1. generated pdf and save.
  2. Print pdf and delete.

jafsparrow avatar Jul 01 '23 21:07 jafsparrow

HI, you can use electron pos printer for any printer it is connected to the computer.

unaisshemim avatar Oct 05 '23 05:10 unaisshemim

HI, you can use electron pos printer for any printer it is connected to the computer.

does electron package work with node js express environment. I am using nest js as my backend. Need to print to usb or network thermal printer from server... Still no idea how to do it fastly

jafsparrow avatar Oct 12 '23 19:10 jafsparrow

No you can't becuase the browzer can't connect directly to the pos printer inorder to achieve this you need electron js to connect.But you can connect and print using printjs library which we can select the printer and print it.

unaisshemim avatar Oct 26 '23 08:10 unaisshemim