Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QT QML integrate with thermal USB Printer
Forum Update on Monday, May 27th 2025

QT QML integrate with thermal USB Printer

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
11 Posts 4 Posters 1.2k Views
  • 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.
  • R Offline
    R Offline
    RiyG22
    wrote on last edited by
    #1

    Dear experts,

    I am learning QT and implement in my Kiosk based Application. I am trying to integrate a USB based thermal printer with the system and print the user selected coupon via printer.

    I went through QtPrintSupport library but I am not sure how to implement it with the Application. Any guidance will be really helpful for me.

    Thank you.

    jsulmJ 1 Reply Last reply
    0
    • R RiyG22

      Dear experts,

      I am learning QT and implement in my Kiosk based Application. I am trying to integrate a USB based thermal printer with the system and print the user selected coupon via printer.

      I went through QtPrintSupport library but I am not sure how to implement it with the Application. Any guidance will be really helpful for me.

      Thank you.

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

      @RiyG22 How is this printer actually used? Is there an SDK to develop applications which use it?
      Also, are we talking about 3D printer or a simple paper printer?

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

      R 1 Reply Last reply
      0
      • jsulmJ jsulm

        @RiyG22 How is this printer actually used? Is there an SDK to develop applications which use it?
        Also, are we talking about 3D printer or a simple paper printer?

        R Offline
        R Offline
        RiyG22
        wrote on last edited by RiyG22
        #3

        @jsulm Hi, Thank you very much for your quick reply. I am using this printer - https://eurocoincomponents.com/product/ms-fpt201k-panel-printer/

        I've used it with python before, accessed it using VID, PID and used escposprinter library there. It's a simple roll printer. There is no SDK to develop it, it works on USB protocol. It uses ESC/POS command.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          That's the kind of printer that is outside the Qt Print Support module scope.

          From what I can see, it's a serial port based device so you could use QSerialPort to communicate with it.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          R 1 Reply Last reply
          1
          • SGaistS SGaist

            Hi,

            That's the kind of printer that is outside the Qt Print Support module scope.

            From what I can see, it's a serial port based device so you could use QSerialPort to communicate with it.

            R Offline
            R Offline
            RiyG22
            wrote on last edited by
            #5

            @SGaist , thank you for your support. It doesn't create any serial port to communicate serially. How to integrate it then?
            USBDevice.png

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              If you list all the serial ports with QSerialPortInfo::availablePorts, what do you get ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              R 1 Reply Last reply
              0
              • SGaistS SGaist

                If you list all the serial ports with QSerialPortInfo::availablePorts, what do you get ?

                R Offline
                R Offline
                RiyG22
                wrote on last edited by
                #7

                It doesn't print anything for the printer. I have run this part of code:

                for(auto info: QSerialPortInfo::availablePorts()){
                        qDebug()<<info.portName()<<info.description()<<info.manufacturer();
                        if(!info.isBusy() && (info.description().contains("Silicon Labs CP210x USB to UART Bridge") || info.manufacturer().contains("Silicon Labs"))){
                            portInfo = info;
                            break;
                        }
                    }
                
                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  What do you get ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  R 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    What do you get ?

                    R Offline
                    R Offline
                    RiyG22
                    wrote on last edited by
                    #9

                    @SGaist , I didn't get anything because It doesn't create any serial port on my device.

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      Do you mean the list is empty ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • fcarneyF Offline
                        fcarneyF Offline
                        fcarney
                        wrote on last edited by
                        #11

                        From website:
                        "Driver: Windows/Linux/Android OS"
                        Ask them for a driver.

                        C++ is a perfectly valid school of magic.

                        1 Reply Last reply
                        0

                        • Login

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