Print PDF files With PDFPrinterX and Python

Please, download and install Total PDF PrinterX. Using the sample code below you will be able to Print PDF files.


  Example Python:

import win32com.client
import os.path

c = win32com.client.Dispatch("PDFPrinter.PDFPrinterX")

dest="Name Of Printer";

c.Print(src, dest, "-log c:\\test\\PDFPrinter.log");

if not os.path.exists(file_path):
If you need examples on other languages please contact us. We will create any example specially for you.

Related topics