The present application claims priority upon Japanese Patent Application No. 2003-137538 filed May 15, 2003 and Japanese Patent Application No. 2003-362010 filed Oct. 22, 2003, the contents of which are herein incorporated by reference.
1. Field of the Invention
The present invention relates to printing methods, printing apparatuses, and computer-readable storage media.
2. Description of the Related Art
Straight-feed printers (in which a medium is carried straightly) and drum-feed printers (in which a medium is carried while being bore on a drum) are known as printing apparatuses that perform printing by moving (or “scanning”) a print head in a moving direction (or “main-scanning direction”). U.S. Pat. No. 4,198,642 and Japanese Patent Application Laid-open Publication No. 53-2040 disclose a technique, which is referred to as the “interlace scheme”, for improving the image quality of such types of printers, and in particular, inkjet printers.
The number of nozzles N (pieces) is the number of pieces of nozzles that are used for forming dots, and indicates the maximum number of nozzles that can be used upon one scanning movement in the main-scanning direction. In the example of
In
The interlace scheme shown in
The interlace scheme is advantageous in that it is possible to disperse, over the printed image, variations in nozzle pitch, ink ejection characteristics, and so forth. Therefore, even if there are variations in nozzle pitch and/or ejection characteristics, the interlace scheme has the effect of being able to lessen the influence caused by such variations, thus improving image quality.
Japanese Patent Application Laid-open Publication No. 3-207665 and Japanese Patent Application Examined Publication No. 4-19030 disclose another technique, which is referred to as the “overlapping scheme” or the “multi-scan scheme”, aimed at improving the image quality of color inkjet printers.
With the overlapping scheme, the dots of a main-scan line are not printed by a single nozzle, but they are printed using several nozzles. Therefore, even if there are variations in nozzle characteristics (such as characteristics in pitch and/or ejection), it is possible to prevent such characteristics of a specific nozzle from affecting the whole main-scan line, and thus, it is possible to improve image quality.
In printers that perform printing by driving a print head in the main-scanning direction, there are situations in which “banding” (i.e., unevenness in printing that appears in band-like strips) occurs due to misalignment of the angle at which the print head is mounted.
In the example of
The matrix-like area within the outer border 210 is filled in by repeating the above-described operations.
The present invention has been made in view of the above and other problems. An object thereof is to achieve a printing method, a printing apparatus, and a computer-readable storage medium having recorded thereon a printing program, which are capable of preventing occurrence of banding, even when the print head is tilted. Another object thereof is to achieve a printing method, a printing apparatus, and a computer-readable storage medium having recorded thereon a printing program, which are capable of preventing occurrence of banding, without giving rise to a decrease in printing speed, even when the print head is tilted.
An aspect of the present invention aimed at accomplishing at least some of the above and other objects is a printing method comprising the steps of:
in a first movement, moving a print head to form dots on a medium at aperiodic intervals in a moving direction of the print head, wherein the print head includes N pieces of nozzles arranged at a constant pitch in a direction that intersects with the moving direction, wherein the N pieces of nozzles are for forming N dots of a same color, and wherein N is an integer of at least two;
in second through M-th movements, moving the print head to form, on the medium, the rest of the dots that were not formed in the first movement, wherein M is an integer of at least two; and
repeating the first through M-th movements to print information on the medium.
Another aspect of the present invention aimed at accomplishing at least some of the above and other objects is a printing method comprising the steps of:
subjecting image data that is used for forming dots on a medium with at least one nozzle formed at an upper end, in a predetermined direction, of a print head to a first dispersion process using dispersion data, wherein the print head is movable in a moving direction, wherein the predetermined direction is a direction that intersects with the moving direction, wherein the print head includes N pieces of nozzles arranged at a constant pitch in the predetermined direction, wherein the N pieces of nozzles are for forming N dots of a same color on the medium, wherein N is an integer of at least two, and wherein the dispersion data is for a periodically dispersing image data that is used for forming dots in one movement of the print head;
subjecting image data that is used for forming dots on the medium with at least one nozzle formed at a lower end, in the predetermined direction, of the print head to a second dispersion process using data that is obtained by inverting the dispersion data used for the first dispersion process; and
supplying
Features and objects of the present invention other than the above will become clear by reading the description of the present specification with reference to the accompanying drawings.
In order to facilitate further understanding of the present invention and the advantages thereof, reference is now made to the following description taken in conjunction with the accompanying drawings wherein:
At least the following matters will be made clear by the explanation in the present specification and the description of the accompanying drawings.
An aspect of the present invention is a printing method comprising the steps of:
in a first movement, moving a print head to form dots on a medium at aperiodic intervals in a moving direction of the print head, wherein the print head includes N pieces of nozzles arranged at a constant pitch in a direction that intersects with the moving direction, wherein the N pieces of nozzles are for forming N dots of a same color, and wherein N is an integer of at least two; and
in second through M-th movements, moving the print head to form, on the medium, the rest of the dots that were not formed in the first movement, wherein M is an integer of at least two; and
repeating the first through M-th movements to print information on the medium.
In this way, it becomes possible to prevent occurrence of banding, even when the print head is tilted.
Further, each dot row that is formed on the medium and that is aligned in the moving direction may be formed during the first through M-th movements by at least two different ones of the nozzles. In this way, it becomes possible to prevent occurrence of banding certainly by dispersing the influence due to tilting of the print head.
Further, during the first through M-th movements, interlace printing may be performed by carrying the medium at least once for a distance that corresponds to a value obtained by multiplying an integer to half the distance of the pitch at which the nozzles are arranged. In this way, it is possible to effectively prevent occurrence of banding that is caused by misalignment, in the sub-scanning direction, in the positions at which dots are formed.
Further, during the first through M-th movements, interlace printing may be performed by forming a portion of the dots in a dot row by using the N pieces of nozzles at predetermined intervals during one movement, and forming the rest of the dots in the dot row by using the rest of the N pieces of nozzles during the rest of the movements. In this way, it is possible to effectively prevent occurrence of banding that is caused by misalignment, in the sub-scanning direction, in the positions at which dots are formed.
Further, a print pattern for dots formed in the moving direction during each of the first through M-th movements may be different for each of the N pieces of nozzles. In this way, it is possible to prevent occurrence of banding advantageously, even when the print head is tilted, by certainly dispersing the positions at which dots are formed.
Further, a print pattern for dots formed in the moving direction during each of the first through M-th movements may be different for each color. In this way, it is possible to prevent occurrence of banding advantageously, even when the print head is tilted, by certainly dispersing for each color the positions at which dots are formed.
Further, the printing method may further comprise: preparing at least two print heads; and performing a portion of the first through M-th movements with one of the print heads, and performing another portion of the first through M-th movements with another of the print heads. In this way, it is possible to prevent occurrence of banding certainly, and also increase printing speed.
Further, print data that is to be supplied to each of the nozzles may be generated from original image data by using dispersion data stored in a dispersion table. In this way, it becomes possible to generate the print data at high speed.
Further, in the dispersion data, values “1” each indicating that a dot is to be formed, and values “0” each indicating that no dot is to be formed may be arranged in a matrix; and the print data may be generated by multiplying the dispersion data and the original image data. Since it is possible to generate the print data through bit calculation, it becomes possible to increase processing speed.
Further, if the size of the original image data is larger than the size of the dispersion data, then the original image data may be divided into a plurality of areas each corresponding to the size of the dispersion data, and the dispersion data may be multiplied to each of the areas. In this way, the storage capacity necessary for storing the dispersion data can be reduced.
Another aspect of the present invention is a printing method comprising the steps of: in a first movement, moving a print head to form dots on a medium at aperiodic intervals in a moving direction of the print head, wherein the print head includes N pieces of nozzles arranged at a constant pitch in a direction that intersects with the moving direction, wherein the N pieces of nozzles are for forming N dots of a same color, and wherein N is an integer of at least two; in second through M-th movements, moving the print head to form, on the medium, the rest of the dots that were not formed in the first movement, wherein M is an integer of at least two; and repeating the first through M-th movements to print information on the medium, wherein: each dot row that is formed on the medium and that is aligned in the moving direction is formed during the first through M-th movements by at least two different ones of the nozzles; during the first through M-th movements, interlace printing is performed by carrying the medium at least once for a distance that corresponds to a value obtained by multiplying an integer to half the distance of the pitch at which the nozzles are arranged; during the first through M-th movements, interlace printing is performed by forming a portion of the dots in a dot row by using the N pieces of nozzles at predetermined intervals during one movement, and forming the rest of the dots in the dot row by using the rest of the N pieces of nozzles during the rest of the movements; a print pattern for dots formed in the moving direction during each of the first through M-th movements is different for each of the N pieces of nozzles; a print pattern for dots formed in the moving direction during each of the first through M-th movements is different for each color; the method further comprises: preparing at least two print heads; and performing a portion of the first through M-th movements with one of the print heads, and performing another portion of the first through M-th movements with another of the print heads; print data that is to be supplied to each of the nozzles is generated from original image data by using dispersion data stored in a dispersion table; in the dispersion data, values “1” each indicating that a dot is to be formed, and values “0” each indicating that no dot is to be formed are arranged in a matrix; the print data is generated by multiplying the dispersion data and the original image data; and if the size of the original image data is larger than the size of the dispersion data, then the original image data is divided into a plurality of areas each corresponding to the size of the dispersion data, and the dispersion data is multiplied to each of the areas.
In this way, it is possible to achieve substantially all of the effects described above.
Another aspect of the present invention is a printing apparatus comprising: a print head that is movable in a moving direction and that includes N pieces of nozzles arranged at a constant pitch in a direction intersecting with the moving direction, wherein the N pieces of nozzles are for forming N dots of a same color, and wherein N is an integer of at least two; and a controller for controlling movement of the print head, wherein: in a first movement, the controller moves the print head in the moving direction and makes the print head form dots on a medium at aperiodic intervals in the moving direction; in second through M-th movements, the controller moves the print head in the moving direction and makes the print head form, on the medium, the rest of the dots that were not formed in the first movement, wherein M is an integer of at least two; and the controller makes the print head repeat the first through M-th movements to print information on the medium.
With this printing apparatus, it becomes possible to prevent occurrence of banding, even when the print head is tilted.
It is also possible to achieve a computer-readable storage medium having recorded thereon a computer program for a printing apparatus including a print head that is movable in a moving direction and that includes N pieces of nozzles arranged at a constant pitch in a direction intersecting with the moving direction, wherein the N pieces of nozzles are for forming N dots of a same color, and wherein N is an integer of at least two, the computer program causing the printing apparatus to achieve functions of: in a first movement, moving the print head in the moving direction and causing the print head to form dots on a medium at aperiodic intervals in the moving direction; in second through M-th movements, moving the print head in the moving direction and causing the print head to form, on the medium, the rest of the dots that were not formed in the first movement, wherein M is an integer of at least two; and causing the print head to repeat the first through M-th movements to print information on the medium.
In this way, it becomes possible to prevent occurrence of banding, even when the print head is tilted.
Another aspect of the present invention is a printing method comprising the steps of:
subjecting image data that is used for forming dots on a medium with at least one nozzle formed at an upper end, in a predetermined direction, of a print head to a first dispersion process using dispersion data, wherein the print head is movable in a moving direction, wherein the predetermined direction is a direction that intersects with the moving direction, wherein the print head includes N pieces of nozzles arranged at a constant pitch in the predetermined direction, wherein the N pieces of nozzles are for forming N dots of a same color on the medium, wherein N is an integer of at least two, and wherein the dispersion data is for aperiodically dispersing image data that is used for forming dots in one movement of the print head;
subjecting image data that is used for forming dots on the medium with at least one nozzle formed at a lower end, in the predetermined direction, of the print head to a second dispersion process using data that is obtained by inverting the dispersion data used for the first dispersion process; and
supplying
In this way, it becomes possible to prevent occurrence of banding, without giving rise to a decrease in printing speed, even when the print head is tilted.
Further, the medium may be carried to form, on the medium, a line of dots by superposing dots corresponding to the image data that has been subjected to the first dispersion process and dots corresponding to the image data that has been subjected to the second dispersion process. In this way, scan lines are formed by dots that are created by different nozzles, and thus, it is possible to prevent occurrence of banding certainly.
Further, interlace printing may be performed by alternately using the N pieces of nozzles at predetermined intervals. In this way, dots that are adjacent to each other in the vertical direction will be formed by different nozzles, and thus, it becomes possible to prevent occurrence of banding certainly.
Further, the number of nozzles to be targeted for the dispersion process may be increased or decreased according to an amount of tilt of the print head. In this way, by increasing the number of nozzles that are to be subjected to the dispersion process when the amount of tilt of the print head is large, it becomes possible to prevent occurrence of banding efficiently.
Further, the dispersion data used for the first dispersion process may be made up of a plurality of pieces of data that differ for each color. In this way, by carrying out the dispersion process using dispersion data that differ for each color, it becomes possible to prevent occurrence of banding effectively.
Further, the printing method may further comprise: preparing at least two print heads; and supplying the image data that has been subjected to the first dispersion process to one of the print heads, and supplying the image data that has been subjected to the second dispersion process to another of the print heads. In this way, by performing printing using a plurality of print heads, it becomes possible to shorten the time necessary for performing printing.
Further, the dispersion data may be made up of values “1” each indicating that a dot is to be formed, and values “0” each indicating that no dot is to be formed; the first dispersion process may be performed by multiplying the image data and the dispersion data; and the second dispersion process may be performed by multiplying the image data and the data that is obtained by inverting the dispersion data. In this way, it is possible to execute the dispersion process through calculation of bits, and thus, it becomes possible to increase processing speed.
Further, the data used in the second dispersion process may be obtained by inverting the bits in the dispersion data used for the first dispersion process. In this way, the storage area for storing the dispersion data can be reduced.
Further, if the size of the image data is larger than the size of the dispersion data, then, in the first dispersion process and the second dispersion process, the image data may be divided into a plurality of areas each corresponding to the size of the dispersion data, and the dispersion data, or the data that is obtained by inverting the dispersion data, may be multiplied to each of the areas. In this way, it becomes possible to reduce the amount of dispersion data, and thus, the storage area for storing the dispersion data can be reduced.
Another aspect of the present invention is a printing method comprising the steps of: subjecting image data that is used for forming dots on a medium with at least one nozzle formed at an upper end, in a predetermined direction, of a print head to a first dispersion process using dispersion data, wherein the print head is movable in a moving direction, wherein the predetermined direction is a direction that intersects with the moving direction, wherein the print head includes N pieces of nozzles arranged at a constant pitch in the predetermined direction, wherein the N pieces of nozzles are for forming N dots of a same color on the medium, wherein N is an integer of at least two, and wherein the dispersion data is for aperiodically dispersing image data that is used for forming dots in one movement of the print head; subjecting image data that is used for forming dots on the medium with at least one nozzle formed at a lower end, in the predetermined direction, of the print head to a second dispersion process using data that is obtained by inverting the dispersion data used for the first dispersion process; and supplying the image data that has been subjected to the first dispersion process, the image data that has been subjected to the second dispersion process, and image data corresponding to the nozzles that are not targeted for the first dispersion process nor the second dispersion process to the print head, wherein: the medium is carried to form, on the medium, a line of dots by superposing dots corresponding to the image data that has been subjected to the first dispersion process and dots corresponding to the image data that has been subjected to the second dispersion process; interlace printing is performed by alternately using the N pieces of nozzles at predetermined intervals; the number of nozzles to be targeted for the dispersion process is increased or decreased according to an amount of tilt of the print head; the dispersion data used for the first dispersion process is made up of a plurality of pieces of data that differ for each color; the method further comprises the steps of: preparing at least two print heads; and supplying the image data that has been subjected to the first dispersion process to one of the print heads, and supplying the image data that has been subjected to the second dispersion process to another of the print heads; the dispersion data is made up of values “1” each indicating that a dot is to be formed, and values “0” each indicating that no dot is to be formed; the first dispersion process is performed by multiplying the image data and the dispersion data; the second dispersion process is performed by multiplying the image data and the data that is obtained by inverting the dispersion data; the data used in the second dispersion process is obtained by inverting the bits in the dispersion data used for the first dispersion process; and if the size of the image data is larger than the size of the dispersion data, then, in the first dispersion process and the second dispersion process, the image data is divided into a plurality of areas each corresponding to the size of the dispersion data, and the dispersion data, or the data that is obtained by inverting the dispersion data, is multiplied to each of the areas.
In this way, it is possible to achieve substantially all of the effects described above.
Another aspect of the present invention is a printing apparatus comprising: a print head that is movable in a moving direction and that includes N pieces of nozzles arranged at a constant pitch in a predetermined direction intersecting with the moving direction, wherein the N pieces of nozzles are for forming N dots of a same color on a medium, and wherein N is an integer of at least two; and a controller for controlling movement of the print head, wherein: the controller subjects image data that is used for forming dots on the medium with at least one nozzle formed at an upper end, in the predetermined direction, of the print head to a first dispersion process using dispersion data, wherein the dispersion data is for aperiodically dispersing the image data that is used for forming dots in one movement of the print head; the controller subjects image data that is used for forming dots on the medium with at least one nozzle formed at a lower end, in the predetermined direction, of the print head to a second dispersion process using data that is obtained by inverting the dispersion data used for the first dispersion process; and the controller supplies the image data that has been subjected to the first dispersion process, the image data that has been subjected to the second dispersion process, and image data corresponding to the nozzles that are not targeted for the first dispersion process nor the second dispersion process to the print head.
With this printing apparatus, it becomes possible to prevent occurrence of banding, without giving rise to a decrease in printing speed, even when the print head is tilted.
It is also possible to achieve a computer-readable storage medium having recorded thereon a computer program for a printing apparatus including a print head that is movable in a moving direction and that includes N pieces of nozzles arranged at a constant pitch in a predetermined direction intersecting with the moving direction, wherein the N pieces of nozzles are for forming N dots of a same color on a medium, and wherein N is an integer of at least two, the computer program causing the printing apparatus to achieve functions of: subjecting image data that is used for forming dots on the medium with at least one nozzle formed at an upper end, in the predetermined direction, of the print head to a first dispersion process using dispersion data, wherein the dispersion data is for aperiodically dispersing the image data that is used for forming dots in one movement of the print head; subjecting image data that is used for forming dots on the medium with at least one nozzle formed at a lower end, in the predetermined direction, of the print head to a second dispersion process using data that is obtained by inverting the dispersion data used for the first dispersion process; and supplying the image data that has been subjected to the first dispersion process, the image data that has been subjected to the second dispersion process, and image data corresponding to the nozzles that are not targeted for the first dispersion process nor the second dispersion process to the print head.
In this way, it becomes possible to prevent occurrence of banding, without giving rise to a decrease in printing speed, even when the print head is tilted.
===Configuration Example of Printing Apparatus===
An embodiment of the present invention is described below with reference to the drawings.
First, an overview of a printing apparatus is described with reference to
<Configuration Example of Printer 22>
As shown in
The printer 22 also includes: a print head unit 60 that is mounted on the carriage 31 and that has a print head 12; a head drive mechanism for driving the print head unit 60 to control ink ejection and dot formation; and a control circuit 40 that manages signal exchange among the paper feed motor 23, the carriage motor 24, the print head unit 60, and a control panel 32.
Next, the configuration of the print head 12 is described with reference to
As shown in
The print head 12 is provided on the bottom section of the carriage 31, and nozzle rows are formed in the print head 12. The nozzle rows each correspond to the different colors of ink, and in each nozzle row, nozzles which serve as ink ejecting sections are arranged in a row in the carrying direction of the print paper P. These nozzles serve as dot forming elements.
Further, as for each nozzle row, which is provided in the bottom section of the carriage 31 and which corresponds to each of the different kinds of ink, a piezoelectric element is arranged for each nozzle. The piezoelectric element is a type of an electrostrictive element and has a good responsiveness. The piezoelectric element is provided at a position where it contacts a member that forms an ink passage for guiding the ink to the nozzle. The piezoelectric element causes deformation in the crystal structure when a voltage is applied and is thereby capable of performing conversion between electrical and mechanical energy at an extremely high speed.
In the present embodiment, by applying a voltage between electrodes provided on both ends of the piezoelectric element at predetermined time intervals, the piezoelectric element expands during the period of time in which the voltage is applied, and thus causes the wall of the ink passage on one side to deform. As a result, the volume of the ink passage decreases according to the expansion of the piezoelectric element, and ink amounting to this volume decrease is ejected, as ink droplets, at high speed from the tip of the nozzle. The ink droplets soak into the print paper P that lies over the paper feed roller 26 to thereby form dots and perform printing. The size of the ink droplets can be varied by changing the way of applying the voltage to the piezoelectric element. Thus, it is possible, for example, to form dots in three different sizes, i.e., large, medium, and small.
The control circuit 40, which serves as a controller, a portion of a first driving means, a portion of a second driving means, as well as a portion of a repeating means, is connected to the computer 90 via a connector 56. As described further below, the computer 90 has installed a driver program for the printer 22 and serves as a user interface for accepting user commands that are input through operation of input devices, such as a keyboard and a mouse, and for presenting to the user various kinds of information about the printer 22 by displaying a screen on a display device.
The sub-scan carrying mechanism for carrying the print paper P has a gear train (not shown) for transmitting the rotation of the paper feed motor 23 to the paper feed roller 26 and a paper carrying roller (not shown).
Further, the main-scan carrying mechanism for moving the carriage 31 back and forth has: a slide shaft 34 that is bridged over the paper feed roller 26 in a direction parallel to the axis of the paper feed roller 26 and that slidably holds the carriage 31; a pulley 38 between which and the carriage motor 24 is stretched an endless drive belt 36; and an optical sensor 39 for detecting the home position (the position of origin) of the carriage 31 and for detecting a print correction pattern, which is described later. It should be noted that the optical sensor 39 is structured of a light source that emits light onto the print paper P, and a line sensor (or CCD elements) for converting the light reflected from the print paper P into corresponding image signals.
As shown in
The control circuit 40 further includes: an I/F dedicated circuit 50 designed to serve as an interface (I/F) between, for example, external motors; a head drive circuit 52 that is connected to the I/F dedicated circuit 50 and that makes the print head unit 60 drive to eject ink; and a motor drive circuit 54 for driving the paper feed motor 23 and the carriage motor 24.
The I/F dedicated circuit 50 has inside a parallel interface circuit and is capable of receiving print signals PS supplied from the computer 90 via the connector 56.
<Configuration Example of Computer 90>
Next, the configuration of the computer 90 is described with reference to
As shown in
The CPU 91, which serves also as a first processing means and a second processing means, is a controller for executing various computing processes according to programs stored in the ROM 92 or the HDD 94, and for controlling the various sections of the apparatus.
The ROM 92 is a memory that stores basic programs and data that are executed by the CPU 91. The RAM 93, which serves as a storing means, is a memory that temporarily stores, for example, programs that are currently being executed by the CPU 91 and data that are being computed.
The HDD 94 is a recording device that reads out data and programs recorded on a hard disk, which is a storage medium, in response to requests from the CPU 91, and also records, onto the hard disk, data that have been generated as a result of the computing processes of the CPU 91.
The video circuit 95 is a circuit that executes drawing processes according to drawing commands that are supplied from the CPU 91, and that converts obtained image data into video signals to output them to the display device 98.
The I/F 96, which serves as a controller and a supplying means, is a circuit that appropriately converts the expression format of the signals that have been output from the input device 99 and the external storage device 100, and that outputs print signals PS to the printer 22.
The bus 97 is a signal line that mutually connects the CPU 91, the ROM 92, the RAM 93, the HDD 94, the video circuit 95, and the I/F 96, and that enables data exchange among these components.
The display device 98 is structured, for example, of an LCD (Liquid Crystal Display) monitor or a CRT (Cathode Ray Tube) monitor, and is for displaying images corresponding to the video signals having been output from the video circuit 95.
The input device 99 is structured, for example, of a keyboard and/or a mouse, and generates and supplies, to the I/F 96, signals in response to user operations.
The external storage device 100 is structured, for example, of a CD-ROM (Compact Disk-ROM) drive unit, an MO (Magneto Optic) drive unit, or an FDD (Flexible Disk Drive) unit, and reads out and supplies, to the CPU 91, data and programs recorded on a CD-ROM disk, an MO disk, or an FD. As for MO drive units and FDD units, the device 100 is also for recording the data supplied from the CPU 91 onto an MO disk or an FD.
The application program 121 is, for example, an image processing program, and is executed after an image taken in from a digital camera, for example, or an image drawn by a user has been processed and when the processed image is to be output to the printer driver program 130 and the video driver program 122.
The video driver program 122 is for driving the video circuit 95, and, for example, is executed after the image data supplied from the application program 121 has been subjected to gamma processing, white balance adjustment, or the like and when video signals are to be generated and supplied to the display device 98 for display.
The printer driver program 130 is made up of a resolution conversion module 131, a color conversion module 132, a color conversion table 133, a halftone module 134, a record rate table 135, a print data generating module 136, and a dispersion table 137. The printer driver program 130 is executed when print data are generated by subjecting the image data generated by the application program 121 to various kinds of processes described below, and the print data are supplied to the printer 22.
The resolution conversion module 131 is executed when a process is performed for converting the resolution of the image data supplied from the application program 121 according to the resolution of the print head 12.
The color conversion module 132 is executed when a process is performed for converting image data expressed in the RGB (Red, Green, and Blue) color system into image data expressed in the CMYK (Cyan, Magenta, Yellow, and Black) color system with reference to the color conversion table 133.
The halftone module 134 is executed when converting, according to dithering described later, the image data expressed in the CMYK color system into bitmap data made up of a combination of, for example, three types of dots—large, medium, and small—with reference to the record rate table 135.
The print data generating module 136, which serves as a controller, a portion of the first driving means, a portion of the second driving means, as well as a portion of the repeating means, is executed when generating, from the bitmap data output from the halftone module 134, print data that include raster data indicating the state in which dots are to be recorded during each main-scanning movement, and data indicating the feed amount of sub-scanning movement, and when supplying the print data to the printer 22.
The dispersion table 137 is a table that is referred to when the raster data, which indicate the state in which dots are to be recorded during each main-scanning movement, are generated from the bitmap data, which have been output from the halftone module 134, and includes dispersion data for dispersedly printing the dots.
The print data, which have been generated by executing the print data generating module 136, are supplied to the printer 22, and dots that correspond to the print data are formed on the print paper P.
<First Embodiment of Dot Formation Process>
Next, a flow of a process according to the first embodiment through which dots are formed is described with reference to
Step S110:
The printer driver program 130 receives, from the application program 121, image data expressed in the RGB color system. It should be noted that the image data have gray-level values in 256 levels, i.e., made up of values 0 through 255, for each color of R, G, and B and for each pixel. Image data having gray-level values in 64 levels (values 0 through 63) or 32 levels (values 0 through 31) may be adopted, but in this embodiment, data with gray-level values in 256 levels as described above are used for explanation.
Step S111:
The resolution conversion module 131 converts the resolution of the image data, which have been input, into the resolution of the printer 22 (which is referred to as “print resolution” below). If the resolution of the image data is lower than the print resolution, then resolution conversion is performed by generating new data between adjacent ones of original image data through linear interpolation etc. On the contrary, if the resolution of the image data is higher than the print resolution, then resolution conversion is performed, for example, by thinning out the image data at a predetermined rate.
Step S112:
The color conversion module 132 performs a color conversion process. The color conversion process is a process for converting the image data that have gray-level values for each R, G, and B into multi-level data expressing gray-level values for each color of C, M, Y, and K that are used in the printer 22. This process is performed using the color conversion table 133 in which the colors made up by combinations of R, G, and B are recorded in association with combinations of C, M, Y, and K so that they can be expressed using the printer 22.
Step S113:
The halftone module 134 performs a halftone process with respect to the image data that have been subjected to color conversion at step S112. The halftone process is a process for performing a decrease in color, i.e., for changing the gray-level values of the original image data (256 levels in the present embodiment) to gray level values that can be expressed, for each pixel, by the printer 22. The term “decrease in color” means to decrease the number of levels in gray for expressing each color. It should be noted that more specifically, a decrease in color to four levels—“no dot formed”, “form small dot”, “form middle-size dot”, and “form large dot”—is performed, for example.
Step S114:
The print data generating module 136 performs a process for generating print data from the bitmap data generated through the halftone process. Print data include raster data indicating the state in which dots are to be recorded during each main-scanning movement, and data indicating the feed amount of sub-scanning movement. It should be noted that a dot dispersion process is executed when the print data are generated, but details on the dispersion process will be described further below with reference to
Step S115:
The print data generating module 136 outputs, to the printer 22, the print data that have been generated through the print data generating process at step S114. Then the process is ended.
Next, the print data generating process, which is step S114 in the flowchart shown in
Step S130:
The print data generating module 136 generates dispersion data for dispersing the dots, and stores the dispersion data into the dispersion table 137.
It should be noted that “aperiodic” refers to cases other than the case in which “1” appears at constant intervals (such as at every other bit), for example.
The method for generating the dispersion data may be as follows. For example, when the row data 137a is to be generated, data “0000000000” is first prepared as original data. Then, a random number within the range of 1 through 10 is generated, and the bit corresponding to the random number obtained is changed to “1”. The same process is repeated until five bits are changed to “1”. The data thus obtained is taken as the row data 137a, and data obtained by inverting the row data 137a is taken as the row data 137c. The same process can be used to obtain the row data 137b and 137d.
It should be noted that in the example shown in
Step S131:
The print data generating module 136 obtains bitmap data for each color that correspond to the area to be printed. That is, the module obtains, from the halftone module 134, the bitmap data for each color that correspond to the area that is to be printed next with one scanning movement.
Step S132:
The print data generating module 136 obtains raster data by multiplying, to each bit in the bitmap data obtained for each color, a corresponding bit in the dispersion data, which is stored in the dispersion table 137. It should be noted that if the size of the bitmap data is larger than the dispersion data, then the bitmap data may be divided into several areas each corresponding to the size of the dispersion data, and the dispersion data may be multiplied to each of those areas.
Step S133:
The halftone module 134 generates paper feed data. For example, the paper feed data (i.e., the sub-scanning pitch L) is set such that it becomes 3/2 times the nozzle pitch k for an odd-numbered sub-scanning movement, as described below. Further, the paper feed data is set such that it becomes half the nozzle pitch k for an even-numbered sub-scanning movement.
Step S134:
The halftone module 134 supplies, to the printer 22, the print data including the raster data generated at step S132 and the paper feed data generated at step S133.
Step S135:
The halftone module 134 determines whether or not printing has finished. If it is determined that printing is not finished, then the process returns to step S131 and the same processes are repeated, and in other cases, the process is ended.
Next, the operations of the printer 22 that has received the print data, which have been generated according to the processes described above, is described with reference to
The same processes are repeated for each color, and a desired image is printed on the print paper P by repeating these processes over the entire image.
Further, according to the foregoing embodiment, since the sections 150 in which the dots are sparsely scattered and the sections 151 in which the dots are densely gathered are randomly dispersed, the sharpness of an image can be reduced, thereby allowing obtainment of a soft-touch image. That is, the pixels (dots) are suitably dispersed as with silver halide photography, and therefore, it is possible to obtain an image that looks natural.
It should be noted that in the foregoing embodiment, an example was described in which the nozzle pitch k of the print head 12 is “2”. The present invention, however, is applicable to other situations.
As shown in
Next, as shown in
Then, as shown in
Next, as shown in
As described above, according to another embodiment of the present invention, the dots are randomly dispersed in the print data generating module 136 using the dispersion table 137. Therefore, it is possible to prevent occurrence of banding, which is caused by the dot-sparse sections 150 and the dot-dense sections 151 gathering on the same scan line.
Further, as with the foregoing embodiment, in this embodiment, since the sections 150 in which the dots are sparsely scattered and the sections 151 in which the dots are densely gathered are randomly dispersed, the sharpness of an image can be reduced, thereby allowing obtainment of a soft-touch image. That is, the pixels (dots) are suitably dispersed as with silver halide photography, and therefore, it is possible to obtain an image that looks natural.
Some embodiments of the present invention were described above, but the present invention can be modified in various ways. For example, the embodiment shown in
Further, the foregoing embodiments were described using an example in which there is only one print head 12. It is possible, however, to arrange two or more print heads in the sub-scanning direction in such a manner that they do not interfere with each other and to print different scan lines with those print heads. For example, as for the examples shown in
Further, in the foregoing embodiments, the dispersion data were generated, at step S130 shown in
Further, in the foregoing embodiments, the same dispersion table was used for all of the colors. It is possible, however, to use dispersion tables having different patterns for each color, or to divide the colors into several groups and share the same dispersion table in each group. When dispersion tables having different patterns for each color are used, the dot-dispersion patterns will differ for each color. Thus, it becomes possible to prevent occurrence of banding even certainly by dispersing the dot-dense sections and the dot-sparse sections per each color.
Further, in the foregoing embodiments, four colors of ink in CMYK were used. It is possible, however, to use light colored inks (such as light cyan (LC) ink, light magenta (LM) ink, and dark yellow (DY) ink) in addition to, or instead of, the above-mentioned four colors of ink.
Further, in the foregoing embodiments, a printer 22 provided with a head that ejects ink using piezoelectric elements was used. It is possible, however, to use various elements other than the piezoelectric element as the ejection-drive elements. For example, the present invention is applicable to printers provided with ejection-drive elements of the type in which a current is passed through a heater arranged in the ink passage and ink is ejected using bubbles that are created inside the ink passage.
<Second Embodiment of Dot Formation Process>
Next, a flow of a process according to the second embodiment through which dots are formed is described with reference to
Step S210:
In accordance with the printer driver program 130, the CPU 91 receives, from the application program 121, image data expressed in the RGB color system. It should be noted that the image data have gray-level values in 256 levels, i.e., made up of values 0 through 255, for each color of R, G, and B and for each pixel. Image data having gray-level values in 64 levels (values 0 through 63) or 32 levels (values 0 through 31) may be adopted, but in this embodiment, data with gray-level values in 256 levels as described above are used for explanation.
Step S211:
In accordance with the resolution conversion module 131, the CPU 91 converts the resolution of the image data, which have been input, into the resolution of the printer 22 (which is referred to as “print resolution” below). If the resolution of the image data is lower than the print resolution, then resolution conversion is performed by generating new data between adjacent ones of original image data through linear interpolation etc. On the contrary, if the resolution of the image data is higher than the print resolution, then resolution conversion is performed, for example, by thinning out the image data at a predetermined rate.
Step S212:
In accordance with the color conversion module 132, the CPU 91 performs a color conversion process. The color conversion process is a process for converting the image data that have gray-level values for each R, G, and B into multi-level data expressing gray-level values for each color of C, M, Y, and K that are used in the printer 22. This process is performed using the color conversion table 133 in which the colors made up by combinations of R, G, and B are recorded in association with combinations of C, M, Y, and K so that they can be expressed using the printer 22.
Step S213:
In accordance with the halftone module 134, the CPU 91 performs a halftone process with respect to the image data that have been subjected to color conversion at step S212. The halftone process is a process for performing a decrease in color, i.e., for changing the gray-level values of the original image data (256 levels in the present embodiment) to gray level values that can be expressed, for each pixel, by the printer 22. The term “decrease in color” means to decrease the number of levels in gray for expressing each color. It should be noted that more specifically, a decrease in color to four levels—“no dot formed”, “form small dot”, “form middle-size dot”, and “form large dot”—is performed, for example.
Step S214:
In accordance with the print data generating module 136, the CPU 91 performs a process for generating print data from the bitmap data generated through the halftone process. Print data include raster data indicating the state in which dots are to be recorded during each main-scanning movement, and data indicating the feed amount of sub-scanning movement. It should be noted that a dot dispersion process is executed when the print data are generated, but details on the dispersion process will be described further below with reference to
Step S215:
In accordance with the print data generating module 136, the CPU 91 outputs, to the printer 22, the print data that have been generated through the print data generating process at step S214. Then the process is ended.
Next, the print data generating process, which is step S214 in the flowchart shown in
Step S230:
In accordance with the print data generating module 136, the CPU 91 generates dispersion data for dispersing the dots, and stores the dispersion data into the dispersion table 137.
It should be noted that “aperiodic” refers to cases other than the case in which “1” appears at constant intervals (such as at every other bit), for example.
The method for generating the dispersion data may be as follows. For example, when the row data 137a is to be generated, data “0000000000” is first prepared as original data. Then, a random number within the range of 1 through 10 is generated, and the bit corresponding to the random number obtained is changed to “1”. The same process is repeated until five bits are changed to “1”. The data thus obtained is taken as the row data 137a, and data obtained by inverting the row data 137a is taken as the row data 137d.
It should be noted that in the example shown in
Step S231:
In accordance with the print data generating module 136, the CPU 91 obtains bitmap data for each color that correspond to the area to be printed. That is, the CPU 91 obtains, from the halftone module 134, the bitmap data for each color that correspond to the area that is to be printed next with one main-scanning movement.
Step S232:
In accordance with the print data generating module 136, the CPU 91 obtains raster data by extracting, from the bitmap data obtained for each color and for one main-scanning movement, bit rows corresponding to the nozzles at the upper and lower ends (i.e. N4 and N1), and multiplying the row data 137d and the row data 137a shown in
Step S233:
In accordance with the halftone module 134, the CPU 91 generates paper feed data. For example, the paper feed data (i.e., the sub-scanning pitch L) is set such that it becomes 3/2 times the nozzle pitch k for an odd-numbered sub-scanning movement, as described below. Further, the paper feed data is set such that it becomes half the nozzle pitch k for an even-numbered sub-scanning movement.
Step S234:
In accordance with the halftone module 134, the CPU 91 supplies, to the printer 22, the print data including the raster data generated at step S232 and the paper feed data generated at step S233.
Step S235:
In accordance with the halftone module 134, the CPU 91 determines whether or not printing has finished. If it is determined that printing is not finished, then the process returns to step S231 and the same processes are repeated, and in other cases, the process is ended.
Next, the operations of the printer 22 that has received the print data, which have been generated according to the processes described above, is described with reference to
The same processes are repeated for each color, and a desired image is printed on the print paper P by repeating these processes over the entire image.
Further, according to the foregoing embodiment, since the sections 150 in which the dots are sparsely scattered and the sections 151 in which the dots are densely gathered are randomly dispersed, the sharpness of an image can be reduced, thereby allowing obtainment of a soft-touch image. That is, the pixels (dots) are suitably dispersed as with silver halide photography, and therefore, it is possible to obtain an image that looks natural.
Furthermore, in the foregoing embodiment, only the image data used for printing with the nozzles at the upper and lower ends are subjected to the dispersion process. Therefore, it is possible to shorten the time until printing is started by shortening the time necessary for the dispersion process. It should be noted that the example shown in
The reason why only the nozzles at the upper and lower ends are subjected to the dispersion process is as follows. The nozzles that are arranged at positions other than the upper and lower ends have a symmetrical structure in the vertical direction because other nozzles exist on both the upper and lower sides thereof. On the other hand, as regards the nozzles at the upper and lower ends, another nozzle exists only on either the lower or upper side thereof. Therefore, these nozzles do not have a symmetrical structure in the vertical direction, and this unsymmetrical structure often causes errors. In view of such circumstances, the dispersion process is carried out with respect to the nozzles at the upper and lower ends.
It should be noted that in the foregoing embodiment, the dispersion process was carried out with respect to each one of the nozzles at the upper and lower ends. It is possible, however, to perform the dispersion process with respect to a plurality of nozzles. In this case, dispersion may be carried out using dispersion data generated by: pairing bits symmetrically with respect to the center of the row data (shown in
It should be noted that in the foregoing embodiment, an example was described in which the nozzle pitch k of the print head 12 is “2”. The present invention, however, is applicable to other situations.
As shown in
Next, as shown in
Then, as shown in
As described above, according to another embodiment of the present invention, the dots are randomly dispersed in the print data generating module 136 using the dispersion table 137. Therefore, it is possible to prevent occurrence of banding, which is caused by the dot-sparse sections 150 and the dot-dense sections 151 gathering on the same scan line.
Further, as with the foregoing embodiment, in this embodiment, since the sections 150 in which the dots are sparsely scattered and the sections 151 in which the dots are densely gathered are randomly dispersed, the sharpness of an image can be reduced, thereby allowing obtainment of a soft-touch image. That is, the pixels (dots) are suitably dispersed as with silver halide photography, and therefore, it is possible to obtain an image that looks natural.
Furthermore, in this embodiment, by directly performing printing with the nozzles other than those at the upper and lower ends, without subjecting them to the dispersion process, it is possible to shorten the time necessary for the dispersion process, and thus, it becomes possible to shorten the time for printing.
Some embodiments of the present invention were described above, but the present invention can be modified in various ways. For example, the embodiment shown in
Further, the foregoing embodiments were described using an example in which there is only one print head 12. It is possible, however, to arrange two or more print heads in the sub-scanning direction in such a manner that they do not interfere with each other and to print different scan lines with those print heads. For example, as for the examples shown in
Further, in the foregoing embodiments, the dispersion data were generated, at step S230 shown in
Further, in the foregoing embodiments, the same dispersion table was used for all of the colors. It is possible, however, to use dispersion tables having different patterns for each color, or to divide the colors into several groups and share the same dispersion table in each group. When dispersion tables having different patterns for each color are used, the dot-dispersion patterns will differ for each color. Thus, it becomes possible to prevent occurrence of banding even certainly by dispersing the dot-dense sections and the dot-sparse sections per each color.
Further, in the foregoing embodiments, four colors of ink in CMYK were used. It is possible, however, to use light colored inks (such as light cyan (LC) ink, light magenta (LM) ink, and dark yellow (DY) ink) in addition to, or instead of, the above-mentioned four colors of ink.
Further, in the foregoing embodiments, a printer 22 provided with a head that ejects ink using piezoelectric elements was used. It is possible, however, to use various elements other than the piezoelectric element as the ejection-drive elements. For example, the present invention is applicable to printers provided with ejection-drive elements of the type in which a current is passed through a heater arranged in the ink passage and ink is ejected using bubbles that are created inside the ink passage.
Further, in the foregoing embodiments, only the image data used for printing with one nozzle at the upper end and one nozzle at the lower end were subjected to the dispersion process. It is possible, however, to subject the image data used for printing with two or more nozzles to the dispersion process. It is also possible to increase, or decrease, the number of nozzles to be subjected to the dispersion process according to the amount of tilt of the print head 12. More specifically, the number of nozzles to be subjected to the dispersion process may be increased as the amount of tilt becomes larger. According to such a method, the dispersion process will be applied to image data used for printing with a larger number of nozzles if the amount of tilt of the print head 12 is large, and thus, it is possible to prevent occurrence of banding certainly. On the other hand, by reducing the number of nozzles to be subjected to the dispersion process when the amount of tilt of the print head 12 is small, the time necessary for the dispersion process can be shortened, thus enabling high-speed printing.
===Other Considerations===
In the foregoing embodiments, the processes described above were executed according to the printer driver program 130 stored in the HDD 94 (or the external storage device 100). It is possible, however, to store a program having the same functions in the P-ROM 43 of the printer 22 and execute the above-described processes according to this program, or to share the processes between the computer 90 and the printer 22. More specifically, it is possible to store the whole printer driver program 130 in the P-ROM 43 of the printer 22 or store only a portion of it (such as the print data generating module 136 and the dispersion table 137) in the P-ROM 43 of the printer 22.
It should be noted that the program, in which the functions of the above-described processes are described, can be recorded on a computer-readable storage medium. Examples of the computer-readable storage medium may be magnetic recording devices, optical disks, magneto-optical storage media, and semiconductor memories. Magnetic recording devices include hard disk devices (HDDs), flexible disks (FDs), magnetic tapes, and so forth. Optical disks include DVDs, DVD-RAMs (Random Access Memory), CD-ROMs, CD-Rs (Recordable), CD-RWs (Rewritable), and so forth. Magneto-optical storage media include MOs and so forth.
If the program is to be distributed, then, for example, it is possible to sell portable storage media such as DVDs and CD-ROMs having the program recorded thereon. It is also possible to store the program in a storage device of a server computer, and transfer the program from the server computer to other computers via a network.
For example, a computer that executes the program stores the program, which may have been recorded on the portable storage medium or transferred from the server computer, in its own storage device. Then the computer reads out the program from its storage device and executes processes according thereto. It should be noted that the computer could also read out the program directly from the portable storage medium and execute processes according thereto. The computer may also execute processes according to a program that it receives, every time a program is transferred from the server computer.
The present invention may be used, for example, in a printing apparatus that records on a surface of a medium using at least one print head, wherein the print head is movable in a main-scanning direction, wherein the print head includes N pieces of dot forming elements arranged at constant pitches in a sub-scanning direction, which is a direction that intersects with the main-scanning direction, wherein the N pieces of dot forming elements are for forming N dots of a same color, and wherein N is an integer of at least two.
Number | Date | Country | Kind |
---|---|---|---|
2003-137538 | May 2003 | JP | national |
2003-362010 | Oct 2003 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
4063254 | Fox et al. | Dec 1977 | A |
4198642 | Gamblin | Apr 1980 | A |
6010207 | Fuwa | Jan 2000 | A |
6164745 | Nagoshi et al. | Dec 2000 | A |
6183055 | Kanematsu et al. | Feb 2001 | B1 |
Number | Date | Country |
---|---|---|
53-2040 | Jan 1978 | JP |
3-207665 | Sep 1991 | JP |
4-19030 | Mar 1992 | JP |
Number | Date | Country | |
---|---|---|---|
20050002717 A1 | Jan 2005 | US |