Hi man,
I really like your Floyd-Steinberg effect ! I'm would like to integrate it before an automatic print on a thermal Epson TM-T20II who works with Cups.
Got this code for print;
def printCups(photo_number, filename_prefix):
filename = filename_prefix + '_' + str(photo_number) + 'of'+ str(total_pics)+'.jpg'
conn = cups.Connection()
printers = conn.getPrinters()
printer_name = list(printers)[0]
cups.setUser('pi')
#Photo printed one time
conn.enablePrinter(printer_name)
conn.printFile(printer_name, photo_number, filename_prefix,{"copies": "1"})
I guess I have to manage something to print from the 'image_file' mentionned in your code ?
Thank's in advance for your help.
Hi man,
I really like your Floyd-Steinberg effect ! I'm would like to integrate it before an automatic print on a thermal Epson TM-T20II who works with Cups.
Got this code for print;
I guess I have to manage something to print from the 'image_file' mentionned in your code ?
Thank's in advance for your help.