Skip navigation
Currently Being Moderated

[CS5] Exporting PDF with PDF/X-1a:2001, get CMYK Error

Sep 8, 2011 8:18 AM

Hello,

 

I'm not sure if this would belong in the scripting or server forum, so let me know and I can create a new thread there. I'm trying to create a new PDF Export Preset that specifies the PDF/X-1a:2001 standard. All I'm trying to test with is a brand new document with all default values. It works fine if I use my preset in my desktop InDesign, however, if I run a script that attempts to export the same exact document on our InDesign Server, I get an error "warning" which causes the script to fail:

 

WARN [Server] Color in one or more placed graphics cannot be represented as CMYK. Non-CMYK color is not compliant with the PDF/X-1a standard. You can click OK to produce a valid PDF, but it will not be a PDF/X-1a compliant file.

 

So my question would be, 1) what part of a blank document is not CMYK compliant? and 2) is there a way to force a conversion of anything non-CMYK to CMYK?

 

Thanks in advance!

-Lloyd

 
Replies
  • Currently Being Moderated
    Sep 10, 2011 4:35 AM   in reply to lhanneman

    Do you have any indexed color swatches or styles that might be using indexed color in the doc?

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 16, 2011 2:42 PM   in reply to lhanneman

    I expect the watermark is applied AFTER the PDF is created. In order to be included inthe export it would need to be in the ID file. Is there a watermark file someplace?

     
    |
    Mark as:
  • Rob Day
    2,294 posts
    Oct 16, 2007
    Currently Being Moderated
    Sep 16, 2011 3:33 PM   in reply to lhanneman

    I've seen PDF/X-1a warnings associated with certain versions of color profiles. When you get the warning is there an option for getting more info? What destination profile are you using?Does it happen with the default Color Settings preset?

     

    if I run a script that attempts to export the same exact document on our InDesign Server, I get an error "warning" which causes the script to fail:

     

    You should be able to stop any dialogs inside of the script. With AppleScript you would add this line at the beginning:

     

    set user interaction level of script preferences to never interact

     

    and then turn interaction back on at the end with this:

     

    set user interaction level of script preferences to interact with all

     
    |
    Mark as:
  • Rob Day
    2,294 posts
    Oct 16, 2007
    Currently Being Moderated
    Sep 16, 2011 3:41 PM   in reply to lhanneman

    For example I get this when a use the SNAP 2007 newsprint profile as the CMYK destination. When I ignore the warning the exported PDF looks fine and its CMYK values are correct.

     

    Screen shot 2011-09-16 at 6.37.46 PM.png

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 7, 2012 1:49 PM   in reply to Rob Day

    I'm getting the same error using ID CS5 also, but under different circumstances.

     

    An AppleScript exports a PDF for print using the X-1a preset, and works once without an error. Next it outputs a PDF for digital editions using a preset for Zinio, again error-free. Next the script outputs the next page using the X-1a preset and then I get the error with every remaining X-1a export. When exporting manually, we get the error dialog. When using a script, which we greatly prefer to allow us to batch process files and save hours of tedious work, the export line returns error -128, thinking the user has cancelled, and does not export the PDF. It's as though something remained stuck in InDesign's memory and the X-1a preset info didn't fully repopulate InDesign's internal data.

     

    Is there a way for a script to clear that memory before applying the preset? Or is there a known field in other presets that doesn't get updated when the X-1a preset is reapplied? I really don't want to resort to something like quitting and restarting InDesign between every page of every publication just so ID loads the X-1a preset correctly.

     

    Any suggestions would be much appreciated!

     
    |
    Mark as:
  • Rob Day
    2,294 posts
    Oct 16, 2007
    Currently Being Moderated
    Aug 7, 2012 2:39 PM   in reply to Rick E Johnson

    Are you using the default PDF/X-a preset without any alterations? What's the document CMYK profile?

     

    Does the script work if you stop user interaction dialogs? Something like this:

     

     

    tell application "Adobe InDesign CS5"

        set user interaction level of script preferences to never interact

        --code

        set user interaction level of script preferences to interact with all

    end tell

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 9, 2012 8:04 AM   in reply to Rob Day

    Thanks, Rob,

     

    This helps. The "never interact" option is where I got the "-128 user cancelled" error. I can't use "interact with all" because we need the script to run unattended.

     

    I was told that our variant of the default X-1a preset changed only the marks and bleeds, but I'll dig deeper because using the default preset, the error doesn't occur. It also didn't occur with CS4, only CS5, and oddly works perfectly only until using an RGB PDF output, but at least I now have ideas for a workaround.

     

    Thanks,

     

    Rick

     
    |
    Mark as:
  • Rob Day
    2,294 posts
    Oct 16, 2007
    Currently Being Moderated
    Aug 9, 2012 8:29 AM   in reply to Rick E Johnson

    I was told that our variant of the default X-1a preset changed only the marks and bleeds, but I'll dig deeper because using the default preset, the error doesn't occur.

     

    How about if you make a new preset based on the default X-1a but make the one cropmark change? Maybe the preset that creates the error has been corrupted.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 9, 2012 1:45 PM   in reply to Rob Day

    Experimentation showed that when a document is closed and re-opened, the PDF preset works again, at least until after InDesign has exported the next page that includes indexed color. Several times during the process of exporting PDFs from a publication, there may be a flashing on the screen as a document re-opens, but the process can continue unattended again. Thanks again for your suggestions. -- Rick

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points