Print on Android!
-
Hello.. I'm having trouble printing something on Android. I'm using the QPrinter and QPrintDialog class.
Here's the code:printer = new QPrinter(); printer->setOutputFormat(QPrinter::NativeFormat); QPrintDialog *dlg = new QPrintDialog(printer, this); if (dlg->exec() == QDialog::Accepted) { TE_Rel->document()->print(printer); }When printing, only the option "Print to File (PDF)" appears.
I have other print drivers installed on Android but it doesn't show up in QPrintDialog.
How to send text to printer installed on Android?