windows 7+ 64bit printdialog problem lazarus / 34-Windows ---------------------------------------------------------------------- bobix · 2015-12-16 09:43 I noticed strange problem lately with using printdialog and iphtmlpanel. This simple procedure is making my printer to print blank page each time i set something into printdialog: procedure TMainForm.PrintBtnClick(Sender: TObject); begin   printdialog1.ToPage:=iphtmlpanel1.GetPrintPageCount;   printdialog1.MaxPage:=iphtmlpanel1.GetPrintPageCount;   if PrintDialog1.Execute then     IpHtmlPanel1.Print(printdialog1.fromPage,printdialog1.ToPage); end; Does anyone noticed that too? ---------------------------------------------------------------------- bobix · 2015-12-16 12:38 Here is basic app to show the problem. To enable printing into iphtmlpanel, I am adding this line: {$DEFINE HTML_print} ---------------------------------------------------------------------- bobix · 2015-12-16 14:11 Iphtmlpanel seems to be the problem. http://sourceforge.net/projects/htmlviewer/ did the trick :/