Announcements
Hi All,
I need to merge some documents on PDF format from AX 2012.
I'm studying two solutions to do that : Use standard PDF Print of AX (which is different of 2009 apparently, I didn't find many information or code examples on this subject) or use PDF Creator. I'll prefer to use a X++ standard solution, but I'm not sure it's possible.
Is there someone who already implements this kind of development to tell me which solution is more simple ?
Thank you for your help.
Jérémy.
*This post is locked for comments
You are welcome.
Thank for your sharing. iTextSharp seems to be a good solution. PDFSharp worked for me : I referenced it directly in Reference node of AOT, and used it in X++.
Hi Jeremy,
If you are trying to be able to merge two PDF documents into one then , I think AX doesn't have native capability to do this (I am not sure if AX 2012 has anything, till 2009 it was not possible natively). When I cam across this requirement then I went C# route and create a dll using C# code which can do that for me.
You can find some information on that in below link
stackoverflow.com/.../c-sharp-merge-pdf-solution-without-using-itextsharp
Once I had this dll working then I consumed it using my AX code and was able to merge PDF's .
I hope this gives you a sense of direction. Please let me know if you want any further inputs on this.
Cheers !
Hi, Jérémy.
Did you mean that you want to merge PDF in the PDF Creator directly? I am also looking for the related projects thes days. AndI will try your sharing later. Thanks for that. I hope you success, too. Good luck.
Best regrads,
Arron
Hi all,
I think I find a solution on the sreenath's blog : dynamicsaxgyan.wordpress.com/.../merge-multiple-pdfs-in-to-single-pdf-report-using-x-in-dynamics-ax-2012 who use a PDFSharp library.
I'm trying to create a job to test it.
Hope info could help someone.
Jérémy.
André Arnaud de Cal...
293,323
Super User 2025 Season 1
Martin Dráb
232,195
Most Valuable Professional
nmaenpaa
101,158
Moderator