I am writing a Python script which suppose to create a pdf file and then print it. This is the function I am using in order to execute the print:
def printFil