Hello experts,
I am using the below mentioned code in my VB.net application to print two copies of pdf document.
js.Append("var pp = this.getPrintParams();")
js.Append("var iCopies = 2;")
js.Append("var iPages = this.numPages;")
js.Append("pp.NumCopies = iCopies;")
js.Append("pp.interactive = pp.constants.interactionLevel.silent;")
js.Append("for ( var i = 0; i < iPages; i++ ) { pp.firstPage = i; pp.lastPage = i;")
js.Append("this.print(pp);")
js.Append("}")
It is working great. But how can I make the last page print only 1 copy instead of two copies.
Your help greatly appreciated.