LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Excel Printing Service

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel calling WCF service K. Wilder Excel Discussion (Misc queries) 0 February 25th 10 10:52 PM
Excel-how can I track service we do for customers? Doris[_3_] Excel Discussion (Misc queries) 1 January 7th 09 06:28 PM
Consume web service in Excel Isabel Zoard Excel Discussion (Misc queries) 0 October 1st 07 09:34 PM
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??? Divya Sanam Excel Discussion (Misc queries) 0 July 20th 06 05:15 PM
How do I run Excel as a service? Walter Setting up and Configuration of Excel 1 November 9th 05 06:22 AM


All times are GMT +1. The time now is 07:53 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"