View Issue Details

IDProjectCategoryView StatusLast Update
0027409PackagesPackagespublic2015-02-07 22:51
ReporterMichl Assigned ToJuha Manninen  
PrioritynormalSeverityminorReproducibilitysometimes
Status closedResolutionfixed 
PlatformWindowsOS7 
Product Version1.3 (SVN) 
Summary0027409: [patch] TIpHtmlPreview - some printer don't print
DescriptionSome printers have a problem to print, cause the first access is not properly cleaned. A simple Printer.Refresh do this job.
Additional InformationThe first access of a printer is made, when it is selected to calculate the size of the canvas and the count of the pages (TIpHtmlInternalPanel.ResetPrint). The next access (e.g. TIpHtmlInternalPanel.PrintPages) need a clean Printer or some printer will not work.

See discussion on German Lazarusforum: http://www.lazarusforum.de/viewtopic.php?f=19&t=8506
TagsNo tags attached.
Fixed in Revisionr47606
LazTarget-
WidgetsetWin32/Win64
Attached Files

Activities

Michl

2015-02-06 07:50

developer  

iphtml.pas.patch (384 bytes)   
Index: components/turbopower_ipro/iphtml.pas
===================================================================
--- components/turbopower_ipro/iphtml.pas	(revision 47587)
+++ components/turbopower_ipro/iphtml.pas	(working copy)
@@ -13054,6 +13054,7 @@
   i : Integer;
 begin
   if (Hyper <> nil) then begin
+    Printer.Refresh;
     BeginPrint;
     Printer.BeginDoc;
     try
iphtml.pas.patch (384 bytes)   

Juha Manninen

2015-02-06 22:23

developer   ~0080824

Applied, thanks.

Michl

2015-02-07 22:51

developer   ~0080849

Thank you for your fast response

Issue History

Date Modified Username Field Change
2015-02-06 07:50 Michl New Issue
2015-02-06 07:50 Michl File Added: iphtml.pas.patch
2015-02-06 22:18 Juha Manninen Assigned To => Juha Manninen
2015-02-06 22:18 Juha Manninen Status new => assigned
2015-02-06 22:23 Juha Manninen Fixed in Revision => r47606
2015-02-06 22:23 Juha Manninen LazTarget => -
2015-02-06 22:23 Juha Manninen Note Added: 0080824
2015-02-06 22:23 Juha Manninen Status assigned => resolved
2015-02-06 22:23 Juha Manninen Resolution open => fixed
2015-02-07 22:51 Michl Note Added: 0080849
2015-02-07 22:51 Michl Status resolved => closed