I put the line


into my PDF document's JavaScript section like this:

Document JavaScript

It turns up in the general JavaScript section like this:

//-----------------Do not edit the XML tags--------------------

//<ACRO_source>Zoom Out</ACRO_source>
/*********** belongs to: Document-Level:Zoom Out ***********/

But it is not executed. Instead, it throws a "bad parameter" error:

bad parameter error

I believe however that it should work, since the command is in the safe commands list:

safe commands list

...as described in the Adobe JavaScript Reference Manual on p. 93:

Adobe JavaScript Reference Manual


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.