MODI and automated printing without manual intervention

Hi All,

I would like to print a file to the MODI virtual printer without any manual intervention. My problem is the output file dialog that appears when I fire the print command from the associated application.

However, Word documents could be printed to MODI without any manual intervention by using the PrintOut() method of the Word Application object and specifying the output filename parameter. If Word can pass the output filename to MODI in an automated fashion, my application should be able to as well! What could Word be doing to pass the output filename to the MODI Image Writer port?

Is there a registry key or some API for the MODI Image Writer port so that I could achieve the same using C#?

Thanks in advance!!!

Viv

[767 byte] By [VivekArora] at [2007-12-24]
# 1

I am searching for some ideas for an issue I have. I believe when using office applications and using the printout() method you must change the activeprinter. I am using this for Excel and determined that the printer and port need to be passed in the format "Printer on Port:" The ports can be found at \HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Devices in the value data. The format is similar to winspool,Ne00. You may have to use this type of format when passing the information.

I hope this helps

DanielEgan at 2007-8-31 > top of Msdn Tech,Microsoft ISV Community Center Forums,ISV Open Discussions...
# 2
This will help you. forums.microsoft.com/MSDN/ShowPost.aspx?PostID=322303
terilarry1 at 2007-8-31 > top of Msdn Tech,Microsoft ISV Community Center Forums,ISV Open Discussions...