Connecting printer with android tablet

I need to connect printer with android based tablet using usb and i need to print from my android application using usb printer.My tablet has two usb port . how can i connect it ?

  • How to turn on/off all sounds from accessibility settings programmatically in android?
  • How can a view detect when it's being attached to its parent?
  • Android AsyncTask
  • ClassCastException: android.widget.EditText
  • How to enable automatic shortcut creation after app downloads and installs from Android Market?
  • Can I just inject super class when use dagger2 for dependency injection?
  • Related posts:

    Google Play Store: You need fix your high-res icon. It is not a valid image
    Label Text size according to the screen size in a chart engine pie chart in android
    phonegap run android not working and no error message
    HTML file input control with capture and accept attributes works wrong?
    Android: How to get background color of Activity in Java?
    DexClassLoader on Android Honeycomb
  • Localization and drawables
  • android TextView : Change Text Color on click
  • Eclipse ADT Plugin - No Build Target Available
  • Android: Detect when another Activity is launched (or your activity loses focus)
  • Android – how to load shared library?
  • How to turn on the Wi-Fi on android emulator device?
  • 2 Solutions collect form web for “Connecting printer with android tablet”

    I think that there is no normal way by which we can connect the android tablet to a USB printer, if the printer is a WiFi supporting one then there are numerous apps through which we can print.
    eg:(http://www.makeuseof.com/tag/print-android-phone-printershare/)

    For experiment ready guys follow this link : http://www.tombom.co.uk/blog/?p=124

    Are you looking to print to a big desktop printer or a receipt printer?

    If you’re looking for a receipt printer, Star Micronics has an Android SDK that you can freely download here: http://www.starmicronics.com/support/SDKDocumentation.aspx.

    It covers USB printing. The printer can be connected directly to a tablet with USB ports. Your tablet needs to have Android V3.1 or higher for direct USB connection with a printer.

    This SDK has a really nice sample app that lets you test and customize a lot of printer functions to see them in action. Each function is documented in the source code. The commands and their parameters are also available in the app itself as a quick on screen reference which is convenient. On top of all that, it’s well documented.

    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.