QPrinter Support On Android
-
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 !
-
@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
-
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.