TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
sansari71
NA
3
0
Printing Word Document
Apr 11 2005 7:01 PM
I am trying to print word document from my application. The problem that I am facing is that it is printing to the default tray instead of the tray that I want it to print from. Here is the code: oWordDoc.PageSetup.FirstPageTray = Word.WdPaperTray.wdPrinterMiddleBin; oWordApp.ActivePrinter = printername; oWordApp.Visible = false; oWordApp.PrintOut(ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing); Any help is appreciated.
Reply
Answers (
1
)
problem casting from Control to Custom Control
how can I Resize the thumbnail image, and give it a specific dimensions