I have a link on my aspx file. I will link to a pdf file from this link. I will open the file in a popup / child window. Now what I want to do, as soon as I open the PDF file it will be printed automatically. I don't want to write any program in my PDF. I want to write program in my aspx file where I have the link of the PDF file, preferebly in java script. Can I do it? If yes please send me the procedure and code how to do it?
The easiest way to accomplish this is to automatically pass the .PDF to an installed copy of Reader then print it using either scripting or direct APIs. How to handle queue management on a web side system is an exercise left to the submitter.
A little searching in The Acrobat SDK - available on Adobe's web site, should provide you with all the necessary information and examples. Trust me, it's all there.
Specific information regarding Reader command line options can be found in the Acrobat Developer FAQ.PDF document.
Be sure to read the EULA for the product you are using regarding the legalities of running it in a server environment.
Douglas Hanna is a member of the Production Print Technology team at Aon.
www.aonhewitt.com