Service problem with Word

Cerdik

New member
Joined
Aug 11, 2010
Messages
1
Programming Experience
5-10
Hi,

The service converts htm files to PDF, using Word to create a prn file. The prn file is printed to a file printer using ghostscript. If the service runs under local system account, it's impossible for the code to access the properties of the word document (e.g. changing margins of the document). If I make an executable that uses the same DLL everything works fine. If I run the service under an adminstrator account, I get the message "printer not found". The printer is installed logged in as the administrator account. The OS is windows server 2008. Word is Word 2002. Why isn't Word accessible for the code when using the local system account for the service?

Mark
 
Top Bottom