First build the docker image and name it brother_ql_web
, which only needs doing once.
-
cd docker
-
docker build -t brother_ql_web .
don't miss the dot at the end!
To run the image:
-
docker run -it --rm -p 127.0.0.1:8013:8013 brother_ql_web ./run.py --model <MODEL> <FILE>
replacing with your printers model, and with your printers connection file/network e.g.
tcp://192.168.5.169
orfile:///dev/usb/lp0
-
Open http://localhost:8013/ in your web browser