Copy link to clipboard
Copied
Is there any script to increase the slug area for InDesign.
InDesign has a limit to how big the slug area can be when setting up the document.
Try (200 being the size of slug in your documents measurement unit):
app.documents[0].documentPreferences.documentSlugUniformSize = true;
app.documents[0].documentPreferences.slugTopOffset = 200;
Or if you want different sizes around, change 0 to whatever:
app.documents[0].documentPreferences.documentSlugUniformSize = false;
app.documents[0].documentPreferences.slugTopOffset = 0;
app.documents[0].documentPreferences.slugBottomOffset = 0;
app.documents[0].documentPreferences.slugInsideOrLeftOffset = 0;
app.documents[0].documentPreferences.slugRightOrOutsideOffset = 0;
I really find it interessting that the limit doesn't seem to exist in scripting. I thought maybe it causes issues on PDF exp
Copy link to clipboard
Copied
Try (200 being the size of slug in your documents measurement unit):
app.documents[0].documentPreferences.documentSlugUniformSize = true;
app.documents[0].documentPreferences.slugTopOffset = 200;
Copy link to clipboard
Copied
Or if you want different sizes around, change 0 to whatever:
app.documents[0].documentPreferences.documentSlugUniformSize = false;
app.documents[0].documentPreferences.slugTopOffset = 0;
app.documents[0].documentPreferences.slugBottomOffset = 0;
app.documents[0].documentPreferences.slugInsideOrLeftOffset = 0;
app.documents[0].documentPreferences.slugRightOrOutsideOffset = 0;
I really find it interessting that the limit doesn't seem to exist in scripting. I thought maybe it causes issues on PDF export but doesn't seem so...
Copy link to clipboard
Copied
I thought maybe it causes issues on PDF export but doesn't seem so...
You will get an export error and the PDF will get cropped—the lower 200"x200" left corner of the slug exports and there is no page:
Copy link to clipboard
Copied
Thank You
Copy link to clipboard
Copied
Hi Rob,
in Jens' case the 200 is meant in millimeters and not in inches, I think.
To make that obvious, and not rely on the meassurement system(s) set with the rulers, one could do it like that:
app.documents[0].documentPreferences.documentSlugUniformSize = true;
app.documents[0].documentPreferences.slugTopOffset = "200 mm";
And yes, there is a maximum value of a PDF page size one could export with InDesign.
Regards,
Uwe Laubender
( ACP )
Copy link to clipboard
Copied
Yes, it's millimeters. I tried it with values within the PDF page size limit, which is – pure coincidence – 200 inches.
But nevertheless, the limit in InDesign's UI is 6 inches – for whatever reason...