add-printing #1

Merged
tux merged 9 commits from add-printing into master 2020-04-12 18:15:20 +02:00
2 changed files with 12 additions and 1 deletions
Showing only changes of commit 735dded69b - Show all commits

View file

@ -11,4 +11,4 @@ d = ImageDraw.Draw(img)
d.text((20,10), "Netz39 e.V., Leibnizstr. 32, 39104 Magdeburg", font=fnt0, fill=(0,0,0))
d.text((20,25), address.strip('\"'), font=fnt, fill=(0, 0, 0))
img.save('pil_text_font.png')
img.save('address-label.png')

11
address-label.sh Normal file
View file

@ -0,0 +1,11 @@
#!/bin/bash
source venv/bin/activate
Review

Hier könnte noch ein pip install -r … stehen.

Hier könnte noch ein `pip install -r …` stehen.
python address-label.py <&0
export BROTHER_QL_MODEL=QL-720NW !3678
export BROTHER_QL_PRINTER=tcp://brw008092c0c4ca
venv/bin/brother_ql print -l 62 address-label.png
rm address-label.png