On Oct 21, 2011, at 11:20 AM, Steve Sharrock wrote:
> I read that the HP ePrint application could be called using an intent. After 
> several hours of Googling, I can't find any example. If anyone on this list 
> knows the answer, or some other wifi printing, solution, please let me know.

Perhaps you want slide 22 of:

        
https://github.com/xamarin/monodroid/commit/9e57169b4d625c0a41ccbac1a5f2d32dd3d2d6e9

Which, as per the slide, is this:

        http://www.openintents.org/en/node/741

A quick & untested equivalent to the Intent use to C# would be:

        var intent = new Intent ("org.androidprinting.intent.action.PRINT");
        intent.AddCategory (Intent.CategoryDefault);
        intent.SetDataAndType (mUri, "application/pdf");
        StartActivityForResult (intent, REQUEST_CODE_PRINT_FILE);

 - Jon

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to