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

Forms from PostScript, presumably using pdfmark

jdaw1
Registered: Nov 1 2010
Posts: 6

Currently I use Distiller 8.2.5 to convert a hand-coded PostScript program to PDF. However, this version of Distiller seemingly does not allow the creation of a form using pdfmark.
 
Does the new Acrobat Professional allow, within PostScript, the creation of forms, whether using pdfmark or by other means?
 
Thank you.

My Product Information:
Acrobat Pro
jdaw1
Registered: Nov 1 2010
Posts: 6
It seems that Leonard Rosenthol's Blog: Why "refrying" a PDF is evil! answers the question, in the negative.
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
Have you ever been able to create a PDF form by distilling a PostScript file that includes the necessary pdfmarks? If it doesn't work, there may be something wrong with your code.

FWIW, I don't believe the blog posting you mentioned has anything to do with your problem.
jdaw1
Registered: Nov 1 2010
Posts: 6
The problem isn't that form-making pdfmarks haven't worked. The problem is that, as best I could determine, the pdfmark of the previous version of Distiller included no such functionality. Maybe the new distiller does. Maybe?
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
It's worked with Distiller since forms were introduced with Acrobat 3.
jdaw1
Registered: Nov 1 2010
Posts: 6
I don't mean a PostScript 'execform' form. I mean a PDF form: numbers entered into several ‘cells’, and another ‘cell’ is instructed to be the total of the other cells’ contents.

If that is what you mean, please give sample code.
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
Yes, I thought so. Have you read through the pdfmark documentation?

http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/pdfmark_Examples.67.4.php
jdaw1
Registered: Nov 1 2010
Posts: 6
Ahh, I had the Technical Note #5150 Version : Acrobat 5.0. Presumably that’s old and past it.

Please, are you will to save me a load of confusion? Can you make the pdfmarks for two numeric data-entry boxes, entries centred vertically and horizontally, with any sensible (default) font, the total of which appears in a third place?
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
It's been years since if done anything with pdfmarks, and when I did it was to embed in other documents (e.g., Word), as opposed to programming in PostScript. But it should help to know that it's possible.

This is the best resource I know of, though from a TeX perspective: http://www.math.uakron.edu/~dpstory/acrotex.php#technical
George_Johnson
Expert
Registered: Jul 6 2008
Posts: 1876
And this in particular should be helpful: http://www.math.uakron.edu/~dpstory/tutorial/pdfmarks/forms.pdf
jdaw1
Registered: Nov 1 2010
Posts: 6
Thank you. I hope you’re correct, but I’m going to have to peer through this tomorrow.
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
Here is the pdfmark Reference for version 9. It has an example of of how to setup the forms pdfmark suite. The example does have a problem with the JavaScirpt formatting funciton, but you can comment the 2 lines out and and create a PDF.
.
.
http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdfmarkReference_v9.pdf

George Kaiser