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