WPCubed Product Support

PDF doesn't print

support

Hello,

sorry about this. There was a 03A DLL out which did not work with Delphi 2010 since it reported the unicode methods to be existent. That had been fixed in the latest build - when di you download?

Julian

#5 ♥ 0
8k Views 3 users read 2 min

Folks,

I'm glad you found the solution to your problem. Well done!

In case you missed it, the folks at WPTools announced the office would be closed (for vacation) the first couple of weeks in September.

If you're new to the WPTools line of products, welcome aboard..🙂 I'm sure you'll find their responsive much more timely when they're not on vacation...;-). I've found that when they do NOT respond, it's always worthwhile to check the Announce forum.

Regards,
richard diamond

#4 ♥ 0

The solution is to add this line

wPDF.dllname:= path_to_my_wPDF300W.dll;
( then you can print )
wPDF.print;

It can take a long time when nobody helps...

#2 ♥ 0

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;

#1 ♥ 0