How to print an open Word Document on named printer, VB.Net

I have a project that creates a word document, the document is not saved or closed. I require to print it to a named printer before closing it (no save).
Who is Participating?

        Dim wdApp As New Microsoft.Office.Interop.Word.Application
        Dim wdDoc As Microsoft.Office.Interop.Word.Document
            wdApp.ActivePrinter = "My Printer"

Open in new window

TeDeSmAuthor Commented:
That was easy, thanks.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.