Hi!
Small FAQ about installing of the WPDF3 as Filter to FR 2.X:
Correct WPDF_FRep unit:
ZitatAlles anzeigen
...
{.$DEFINE FASTREP3}
...
{$IFDEF FASTREP3}
function TWPDF_FrPDFExport.Start: Boolean;
{$ELSE}
procedure TWPDF_FrPDFExport.OnBeginDoc;
{$ENDIF}
begin
if FPDFPrinter<>nil then // should be always true!
begin
FOldInMemoryMode := FPDFPrinter.InMemoryMode;
FPDFPrinter.InMemoryMode := TRUE;
FPDFPrinter.Stream := Stream;
// if Self.FileName<>'' then <--
// FPDFPrinter.FileName := Self.FileName; <--
{$IFDEF FASTREP3} Result := TRUE;{$ENDIF}
FPDFPrinter.BeginDoc;
end
{$IFDEF FASTREP3} else Result := FALSE; {$ENDIF};
FPageNumber := -1; // start with 0
end;
...
{$IFNDEF FASTREP3}
procedure TWPDF_FrPDFExport.OnEndPage;<--
begin
if FPDFPrinter<nil>WPPDFPrinter.
...
Install all 3 components.
This works from FR2X. ShowReport only.
Good luck.