I'm really stumped here. I feel like i've tried everything. Basically I wrote a script to run through a mailbox and print out all attachments of a certain document type. The other documents work, but not PDFs via Adobe Reader. It works via Foxit, but I'm the only one that uses this and it is a script for other people.
What I tried to run originally was:
ShellExecuteWait($sFilePath, "", "", "print", @SW_HIDE)
but Reader doesn't close when complete so it Waits indefinitely.
I tried s