On Fri, Nov 6, 2020 at 10:12 AM FG74 <[email protected]> wrote:

> I know that several years have passed and that downloading the pdf file is
> the universal solution. BUT I wanted to ask if you can guide me about the
> code to modify in the official version to open the Print Dialog Form
> instead
> of downloading the pdf file.
>
>
To my knowledge this isn't possible in a seamless fashion - that is, there
is nothing you can do to trigger the print dialog in the browser when you
print something within the remote session. This used to be possible with
Java, ActiveX, and/or Flash plugins, but as those have all fallen out of
support, I don't think that will work.

The only possible solution I can think of is to embed the PDF in a window
when it is downloaded and then use JavaScript to trigger the print dialog:

https://stackoverflow.com/questions/16239513/print-pdf-directly-from-javascript

Beyond that, maybe Google Print?!

-Nick

Reply via email to