Control Printer

R

Ryan Wade

Is there a way to specify the Printer and Printer Bin when printing through
Word XP automation? I looked at Document.PrintOut(...), but you can't
control the printer or bin that I could see. I'm using C#, Windows XP and
Office XP, thanks

Ryan
 
S

spider

I was looking at some old C# code and I set the printer on the Application
object e.g.
ApplicationClass appClass = new Word.ApplicationClass();
appClass.ActivePrinter = "HP LaserJet 4 Plus";


Not sure about the Printer Bin.
 
R

Ryan Wade

Thanks, I'll look into it...

spider said:
For Printer Bin you might try:
Document.PageSetup which returns a Word.PageSetup interface.
The Word.PageSetup interface has a bunch of Word.WdPaperTray members
like FirstPageTray.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top