Browse Prior Art Database

Print Pages on which Contextual Search Hits Occur up to the Specified Maximum

IP.com Disclosure Number: IPCOM000038116D
Original Publication Date: 1989-Nov-01
Included in the Prior Art Database: 2005-Jan-31
Document File: 1 page(s) / 12K

Publishing Venue

IBM

Related People

MacPhail, MG: AUTHOR

Abstract

Disclosed is a method to print the pages on which a contextual search hit occurs up to the maximum number of pages specified. A contextual search program will search the content of a document to find matches as specified in the contextual search criteria. When a library is searched, often the result of the search is a list of document names that meet the search criteria. When a single document is searched, often the result of the search is a copy of the document with the hits highlighted. However, a user may just want to read the section of the document that contains topics of interest.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 93% of the total text.

Page 1 of 1

Print Pages on which Contextual Search Hits Occur up to the Specified Maximum

Disclosed is a method to print the pages on which a contextual search hit occurs up to the maximum number of pages specified. A contextual search program will search the content of a document to find matches as specified in the contextual search criteria. When a library is searched, often the result of the search is a list of document names that meet the search criteria. When a single document is searched, often the result of the search is a copy of the document with the hits highlighted. However, a user may just want to read the section of the document that contains topics of interest.

The method described in this disclosure enables a user to have the pages with hits printed so that the user does not have to search through the document to find the relevant material. The server processes the request to print the contextual search hit pages as follows:

FOR each page in the document DO

IF a contextual search hit occurs THEN

Add the current page to the page stack

END IF

END FOR
Set the number of pages printed to 1
WHILE the number of pages printed <= Maximum specified and there is an entry in the page number stack DO Take the page off the stack

Print the page

Add 1 to the number of pages printed

END WHILE

The advantage of this method is to provide the user with a simple option to search for parts of a document and have just those parts of the document printed. The maximum page parameter pr...