1. Field of the Invention
The present invention relates to printing apparatuses, printing methods, and media storing printing programs that print form data merged with print data.
2. Description of the Related Art
With printing apparatuses, conventionally fees are charged regardless of whether or not there is print data on the pages to be printed. That is, a fee is charged even for blank pages, and therefore there is a demand for fees to be charged flexibly in response to the objects to be printed, with various techniques being developed.
For example, in the case where in a printing apparatus there are pages to be printed that are blank, it is common to not charge a fee for the cost of toner or the like by inserting a “blank page no fee” command into the data of those pages. Furthermore, in order to prevent the “blank page no fee” command being inserted intentionally into non-blank pages to avoid fees, immediately prior to print processing after a rendering process, print data may be cleared for pages in which a “blank page no fee” command has been inserted such that a blank page is discharged (Japanese Patent Laid-Open No. 2004-139465).
In generally performed printing techniques there is form merging printing in which print data for merging and form data are merged. Form merging printing such as this is a technique in which data that has been captured by a scanner or stored as PDL data in advance is superimposed and printed as form data with print data. The aforementioned “blank page no fee” commands are held even in the case where printing is to be performed after data being stored once by a document storage function (also referred to as BOX function) of the printing apparatus, for example. Accordingly, multi-page data stored by the document storage function or the like is used as form data to carry out form merging printing. When a “blank page no fee” command is held in either the form data or the print data at this time, the command becomes valid and a blank page is outputted undesirably.
In recent years there has been increasing demand for printing apparatuses capable of supporting multi-page form data. In the case where the form data is multi-page, it is common that rather than generating all the form data, a user will generate form data by reusing and processing existing data for example. Here, it is conceivable that the aforementioned “blank page no fee” command is already inserted in any of the pages of the form data. If a “blank page no fee” command is inserted in a page that is of no concern to the user, a blank page will be undesirably output according to the original function of the “blank page no fee” command.
Generally, for a user to investigate whether or not a “blank page no fee” command has been inserted in data, it is necessary for that user to be familiar with PDL language for example. Consequently, it may be difficult for a user to delete “blank page no fee” commands when necessary.
Furthermore, there have been various methods in form merging printing in recent years, and representative examples of such methods that can be put forth include a method in which form data is printed on preprinted sheets that have been printed on in advance, and a method in which toner for print data and toner for form data are printed in a one-time operation. Also, in recent years, printing apparatuses have become common that combine these methods. Further still, form merging printing can also be used in, for example, a case where form data to be used indiscriminately for all pages such as a watermark is merged with print data for printing.
Accordingly, it is desirable that the application of blank page commands is flexible as desired by the user in form merging printing in which various functions are combined.
The present invention provides a printing apparatus that is capable of outputting a desired printing result by appropriately processing designations of blank pages in form merging printing.
The present invention in its first aspect provides a printing apparatus that prints merged data in which print data and form data have been merged, comprising: an analysis unit configured to analyze whether or not each page in the form data has been given a designation of blank page printing, a processing unit configured to carry out a process, based on a result of analysis by the analysis unit, of invalidating the designation of blank page printing of a page that has been given the designation of blank page printing in the form data, a merging unit configured to merge the form data processed by the processing unit and the print data, and a print unit configured to perform printing of the merged data that has been obtained by the merging unit.
The present invention in its second aspect provides a printing method executed in a printing apparatus that prints merged data in which print data and form data have been merged, comprising the steps of: analyzing whether or not each page in the form data has been given a designation of blank page printing, carrying out a process, based on a result of analysis in the analysis step, of invalidating the designation of blank page printing of a page that has been given the designation of blank page printing in the form data, merging the form data processed in the processing step and the print data, and performing printing of the merged data that has been obtained in the merging step.
The present invention in its third aspect provides a computer-readable medium on which is stored a printing program executed in a printing apparatus for printing merged data in which print data and form data have been merged, the program causing a computer to function so as to: analyze whether or not each page in the form data has been given a designation of blank page printing, carry out a process, based on a result of the analysis, of invalidating the designation of blank page printing of a page that has been given the designation of blank page printing in the form data, merge the form data that has undergone the process and the print data, and print merged data that has been obtained by the merging.
With the present invention it is possible to output a desired printing result by appropriately processing designations of blank pages giving consideration to an intention of the user in form merging printing.
Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
Hereinafter, preferred embodiments for executing the present invention are described in detail while referencing the accompanying drawings. It should be noted that same reference numbers are assigned to same configuration elements and description thereof is omitted.
A description is given of the first embodiment regarding a case in which the “blank page no fee” command is present in form data other than a watermark. It should be noted in regard to the printing of form data in the present invention that it can also be applied in the case where printing for a special application is intended such as clear toner or the like which, unlike ordinary toner, gives a glossy feel to printed materials that have undergone color printing.
The printing apparatus 111 is a multifunction peripheral (MFP) in which a printing function, a fax function, and scanner functions or the like are combined. Furthermore, the printing apparatus 111 is capable of executing communications with the PC 101 through a network. Software that is to be described in
A PDL interpreter 205 interprets the PDL data 204. A form determination unit 206 determines whether PDL data interpreted by the PDL interpreter 205 or scanned data read in from the scanner 117 is data that is registered as form data in storage unit 207 or whether it is ordinary print data in storage unit 208. As a result of these respective determinations, the data is stored in the storage unit 207 or the storage unit 208. In the case where a form merging instruction is present in the print data of the storage unit 208, a form merging unit 209 carries out a merging process with the form data of the storage unit 207 to generate print data that has undergone form merging and stores this in a storage unit 210.
When print data or print data that has undergone form merging is to be printed, a charging control unit 211 determines whether or not a “blank page no fee” command is present in the pages. In the case where a “blank page no fee” command has been set in the page data, the charging control unit 211 does not increase a charging counter 212 but generates “blank page no fee” command processed print data in which the image data of the relevant page is cleared (deleted) and issues a print command to the printer engine 118. By clearing the image data in this manner, the printing of image data for no fee is avoided. On the other hand, in the case where a “blank page no fee” command has not been set in the page data, the charging control unit 211 increases the charging counter 212 and issues a print command to the printer engine 118 so that printing is performed of the print data as it is.
In the software module configuration of the printing apparatus 111 shown in
Hereinafter, with reference to
In step S303, the driver 203 determines whether or not a page is present in the application data 202 having a designation of “blank page no fee.” Here, when it is determined that a page is present having a designation of “blank page no fee,” a “blank page no fee” command is added to the relevant page data in step S305, and the procedure proceeds to step S304. On the other hand, in the case where it is determined that no page is present having a designation of “blank page no fee,” the procedure proceeds to step S304. The determination of step S303 may be determined according to whether or not a “blank page no fee” flag is on or off by referencing information that has been added to the page, for example, attribute information of the page. In step S304, the driver 203 converts the application data 202 to PDL data 204, which is a print job, and in step S306, this is sent to the printing apparatus 111.
First, in step S401, the application data 202 that is desired as form data is generated by the application 201. Here, form identifying information can be specified at the same time as the generation of the application data 202. Next, in step S402, a form registration command is issued of the application data 202 that has been generated. When the form registration command is issued from the application, the driver 203 is launched and analyzes the application data 202 in a step of a later stage. In step S403, a determination is performed as to whether or not a page is present in the application data 202 having a designation of “blank page no fee.” Here, when it is determined that a page is present having a designation of “blank page no fee,” a “blank page no fee” command is added to the relevant page in step S405, and the procedure proceeds to step S404. On the other hand, in the case where it is determined that no page is present having a designation of “blank page no fee,” the procedure proceeds to step S404. The determination of step S403 may be determined according to whether or not a “blank page no fee” flag is on or off by referencing information that has been added to the page, for example, attribute information of the page. In step S404, the application data 202 desired as form data is converted to PDL data 204 and, in step S406, this is sent to the printing apparatus 111. It should be noted that it is also possible to generate ordinary application data for printing using an application, then issue a form registration command by the driver, generate PDL data and form identifying information, and register this as form data in the printing apparatus.
First, in step S501, the user uses the application 201 to generate the application data 202 that is desired to be printed. Next, in step S502, form data that is to undergo for form merging is selected using the application 201 or the like and, in step S503, a form merging command and a print command are issued. Here, for example, the form data is selected using form identifying information or the like. The driver 203 is launched based on the form merging command and the print command. In step S504, a determination is performed as to whether or not a page is present in the application data 202 having a designation of “blank page no fee.” Here, when it is determined that a page is present having a designation of “blank page no fee,” a “blank page no fee” command is added to the relevant page in step S506, and the procedure proceeds to step S505. On the other hand, in the case where it is determined that no page is present having a designation of “blank page no fee,” the procedure proceeds to step S505. The determination of step S504 may be determined according to whether or not a “blank page no fee” flag is on or off by referencing information that has been added to the page, for example, attribute information of the page. In step S505, the application data 202 is converted to PDL data 204 and, in step S507, the selected form identifying information and PDL data are sent to the printing apparatus 111. Here, PDL data as the form data and PDL data for merging can be sent to the printing apparatus at the same time.
The above-described
First, in step S601, the PDL interpreter 205 receives the PDL data via the communications interface 115. In step S602, the PDL interpreter 205 determines whether or not interpreting of all the received PDL data has finished. Here, when it is determined that all the data has been interpreted, the procedure proceeds to step S609 and when it is determined that all the data has not been interpreted, the procedure proceeds to step S603.
Next, in step S603, a determination is performed as to whether or not it is the commencement of a page in the received PDL data. Here, when it is determined that it is a commencement page, then the designation of a blank page due to the “blank page no fee” command of the page is cleared in step S604, and the procedure proceeds to step S605. It should be noted that here it is also possible for the “blank page no fee” flag to be turned off. On the other hand, in the case where it is determined that it is not a commencement page, then the procedure proceeds to step S605 and the PDL interpreter 205 carries out interpretation of the received PDL data.
Next, as a result of the interpretation, a determination is performed in step S606 as to the presence/absence of a “blank page no fee” command. Here, when it is determined that a “blank page no fee” command is present, designation of “blank page no fee” is carried out for that page in step S607, then the procedure returns to step S602. On the other hand, when it is determined that a “blank page no fee” command is absent, generation of image data for rendering (rasterizing) is carried out in accordance with the PDL commands in step S608, then the procedure returns to step S602.
With the processing of steps S601 to S608, the PDL data received from the PC 101 is interpreted and print data is generated containing at least data in which a “blank page no fee” designation has been made or image data.
Next, in step S609, the form determination unit 206 determines whether or not the received data is data to be registered as a form. For example, this may be determined by referencing whether or not a form registration command is inserted as a PDL command as shown in
When it is determined in step S611 that it is data having a form merging instruction, form data specified by the form identifying information is extracted in step S612. Further still, in step S612, the form merging unit 209 clears (deletes) the designation of “blank page no fee” that is added to the form data. After this, form data from which the designation of “blank page no fee” has been cleared is merged with the print data. On the other hand, when it is determined in step S611 that it is not data in which a form merging instruction has been performed, the procedure proceeds to step S613. Hereinafter, data that has undergone the processing of step S612 is referred to as “print data that has undergone form merging” and data that has not undergone the processing of step S612, that is, data for which a determination of “no” has been made in step S611, is referred to as “print data.”
In step S613, the charging control unit 211 commences print processing of each page with regard to the print data or the print data that has undergone form merging. In step S614, a determination is performed as to the presence/absence of a “blank page no fee” designation in the pages of the print data. Here, when it is determined that there is no designation of “blank page no fee,” the charging counter 212 is instructed to increase in step S615. After this, in step S616, the print data or the print data that has undergone form merging is printed by the printer engine 118. Print data to be printed by the printer engine 118, which is either of the aforementioned sets of print data, is stored in a storage unit shown in
In step S620, a determination is performed as to whether or not all the pages in the print data or the print data that has undergone form merging have been processed, and when it is determined that all the pages have not been processed, the procedure returns to step S613. On the other hand, when it is determined that all the pages have been processed, the present process finishes.
In
Next,
First, in step S701, a determination is performed as to whether it is form merging printing for print data that has been read in from the scanner or print data stored in the BOX, or whether it is form merging printing using only form data for preprinted sheets. Step S701 may be determined for example by which of the former type of form merging printing or the latter type of form merging printing the user has selected on the screen of the user interface.
Here, when it is determined that it is form merging printing for print data that has been read in from the scanner or print data stored in the BOX, form data is selected in step S702. Here, for example, the form data is selected by specifying the form identifying information or the like. Next, in step S703, the print data for merging is obtained. For example, an original is set in the scanner and a scanning operation commences. Furthermore, if print data stored in the BOX is being used, the storage location is specified and the print data to be printed is obtained. In the steps hereinafter, the processing of steps S704 to S707 are carried out until there are no more pages to be printed.
In step S704, a determination is performed as to the presence/absence of a “blank page no fee” designation in the print target pages of form data to be merged with the target pages of the print data for merging. Here, when it is determined that a designation of “blank page no fee” is present, the designation of “blank page no fee” of the form is cleared in step S705 and form merging is carried out, then the procedure proceeds to step S707. On the other hand, when it is determined that a designation of “blank page no fee” is absent, form merging is carried out as it is in step S706, then the procedure proceeds to step S707.
In step S707, the print processing indicated in steps S614 to S620 in
A description is given returning again to step S701. In step S701, in the case where form merging printing is to be carried out using only the form data for the preprinted sheets, the procedure proceeds to step S708 and the form data to be printed is selected. Here, for example, the form data is selected by specifying the form identifying information or the like. Next, in step S709, a number of pages of desired preprinted sheets for carrying out printing is specified by the user and the number of printed sheets is obtained. Generally, cases are common in which the number of pages of the form data matches the number of preprinted sheets, and therefore here description is given of a case in which the number of preprinted sheets is specified.
In step S710, a determination is performed as to whether or not the number of sheets specified in step S709 is larger than zero. Next, in step S711, the number of sheets specified in step S709 is reduced by “1” and the procedure proceeds to step S712. In step S712, when a designation of “blank page no fee” is present in any of the pages of the form data, form merging is carried out without clearing those designations and print processing is carried out. Here, naturally, printing is carried out without increasing the charging counter 212 when a designation of “blank page no fee” was present. This indicates a case where page data in which image data was cleared undergoes form merging printing. Furthermore, the charging counter 212 is increased and form merging printing is carried out when a designation of “blank page no fee” is not present. After step S712, the procedure returns to step S710, and when it is determined that the number of sheets is zero, the present processing finishes.
In the above description, in carrying out form merging printing, it is also possible that the number of sheets of scanned print data or print data stored in the BOX is different from the number of pages of form data. Furthermore, form merging may be carried out by repetitively using a specified page of form data. Furthermore, it is also possible to send the pages of form data in order and perform form merging using the form of the first page at a point in time when the pages have come to an end, and it is also possible not carry out form merging after the pages have come to an end. Furthermore, in regard to methods of specifying a form, this may be achieved by any technique in the present embodiment.
A description was given in the above-described example of a case in which a designation of “blank page no fee” was not present in the print data stored in the BOX, but cases are conceivable in which the user intentionally leaves designations of “blank page no fee” in the print data stored in the BOX. In this case, in performing form merging printing in step S707, priority may be given to the designation of “blank page no fee” in the print data stored in the BOX, and blank pages may be discharged without a fee being charged.
Here, a form data column shows form data that is registered in the PDL data from the PC 101 or registered by the scanner. Furthermore, for example, when data is registered by the scanner, there is no designation of “blank page no fee.” Furthermore, a print data column shows print data for merging that is to be merged with form data, and indicates print data such as print data generated based on the PDL data, print data that has been read in from the scanner 117, and print data that has been specified from the BOX. In
The “blank page no fee” shown in
In the present invention, it is evident that in case 2 the printing result is the same as in conventional techniques. This is because in the present invention, consideration is given to the concept that designations of print data clearly input by the user are to be given priority. Consequently, naturally, in case 3 the designation of “blank page no fee” is valid for the second page of the form data. However, in the present invention, the designation of “blank page no fee” for the second page of the form data is invalidated (cleared), and the print data for merging of “2” is print output as a print result.
Further still, in case 4, a case is shown in which merged printing of form data is carried out on preprinted sheets. In this case, the print data has become “none.” As previously described in step S712 in
In the present embodiment, the presence/absence of designations of “blank page no fee” (designations of printing blank pages) is analyzed in response to each case as shown in
Next, description is given of a case where a function is added of carrying out form merging printing using form data to be added indiscriminately to all pages such as a watermark (digital watermark information).
First, in step S1001, based on a user instruction, the application data 202 that is desired to be printed is generated using the application 201. In step S1002, watermark printing is designated according to the application 201 and, in step S1003, a print command is issued. Here, form identifying information is specified at the same time as when watermark printing is designated. When the print command is issued, the driver 203 is launched and analyzes the application data in a step of a later stage.
Next, in step S1004, a determination is performed as to whether or not a page is present in the application data 202 having a designation of “blank page no fee.” Here, when it is determined that a page is present having a designation of “blank page no fee,” a “blank page no fee” command is added to the relevant page in step S1006, and the procedure proceeds to step S1005. On the other hand, in the case where it is determined that no page is present having a designation of “blank page no fee,” the procedure proceeds to step S1005. The determination of step S1004 may be determined according to whether or not a “blank page no fee” flag is on or off by referencing information that has been added to the page, for example, attribute information of the page. In step S1005, the application data is converted to PDL data and, in step S1007, this is sent to the printing apparatus 111 together with the form identifying information. It should be noted that it is also possible for data held in the PC 101 to be converted to PDL data by the driver as the form data and sent to the printing apparatus 111. Furthermore, together with the data for merging, form data for watermarking may be generated as application data in the application then sent to the printing apparatus 111 after being converted to PDL data by the driver. Furthermore, implementations are possible in which the designation of watermark printing is carried out from the driver.
In step S613, when the print data is generated, the charging control unit 211 launches and commences print processing of the pages.
In step S1101, a determination is performed as to whether or not there is a watermark designation. Here, a determination is performed for each page as to whether or not there is a watermark designation, but an embodiment is possible in which at determination is performed in advance as to whether or not there is a watermark designation for all the pages. When it is determined in step S1101 that there is a watermark designation, at determination is performed in step S1102 as to whether or not there is a designation of “blank page no fee” in the page of the print data to be printed.
When it is determined in step S1102 that there is no designation of “blank page no fee” in the relevant page, the procedure proceeds to step S1103 and the charging counter 212 is increased. After this, in step S1104, the watermark merging unit 901 merges the watermark (image data) with the image data of the relevant page and printing is carried out by the printer engine 118.
When it is determined in step S1102 that there is a designation of “blank page no fee” in the relevant page, the procedure proceeds to step S1105 and the charging counter 212 is increased. Then, in step S1106, the image data of the relevant page is cleared. After this, in step S1107, the watermark merging unit 901 merges the watermark (image data) and printing is carried out by the printer engine 118.
It should be noted that the processing between step S614 and step S620 is common with those in
It should be noted that in the present embodiment, image data based on the specified form data is added as the watermark immediately before print processing in the engine. However, the timing for merging the watermark as print data may be in step S612 for example. In either case, when there is a watermark designation, the watermark is printed even when the print data to be merged undergoes clearing of image data according to the designation of “blank page no fee,” and therefore the processing of charging a fee for printing the watermark should be carried out.
Here, a watermark column shows a watermark that is registered in the PDL data from the PC 101 or registered by the scanner. Furthermore, a print data column shows print data such as print data generated based on the PDL data, print data that has been read in from the scanner 117, and print data that has been specified from the BOX. A printed result column shows results of merging and printing the watermark shown in the watermark column on the print data shown in the print data column.
As shown in
The present invention includes a case of having an operating system (OS) or the like that runs on a computer carry out a part or all of the actual processing according to instructions of a program (printing program) code such that the functionality of the foregoing embodiments is achieved by the processing thereof. Further still, the present invention can also be applied in the case where the program code read out from a storage medium is written onto a memory provided in an extension card inserted into the computer or an extension unit connected to the computer. In this case, a CPU or the like provided in the extension card or extension unit may carry out a part or all of the actual processing according to instructions of the program code that has been written in such that the functionality of the foregoing embodiments is achieved by the processing thereof.
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
This application claims the benefit of Japanese Patent Application No. 2008-130094, filed May 16, 2008, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2008-130094 | May 2008 | JP | national |