Table of Contents

Using the brother pt1230 label printer

git clone https://gitlab.com/arcoslab/pt1230
cd ~/local/src/gitlab/arcoslab/pt1230
make
export PREFIX=${HOME}/local/DIR/pt1230
make install
cd ~/local/DIR/
xstow pt1230
textlabel --font "Times New Roman" "test" | pt1230 -d /dev/usb/lp1 -b

Multiline text

text-multi-line -f "Courier New:bold" -s 100  "line1
line2
line3
line4" | pt1230 -d /dev/usb/lp1 -b -c
bincodes -e 39 -b "1" "2343452345325452345" | line2bitmap

Printing graphics

bmtoa -char 01 filename.xbm
bmtoa -char 01 filename.xbm | pt1230 -d /dev/usb/lp1 -b -c