Closed tr3v3r closed 4 months ago
Please specify printer model you're using
@tr3v3r the USB printer is TM-T88v and the LAN is TM-T82II
@omarst9 before printing have you used printer discover?
If it possible post the target and device name you're passing to Printer class
Yes, I was using printer discover. I confirmed the target and deviceName were both correct
const printerInstance = new Printer({
target: "USB:/dev/bus/usb/002/002",
deviceName: "TM-T88V",
});
I got it to work now after I rebuilt the app. I had the 3.0.2 version installed before i updated to 4.0.6 so that was most likely the reason.
I'm just trying the example provided but i keep getting an Error
Printer is not initialized. Please call init() first.
I've tried running printerInstance.init() before the queueTaks but no luck either. Any ideas why i might be getting this?
Thanks!
Originally posted by @omarst9 in https://github.com/tr3v3r/react-native-esc-pos-printer/issues/139#issuecomment-2100644061