Results 1 to 5 of 5
  1. #1
    Nokturnal1 is offline Junior Member
    Join Date
    Dec 2010
    Posts
    4

    Default Javascript for Illustrator Save to PDF

    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
    Last edited by Nokturnal1; 03-14-2011 at 01:28 AM. Reason: addition

  2. #2
    Stephen Marsh is offline Senior Member
    Join Date
    Apr 2009
    Location
    Sydney, Australia
    Posts
    575

  3. #3
    Nokturnal1 is offline Junior Member
    Join Date
    Dec 2010
    Posts
    4

    Default

    Well, arent i the dumb one for not googling it correctly. Thanks Stephen.

  4. #4
    Shawn is offline Senior Member
    Join Date
    Aug 2007
    Location
    Topsham, Maine
    Posts
    192

    Default

    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.

    PDF Proof workflow

    Shawn

  5. #5
    Nokturnal1 is offline Junior Member
    Join Date
    Dec 2010
    Posts
    4

    Default

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Sponsors

Esko Sponsored Content