Android Question Calling PrintBot from b4a

virpalacios

Active Member
Licensed User
Longtime User
Hi, I am trying to print using PrintBot (for printing using WIFI), I already launch it using the Package Manager, however the user has to choose the file for printing ( receipt.txt). Checking at Print Bot WebSite
they have a small Java code to Print a file directly.
I made several tries to rewrite it using B4A however I am missing someting. I appreciate if someone can check it, it will very useful for printing in Indoors environments.

Best Regards



B4X:
Intent intent = new Intent("net.jsecurity.printbot.action.PRINT");
intent.setDataAndType(uriToPrint, "text/html");
startActivity(intent);
 

Roberto P.

Well-Known Member
Licensed User
Longtime User
hello
how do I print a html file (or pdf) with a Bluetooth printer?

regards
 
Upvote 0
Top