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

Default Page Scaling for Dynamic Livecycle Form

tgoodman
Registered: Aug 18 2008
Posts: 72

Hi There,

This is probably obvious

If I open a Livecycle dynamic xml form in Acrobat, and go to the Form Properties > Advanced

All the settings are greyed out, and I cannot set a default for Page Scaling for the form.

For a Static form I can.

Am I right in assuming that this is a limitation of Acrobat for Dynamic forms?

This particular form also has separate Master page with different sizes for content layout (which may also be an issue?)

Thanks
Tim

My Product Information:
Acrobat Pro 8.1.2, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
That's normal when you use dynamic XML-forms.
You can't edit them with Acrobat only with LiveCycle Designer.

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

tgoodman
Registered: Aug 18 2008
Posts: 72
Really? Where can you set a form's default Page Scaling in Livecycle Designer?

I couldn't find it ... I thought it was only available in Acrobat....

Thanks
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
Scaling? Do you mean the view setting of the form when opening?
There is no way for setting the page view in LiveCycle Designer.
The form will be shown with the default view settings of the Reader/Acrobat.

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

tgoodman
Registered: Aug 18 2008
Posts: 72
No - the Page Scaling setting on Print i.e. when the User presses the form.

We want to ensure it defaults to "None" instead of "Shrink to fit" ... but it is greyed out in Acrobat Form Properties
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
There is not way to define the print properties within the form.
But, you can use a button with a JS in the click event to solve this.

xfa.host.print(1, "0", "0", 0, 1, 0, 0, 0); //fit to page

xfa.host.print(1, "0", "0", 0, 0, 0, 0, 0); //no fit to page

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

tgoodman
Registered: Aug 18 2008
Posts: 72
Thanks - it actually looks like we might use a similar approach, although it looks like the customer does not want Shrink to Print to be available ever (the form is being OCR'ed)...

I've created a Printer selection using execDialog, and then I use the settings in the print call (actually using doc.print) .... seems to work OK
eloralon
Registered: Dec 30 2008
Posts: 16
Hi tgoodman,

Would you want an initial view in % for your form in Reader/Acrobat? If yes, you can try this document level JavaScript code on the docReady event of your form's first element in the hierarchy.

In my case I put it on form1::docReady

event.target.zoom = 85;

This makes my form open with the page scaled (zoomed) @85%.

Hope this helps. It worked in my case.