pklaus / brother_ql_web

A Python-based web service to print labels on Brother QL label printers. Based on brother_ql: https://github.com/pklaus/brother_ql
GNU General Public License v3.0
254 stars 124 forks source link

Font Alignment via API #44

Closed timnijland3 closed 1 year ago

timnijland3 commented 1 year ago

Is there a way to do the Font Alignment via the API aswell?

I tried: "font_alignment" => "left",

But that wasn't working.

FriedrichFroebel commented 1 year ago

According to https://github.com/pklaus/brother_ql_web/blob/9e20b6dc3f80589bffc0b1036aa3f7122ea4af89/views/labeldesigner.jinja2#L147

you will have to use the align key with either left, center or right as the value.