Usb Communication in QT
How to send a file Over USB to a Printer in Qt?
Do you just want to print something? Or do you want to do low level USB protocol stuff?
@gaurav118 If you want to print there is no need to care how the printer is connected.
Take a look at https://doc.qt.io/qt-5.10/qtprintsupport-index.html
@wrosecrans I am trying to interface a USB based printer to my machine. As of now with the help of printer driver, i am able to print the content into an hex file. Only challenge is I don't want to print directly from my Pc to printer. I need to develop intermediate app which can generate file using that driver and pass it to the printer sort of bulk transfer.
Files are generated but no idea how to send the data to printer.
Which type of printer are you using?
Some printers have got a serial protocol, such as kube printer.
i resolved this issue. I wasn't much aware of Qt. Just used LibUsb library to transfer data through USB