1. Technical Field
The present invention relates generally to document presentation and production systems and in particular to a system and method for distributing print processing tasks. More particularly, the present invention relates to a system and method employing page description and printer command mechanisms and techniques to sequentially distribute a print job originating from an application print file between a main printer and pre- or post-processing printing devices.
2. Description of the Related Art
A variety of systems and techniques for post-processing print jobs are commonly employed in most high speed, high volume printing systems. Such post-processing devices allow a variety of processing to be performed on the paper or other media upon which data is printed. An example of such printing system are completely automated systems that produce paper bills to be mailed to customers of utilities or other entities at a rate of from several hundred to over one thousand pages per minute. Such post-processing equipment may include machines that cut, fold, perforate, staple, edge stitch, post-print, unwind paper, insert sheets from the printer or other paper-supply sources into a stack of printer output, shrink wrap a collection of papers and stuff assembled packages of paper into envelopes for mailing.
Specialized system interfaces have been developed to facilitate command processing uniformity and efficiency in the transfer and processing of printing and pre- and post-printing tasks among the various system devices. Prominent among such interfaces is the Universal Printer Pre- and Post-Processing Interface (UP3i) which defines an electrical interface and command protocol conforming to the IEEE 1394 standard enabling seamless interfacing of pre- and post-processing devices with the primary printing system. The UP3i is defined in the UP3i™ Specification, produced by the UP3i Core Group, the entire content of which is incorporated herein by reference.
UP3i may be combined with a document presentation architecture such as IBM's Advanced Function Presentation (AFP) architecture to provide a seamless document pre- and post-processing system. A system that advantageously combines UP3i architecture features with the AFP architecture is described in related Published U.S. patent application Ser. No. 2003/0234954, assigned to the Assignee of the present application, and the entire content of which is incorporated herein by reference.
While current pre- and post-processing architectures solve many of the issues faced in non-printing post-processing tasks (i.e., paper handling task such as cutting, folding, stapling, etc.), several problems relating to sequential printing (i.e., printing tasks distributed among different printing devices) remain unaddressed. Compared with most post-processing tasks (commonly referred to as “finishing operations”), such as cutting or stapling, which require a relative few commands and processing parameter considerations to perform tasks not directly intertwined with the main print job, processing print commands is inherently more complex and process-intensive, involving potentially numerous and oftentimes nested processing considerations.
The relative complexity of integrating pre- and post-processing printing tasks presents significant obstacles to overall document production efficiency. Among such problems is that the complexity inherent in print command processing poses a heightened potential for errors, resulting in a cumbersome process of tracing and returning the error to the host printer or server for correction/recovery. Another problem relating particularly to post-process printing is that delays in the downstream print processing may require the main printer to pause, resulting in a compounded delay and consequent reduction in throughput. The need for high throughput in many high volume printing systems therefore weighs against requiring pre- and post-process printing devices to handle complex printing commands. Instead, for example, most conventional post-processing printing systems are characterized as sending substantially uniform commands (effectively YES/NO) utilized by the post-process printing device to determine whether or not to execute a single, fully pre-programmed printing task.
While maintaining desired throughput levels by alleviating the need to process typical print command parameters such as print object location, sizing, applicable ink, etc., this approach essentially divorces ancillary print command processing from application-generated print job requests and therefore substantially reduces the flexibility of pre- and post-process printing. This approach furthermore necessitates substantial application-specific hardware and software support for ancillary print equipment specialization and interface customization that is cumbersome and costly.
It can therefore be appreciated that a need exists for an improved system and method for distributing print commands to pre- and post-processing printing devices that enables the devices to flexibly process application-specific commands while minimizing the complexity of the ancillary print command architecture. The present invention addresses these and other needs unresolved by the prior art.
A system, method, program product and data structure for processing a print job distributed between the printer and at least one ancillary printer device are disclosed herein. In accordance with the method of the present invention an ancillary device presentation container is received by a print server interface. The presentation container includes an object area field containing object area data and a print data field containing print data. The print server interface converts the ancillary device presentation container into one or more printer commands to be delivered to and processed by a main printer. As part of converting the ancillary device presentation container, the presentation container is identified as having a presentation space mapping specified as an ancillary device interface mapping. In response to identifying the presentation container as having a specified ancillary device interface mapping, printer commands are generated directing the printer to render the object area data and to defer rendering the print data to an ancillary printer device.
The above as well as additional objects, features, and advantages of the present invention will become apparent in the following detailed written description.
The novel features believed characteristic of the invention are set forth in the appended claims. The invention itself however, as well as a preferred mode of use, further objects and advantages thereof, will best be understood by reference to the following detailed description of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein:
The present invention is directed to a method, system, computer program product and data structure that enable functional connection of printing equipment including mutually coupled workstations, print servers, and printers, with pre- and post-processing printing devices, referred to herein generically as ancillary printing devices. While the invention will be described in the general context of one or more specifically designated electronic devices, program modules and data structures within a specified distributed printing environment, those skilled in the art will recognize that the invention may also be implemented in a variety of possible hardware and software configurations. Moreover, those skilled in the art will appreciate that the invention may be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. Examples of such distributed computing environments include local area networks of an office, enterprise-wide computer networks, and the Internet.
Those skilled in the art will recognize that the invention may be implemented in a variety of ways using a variety of combinations of program modules. Program modules generally include routines, programs, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Moreover, those skilled in the art will appreciate that the invention may be practiced with other computer system configurations, including multiprocessor systems, microprocessor-based systems, minicomputers, mainframe computers, and the like.
The terms “document,” “page,” “overlay,” and “sheet” are utilized in the present description and are intended to convey the same meaning as such terms are widely understood in the art. Namely, a “document” is generally a data collection created by an application program, such as a word processing application, that is logically subdivided into pages. A “page” comprises objects, such as text, images, graphical objects, and display elements, that are to be displayed on one side of a sheet, subject to various formatting specifications, such as size, margins, font, color, depth, etc. When printed, document pages are presented on “sheets”, which are presentation units within the document generally having at least two sides (e.g., a front side and a back side). Each side of a sheet may contain one or more pages. A page may also include one or more overlays. An overlay is a pre-defined page or part of a page that a print server sends to a local printer memory and is typically used to present fixed data on a document that does not move with respect to the sheets.
With reference now to the figures, wherein like reference numerals refer to like and corresponding parts throughout, and in particular with reference to
The application print objects forming the print document description are received by a conversion program 104 that generates a page description language (PDL) data stream 112 which is a formatted, platform, device and resolution independent, logical description of the print document. In the process of forming data stream 112 conversion program 104 stores certain information, such as fonts and formatting information, in a common resource database 115. Conversion program 104 then generates a logical description of the document with references to information stored in resource database 115. In particular, such a logical description of a data stream utilized for printing in the depicted AFP system 100 is the Mixed Object Document Content Architecture (MO:DCA) file format, which is discussed in more detail below.
The print data in MO:DCA format containing references to the resources maintained in database 115 is stored in a spool 117 or may be carried in a resource group that is part of the actual print file. Spool 117 both stores and spools the MO:DCA data stream 112 representing the print document from the conversion program 104. The spooled output data stream 113 is transmitted to a print server 108 that converts the device-independent print specifications to a device specific data stream 114 by means of a printer driver 110 in concert with the resource database 115. Resource database 115 is utilized to convert the MO:DCA data stream 113 to a print data stream 114 including details of a physical medium using a process called “outboard formatting.” The resulting data stream 114, called an Intelligent Printer Data Stream™ (IPDS™, trademark of IBM Corporation, Armonk, N.Y.), is sent to a printer 116.
Printer 116 includes a control unit 120 with which print server 108 is communicatively coupled and an internal memory 118. The communication between the print server 108 and printer 116 is bidirectional. For example, print server 108 may inquire of printer 116 whether a particular resource, such as a font, is resident in printer memory 118. If the resource is not present, print server 108 can retrieve the font from resource database 115 and download it via data stream 114 into printer memory 118 where it will be available for future use. Subsequently, when print data that refers to the downloaded resource is received by printer 116, the printer will combine the resource with the data and provide the combination to a conventional Rasterizing Image Processor (called a “RIP”, not shown in
An exemplary generalized representation of a page description data stream for a two page print document in the MO:DCA format is shown below. The document consists of structured fields that can contain data or control information. The structured fields are specified in accordance with the MO:DCA protocol as follows:
The document includes a Begin Document structured field (BDT) for marking the beginning of the print document, and an End Document structured field (EDT) for marking the end of the document. Similarly, the two pages each have a Begin Page structured field (BPG) for marking the beginning of each page, and an End Page structured field (EPG) for marking the end of each page.
Each page has a resource area defined between a Begin Active Environment Group structured field (BAG) and an End Active Environment Group structured field (EAG). This area contains references to fonts, bitmaps, etc. which are used to print the page print data that follows the active environment area.
As noted above, print server 108 sends data to printer 116 via IPDS data stream 114. In this stream, non-native data, such as Encapsulated Postscript (EPS) and Portable Document Format (PDF) data, is carried in containers. Each container has a control field and a data field used to convey both formatting control data and printable data. As explained below with reference to
Referring now to
The presentation data stream is sent to print server 206 which processes page and data objects within the PDL data stream utilizing print device specific conversion techniques such as using form definitions that may be included in the presentation stream itself or may be retrieved from a resource library (not depicted). As further depicted in
With reference to
As per MO:DCA convention, document description object 302 contains data including control information such as position, orientation, and font selection intermixed with the data to be printed which may include text, graphics, images, bar codes, etc. The data within document description object 302 includes a page object Page_A 304. Consistent with page object convention, Page_A 304 is delimited by a Begin Page structure field (not depicted) and an End Page structured field (not depicted) between which are defined a group of one or more data objects Obj_1 through Obj_n containing bundled object data and defining presentation data in respective presentation spaces within the page.
AFP conversion interface 315 includes electronic and program processing means for receiving data conforming to the MO:DCA data structures contained within Page_A 304 and converting the data structures into printer commands 316 for driving main printer 330. In accordance with AFP processing convention, AFP conversion interface 315 converts the MO:DCA format data structures into device-dependent IPDS print commands delivered to main printer 330 via an IPDS data stream 325. The object printer 330 receives IPDS stream 325 and employs document formatting and rasterizer processing techniques to determine where data is positioned in page presentation spaces and to render the data thereon.
The majority of print data contained within a PDL stream, such as document description object 302, is processed in like manner wherein MO:DCA structured objects are converted to IPDS commands 316 received within IPDS data stream 325 and rendered by a main printer 330. In accordance with the present invention, the system illustrated in
As an exemplary embodiment of the present invention, document description object 302 further includes a Page_B 306 object similarly containing a number of presentation data objects including, for example, an image object 308, a graphics object 310 and a text object 312 that are formatted and processed in accordance with conventional AFP principles. In addition, Page_B 306 includes an ancillary device presentation container object 305 structured and formatted such that the print data object(s) contained therein are ultimately rendered on a physical print medium such as a sheet of paper by a pre- or post-processing printing device, such as one of devices 128 or 130 shown in
Referring to
As further illustrated in
Object area field 307 contains presentation data defining a typically rectangular area within the page presentation space, called the object area, into which the corresponding data object specified by the print data is mapped. Consistent with MO:DCA convention, an object area descriptor OBD specifies the size of the object area and an object area position descriptor OBP specifies the offset of the object area origin with respect to the page origin and further specifies the rotation of the object area about its origin. In accordance with the present invention, object area field 307 further includes a Map Container Data (MCD) structured field that defines how the container object space (defined by the object) is mapped into the object area specified by the OBD and OBP fields. In a departure from PDL convention, the MCD field within object area field 307 specifies that the mapping of the data object within the page-defined presentation space (i.e. mapping of the print data to the MO:DCA object area specified by the OBD and OBP fields) is deferred to the mapping format employed by the ancillary equipment interface specification (e.g. UP3i). Specifically, the MCD structured field within object area field 307 specifies that the definition of the presentation space mapping of the print data to the object area is specified by the UP3i print data format ID included within print data field 309. Referring back to the foregoing examples, Print Data format 1 might define the mapping such that the bar code is centered in the object area while an alternate Print Data format 2 might define the mapping such that the text string is positioned such that the characters start at the object area origin and progress in the x-direction of the object area.
In addition to processing means for converting standard MO:DCA objects 308, 310, and 312 into main printer commands 316, the conversion interface 315 of the present invention further includes electronic and program processing modules for receiving and processing presentation container 305 as follows. AFP conversion interface 315 converts presentation container 305 into an IPDS format Write Object Container (WOC) 318 that divides the MO:DCA presentation container data into control (header) information and data. In the exemplary embodiment, WOC 318 includes an object data field 322 that defines the object presentation space and a Write Object Container Control (WOCC) field 320 that defines the object area. Object data field 322 contains the print data 326 including the specified UP3i print data format ID (PDFID) 324 from print data field 309. While the UP3i object presentation format is specified in PDFID 324, WOCC field 320 contains the object area location offset (typically from the page or overlay origin) specified by the MO:DCA OBP field within object area 307. Furthermore, WOCC 320 contains the object area dimensions from the MO:DCA OBD field as well as an orientation specifier that defines the angular rotation of the object area (e.g. 0, 90, 180, 270 degrees) about its origin point. Optionally, WOCC 320 may include a color specification triplet or presentation space reset mixing triplet which specifies the object area coloring or shading.
AFP conversion interface 315 further includes electronic and program modules for interpreting the page description stream to determine the so-called mixing of page description data. Conventional MO:DCA mixing rules, such as those applied to Page_A 304, require that an object is mixed with the remainder of the page data based on the sequential order in which an object is specified in the received page description, and also based on the definition of foreground and background specified for the object. Since the print data 309 is ultimately processed by an ancillary printing device after or possibly before Page_B 306 is rendered by printer 330, the formerly mentioned sequential order mixing requirement presents an obstacle to adherence to standard MO:DCA mixing rules for mixing object presentation data within presentation container 305 with the remainder of the page data. The present invention addresses this with an extension to the mixing rules implemented by conversion interface 315 in conjunction with main printer 330 as follows.
AFP conversion interface 315 converts the MO:DCA specified object area into the device dependent printer command format field WOCC 320 that is processed and mixed by printer 330 according to standard MO:DCA mixing rules. That is, the object area description is processed in accordance with its sequential order within the page description of Page_B 306 and in accordance with specified foreground and background definitions. For example, an empty object area is transparent. If a Presentation Space Reset (X‘70’) Mixing triplet is specified in the OBD, the area under the object area can be reset to color of medium. If a Color Specification (X‘4E’) triplet is specified on the OBD, the object area is colored accordingly. While the object area characteristics are mixed by printer 330, the print data included within print data field 309 and subsequently contained within object data field 322 is rendered in its own presentation space by the target ancillary printing device in accordance with PDFID 324.
The subsequent mixing of the UP3i print data 322 (not the object area) is preferably defined in the MO:DCA architecture in a registry entry for the UP3i Print Data object-type. The preferred mixing is the mixing defined by the selected specific Print Data Format. In particular, for the UP3i Print Data, the MO:DCA mixing is characterized by the definition of the foreground/background as follows.
Foreground=this object does not mix in accordance with the default MO:DCA mixing rules. For a description of the appearance of this object type when rendered, see the Print Data Format ID Triplet as defined in the UP3i specification.
Background=this object does not mix in accordance with the default MO:DCA mixing rules. For a description of the appearance of this object type when rendered, see the Print Data Format ID Triplet as defined in the UP3i specification.
In the Print Data Format ID Triplet, the foreground and background of each ancillary presentation container object is defined and utilized in mixing.
From AFP conversion interface 315, WOC, 318 is delivered via IPDS print command stream 325 to main printer 330, serving as a UP3i interface host. Main printer 330 prints and mixes the object area specified by WOCC 320 with other page data within Page_B 306 in accordance with the aforementioned standard MO:DCA mixing rules. Printer 330 renders the object area data on a sheet in accordance with the object area location specifier OBP (i.e. where object area is located as offset from the page). Furthermore, and assuming UP3i convention whereby the ancillary printing medium origin is specified with respect to a sheet, printer 330 translates the offset specified relative to the page (or overlay) origin to an offset relative to the UP3i medium origin, which is typically the left corner of the leading edge of the sheet. The original object-area-specified offset is processed by printer 330 in rendering the object area and the converted offset is included in a print location field such as Print Location triplet 336 within print data frame 335. In support of such offset conversion, AFP conversion interface 315 may be required to convert offset dimensions if such dimensions differ between the printer (typically AFP L-units) and the target ancillary printing device (typically millipoints=1/72,000 inch).
In addition to mixing the object area specified by WOCC 320, main printer 116 processes WOC 318 to generate a UP3i Print Data frame 335 in accordance with the present invention. Print Data frame 335 is generated and delivered by printer 330 (serving as the host UP3i interface device) directly to the target ancillary UP3i printing device in accordance with the UP3i protocol. Specifically, and in accordance with the depicted embodiment, Print Data Frame 335 includes several triplet data structures including a paper sequence ID triplet 332, a UP3i_PAGE_ID triplet 334, a Print Location triplet 336, and a Print Data triplet 340. As explained below Print Data triplet 340 contains the original print data 309 from presentation container 305 in the form of a UP3i Print Data Format ID 324 and print data 326.
Consistent with UP3i convention, Paper Sequence ID triplet 332 includes the IDs of the sending device (printer 330) and the destination device (target ancillary printing device). UP3i_PAGE_ID triplet 334 includes the UP3i_PAGE_ID which is an ID used to track the page and all operations that are attached to the page as it passes through the main printer and all ancillary processing devices. Print Data triplet 340 is a modification of conventional UP3i Print Data frame content and holds the UP3i Print Data Format ID 324 as well as print data 326 as obtained from WOC object 318. Print Location triplet 336 is a further modification of conventional UP3i Print Data frame content and a feature of the present invention that contains the location, in terms of the converted offset from the specified sheet origin, of the print data object 326. The location offset specified by Print Location triplet 336 is expressed in units consistent with those used by the targeted device, such as in millipoints (1/72,000 inch) from the UP3i medium origin. For further extendability, and in accordance with an alternate embodiment, an object area size specifying height and width, and an object area orientation specifying rotation of the object area about the location specified in the triplet, are also included in Print Location triplet 336. It should be noted that while only one Print Data triplet 340 and one Print Location triplet 336 are included in the depicted embodiment, multiple such triplets may be included with a Print Data frame without deviating from the spirit or scope of the present invention.
Referring to
Specifically, the object area data originally carried in the presentation container is copied to a control field or a functional equivalent within an IPDS write object container. As depicted at step 510, the main printer renders the object area in accordance with the object area data as per PDL (e.g. MO:DCA) mixing rules as explained with reference to
Following object offset translation, and as depicted at step 514, the main printer generates a UP3i print data frame containing the UP3i print data and PDFID as originally specified in the presentation container and also the translated offset. The process concludes as illustrated at steps 516 and 518 with the target ancillary device rendering the print object data contained in the print data frame in accordance with the offset, PDFID and other data included in the data from.
As described in the context of the foregoing embodiments, the present invention provides a system and method wherein ancillary device specific data is encoded in the original page description document, enabling a main printer to generate the targeted Print Data frame independent of information relating to the print task parameters specific to each of the ancillary printing devices. In the foregoing manner, a format-specific UP3i print command can be delivered directly from its MO:DCA encapsulated form to be executed by the target ancillary device with substantial transparency through the AFP portion of the system.
The foregoing disclosed system and method may be readily implemented in software using object or object-oriented software development environments that provide portable source code that can be used on a variety of computer or workstation hardware platforms. Alternatively, the disclosed computer controlled print presentation system may be implemented partially or fully in hardware using standard logic circuits or VLSI design. Whether software or hardware is used to implement the systems in accordance with this invention is dependent on the speed and/or efficiency requirements of the system, the particular function, and the particular software or hardware systems or microprocessor or microcomputer systems being utilized. The computer controlled presentation systems and methods described above, however, can be readily implemented in hardware and/or software using any known or later-developed systems or structures, devices and/or software by those skilled in the applicable art without undue experimentation from the functional description provided herein together with a general knowledge of the computer arts.
While the invention has been particularly shown and described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention.
The present application is related to and claims priority from Provisional Application No. 60/500,601 filed on Sep. 5, 2003, the content of which is incorporated herein. The present application is also related to co-pending U.S. patent application Ser. No. 2003/0234954 A1, titled “BIDIRECTIONAL PRE- AND POST-PROCESSOR CONDUIT THROUGH A BIDIRECTIONAL PRINTING DATA STREAM,” filed on Jun. 19, 2002, and incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
60500601 | Sep 2003 | US |