AX 2012 Print PDF from file

Hello,

I prepared a registration demand in pdf format and i want create in my form an menuitem print, when i click in this button i can choice my file to print in directory and print it

For this ,I am looking for a solution for printing a PDF from file within AX 2012. Is there anyone could recommend me how can i implement this step by step in ax2012

Thanks so much,

If you have to choose the file to print anyway, why don’t you do it in a PDF reader? What’s the advantage in involving Dynamics AX?

Thank you for replay,

this is what I have done by adding a command button with the clicked () override method

void clicked()

{

super();

WinAPI::shellExecute(filePathLocation);

}