Hi, maybe this has more to do with ecs/pos than qz-tray but maybe someone can help me.
In my code I have followed exactly the same logic as in this example
Raw · qzind/tray Wiki (github.com).
When I print a QR its size depends on the length of the url, if the url is shorter the QR is smaller and if the url is bigger the QR is bigger. This should not be like this right?
If I use this tool
QR.io: QR Code Generator | Create QR Codes the size is always the same with different urls, the only change is that the QR is more complex.
From what I have researched the vars size0 and size1 should not be changed as they are needed to calculate the url size and the printer needs that, so it has nothing to do with the QR size. Then we have the variable dots, I have noticed that if you change that, the QR size changes, but it is still tied to the QR size and the url length, isn't there some way to make the QR size always the same?
And another question I have is, what does the + 3 in "qr.length + 3" mean?
Thanks and sorry if I'm wrong on something, I'm new to this topic.