• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Printing/Extracting pages containing serach term(s)

New Here ,
Jun 14, 2019 Jun 14, 2019

Copy link to clipboard

Copied

Hi,

I am looking for a way to print or extract only those pages within a doc that contain a search term; what would be the search result set I suppose.  Right now I have to note every page a term(s) is/are on and then go back and extract or print.  Anyone have this issue before?

TIA,

-mark

TOPICS
Acrobat SDK and JavaScript , Windows

Views

383

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jun 14, 2019 Jun 14, 2019

Have you looked here?

https://acrobatusers.com/actions-exchange

You'll find "Actions" for highlighting search words and extracting the pages

Votes

Translate

Translate
Community Expert ,
Jun 14, 2019 Jun 14, 2019

Copy link to clipboard

Copied

Yes, which is why I've developed a (paid-for) tool that can do it, based on the results of an Advanced Search command in Acrobat.

You can find it here: Custom-made Adobe Scripts: Acrobat -- Print or Extract Pages from CSV Search Results

Another way of doing it is to iterate over all the words in the file, looking for matches to your search term, and then exporting those pages as a new file, which can then be printed or saved. If the file is long, or the search term complex, that might be too much for Acrobat to handle, though. That's why I've created my tool to use the results of the built-in search engine, which is much more robust than a script.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 14, 2019 Jun 14, 2019

Copy link to clipboard

Copied

Have you looked here?

https://acrobatusers.com/actions-exchange

You'll find "Actions" for highlighting search words and extracting the pages

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 14, 2019 Jun 14, 2019

Copy link to clipboard

Copied

LATEST

This is exactly what I needed and works well.  Thanks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines