Printing with thermal printers via usb

Hi,

I’ve been trying to print via usb in a thermal printer. I have found a lot of libraries/package for bluetooth thermal printers, but I need my program ALSO works via USB.

I only have found one package that allows me to print in almost any printer, the name of the package is “printing”, but this works whit PDF’s, and the thermal printer doesn’t allow print PDF’s.

Note: The app I am developing is for Windows.

Does someone know some package or method I can try to achieve my goal?

Thanks in advance for any help.