Skip to content

at least one dimension needs to match the tape width (%i, %i) vs %i (111, 111, 70) #4

@tarwebrood

Description

@tarwebrood

I'm trying to print QR codes with brother_pt

I've created a QR code PNG file using the tool 'qrencode':
qrencode -o qr_label.png 'https://example.org'

This creates a PNG file with a size of 111x111 pixels.
When I try to print this .png on my Brother P-touch E550W, I get the following error:

python3 -m brother_pt print -f ./qr_label.png

Could not auto-rotate image, at least one dimension needs to match the tape width (%i, %i) vs %i (111, 111, 70)

My printer is recognized:
python3 -m brother_pt discover

      Vendor	Model		Serial
 ( 1) Brother	PT-E550W	<SERIALNR>

python3 -m brother_pt -p <SERIALNR> info

Brother PT-E550W (<SERIALNR>):
 + Media width: 12mm
 + Media type : LAMINATED_TAPE
 + Tape color : WHITE
 + Text color : BLACK

Is this a Python2 vs Python3 issue, or should I change the resolution of my PNG file to a specific size?

Thank you so much for all your time you have already put in this project, and for reading my question.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions