NAV2016 Report generated using SAVEASPDF doesn't display certain fields on the report.

rsaritzky
Member Posts: 469
HI all,
We're on NAV2016 CU32. I have a report (the Customer Statement - customized) that we have a nightly batch job that generates statements and emails them to customers. The code that does this (custom) uses the SAVEASPDF function to execute the report and generate the PDF.
When received by the customer, the PDF of the statement is missing a handful of fields - the company logo, the remit-to address and some other fields.
When I print the report using the client, or generate a PDF directly from the report options dialog box, the report prints/displays perfectly. It's only when the service tier runs the report using SAVEASPDF that the problem exists.
The report does not use SETDATA or GETDATA - we re-designed the report to not use these functions.
The network printer/driver that I use on my workstation is also installed on the service tier server.
The service tier is set to use Report PDF Font Embedding.
Has anyone experienced anything like this? I did see one post here that said the location of the SETDATA fields affected certain fields from printing, but we're not using that function in this report.
Thanks,
Ron
We're on NAV2016 CU32. I have a report (the Customer Statement - customized) that we have a nightly batch job that generates statements and emails them to customers. The code that does this (custom) uses the SAVEASPDF function to execute the report and generate the PDF.
When received by the customer, the PDF of the statement is missing a handful of fields - the company logo, the remit-to address and some other fields.
When I print the report using the client, or generate a PDF directly from the report options dialog box, the report prints/displays perfectly. It's only when the service tier runs the report using SAVEASPDF that the problem exists.
The report does not use SETDATA or GETDATA - we re-designed the report to not use these functions.
The network printer/driver that I use on my workstation is also installed on the service tier server.
The service tier is set to use Report PDF Font Embedding.
Has anyone experienced anything like this? I did see one post here that said the location of the SETDATA fields affected certain fields from printing, but we're not using that function in this report.
Thanks,
Ron
Ron
0
Answers
-
If you report using custom font? (None standard)
Even if you have set the Font embedding on server try setting it in the report:
https://docs.microsoft.com/en-us/dynamics-nav/pdffontembedding-propertyFor help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.0 -
Hi Sander. No custom fonts (report is all Arial but different sizes), and changing the PDFFontEmbedding property to "Yes" or "No" doesn't affect the problem - it's the same.
Thx
RonRon0
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