This question has been flagged
2378 Views

<% import commands commands.getoutput('barcode -b ' aggr.name ' -o /home/sainish/temp/barcode.ps -e ean13 -g 450x200 -u mm') commands.getoutput('ps2png /home/sainish/temp/barcode.ps /home/sainish/temp/') data_uri = open("/home/sainish/temp/barcode.png", "rb").read().encode("base64") %> ${helper.embed_image('png',data_uri,0,32)|n}

Avatar
Discard