Browse Prior Art Database

Method and Apparatus for Document Segment Printing

IP.com Disclosure Number: IPCOM000106151D
Original Publication Date: 1993-Oct-01
Included in the Prior Art Database: 2005-Mar-20
Document File: 4 page(s) / 80K

Publishing Venue

IBM

Related People

Johnson, WJ: AUTHOR [+2]

Abstract

Users frequently need to print only a segment of a document, but, depending upon the type and format of the document, the user usually cannot specify that only a particular part of it be printed. If it is a script file, the user could conceivably be copied and manually edited, deleting all unwanted data, but deleting the appropriate associated control characters is may be impossible. It is not even possible to edit some files. A example could be an Employee PC Purchase document. The first 20 pages containing Terms & Conditions, etc., are hardly ever changed, but the prices in the last 10 pages are changed frequently. Every time the document is updated, each user ends up printing the entire 30 pages, and throwing away the first 20.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

Method and Apparatus for Document Segment Printing

      Users frequently need to print only a segment of a document,
but, depending upon the type and format of the document, the user
usually cannot specify that only a particular part of it be printed.
If it is a script file, the user could conceivably be copied and
manually edited, deleting all unwanted data, but deleting the
appropriate associated control characters is may be impossible.  It
is not even possible to edit some files.  A example could be an
Employee PC Purchase document.  The first 20 pages containing Terms &
Conditions, etc., are hardly ever changed, but the prices in the last
10 pages are changed frequently.  Every time the document is updated,
each user ends up printing the entire 30 pages, and throwing away the
first 20.

      This system copies the file to be printed into a temporary
file, makes the necessary changes according to the user's input;
makes the necessary changes to any control characters for proper
printing, and sends the document to the printer.  Examples of user
input include:

  Print first part only.
    The user may request the print of "the first 10 pages".
  Print last part only.
    The user may request the print of "the last 10 pages".
  Print only specified sections.
    The user may request the printing of sections "Hardware Prices"
    and "Publications Prices".

The user makes specifications on a menu which prompts with:

  Print the first ___ pages.
  Print the last ___pages.
  Print before (<) / after (>) section __________.

      A key component of this invention is the Control Character
Processor (CCP).  The following example shows how the CCP deletes the
unneeded data, while preserving the necessary control characters, if
the user requests printing of only the Hardware section.  This
example also illustrates why the problem of printing only a segment
of a document is not easily solved simply by removing everything
before and after the requested segment.

      ce Employee Prices             keep
      sk 1                           keep
      ul.                            delete
      li.Rule 1 . . .                delete
      li.Rule 2 . . .                delete
      eul.                           delete
      ol.   ...