[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gb.qt5.webview print question
[Thread Prev] | [Thread Next]
- Subject: Re: gb.qt5.webview print question
- From: Gianluigi <gradobag@xxxxxxxxxxx>
- Date: Tue, 23 Dec 2025 17:20:20 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
Il 23/12/25 17:12, Benoît Minisini ha scritto:
Le 23/12/2025 à 16:52, Gianluigi a écrit :Hi, I'm passing on a question from a friend of ours on the Italian forum: Before (with Gambas 3.15) I could print like this: WebView1.Frame.Print(Printer1) Now with gb.qt5.webview, how can I do it? Thanks for any suggestions.I recommended using the 'wkhtmltopdf' command, as I saw Olivier and Linugambi do on the Farm.Do you know of any other ways? Regards GianluigiYou must use javascript. Something like that: WebView1.ExecJavascript("window.print();")
Hi Benoit, Thanks, I swear I tried the exact same code, but it didn't work here. Did I use the wrong web settings? Regards Gianluigi
| gb.qt5.webview print question | Gianluigi <gradobag@xxxxxxxxxxx> |
| Re: gb.qt5.webview print question | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |