添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Hi all,
This is my first post on here. Im looking to see if anyone knows how to edit the Javascript for Illustrator CS4? Adobe already has a script in Illustrator called 'SaveDocsAsPDF.jsx'. I want to be able to tweak this script so I can edit the PDF Save Options to do things like add trim marks and bleed, since this script clips the bleed at the trim box. When I open the script, it gives some info like:
// See PDFSaveOptions in the JavaScript Reference for available options
// Set the options you want below:
// For example, uncomment to set the compatibility of the generated pdf to Acrobat 7 (PDF 1.6)
// options.compatibility = PDFCompatibility.ACROBAT7;

But they fail to mention where this is 'JavaScript Reference' is so I have no idea where to find the script options. Anyone out there have any idea? I am not a code person, but I do have the awareness of how to edit them.
Thanks
I posted our internal version of this script on a different thread in the last few weeks, including instructions for editing it. It's set to use standard joboptions instead of hand coding the individual PDF settings. Take a look here.
http://printplanet.com/forums/adobe/25140-pdf-proof-workflow/2
Shawn
Thanks alot Shawn. This is EXACTLY what I needed. I was able to enter our own PDF Preset into the script and it worked. Thanks so much. Where and how did you enter your PDF Preset into the script? Sorry for this question but I'm new to scripting and it's not working for me, still learning.
Hope you can help. Where and how did you enter your PDF Preset into the script? Sorry for this question but I'm new to scripting and it's not working for me, still learning.
Hope you can help. Hi Dutch
Open the script in a text editor and make sure that the joboptions in line 124 of the script EXACTLY matches the PDF joboption setting from Illustrator that you want to use.
look for these lines
// for a description of these properties.
// Add more properties here if you like
pdfSaveOpts.pDFPreset = '[PDF/X-4:2008]';
The script is set to use the [PDF/X-4:2008]' standard from Adobe (the default Adobe joboption names includes the brackets -- yours may not).
Shawn A 30-day Fix for Managed Chaos

As any print professional knows, printing can be managed chaos. Software that solves multiple problems and provides measurable and monetizable value has a direct impact on the bottom-line.

“We reduced order entry costs by about 40%.” Significant savings in a shop that turns about 500 jobs a month.
Learn how…….