AndBondStyle / niimprint

Python library for Niimbot label printers. Supports D11/B21/B1 via bluetooth or USB.
MIT License
225 stars 32 forks source link

Remove left and bottom Margin for Niimbot B1 #25

Closed TurboLuke closed 6 months ago

TurboLuke commented 6 months ago

During some testing for the B1, I ran into the problem of having left and bottom margin in my resulting print (see the image below, the size of the PNG is set to 370px x 230px). Any ideas how I can get rid of it? Thanks in advance!

tempImageH80FKc

AndBondStyle commented 6 months ago

@TurboLuke I think the image should be 384px wide. I have a B21, and alignment isn't always perfect, especially when you load a new paper roll and print the first label. Maybe try printing two labels in a row, at least it should fix the bottom margin

TurboLuke commented 6 months ago

@AndBondStyle You were right, it has nothing to do with the Code, it is just an "physical" alignment problem. Sorry for bothering! Thanks :)