6

I've downloaded a utility called PrintShare which allows one to print things like web pages, contact lists, calendars, etc to a printer connected through wireless or a computer participating on the PrintShare network.

I would like to have my Android app create a text file, then send that text file to a printer that is shared with PrintShare.

Is there an API for printing on Android?

Thanks Mike

eljainc
  • 117
  • 2
  • 6
  • 12

6 Answers6

6

All which need a printing API in Android should vote for it.

http://code.google.com/p/android/issues/detail?id=1148

http://code.google.com/p/android/issues/detail?id=13275

Currently there are some bad working third party apps. Nothing is a professional solution.

Horcrux7
  • 23,758
  • 21
  • 98
  • 156
  • 3
    Now there is an API in 4.4! :)) http://developer.android.com/about/versions/android-4.4.html#Printing – Bloke Feb 03 '14 at 17:59
3

From Android 4.4 provided API Printing

http://developer.android.com/training/printing/index.html

http://www.youtube.com/watch?v=Iub67ic87KI

Huỳnh Ngọc Bang
  • 1,572
  • 1
  • 19
  • 22
3

Is there an API for printing on Android?

Not natively. There might be some from third parties, but nothing built into the OS.

Android 4.4 and higher has a printing API that you can use.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • 1
    I don't know if you're looking to print a full sized document or a receipt. One option for a receipt printing API is here: http://www.starmicronics.com/support/SDKDocumentation.aspx – LtH May 29 '12 at 07:28
2

Bixolon is a company that sells printers of all types. In fact, it sells printers that can connect with Android applications by an API (SDK).

Here some real example: http://www.youtube.com/watch?v=op_j80zVL78

And here more information about it (Bixolon SPP-R200) Android: Connecting and Printing to Bixolon SPP-R200

If anyone knows another company or printers, please share!

Thanks

Community
  • 1
  • 1
danigonlinea
  • 1,113
  • 1
  • 14
  • 20
0

Checkout out www.lob.com, they have a nice printing and mailing API that is easy to integrate with Android!

0

Android now includes a complete framework that allows users to print any document using a printer connected over Wi-Fi, Bluetooth, or other services. The system handles the transaction between an app that wants to print a document and the services that deliver print jobs to a printer. The android.print framework provides all the APIs necessary to specify a print document and deliver it to the system for printing. Which APIs you actually need for a given print job depends on your content.

Kindly refer to the following url:

https://developer.android.com/reference/android/print/package-summary.html

chiranjib
  • 5,288
  • 8
  • 53
  • 82