Abstract:
A method is disclosed. The method includes simulating a preprinted form using a presentation overlay. The presentation device is directed to present the overlay as if it had been preprinted on the paper. Document data is then mixed with the simulated preprinted form such that the result accurately simulates a real preprinted form.

Description:
FIELD OF THE INVENTION 
     The present invention relates to the field of printing, and in particular, to merging print job data with an overlay form. 
     BACKGROUND 
     Printers are common peripheral devices attached to computers. A printer allows a computer user to make a hard copy of documents that are created in a variety of applications and programs on a computer. To function properly, a channel of communication is established (e.g., via a network connection) between the printer and the computer to enable the printer to receive commands and information from the host computer. Once a connection is established between a computer and the printer, printing software is implemented at a print server to manage a print job through the complete printing process. 
     Often, print jobs are produced by combining document data with forms data (e.g. text, graphics and images) that exist on a preprinted medium (e.g., paper). However, preprinted forms are costly and cumbersome. Particularly, printer users struggle with the cost and logistics of specifying, purchasing, storing, moving and controlling large volumes of preprinted forms. The customer environment would become more efficient and lower cost if preprinted forms could be eliminated by substituting blank stock. The conventional method of representing form data as an overlay requires that the form overlay is rendered using the normal print job processing and mixing rules. This may result in a color of the simulated preprinted form being “knocked out” and replaced with a color from the document data, which cannot occur with a real preprinted form. 
     As a result, a preprinted form overlay is desired, which can be managed and applied without alteration to the document datastream, and which completely simulates the preprinted form. 
     SUMMARY 
     In one embodiment, a method is disclosed. The method includes simulating a preprinted form using a presentation overlay. 
     In a further embodiment, a method includes receiving a presentation overlay simulating a preprinted form, receiving print data, combining the overlay with the print data and printing the combined overlay and print data to a medium. 
    
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
       Embodiments of the present invention may be understood more fully from the detailed description given below and from the accompanying drawings of various embodiments of the invention. The drawings, however, should not be taken to be limiting, but are for explanation and understanding only. 
         FIG. 1  is a block diagram illustrating one embodiment of a print system; 
         FIG. 2  illustrates one embodiment of a table describing keywords used to invoke a medium overlay as a preprinted form overlay; 
         FIG. 3  is a flow diagram for one embodiment of generating a print job with a preprinted form; and 
         FIG. 4  illustrates one embodiment of a table describing the use of a PMC to invoke a PMC overlay as a preprinted form overlay. 
     
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
     A preprinted form overlay is described. In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced without some of these specific details. In other instances, well-known structures and devices are shown in block diagram form to avoid obscuring the underlying principles of the present invention. 
     Reference in the specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the invention. The appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment. 
       FIG. 1  illustrates one embodiment of a printing system  100 . Printing system  100  includes a print application  110 , a server  120  and a printer  130  that are implemented to produce documents generated from print jobs. Print application  110  makes a request for the printing of a document. In one embodiment, print application  110  implements the Advanced Function Presentation (AFP™) architecture. According to the AFP architecture, documents may include combinations of text, image, graphics, and/or bar code objects in device and resolution independent formats. Documents may also include and/or reference fonts, overlays, and other resource objects, which are required at presentation time to present the data properly. 
     In an AFP embodiment print application  110  provides a Mixed Object Document Content Architecture (MO:DCA) data stream to print server  120 . According to one embodiment, the AFP MO:DCA data streams are object-oriented streams including, among other things, data objects, page objects, and resource objects. Print server  120  processes pages of output that mix all of the elements normally found in presentation documents, e.g., text in typographic fonts, electronic forms, graphics, image, lines, boxes, and bar codes. The AFP MO:DCA data stream includes architected, structured fields that describe each of these elements. 
     In one embodiment, print server  120  communicates with control unit  140  via an Intelligent Printer Data Stream (IPDS). The IPDS data stream is similar to the AFP data steam, but is built specific to the destination printer in order to integrate with each printer&#39;s specific capabilities and command set, and to facilitate the interactive dialog between the print server  120  and the printer. The IPDS data stream may be built dynamically at presentation time, e.g., on-the-fly in real time. Thus, the IPDS data stream is provided according to a device-dependent, bi-directional, command/data stream. 
     Printer  130  includes a control unit  140  and a print head  160 . Control unit  140  processes and renders objects received from print server and provides sheet maps for printing to print head  160 . Control unit  140  includes a rasterizer to prepare pages for printing. Particularly, rasterizer includes a raster image processor (RIP) that converts text and images into a matrix of pixels (bitmap) that will be printed on a page. 
     In many instances, print job data processed by printing system  100  is applied to a medium having preprinted forms in order to produce the desired documents. For example, printing system  100  may be implemented to produce statements (e.g., financial, credit card and telephone statements) that include structured data (e.g., corporate graphics, logos, watermarks, etc.). As discussed above, the use of preprinted forms is expensive and inefficient. 
     According to one embodiment, a preprinted form is simulated using a presentation overlay to simulate a form. Subsequently, transparency and color mixing rules are specified for imaging of ensuing merged data (e.g., medium overlay, page, page overlay or object presentation spaces implemented in AFP). 
     In one embodiment, a new Preprinted Form Overlay (PFO) is implemented for AFP form simulation. In such an embodiment, PFO is treated like any other AFP Medium Overlay, except that the PFO defines (color) values and behavior that simulates the color of a print medium for any given point, line or region (as if the original media had been preprinted). 
     In a further embodiment, previously defined MO:DCA presentation space mixing rules and any future semantics defined for treating opacity, transparency or blending are also applied to the PFO with two exceptions: when document data is specified as “color of medium” and the mixing rule is Overpaint (opaque or “knockout” mixing), the resulting color is derived from the PFO color at that region rather than applying the traditional concept of “knockout”; and when the device produces “white” (CMYK=X‘00000000’ for a printer, RGB=X‘FFFFFF’ for an RGB display) the same rule as above is applied. 
     Wherever the document data has color other than color of medium or white, normal AFP mixing rules determine the resultant color. In particular, document data that has color other than color of medium or white will overpaint (knockout) the color of the PFO. In a further embodiment a choice may be made between such knockout of the PFO data and other mixing options. 
     To implement the PFO in AFP in an environment without n-up, a Medium Modification Control (MMC) is invoked. An MMC structured field specifies the medium modifications to be applied for a copy subgroup specified in the Medium Copy Count structured field. Typically, Keyword X‘F2nn’ specifies a local ID of a Medium Overlay to be applied to all sheet-sides generated by the copy subgroup. However a new keyword (e.g. X‘D2nn’) is defined to specify the local ID of the PFO.  FIG. 2  illustrates one embodiment of a table describing keywords that would be carried as part of the MMC structured field data for a Medium Overlay and the PFO. 
     As with other Medium Overlays, the keyword may appear a maximum of eight times in an MMC and the allowed ID range is X‘01’-X‘7F’. An implementation of the architecture may choose to further restrict the number of PFOs in an MMC to avoid potential issues with overlap. The local ID is mapped to the name of the PFO in a Map Medium Overlay (MMO) structured field. The new X‘D2’ keyword is specified first in the MMC (before any X‘F2’ Keywords). Otherwise, an out of sequence PFO will be treated as a regular medium overlay. 
     The MMC based PFO solution addresses simulation of a full page preprinted form. However, the same requirement must be addressed in the situation where multiple pages are to be printed on one sheet (e.g., n-up). N-up can be addressed using a Page Modification Control (PMC). A PMC structured field specifies modifications to be applied to a page presented on a portion of the medium. 
     In one embodiment, a PMC overlay identified as a PFO is recognized as simulating a preprinted form. Whenever a PMC overlay is included in this manner all the same concepts apply as defined for the MMC based PFO.  FIG. 4  illustrates one embodiment of a table describing the use of a PMC to invoke a PMC overlay as a preprinted form overlay. For example, when document data is specified as “color of medium” and the mixing rule is Overpaint, the resulting color is derived from the PMC-PFO color at that region rather than applying a traditional concept of “knockout”. Further, whenever the device produces “white” (CMYK=X‘00000000’ for a printer, RGB=X‘FFFFFF’ for an RGB display) the same rule as above is applied. In yet a further embodiment, a PMC-PFO received after any “standard” PMC will be ignored. 
       FIG. 3  is a flow diagram for one embodiment of generating a print job with a preprinted form. At processing block  310  a print job is received. At processing block  320 , the print job is rasterized according to typical print processing. At processing block  330 , the preprinted form overlay (e.g., medium overlay PFO or PMC-PFO) layout is rasterized. At processing block  340 , preprinted form overlay layout and print job are merged. In one embodiment, the preprinted form overlay is merged on the page presentation before print job data objects are merged. At processing block  350 , the merged data is forwarded to print engine  160 . At processing block  360 , the data is printed. 
     The above-described mechanism uses a preprinted form overlay (PFO) that preserves the color of medium of the preprinted form, allowing a true simulation of preprinted forms. Thus, the expense and inefficiencies of preprinted forms may be eliminated. Also, in this manner, the simulated preprinted form may undergo modification totally separate from the core document datastream and without the need for subsequent pre-flight impositioning. 
     Embodiments of the invention may include various steps as set forth above. The steps may be embodied in machine-executable instructions. The instructions can be used to cause a general-purpose or special-purpose processor to perform certain steps. Alternatively, these steps may be performed by specific hardware components that contain hardwired logic for performing the steps, or by any combination of programmed computer components and custom hardware components. 
     Elements of the present invention may also be provided as a machine-readable medium for storing the machine-executable instructions. The machine-readable medium may include, but is not limited to, floppy diskettes, optical disks, CD-ROMs, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, magnetic or optical cards, propagation media or other type of media/machine-readable medium suitable for storing electronic instructions. For example, the present invention may be downloaded as a computer program which may be transferred from a remote computer (e.g., a server) to a requesting computer (e.g., a client) by way of data signals embodied in a carrier wave or other propagation medium via a communication link (e.g., a modem or network connection). 
     Throughout the foregoing description, for the purposes of explanation, numerous specific details were set forth in order to provide a thorough understanding of the invention. It will be apparent, however, to one skilled in the art that the invention may be practiced without some of these specific details. Accordingly, the scope and spirit of the invention should be judged in terms of the claims which follow.