Monday, August 8, 2016

Convert Word to PDF file using Dynamics NAV C/AL Code

Hello Friends,

I want to share the code for converting words files to PDF using Dynamics NAV C/AL code and external DLL assembly.

I have got the requirement from client to get merge the attached word document file from items card to sales quote print.

First i have convert the word document to PDF files in shared directory than after merge it with the sales quote print and create the combine merge pdf single file.

I have use the external DLL assembly file to convert Word to PDF documents.
Once all files convert to Word to PDF than just merge and combine to single file.

Please refer following blog to help you to merge PDF files:
http://navnilesh.blogspot.in/2016/08/merge-pdf-files-using-dynamics-nav-cal.html


Snapshot to code:





















Download the sample C/AL code and DLL files from following one drive links:
https://1drv.ms/u/s!An8nhANnLJmtiS1EbXPnRycZ28UT


Thank you for reading.
I wish it will help you in future.

Please write a comment here if you need any help.

Keep Sharing...Keep Growing....

No comments:

Post a Comment