PDF-Forms is a service provided by PDFzone.com | http://www.pdfzone.com/ __________________________________________________________________

A little bit of RTFM shows that, in order for the starting and ending number to work, the bUI parameter must be false. And Experience shows that -- unlike some other parameters -- these two parameters are not passed to the print dialog box.

This unfortunately leaves you to either allow/force the user to set the page range manually in the print dialog box, or to not allow the user to access the print dialog box.

If you can rely on Acrobat 6, you might be able to create a "surrogate print dialog box" which helps to assemble the printparams object, and then pass that object to the non-user interfaced print command...

Hope, this can help.


Max Wyss PRODOK Engineering Low Paper workflows, Smart documents, PDF forms CH-8906 Bonstetten, Switzerland

Fax:  +41 1 700 20 37
  or  +1 815 425 6566
e-mail:  mailto:[EMAIL PROTECTED]
http://www.prodok.com



[ Building Bridges for Information ]


______________________




Shameless Plug:

My next conference appearances and workshops:
• Conference presentations at the 2004 Symposium of the BFMA, May 23 to 27 in Reno, Nevada (http://www.bfma.org) and pre-/post-conference workshop, May 22/23 and 27, organized by essociates Group (http://www.essociatesgroup.com/AdvancedAcrobatForms.htm)
• And, as always, available for on-site workshops/tutorials/consulting.



_________________________




'False' works fine, but I want the user to see the printer dialog so they
can pick the printer.


Does anyone know if this is a bug with the True setting? Or is there another
parameter?





I'm trying to make a button that sets up to print the current page in a
multi page document.


The JavaScript is spelled out in the book, but it doesn't work. When the
print dialog box opens, the current page (or page range) specified does not
display. It still has the default of All.


Is this a feature that just doesn't work?

I'm using Acrobat 5.0.5 with the following script (as simple as it gets) to
print the second page of a three page file.


this.print(true, 1, 1)



To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfforms.html



Reply via email to