Experience with eDocPrinter ignoring PDF parameters ?

hru71hru71 Member Posts: 13
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.

Comments

  • mdPartnerNLmdPartnerNL Member Posts: 802
    Hard to help you with this by guessing. What I do with edoc if it doesn't do whats to be expected:
    - 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.
  • vaprogvaprog Member Posts: 1,141
    Is PDFtext actually displayed from a section on your particular document? The control string must be in the data sent to the printer.
  • hru71hru71 Member Posts: 13
    :oops: pdf-text was in the sections - but restarting my pc solves the problem - sorry! Should have tried this before asking....
Sign In or Register to comment.