How to send print job to printer in python
I used Tkinter to draw some lines in python and I would like to print that picture to usb connected and/or network printer in Windows. How should I do that?
try this! It uses os module to start the file in the default printer!
import os
os.startfile("YourDocument", "print")
链接地址: http://www.djcxy.com/p/33530.html
上一篇: 即时运行不起作用