Printing prn file in window service
I am unable to print prn file on network printer from .Net window Service. I use File.Copy method but it does not work. I use cmd.exe through Process.Start method but it does not work. But If I copy the same code in windows form application then it works fine开发者_StackOverflow. Can anybody help me.
The problem was service was running under different system account and that printer was not configured for that user.
精彩评论