Android Question HP ePrint needed - Please help

MitchBu

Well-Known Member
Licensed User
Longtime User
I am trying to come up with an app that prints over WiFi to an HP ePrint printer.

I have tried to apply the method posted by Erel here
https://www.b4x.com/android/forum/threads/hp-eprint-interface-intent.28221/

But all I get is a MsgBox with
----
Unfortunately, HP ePrint has stopped
Report OK
----

I routinely print to the same printer from the same title iOS app I already created in another tool, and what happens is, the printer "wakes up" and I never saw the same kind of dialog.

Something seems to be missing in the code to bring the printer up :

B4X:
Dim i As Intent
i.Initialize("org.androidprinting.intent.action.PRINT", "file://" & File.Combine(Dir, FileName)) 'make sure that the file is in the external storage
i.SetType("text/plain")
StartActivity(i)

I would appreciate some help in that matter. If I cannot print, this is a definite show stopper:(
 

MitchBu

Well-Known Member
Licensed User
Longtime User
The HP ePrint app is really messy. It crashes without reason.
Yet, when it works, I can print full paper size with no margin.

Will try other seemingly comparable apps now.

It should be an interesting challenge to patiently guide users along the same path :p
 
Upvote 0
Top