The present invention pertains to printing systems, and particularly to apparatus and methods for distributing print jobs to one or more of a plurality of printers.
In the area of multi-processing, one of the ongoing challenges is to develop methods and workflows that lend themselves to efficient uses of parallel processing. Today, one of the most popular methods for describing documents, especially for printed delivery, is the well known PostScript® format, by Adobe Systems Incorporated. PostScript has many benefits and is almost universally employed in many print markets today. However, it has a limitation which creates a significant barrier to efficient parallel processing. In particular, within a PostScript file, the boundaries and content of individual pages are buried within the file, and can only be determined by processing the PostScript file in some manner to establish the page boundaries and content. One popular method to do this is to transform or convert a PostScript file into a portable document format (“PDF”) file, typically referred to as a “distilling” operation. This allows the page boundaries in a multi-page job to be established and thus allows multiple interpreters to operate on the pages individually, thus facilitating parallel processing. However, if the object is to process a job faster, one must take into account the time necessary to convert from a page dependent format as in the PostScript file to the desired page independent format as in a PDF file. This added conversion time will add to the overall time to complete the job.
The present invention disclosed and claimed herein, in one aspect thereof, comprises a method for processing print jobs. A print job is generated at an application node of a network, and has associated therewith print parameters. The print job is routed to a distribution node on the network. The parameters are then parsed from the generated print job and the print job parameterized with predetermined metrics that are a function of at least one of the parsed parameters. The parameterized print job is then routed to a destination device on a destination node on the network.
Features of the present invention can be more clearly understood from the following detailed description considered in conjunction with the following drawings, in which the same reference numerals denote the same elements throughout, and in which:
a and 1bb illustrate a block diagram for parallel conversion processing of large print jobs according to the present disclosure;
a and 2b illustrate a flowchart for the operation of the printing system of the present disclosure while performing parallel conversion processing of large print jobs;
a illustrates a block diagram of a prior art parsing algorithm for a parallel processing system;
b illustrates the conversion operation of the present disclosure;
a illustrates a diagrammatic view of a prior art page distribution;
b illustrates a diagrammatic view of the page distribution associated with the embodiment of
Referring now to
Returning now to the print spooler 108, there is shown the control file 110 portion of print spooler 108 which is coupled to a language processor 120 along a bidirectional data path 122. The language processor 120 provides for extracting specific information from the control file 110 which will be used in subsequent process control functions. The language processor 120 may take several forms depending on the application. The examples to be described herein are not intended to be limiting but merely illustrative. Other examples of structures for fulfilling the functions of the language processor 120 are possible, as will be apparent to persons skilled in the art. One example of a language processor 120 is a language monitor which is programmed to recognize specified document parameters as they are spooled into the system. Such functions may also be performed by a user mode driver or a user mode graphical user interface.
All of these examples are readily adaptable in a typical operating system environment such as Windows NT®, by Microsoft® Corporation. Another example, to be described below, provides an estimating engine, such as a page estimating engine 128, which forms an estimate of the total number of pages based on certain assumptions about the print job file. For example, that it is a homogeneous document, and based upon updates as the print job file is spooled into the system. As will also be described below, the information provided by the language processor 120 and the page estimating engine 128 is used to partition the print job file into select portions, and to preserve the document parameter information required to keep the print job file accessible by the processor(s) during subsequent parallel RIP operations.
The select portions mentioned above are processed in parallel to achieve greater throughput, improved workflow and greater efficiency through more logical functional organization of the processes. For example, each select portion of the print job may be treated or processed differently during RIP as required by the application. Moreover, by making assumptions or a priori guesses about the print job document parameters, other advantages besides those mentioned above may be realized. For example, the delivery of very large print jobs nationwide, such as daily and weekly periodicals, may be greatly facilitated by partitioning the print job file according to the zip codes of the addressees for the documents. All addressees may thus receive their copy of the print job file as early as possible and at approximately the same time. Other document parameters that may be used include the type of material—graphics, text, blank regions, color, monochrome, and the like. For the purposes of the illustrative example described herein, the total number of pages is a practical document parameter that is a relatively easy example to illustrate the principles of the present disclosure.
In the illustrative example shown in
In operation, the language processor 120 obtains document parameter information from the control file 110 to be used by the instruction operator 114 in defining control parameters for accomplishing the parallel conversion processing of a print job in an efficient manner. In the illustrative example shown in
The language processor 120 is also capable of extracting other kinds of information that may be programmed into the system for control of subsequent processing operations upon the print job file 104. The instruction operator 114 has the capability of reading the function operators associated with the print job file and modifying certain of the operators used to control the processing of the print job file. Together, the language processor 120 and the instruction operator 114 operate to avoid having to otherwise convert the entire document file from, e.g., a PDL format to a PDF format to obtain the page parameters and other information that would be required to organize the print job file for processing through conversion and subsequent stages in a parallel system. For example, if the print job file 104 was formatted in PostScript, then the instruction operator 114 can read the PostScript operators and modify those operators that are used in the processing or can substitute other operators or instructions to accomplish specific print system control features. The example given of estimating the total number of pages in the print job to partition the print job into portions for subsequent processing is just one example of the kinds of operations that may be performed in the system and method of the present disclosure shown in
Continuing with
The outputs of the RIP engines 150-154 may be in different locations, such that a merge operation is not called for. Distributor 118 has several other outputs including an output for a print job file having a second select portion 144 which is coupled along path 146 from distributor 118 to a second RIP engine 152. Similarly, a print job file having an nth select portion 148 is also coupled from distributor 118 along a path 151 to an nth RIP engine 154 representing the last partitioned print job file having a select portion of the print job to be separately processed in a parallel path. The outputs of the second RIP engine 152 and the nth RIP engine 154 are provided respectively along paths 158 and 160 to the merge block 162 for merging with other select portions of the print job which have been subject to conversion processing and printing by associated print engines, as shown in blocks 150, 152 and 154 corresponding to the respective RIP and/or print engines.
In operation, the select portions of the print job obtained by segmenting the print job file in block 114 are routed to separate, associated RIP engines by distributor 118, providing for, in this illustrative example, parallel conversion processing and printing prior to becoming merged together to complete the print job along path 164. The select portions, each of which represents less than all of the entire print job file 104, are separately processed by the RIP engines 150, 152 and 154 according to substituted RIP instructions generated by the instruction operator 114 based on document parameters 124 extracted by a language processor 120. Further, the remaining portion of each print job file sent to a conversion engine 150, 152 or 154 may be processed according to modified instruction operators appended to the print job file. Operation of these features will be described in detail below in conjunction with
Referring now to
Returning to the function block 204, the second output of the function block 204 labeled with a letter U proceeds to the operation of updating the job control file 110 in function block 208, showing that the job control file will be updated and ready for use when accessed by the language processor 120. Upon reading the job control file 110 in the function block 208, the flow proceeds to a function block 210, wherein the system defines the boundaries of portions of the print job file to be selected for conversion processing in separate, parallel RIP paths.
Returning now to decision block 206, if the language processor is determined to be not engaged, then the flow proceeds along the path labeled “N” to function block 214 which provides for entering the document parameters manually for use in function block 210. Block 210 operates to define the boundaries of the select portions of the print job file to be separately RIPed, which is shown by the path from function block 214 to intersect with the path that enters function block 210. The partitioning may be organized so that the page outflow order of the multiple print engines' output is preserved. This requires a one-to-one correspondence between print engines and RIP engines. Thus, the outputs may be made collatable to avoid interleaving in a random order out of sequence. The partitioning basis, which is obtained by processing the document parameters, may also be configured to vary with or depend upon the context of the print job in some applications, or even vary with processor speed while dividing the print job file into operable portions.
Continuing now with
Returning to decision block 212, if the system determines that the print job file is large and is to be processed in a multiple RIP, then the flow proceeds along the path labeled “M” to a function block 222, where the system accesses the document parameters and the RIP requirements needed for performing the parallel RIP. RIP requirements may vary with the application, depending on the particular document parameters. The RIP requirements may also be characterized as standard, full RIP or modified RIP. Modified RIP may further be delineated as accelerated RIP or no RIP. Accelerated RIP may include RIP during fast forward, low resolution or skip modes to speed up the RIP of certain portions of a print job file.
Following access of the document parameters and the RIP requirements from the job control file 110, the flow in
Returning to
When the configuration of the substitute RIP instruction is completed in block 226, the flow proceeds to a function block 228, where the system resets the operators associated with the print job file as input to the system in block 202. The operators which are reset are those that relate to the RIP that is required for the print job, which operators will be replaced by the substitute RIP instruction described previously. In the next step, represented by a function block 230, the substitute RIP instruction is appended to the select portion of the print job file, which will provide the instructions for the RIP by the selected processor or RIP engine.
Continuing with
Included in the substitute RIP instruction for each select portion is the possibility of performing the RIP in three different ways. It was noted above that each processor performing conversion processing receives the entire print job along with the designation of a select portion having defined boundaries upon which will be performed a standard, full conversion processing. The remaining portions of the print job file sent to each processor may receive different treatment according to whether the processor is to ignore RIP entirely for part of the remaining portion or is to modify the RIP for some part of the remaining portion of the print job file. Thus, in a decision step 238 in
If, however, the result of the determination in the decision block 238 is negative, i.e., the RIP is not to be ignored, then the flow proceeds to a decision block 244, wherein the system determines whether the present pages are to receive a modified RIP. If the result of this determination is affirmative, then the flow proceeds along the path labeled “Y” to a function block wherein the system 246 will render the select portion according to the modified RIP and return the operation to the decision block 244 to again make the determination on the next page to determine whether a modified RIP will be performed thereon. By way of definition the term “render” refers to the action performed by a RIP engine or a print engine in performing processing on the select portion or a remaining portion.
Returning now to the decision block 244, if the determination is made that a modified RIP is not to be performed, then the flow proceeds along the path labeled “N” to a function block 248, where the RIP engine renders the select portion according to the substitute instruction, that is, the RIP engine proceeds to perform a full standard conversion processing upon the select portion. All RIPed pages, once having been RIPed, may be stored for re-use and/or re-processing. Flow then proceeds from the function block 248 to a decision block 250, where a determination is made whether the pages of the select portion subject to the standard, full conversion processing are to be printed, or subjected to some other output process display.
If the RIPed pages are to be displayed, the flow proceeds along the path labeled “D” to function block 260 where the system proceeds to send the select portion of the print job file to a display in the system, and the flow then proceeds to a function block 262 for the actual display of the select portion pages. Following the display, the routine ends in a function block 264. Returning to decision block 250, if the select portion of the print job file is to be printed, then the flow proceeds along the path identified “P” to a function block 252, wherein the system proceeds to send the select portion of the print job file to the print engine that will print the particular select portion. The flow proceeds to a function block 254, wherein the print engine will be controlled to print the select portion, which is followed by the action in a function block 256, where the printed outputs of each of the print engines receiving select portions for printing are merged into the completed document. Following merging of the printed outputs, the routine ends at a function block 258.
Returning to decision block 250, if the result of the determination is to select “other” as the output, then the flow proceeds along the path identified “L” to a function block 253 to select a different output, different from a print operation or display operation. This alternate output in block 253 could be an output such as storing the information, sending it as mail, transmitting it over the Internet to another and remote location on the Internet, or in general routing it to some other location for some other operation. It should be understood that any type of operation could result at decision block 250. After the operation in function block 253 is complete, the program proceeds to the End block 258.
Referring now to
The PDLIN job is processed through a PDL converter 304 which is operable to provide on the output thereof a PDLOUT document. The PDLIN comprises N pages of information, as does the PDLOUT document. Therefore, the PDL converter 304 is operable to convert the entire PDLIN document to the PDLOUT document. In one example, the PDL converter 304 could comprise a PDF Distiller that is operable to receive a PostScript document and convert it to a PDF document. The advantage of a PDF document is that the PDF document is delineated in pages such that only a desired number of pages can be extracted therefrom, with each page not requiring information regarding another page or information in the file. This is to be compared with a PostScript language file, wherein the job must be completely processed in a sequential order to the last page at the end of the job, because there are instructions embedded throughout the PostScript file associated with the N pages that may be necessary to process the last page or any page therein. Therefore, conventional processing requires that the entire job be processed.
Once the PDLOUT document is derived from the PDLIN job, PDLOUT is then processed through a Parser 306 to derive multiple processing segments, S1, S2, S3, S4, which are all input to respective ones of the marking engines 302. The primary disadvantage to the prior art system is that the PDL converter 304 must process the entire N pages associated with the PDLIN document before the document can be parsed.
Referring now to
Referring to the foregoing
Typically, the subsequent processing is a conversion of the document file, but instead of converting the entire file, only a segment or select portion of it is actually converted—a select portion “less than all” of the N total pages—in each subsequent conversion processor. Thus, multiple document files, and the corresponding select portions thereof, are processed in parallel. In a plurality of parallel processors, the following distribution has the capability of a substantial reduction in conversion and processing time because (a) the entire “input” conversion 304 is eliminated, and (b) the PDL conversion in PDL converter 310 (regardless of the particular type of conversion being performed therein) of each of the individual select portion(s) of the document file PDLIN may be performed in parallel.
Referring now to
As described above, for a marking engine output, the conversion operation comprises a RIP operation to provide a RIPed document that can then be forwarded to the marking engine. Therefore, the PDL conversion operation is one of providing a bit mapped RIPed file or output. However, it should be understood that the conversion operation in the PDL converters 404 could convert PostScript to PDF, PostScript to HTML or PostScript to a display language. Also, any of the languages could be converted to any of the other languages. During the conversion operation, each PDL converter 404 receives the entire file, but converts only the portion necessary to provide a document in another PDL format having fewer than the total number of pages of the input job in the input PDL format.
Referring now to
In the conversion operation, indicated by a line 504, the entire document is processed to the PDLOUT document which is also comprised of P1, P2, P3, . . . , PN, pages. Each of these pages can then be divided into segments, as indicated by segments 506, S1, S2, S3, . . . , SM. It is noted that the PDLOUT document is one that facilitates segmentation into separate pages, i.e., it is possible to extract the pages therefrom. One example of this is a PDF formatted document. However, the conversion operation 504 requires that the entire PDLIN document be processed and converted into N pages. Therefore, if only the pages associated with segment 506 labeled S1, then a significant amount of processing is required in the conversion operation 504.
Referring now to
However, it processes only the information necessary to process its particular segment, S1, S2, . . . , SM. In the S1 conversion operation, there is illustrated a segment 514 which comprises the pages P1, P2, . . . , PS1-E, the page PS1-E indicating the last page in the document wherein the page P1 is the first page in the segment. All pages after PS1-E up to page PN are not processed.
In the S2 conversion operation, there is provided a segment 516 which is comprised of a beginning page PS2-I, the initial page, to PS2-E, the last page in the segment. This segment begins after the first page and prior to the last page PN. The SM conversion operation is associated with a segment 518, which is initiated at a segment PSM-I which extends through a last page, PN. Although illustrated as being segmented from an initial section of the document to the last section of the document, these segments could be distributed in any manner. Each of the conversion operations 512 is operable to provide an output to an output device, in this example, a marking engine 516, there being illustrated M marking engines, ME1, ME2 and MEM. However, as described above, this output could be to a file, to a display or even to a network.
Referring now to
When the job is initially generated, a user will provide instructions through a user input block 616. The user could provide a priori information as to the number of pages that are to be processed, and how they are to be processed. As described above, this could be an automatic operation wherein the PostScript file could be examined prior to processing to determine how it is to be processed. However, this information can be supplied by the user. This information is stored in an instruction register 618. A distribution engine 620 is provided, which is operable to parameterize each of the conversion engines 610 to define what segments they are to process. As described above, to process its associated segment, each conversion engines 610 requires access to the entire PDLIN job that is being processed.
Each conversion engine 610 has associated therewith a database 622 which allows for storage of the converted job, if necessary. Therefore, each conversion engine 610 could store the converted output thereof. The conversion engines 610 are labeled CONV 2, CONV 3, . . . , CONV M, each having the output thereof provided to an associated output device 624, labeled Output Device 2, Output Device 3, . . . , Output Device M, respectively. However, the conversion engine 610 labeled CONV 1 has its output temporarily stored in the database 622 such that the PDLIN job is converted to a PDLIN T, an intermediate PDL job. This PDL job is then input to second tier conversion engines 626, labeled CONV 1a and CONV 1b. Each of these conversion engines 626 is operable to operate only on a portion of the PDLIN job and provide the output thereof to an output device 628 labeled Output 1a and Output 1b. This tiered operation could be any combination of levels, it being understood that the processing operation in any of the conversion engines 610 or 626 operates on less than all of the N pages associated with a prior conversion engine receiving and operating upon the original PDLIN job. Of course, any other conversion engine could operate on all of the pages, it being understood that at least one of the conversion engines can operate on less than all of the pages to increase the throughput.
Referring now to
In the illustration in
Referring now to
The output of the summing block 804 or the output of the PDLIN block 802 without a conversion or merge operation, is then input to a segment conversion block 810 representing the PDL conversion described above of less than N pages contained in the original document. This conversion operation can occur in such a manner that new PDL information is merged therewith from a block 812. The block 812 is input to a summing block 814 illustrating the merge operation, and the output of the conversion operation from the segment converter 810 is also input thereto. Therefore, each of the pages can be processed by the conversion engine 810 to provide a converted PDL output less than N pages with merged information therein. This operation can occur in a first method wherein the conversion operation fully converts the N-1 pages and then the merge operation occurs. However, it could be that the merge operation occurs during the processing such that the conversion operation in the block 810 does both conversion and merging at the same time. This would facilitate faster processing and higher throughput.
Referring now to
The local databases 918 of each of the nodes 910-914 are operable to store the PDLIN job 904. In operation, the entire PDLIN job would be transferred from the database 904 to the local databases 918. In addition, instruction sets defining the instructions that are to be carried out or the segments that are to be processed by each of the nodes 910-914 are transferred from an instruction register 922 at the node 902 to a distribution engine 924 associated with each of the nodes 910-914. The distribution engines 924 are operable to determine how the job is processed at each node. Typically, this will be appended information to the PDLIN job that is transferred thereto, but it could be transmitted as a separate operation.
At each of the nodes 910, a conversion engine 926 is controlled by an associated distribution engine 924 to operate on the PDLIN jobs stored in the local database 918 to provide a PDLOUT converted document comprising less than all of the N pages in the original PDLIN job. Each of the nodes 910-914 has associated therewith a separate output device 928 for final processing thereof, this being a marking engine, a storage device or a display.
As can be seen in the operation of the embodiment of
Referring now to
A user node 1004 and a vendor node 1006 are provided on the network. At the user node 1004, a user PC 1008 has a network interface 1010 to facilitate interface with the network 1002. The user PC 1008 has associated therewith a display 1012 and a database 1014. In addition, the user node 1004 has an application 1016 associated therewith, which is typically a browser software application. This browser application allows the user to send instructions to another node on the network, to receive information, and interact with the network and remote nodes thereon.
At the vendor node 1006, there is provided a control PC 1020 which is operable to interface with a PDL job block 1022. The PDL job block 1022 can be controlled to access a select one or select ones of a plurality of PDL jobs stored in a database 1024. These typically are stored in one particular format, the PDLIN format. The control PC 1020 interfaces with the network 1002 through a network interface 1026. This control PC 1020 is operable to receive requests from the user PC 1008 for information and effect a communication therewith through a TCP/IP interconnection. Once the interconnection is facilitated, the user at the user location 1004 can then request information in the form of all or a portion of certain jobs for output on the display 1012 at the user's location or even on a printer 1018.
In the embodiment of
The conversion engine 1028 and the conversion engine 1030 are operable to operate on different portions of the job that is processed and retrieved from the database 1024 by the PDL job block 1022. In this embodiment, the user can request a certain segment of information which can be provided thereto by the conversion engine 1028 in a first PDL format PDLOUT1, whereas the conversion engine 1030 can provide the output in a second PDL format PDLOUT2. In one example, a user may request information regarding a document such as a book. This book is delivered in two ways. In the first way, the book is downloaded over the network 1002 in either an HTML output for storage and reading thereof, or in a printed output. The second mode is to have it delivered to the purchaser via a land based mail carrier, wherein the conversion engine 1032 will provide the printing operation through the marking engine 1034.
However, the user may wish to preview a sample of this document. In this operation, the vendor 1006 does not wish to process the entire job merely to allow the user to sample a few pages out of a very large document. If the book were 1000 pages in length and the vendor merely wanted to allow the user to review the first ten pages of the book, the table of contents or even the first page of a given chapter, this could be facilitated with the conversion engine 1028. This would allow the vendor 1006 to provide to the user a document (in the form of an HTML file) that is less than all pages in the main PDLIN document by converting the document in accordance with the present disclosure.
For example, the introductory page, table of contents and the first one or two pages of each chapter could be converted into a single HTML document and forwarded to the user PC 1002 for output on the display 1012, i.e., which is facilitated with the use of a browser application over the GCN 1002. Thereafter, the user could request downloading of the entire document, which could be facilitated with the conversion engine 1030. This could be provided in an HTML format or it could be provided in a printer language. If the user had utilized one printer language known at PCL5, a language associated with Hewlett Packard® printers, this document could be provided in that particular printer format for direct output on the printer 1026, or any other format that facilitates output on the printer 1018. A RIP output probably would not be acceptable for transferring to a user's PC for transfer to a marking engine, as few consumers posses that capability.
By utilizing the conversion engine 1028 of the above disclosed conversion operation wherein the entire input PDL job is converted to a particular page delineated format for an output document of only select pages of the N pages of the original document, throughput can be increased. This could be compared to a situation wherein the vendor would be required to convert all of his jobs initially into a format such as PDF for storage thereof and later retrieve only a segment, convert the entire job to PDF when requested and only output a certain number of pages, or utilize the above described disclosure for converting only a portion thereof on the fly. It would be undesirable for a publisher with a large number of documents to have all of these documents converted to a PDF format for access by a user. The reason for this is that some of these documents may be accessed very rarely. One advantage of electronic storage is that the inventory is substantially zero and the primary cost is throughput.
In the above disclosure utilized for parallel processing to provide segmented operation wherein segmented operation is associated with an output RIP, the present disclosed embodiment is compared to the prior art wherein there was a distilling operation or a parsing operation. In the present disclosure, the entire job is processed wherein only certain portions of the job are output such that the portions that are not output have the effect of increasing the processing speed for the particular segment. The performance of the two approaches will be compared, the first being the pre-parsing or prior art system and the second being the segmented RIPs, wherein the RIP is the output PDL language, it being understood that other PDL languages can be provided as the output language.
In the pre-parsing language such as converting the entire job or document from PostScript to PDF and then RIPing the job, a job is processed consisting of n pages with the total time, T, to parse from PostScript to PDF, RIP the job and then merge the separately RIPed pages together. The time T is defined by the following equation:
where:
M is the rate at which pages are merged after RIPing in sec/page;
P is the speed with which pages are distilled or parsed in sec/page;
N is the number of conversion engines; and
S is the rate at which the RIP can rasterize the pages in sec/page.
Referring now to
For the segmented RIPping, the following relationship will exist:
where:
Referring now to
If the operation of the two procedures, the pre-parsing and the segmenting RIP, are compared with two or four RIPs, it can be seen that for two RIPs the parsing speed to the distiller must be twice as fast as the high speed RIP mode to the segmented approach to equal the latter in overall performance. If there are four RIPs, then the parsing operation must be 30% faster than the high speed RIP mode to offer an overall performance benefit. As N becomes very large (many RIPs), the faster method is determined solely by a comparison of the speed of the “high speed RIP mode” compared to the distiller speed.
Referring now to
With further reference to
This is where the time saving exists, this referred to as the “quick RIPing” operation. This operation allows the conversion operation to skip the time required to convert this portion of the document into an output PDL format. This skipping can continue until a page start operation is encountered that is within the range of operation. At the end of the range, it will continue to skip pages. However, it is noted that the entire document will be processed to ensure that all instructions associated with rendering the page are extracted from the file. Once the last page in the range has been received, then the operation can skip to the end of the document without actually going through the remaining portion thereof.
Referring now to
The program then proceeds to a decision block 1412 to determine if this is the last page in the range of the particular segment being processed. If not, the program will continue back to the input of function block 1402 to again process any collateral instructions that may be interspersed between pages and then to the next page to determine if it is still in the range. When all of the pages in the range have been processed, the program will flow to an EXIT block 1414. This constitutes the decision that the segment is complete, whereas the decision block 1404 determines whether a particular page is within the range, i.e., whether it is part of the segment.
For example, it may be that page 4, page 5 and page 7 are processed in a segment such that it is important to skip pages 5 and 6. When this occurs, the program will flow from decision block 1404 along a “N” path to a function block 1416 to skip the graphics operators for those pages, i.e., this providing the savings in processing time. The program will then flow to a function block 1418 to determine if this is the end of the page, i.e., whether all graphics operators have been skipped. Once this is achieved, the program will flow to the input of decision block 1412 and continue processing.
Referring now to
Also as described above, the PDL conversion 1504 operates in conjunction with various process conversion parameters 1506 which are input by the user. These are basically the instructions that were described above with respect to
In the embodiment illustrated in
As an example, if a PDLIN document had associated therewith various color pages, various black and white pages and pages of different resolutions, it may be desirable to output them to separate marking engines or to separate displays. In the marking engine example, wherein the PDLOUT document is a rasterized image, all color pages would be output to a color marking engine, all black and white pages would be output to a black and white marking engine and possibly pages having contone images could be output to a third marking engine.
This is illustrated in
During the conversion process, provided by the PDL conversion block 1504, parameters associated with the input PDL document, PDLIN or the output PDL document, PDLOUT, allow discrimination to be achieved. It may be that operators in the PostScript job may be more easily used to determine whether a job is a color job or a black and white job, or it may be the output PDL language that facilitates this determination. In any event, once the conversion process parameters are provided by the user in the conversion process parameter block 1506, the PDL conversion block 1504 can make this discrimination based upon a page-by-page basis during the conversion process on the portion of the entire job that is being handled by the PDL conversion block 1504.
Referring now to
The PDL document 1502 is forwarded to the conversion process and then operated on to provide the various outputs. As illustrated in
During processing, the PDL conversion block 1504 will process all operators associated with the operation of rendering the page. However, it could be that a second tier of parallel processing were provided wherein, once the page information were determined to be desirable, this page information, i.e., the graphics operators, could be output to a separate processor, which would be associated with the subjob blocks 1510-1514, one processor for each of the Subjob blocks 1510-1514. Therefore, the PDL conversion block 1504 would merely process through the pages to determine which pages are to be operated on and the graphics operation associated therewith delegated out to the Subjob blocks 1510-1514.
Referring now to
For example, it could be that a conversion process requires all pages that had color information contained therein be output to a display, or base the selection upon the actual content in the page, i.e., examine the contents of the page in the input PDL format and only render the page if the content thereof was associated with the selection criteria. If it is determined that the current page is associated with the particular segment for a conversion process that is being operated, the program will flow on a “Y” path to a first subjob decision block 1708 that determines if the page is associated with the first subjob. If so, the program flows along a “Y” path to a function block 1710 to process the operators, similar to block 1406 in
If it is determined not to be Subjob A and not Subjob B, then it must be Subjob C and the program then flows to a function block 1716 to process the operators therein. The program will flow to a decision block 1718 to determine if all operators in a particular page have been processed. Until they have been processed, the program will loop back around to the input of decision block 1708. Once processed, the program will flow to a function block 1720 to render the page and then to a decision block 1722 to determine if it is the last page in the segment. If not, the program will loop back to the input of function block 1706. At the end of the last page in the segment, the program will flow to a block 1724 to exit the program. At the decision block 1706, when it is determined that the pages are not within the segment, the program will proceed as described above with respect to
Referring now to
Work station 1802 is illustrated as having a local printer 1806 associated therewith and connected to the network 1804 with a network cable 1808, which allows the work station 1802 to interface with the network 1804. This network interface cable 1808 facilitates an interface with the use of various network interface cards (“NIC”) at the work station 1802 and similar cards at the network 1804. The network 1804 interfaces with various print devices 1810 which are labeled P1, P2, . . . , PN. Each of these printers is interfaced to network 1804 with the network interfaces 1814.
The printer devices 1810 can be network printers that are directly connected to the network, or they can be printers that are connected to the network through a print server device such as a computer. For example, the local printer 1806 could be made a network printer and be part of the printer group 1810. However, for the purpose of description, printers in the group 1810 are considered to be available network printers for routing of information thereto, as will be described below. The distribution operation of print jobs that are directed to the network by the work station 1802 are handled by a print server/distributor node 1820 disposed on the network and interfaced thereto with a network interface connection 1822 which could be a wired connection or a wireless connection.
The print server/distributor node 1820 is operable to receive PDL print jobs from the work station 1802 for processing thereof. The manner by which these PDL jobs are transmitted to the print server/distributor node 1820 is facilitated by providing at the work station print manager a printer definition that is defined as a “Destination Queue,” which will be described below. The printer server/distributor node 1820 is operable to receive the PDL, process the PDL for distribution purposes and modify the manner by which this PDL job is printed. The PDL job is first converted to a format compatible with the operation of the printer server/distributor node 1820 prior to distribution to the appropriate print devices. Further, this can then be stored in a job database 1824.
Following processing, the PDL job, in its modified form, is then routed to one or more of the printers and/or output targets 1810, i.e., destination devices, in the available group. The printer server/distributor node 1820 has available to it a plurality of printer definitions which are defined as Destination Queues. These Destination Queues are processes that are “scripted” to define the manner in which the PDL print job is routed to the printers and handled by the printers. For example, if ten pages out of 100 in a particular PDL job were color pages, these pages could be routed to a color printer and the remaining pages, those being black and white pages, could be routed to a black and white printer. Further, each of the printers provides status information as to its availability, its toner levels, etc., these all utilized to determine the manner by which the print job will be handled. It is noted that all pages will be sent to the printer, even though only select ones are printed.
Referring now to
Each of the devices 1910 has an address on the network which allows access thereto by the job distributor 1904. The job distributor provides the PDL jobs to the destination devices 1910 via input lines 1912. Although not illustrated, there are also provided return paths from the destination devices 1910 back to the job distributor 1904. These are for the purpose of apprising the job distributor 1904 of the status information thereof In operation, the PDL is transferred to the particular Destination Queue 1906 associated with the job distributor 1904 and, with use of the script in this Destination Queue, the job distributor then processes the PDL and then routes it to the destination device 1910. When routed, as will be described below, the PDL job has associated therewith various printer control commands that define how the printer or the device 1910 is to handle the information. This is very similar to a conventional system wherein a PDL is created and transferred to a printer. As part of defining the print job in a particular PDL, such as “PostScript,” a series of commands associated therewith which are sent to the printer defining such things as the page resolution, the fonts that are required for the printer to operate, etc. when the job is routed. This is a conventional set of commands. However, this set of commands is modified to facilitate the job distribution and handling of the job by the destination devices 1910, these commands being defined by the Destination Queue associated with the PDL generation and input to the job distributor 1904.
Referring now to
There are situations wherein applications generate a file that is “wrapped” as a PDL, i.e., the file could be generated and then stored in a PostScript language. Once stored in a PostScript language, this file can be disposed in what is referred to as a “hot folder,” which is recognized by a Destination Queue as being associated therewith. Each of the Destination Queues may have multiple hot folder inputs associated therewith such that, whenever a file is disposed therein, the Destination Queue will extract the file from that associated folder and process it in accordance with the unique scripting that is associated with the Destination Queue.
In the present embodiment, the system of the present disclosure will accept the following inputs:
The application 2006 is interfaced with the various hot folder inputs to each of the Destination Queues 2002 via interface 2008. Similarly, the print manager 2004 is interfaced with each of the Destination Queues 2002 via an interface 2010. These interfaces are logical interfaces and are merely the ability to output the PDL file to the appropriate Destination Queue 2002. In the case of the print manager 2004, the Destination Queue 2002 is a defined printer in its list of printers and appears to the print manager 2004 as a printer.
For example, if the associated Destination Queue 2002 labeled Dest Q1 were defined as a defined printer within the print manager 2004, this Destination Queue 2002 would interface with the print manager 2004 and exhibit itself as a particular type of printer. This would provide to the print manager 2004 all of the attributes associated with the printer, such as the location of the input/output trays, the type of paper handled thereby, the functionality to allow the print manager to control the number of copies to the printer, etc. However, a system administrator would define exactly how the print job would be handled once received thereby.
For example, it might be that a user desired to send a print job to the top tray in an HP8000 printer, a conventional network printer manufactured by Hewlett Packard. It might be that the Destination Queue 2002 is actually interfaced with such a printer and with other printers. By recognizing that the print job directed to the top tray of a multi-functional HP8000 printer could also be facilitated by another printer on the network, a single tray printer that is much slower and has lower resolution, it might be that the Destination Queue 2002 would route some of this job to that printer for handling thereof.
Each of the Destination Queues 2002 is operable to interface with one or more of a group of destination devices 2016. There are illustrated four printers 2018 labeled, P1, P2, P3 and P4. The Destination Queue can also interface with a Personal Digital Assistant (PDA) 2020, with a folder 2022 for storage thereof or even a facsimile machine 2026. In the illustrated embodiment, Dest Q1 is interfaced with printers P1, P2 and P4, Dest Q2 is interfaced with printer P3, Dest Q3 is interfaced with printer P3 and P4 and also with PDA 2020. The Dest Q4 is also interfaced with the folder 2022 and with a facsimile machine 2026.
For example, Dest Q4 might be a printer definition that is directed to receive the PDL and transfer this PDL to a facsimile machine, a folder, an e-mail, etc. As another example, Dest Q3 could be scripted such that the job were sent to the available one of the printers P3 or P4 and, once the job was complete, send an image of the first page in the job to the PDA 2020. The PDA 2020 could be one that has a display or the PDA 2020 could be an e-mail receiving device such that an e-mail could be sent by Dest Q3 indicating the completion of the print or even the location of the print job. As will also be described below, there is a possibility of sending error messages to an e-mail address, a facsimile or to a system administrator.
Referring now to
However, there are certain aspects associated with the PDL language that cannot be obtained unless the job is actually rasterized, such as extracting a low resolution preview image, or when calculating CMYK coverage. This is facilitated with the RIP engine in the RIP block 2104. However, it is noted that most RIP operations operate at the defined resolution of the document. As the dots per inch (“DPI”) of the document increase, the amount of processing required to RIP the job increases. The purpose for processing the PDL job through a RIP engine is to obtain such information as the page count, the page size, the toner usage through the coverage of each page and even the coverage on the various color levels of a colored document, this being the CMYK coverage aspect thereof. Further, it is possible, that once RIPed, a preview of each of one or more select pages, even all pages, can be provided. Therefore, the RIP operation in block 2104 is merely for the purpose of extracting certain information from the PDL file. For operations that only require page size and page count, the file can be processed without rasterizing. As such, the scripting can be defined such that CPU time consuming raster operations are not required.
To facilitate the processing speed, the RIP operation is done at a very low resolution, much lower than that normally associated with a job. In the preferred embodiment, this RIP is done at approximately 144 DPI, even though the job may be at 1200 DPI. Once the information is extracted, the RIPed information is passed back to the system and preview pages may be stored in a spool associated with the Destination Queue.
During the RIP operation, three items of information are extracted, the page count, the page size and the toner coverage levels. To extract this information, each page is RIPed, one at a time, this being a conventional RIP operation. When the page is RIPed, the pixels are accrued until the end of page command, at which time a counter is incremented for the page count. The page size is then extracted and provided as an output. Additionally, all the pixels accrued for each color plane are then summed and provided as an output for that page. Therefore, each page has associated therewith, after the RIPing operation, a page size and a pixel count for each plane. Further, when the entire document is RIPed, then a total page count can be determined for the job.
The analytical results of both the RIP operation and the vector analysis operation are then input to a Destination Queue process block 2106 which also receives the PDL file in its raw format. The PDL file is received in its native form. In this form, the PDL file will have its information and command structure associated therewith. For example, if the PDL file is a PostScript file, then it will have various commands associated therewith. These commands would define how the job is to be rendered once it goes to the printer. Additionally, a PostScript file will have contained therein various “comments” which are text lines that are “commented” out.
The Destination Queue process block 2106, as will be described below, is operable to receive information and assemble attached information to the PDL file for the purpose of further processing in accordance with the script, which is stored in the database 2108. The Destination Queue process 2106 is operable to receive the RIPed information from the RIP 2104 and also the results of the vector analyzer 2102. In the vector analyzer 2102, the text lines of the PDL file, such as the PostScript file, are analyzed to extract information therefrom. For example, when the print job is initially created at the application level, certain parameters of the job are selected. For example, the user may determine the number of copies of to be printed, whether it is a duplex job, etc. The type of information that is parsed out of the PDL file prior to RIPing in the present disclosure consists of:
duplex
number of copies
job name
user name
date
application that created the print file
resolution
whether the page is to be rotated
Although the RIP 2104 and the vector analyzer 2102 are illustrated as being in parallel, in actuality, the system will extract the text information, i.e., review the commented out text, as the PDL file is input into the system. After this information is extracted, the file is then passed to the RIP 2104. At the RIP, the low resolution mode is selected and then the page count is incremented for each page, the page size determined for each page and the toner coverage determined for each page in the form of the CMYK coverage. This provides the coverage for each color plane in a color job, if it is a color job.
The PDL file, after processing through the RIP 2104 and the vector analyzer 2102, has been “evaluated” and can now be routed. However, prior to routing, a text file that is commented out is appended to the end of the PDL file, this being referred to as a DRI file. This is merely textual information. This textual information includes all of the parsed out information parsed out by the vector analyzer 2102 and all of the parsed out RIPed information parsed out by the RIP 2104. Although a particular script may not require all this information, all this information is collected such that the PDL file does not have to be processed another time. This modified PDL file, modified with a DRI file, is then stored in a PDL database 2110.
When the process block 2106 determines that the job is to be routed or processed, recognizing that a destination printer is available, based upon a predetermined scheduling operation, etc., then the process block 2106 will instruct a job router 2112 to fetch the stored PDL file with its appended DRI command structure and generate a desired command structure for routing to a desired destination device. As noted above, one example could be a situation wherein a particular PDL was originally required to be printed to a high speed multi-tray printer on a top tray, but due to its unavailability or its failure, the print job would be routed to a single tray low speed printer. To the print manager that originally generated the PDL, in the situation where a work station generated the job, the print job has been sent to the multifunction engine. The Destination Queue process block 2106, however, has the versatility and capability to reroute the job based upon availability, speed considerations, cost considerations, etc.
The manner by which the PDL file is routed is best illustrated utilizing the PostScript language. In this language, the application typically will generate the PDL file with a plurality of commands. These commands are PostScript commands and are utilized by the printer during the rendering process to perform such operations as select the correct fonts, select the correct tray, whether it is a duplex operation, etc. These are normally inserted commands that are a function of the print driver in the application program. However, it may be that the job is to be handled differently by the printer as determined by the script. To handle the job differently than the application program originally defined it, additional PostScript commands must be generated and sent to the printer ahead of the PDL file.
For example, if the application program directed the entire job of 100 pages to be printed on a single printer, but the Destination Queue determined that this must be printed on three different printers, then commands must be generated. A command would be generated, for example, to print pages 1-20 on printer 1, 21-60 on printer 2 and 61-100 on printer 3. To facilitate this, the entire PDL job is sent with commands preceding it such that the printer will skip the unselected pages. By contrast, if an application program desired to print only pages 1-10 on a printer, it would only send those 10 pages, i.e., the print driver in the application program would reduce the number of pages that were to be printed.
As such, in this example, the PDL file would be sent to all three printers. This, of course, will be defined in the script associated with this particular queue. Of course, the queue might not modify the file at all and merely route it to the appropriate printer. Further, if the Destination Queue defined a particular job as going to another tray in the printer, it would only require that certain commands were transmitted that would allow this to happen, i.e., it would instruct the printer to ignore the commands that were in the PDL file as initially generated by the application and generate new commands ahead of the PDL file.
Status information can be retrieved from all or select ones of the destination devices with a status block 2114. This provides status information as to the availability of the printers or destination devices in the network, the progress of a print job routed thereto and the completion thereof. There is an event handler associated with the process block 2106 that will record such events as completion of the job process. The process could be scripted, as described above, to route the commands to another destination device. This command could be as simple as a page, an e-mail, or even a facsimile output. For example, during the RIP operation in block 2104, a preview of the first page could be output and stored in the database 2110 as a spooled image file of a single page and this then routed to a facsimile machine or to a defined printer or output device. Further, the entire PDL with the appropriate command structure could be routed to the facsimile machine or output device instructing the facsimile machine to only process a single page for output.
Referring now to
Referring now to
The program will then flow from decision block 2308 or function block 2312 to read the trailer. This trailer or DRI file provides the parsed parameters that are required for the execution of the script associated with the Destination Queue be operated on. The Destination Queue will then define what the command string will be for the final assembled and transmitted print job. The program then flows to a function block 2314 to assemble the command string for the stored PDL file for the Destination Queue being operated upon and then flows to a function block 2316 to combine the PDL file and the command string. This combined command string/PDL job is then sent to the destination device, as indicated by a function block 2318 and then the program flows to a decision block 2320 to determine if an acknowledgment has been received, i.e., if the job has been processed as defined by the Destination Queue. This is facilitated with feedback of status signals. However, in some situations, no error signals will be returned, due to the lack of that capability on the destination device. Once acknowledged, the program will flow to an End block 2322.
Referring now to
Referring now to
The monitoring function of the device monitor node 2502 allows it to operate as a tool for monitoring output devices on the network 1804. The system is operable, in the disclosed embodiment, to manage up to 225 output devices on a heterogeneous network. This is an imposed limit that is associated with a class C subnet, although it would be difficult to find this number of devices on a single class C subnet. Multiple class C subnets could be utilized to extend this limit, although it may be more efficient to utilize more than a single job distributor system for large numbers of output devices. As an example of multiple class C subnets on a single system, consider a university environment wherein multiple buildings each have their own class C subnet. A number of printers could be provided on each subnet that could all be shared.
The job distributor has the ability to scan one or more class C subnets and to scan a range within a class C subnet. The ability to range the job distributor from scanning a class C subnet known not to have output devices. It may be that a network administrator only adds printers between xxx.xxx.xxx.50 and xxx.xxx.xxx.98, with all other addresses designated for other computer equipment. This defines the “printer” range. A user can determine the state of the printers at a glance through the user interface and monitor the use of the printers and the consumables of the printers, i.e., the toner levels, from a single application. Although illustrated as a direct connection between the user input device 2506, this user interface could be facilitated, and is the preferred method in the disclosed embodiment, through the network 1804 from an external work station (not shown).
The device monitor node 2502 can be configured to alert operations in certain situations, such as when a job occurs and does not print correctly, or even when the job is completed. Notification methods would include sound notification, error messages and e-mail. There are user definable triggers and notifications for various events. The status operation is facilitated between the device monitor node 2502 and the various connected printers (connected being defined as the presence of a destination printer within the group in the MIB database 2504) through the use of SNMP calls. In one embodiment, the MIB database 2504 contains the majority of the information that describes the destination device or printer such as input/output trays, emulations, paper sizes, input/output tray status, cover status, toner levels, etc. Another portion of the MIB database 2504 can be dedicated to host resources that provide the device monitor node 2502 with the current status of the print engine and also provides various aspects as to a printer discovery process, which will be described below.
Referring now to
The program will flow to a function block 2606 after selecting the network domain to query the various IP addresses to determine if they are printers that can be added to the domain. In order for the printer to be added to the domain, they must have associated therewith a Print MIB object (prtInputDescription). This MIB object is very specific to the printer and is checked because some Windows systems try to look like a printer, but do not fully support the MIB specification. Thus, the MIB object is used as a “gatekeeper” to handle any further SNMP requests. When a device on the network has associated therewith the Print MIB object, this will be a situation wherein that device has a defined client/server relationship. There will be a client program (called the network manager) that makes virtual connections to a server program (called the SNMP agent), which executes on a remote network device, and serves information to the manager regarding the device's status.
An SNMP MIB is provided that defines a standard set of statistical and control values for the destination device. The SNMP additionally allows the extension of the standard values with the values specific to a particular agent through the use of private MIBs, also known as “enterprise MIBs.” The query will be in the form of a ping which is sent out to the network device at the select address. The system waits for a “ping” response. A ping is defined by RFC-792, and utilizes very few bytes and most, if not all, devices on a network will answer a ping request. The system then attempts to make sure that a device is located at the “select” address before asking it any SNMP questions. If a device is found, i.e., it answers the “ping” request, then the system requests all of the prtInputDescription from the device. If an answer is received, then this is suspected to be a printer and more queries are generated.
If the system does not recognize a printer at this address, as defined by a decision block 2608, the program will proceed to a function block 2610 to increment the address and then send another query. If the ping is successful, then the program will flow to the function block 2612 to request information from the MIB objects, which is stored in its SNMP and then the information will be returned. This return of information will let the discovery application know what type of device it is and then, once the discovery process is finished, it will return a table to the calling routine with the following information:
IP address of the printer
MAC address of the printer
Printer description
Printer enterprise number
Number of marker colors
HRDeviceStatus
HRPrinterStatus
HRPrinterDetectedErrorState
Supported emulations
This information is provided for both a printer that is associated with a “Destination Queue” group and also printers that function only for the purpose of monitoring operations, i.e., they are not able to be controlled. This information will then be stored, as indicated by a block 2614 and then possibly displayed to the user such that the user can select which of the printers they wish to keep. The program then proceeds to a decision block 2616 to determine if this is the last address in the domain. If not, the program will flow to function block 2610 to increment the address and then to the query block 2606. At the last address, the program will end at a block 2618.
Referring now to
If it must be manually defined, the program will flow to a function block 2716 to query for the name and then to a function block 2718 to query for the MAC address, then to a function block 2720 to request the vendor and data port. By entering the MAC address of the printer, this constitutes the actual address of the printers NIC card, with the vendor being provided from an available list to the user and then the data port can be selected to define the various port numbers and the associated data format that is associated with that port number. These are standard port definitions.
If the information is found or if it is entered manually, the program will then flow to a function block 2722 to define the category for the printer. This printer will be defined in multiple categories. One category, for example, is color, one is associated with production printers and one is associated with managed printers. There can be other categories associated with the printers, these being categories that will be associated with the scripting operation for the Destination Queues. The program will then flow to a function block 2724 to store the information, this typically being a step wherein the summary of the printer to be added to the management group of destination printers can be provided to the user.
Referring now to
The destination queue is operable to run a predetermined script stored in a script file 2810, which is a programmatic algorithm that defines certain if-then operations that are parameterized on the parsed information from the PDL file. The destination queue need only examine the DRI file appended to the PDL file to achieve this parameterization. This will provide one or more conditional branches that can be taken when routing the PDL file.
For example, suppose that a print job were routed to a courier destination queue that defined this print job as one that had to be handled in a expeditious manner. The destination queue could then determine which printer was available on an immediate basis and which of the available printers was the closest to the mail room. The print job would then be sent to the printer and then a notification sent vie e-mail to the mail room clerk that a job was ready at a specific printer. The destination queue could even include a preview of the first page to the clerk. As such, the use of a programmatic algorithm parameterized upon information in the original PDL file will allow multiple routing decisions to be made. These decisions can be a function of user defined metrics, such as cost, time constraints, etc.
For example, there may be a trade off between toner cost and speed. One destination queue may be an economy queue and will always select the one of the printers having the lowest cost per page. With knowledge of the amount of toner that will be used, a decision can be made between various available printers. If turnaround is paramount, a priority queue may be provided that will select the fastest printer as the output device. The decision is all based upon the metrics defined in the script associated with the queue. Further, decisions can be made as to the availability of the printer for the job. If a printer has a low toner level for a particular job, this would render this printer as unavailable for a priority job.
In another aspect of the system, there is a monitoring mode whereby the system may actually monitor the status of the printers and then send an e-mail that one or more printers are down, or that the toner level is low. A technician can then be dispatched with the appropriate equipment. This may be advantageous in that a technician going to a certain location to replace a toner cartridge may want information as to other proximately disposed printers that may have low toner levels that are still sufficient for printing, but are close to empty. This may save a future trip.
Referring now to
The DQ object 2904 is operable to select one of multiple Conditional Branches CB1, CB2, . . . , CBN which are branches to associated ones of the destination devices 2812. These Conditional Branches are parameterized upon the parameters parsed from the PDL file and user defined metrics. These metrics, as described above, can be any type of tangible goal, such as determining the available one of the printers or an intangible goal such as cost factors, time, etc.
Although the preferred embodiment has been described in detail, it should be understood that various changes, substitutions and alterations can be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
This application is a continuation of U.S. application Ser. No. 11/358,770, filed 21 Feb. 2006, now U.S. Pat. No. 7,233,409, which is a continuation of U.S. application Ser. No. 09/861,021, filed 18 May 2001, now U.S. Pat. No. 7,099,027, which is a continuation-in-part of U.S. application Ser. No. 09/438,228, filed 12 Nov. 1999, now U.S. Pat. No. 6,825,943.
Number | Date | Country | |
---|---|---|---|
Parent | 11358770 | Feb 2006 | US |
Child | 11764348 | Jun 2007 | US |
Parent | 09861021 | May 2001 | US |
Child | 11358770 | Feb 2006 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 09438228 | Nov 1999 | US |
Child | 09861021 | May 2001 | US |