-
Notifications
You must be signed in to change notification settings - Fork 86
Open
Description
Description
Unable to Discover Network Printer (Epson TM-T82X)
Platform: Android
Description
Does not detect an Epson TM-T82X printer connected via Ethernet. The printer is reachable and can successfully receive and print raw ESC/POS commands over TCP, but the library fails to discover it.
What Works
-
Printer is on the same local network as the Android and macOS devices.
-
IP is reachable via ping or TCP tools.
-
Raw print works via command-line:
echo -e $'\x1B\x40Test\n\n\n\x1D\x56\x41' | nc 192.168.254.121 9100
-
Epson utility apps can connect
-
We're using version 2.5.1 before we updated all dependencies and it works
Environment
react-native-esc-pos-printer: 4.4.3
React Native: 0.80.1
Device: Lenovo Tablet / Pixel Emulator
Printer: Epson TM-T82X (Ethernet)Steps to reproduce
What Fails
-
await PrintersDiscovery.start({ timeout: 2000, filterOption: { deviceModel: DiscoveryFilterOption.MODEL_ALL, }, }); PrintersDiscovery.onDiscoveryis not triggered-
const { start, isDiscovering, printers } = usePrintersDiscovery(); useEffect(() => { start(); }, []);
printers returns empty array
react-native-esc-pos-printer version
4.4.3
React Native version
0.80.1
Platforms
Android
Workflow
None
Architecture
None
Build type
None
Device
None
Device model
Lenovo tablet
Acknowledgements
Yes
Metadata
Metadata
Assignees
Labels
No labels