Simple Android App just developed. I have the printing functionality working in android version 4.4 via api google.
Anyway my final purpose is to print automatically to default printer without any ui interface. Print content is simple html. I need some custom code to resolve this issue.
Kind regards Danilo
I think, We can't able to hide that Print Dialog, coz, PrintManager class is final. So, We are not allowed to override that.
When you call this print(String, PrintDocumentAdapter, PrintAttributes) from an activity, It starts Print jobs also it will bringing up the system print UI.
If you want an example for Printing a Document you can refer to this Android-wifi-print - GitHub. This is just a prototype for printing a document using wifi printer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With