PDA

View Full Version : Batch print



juni
08-05-2009, 10:56 PM
Hi, I have scoured the forum for batch printing multiple pdf documents from within an AMS project and don't seem to be having any luck, can anyone help with this please your knowledge would be much appreciated. ;) yes i am a complete noob:eek:

Ulrich
08-06-2009, 11:23 PM
Hello,

I won't show you how to print a stack of documents, but I am showing you here how to select and print a single PDF document. It is up to you to learn from this example and expand it to fit your needs.

This example displays a single button. Click it, select a PDF file, and it will be printed. This, of course, presumes that a proper application is already present on the computer, like Foxit PDF Reader.

Once you understood how I did this, you will see that it is quite easy to modify the code to select multiple files in the Dialog.FileBrowse() action, and then process them in batch. You can enhance this with a Progress meter and build a nice interface.

Ulrich

juni
08-07-2009, 02:30 AM
thanks for the response ;) i will be looking into your sample today and it will definatly improve my coding with AMS i really apreciate your response. i finaly achieved what i set out to do after endless hours of trying :lol i have attached a sample if you would like to look at it so you can get an idea of what i was doing. thanks again :yes