def create_pdf(in_html_file=None, out_pdf_file=None, quality=None):
    pathtowk = 'C:/wkhtmltopdf/bin/wkhtmltopdf.exe {0} {1} {2}'
if quality == 1:
    pass
How to generate pdf documents page-by-page in background tasks on App Engine