Link to home
Start Free TrialLog in
Avatar of happytoo
happytoo

asked on

how to send word documents to the spooler

Hi,

In VB.NET, how can I send jobs such as documents to the printer spooler.  I guess what I'm trying to do is... I have merged the letters and data file and want to send all of them to the spooler and hang there until somebody physically change the form type  print them.

Thanks in advance.
ASKER CERTIFIED SOLUTION
Avatar of iboutchkine
iboutchkine

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of happytoo
happytoo

ASKER

Never mind.  Got this resolved.  Question closed.
Would you like to share with everybody?
       wd.Documents("c:\temp\VB\letter.doc").MailMerge.Execute()
        wd.ActiveDocument.Printout()
        wd.Documents("c:\temp\VB\letter.doc").Close(False)