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

script paper size in acroPro 7

marcosz
Registered: Feb 10 2008
Posts: 4

i need to control the paper size when printing from acroPro 7.

i don't see the language in printParams, etc.

i'm using odd dimension papers like 13" x 19" so it won't do to pick standard sizes.

i'm gathering that i have to have custom page sizes set up in acrobat,
then invoke them through printParams.

is the 'media box' the paper size?

sorry if i'm missing the obvious.
i'm amazed this isn't easier to find.

thanks,

marc

My Product Information:
Acrobat Pro 7.0.9, Macintosh
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Yes, the "mediaBox" is the paper size. But this doesn't mean that the paper source is necessarily controlable from the PDF. There are many different kinds of printers, each with thier own options. PDF is concerned with rendering the document, not printer specifics. The connection between the PDF and the printer is tenuous. You can set things up to print properly with you're own system, but you can't expect it to be stable or to translate to another setup. Which is why there is JDF.

Have you looked into JDF to see if it can help you. You'll find info on JDF in the Acrobat Help and online.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

marcosz
Registered: Feb 10 2008
Posts: 4
is it sensible to ask:

how does one connect a printer-specific JDF to an arbitrary PDF via script (java or apple)?

thanks,

marc
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
I don't think you can. JDF is not mentioned a single time in any of the Acrobat Scripting References. But I don't know for sure. I'm more of a programmer than a printer. You need to post your question to a more print oriented forum category. Or take a look at the Adobe User to User forums. Here's a thread related to this topic.

http://www.adobeforums.com/webx/.3bc31be4/0

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script