PDF supports embedding JS. When this.Print() is called in that, opening PDF causes the print dialog to appear automatically. Is there a way to disable this print dialog? I am fine with patching chromium code too to disable this. Have already tried patching PDFium at https://pdfium.googlesource.com/pdfium. ... nt.cpp#511 to not to call JS_docprint but no luck with that? Any inputs on this would be appreciated.
Thanks.