After many posts in SO and Google, I could not find the answer to my problem. Most of these issues are related to Windows / VB / .Net / C # / Java.
I need to send an ESC command to a Zebra USB printer (TTP2130) and return the status using C / C ++. I can print well (with the Zebra driver installed as the default printer):
$ lpr file.prn
Used by Zebra Toolbox to communicate on Windows and generate * .prn files with ESC commands.
But if I sent a file with a command requiring a response from the printer, nothing happens.
What would be the best approach to achieve this? Maybe use libusb1.0 directly?
Thanks for any help!
source
share