0 Replies Latest reply on Dec 17, 2009 9:10 AM by MikePDev

    [IDS Java CS4] packageForPrint() not copying linked graphics?

    MikePDev

      packageForPrint() creates a folder and saves my .indd, but doesn't copy the linked graphics. Here's my code:

       

      String outputFilePath = "/dev/indesign/docPackage";
      boolean copyingFonts = false;
      boolean copyingLinkedGraphics = true;
      boolean copyingProfiles = false;
      boolean updatingGraphics = true;
      boolean includingHiddenLayers = false;
      boolean ignorePreflightErrors = true;
      boolean creatingReport = true;
      OptBoolean forceSave = OptArg.makeBoolean( true );

       

      boolean success = doc.packageForPrint( outputFilePath,
                        copyingFonts,
                        copyingLinkedGraphics,
                        copyingProfiles,
                        updatingGraphics,
                        includingHiddenLayers,
                        ignorePreflightErrors,
                        creatingReport,
                        versionComments,
                        forceSave );

       

      The docPackage folder is created and it contains my .indd and Instructions.txt report file, but there is no "Links" folder containing the linked graphics, and the links in the .indd are not updated from their original path The report file says

       

      LINKS AND IMAGES
      (Missing & Embedded Links Only)
      Links and Images: 54 Links Found; 0 Modified, 0 Missing
      Images: 0 Embedded, 3 use RGB color space

       

      which is the correct number of images.

       

      Thanks,

       

      Mike