Skip to main content
OsakaWebbie
Inspiring
December 17, 2025
Answered

Prevent anchored graphics from exporting in EPUB?

  • December 17, 2025
  • 1 reply
  • 225 views

I have a book document intended to design both the print and ebook editions. For the most part I use layers to control what shows in the ebook and print versions. For print, I have some anchored objects in certain places: QR codes next to the text they support, and stylish section headings that I couldn't figure out how to do as simply inline so they are anchored text frames. I anchor them so that they stay in the right place (including the right page) while I experiment with font sizes, line spacing, margins, etc. But the problem is that because they are anchored to the main text flow (which is in the layer that is used for both print and ebook), the graphics are showing up the EPUB export - I don't want that. Is there a way to exclude all graphic content (or all anchored content) from EPUB export? Or a setting for the object itself to say it should not be exported? Google AI Overview says no (it suggests a hidden layer or moving them to the pasteboard, both of which defeat the purpose), but perhaps there is something in the newest version of InDesign, or a trick you guys know but Google doesn't.

Correct answer Peter Kahrel

You can create an object style and set its Nonprinting attribute. That way you can toggle the visibility of objects in print (and PDF, Epub).

PeterKahrel_0-1765962447412.png

 

1 reply

Peter Kahrel
Community Expert
Peter KahrelCommunity ExpertCorrect answer
Community Expert
December 17, 2025

You can create an object style and set its Nonprinting attribute. That way you can toggle the visibility of objects in print (and PDF, Epub).

PeterKahrel_0-1765962447412.png

 

OsakaWebbie
Inspiring
December 17, 2025
quote

You can create an object style and set its Nonprinting attribute. That way you can toggle the visibility of objects in print (and PDF, Epub).

By @Peter Kahrel


If I check that checkbox, won't they be hidden in PDFs also?

OsakaWebbie
Inspiring
December 17, 2025

Never mind - I just realized that I can choose to print non-printing objects in the PDF settings (and presumably save that in the PDF preset I use for this purpose). Thanks!