Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QPrinter Support On Android
Forum Update on Monday, May 27th 2025

QPrinter Support On Android

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qprinterprinterandroidqt-android
3 Posts 3 Posters 1.0k 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.
  • N Offline
    N Offline
    narayanan.krish
    wrote on 31 Jan 2020, 11:17 last edited by narayanan.krish
    #1

    Hello all,

    I have ported a Qt application developed in Linux to Android successfully. But I am facing while using the printer. I am not able to print from the application ported on Android.

    I would like to understand if we can use QPrinter for printing on Android device from an application developers using Qt. Also I would like to understand if CUPS is supported on Android.

    QPrinterInfo::PrinterList is returning an empty list. I would like to print on a Seiko Thermal printer RP-D10 - Network, Bluetooth and USB.

    The Seiko company has given a sample apk from which I am able to print. But I am not sure why I am not able to print from Qt using QPrinter.

    Any help is highly appreciated !

    R 1 Reply Last reply 31 Jan 2020, 20:54
    0
    • N narayanan.krish
      31 Jan 2020, 11:17

      Hello all,

      I have ported a Qt application developed in Linux to Android successfully. But I am facing while using the printer. I am not able to print from the application ported on Android.

      I would like to understand if we can use QPrinter for printing on Android device from an application developers using Qt. Also I would like to understand if CUPS is supported on Android.

      QPrinterInfo::PrinterList is returning an empty list. I would like to print on a Seiko Thermal printer RP-D10 - Network, Bluetooth and USB.

      The Seiko company has given a sample apk from which I am able to print. But I am not sure why I am not able to print from Qt using QPrinter.

      Any help is highly appreciated !

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 31 Jan 2020, 20:54 last edited by
      #2

      @narayanan-krish said in QPrinter Support On Android:

      The Seiko company has given a sample apk from which I am able to print. But I am not sure why I am not able to print from Qt using QPrinter.

      AFAIK there is no support in the Qt framework for printing on Android yet
      You would need to implement it yourself in Java and call your implementation with JNI.

      Another possibility would be to use Android's CloudPrint by emitting a Print Intent

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MTCA
        wrote on 10 Jul 2020, 07:04 last edited by
        #3

        Hi Narayanan, Did you find any other alternative for this printer support on Android? Implementing ourselves is definitely an option but it can be quite a process if your application has to support more than 10 types of printers.
        Do let me know as it would be helpful piece of information.

        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