Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Problems when printing to the virtual printer
Hello,
I am trying to print an Excel document using the Excel object model (C# .NET code €“ windows forms) to the "Microsoft Office document image printer". (objExcel.ActiveWorkbook.PrintOut€¦) Basically it works with no problems when doing this task on the main form's thread. However, trying to do this task (which is basically converting Excel documents into tiff files) on another new thread (defined as non background and as STA thread) , leaves the "Microsoft Office document imaging" application open after printing the file. Attention: I have unchecked the "View document Image" settings for this user and basically it does not open the "Microsoft Office document imaging" after the printing. It opens the "Microsoft Office document imaging" only if used not on the main thread. I would not wan't this task to be executed on the main thread. Any ideas? -- Thanks Eric |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
A research about problems in virtual projects/teams | New Users to Excel | |||
printer problems | Excel Discussion (Misc queries) | |||
Printing problems deskjet printer | Excel Discussion (Misc queries) | |||
trapping for printer problems | Charts and Charting in Excel | |||
Printing To A Specified Printer | Excel Programming |