Does anyone know any INTENT CODE to print/share a PDF/JPG via com.hp.printercontrol "HP Smart (HP AiO Remote)"
I used this code before, but it stopped working with new versions of android.
'i.Initialize("org.androidprinting.intent.action.PRINT", "file://" & File.Combine(Dir, FileName)) 'make sure that the file is in the external storage
I used this code before, but it stopped working with new versions of android.
B4X:
Dim Intent1 As Intent
Intent1.Initialize("org.androidprinting.intent.action.PRINT", Starter.Provider.GetFileUri(filename))
Intent1.SetType("text/plain")
StartActivity(Intent1)
Last edited: