Hii everyone,
It might be more a printer-issue than Navision but the issue is driving me absolutely crazy, so hope someone might have an idea.
I have made several reports for a customer (NAV 2009) with eDocPrinter PDF Pro - all working as expected.
However 1 new report is not behaving similar and seems to ignore all pdf-settings:
PDFtext :=
'%%EmailTo: ' + Cust."E-Mail" +'%%' +
'%%EmailSubject:' + STRSUBSTNO(Text50000,"No.") +'%%' +
'%%FilePath:' + STRSUBSTNO(Text50000,"No.") + '.pdf %%' +
'%%EmailUseOutlook: True%%' +
'%%EmailSendAsHTML: True%%';
PDF is created but named with the reportname, the document is attached and Outlook is opened with E-mailTo and Subject Empty.
I have checked code over and over, tried with different hardcoded values, checked printer selection etc. but is not able to get this report to use the parameters. Debugging shows the correct value for the global var. PDFtext during whole report.
Someone who has experienced something similar - any ideas are welcome.
0
Comments
- restart PC (really...while testing and developing sometimes it's screwed up)
- In the printer preferences change the tag from % to {
- change the font of the command to the size of 6
Now you can see what the real output is.