Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Interop.word change printer

Posted on 2008-06-10
2
Medium Priority
?
350 Views
Last Modified: 2012-06-27
I am doing mail merge via C# and I want to change the printer it prints the merge to?  How to I change the printer based on the printer name?
0
Comment
Question by:kyleroi
2 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 21756179
0
 
LVL 14

Accepted Solution

by:
Daniel Junges earned 2000 total points
ID: 21758360

you can set the printer with
m_WordApp.ActivePrinter = "printer name";
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question