Sicos1977 / ChromiumHtmlToPdf

Convert HTML to PDF with a Chromium based browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conversion failed

welly-im opened this issue · comments

I want to convert HTML to PDF, sometimes it succeeds, and sometimes I encounter the following error: 'Conversion failed ... did not get the expected response from Chromium, response '{"id":8,"error":{"code":-32000,"message":"Printing failed"}}'. Is there a solution to address this issue? Because out of 10 requests, 6 of them fail.

commented

I guess it has something todo with what you are trying to print. You can try to just print whatever you are trying to convert from Chrome as PDF and see what that does.

https://www.greengeeks.com/tutorials/save-a-web-page-as-a-pdf-in-chrome-browser/

commented

No response ... closed