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 / January 2006

Tip: Looking for answers? Try searching our database.

Word Automation printing question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bikini Browser - 02 Jan 2006 06:54 GMT
Hello and thank you for reading my question...  I'm not a programmer. I am
only doing the research for my team.

I have a MS Access 2003 application....

Step 1:  I am merging data from MS Access to Word, and  this is fully
automatted.  It works fine.

Step 2: I want to automaticaly print that final merged document to a
specified printer (not the default printer) without any print preview of any
kind. (I don't know how to do this step.)

In other words...
From the MS Access application, click one button and the merge happens, then
I want it to print the merged document to a specified Printer.

I don't know how to do that.

Does any one have a KB Artical with sample code to help me with my
requirements?

Thanks in advance....
Dale in  San Juan Puerto Rico.
Alex Ivanov - 02 Jan 2006 07:27 GMT
doc.Application.ActivePrinter = "HP LaserJet IIISi on \\printers\laser"
doc.printout

Signature

Please reply to NG only. This email is not monitored.
Alex.

> Hello and thank you for reading my question...  I'm not a programmer. I am
> only doing the research for my team.
[quoted text clipped - 19 lines]
> Thanks in advance....
> Dale in  San Juan Puerto Rico.
Doug Robbins - Word MVP - 02 Jan 2006 07:47 GMT
See the article "Changing the selected (current) printer in Word without
changing the system default printer" at:

http://www.word.mvps.org/FAQs/MacrosVBA/ChangeCurPrinter.htm

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> Hello and thank you for reading my question...  I'm not a programmer. I am
> only doing the research for my team.
[quoted text clipped - 19 lines]
> Thanks in advance....
> Dale in  San Juan Puerto Rico.
 
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.