I use Delphi 2010 Enterprise
Last Wptools 6 standard and last WPDF
There is a bug with TWPPDFExport: when calling print method no file is produced...
Try the sample program WPTOOLS->DEMOS->TASK->PDFConvert->Convert
procedure TDocConverter.Button2Click(Sender: TObject);
var wp : TWPCustomRtfEdit;
pdf : TWPPDFExport;
begin
wp := TWPCustomRtfEdit.CreateDynamic;
pdf := TWPPDFExport.Create(nil);
try
pdf.Source := wp;
pdf.AutoLaunch := TRUE;
pdf.Filename := OutputFile.Text;
wp.LoadFromFile(InputFile.Text, true);
wp.ReformatAll(true);
pdf.Print;
finally
pdf.Free;
wp.Free;
end;
end;