View Single Post
Old 06-19-2020, 10:04 PM   #5
MarjaE
Guru
MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.
 
Posts: 637
Karma: 2200002
Join Date: Jun 2015
Device: Iriver Story HD, Amazon Kindle 5, and Amazon Kindle DX
Workaround:

1. Identify problem layers using PDFStudio Viewer. (Acrobat Reader could also work, depending.)

2. Duplicate the source pdf. Open it with TextEdit. (Another text editor could also work.)

3. Search for OCProperties. This will list numerical codes under OFF, ON, or other settings, with 0 R after each number.

4. Search for Name(x) where x is one of the names of the problem groups from step 1. You should find a list with numbered objects.

5. Note which numbers correspond with which problem groups. Move the corresponding numbers and 0 R from the ON list to the OFF list.

6. Save.

7. Open.

It gets more complicated if you want to track down specific items to move between OFF and ON OCGs.

But... this doesn't require specialized pdf editing software after all.

P.S. The output may not work well with Ghostscript, but it works well with k2pdfopt.

Last edited by MarjaE; 06-19-2020 at 10:11 PM.
MarjaE is offline   Reply With Quote