I am using the single user evaluation 2.5 version. Below is my code example:
PDFCreator.DriverInit("Amyuni PDF Converter");
PDFCreator.EnablePrinter("Evaluation Version", strLicCode);
PDFCreator.DefaultDirectory("C:\temp");
PDFCreator.DefaultFileName("C:\temp\testhch.pdf");
PDFCreator.FileNameOptionsEx(1 + 2);
PDFCreator.SetDefaultPrinter();
//Code to print report
rrnMembersInvoice.run();
When I run the code I get the following error: "A StartDocPrinter call was not issued". Does anyone have any ideas?
I can select the printer through the printer dialog box and input a filename but as soon as I incorporate the activex so that there is no user input needed - I get this error.
Thanks