API for printing from Android Applications

Action: 
com.rcreations.send2printer.print
Input: 
URI: "content:", "file:", "http:", "https:" MIME TYPE: "text/plain", "text/html", "text/xml", "image/*", "application/x-android-picture-stream"
Output: 
content is rendered, queued, and then send to a network printer configured by the user.

The "Send 2 Printer" application hooks into existing applications to enable printing,

but you can also send the following data formats to Send 2 Printer for printing from your own applications:

- HTML content
- Text
- Image
- Canvas draw commands (via serialized Picture)
- Canvas draw commands rendered to a Bitmap

The following post contains sample code to print the above formats and include a sample "Test Print" eclipse project:

http://hit-mob.com/forums/viewtopic.php?f=13&t=66

More information about the "Send 2 Printer" application:

http://hit-mob.com/forums/viewtopic.php?f=13&t=58

Applications providing API for printing from Android Applications

Titlesort icon Provides intent actions Provides intent URIs Uses action Uses URI Description
Print Photos with HP iPrint Photo for Android API for printing from Android Applications

Action: org.androidprinting.intent.action.PRINT
Input:
URI of the image to be printed, mime type of the image (must be of type "image/*")

Any application can use HP iPrint Photo for Android for printing images on nearby printers from Android phones.

HP iPrint Photo for Android phones
Wireless photo printing from your mobile device