Print Sales Invoice Directly to Printer AX 2012 R3

Hi everyone can anyone help me out i want to print the Sales Invoice Directly to Printer … by default it prints on screen

even if i select the print destination setting to printer in dialog box it still prints to Screen …

thank in advance …

Did you configure the print management properly?? Check the print management setup

Or else you can try it with code from the below link:

Print Sales Invoice

The Above link does not work …

Print Management setup - http://technet.microsoft.com/en-us/library/dd309660.aspx

Print Sales invoice through code - http://microsoft-dynamics-ax-erp.blogspot.in/2012/10/sales-invoice-using-x.html