Printing a text file from Powershell vs Notepad

I checked the .spl and .shd files and they are different as you suggest, although both contain binary data. I tried changing the “Print Processor” to TEXT but get the same output.

It therefore looks like I need some way to set the printer settings, so will investigate set - PrintConfiguration and see if I can get anywhere with that.

Appreciate the responses - thanks.