Print Format download pdf not working

While trying to use the download_pdf functionality from print format it throws me this error. can anyone have any idea about this?
@NCP @bahaou @Antony_Praveenkumar

@Robot what are your frappe , wkhtmltopdf versions ?

frappe version: 14.62

But right now, I’m upgrading the frappe version

Still the same issue @bahaou

@bahaou Do you have any idea how to resolve this? Because it’s little urgent

@Robot does the normal print button works ?