Previous | Next | (P-PDF) Forms & FDF
Topic: PDFMark Button creation problems
Conf: (P-PDF) Forms & FDF, Msg: 27600
From: nlockie
Date: 9/25/2001 05:56 PM
I in fact managed to find the solution with the help of Ivan Lee (ilee@boh.com) who had encountered the same problem some time ago. What was needed was the addition of the /NeedAppearances true flag included in the PDFMarker code of each button. I haven't managed to find this documented anywhere but an example of it's use can be found on Tomas Merz's web site (http://www.pdflib.com/pdfmark/index.html) in his "acroforms.eps" support file.
On 9/24/2001 11:15:00 PM, nlockie wrote:
>Has anybody encountered a
>problem with PDFMark code used
>in Framemaker 6.0 files and
>Acrobat distiller 4.0.5 to
>produce form fields. I've been
>trying to include the correct
>code to produce push buttons
>that will be used as
>navigation buttons (First,
>Prev, Next,and Last) in the
>final pdf file. I use
>variations of the following
>PDFMark code to produce the
>various push buttons:
>
>[ /Subtype /Widget
>/Rect [ XLL YLL XUR YUR ]
>/T (next)
>/FT /Btn
>/Ff 65536
>/H /P /F 1
>/BS <
>/MK <
>/BG [ 0 1 1 ]
>/CA (Next)
>/RC (Go To)
>/AC (Next Page) >>
>/TU (Go to Next Page)
>/DA (/Helv 10 Tf 0 g)
>/Action << /Subtype /Named /N
>/NextPage >>
>/Subtype /Link /ANN pdfmark
>
>This works fine for the first
>occurrence of the button which
>displays and operates
>correctly. All the other
>buttons are invisible but are
>physically in the document and
>also operate correctly. If I
>double-click on the button
>with the Acrobat form tool,
>change nothing, and press OK
>the button it is then
>displayed correctly. It's also
>very odd that all the
>appearance
>settings are correctly set
>when I check them with the
>form tool.
>I'm keen to use push buttons
>rather than links so I can
>control whether or not they
>are printed.
>
>Nick Lockie
>StorageTek European Operations
>(Toulouse)
>StorageTek
>INFORMATION made POWERFUL
>mailto://lokien@europe.stortek
>.com
>