We are using wkhtmltopdf to convert dynamic html pages to pdf. We need to wait until all the ajax requests are finished.
Is there a possibility to delay the printing by a condition?
You can use the --window-status
option, see this post on the mailing list.