We have roughly 55 cards that all have the exact same text. The titles and backgrounds differ among the cards. So I've made just one AI with the different backgrounds and all the text as one copy in a layer on top.

Now I can just hide each background layer and save as PDF. But even unchecking preserve editing capabilities, the file sizes let me know that it is still including the images and backgrounds for all the hidden layers. Doing a quick test and deleting all the hidden layers brings the file sizes done considerably.

I was under the impression that saving as a PDF without editing capabilities only saved what was needed for that particular PDF. It seems I was wrong. Do I just have to keep deleting the hidden layers for each copy?

A few boxes down from "Preserve Illustrator Editing Capabilities" is an option to "Create Acrobat Layers from Top-Level Layers". Make sure that is unchecked. See if that solves your problem! Source citation

As an aside, if you ever have this problem in InDesign, there's a choice front and center on the export dialog to export visible and printable layers only.

  • 5
    Selecting any of the PDF/X presets disables this setting automatically, and in almost all cases you should be using one of these when preparing output for press. PDF/X-4:2008 uses a later PDF version that X-1 or X-3, resulting in a smaller file size. – Alan Gilbertson Sep 6 '12 at 18:34

The trick is to temporarily convert the layers you don't want to appear to Template layers, rather than hide them.

From the Layers palette, select the appropriate layers, and from the flyout menu select "Template". Unless it has changed since CS2...

Template layers will not be included in PDFs, neither will they print.

  • Just tested this in CS6 (Mac) and it works! So long as you do untick 'Preserve Illustrator Editing Capabilities'. If you tick 'Preserve...', it just hides the template layers in everything but Illustrator. Only change I can see from how you describe it is, 'Template' is set by a checkbox under 'Options for "[layer name]"' in the Layers palette flyout menu, and there are icons in the layers palette listing so you can easily see which are templates and which aren't. – user568458 Dec 18 '12 at 13:46

It's an annoyance. Illustrator has a very nasty habbit of including all hidden objects in many formats upon save/export. PDF and EPS can be the most troublesome.

The best I found I can do is to delete the hidden objects, then save. Basically it's a 5 step processes...

  1. Unhide all
  2. Delete
  3. Save As/Export
  4. Undo
  5. Hide

The Retain Illustrator Editing Capabilities will have no effect on this problem, as you've discovered.

  • This seems like a very dangerous solution; I tend to work extremely fast sometimes, and if I followed these steps, but forgot to "Undo" before saving/closing the file, everything that was deleted would remain deleted. – DLev Jan 18 '16 at 19:47
  • I will give a thumbs up for this being an annoyance! How many times do I hear, "Did you check your file things are overlapping" – John Dangerous Apr 21 '16 at 17:44

None of these suggestions work or worked for me - I need something simple and bulletproof, and the final suggestion ("Checking this option: "Create Acrobat Layers from Top-Level Layers" worked for me. I also chose the Acrobat version 8") DIDN'T work, and still exported all the layers for me.

I found the solution in that dialog box setting the eps file save options though - choose "Save a copy" and file type "pdf" then choose the top option Adobe PDF Preset: High Quality Print, and for good measure, turn off "Preserve Illustrator Editing Capabilities".

Hidden layers are gone, finally.

Checking this option: "Create Acrobat Layers from Top-Level Layers" worked for me. I also chose the Acrobat version 8.

If you have Acrobat Pro, there is an option under tools > protection called 'remove hidden information' - further information here:

https://helpx.adobe.com/acrobat/using/removing-sensitive-content-pdfs.html

I can confirm that hidden layers saved in Illustrator are removed by this feature, which cleans up up PDF preview (on a Mac at least) and reduces the file size. Your PDF can then be resaved from Acrobat.

Install a PDF printer and just print your document, but keep in mind that you will lose any hyperlinks this way. Acrobat Pro has one, and Foxit had a free one that comes with foxit reader if you don't have Acrobat Pro.

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.