Files
brother_ql/README.md
Philipp Klaus 9de185b7e2 Improved README
2015-12-14 11:17:34 +01:00

971 B

brother_ql

A Python package to control Brother QL label printers.

Installation

pip install https://github.com/pklaus/brother_ql/archive/master.zip

Usage

Create

You can create a new command file to be sent to the printer with the brother_ql_create tool:

brother_ql_create --model QL-500 ./720x300_monochrome.png > 720x300_monochrome.bin

If you want to find out about its options, just call the tool with --help:

brother_ql_create --help

Analyse

To analyse a binary file containing Brother QL Raster commands and create an image of what would be printed:

brother_ql_analyse 720x300_monochrome.bin --loglevel DEBUG

This tool also has the --help option.

Printing

Once you have a Brother QL command file, you can send it to the printer like this:

cat my_label.bin > /dev/usb/lp1

Or via network (if you have a LAN/WLAN enabled Brother QL):

nc 192.168.0.23 9100 < my_label.bin