Experience with eDocPrinter ignoring PDF parameters ?

hru71
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.
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
-
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.0 -
Is PDFtext actually displayed from a section on your particular document? The control string must be in the data sent to the printer.0
-
:oops: pdf-text was in the sections - but restarting my pc solves the problem - sorry! Should have tried this before asking....0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions