You can use pure javascript to do that:
function PrintAll() {
var files = ["file1.pdf", "file2.pdf", "file3.pdf"];
for (var i = 0; i < files.length; i++) {
var newWindow = window.open(files[i], "print");
newWindow.print();
newWindow.close();
}
}- Log in to post comments
