Watched folders for printing

Dear All,

Like the watch folders option in Distiller, Is there any such option in Acrobat or Acrobat reader to print the PDF files automatically..?

The mission is that, I want to print the PDF files added to a particular folder automatically.. Is there any way to do it in Acrobat or is there any tool...???

Regards
shanrajAsked:
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.

Karl Heinz KremerCommented:
No, Acrobat does not support this. You have to either use a 3rd party solution (I'm not aware of one that would do this), or create your own software. There are a number of modules available that you can use to do that.

Are you doing this in a server environment (meaning, can others use this service without having Acrobat installed on their own machines)? If so, you cannot use Acrobat. If it's for yourself you could use Acrobat. (The EULA does not allow the use on a server). If you want to use a 3rd party component, one option is XpdfPrint: http://www.glyphandcog.com/XpdfPrint.html
shanrajAuthor Commented:
My primary objective is to print the PDF files automatically... Like watch folders option in distiller, the tool should take and print the PDF files from the given folder automatically.

Karl Heinz KremerCommented:
For one user or as a service for others? This is important.
HTML5 and CSS3 Fundamentals

Build a website from the ground up by first learning the fundamentals of HTML5 and CSS3, the two popular programming languages used to present content online. HTML deals with fonts, colors, graphics, and hyperlinks, while CSS describes how HTML elements are to be displayed.

shanrajAuthor Commented:
For one user only... Not to run like a server. That user also installed with Acrobat reader.

regards
Karl Heinz KremerCommented:
Reader is a problem: You cannot fully automate printing with Reader (there will always be a dialog). Again, I'm not aware of a solution you can just buy/download/install and make it work, you have to do some programming to get this working. Because of the Reader limitation I would create a solution based on the XpdfPrint component that I mentioned above.
billmercerCommented:
>"Like watch folders option in distiller, the tool should take and print the PDF files from the given folder automatically."

If you're on a Macintosh, you can use the Folder Actions feature to run an Applescript whenever a file is added to a certain folder. Here's a brief description of folder actions with a couple of example scripts.
http://www.apple.com/applescript/folderactions

If you're using Windows, it's not quite as straightforward, but still fairly easy to create such a function. This could be done in a scripting language like VBS, or my personal favorite, AutoIT3, (http://www.autoitscript.com) without too much trouble, or could even be done using just a standard batch file.

Note, it is possible to print a PDF file with the Acrobat Reader in Windows without having to deal with a dialog box. If you right-click on a PDF file and choose Print from the context menu, it will open the file with Reader, print it to the default printer, and close the file, without any dialogs. You can perform this same function from a command line simply by calling the Acrobat Reader executable with some parameters. Assuming you're using Reader version 7, the command would look like this:

"C:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe" /p /h  "My PDF Document.pdf"

This command line can be executed with a scripting language or batch file, so setting up a watched folder that will print any PDF placed in it to the default printer is just a matter of scanning the folder on a regular basis for files ending in .PDF, applying this command to each file found, then moving the file to a new location when done.

Similar functionality should be available in Mac OS X with a shell script, though I have never tried it.
Karl Heinz KremerCommented:
The /p switch with Reader used to work this way, but since Reader 6 Adobe changed something, and I was not able to make it work reliably.
Karl Heinz KremerCommented:
Here is one more 3rd party component that can be used to built such a solution:

PDFRasterizer: http://pdfrasterizer.net/

And here is a link to a solution that does work with Reader: http://www.planetpdf.com/forumarchive/104285.asp 
But you also have to write the part of the software that scans the directory and executes the print command when a new file is found.
billmercerCommented:
Reader 6 was a mess in a lot of different ways. I see from visiting their site that Adobe finally wised up and are now letting people download version 5 again. Someone finally figured out that not everybody in the universe has Windows XP.  
Karl Heinz KremerCommented:
Actually, earlier releases of Reader were always available: Either via the archive, or by specifying an older OS version (e.g. Win95) on the download page.
Karl Heinz KremerCommented:
shanraj, here is a link to a newer/different version of the pdfprint program: http://forum.planetpdf.com/wb/default.asp?action=9&read=36960&fid=52#131463

Again, you have to make sure that you scan the directory and then call this program for all new files in the directory.

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
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
Adobe Acrobat

From novice to tech pro — start learning today.