Run acrowrap from an outlook rule

We want to print pdf attachments when they arrive in the in box
Adobe reader will not close after printing.
The best solution that I could find is to install AcroWrap fro BioPDF

we need to run acrowrap from an outlook rule.  
this command line prints the PDF file and then closes Adobe Reader.
how do we run the command from an outlook rule?

start C:\"Program Files"\bioPDF\"Acrobat Wrapper"\acrowrap.exe /t "C:\OrderDesk\Orders\Product Order.pdf" "HP Photosmart C4200 series"

Open in new window

Allen PrinceTraining DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

There is only one way to run a Command Line from an Outlook Rule.
That is to create a rule that performs a custom action.

However, theres a catch:

A Custom Action in Outlook can only be written by an Outlook / Exchange Developer.

If your that kean, heres a list of some reputable developers.

Otherwise, you might want to consider an alternative 3rd party app to print your attachemnts on arrival

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Allen PrinceTraining DeveloperAuthor Commented:
Printing the email attachments in Outlook 2007 can be done by creating a rule and checking the print attachments check box in the print setup dialogue.
We have done this and it works just fine.  The email is also printed, which is OK except for the waste of paper.
The problem is when a pdf file is printed from the print command Adobe Reader does not close after printing.
If we receive 2 emails consecutively someone has to physically close adobe reader before it will accept another print command.
If we use a kill program the timing does not allow the file to print before the reader closes.
If we purchase one of the programs as suggested there is no guarantee that the reader will close after printing.
Acrowrap works from the command line just as it claims to.

 The solution is out there, we just need to launch Acrowrap.exe when we print the attachment.
Allen PrinceTraining DeveloperAuthor Commented:
I tried BlueDevilFan's Print Attachment code and it appears to print consecutive emails without the error. Adobe does not close after printing.
will test it for a day or so...
Allen PrinceTraining DeveloperAuthor Commented:
Although we did not solve the problem of Adobe not closing, the attachments are printed without error by using BlueDevilFan's Print Attachment code.
We do not need to create a custom action at this time
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.