0

I am new to Qt. I just wanted to know if it is possible to send the entire qwebview into the printer. I am not asking the source code, but

1) is it possible?

2) Do we have any link for the reference?

demonplus
  • 5,613
  • 12
  • 49
  • 68
Whoami
  • 13,930
  • 19
  • 84
  • 140

2 Answers2

0

1) yes it's possible

2) as stated in QWebView documentation

A QWebView can be printed onto a QPrinter using the print() function. 
This function is marked as a slot and can be conveniently connected to 
QPrintPreviewDialog's paintRequested() signal.
evilruff
  • 3,947
  • 1
  • 15
  • 27
0

1) Yes Possible

2) http://www.qtcentre.org/threads/25880-QWebView-prints-PDF-file-OK-with-QPrintDialog-only

Also you can ge HTML from webview and adopt some other printing technique.

Mohammad Amir
  • 343
  • 4
  • 9