Is it possible in WebIQ to generate a PDF file of everything on screen?

Hello, I wanted to know if it was possible somehow to create in WebIQ a PDF of everything on screen.

For example, if I want to generate a PDF of a chart updated in real time in a specific range, is this possible?
Thank you very much.

Best reply by webiq-sk

It depends: WebIQ can do everything any other website can do, but it cannot do more than any other website can do client-wise.

So as you can create PDFs with JavaScript using e.g. pdfmake or pdf.js if that it an option then that's ok - though this is not "everything that's on screen", but "if you include everything shown on the screen manually in your script than that will include everything shown on the screen implicitly".

If you want to create a PDF showing *exactly* what's shown on screen (i.e. a screenshot) I have linked some examples above, however that questions is not a WebIQ, but a general web technology question because with a web HMI the browser decides what and how to render contents, i.e. if something wraps etc. which is why the server cannot render any screen content as PDF, only the client could.

View original
5 replies