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

CR from browser address field #23

Closed joppana closed 4 years ago

joppana commented 5 years ago

http://www.yotime.fi:8013/api/print/text?text=Matti Meik%C3%A4l%C3%A4inen\nTrackCode\n12345678901&font_size=50&font_family=Caladea(Regular)

Trying to add return for the label. Liked Meikäläinen TrackCode 12345678901

now everyone goes to one line. So, how to add line Break?

pklaus commented 4 years ago

Just use %0A (urlencoded newline) instead of \n. Best, Phil