Hi,
i installed the Amyuni PDF-Converter (Demo) and got the dll registrated. Has anybody already figured out who to set the filename from within a financials report? I'm not too familiar with using automation controllers in financials. And if sombody did already invent the wheel, i would appreciate to spare a little time ;-)
Best Regards,
Richard
0
Comments
CREATE(Autom);
Autom.DriverInit('PDF Compatible Printer Driver');
Autom.DefaultDirectory('c:\');
Autom.DefaultFileName('test.pdf');
Autom.FileNameOptions := 1+2;
"Autom" is a variable of type Automation, Subtype 'CDIntf'.CDIntf
No error occurs - but the code has no effect. Maybe because the PDF-printer in financials has got another name -> "PDF Compatible Printer Driver,LPT1:" ? HELP !
Insert your PDF init code in codeunit, then issue:
REPORT.RUNMODAL("Your Report ID",FALSE, FALSE,"The Record to print");
Success.
John
yep - that did it. Works great. If you ever come around lake constance in germany - I owe you a couple of beers.
Thanx, Richard
Those beers... that's a promise I'll hold you to <img border="0" title="" alt="" src="images/smiles/icon_smile.gif" />
Germany isn't too far from Holland, so who knows...
John
If you ever come around lake constance in germany - I owe you a couple of beers.<HR></BLOCKQUOTE>
Hi Ric,
I also want to earn a free beer! What can I do for you? Any questions about Excel-Automation for example? :-)
Regards from Switzerland
Marcus
Marcus Fabian
m.fabian@thenet.ch
+41 79 439 78 72
Marcus Fabian