Как распечатать в текстовом режиме страницу, отображаемую с помощью QWebEngineView ⇐ Python
-
Гость
Как распечатать в текстовом режиме страницу, отображаемую с помощью QWebEngineView
Using PySide6 I load an html page in a QWebEngineView and print it with:
dialog = QPrintDialog(self) if dialog.exec() == QPrintDialog.Accepted: printer = dialog.printer() self.wevReport.print(printer) After selecting the printer with the search button it prints the page, but as an image, not as text, which would be the proper thing to do? (wevReport is the QWebEngineView).
Any suggestions.
Using PySide6 I load an html page in a QWebEngineView and print it with:
dialog = QPrintDialog(self) if dialog.exec() == QPrintDialog.Accepted: printer = dialog.printer() self.wevReport.print(printer) After selecting the printer with the search button it prints the page, but as an image, not as text, which would be the proper thing to do? (wevReport is the QWebEngineView).
Any suggestions.