print-adress-label/address-label.sh

13 lines
No EOL
253 B
Bash
Executable file

#!/bin/bash
source venv/bin/activate
pip install -r requirements.txt
python address-label.py <&0
export BROTHER_QL_MODEL=QL-720NW
export BROTHER_QL_PRINTER=tcp://brw008092c0c4ca
venv/bin/brother_ql print -l 62 address-label.png
rm address-label.png