Hi All!
So you need to print some files from Dynamics AX? And it also has to work in batch?
Below are 2 methods that will help you do just that.
Printing text files using the copy method
This was the first method I used, and it works flawlessly when using text files, such as .txt or .csv files. It also works great on .prn files.
To print such a file, you can simple copy the file to the printer. See example code below.
static void KlFor_PrintUsingCopy ( Args _args )
{
/...(read more)
↧