The present invention relates to a printing apparatus, a data processing method for the printing apparatus, and a printing system and, more particularly, to a printing data process in a printing apparatus which prints by scanning in a direction crossing to a printing element array direction a printhead having a plurality of printing element arrays in which a plurality of printing elements are aligned in a predetermined direction.
A printer which prints information such as a desired character or image on a sheet-like printing medium such as a paper sheet or film is widely used as an information output apparatus in a wordprocessor, personal computer, facsimile apparatus, and the like.
Various methods are known as printing methods for the printer. Especially an inkjet method has recently received a great deal of attention because this method can realize noncontact printing on a printing medium such as a paper sheet, easily prints in color, and is quiet. Because of low cost and easy downsizing, a popular inkjet arrangement is a serial printing system in which a printhead for discharging ink in accordance with desired printing information prints while reciprocally scanning in a direction crossing to the convey direction of a printing medium such as a paper sheet.
There has conventionally been known a printing apparatus which divides the printing region of a printhead in the scanning direction into a plurality of regions and has a buffer for storing printing data of each divided region, in order to print by scanning a carriage mounting the printhead on a printing medium.
The printing apparatus comprises a write controller which controls, for each color, write address information of printing data of each region on the basis of information for switching the data storage area for each color and the result of a comparison between the remaining storable buffer space and the write address update amount when printing data of each divided region is to be stored in the buffer (Japanese Patent Laid-Open No. 2003-305896).
The printing apparatus further comprises a read controller which controls, for each color, read address information for reading out printing data stored in the buffer, and a printing data generation means for generating printing data of each divided region in accordance with printing data read out on the basis of the read address information.
Printing data transferred from a host computer to the conventional printing apparatus having this arrangement undergoes positional adjustment (registration adjustment) in the scanning direction (raster direction) by the host computer (printer driver) (Japanese Patent Laid-Open No. 2003-305895).
Printing data transferred to a printing apparatus is generally expressed by 1 bit (binary) representing printing/non-printing. However, the data processing unit of a host computer is generally set to 16 or 32 bits.
It is, therefore, not efficient to process 1-bit data such as printing data by the host computer, and the process takes a long time.
The resolution of printing apparatuses has recently increased, and the printing data amount transferred from the host computer to the printing apparatus has also increased. As the printing data amount increases, generation of printing data by the host computer takes a longer time. An effective speed until the printing apparatus executes printing upon designation of printing decreases.
For this reason, it is indispensable to shorten a time taken to generate printing data to be transferred from the host computer (printer driver) to the printing apparatus and a time until printing is executed upon designation of printing.
It is an object of the present invention to provide a printing apparatus capable of speeding up a printing data generation process in a host computer.
It is another object of the present invention to provide a printing method capable of speeding up a printing data generation process in a host computer.
It is still another object of the present invention to provide a printing system capable of speeding up a printing data generation process in a host computer.
It is still another object of the present invention to provide a host apparatus which is connected to a printing apparatus capable of speeding up a printing data generation process.
According to one aspect of the present invention, the above object is attained by a printing apparatus which prints by scanning, in a direction crossing to an array direction, a printhead having a plurality of printing element arrays in which a plurality of printing elements are aligned in a predetermined direction, comprising: a reception buffer which stores setting data and printing data of the printing element arrays that are transmitted from a connected host device, the setting data containing registration information corresponding to a relative distance between the printing element arrays in a scanning direction; a printing buffer which stores the printing data of the printing element arrays in association with printing positions in the scanning direction; and write control means for controlling to adjust storage positions of the printing data of the printing element arrays and store the printing data in the printing buffer on the basis of the registration information.
The printing apparatus executes a registration adjustment process associated with the relative distance between the printing element arrays that has conventionally been done in a host device. A printing data generation process by the host device can be simplified to shorten a time until printing is actually done upon designation of printing.
The apparatus may further comprise read control means for controlling, for each printing element array, read address information for reading out the printing data stored in the printing buffer, and printing control means for printing by driving each printing element array in accordance with the printing data read out on the basis of the read address information.
The printing element arrays may be formed so as to print in different colors.
The printing buffer may divide a printing region in the scanning direction into a plurality of blocks, and store the printing data in each block, and the write control means may have a register which stores, for each printing element array, information for identifying presence/absence of data contained in the printing data, the raster number of data, and registration information of the data.
Preferably, the write control means controls address information to be stored in the printing buffer in accordance with presence/absence of printing data of each printing element array for each block.
The apparatus may perform printing by discharging ink from each printing element.
In this case, each printing element may comprise a thermal transducer for generating thermal energy to be applied to ink in order to discharge ink by using thermal energy.
According to another aspect of the present invention another object described above is attained by a data processing method for a printing apparatus which prints by scanning, in a direction crossing to an array direction, a printhead having a plurality of printing element arrays in which a plurality of printing elements are aligned in a predetermined direction, and has a reception buffer that stores setting data and printing data of the printing element arrays transmitted from a connected host device, and a printing buffer that stores the printing data of the printing element arrays in association with printing positions in a scanning direction, comprising: a write control step of controlling to adjust storage positions of the printing data of the printing element arrays and store the printing data in the printing buffer on the basis of registration information which is contained in the setting data and corresponds to a relative distance between the printing element arrays in a scanning direction; a read control step of controlling, for each printing element array, read address information for reading out the printing data stored in the printing buffer; and a printing control step of printing by driving each printing element array in accordance with the printing data read out on the basis of the read address information.
According to still another aspect of the present invention still another object described above is attained by a printing system comprising a printing apparatus which prints by scanning, in a direction crossing to an array direction, a printhead having a plurality of printing element arrays in which a plurality of printing elements are aligned in a predetermined direction, and a host device which is connected to the printing apparatus and transmits setting data and printing data to the printing apparatus, wherein the printing system controls the host device so as to transmit, as the setting data, data containing registration information corresponding to a relative distance between the printing element arrays in a scanning direction, the printing apparatus comprises a printing buffer which stores the printing data of the printing element arrays in association with printing positions in the scanning direction, and the printing system controls the printing apparatus so as to adjust storage positions of the printing data of the printing element arrays and store the printing data in the printing buffer on the basis of the registration information.
Still another object described above can also be achieved by a host apparatus having generation means for generating, for each block corresponding to each of a plurality of regions prepared by dividing in a scanning direction a scanning printing region of a printhead on a printing medium, printing data to be output to a printing apparatus which prints on the printing medium by scanning on the printing medium the printhead having a plurality of printing element arrays, and output means for outputting an instruction including the printing data, comprising: shift amount acquisition means for acquiring information on a shift amount for the printing element array of the printhead; block count acquisition means for acquiring, from the generated printing data, the number of blocks corresponding to printing data to be printed by one scanning printing in the printing apparatus; determination means for determining on the basis of the information on the shift amount whether to change the number of blocks acquired by the block count acquisition means; and change means for changing a content of the instruction when the determination means determines to change the number of blocks.
In addition, the above objects are also achieved by a computer program which causes a computer apparatus to implement the data processing method for the printing apparatus, and a printing medium which stores the computer program.
Other features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which like reference characters designate the same or similar parts throughout the figures thereof.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
Preferred embodiments of the present invention will now be described in detail in accordance with the accompanying drawings. Note that each of constitution elements described in the following embodiments is only an example, and is not intended to limit the scope of the present invention thereto.
In this specification, “print” is not only to form significant information such as characters and graphics, but also to form, e.g., images, figures, and patterns on printing media in a broad sense, regardless of whether the information formed is significant or insignificant or whether the information formed is visualized so that a human can visually perceive it, or to process printing media.
“Print media” are any media capable of receiving ink, such as cloth, plastic films, metal plates, glass, ceramics, wood, and leather, as well as paper sheets used in common printing apparatuses.
Further, “ink” (to be also referred to as a “liquid” hereinafter) should be broadly interpreted like the definition of “print” described above. That is, ink is a liquid which is applied onto a printing medium and thereby can be used to form images, figures, and patterns, to process the printing medium, or to process ink (e.g., to solidify or insolubilize a colorant in ink applied to a printing medium).
Moreover, “nozzle” should be interpreted as any combination of a discharge opening, a channel communicating thereto and an energy-generating element used for discharging ink, without annotation.
An embodiment in which the present invention is applied to an inkjet printing apparatus (printing apparatus) will be described in detail below.
<Schematic Structure of Printing Apparatus>
In
A printing sheet serving as a printing medium is fed into the apparatus main body by a paper feed roller (not shown), pinched by a paper supply roller 105, pinch roller (not shown), and paper press plate (not shown), and conveyed to the printing region of the printhead to print.
The ink cartridge 110 includes a color ink cartridge which stores three, yellow, magenta, and cyan color inks, and a black ink cartridge which stores black ink. These two ink cartridges are separately inserted into a cartridge guide 107, and connected to the printhead.
The inkjet printing apparatus according to the embodiment is connected to a host computer, and prints upon reception of printing data from the host computer (printer driver). The printing apparatus according to the embodiment prints by scanning the carriage supporting the printhead on a printing medium. For this purpose, the printing region of the printhead in the scanning direction is divided into a plurality of regions, and an image is printed in each divided region.
In this case, according to the inkjet printing apparatus of the embodiment, the host computer does not perform positional adjustment (registration adjustment) of printing data in the scanning direction by a data process for each bit. Instead, registration adjustment of printing data is performed by a printing buffering structure control circuit 8 (
<Arrangement of Printing Controller>
The reception buffer 2 is formed by a storage device (memory) such as an SRAM or DRAM, and data stored in the reception buffer has a structure as shown in
As represented by the data structure of the reception buffer in
The printing data (209 and 212) are data obtained by dividing a data amount necessary to print by scanning the printhead once on a printing medium into blocks each having a smaller data amount. Printing data is divided into blocks, and the divided data are sequentially stored as the first block data (209), second block data (212), . . . .
For example, assuming printing data of four colors, i.e., cyan, yellow, magenta, and black, a printhead having two nozzle arrays each having 64 nozzles in the longitudinal direction for each color is adopted. Since data of each nozzle array forms printing data of one color, compressed printing data for two nozzle arrays× four colors= compressed printing data of the first to eighth colors are stored as printing data in one block data. The nozzles of each nozzle array align in the printing medium convey direction. For example, data of the first and second colors are printing data corresponding to cyan, data of the third and fourth colors are printing data corresponding to magenta, data of the fifth and sixth colors are printing data corresponding to yellow, and data of the seventh and eighth colors are printing data corresponding to black.
Referring back to
As shown in
The printing buffer 4 stores the decompressed printing data in the data structure shown in
Write is repeated from the printing data for the first color to the printing data for the eighth color in the first block. If a color change code is detected after the end of writing the printing data for the eighth color, write of all the data of the first block is complete. The data decompression block 55 ends data rasterization operation, notifies the CPU 9 by an interrupt (S906) of the completion of rasterizing data of one block, and waits for activation of next data rasterization from the CPU 9.
When printing data of a plurality of blocks are stored in the printing buffer 4, the CPU 9 operates the carriage motor (108 in
A printing data generation block 5 reads out each block structure of printing data from the printing buffer 4 via a signal line S5 at a timing synchronized with the CR encoder 10 in accordance with the value designated by the CPU 9. While the printing data generation block 5 converts the data structure into one printable by the printhead 6, the block 5 outputs the converted data structure to a signal line S6. The printing data generation block 5 holds information on the block width (representing the block length) in the printing buffer and information on the height (to be referred to as “the raster number” of printing data) of each color of the block (these pieces of information will be described later).
The readout data area of the printing buffer 4 is cleared to 0 in order to store the next printing data.
<Write/Read Control of Reception Buffer>
As described above, the interface controller 1 writes data in the reception buffer 2, and the data decompression block 55 reads out only printing data from the reception buffer 2. The write address and read address are controlled by the reception buffering structure control circuit 7. The reception buffering structure control circuit 7 manages the start address, final address, write address, and read address of the reception buffer 2.
Every time the reception buffering structure control circuit 7 receives a write request signal (S701) from the interface controller 1, the circuit 7 increments the address by one, and outputs the incremented address as write address information to the reception buffer 2 (S702). When the write address reaches the final address of the reception buffer 2, the reception buffering structure control circuit 7 performs control of returning the write address to the start address of the reception buffer 2.
When the write address reaches (coincides with) the read address, the reception buffering structure control circuit 7 notifies the interface controller 1 via a signal line S703 that the reception buffer 2 becomes full of data and no next data can be written.
At the same time, the reception buffering structure control circuit 7 also notifies the CPU 9 by an interrupt signal via a signal line S904 that no data can be written in the reception buffer 2. The structure of the reception buffer 2 can be set by writing it in an internal register by the CPU 9 using the bus of a signal line S903.
The read address is incremented by one and output to the reception buffer 2 via a signal line S706 when the CPU 9 directly reads out data from the reception buffer 2 via a data read register arranged in the reception buffering structure control circuit 7, or when the data decompression block 55 issues a request via a data read request signal line S705.
When the read address reaches the final address, the reception buffering structure control circuit 7 performs control of returning the read address to the start address of the reception buffer 2. Also when the read address reaches (coincides with) the write address, no data exists in the reception buffer, and the reception buffering structure control circuit 7 notifies the data decompression block via the signal line S704 that no next data can be read out. At the same time, the reception buffering structure control circuit 7 also notifies the CPU 9 by the interrupt signal line of the signal line S904 that no data to be read out exists in the reception buffer 2.
The process contents of data write/read control to the reception buffer 2 have been described. Process contents for writing, in the printing buffer, data which is read out from the reception buffer 2 and rasterized, or reading out data from the printing buffer will be explained.
<Write/Read Control of Printing Buffer>
The image conversion block 54 writes printing data in the printing buffer 4, and the printing data generation block 5 reads out the written printing data. At this time, the write address and read address are controlled by the printing buffering structure control circuit 8.
The printing buffering structure control circuit 8 manages the start address, final address, write address, and read address of the printing buffer.
Every time the printing buffering structure control circuit 8 receives a write request signal (S801) from the image conversion block 54, the circuit 8 properly changes the address, and outputs the incremented address as write address information to the printing buffer 4 (S802). When the write address reaches the final address of the printing buffer 4, the printing buffering structure control circuit 8 performs control of returning the write address to the start address of the printing buffer 4.
When the write address reaches (coincides with) the read address, the printing buffering structure control circuit 8 notifies the image conversion block 54 via a signal line S809 that the printing buffer 4 becomes full of printing data and no next printing data can be written.
When the data decompression block 55 loads a color change code from the reception buffer 2, the data decompression block 55 notifies the image conversion block 54 of a message to this effect via a signal line S541. The image conversion block outputs data to the printing buffering structure control circuit via a signal line S807. The printing buffering structure control circuit 8 prepares to output from a signal line S802 the start address at which the printing data for the next color is to be stored. The structure of the printing buffer 4 can be set by writing it in an internal register by the CPU 9 using the bus of the signal line S907.
The read address is incremented by one and output to the printing buffer 4 via a signal line S806 when the printing data generation block 5 issues a request via a data read request signal line S805 for each color.
When the read address reaches the final address, the printing buffering structure control circuit 8 performs control of returning the read address to the start address of the printing buffer 4.
The printing data generation block 5 sets the data structure of a currently read printing data block in the internal register of the printing data generation block 5 from the CPU 9 via the bus of a signal line S908. After all printing data in the set printing data block structure are read out, the printing data generation block 5 outputs an end signal S909 as an interrupt signal to the CPU 9. At this time, if the next printing data block has already been rasterized in the printing buffer 4, the printing data block structure is written in the register.
The printing buffer 4 controls data write for each printing data block, and does not activate the printing data generation block for an unwritten printing data block. For this reason, the read address of the printing buffer does not exceed the write address. Reference numeral 11 denotes a buffer structure information memory which is a work memory (work RAM) for controlling the printing buffer, and is an area for temporarily storing information on the printing buffer structure (to be described later).
<Description of Printing Buffering Structure Control Circuit>
The printing buffering structure control circuit will be described with reference to
The printing buffering structure control circuit 8 is comprised of a read controller 8A and write address controller 8B. The buffer area of the printing buffer 4 is defined by a start address top_adr and final address bottom_adr of the printing buffer. The start address is stored in an internal register 803 of the write address controller 8B, and the final address is stored in an internal register 804 of the write address controller 8B.
“RP” in the printing buffer 4 represents a read pointer, and “WP” represents a write pointer. The hatched portion between the RP and the WP in the printing buffer means that printing data is stored. A blank portion in the printing buffer 4 means that no printing data is stored.
Reference numeral 802 in the read address controller 8A denotes a register representing a data read address (RP: Read Pointer). Reference numerals 805 to 812 denote registers which store pieces of color information of the first to eighth colors. The register 805 stores height information (1st_hight) of the buffer for the printing data for the first color, information (1_color_bit) representing the presence/absence of the printing data for the first color, and registration adjustment value information (1_reg_wnum) of the first color. Pieces of similar information are set in the registers 806 to 812 for the second to eighth colors.
The registration adjustment value information is a value corresponding to the relative position between nozzle arrays in the raster direction, and always takes the same value for one nozzle array. That is, each nozzle array has one registration adjustment value information. For example, letting the first nozzle array be a reference, registration adjustment value information for the printing data for the first color is 0. If the distance between the second and first nozzle arrays is A columns, registration adjustment value information for the printing data for the second color is A. If the distance between the third and first nozzle arrays is B columns, registration adjustment value information for the printing data for the third color is B. In this manner, pieces of registration adjustment value information for the printing data for the second to eighth color are set in correspondence with relative distances to nozzle arrays from the reference defined by the position of the first nozzle array for printing data for the first color.
Reference numeral 813 denotes a register which sets block width information (block_width). The width information is a value commonly used for each block from the first to eighth colors.
The height information, width information, and registration adjustment value information of the block are contained in the setting data shown in
Reference numeral 815 denotes a register which stores the address of the next block data. This address can be determined using the value of any one of the registers 805 to 812 which store pieces of information on the respective colors, and the value of the register 813 which stores width information on block data. The write controller 8B determines the write start address of the second block data to be written next in accordance with setting information on the first block data to be written, and stores the determined address in the register 815.
Reference numeral 817 denotes a register which stores a write start address for registration adjustment. This address can be determined using the values of all the registers 805 to 812 which store pieces of information on the respective colors, and the value of the register 813 which stores width information on block data. The write controller 8B determines a write start address subjected to the next write for registration adjustment in accordance with setting information on the first block data to be written, and stores the determined address in the register 817.
For example, the printing data for the first color will be described. The write controller 8B determines write start address information in the second block that reflects the registration adjustment width of the first block data before the completion of writing printing data corresponding to the first block data. This also applies to the remaining printing data (for second to eighth colors).
Before the completion of writing printing data corresponding to the first block data, the write controller 8B can update write address information corresponding to the registration width of the first block data to a determined write start address.
Reference numeral 816 denotes a register which stores the write address (WP) of data.
Reference numeral 814 denotes an address control register which manages write and read so as to prevent the write address (WP) from exceeding the read address (RP) (prevent the two addresses from designating the same address).
<Storage of Data in Printing Buffer (FIGS. 6A to 6D)>
For example, settings for the register in
<Storage Process of Data in Printing Buffer>
Hatched portions in
Since
Settings for the register in
At this time, when the address at which information is stored in the register is incremented to right one by one, the actual address of the write pointer (WP) is counted up from 0→6→C→12→18→ . . . in
The data write order may move to a stage lower by one every 16 data, as shown in
As shown in
In
After write for registration adjustment ends (write of the 16th data ends in
In this way, write is alternately performed in the current block (first block) and next block (second block), and the printing data for the first color is written while registration adjustment is executed.
After all printing data for the first color is written, the same process is done subsequently from the second color of the first block.
The address at which information is stored in the register may be incremented one by one in the vertical direction to count up the actual address of the write pointer (WP) from 0→2→4→6→8 . . . , as shown in
In
For example, when the image conversion block 3 is not used, the address at which information is stored in the register is incremented one by one for printing data from the host, and the write pointer (WP) is counted from 1→2→3→4→5→ . . . , as shown in
However, if HV conversion or the like is done using the image conversion block 3, the write pointer (WP) cannot be counted up from 1→2→4→3→4→5→ . . . by incrementing, one by one for printing data having undergone HV conversion, the address at which information is stored in the register, unlike
From this, by imparting a degree of freedom to the address increment amount, the address can cope with various data transfer methods from the host, and can also cope with data conversion in the image conversion block 3.
When data shown in
If the number of blocks transmitted from the host computer becomes different from the number of blocks written in the printing buffer of the printing apparatus, a logical conflict occurs because information on the printing width (in the scanning direction) is output from the host computer to the printing apparatus on the basis of the number of blocks transmitted from the host computer. The printing apparatus executes printing operation on the basis of this information, and does not print by an amount changed in the number of blocks. For example, when the host computer outputs printing data of three blocks to the printing apparatus, and the printing apparatus performs registration adjustment and stores printing data in four blocks, only three blocks are printed, and one block is not printed.
To prevent this conflict, according to the embodiment, data as shown in
Data shown in
Transfer of one extra block will be explained in more detail with reference to
For example, for the block size in the scanning direction<the data size in the scanning direction+the registration adjustment amount, the number of blocks must be increased by one, as shown in
To the contrary, for the block size in the scanning direction>the data size in the scanning direction+the registration adjustment amount, the number of blocks need not be increased, as shown in
In this manner, the host computer determines whether the sum of the data size in the scanning direction and the registration adjustment amount becomes larger than the block size in the scanning direction, and performs a process of increasing the number of blocks in accordance with the determination result.
Printing data is transferred from the host computer 1401 to the printing apparatus 1402 via an interface 1405.
An example of a process performed in the host computer 1401 will be described. A printer driver which generates printing data is executed by a CPU 1403. Printing data are generated for respective blocks, compressed by a predetermined compression method, and output to the printing apparatus 1402.
A storage means 1404 is used to temporarily store generated printing data or compressed data. The storage means 1404 comprises a counter which holds the number of blocks (data amount) of generated printing data.
As described above, the CPU 1403 determines whether the sum of the data size in the scanning direction and the registration adjustment amount becomes larger than the block size in the scanning direction, and performs a process of increasing the number of blocks in accordance with the determination result. For this purpose, the CPU 1403 acquires in advance, from the printing apparatus, information on the block size in the scanning direction and the registration adjustment amount.
By acquiring in advance information on the printing width of one scanning, the number of generated blocks to be printed is obtained and used as the threshold of determination in step S1602.
This process will be described in detail with reference to the flowchart of
If the block size in the scanning direction is smaller in step S1503 (NO), one block is added in step S1504; if the block size in the scanning direction is larger (YES), the process ends.
This determination is executed for printing data corresponding to each color. This is because the block size in the scanning direction is equal between respective colors, but the registration adjustment amount and the data size of the final block in the scanning direction may be different between respective colors. If a block need to be added for even one color, blocks are added for the remaining colors.
A color change code added to each block data will be explained. As described with reference to
As shown in
If a block is to be added in step S1504, not compression TAGs or compressed data, but only color change codes (232, 233, and 239) are added subsequently to a final block (nth block data) 231. In this case, the number of colors is eight, and eight color change codes are added.
Since only the color change codes are added, the printing apparatus can recognize (determine) an instruction to perform a process of adding a block and storing printing data because printing data cannot be contained in the block due to registration adjustment. The printing apparatus therefore stores the printing data in the printing buffer on the basis of the registration adjustment amount.
As another example of adding a block, as shown in
Alternatively, a command 262 representing an instruction to add a block may be added after the final block data (nth block) 261, as shown in
A printing data storage process in the host computer when adding a block as described above will be complementarily explained.
In this case, the final printing data must be positioned in the cross-hatched region of
As for
Also in this case, if the final printing data is stored in a region other than the cross-hatched region of
Storage of printing data when no registration adjustment need be performed will be explained with reference to
In
For example, when the area of the printing buffer is uniquely ensured even for an area having no printing data, and areas for storing all data of one scanning cannot be ensured in the printing buffer, data of one scanning can be stored by controlling storage of data on the basis of presence/absence information of the printing data for each color which is stored in the register in correspondence with the presence/absence of image data.
<Read of Data from Printing Buffer>
A process of reading out data from the printing buffer will be explained with reference to
The buffer area of the printing buffer 4 is defined by the start address top_adr and final address bottom_adr of the printing buffer. The start address is stored in the register 803, and the final address is stored in the register 804. Similar to
The register 802 in the read address controller 8A represents a data read address (RP: Read Pointer), a block 900 surrounded by a broken frame represents the first register group, and a block 901 surrounded by a solid frame represents the second register group.
For example, at the start of scanning in printing printing data of the first to eighth blocks, information on the first block is stored in the first register group, and information on the second block is stored in the second register group. After printing of the first block ends, the information in the second register group 901 is copied and stored in the first register group 900, and information on the third block is stored in the second register group 901. The same process is sequentially done until data on the final eighth block is stored. At the start of the next scanning, information on the first block is stored in the first register group, and information on the second block is stored in the second register group.
If no information on the (n+1)th block is stored in the second register group at the end of printing of the nth block given by the first register group, no printing data on the (n+1)th block has been prepared. Thus, information in the second register group is not copied in the first register group, and data read from the printing buffer stops.
A register 819 in the first register group sets height information (1st hight) and printing data presence/absence information (1_color_bit) for the first color. Registers 822, 824, 826, 828, 830, 832, and 834 similarly set pieces of height information and pieces of data presence/absence information for the second to eighth colors.
Reference numeral 820 denotes a register which stores width information (block_width) of each block data. The width information is a value commonly used for each block from the first to eighth colors.
A register 818 stores the read address (1st_color_adr) of the first color. The address is updated upon read from a printing buffer 819 which stores the printing data for the first color. For example, as shown in
Data stored in the printing buffer 4 includes printing data for a plurality of color. When printing data for the first color, second color, . . . coexist, addresses for storing printing data of respective colors are not consecutive. If the number of read address registers is one, the address must be calculated in reading out the address of the printing buffer 4 for the second color subsequently to the address of the printing buffer 4 for the first color. By preparing, in the printing buffer 4, registers for storing read addresses for respective colors, address calculation in read for each column can be omitted.
The register 817 is an address control register. When the printing data generation block 5 requests a read address via the data read request signal line S805 for each color, the address control register 817 increments the read address by one, and outputs the resultant read address to the printing buffer 4 via the signal line S806.
Reference numeral 835 denotes a register which stores the address of the next block. If the current read block is the first block, the register stores the start address of the second block. The value of this register is copied in the register 802 after the end of reading out the current block data. As a result, the next block data can be smoothly read out.
A register 836 is a table for storing information for specifying the read order of the first to eighth colors. A value set in this table allows freely setting an order of reading out data from the printing buffer. For example, data can be read out in an order of the first color→the second color→ . . . →the eighth color. By changing the value, read of the third and fourth color can be skipped, like the first color→the second color the fifth color→the sixth color the seventh color second sixth the eighth color. In this fashion, read of printing data which is not stored can be reliably skipped.
The second register group 901 is a set of buffers which store information on the next block data. After the registers of the first register group are read, values set in the registers of the second register group are set in corresponding registers of the first register group. For example, a value set in a register 838 is set in the register 819. Registers 839 to 845 set pieces of similar information for the second to eighth colors.
The register 838 (819) stores buffer height information of the printing data for the first color, and information representing the presence/absence of the printing data for the first color.
Reference numeral 846 (820) is a register which sets block width information. The width information is a value commonly used for each block from the first to eighth colors.
A register 878 stores information (same_type) representing whether the block size is equal to the previously set block size. When the block sizes are equal to each other, the value is set to “1”, and the same value can be easily set again in the first register group. In this case, the settings of the registers 838 to 846 can be omitted. When the value of the register 878 is “0”, values are set in the registers 838 to 846.
As described above, according to the preferred embodiment, an inkjet printing apparatus is given a function of performing registration adjustment in the printhead scanning direction. Generation of printing data in a host computer can be speeded up, and a time until the printing apparatus executes printing upon designation of printing by the host computer can be shortened.
<Modification>
In the above embodiment, respective color blocks have the same width. However, different widths may be set for respective blocks.
In the modification, the width is controlled using a full-width block and half-width block. The half-width block uses a color change code as a break, whereas the full-size block, which has a predetermined length, does not use any color change code. If no color change code appears even after the half block size in writing (transferring) data from the reception buffer to the printing buffer, the current block is recognized as a full-width block. In the modification, the widths of the third and fifth blocks are set to half the widths of the remaining blocks.
This realizes efficient use of the printing buffer even with a small memory capacity. For example, even when the printing buffer cannot ensure an area for storing all data of one scanning, data of one scanning can be stored.
In this case, when printing data is formed from null data over a plurality of blocks, the host apparatus generates printing data so as to change the block width.
<Other Embodiment>
The above embodiment has exemplified an application of the present invention to an ink-jet printing apparatus which prints in accordance with the inkjet method. However, the present invention can also be applied to a printing apparatus of another type as far as the printing apparatus prints by scanning, in a direction crossing to a printing element array direction, a printhead having an array of printing elements.
Each of the embodiments described above has exemplified a printer, which comprises means (e.g., an electrothermal transducer, laser beam generator, and the like) for generating heat energy as energy utilized upon execution of ink discharge, and causes a change in state of an ink by the heat energy. According to this ink-jet printer and printing method, a high-density, high-precision printing operation can be attained.
As the typical arrangement and principle of the ink-jet printing system, those practiced by use of the basic principle disclosed in, for example, U.S. Pat. Nos. 4,723,129 and 4,740,796 is preferable. The above system is applicable to either one of so-called on-demand type and continuous type. Particularly, in the case of the on-demand type, the system is effective because, by applying at least one driving signal, which corresponds to printing information and gives a rapid temperature rise exceeding nucleate boiling, to each of electrothermal transducers arranged in correspondence with a sheet or liquid channels holding a liquid (ink), heat energy is generated by the electrothermal transducer to effect film boiling on the heat acting surface of the printhead, and consequently, a bubble can be formed in the liquid (ink) in one-to-one correspondence with the driving signal.
By discharging the liquid (ink) through a discharge opening by growth and shrinkage of the bubble, at least one droplet is formed. If the driving signal is applied as a pulse signal, the growth and shrinkage of the bubble can be attained instantly and adequately to achieve discharge of the liquid (ink) with the particularly high response characteristics.
Furthermore, as a full line type printhead having a length corresponding to the width of a maximum printing medium which can be printed by the printer, either the arrangement which satisfies the full-line length by combining a plurality of printheads as disclosed in the above specification, or the arrangement as a single printhead obtained by forming printheads integrally can be used.
In addition, not only an exchangeable chip type printhead, as described in the above embodiment, which can be electrically connected to the apparatus main unit and can receive an ink from the apparatus main unit upon being mounted on the apparatus main unit but also a cartridge type printhead in which an ink tank is integrally arranged on the printhead itself can be applicable to the present invention.
It is preferable to add recovery means for the printhead, preliminary auxiliary means, and the like provided as an arrangement of the printer of the present invention since the printing operation can be further stabilized. Examples of such means include, for the printhead, capping means, cleaning means, pressurization or suction means, and preliminary heating means using electrothermal transducers, another heating element, or a combination thereof. It is also effective for stable printing to provide a preliminary discharge mode which performs discharge independently of printing.
Furthermore, as a printing mode of the printer, not only a printing mode using only a primary color such as black or the like, but also at least one of a multi-color mode using a plurality of different colors or a full-color mode achieved by color mixing can be implemented in the printer either by using an integrated printhead or by combining a plurality of printheads.
Moreover, in each of the above-mentioned embodiments of the present invention, it is assumed that the ink is a liquid. Alternatively, the present invention may employ an ink which is solid at room temperature or less and softens or liquefies at room temperature, or an ink which liquefies upon application of a use printing signal, since it is a general practice to perform temperature control of the ink itself within a range from 30° C. to 70° C. in the ink-jet system, so that the ink viscosity can fall within a stable discharge range.
Still further, the printing apparatus according to the present invention can be a form of an incorporated device or an additional device as an image output terminal of an information processing device, a copying machine with a reader or a facsimile machine which has transmission/reception function.
Furthermore, the invention can be implemented by supplying a software program, which implements the functions of the foregoing embodiments, directly or indirectly to a system or apparatus, reading the supplied program code with a computer of the system or apparatus, and then executing the program code. In this case, so long as the system or apparatus has the functions of the program, the mode of implementation need not rely upon a program.
Accordingly, since the functions of the present invention are implemented by computer, the program code installed in the computer also implements the present invention. In other words, the claims of the present invention also cover a computer program for the purpose of implementing the functions of the present invention.
As many apparently widely different embodiments of the present invention can be made without departing from the spirit and scope thereof, it is to be understood that the invention is not limited to the specific embodiments thereof except as defined in the appended claims.
This application claims priorities from Japanese Patent Application Nos. 2003-413815 filed on Dec. 11, 2003 and 2004-341685 filed on Nov. 26, 2004 which are hereby incorporated by reference.
Number | Date | Country | Kind |
---|---|---|---|
2003-413815 | Dec 2003 | JP | national |
2004-341685 | Nov 2004 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
4723129 | Endo et al. | Feb 1988 | A |
4740796 | Endo et al. | Apr 1988 | A |
5250956 | Haselby et al. | Oct 1993 | A |
6960036 | Fujita et al. | Nov 2005 | B1 |
20030193536 | Kuronuma et al. | Oct 2003 | A1 |
20030193691 | Tanaka et al. | Oct 2003 | A1 |
Number | Date | Country |
---|---|---|
2003-305895 | Oct 2003 | JP |
2003-305896 | Oct 2003 | JP |
Number | Date | Country | |
---|---|---|---|
20050129443 A1 | Jun 2005 | US |