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

Print Popup content

heinzeckert
Registered: Dec 6 2008
Posts: 14

hi,

i´m searching for an option to print a popup content.
I have a PDF Test, that results are shown by popup.
Now I want to print this popup by clicking on a "print" button.

Is there any option, to do this?
I haven´t found anything.

Thank you,
Heinz Eckert

lkassuba
ExpertTeam
Registered: Jun 28 2007
Posts: 3636
You can create a form field print button that executes the print command. Ted Padova has an examples on how to create form field buttons in his [url=http://acrobatusers.com/articles/2007/11/101_forms_etips_article]Acrobat guru shares 101 favorite tips article[/url].

Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.

heinzeckert
Registered: Dec 6 2008
Posts: 14
Thank you for your answer!
I´ve created by addField a multiple textfield that i can print.

But by creating this textfield ive come to the next problem.
I cannot create a line break in this textfield.
I thought that I can do this with "\n" or "\r".



var f = this.addField("response", "text",
page = this.pageNum = 2,[10,10,595,840]);

var ausgabe = ("Question 1 " + var1 +"% \n" + "Question 2 " + var2 +"% \n")

f.value = (ausgabe);
f.textSize = 12;
f.textfont = font.Helvtica;
f.textColor = color.black;
f.fillColor = color.white;
f.alignment = "left";
f.multiline = true;
f.readonly = true;



Do you know how I can create a line break?

Thank you for your help,
Heinz Eckert