-
-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to connect to MTP-II #53
Comments
use library version 1.1.2. It should work when you scan tpScan((char *)"MTP-II_BC6A", 15); |
Tried it just now, it still doesn't find it, difference with 1.1.2 is printer doesn't show there is connection as with the latest one |
Your code line in the above post reads "tpScane((char *)"MTP-II_BC6A", 15);".........It should be "tpScan....". |
My bad on that, it is |
I ended up writing my own code without the Thermal_Printer library. I used arduinoBLE library and scanned for UUID. Everything works fine that way, but you'll have to hard code the esc/pos commands. Sorry I can't help more. |
Do you maybe have some repo or example how you did it? |
To add a new printer name, truncate it to 9 chars and add it to szPrinterIDs[]. tpFindPrinterName() truncates the advertised printer name to 9 characters or less before looking for a match in szPrinterIDs. |
Hello!
I have an MTP-II printer which should be fine. Name on bluetooth is MTP-II_BC6A
I am trying to scan it with
tpScane((char *)"MTP-II_BC6A", 15);
to no avail, tpScan returns false but printer changes led color to blue like when it is connected when running tpScan.Any info on this?
Thanks in advance
The text was updated successfully, but these errors were encountered: