We downloaded the pdf converter developper and want to use it within our Application (Navision).
We tested with the following code :
CLEAR(pdfConverter);
CLEAR(recCustomer);
pdfConverter.DriverInit('Amyuni PDF Converter');
pdfConverter.EnablePrinter('Evaluation Version Developer
Pro',TextLicence);
pdfConverter.DefaultDirectory(TempDir);
pdfConverter.FileNameOptions := 1+2;
pdfConverter.DefaultFileName('C:\\CustomerList.pdf');
pdfConverter.SetDefaultPrinter;
recCustomer2 := recCustomer;
recCustomer.SETRECFILTER;
pdfConverter.SetDefaultPrinter;
REPORT.RUNMODAL(REPORT::"Customer -
List",FALSE,FALSE,recCustomer2);
pdfConverter.RestoreDefaultPrinter;
pdfConverter.FileNameOptions := 0;
pdfConverter.DriverEnd();
pdfConverter is an OCX from cdintf210.dll.
Everything seems to work the only problem we've got is that we miss the PDF file.
Does someone know where the converted file is stored or how it is handled, because we give our destination file and folder and it's not there.
Somebody got a solution ?
Thx Eric & Steve