MultiMote / niimblue

🖨 NIIMBOT custom web client/app. Design and print labels with NIIMBOT printers directly from your PC or mobile web browser!
https://niim.mmote.ru
MIT License
82 stars 15 forks source link

B1 cannot print when setting density to 6 #15

Closed xfqz86 closed 2 months ago

xfqz86 commented 2 months ago

B1 cannot print when setting density to 6, because the density of B1 is only supported up to 5 at most.

MultiMote commented 2 months ago

Unfortunately, I could not find a place where I can get a list of supported printer densities. So I just added minimum and maximum values to the form. Otherwise i will need to write each printer rule manually.

Supported label types and some other info I got here: https://oss-print.niimbot.com/public_resources/static_resources/devices.json There may be another source for the density range.

xfqz86 commented 2 months ago

In you provide URL, solubilitySetStart is the minimum density supported by the printer, solubilitySetEnd is the maximum, and solubilitySetDefault is the default

MultiMote commented 2 months ago

What a strange naming 🤦‍♂️ I had not even had a thought that this parameter meant density.

MultiMote commented 2 months ago

Done.