ZipPrint processing
A tutorial on ZipPrint is available in the
Host On-Demand Information Center,
which is located at
http://publib.boulder.ibm.com/infocenter/hodhelp/v10r0/index.jsp.
Identifying the document
The parameters in the Identification group
of the Customize Application Profile window
enable ZipPrint to determine whether
an application profile should be used to print a particular document.
The parameters in Identification group are:
-
Key Word
-
Top String
-
Bottom String
Each of these parameters includes:
-
A string (sequence of characters).
-
A row and column location at which the string should occur.
Before using an application profile to print a document,
ZipPrint compares
the values specified in the Key Word, Top String, and Bottom String parameters
to the values in the document.
-
If the values match, ZipPrint uses the application profile to print the document.
-
If the values do not match,
ZipPrint concludes
that the document does not match the application profile.
Consequently, ZipPrint either:
-
Displays an error message and terminates (if you clicked File > ZipPrint > Print From Application - Select Profile);
or
-
Tries another application profile (if you clicked File > ZipPrint > Print From Application - Auto).
ZipPrint checks for these parameters as described below.
Suppose that you have opened a 10-page document and are viewing page 6,
and that you initiate a ZipPrint:
-
ZipPrint checks page 6 for the Key Word.
-
If the Key Word is not found on page 6
then ZipPrint concludes
that the document
does not match the application profile.
-
ZipPrint then pages backwards through the document until it finds a page
that contains the Top String in the proper row and column location.
-
As ZipPrint pages backwards,
as soon as it finds the Top String
in the proper location on a page of the document,
ZipPrint concludes that the page is the first page of the document
and stops looking (even if the page is not actually the first page of the document).
-
For example, if ZipPrint:
-
Pages back to page 5 but does not find the Top String.
-
Pages back to page 4 but does not find the Top String.
-
Pages back to page 3 and finds the Top String.
then ZipPrint concludes that page 3 is the first page of the document,
even if page 1 also contains the Top String.
-
Beginning with the page of the document on which ZipPrint found the Top String,
and continuing with each page,
ZipPrint:
-
Processes the page
by reading the data from the screen and sending it to the print destination.
-
Pages forward to the next page.
-
As ZipPrint pages forward through the document,
it checks each page for the Bottom String.
-
If ZipPrint finds the Bottom String in the proper row and column location,
then ZipPrint concludes that the page is the last page of the document.
For this page:
-
ZipPrint processes the text on this page
only down to the row that contains the Bottom String.
-
ZipPrint concludes that it has finished processing
the document and stops.
Related topics