I have a web based system that uses Adobe Acrobat Reader 6.0 to open documents, print the contents and close the documents. The user is printing a series of contract documents.
I would like to merge data with a document using FDF and have it print without opening the document in Reader. I have several documents that the user wants to print. Data has to be merged with each document before it is printed.
Currently I am handling it, but the form opens, the document prints, and then it closes and opens the next document and so on. The screen just flashes the documet and prints it.
belose is the code i use to automatically print the document
This works ok, but I would like to do the same thing without having the screen flash.
I would like to merge data with a document using FDF and have it print without opening the document in Reader. I have several documents that the user wants to print. Data has to be merged with each document before it is printed.
Currently I am handling it, but the form opens, the document prints, and then it closes and opens the next document and so on. The screen just flashes the documet and prints it.
belose is the code i use to automatically print the document
Code:
// this logic used for automatic printing
var h = this.getField("print_now");
if (h.value == "Y"){
var pp = this.getPrintParams();
pp.interactive= pp.constants.interactionLevel.silent;
this.print(pp);
getURL(f.value);
}
This works ok, but I would like to do the same thing without having the screen flash.