Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / November 2006

Tip: Looking for answers? Try searching our database.

toolbar button for printing

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bigmog - 27 Nov 2006 21:58 GMT
Can anyone point me in the right direction. I want to write an
application that implments a toolbar button in Word. Clicking the
button should print the current document. I want to control which
printer tray different pages of the document are printed to.

I'm quite a proficient programmer and can handle COM, ActiveX, C++, C#
etc. etc. It seems tray selection is a bit tricky and can be set not
only in world but also in the printer driver.

If anyone can help me with this task or even wants to help write the
application couild you please post to this thread.

Many thanks in advance
Jonathan West - 28 Nov 2006 00:25 GMT
> Can anyone point me in the right direction. I want to write an
> application that implments a toolbar button in Word. Clicking the
[quoted text clipped - 9 lines]
>
> Many thanks in advance

Take a look here

Controlling the Printer from Word VBA
Part 1: Using VBA to Select the Paper Tray
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=101

Signature

Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org

Jay Freedman - 28 Nov 2006 02:37 GMT
Have a look at this series of articles:

Controlling the Printer from Word VBA  by Jonathan West
Part 1: Using VBA to Select the Paper Tray
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=101
Part 2: Using VBA to control Duplex, Color Mode and Print Quality
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=116
Part 3: Dealing with Different Paper Sizes
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=132
Part 4: Getting printer driver details
http://pubs.logicalexpressions.com/Pub0009/LPMArticle.asp?ID=183

--
Regards,
Jay Freedman
Microsoft Word MVP        FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.

>Can anyone point me in the right direction. I want to write an
>application that implments a toolbar button in Word. Clicking the
[quoted text clipped - 9 lines]
>
>Many thanks in advance
bigmog - 28 Nov 2006 10:25 GMT
Hi All that's great. Actually after posting I found these excellent
articles. Someone has told me that bin settings in the driver can
override the settings in word but I suspect this is not the case.
Probably it was because as mentioned in the articles the were not
passing the correct codes down to the driver.

> Have a look at this series of articles:
>
[quoted text clipped - 28 lines]
> >
> >Many thanks in advance

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.