The following command works fine for the default printer on Windows Server 2008.
notepad.exe /p "filename"
However, it does not work properly when I modify it for a network printer, like this:
notepad.exe /pt "filename" "Printername"
It does not fail entirely, but it performs binary printing, not proper printing. The same command does work on my Windows XP machine.
What can I do?