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

FreeText Not printing

johnwhite
Registered: Aug 4 2010
Posts: 9

I have the following freetext annotation, but no matter what I do I cannot get it to print. Any Suggestions?

this.addAnnot({contents: ""This is my text on the page"", type: ""FreeText"", page: 0, textFont: font.Helv, textSize: 18, rect: [15, 765, 420, 784], alignment: 1, print: true});

My Product Information:
Acrobat Standard 9.3.1, Windows
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
In the print UI select the "document and markup" options for what to print.

George Kaiser

johnwhite
Registered: Aug 4 2010
Posts: 9
Is there a way to force it to print without making that selection.
try67
Expert
Registered: Oct 30 2008
Posts: 2398
Yes. You can flatten the file.

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

johnwhite
Registered: Aug 4 2010
Posts: 9
Ok... I'm a newbie. How would I do that with javascript?
johnwhite
Registered: Aug 4 2010
Posts: 9
I found a method called flattenPages() and I tried it, but I get the following error. I have to add that there is also a digital certificate attached to the document. Is there a way to get around the error below?

NotAllowedError: Security settings prevent access to this property or method.
Doc.flattenPages:23:Doc undefined:Open