printing pdf's

C

Chris

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 )
 
S

Steve Yandl

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
 

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