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

Form 3 copies Original-Audit-Client footer when printed

Jamesone
Registered: Jul 31 2011
Posts: 15
Answered

Hi,
 
Is this possible !!
 
Acrobat 10, I have one fillable form which prints 3 copies of form when print button is pressed.
 
I would like the words Original-Audit-Client to appear on the footer area of the 3 forms when printed.
  
Any takers....
 
Thanks for the input...
 
James

My Product Information:
Acrobat Pro 10.0.1, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2398
Accepted Answer
Yes, it's possible in various ways. For example:
Create a text field to contain the footer text and fill it with a different value before each time the form is printed, like so:

  1. getField("Footer").value = "Original";
  2. this.print();
  3. getField("Footer").value = "Audit";
  4. this.print();
  5. getField("Footer").value = "Client";
  6. this.print();
  7. getField("Footer").value = "";

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

Jamesone
Registered: Jul 31 2011
Posts: 15
Thanks try67 and here is the code I'm using for a print button for any other person that may need it.

//Print and add Footer 2011

getField("Footer").value = "[ Personal copy ]";
this.print({
bUI: false,
bSilent: false,
bShrinkToFit: true,
nStart: 0,
nEnd: 0,
});
getField("Footer").value = "[ Other copy ]";
this.print({
bUI: false,
bSilent: false,
bShrinkToFit: true,
nStart: 1,
nEnd: 1,
});
getField("Footer").value = "[ Audit copy ]";
this.print({
bUI: false,
bSilent: false,
bShrinkToFit: true,
nStart: 1,
nEnd: 1,
});
getField("Footer").value = "[ Personal copy ]";
this.print({
bUI: false,
bSilent: false,
bShrinkToFit: true,
nStart: 2,
nEnd: 2,
});
getField("Footer").value = "[ Other copy ]";
this.print({
bUI: false,
bSilent: false,
bShrinkToFit: true,
nStart: 2,
nEnd: 2,
});
getField("Footer").value = "[ Audit copy ]";
this.print({
bUI: false,
bSilent: false,
bShrinkToFit: true,
nStart: 2,
nEnd: 2,
});