Skip to main content
Inspiring
June 21, 2022
Answered

export pdf with guides and grids is not working for me in indesign!

  • June 21, 2022
  • 2 replies
  • 284 views
app.pdfExportPreferences.pageRange = "ALL";
app.pdfExportPreferences.exportGuidesAndGrids = true;
app.documents[0].exportFile(ExportFormat.PDF_TYPE,File(app.documents[0].fullName.parent+"/"+"_Grid.pdf"),false,Pdf_joboption);
doc.close(SaveOptions.no);

I used this method and property from document object model but no grids or guides were added to my exported pdf. Thanks in advance!

This topic has been closed for replies.
Correct answer Brad @ Roaring Mouse

Any unmodified PDF\X compliant preset disallows Visible Grids and Guides.

You can turn off the Standard to None and this will allow the checkbox to be set, but your PDF is no longer compliant.

2 replies

Brad @ Roaring Mouse
Community Expert
Brad @ Roaring MouseCommunity ExpertCorrect answer
Community Expert
June 21, 2022

Any unmodified PDF\X compliant preset disallows Visible Grids and Guides.

You can turn off the Standard to None and this will allow the checkbox to be set, but your PDF is no longer compliant.

brian_p_dts
Community Expert
Community Expert
June 21, 2022

Looks like you are using a preset which probably does not have that option selected. Export options will get overridden by the preset. Instead, change the preset either manually or via script, ie.: 

Pdf_joboption.exportGuidesAndGrids = true;