Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I have been searching for a decent way of running an NT service that invokes an instance of Excel in order to print excel worksheets to PDF through code. In my current setup, I use Adobe PDF Writer as the PDF driver and have a written an NT service to poll a data store for queued documents. All works reasonably well when run as a standalone application, however, when I attempt to place this in a service context, the Excel process hangs and nothing is printed. I have allocated the service to run under the local_sys account and have also added printers to the default user per knowledge base articles on the subject. However, I haven't found this to be bulletproof. I understand that office automation in a service is not very well supported, but I also know that this is a common task. Printing office artifacts to PDF should be a common request since both are somewhat ubiquitous. Running an open login session is not really an option. Any help is appreciated. Thanks, Alejandro |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel calling WCF service | Excel Discussion (Misc queries) | |||
Excel-how can I track service we do for customers? | Excel Discussion (Misc queries) | |||
Consume web service in Excel | Excel Discussion (Misc queries) | |||
Can a service account be embedded in Workbook so that by default the macros are run with service account credentials and not the user credentials??? | Excel Discussion (Misc queries) | |||
How do I run Excel as a service? | Setting up and Configuration of Excel |