Is a python module which enables you to choose from available printers and not just the default one if you were using Tkinter as the graphical user interface. I was using Tkinter to build graphical user interface but there was no tutorial of some sort to be able to print a file to another printer and not just the default one.
Before you install prtp, make sure you have install pywin32.
C:\Users\jessie> pip install prtp
C:\Users\jessie> pip uninstall prtp
import Tkinter as tk
from prtp import prtp
file_name = 'test.pdf'
root = tk.Tk()
win = prtp.PrintToPrinter(root, filename=file_name)
root.mainloop()
- Jesus Vedasto Olazo - jestoy0514
This project is licensed under the GNU General Public License Version 3 - see the LICENSE.md file for details