How to Print to an Epson TM Printer from a Custom POS
Connecting a custom or AI-built POS to an Epson thermal printer means navigating the Epson ePOS SDK, browser HTTPS mixed-content blocks, and Apple's MFi approval queue. Here is how each connection type works—and how to skip the low-level plumbing.

You can prompt an AI app builder on a Tuesday morning, have a working checkout screen by lunch, and spend the next three weeks failing Apple App Review because you tried to print a 3-inch thermal receipt to an Epson TM-m30 over Bluetooth. Software previews in a browser tab don't care about physical ports, MFi hardware handshakes, or self-signed printer certificates. Real retail counters do.
If you're building a custom point of sale and your merchant has an Epson thermal printer sitting on the counter, you don't use standard operating system print dialogs. AirPrint and standard Android print spools are far too slow for a rush line, and they don't know how to fire the RJ12 kick-out pulse that opens a cash drawer. To print receipts properly, cut the paper cleanly, and pop the drawer in under a second, you have to talk to the hardware directly using the Epson ePOS SDK or Epson's network XML protocol, ePOS-Print.
For the complete breakdown across receipt printers, cash drawers, barcode scanners, and customer displays, read our pillar guide on POS Hardware for Custom Apps: Printers, Drawers, Scanners, Displays.
The Epson ePOS SDK for iOS, Android, and JavaScript
The Epson ePOS SDK converts high-level method calls in your POS application into the raw ESC/POS byte commands that Epson TM-series receipt printers execute. Instead of manually concatenating hexadecimal byte arrays to bold a header or render a QR code, you instantiate an Epos2Printer object, build a command buffer in memory, and dispatch it over TCP/IP, Bluetooth, or USB.

The ePOS SDK builds a local command buffer for text, barcodes, paper cuts, and 24V cash drawer pulses before opening a connection to the printer.
Epson maintains three distinct flavors of the ePOS SDK. Picking the wrong one for your architecture will stall your build before you print a single line:
ePOS SDK for iOS: Distributed as an Objective-C/Swift framework (
libepos2.aor.xcframework). It supports network (LAN/Wi-Fi), Bluetooth Classic, Bluetooth Low Energy (BLE) on select models, and physical USB-to-Lightning or USB-C connections on supported hardware.ePOS SDK for Android: Delivered as a
.jarand native.solibraries. Because Android doesn't enforce an Apple-style hardware chip gate on Bluetooth Serial Port Profile (SPP) or USB Host mode, it's the most permissive environment for direct cable or Bluetooth connections.ePOS SDK for JavaScript: Runs directly in a web browser and skips Bluetooth and USB ports entirely. It wraps Epson's ePOS-Print XML-over-HTTP protocol, sending print jobs over the local network to the web server built into the printer's network interface card.
How the Command Buffer Works
Whether you write in Swift, Kotlin, or JavaScript, the ePOS SDK follows the same state-machine lifecycle. You initialize the printer class with a specific model constant (EPOS2_TM_M30II) and a language constant (EPOS2_MODEL_ANK for standard English/North American character sets).
You don't stream commands one line at a time over the wire. You append your entire receipt into a local buffer first:
addTextAlign(EPOS2_ALIGN_CENTER)for the store header.addText("St. John's Roasters\n")for the merchant name.Line items, tax breakdowns, and
addBarcode()oraddSymbol()for loyalty QR codes.addCut(EPOS2_CUT_FEED)to advance the roll past the tear bar and trigger the guillotine cutter.addPulse(EPOS2_DRAWER_2PIN, EPOS2_PULSE_100)to fire the 24V solenoid on the cash drawer connected to the printer's DK port.
Only when the whole ticket is assembled do you call connect(), sendData(), and disconnect().
Holding an open TCP or Bluetooth socket between transactions is the number one mistake developers make when writing their first POS app. If two iPads try to hold a persistent socket to the same kitchen printer, the second tablet gets rejected with ERR_CONNECT until the first tablet drops off the Wi-Fi.
When Does an Epson Printer App Need Apple MFi Approval?
An iOS app requires Apple MFi (Made for iPhone/iPad) whitelist approval through Epson whenever it communicates with an Epson MFi-series printer over Bluetooth Classic or a wired Lightning/USB connection and is distributed via the public Apple App Store or Apple Business Manager (B2B).
Rapid prototypes usually crash into bureaucracy right here. You can wire up the iOS ePOS SDK, add com.epson.escpos to the UISupportedExternalAccessoryProtocols array in your Xcode Info.plist, and print twenty test receipts via TestFlight without a single warning. Then you submit your build for App Store Review.
Apple's automated check—and the human reviewer after it—sees the External Accessory protocol string in your binary. They pause your review and ask for your MFi Product Plan ID (PPID) proving the hardware manufacturer has authorized your specific Bundle ID to talk to their MFi coprocessor.
You do not need MFi approval if:
Your iOS app prints exclusively over Ethernet or Wi-Fi (TCP/IP port 9100 or ePOS-Print).
You're building for Android, Windows, or macOS.
Your app is purely browser-based and sends network requests.
For the full breakdown of how Apple's External Accessory framework polices hardware across all manufacturers, see our guide on Do You Need MFi Approval to Print Receipts from an iPad App?. If you're weighing Epson against Star Micronics for your build, compare this workflow with How to Connect a Star Micronics Printer to Your Own POS App.
Navigating Epson's Application Information Form and Submitting Guide
Because your software company isn't manufacturing physical hardware, you don't apply to Apple's MFi program directly. Epson owns the MFi certification for the authentication chip inside an Epson TM-m30 or TM-T88VI-iHub, so Epson has to register your iOS app in Apple's portal on your behalf.

Select modern thermal printers support direct USB data and power to iOS devices, while network printers communicate over local Ethernet or Wi-Fi.
To get whitelisted, you follow Epson's Application Submitting Guide and file their Application Information Form:
Exact Bundle ID and App Version Lock: Provide your exact Apple App ID, Bundle Identifier, and the exact version string you intend to submit to Apple.
Per-Model Declaration: Declare every single Epson MFi printer model your app supports. If you check the box for the TM-m30II today and a merchant buys a TM-P20II belt printer six months from now, you have to go back through the form to add the new model to your registration.
Protocol String Matching: Your app's
Info.plistmust declarecom.epson.escposunderUISupportedExternalAccessoryProtocols. Leave it out, and iOS blocks the Bluetooth socket at the OS level. Include it without Epson's approval on file at Apple, and App Review rejects the binary.The Waiting Game: Once you submit the Application Information Form, Epson reviews your details and pushes your app metadata to Apple's MFi portal. After Apple processes the record, Epson emails you a confirmation code (PPID) and instructions on what text to paste into the App Review Information Notes field inside App Store Connect.
Wait until that confirmation number is in your App Store Connect notes before hitting "Submit for Review." Submit early, and you'll get flagged under Guideline 2.5.4 or 2.5.14, pushing your release date back a week or two while the paperwork catches up.
Which Epson Printers Support USB to iOS?
Only specific modern Epson thermal printers support direct USB data and power communication with iPads and iPhones. Epson explicitly lists the TM-m30II, TM-m30II-H, TM-m30II-NT, and TM-m50 as supporting USB connection to iOS.
Merchants buying refurbished hardware on eBay fall into this trap constantly. A restaurant owner will buy a standard USB-only Epson TM-T20III, plug a USB-A-to-Lightning adapter into their iPad, and wonder why nothing happens. Standard USB Type-B ports on budget thermal printers act purely as USB peripheral slaves expecting a Windows or Linux USB Host driver. They cannot negotiate an iOS External Accessory session over a Lightning cable.
On supported models like the TM-m30II-NT, that dedicated 2.1A USB-A port does double duty: it charges the iPad and passes ePOS SDK data over the same wire, and it can pass network connectivity through to the tablet when the printer is plugged into Ethernet. Wired USB-to-iOS still uses Apple's External Accessory framework under the hood, so the MFi application process above still applies just as it does for Bluetooth.
Printing from a Browser with ePOS-Print Over the Network
You can skip native iOS wrappers and MFi forms entirely by keeping your custom POS inside a web browser, provided you use network-connected printers.

Running a custom checkout on native station hardware handles receipt printing, cash drawer pulses, and multi-printer kitchen routing out of the box.
Safari on iOS and iPadOS doesn't support the Web Bluetooth API or WebUSB API, meaning a web app running in Mobile Safari cannot talk to a Bluetooth or USB printer under any circumstances. To print from a browser, your printer must be on the local area network via Ethernet or Wi-Fi, and you must use ePOS-Print.
ePOS-Print is an XML-over-HTTP service built into the firmware of Epson's intelligent and standard network printers (once toggled on in the printer's WebConfig utility). When your browser app calls the Epson JavaScript SDK, the SDK constructs a SOAP/XML payload and sends an HTTP POST request directly from the tablet's browser to:
http://<printer-ip-address>/cgi-bin/epos/service.cgi?devid=local_printer&timeout=10000
The HTTPS Mixed-Content Catch
Working with ePOS-Print in 2026 comes with a major browser security headache: Mixed Content and Private Network Access (PNA).
Your cloud POS or AI-generated web app is almost certainly served over https://. By default, the Epson printer sitting on 192.168.1.200 serves its ePOS-Print endpoint over plain http:// on port 80, or https:// on port 443 using a self-signed certificate generated by the printer.
Modern browsers block an https:// web page from making an http:// fetch or XMLHttpRequest call to a local IP address. If you switch the SDK call to port 443 (https://192.168.1.200), the browser immediately aborts the connection with NET::ERR_CERT_AUTHORITY_INVALID because the printer's self-signed SSL certificate isn't trusted by iOS or Chrome.
To make browser printing work reliably in production, you have three choices:
Manually install a custom root CA certificate onto every single iPad and printer in the store (a support nightmare at scale).
Run a local native bridge app on the device that accepts a custom URL scheme (
myposprint://) and forwards the job over raw TCP port 9100.Run your custom checkout inside a native Station app that already has the printer SDKs, permissions, and MFi entitlements compiled in.
Running Your Custom Checkout on Final Instead
Building a bespoke checkout flow for a café, boutique, or multi-location retailer shouldn't require you to become a full-time ESC/POS firmware engineer or wait two weeks for an MFi PPID from Epson.
Most AI app builders generate a pretty UI in a browser and leave you to discover the hardware wall on your own. Final Build works the opposite way. You describe your store's exact checkout workflow, custom logic, and screens, and Build generates a working POS wired directly into real commerce rails: catalog, tax, inventory, Adyen-powered Final Pay, and native hardware.
Instead of compiling your own iOS binary and filing MFi forms per printer model, you deploy your flow via Final Run to Final Station, which runs natively on iOS, Android, macOS, and Windows at no monthly software fee. Final Station already handles the native printer connections, cash drawer pulses, barcode scanners, and customer-facing displays under the hood:
Plug-and-play configuration: Connect your printer in Station, set your paper width (80mm, 58mm, or A4), pick your receipt template, toggle print-on-sale, and enable the cash drawer and margins directly from the settings screen. Follow our How to connect a Printer guide for the exact setup.
Multi-printer kitchen and bar routing: If a restaurant needs drinks routed to the bar thermal printer and hot food sent to an 80mm kitchen printer at the exact same moment, you don't write socket-pooling code. Configure print blocks, run a test transaction through your flow on the Station, and confirm that each print block lands on its printer at the same moment. See How to set up multi-printer routing on a Station.
Purpose-built hardware when you want it: Use the supported printers you already own, or buy merchant-owned hardware outright with zero leases. Options include Final Print, our 80mm USB + LAN kitchen cloud printer (IP52-rated, 250 mm/s print speed, with a built-in scanner), the Flex Restaurant Desktop Stand with its built-in receipt printer, or the Final Register Bundle (complete counter kit with D3 Pro, Customer Facing Display, Kitchen Printer, Keyboard, and Max cash drawer).
What to Do Next
If you're committed to writing and maintaining your own native iOS or Android wrapper from scratch, check your target Epson printer model against Epson's MFi list before you touch your UI. If the merchant wants Bluetooth or USB on an iPad, submit Epson's Application Information Form now so the PPID arrives before your App Store launch window.
Or skip the SDK plumbing and MFi review queue altogether. Open Final Build (every account gets 1,000 free build credits per day, up to 5,000 a month), describe the exact checkout flow your business or client needs, and print a real receipt from Final Station in the next ten minutes.
Frequently asked questions
Does every Epson printer app need Apple approval?
No. You only need Apple MFi approval through Epson if you're building a native iOS app that connects to an Epson MFi-series printer over Bluetooth Classic or a wired Lightning/USB connection and distributing it through the Apple App Store or Apple Business Manager (B2B). Apps that print exclusively over Wi-Fi or Ethernet (LAN) don't require MFi approval.
Can I print to an Epson printer from a web page?
Yes. Epson's ePOS-Print protocol and the ePOS SDK for JavaScript let browser-based POS apps send XML print jobs over a local network (Wi-Fi or Ethernet) directly to the printer's built-in web server. Because Safari on iOS lacks Web Bluetooth and WebUSB, browser apps cannot print over Bluetooth or USB on iPads, and you have to work around HTTPS mixed-content security rules on the local network.
Which Epson printers support USB to iOS?
Not every USB receipt printer can talk to an iPad or iPhone over a cable. Epson specifically lists the TM-m30II, TM-m30II-H, TM-m30II-NT, and TM-m50 as supporting direct USB connections to iOS devices. Wired USB connections to iOS still use Apple's External Accessory framework and require MFi app approval.

