These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Add watermark to second copie during print

inta251
Registered: Nov 11 2010
Posts: 4

Creating file with 2 pages. Second page got Button >Print< with script action:
 
var pp = this.getPrintParams();
pp.firstPage = 1; // start at page 2
pp.lastPage = 1; // end at page 2
pp.NumCopies = 2; // 2 copies
this.print(pp); // print page 2
 
Some possibility add watermark "COPY" during printing only, and only to second copie with all ajustments property for watermark.
 
>> cText: "COPY",
bOnTop: true,
bOnScreen: true,
nTextAlign: app.constants.align.left,
nHorizAlign: app.constants.align.center,
nVertAlign: app.constants.align.center,
nHorizValue: 0,
nScale: 3,
nOpacity: 0.1,
nRotation: 45
}); <<
 
Thanks in advance.
Igor.
 

My Product Information:
Acrobat Pro Extended 9.3.1, Windows
UVSAR
Expert
Registered: Oct 29 2008
Posts: 1357
You can use the addWatermarkFromText() function but only in Acrobat - it's not available in Adobe Reader.
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
If you want one copy with the watermark and one without the watermark you have a couple of options:

1. You will have to print a copy without the watermark, add the watermark, and print the document again. Acrobat only.
2. Make a second copy of the PDF with the watermark and combine the 2 PDFs into one PDF.
3. Above, but make the page with the watermark a hidden template. Add some code to the print print button to unhide the template pages print the PDF, and then hide the template pages again. You will have to enable extended rights for reader.

George Kaiser

inta251
Registered: Nov 11 2010
Posts: 4
Thanks George.
I will do step 2.

Igor.