WebHTMLViewer to PDF/PNG

I’ve got a WebHTMLViewer that shows a page with tables, text and images and I would like to implement 2 button to save contents shown in the WebHTMLViewer as pdf and as image file (PNG).

Any ideas?

Thanks in advance
Pietro

some work with fpdf if you use php in your htmlviewer
http://www.fpdf.org/?lang=en

in xojo I like this free one :
https://forum.xojo.com/23997-simple-pdf-parser-class/0
but the dropbox link is no more valid, you should ask the author.

Not sure if it is related as it’s not made with Xojo, but a friend of mine has created a solution that might give you ideas.
https://www.tribalmind.co

[quote=389198:@Pietro Beccegato]I’ve got a WebHTMLViewer that shows a page with tables, text and images and I would like to implement 2 button to save contents shown in the WebHTMLViewer as pdf and as image file (PNG).

Any ideas?

Thanks in advance
Pietro[/quote]

Shift PrintScreen ?
That’s two buttons.

Is wkhtmltopdf an option?

I haven’t receive any notification from Xojo forum about your posts and I’ve seen them only at now.
Thanks at all for your suggestions.