Skip to content
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

[Bug]: Custom Label QR not displayed #259

Closed
MatthaeusLeiner opened this issue Mar 25, 2024 · 3 comments
Closed

[Bug]: Custom Label QR not displayed #259

MatthaeusLeiner opened this issue Mar 25, 2024 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@MatthaeusLeiner
Copy link

Binner version

v2.6.1

Operating System

Windows 10 x64

Describe the bug and the steps to reproduce it

I tried using the label editor and replace the 2D Matrix code with a QR-Code but it still displays the Matrix. I tried restarting Binner Service but there is no difference. I tried to edit the "Parts Label Small".

Would you like to attach your appsetings.json configuration?

No response

Screenshots or Videos (Optional, but they help!)

image

Are you able to contribute a PR? (No is ok!)

No, because I do not know how

@MatthaeusLeiner MatthaeusLeiner added the bug Something isn't working label Mar 25, 2024
@replaysMike replaysMike self-assigned this Apr 3, 2024
@replaysMike replaysMike added the in-progress This ticket is currently being worked on label Apr 3, 2024
@replaysMike
Copy link
Owner

taking a look at this now, will include a fix in next deployment.

@replaysMike replaysMike added this to the v2.6.2 milestone Apr 4, 2024
@replaysMike
Copy link
Owner

ok so I've looked into this, and here's what I found. That is indeed a QR code, it's storing a lot of data so it probably looks a little more dense than what you're used to seeing and it's cropping the corners slightly. It would scan from some iPhone apps, but not all - for example the iPhone camera itself will only recognize QR codes that contain an HTTP link.

When scanning via an app such as "Scandit" (iOS), or my NT-1228BL hand scanner it does scan the data as:

[)>␞06␝NCC-1701-G␝1PNCC-1701-G-TI4473␝K␝THIS PART IS AN PLACEHOLDER FOR AN ACTUAL PART FOR PRINT TESTING PURPOSES.␝18␝1␝DIP8␝Q500␝VANCOUVER␝BIN 11␝21␝M\r\r␄\r

image

But I wasn't able to scan from other apps such as Barcode Data Decoder (iOS) so I think some improvements might need to be made.

I do notice that it cuts the margins a bit, and I don't remember if this was to get it to fit (but still scan) on such a small label. I'm going to try some experiments such as reducing the amount of data being encoded, and possibly an option to encode links to your Binner inventory page.

@replaysMike
Copy link
Owner

replaysMike commented Apr 5, 2024

ah nice, there's already support for QRCode links, you just have to set the QRCode Text/Barcode value to something like: https://localhost:8090/inventory/{partNumber} to have it open your inventory page, then an iPhone will open that URL when detected/scanned. Note that if you're scanning it from a device, you'll need to provide the IP Address or DNS name where your Binner service is hosted and not localhost.

I'll add some help text for this, and schedule some UI updates to allow building of the embedded data using checkboxes or something.

Going to close this ticket for now, but if you need more help or find something isn't working for you feel free to reopen it.

@replaysMike replaysMike removed the in-progress This ticket is currently being worked on label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants