Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Server Developers
Viewing all articles
Browse latest Browse all 20709

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

$
0
0

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


Viewing all articles
Browse latest Browse all 20709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>