tags:

views:

37

answers:

1

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. Can anybody help me.

A: 

The problem was service was running under different system account and that printer was not configured for that user.

Asad