Hello,
I would like to print an image in python.
I have a label color printer. When I try to print by the iamge viewer of the system, everthing works well (just need to select the correct paper type 50mm).
In python, I've tried with the following code but only printing text is working :
I suppose it's a problem of resolution and paper size. How can I change the paper settings ?
Thanks a lot
Max
I would like to print an image in python.
I have a label color printer. When I try to print by the iamge viewer of the system, everthing works well (just need to select the correct paper type 50mm).
In python, I've tried with the following code but only printing text is working :
Code:
os.command("lp smiley.png")
Thanks a lot
Max
Statistics: Posted by mchimot — Wed Jul 17, 2024 11:46 am