FaridMasood -2 Junior Poster in Training

Hi,
I am using the acrobat com control on my form and setting the loadfile property to load the pdf file it is working fine here is my code to load pdf file and hiding the toolbar of acrobat control

oPDF.setShowToolbar(false);
oPDF.LoadFile(fileAddress);

This is working fine now i want to get the print of the loaded file i have tried this

oPDF.printWithDialog();

this shows the print dialoge but i want to automate the printing process. And print all the pages in document any help will be highly appricated, Currently i have managed to print all other documents part of my final class assignment just pdf is remaining and i found that opening the pdf file with acrobat com control is much easier. So i decided to do so please if someone has any idea then please help me i have left very short time to submit the project and googling is not doing the trick.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.