procedure TQRPrinter.Preview;
begin
if assigned(FOnPreviewEvent) then
try
FOnPreviewEvent(Self)
finally
end;
with GlobalPreviewInterface.Create(nil) do
try
PreviewControl := Show(Self)
finally
Free;
end;
end;