I have submitted this function to Jos to be included with File.au3 in the Standard UDF Library.
This UDF will print a plain text file using the ShellExecute function of shell32.dll. The file type that is going to be printed must have an editor with a print option associated to it (ex: Notepad). I have included a global constants list that defines the error codes returned in @error. Thanks to ezzetabi for making the _ShellExecute function! The code helped me make this.
Here's the function d