简体   繁体   中英

Integrate USB POS printer with app from Android tablet

My goal is to integrate a USB POS thermal printer with a small demo Android app that I will using from an Android tablet.

I have two POS printers:

  • Epson TM-T88III
  • POS-5870

I also have a Sanei N10 tablet that I am connecting to the POS printer via a USB OTG dongle cable.

I downloaded the USB Host Diagnostic (from Google Play Store) to see if it would recognize the POS printers that I connected to the tablet. It recognized both printers, however the EPSON TM-T88III was recognized on the Android OS level while the POS-5870 was recognized only on the kernel level.

I also tried using the USB Printer Driver 2.1 DevEd app (from the Google Play store), however I couldn't set the any of the printers as the default printer to use.

I also tried using the POS Printer Driver (ESC) app (from the Google Play store), however, it couldn't connect with the printers.

I was wondering if there is any way I can get the POS printers connected to my Android tablet and perform a test print? In addition, is there any SDKs/source code that I can use to detect and perform a test print?

My 2 cents. I did an app that can print from Android(Bluetooth) to a Zebra printer. Bases on our search, it depends more on your printer provider. We couldn't find a "library" that can print to any printer. That's whay we went for Zebra printers, since they support Android. I'm not sure if Epson does provide Android libraries to use with their printers.

i think the problem with epson api is that it only supports ARMv5TE architecture, I am not sure which tablet you are using, but if the tablet's processor is not ARMv5TE based then I dont think the printers will work, I havent looked at any of the zebra printers, or star for that matter but i assume their apis also must have some limitations in terms of what architecture they support. on that note Epson should release api for ARMv7 and ARMv8 all variants now as thats those are the latest chips and will be most widely used in the coming months.

As far I know, Epson have specific documentation about SDK API for mobile, you can find it in here EPSON SDK API . They provide useful information about specific device requirement and support printer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM