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 -

Print Sales invoice through code -