CodeMinion / another_brother

Another Brother Flutter SDK
BSD 3-Clause "New" or "Revised" License
21 stars 22 forks source link

Label format request #91

Closed PrimaelQuemerais closed 4 months ago

PrimaelQuemerais commented 4 months ago

Hello,

I'm trying to add support in my app for the TD-2125N but I would need the RD_W51H26mm label format for it. I'm only seeing W57mm or W40_H40mm.

Would it be possible to add this format?

Thank you very much!

CodeMinion commented 4 months ago

Hi @PrimaelQuemerais ,

Thanks for reaching out about this. In order to add support for that paper we would need a .bin file generated for that printer and paper size.

If you could send us a working bin file we can go ahead and update the library.

Thanks again,

PrimaelQuemerais commented 4 months ago

Thank you for the quick reply!

I do not have the printer myself but I asked a colleague to generate one, I do not know if it is working. Here is a link to the generated files : https://drive.google.com/drive/folders/1FbhseM3ce6-vcggUw4cWznfuPBOo46SC?usp=share_link

Let me know if there is anything else I can help with.

PrimaelQuemerais commented 4 months ago

Hello @CodeMinion !

Sorry for bumping this up, were you able to have a look?

Thank you so much for your time!

CodeMinion commented 4 months ago

Hi @PrimaelQuemerais ,

No apologies necessary. Version 2.1.7 has just been released with the bin paper you shared. Since I don't have a way to verify if the paper works I'll leave this issue open until we get confirmation from you that it's working correctly.

PrimaelQuemerais commented 4 months ago

Thank you so much @CodeMinion !

I will build a new version of our app tomorrow, have it tested and will let you know right away!

PrimaelQuemerais commented 4 months ago

Hi @CodeMinion! So I had the new version tested and it doesn't work. The app crashes when trying to print using the new label. I'm getting a TD-2125N delivered to me so I can generate a new bin file and test everything on my own. I will keep you updated!

CodeMinion commented 4 months ago

Hi @PrimaelQuemerais !

Bummer about the failure but thanks for looking into it further. Don't hesitate to share the bin file ones you have it and we can go ahead and add it.

Thanks for the support,

PrimaelQuemerais commented 4 months ago

Hello @CodeMinion! I just created a new pull request. I used a new bin file and was able to test with a TD2125N. Everything seem to be working fine

CodeMinion commented 4 months ago

Hi @PrimaelQuemerais !

Thanks for testing and the fix. I have merged the changed and released version 2.1.8 to pub.dev. It should become available in 10 minutes or so for usage.

Thanks again,

PrimaelQuemerais commented 4 months ago

Hello @CodeMinion Thank you for the reactivity. I can confirm everything is working fine in the latest version.

Closing the issue now