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.

printing pdf's

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chris - 16 Nov 2006 17:24 GMT
Hi Group, I'm not sure if this is the correct group but it's a good place to
start.

I have an access 2000 database that generates word documents (letters) my
client would like to add 3 pdf's onto the back of the word document ( terms
and conditions )

I was thinking that when the user prints the document either;
a macro would print out the 3 pdf's

or

when the form is word document is being closed the user would be prompted to
print the 3 pdf's also.

Could someone enlighten me as to how I would go about this?

The client does not want the pdf's as word documents as he does not have
converting software and does not want to have to depend on someone else to
convert them for him ( strange I know )
Steve Yandl - 16 Nov 2006 18:35 GMT
Chris,

Assuming most users have the Acrobat Reader installed, the executable file
to print pdf files would be acrord32.exe used with the /t switch.  It takes
file name and printer name as arguments.  The problem is that the process
doesn't shut down when printing is complete as it is supposed to (it might
on some versions of acrord32.exe since documentation suggests it should).  I
have a sample in vbScript where I use WMI to kill the process that you might
be able to adapt to your situation.
http://www.microsoft.com/technet/scriptcenter/csc/scripts/print/printing/index.mspx

Steve Yandl

> Hi Group, I'm not sure if this is the correct group but it's a good place
> to start.
[quoted text clipped - 16 lines]
> converting software and does not want to have to depend on someone else to
> convert them for him ( strange I know )
 
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.