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 ?

  • no ABI error , when creating an Android virtual device
  • Android: get height of a view before it´s drawn
  • How to set different label for launcher rather than activity title?
  • Using BluetoothChat to communicate with ELM327
  • How to write an Android multi-pane app with very deep navigation
  • MultiChoiceMode before API 11
  • Related posts:

    Android instrumentation tests with Mockito
    Change Custom View Width And Height In Android
    android webview error Page not found
    How to know my Android application has been upgraded in order to reset an alarm?
    Eclipse Logcat filter plus sign not visible
    Error on Chromium ARC Compilation when configure
  • Android Performance XML Drawable vs CSS3 vs Images
  • Android - Cancel AsyncTask Forcefully
  • Android Launcher Icon Rounded Corner Edge Radii
  • To force cancel AsyncTask shouldn't the flag periodically checked in doInBackground be volatile?
  • LibGDX's TexturePacker with gradle
  • Difference between getDefaultSharedPreferences and getSharedPreferences
  • 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.