This application claims priority to Japanese Patent Application No. 2008-093652, filed on Mar. 31, 2008, the contents of which are hereby incorporated by reference into the present application.
1. Field of the Invention
The present invention relates to an image output apparatus that outputs a plurality of pieces of image data as one page of an output image.
2. Description of the Related Art
As set forth in Japanese Patent Application Publication No. 2006-85551, many printers create image data that has a bit-mapped format from data that is described by a page description language. The image data is written into a page memory or a band memory. The printer prints the image data on a print medium in accordance with the stored contents of the page memory or the band memory. Moreover, the page description language may be termed “PDL” below.
Further, the technique of printing a plurality of pieces of image data onto one page of a print medium (i.e. index printing) is known to the art. For example, a technique for index printing is set forth in US Patent Application Publication No. 2007/227335.
A plurality of types of PDL exist in recent years, such as for example, PDF (Portable Document Format), PS (Post Script), etc. Conventional printers have modules (programs) that, for each of the plurality of types of PDL, create image data from the data described by the PDL and write this image data into the memory. Each of these modules is an independent module, and each performs an exclusive process to write into the memory. That is, in the case where a process is performed to create image data in accordance with one module and to write this image data into the memory (page memory or band memory), it is not possible to create image data in accordance with the other module and write this into the same memory. As a result, it is not possible to create page memory or band memory in which a plurality of pieces of image data created from different types of PDL is written. This means that a plurality of pieces of image data created from different types of PDL cannot be index printed as one page of an output image. Although a technique to index print a plurality of pieces of image data created from the same PDL exists, it is thought to be impossible to realize a technique in which a plurality of pieces of image data created from different types of PDL is index printed onto one page.
The technique set forth in the present specification allows a plurality of pieces of image data created from different types of PDL to be output as one page of an output image.
An image output apparatus set forth in the present specification may be configured to create one piece of image data in a bit-mapped format from PDL data described by a page description language, and output a plurality of pieces of image data as one page of an output image. The term “page description language” in the present specification includes all types of languages for describing data utilizing the concept of a page. As described above, PDF, PS, etc. can be given as examples of the page description languages. Further, among the languages utilized in a word processing software, spreadsheet software, drawing software, etc., languages for describing data that utilize the concept of a page may also be termed “page description language”. Moreover, the term “output as one page of an output image” should be interpreted in its broadest sense, and includes not only printing onto one page of a print medium, but also forming a display on one display screen. In the case of the latter example, the unit of “one page” may refer to one display screen, or may refer to one window.
The image output apparatus may comprise a data file input device, a position determination device, an intermediate language data creation device, a memory, an image data creation device and an image data output device. The data file input device may be configured to input data files. The data files may include at least two data files. One of the two data files may be described by a first page description language. The other of the two data files may be described by a second page description language. The first PDL may be different from the second PDL. In the case for example where the data files are sent from another device (a personal computer, a server, a portable memory, etc.) to the image output apparatus, the data file input device may input the data files sent from the other device.
The position determination device may be configured to determine, for each of the data files, with respect to at least one page of PDL data included in the data file, a position in which one piece of image data corresponding to the PDL data is to be disposed within the output image. The position determination device may determine an absolute position in which each piece of image data is to be disposed. For example, the position determination device may determine a coordinate A for the one page of PDL data corresponding to first image data, and may determine another coordinate B for the one page of PDL data corresponding to second image data. Moreover, in this case, in a case for example where the image data has a rectangular shape, the position within the output image may be expressed by two vertex coordinates that are present diagonally, or may be expressed by one vertex coordinate and the size of the image data in its crosswise direction and lengthwise direction. Further, in a case where the size of the image data in its crosswise direction and lengthwise direction is determined, the position within the output image may be expressed by only one coordinate of the image data (for example, one vertex coordinate or a coordinate of the center of the image data). Alternatively, the position determination device may determine a relative positional relationship for the position in which each piece of image data is to be disposed. For example, in the case where the position determination device has determined the coordinate A for the one page of PDL data corresponding to the first image data, the position determination device may determine a positional relationship for the one page of PDL data corresponding to the second image data using the coordinate A as a standard therefor (for example, a position in a plus X direction at a predetermined distance from the coordinate A, etc. may be oriented to the one page of PDL data corresponding to the second image data).
The intermediate language data creation device may be configured to create, for each of the data files, with respect to at least one page of PDL data included in the data file, one piece of intermediate language data described by an intermediate language from the PDL data. For example, the intermediate language data creation device may create intermediate language data described by an intermediate language from at least one page of PDL data included in a data file described by the first PDL, and may create intermediate language data described by the same intermediate language from at least one page of PDL data included in a data file described by the second PDL. Moreover, the intermediate language may, for example, be vector format data. In this case, if the first PDL is vector format data, the vector format data of the intermediate language may be created from the vector format data of the first PDL. Further, in a case where the second PDL is data that has a bit-mapped format, the vector format data of the intermediate language thereof may be created from the data having a bit-mapped format of the second PDL.
The memory may be utilized to store image data. The memory may be a page memory, or may be a band memory. The image data creation device may be configured to create, for each piece of the intermediate language data, one piece of image data from the piece of the intermediate language data, and write the one piece of the image data in a position within the memory corresponding to the position determined by the position determination device with respect to the original PDL data of the one piece of the image data. The image data output device may output the plurality of pieces of image data as one page of the output image in accordance with the stored contents of the memory.
According to the above configuration, it is possible to convert data files described by different types of PDL into the same intermediate language. As a result, it is possible to use, for a plurality of types of PDL, one module (program) in common to create image data from the intermediate language data and write this image data into the memory. Since it is possible to write the image data created from a plurality of types of PDL into the memory in accordance with the common module, a process of exclusively writing into a memory for each type of PDL is not performed. It is possible to write a plurality of pieces of image data created from different types of PDL into the same memory. As a result, it is possible to output a plurality of pieces of image data created from different types of PDL as one page of an output image.
An embodiment will be described with reference to the figures.
A simple version of the configuration of the printer 10 is shown in
The controller 16 performs processes in accordance with the programs stored in the program storage area 18. The contents of the processes performed by the controller 16 will be described in detail below. The program storage area 18 stores an intermediate language data creation program 20, an image data creation program 22, and another program 24.
The intermediate language data creation program 20 is a program for converting data described by the PDL (this may be termed “PDL data” below) into data described by the intermediate language (this may be termed “intermediate language data” below). The intermediate language data creation program 20 includes programs corresponding to each of the plurality of types of PDL. For example, the intermediate language data creation program 20 stores a program to convert PDL data described by PDF into intermediate language data, and a program to convert PDL data described by PS into intermediate language data.
The method for creating bit-mapped data from the PDL data via the intermediate language data (termed “the former method” below) is effective in the points given below when compared to the method for creating bit-mapped data directly from the PDL data (termed “the latter method” below). Many PDLs are capable of describing the same types of data. For example, many PDLs are capable of describing linear gradation or text. An exemplary case will be described in which a first PDL and a second PDL respectively describe the same linear gradation (for example, a gradation in which red changes to blue from left to right).
In the case of the above example, two programs are necessary in order to adopt the latter method; namely, a program for creating bit-mapped data from linear gradation vector data described in the first PDL format, and a program for creating bit-mapped data from linear gradation vector data described in the second PDL format.
On the other hand, when the former method is adopted, the intermediate language data (vector data) is created from the linear gradation vector data of the first PDL, and the intermediate language data is created from the linear gradation vector data of the second PDL. In this case, identical intermediate language data is created. Thereupon, if there is a program to convert these intermediate language data into bit-mapped data, the bit-mapped data can be created irrespective of whether the linear gradation is described by the first PDL or the second PDL. That is, in order to adopt the former method, it is necessary to have three programs: a first program for creating the intermediate language data from the linear gradation vector data of the first PDL, a second program for creating the intermediate language data from the linear gradation vector data of the second PDL and a third program for creating bit-mapped data from the intermediate language data. That is, in the programs for processing the first PDL and the second PDL, the third program (the image data creation program 22 in the example of
The image data creation program 22 is a program for converting the intermediate language data into the bit-mapped format image data (bit-mapped data with two levels of gradation in the present embodiment; hereinbelow referred to as ‘two-level bit-mapped data’). In the present embodiment, the two-level bit-mapped data is created directly from the intermediate language data. However, the technique of the present embodiment can also be utilized in the case where bit-mapped data with multi-leveled gradation (for example, 256 levels) is converted from the intermediate language data, and two-level bit-mapped data is converted from that bit-mapped data. The program 24 includes other various programs for controlling the devices of the printer 10. For example, the program 24 stores a program for communicating with the PC 70 (a protocol), a program for controlling the displayed contents of the display portion 28, a program for controlling the driving of the printing mechanism 46, etc.
The operation portion 26 has a plurality of keys. The user can input commands to the printer 10 by operating the operation portion 26. For example, by operating the operation portion 26, the user can command the printer 10 to index print the data files stored in the portable memory 60. The display portion 28 is capable of displaying information.
The memory 40 comprises a band memory 42 and another storage area 44. The band memory 42 is a memory for storing at least one band worth of image data (two-level bit-mapped data). The storage area 44 is utilized to store data created while the controller 16 is executing processes.
A simple description will be given of the “band”. A method can be conceived in which image data that corresponds to the entirety of the PDL data that has been commanded to be printed by the PC 70 or the like is created, and printing starts only after the whole of this image data has been created. However, in this case a large capacity memory is required to store the entire image data corresponding to all of the PDL data. In order to compress the memory capacity for storing image data, the printer 10 of the present embodiment adopts a method utilizing the concept of a “band” in which the image data is created in small fractions at a time and is sequence printed in that unit. It is possible to divide the print medium into a plurality of bands along the feeding direction of the print medium. In the present embodiment, the bandwidth of one band is set for example on the basis of the range that can be printed by one scan of ink jet heads (which is a range smaller than one page).
Although this will be described in detail later, in the present embodiment the controller 16 first creates image data corresponding to a first band, and writes this image data into the band memory 42. The controller 16 prints the one band worth of image data in accordance with the stored contents of the band memory 42, and then deletes the stored contents of the band memory 42. The controller 16 repeats this process in band units. For example, the controller 16 may create one band worth of image data, delete the band memory after this image data has been printed, then create image data that corresponds to the succeeding band. In this case, the band memory 42 needs only to have one band worth of memory size. However, in the present embodiment, the controller 16 starts creating the second band of image data while the first band worth of image data is being printed. Rapid printing is thus realized. In the case where this process is executed, the band memory 42 requires at least two bands worth of memory size. This is because the creation of the second band of image data is started before the first band worth of image data has been deleted.
The printing mechanism 46 has a mechanism for feeding the print medium, and a mechanism for printing onto the print medium (for example, an ink jet type or laser type image forming mechanism). The printing mechanism 46 prints onto the print medium in accordance with the stored contents of the band memory 42.
Next, the configuration of the controller 16 will be described in detail utilizing
The controller 16 comprises the intermediate language data processor 102 and an output controller 104. The intermediate language data processor 102 performs a process to create image data having a bit-mapped format from the intermediate language data. The image data created by the intermediate language data processor 102 is written into the band memory 42. The output controller 104 controls the driving of the printing mechanism 46 in accordance with the stored contents of the band memory 42. The image data is thus printed on the print medium.
Next, the contents of a print process performed by the controller 16 will be described. The controller 16 performs the print process in accordance with the programs 20, 22, and 24.
The controller 16 determines whether the print command (or the print instruction operation) is a command for index printing (S10). For example, in the case where the print command from the PC 70 includes a command showing index printing, the controller 16 determines YES in S10. Further, in the case for example where an operation corresponding to index printing has been performed on the operation portion 26, the controller 16 determines YES in S10. Moreover, the process in the case of NO in S10 (the process from S12 onwards) will be described below using, as an example, the case where the print command from the PC 70 includes a command for normally printing data of the designated data file. Further, the process in the case of YES in S10 (the process from S40 of
In the case of NO in S10, the controller 16 reads the data file sent from the PC 70 (S12). This data file is described by a PDL (PDF, for example). As a result, the data file constructs data utilizing the concept of pages. The controller 16 specifies the PDL type describing the data file (S14). Next, in accordance with the program 20 corresponding to the type specified in S14, the controller 16 creates intermediate language data from one page worth of PDL data (at this stage, the first page of PDL data) constituting the data file (S16). In the process of S16 performed from the second time onwards, the intermediate language data is created from the page of PDL data that is subsequent to the page from the previous time the process of S16 was performed. This routine is repeated until the process has been completed for all the pages constituting the data file.
Next, the controller 16 specifies “1” as the process subject band BN (S18). The controller 16 creates image data from the intermediate language data corresponding to the process subject band (currently “1”) (S20). That is, the controller 16 creates the image data from the intermediate language data that is the origin of the image data to be included in the process subject band. The process of S20 is performed in accordance with the image data creation program 22. The controller 16 writes the image data into the band memory 42. One band worth of image data (currently the first band of the first page) is thereby completed. When S20 ends, the controller 16 deletes the intermediate language data that has been converted into the image data (S22). At this point, the intermediate language data corresponding to the bands subsequent to the first band is not deleted.
Next, the controller 16 starts printing in accordance with the stored contents of the band memory 42 created in S20 (S24). Specifically, the controller 16 performs driving control of the printing mechanism 46 in accordance with the stored contents of the band memory 42. When the controller 16 starts the driving control of the printing mechanism 46, the process proceeds to S26. In S26, the controller 16 adds an increment to the process subject band BN. For example, in a case where the processes of S20 through S24 have been performed for the first band (BN=1), the process subject band BN becomes “2”. Next, the controller 16 determines whether the process subject band BN exceeds the last band of the one page (S28). For example, YES is determined in S28 in a case where the last band of one page is “6”, and the value of the process subject band BN that has been incremented is “7”.
In the case of NO in S28, the controller 16 returns to S20, and creates the image data from the intermediate language data corresponding to the next band. A second band of image data, for example, is thereby stored in the band memory 42 while the first band is being printed. Although this is not shown on the flow chart, when the printing of one band ends, the controller 16 deletes the corresponding band of image data from the band memory 42, and starts printing the next band of image data. When the processes of S20 through S28 have been performed for all the bands of the page, the image data created from one page of PDL data is printed on one page of the print medium.
In the case of YES in S28, the controller 16 determines whether the printing for all the pages constituting the data file has been completed (S30). In the case of NO in S30, the controller 16 performs the process from S16 onwards for the next one page. When the printing for all the pages constituting the data file has been completed, the print process ends.
Next, the contents of the process performed in the case of YES in S10 (i.e. a case in which index printing has been instructed) will be described with reference to
Next, the controller 16 specifies the format for index printing (S42). When the user commands index printing, it is possible to designate the number of pieces of image data to be aligned in a lengthwise direction (M rows) and the number of pieces of image data to be aligned in a crosswise direction (N columns) in a matrix format, and the size of the print medium (for example, A4 size). The controller 16 performs the process of S42 by specifying these number values. Next, the controller 16 determines the position of the image data corresponding to the data files based on the number of data files specified in S40 and the number values specified in S42 (M, N, and the size of the print medium) (S44). The contents of this process will be described in detail below.
The program 24 (see
Next, the controller 16 activates the same number of process threads as “N” specified in S42 of
In the present embodiment, a method has been adopted in which one process thread creates, in sequence, a plurality of pieces of image data that are be disposed in the same column. For example, in the process thread that creates one piece of image data from the data file 150, one piece of image data is then created from the data file 156, and subsequently one piece of image data is created from the data file 162. That is, the three pieces of image data that are to be disposed on the leftmost line columnwise are created in sequence in this process thread. Below, the contents of the flow chart of
The controller 16 reads the first page of PDL data of the original data file 150 of the image data to be disposed on the uppermost row 180 (S70). Next, the controller 16 specifies the PDL type described in the data file 150 (S72). Next, the controller 16 creates intermediate language data from the first page of PDL data of the data file 150 in accordance with the program 20 corresponding to the type specified in S72 (S74).
Next, the controller 16 creates one piece of image data from the intermediate language data created in S74 (S76). The process of S76 is executed in accordance with the image data creation program 22. The controller 16 writes the image data into the band memory 42.
The controller 16 writes image data 250 created from the first page of the data file 150 into the band memory 42-1. At this occasion, for the data file 150, the controller 16 writes the image data 250 into the position corresponding to the coordinates C1 and C2 specified in S44 of
Moreover, intermediate language data is not created for the data files 156 and 162 at the point where the process of S76 is performed for the data file 150. That is, before creating all of the intermediate language data corresponding to one page of the print medium 120, the controller 16 performs the process of creating one piece of image data from the first page of the data file 150 and writing this image data into the band memory 42. In the present embodiment, the eight pieces of image data 250 to 264 created from the respective data files 150 to 164 are printed onto mutually independent areas (i.e. the image data does not overlap). As a result, when intermediate language data is created from one data file (for example, 150), the process of creating image data and writing the image data into the band memory 42 can be started without waiting for the intermediate language data to be created from another data file (for example, 156).
In the example of
Moreover, at the stage of starting printing for the first band (the stage of starting to print the image data 250, 252, and 254), intermediate language data is not created from all the other data files 156 to 164. That is, in the present embodiment, since the band memory 42-1 of at least the first band has been completed, printing of the first band can be started before all of the intermediate language data corresponding to one page of the print medium 120 has been created.
Alternatively, in the process thread, the process proceeds to S78 when the image data has been created in S76 of
When the second band data has been completed, the controller 16 determines YES in S50 of
In the same manner as for the first band and the second band, the controller 16 creates third band (a final band in the present embodiment) data 262 and 264 and prints it. In this case, the controller 16 determines YES in S56, and ends the print process. The one page of print medium 120 that has the eight pieces of image data 250 to 264 printed thereon is thus completed.
For each of the plurality of data files 150 to 164 described by different PDLs, the printer 10 of the present embodiment converts the first pages of PDL data of the data files into the same intermediate language. As a result, it is possible to utilize the program 22 for creating the image data and writing the image data into the band memory 42 in common for a plurality of types of PDL. Since it is possible to create the image data from the intermediate language data in accordance with the common program 22 and write this image data into the band memory 42, it is possible to write the plurality of pieces of image data 250 to 264 created from different PDLs into the same band memory 42. As a result, it is possible to print the plurality of pieces of image data 250 to 264 created from different PDLs onto the one page of print medium 120. That is, the printer 10 of the present embodiment is capable of index printing the plurality of pieces of image data 250 to 264 created from different PDLs.
Further, the printer 10 performs, in parallel, the same number of process threads as the number of pieces of image data that are to be aligned in the crosswise direction. In each of the process threads, the first page of PDL data of the data file is initially converted into the intermediate language data, then the intermediate language data is converted into the image data, and the image data is consequently written into the band memory 42. That is, a series of processes are performed in which, with one piece of PDL data (one data file) as being one unit to carry out the processes upon; whereas the PDL data is converted into intermediate language data, the aforesaid intermediate language data is converted into image data, and the aforesaid image data is written into the band memory 42. As a result, the printer 10 can start writing the image data into the band memory 42 before the intermediate language data has been created from the entirety of the data files 150 to 164. A process that is the antithesis of this process can be considered, in which the creation of the image data is started only after waiting for the intermediate language data to be created from the entirety of the data files 150 to 164. However, in this process, the intermediate language data created from all the data files 150 to 164 must be stored, and consequently the load on the memory is large. It is also possible to adopt, as another method, a method in which, before the intermediate language data has been created from the entirety of the data files 150 to 164, image data is created from intermediate language data that has been created and this image data is compressed. However, even if this method is adopted, it is necessary to store the compressed data until the intermediate language data has been created from the entirety of the data files 150 to 164, and consequently the load on the memory is still large. By contrast, since the printer 10 of the present embodiment performs the above series of processes with one piece of PDL data as a unit, it is possible, when intermediate language data has been created for that PDL data, to convert that intermediate language data into image data, to write the image data into the band memory 42, and to delete the intermediate language data and the image data, thereby realizing the printer 10 capable of performing the process with a small load on the memory.
The description below will focus mainly on the features differing from the first embodiment. In the present embodiment, a page memory 142 is utilized instead of the band memory 42. The page memory 142 is a memory for storing image data corresponding to at least one page worth of print medium.
In the present embodiment, the contents of the processes performed by the controller 16 differ from those of the first embodiment. Specifically, the features as below differ therefrom. The controller 16 does not create the image data in band units. As a result, the processes of S18, S26, and S28 of
Further, the process after YES has been determined in S10 of
S130 through S134 are the same as S70 through S74 of
When a plurality of process threads have been activated simultaneously in S106 of
According to the present embodiment, as well, it is possible to perform index printing of a plurality of pieces of image data 250 to 264 created from different PDLs. Further, since the series of processes can be performed with one piece of PDL data (one data file) as a unit, it is possible to perform the processes with a small load on the memory.
Variants of the above embodiments will be given below.
(1) In the above embodiments, the controller 16 may activate only one process thread. In this case, the process thread repeats the creation of one piece of image data from one data file. In this example, as well, it is possible to perform the series of processes with one piece of PDL data (one data file) as a unit.
(2) The technique of the above embodiments can be applied not only in the case of creating image data for printing, but also in the case of creating multi gradation image data for display.
(3) The image data need not be created from only the first page for one data file. That is, in the case for example where two data files described by different PDLs are present, a plurality of pieces of image data (four, for example) may be created from a plurality of pages (for example, four pages) of PDL data that constitute one data file, a plurality of pieces of image data (three, for example) may be created from a plurality of pages (for example, three pages) of PDL data that constitute the other data file, and all the image data (for example, seven pieces of image data) may be printed onto one page of print medium. Further, for one data file, image data may be created from a plurality of pages within the data file.
A part of technique disclosed in the above embodiment will be described. The intermediate language data creation device and the image data creation device may perform a process to create the intermediate language data, create the image data from the intermediate language data, and write the image data into the memory. There is no particular restriction on a quantitative composition of a unit for executing the aforesaid process. For example, in a case where one page of output image is the unit for executing the process, the intermediate language data creation device and the image data creation device may create the intermediate language data from all of the original PDL data of the plurality of pieces of image data that are to be disposed on one page of an output image, and then start to create the image data and write the image data into the memory. However, in this method, a large memory capacity is required to store all the intermediate language data corresponding to the whole one page of output image. In order to perform the process with a smaller memory capacity, it is also possible to adopt a technique in which, before all of the intermediate language data corresponding to one page of an output image has been created, image data is created from the intermediate language data that has already been created, then the intermediate language data from which the image data has been created is deleted, and only the image data is compressed and stored. However, in this method as well, it is necessary to store the compressed data until all of the intermediate language data corresponding to one page of an output image has been created. In order to perform the process with a smaller memory capacity, the following configuration may be adopted.
That is, the intermediate language data creation device and the image data creation device may be configured to perform a process in a unit of one piece of the PDL data (that is, in a unit of one piece of image data that is to be created). This process may include the following: creating one piece of the intermediate language data from one piece of the PDL data; creating one piece of the image data from the one piece of intermediate language data; writing the one piece of image data in a position within the memory corresponding to the position determined by the position determination device with respect to the original PDL data of the one piece of image data; and deleting the one piece of intermediate language data. As described above, in the case where the one page of the output image is the unit, it is necessary to have a large capacity memory in order to store all of the intermediate language data (or the compressed data) corresponding to the whole of the one page of the output image. By contrast, with the present technique, the process is performed with one piece of PDL data being the unit for executing the process, and consequently, without waiting for all of the intermediate language data corresponding to the whole one page of the output image to be created, it is possible to convert the data from intermediate language data into image data and write this image data into the memory, and then to delete the intermediate language data to which the process has been completed. As a result, it is possible to perform the process with a smaller memory capacity.
The above technique of performing the process with one piece of the PDL data as a unit can also be expressed in the manner below. If predetermined intermediate language data is created from the PDL data included in a data file of the data files before all the intermediate language data corresponding to one page of the output image has been created, the image data creation device may create one piece of image data from the predetermined intermediate language data, and start to write the one piece of image data in the position within the memory corresponding to the position determined by the position determination device with respect to the original PDL data of the one piece of image data. According to this configuration, the image data creation device can convert the intermediate language data that has already been created into image data before the creation of all the intermediate language data corresponding to one whole page of the output image is completed, and can write this already-created image data into the page memory or the band memory. In this case, it is possible to delete the processed intermediate language data which has been converted into the image data and written into the memory. It is thereby possible to perform the process with lower memory capacity.
Moreover, in the above technique, the above process may be performed for one piece of PDL data, and then the above process may again be performed for the next one piece of PDL data. That is, only one process thread for performing the above process may be activated. However, in order to perform the process more efficiently, a plurality of processes may be performed in parallel. Various examples of performing a plurality of processes in parallel will be set forth below.
The intermediate language data creation device may be configured to perform a plurality of first processes in parallel. Moreover, the term “perform in parallel” does not mean only to perform the processes simultaneously, but also includes activating a plurality of process threads in parallel (in the case where the processes are not being performed simultaneously). A number of the plurality of first processes may be identical to a number of the plurality of pieces of image data to be output as one page of the output image. Each of the first processes may include creating the intermediate language data from the original PDL data of different one piece of image data. It may also be expressed that, in each of the first processes, the intermediate language data is created from the original PDL data that is different from those used in the other first processes. This configuration is effective in the case where, as below, the page memory is utilized.
That is, the memory may be a page memory configured to store the image data corresponding to at least one page of the output image. The image data creation device may be configured to perform a plurality of second processes in parallel. A number of the plurality of second processes may be identical to a number of the plurality of pieces of image data to be output as one page of the output image. Each of the second processes may include: creating one piece of the image data from the intermediate language data created in different one first process among the plurality of first processes; writing the one piece of image data in the position within the memory corresponding to the position determined by the position determination device with respect to the original PDL data of the one piece of image data, and deleting the intermediate language data created in the different one first process. According to this configuration, a process can be performed in which, with the one piece of PDL data being the unit of the process, the intermediate language data is created, and the image data is created from the aforesaid intermediate language data, and the aforesaid image data is written into the page memory.
Moreover, one first process and one second process may be performed by one process thread. That is, in one process thread, the process of creating the intermediate language data (the first process), and the process of creating the image data from the intermediate language data and writing this image data into the page memory (the second process) may be performed. In this case, “performing a plurality of process threads in parallel” is identical to “performing a plurality of first processes in parallel and performing a plurality of second processes in parallel”. That is, the intermediate language data creation device and the image data creation device may be configured to perform a plurality of process threads in parallel (process threads to perform the first processes and the second processes). A number of the plurality of process threads may be identical to a number of the plurality of pieces of image data to be output as one page of the output image. Each of the process threads may include the first process and the second process.
The above image output apparatus may be configured to output the plurality of pieces of image data which is disposed in a matrix pattern of M rows and N columns as one page of the output image. Moreover, the rows are aligned vertically, and the columns are aligned horizontally. For example, in a case where the image output apparatus prints the image data, “horizontal” may be a direction orthogonal to the feeding direction of the print medium and “vertical” may be the feeding direction of the print medium. Further, in a case for example where the image output apparatus displays the image data, “horizontal” may be the crosswise direction of the display screen, and “vertical” may be the lengthwise direction of the display screen. M may be 1 (in this case N is an integer equal to or greater than 2), or may be an integer equal to or greater than 2. Further, N may be 1, (in this case M is an integer equal to or greater than 2), or may be an integer equal to or greater than 2. Alternatively, a plurality of pieces of image data that is not aligned in this manner may be output as one page of the output image. For example, a plurality of pieces of image data may be output while being aligned along a circumference, and a plurality of pieces of image data may alternately be output while being aligned in a column along an oblique direction in the output image.
In a case where N is an integer greater than 1, the intermediate language data creation device may be configured to perform first processes in parallel. A number of the first processes may be identical to N. Each of the N first processes may include creating the intermediate language data from the original PDL data of different one piece of image data that is included in the N pieces of image data which are to be disposed on the same row. Moreover, in a case where M is an integer greater than 1, each of the N first processes may include the following: (1) creating the intermediate language data from the original PDL data of the image data to be disposed on a first row; (2) creating the intermediate language data from the original PDL data of the image data to be disposed on a second row which is subsequent to the first row; and (3) determining whether the second row is an M-th row. If the determination of (3) is a positive determination, the first process may end. On the other hand, if the determination of (3) is a negative determination, the process of (2) may be performed by utilizing the second row in (3) as the first row of (2). This configuration is effective in the case where the band memory is utilized as described below.
That is, the memory may be a band memory configured to store the image data corresponding to at least 1 band of the output image. The image data creation device may perform second processes in parallel. A number of the second processes may be identical to N. Each of the N second processes may include the following: creating one piece of the image data from the intermediate language data created in different one first process; writing the one piece of image data in the position within the memory corresponding to the position determined by the position determination device with respect to the original PDL data of the one piece of image data; and deleting the intermediate language data created in the different one first process. According to this configuration, it is possible to perform, with one piece of PDL data as the unit, a process in which intermediate language data is created, image data is created from the intermediate language data and the image data is written into the band memory.
The intermediate language data creation device and the image data creation device may be configured to perform process threads in parallel. A number of the process threads may be identical to N. Each of the N process threads may include the first process and the second process. Moreover, in this case, “performing N number of process threads in parallel” (each of which being the process thread for performing the first process and the second process) is identical with “performing N number of the first process in parallel and performing N number of the second process in parallel”.
The position determination device may determine, for each of the data files, the position within the output image in which the one piece of image data corresponding to a first page of PDL data included in the data file is to be disposed. In this case, the intermediate language data creation device may create, for each of the data files, intermediate language data described by the intermediate language from only the first page of PDL data included in the data file. According to this configuration, a plurality of pieces of image data created from the first page of the data files can be output as one page of an output image.
The position determination device may determine the position within the output image with respect to the PDL data based on the number of pieces of image data to be output as one page of the output image. The position determination device may determine the position within the output image with respect to the PDL data based on the size of the one page of the output image. In the case where a plurality of pieces of image data that are disposed in a matrix pattern of M rows and N columns are to be output as one page of an output image, the position determination device may determine the position within the output image for the PDL data based on M and N. M and N may be determined by the user.
The printer may print the plurality of pieces of image data onto one page of a print medium. The printer may create the image data in band units. A “band” is a unit smaller than one page. That is, one page is a collection of a plurality of bands. The printer may print in sequence from one end to the other end of the print medium. In this case, the printer may (1) create a band memory storing the image data to be printed on a band that have a predetermined width from the one end of the print medium, (2) create a band memory storing the image data to be printed on the succeeding band that has the above predetermined width, and (3) repeat (2) above until a band memory storing the image data to be printed on a band having the predetermined width and including the other end of the print medium has been created.
Moreover, the technique set forth in the present specification may be utilized in various modes of a method for controlling the image output apparatus, in a computer program for realizing the image output apparatus, in a storage medium in which the computer program is stored, etc.
Number | Date | Country | Kind |
---|---|---|---|
2008-093652 | Mar 2008 | JP | national |