Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Usb Communication in QT
Forum Updated to NodeBB v4.3 + New Features

Usb Communication in QT

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 4 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gaurav118
    wrote on last edited by
    #1

    How to send a file Over USB to a Printer in Qt?

    jsulmJ 1 Reply Last reply
    0
    • W Offline
      W Offline
      wrosecrans
      wrote on last edited by
      #2

      Do you just want to print something? Or do you want to do low level USB protocol stuff?

      G 1 Reply Last reply
      3
      • G gaurav118

        How to send a file Over USB to a Printer in Qt?

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @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

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • W wrosecrans

          Do you just want to print something? Or do you want to do low level USB protocol stuff?

          G Offline
          G Offline
          gaurav118
          wrote on last edited by
          #4

          @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.

          1 Reply Last reply
          0
          • mrdebugM Offline
            mrdebugM Offline
            mrdebug
            wrote on last edited by
            #5

            Which type of printer are you using?
            Some printers have got a serial protocol, such as kube printer.

            Need programmers to hire?
            www.labcsp.com
            www.denisgottardello.it
            GMT+1
            Skype: mrdebug

            1 Reply Last reply
            1
            • G Offline
              G Offline
              gaurav118
              wrote on last edited by
              #6

              i resolved this issue. I wasn't much aware of Qt. Just used LibUsb library to transfer data through USB

              1 Reply Last reply
              1

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved