from label import label l = label(1500) l.set_font('/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf'); l.set_fontsize(70) for i in range(0,15): l.text((7, 10+i*100), "dveth%02d" % (i)) l.save('dveth_29mm.png')