Anpiro

Well I am coding an application using C# for my company which requires multiple printing Word Docs, at a specific Printer of the installed Printers, and at a specific tray.

So, i used word object (Microsoft.Office.Interop.Word) for print the document
but i cant see any tool that indicate how to print to specific tray in my printer.

There any way to do that or still stay with the same way (word object)

I wanted that there was appearing the picture of dialogue of the printer of the document (ctrl+p)...

Thank's


Re: Visual Studio Tools for Office Print Word Document with c#

Cindy Meister

Questions concerning automation of Office applications should be addressed to the individual application newsgroups or an office.developer newsgroup. The most commonly required groups are listed in the "Please Read First" posting at the top of this forum.

The Word object model provides no interface for installed printers and their drivers. See this set of articles for more detailed information

http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp ID=101






Re: Visual Studio Tools for Office Print Word Document with c#

Anpiro

Then, cannot I do anything

Is not it possible to order a CTRL+P for code ascii or anything




Re: Visual Studio Tools for Office Print Word Document with c#

eibonscroll

Hi,

I ran into this same problem. Because of a deadline I never found how to control printing to a certain tray from the program, but I set the document templates to print to there correct trays as there default tray.

Hope that helps,

Mike