The present invention relates to a printing system for performing printing control, a method in the printing system, and a storage medium storing and a program.
In printers that perform consecutive printing while transferring image data from an image generation unit via a data communication unit, there is a phenomenon in which supply of image data cannot keep up with a sheet feeding speed (hereinafter referred to as “underrun”) during print execution and thereby printing cannot be performed. Image data not being supplied in time during print execution is referred to as an underrun, and not being able to perform printing due to an underrun is referred to as an underrun error. If a printer is a digital printer capable of variable printing, in order to perform control on a page basis, data transfer for each page and command communication for performing print setting information notification and print processing instruction are executed during consecutive printing. Therefore, even if a per-unit-size data transfer speed according to a network bandwidth exceeds a printing speed of a printer, an underrun may be caused by addition of a command communication time, which excludes image data transfer, or a software processing time associated with communication.
Regarding an underrun error, monitoring a data transfer status and a buffer status during printing and performing processing such as temporarily stopping printing when occurrence of an underrun is detected or expected is known. Japanese Patent Laid-Open No. 2011-189509 describes transmitting data for measurement from a host apparatus to a printer before printing and, by measuring a time thereof, calculating a data transfer speed, and then at the time of printing, performing, for print page image data, calculation from information of the data transfer speed and a printing speed to predict the occurrence of an underrun error. In Japanese Patent Laid-Open No. 2011-189509, by using that determination result to perform data transfer of only page images for which it is determined that an underrun error will not occur, occurrence of an underrun is prevented.
The present invention provides a printing system for preventing occurrence of an underrun even when data for which an underrun may occur is included, a method, and a storage medium storing a program.
The present invention in one aspect provides a printing system comprising: a data controller; and a printing controller, the data controller including: at least one processor and at least a memory coupled to the at least one processor and having instructions stored thereon, and when executed by the at least one processor, acting as: a transmission control unit configured to set, as a group, a piece of image data corresponding to a predetermined unit so as to satisfy a condition and perform transmission control for transmitting data corresponding to the group to the printing controller, wherein the condition is that a size of an image in a conveyance direction is greater than or equal to a threshold, and the printing controller including: at least one processor and at least a memory coupled to the at least one processor and having instructions stored thereon, and when executed by the at least one processor, acting as: a storage unit configured to receive the data corresponding to the group from the data controller and store the data corresponding to the group in a buffer region; an obtaining unit configured to obtain the piece of image data from the data corresponding to the group stored in the buffer region; and a print control unit configured to perform printing control for causing a printing unit to perform printing based on the piece of image data obtained by the obtaining unit.
According to the present invention, it is possible to prevent occurrence of an underrun even if data for which an underrun may occur is included.
Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
Hereinafter, embodiments will be described in detail with reference to the attached drawings. Note, the following embodiments are not intended to limit the scope of the claimed invention. Multiple features are described in the embodiments, but limitation is not made an invention that requires all such features, and multiple such features may be combined as appropriate. Furthermore, in the attached drawings, the same reference numerals are given to the same or similar configurations, and redundant description thereof is omitted.
Even if an underrun is prevented, if there is missing image data in a printed product, the printed product may not be recognized as a product. In such a case, an extensive redo such as a reprint after modifying page image data of a job such that it will not be determined that there may be an underrun ends up being performed.
According to the present disclosure, it is possible to prevent occurrence of an underrun even if data for which an underrun may occur is included.
The printing apparatus 1 includes a first printing process and a second printing process along a sheet conveyance path (sheet S). In the first printing process, an image is printed by being fixed onto the sheet S through a first printing unit 7a, a first drying unit 40a, and a first cooling unit 50a. In the second printing process, an image is printed by being fixed onto the sheet S, which has gone through the first printing process, through a second printing unit 7b, a second drying unit 40b, and a second cooling unit 50b. As described above, the printing apparatus 1 can consecutively print an image on the sheet S by causing the sheet S to go through the above first printing process and second printing process. The printing apparatus 1 may selectively determine a printing process according to a printing condition. In that case, an image is printed on the sheet S only through a selected printing process.
The unwinding roll unit 2 is a unit for holding and feeding a continuous sheet wound into a roll. The unwinding roll unit 2 is configured to store an unwinding roll and pull out and supply the sheet S. The present invention is not limited to being capable of storing one roll and may be configured to store two, three, or more rolls and selectively pull out and supply the sheet S.
The first dancer unit 3 is a unit for applying a constant sheet tension between the unwinding roll unit 2 and the first main conveyance unit 4. In the first dancer unit 3, sheet tension is applied by a tensioning mechanism (not illustrated).
The first main conveyance unit 4 is a unit for feeding the sheet S to each unit provided along the sheet conveyance path (sheet S) and applying sheet tension between itself and the second main conveyance unit 12. The first main conveyance unit 4 rotates by being driven by a motor (not illustrated) and performs tension conveyance of the sheet S.
The meandering correction unit 5 is a unit for correcting meandering in the sheet width direction during tension conveyance of the sheet S. Regarding the meandering correction unit 5, a first meandering correction unit 5a and a second meandering correction unit 5b are each provided on an upstream side of their respective printing process in the sheet conveyance path. The meandering correction unit 5 is configured to include a meandering correction roller and a meandering detection sensor (not illustrated) for detecting meandering of the sheet S. The meandering correction roller can change an inclination relative to the sheet S by a motor (not illustrated) and corrects meandering of the sheet S based on a measurement result of the meandering detection sensor. By causing the sheet S to wrap around the meandering correction roller, a meandering correction function is enhanced.
The conveyance detection unit 6 is a unit for detecting a conveyance speed of the sheet S and a mark printed in advance on the sheet S to control an image forming timing of the printing unit 7. Regarding the conveyance detection unit 6, a first conveyance detection unit 6a and a second conveyance detection unit 6b are each provided on an upstream side of their respective printing process in the sheet conveyance path. The first conveyance detection unit 6a and the second conveyance detection unit 6b are used to control an image forming timing of the first printing unit 7a and an image forming timing of the second printing unit 7b, respectively.
The printing unit 7 is a sheet processing unit for forming an image by applying a liquid composition (ink) onto the conveyed sheet S from above using print heads 22. A conveyance path in the printing unit 7 is formed by guide rollers 23 arranged in an upward convex arc shape, and by a constant tension being applied to the sheet S, a clearance between the sheet S and the print heads 22 is ensured. Regarding the print heads 22, a plurality of print heads are arranged along the conveyance direction. The first printing unit 7a includes a total of two line-type print heads corresponding to white (W) ink and a reactive liquid. The second printing unit 7b includes a total of 8 line-type print heads corresponding to a reactive liquid and three special colors in addition to four colors of black (Bk), yellow (Y), magenta (M), and cyan (C). A reactive liquid is a liquid containing a component that increases the viscosity of ink. Here, an increase in the viscosity of ink is a state in which a coloring material, resin, or the like constituting the ink contacts a component that increases the viscosity of ink and thereby causes a chemical reaction or physical adsorption to take place and the viscosity of the ink to increase. An increase in the viscosity of ink is not limited to an increase in the viscosity of all of the ink and also includes a case where there is a local increase in viscosity due to partial aggregation of components constituting the ink such as a coloring material or resin. The component that increases the viscosity of ink may be a metal ion, a polymer coagulant, or the like and is not particularly limited; a substance that coagulates a coloring material in the ink by inducing a change in pH of the ink can be used, and an organic acid can be used. When a reactive liquid is applied before ink is applied onto the sheet S, ink that has reached the sheet S can be immediately fixed. Thus, it is possible to prevent bleeding in which adjacent inks mix with each other. A color type, the number of colors, and the number of the print heads 22 are not limited. Regarding an inkjet printing method, a method in which a heating element is used, a method in which a piezo element is used, a method in which an electrostatic element is used, a method in which a Micro Electro Mechanical Systems (MEMS) element is used, and the like can be adopted. Inks are supplied from ink tanks (not illustrated) to the print heads 22 via ink tubes.
The conveyance tension detection unit 9 is a unit for detecting tension when tension conveyance between the first main conveyance unit 4 and the second main conveyance unit 12 is performed. The printed image position detection unit 10 is a unit for detecting a shift of an image formed on the sheet S by the printing unit 7 during printing and correcting printing. A wrap guide roller R1 is a roller that causes a surface of the sheet S downstream of the second printing unit 7b in terms of conveyance that is opposite to an ink-applied surface to wrap at a constant wrap angle. Two wrap guide rollers R1 are arranged between the second printing unit 7b and the second drying unit 40b, the sheet S is turned around so as to be substantially parallel to itself in the top and bottom of the apparatus, and the second drying unit 40b is arranged below the printing unit 7b in the apparatus.
The drying unit 40 (first drying unit 40a or second drying unit 40b) is a unit for reducing liquid components included in the liquid composition applied onto the sheet S in the printing unit 7 and enhances fixability between the sheet S and the ink. The drying unit 40 blows air on the printed sheet S and thereby dries the applied ink. The drying unit 40 applies wind on the passing sheet S from at least the ink-applied surface side and thereby dries the ink-applied surface of the sheet S. In addition to the method of applying wind, the drying method may be configured by combining a method of irradiating an electromagnetic wave (ultraviolet rays, infrared rays, etc.) onto a surface of the sheet S and a conductive heat transfer method in which contact of a heating element is used.
The cooling unit 50 (first cooling unit 50a or second cooling unit 50b) cools the sheet S for which fixing has been performed in the drying unit 40, solidifies the softened ink, and suppresses a temperature change amount of the sheet S in a downstream process of the printing apparatus 1. The cooling unit 50 applies wind whose temperature is lower than that of the sheet S on the passing sheet S from at least the ink-applied surface side and thereby cools the ink-applied surface of the sheet S. The cooling method is not limited to the method of applying wind and may be a conductive heat transfer method in which contact of a heat dissipation member is used or may be configured by combining these.
The scanner unit 11 is a unit for reading a test image formed on the sheet S by the printing unit 7 before actual printing, detecting a shift and a density of the image, and correcting actual printing. The second main conveyance unit 12 is a unit for performing sheet conveyance while applying tension to the sheet S between itself and the first main conveyance unit 4 and for adjusting the tension of the sheet S. The second main conveyance unit 12 rotates by being driven by a motor (not illustrated) and, using a tension control unit (not illustrated), controls the speed of the second main conveyance unit 12 according to a value of tension detected by the conveyance tension detection unit 9. As an additional configuration for adjusting the tension of the sheet S, a configuration in which the tension of the sheet S is adjusted by a clutch (not illustrated) capable of controlling drivably-coupled torque may be added. In this case, as tension control methods, there are two methods, which are a torque control method of controlling a value of torque transmitted from the clutch and a speed control method of controlling the roller speed of the second main conveyance unit 12, and the tension control methods can be switched according to the purpose, or the two can be used simultaneously.
The second dancer unit 13 is a unit for applying a constant sheet tension between the second main conveyance unit 12 and the winding roll unit 14. In the second dancer unit 13, sheet tension is applied by a tensioning mechanism (not illustrated). The winding roll unit 14 is a unit for winding the sheet S on which print processing has been performed around a winding core. The roll capable of collection is not limited to one, and a configuration in which there are two, three, or more winding cores and these are selectively switched and collect the sheet S may be taken. Depending on contents of processing after printing, rather than the configuration in which the continuous sheet is wound around the winding core, a configuration in which the continuous sheet is cut using a cutter and the cut sheets S are stacked may be taken.
A control unit 31 is a unit responsible for controlling each unit of the entire printing apparatus 1. The control unit 31 includes a CPU, a storage device, a controller provided with various control units, an external interface, and an operation unit 32 with which a user performs input and output. The operation of the printing apparatus 1 is controlled based on a command from the controller or a host apparatus 33 such as a host computer (information processing apparatus) connected to the controller via the external interface. The host apparatus 33 may be a Digital Front End (DFE) that performs RIP processing and the like outside the printing apparatus 1.
The maintenance unit 15 is a unit provided with a mechanism for recovering the discharge performance of the print heads 22. As such mechanisms, there are, for example, a cap mechanism for protecting ink discharge surfaces of the print heads 22, a wiper mechanism for wiping the ink discharge surfaces, and a suction mechanism for suctioning ink inside the print heads 22 from the ink discharge surfaces using negative pressure. Further, the maintenance unit 15 is provided with a driving mechanism and a rail (not illustrated) and can be moved back and forth in a horizontal direction along the rail and moves directly below the print heads 22 at the time of maintenance of the print heads 22 and moves to a position withdrawn from being directly below the print heads 22 when a maintenance operation is not performed. In the present embodiment, a first maintenance unit 15a and a second maintenance unit 15b corresponding to the first printing unit 7a and the second printing unit 7b, respectively, are provided.
The mechatronics control board 220 performs control of each of a conveyance mechanism 250 for performing sheet conveyance, a fixing mechanism 260 for performing processing for fixing an image after printing, and a recovery mechanism 270 for performing a maintenance operation for maintaining the ink discharge performance of print heads 280 at a good level. The fixing mechanism 260 corresponds to the drying unit 40 and the cooling unit 50 of
The print head control board 230 serves as a printing controller for performing control for driving a print head 280 for discharging ink and control for data flow of receiving image data from the controller 210 and transferring the data to the print head 280. The print head control board 230 includes a CPU 231, a ROM 232, a network IF 234, a RAM 235, and a print head driver 236, and each communicates via an internal bus 233. The CPU 231 loads a control program stored in the ROM 232 to the RAM 235 and controls the print head 280 via the print head driver 236. The network IF 234 is an IF module for performing LAN communication and performs command communication with the controller 210 and receives image data from the controller 210. The RAM 235 is used, for example, as a received data buffer region for temporarily storing image data transferred from the controller 210. The print head control board 230 has a configuration in which there is one unit for each print head 280. That is, when one print head 280 is configured for one color of ink, a configuration that includes as many print head control boards 230 as the number of ink colors is taken.
A print trigger signal line 290 is a signal line for connecting the conveyance mechanism 250 and the print head 280 and has a role of transmitting an ink discharge timing signal corresponding to the conveyance speed or a page start trigger signal for printing as hardware control signals.
In the present embodiment, a configuration in which the controller 210 communicates with the print head control board 230 inside the printing apparatus 1 will be described. This is, for example, a configuration in which an image data generation module and a print head control module are arranged in the same electronic substrate and communicate via an internal bus of the substrate. The controller 210 and the print head control board 230 may be configured to communicate via a network between apparatuses such as a switching hub 240. This is, for example, a configuration in which the controller 210 is provided in the host apparatus 33 and the print head control board 230 is provided in the printing apparatus 1.
Next, an overall printing sequence in the above device configuration and control hardware configuration will be described with reference to
In step S301, the controller 210 transmits a print start instruction to the mechatronics control board 220. At this time, the controller 210 transmits information of settings related to a mechanical operation to the mechatronics control board 220. In step S306, upon receiving the information of the print start instruction and the setting related to a mechanical operation transmitted from the controller 210, the mechatronics control board 220 performs a print preparation operation (initialization operation) of the mechanisms. The print preparation operation by the mechatronics control board 220 includes initialization processing of the conveyance mechanism 250, temperature control of the fixing mechanism 260, a print head 280 cap open operation of the recovery mechanism 270, and the like. In step S307, upon completing the initialization operation, the mechatronics control board 220 transmits a mechanism ready notification to the controller 210.
After step S301, in step S302, the controller 210 starts the printing sequence. Here, the printing sequence, which includes data flow control to be described later, is started. Although details will be described later, in the data flow control, image data is transferred one after another from the controller 210 to the print head control board 230.
When the printing sequence starts, the controller 210 transfers image data to the print head control board 230. In step S304, upon accumulation of data in the received data buffer region on the RAM 235 or completion of reception of data of the last page, the print head control board 230 transmits a data ready notification to the controller 210.
Upon receiving the data ready notification transmitted in step S304 and the mechanism ready notification transmitted in step S307, in step S303 the controller 210 transmits the print start instruction to the mechatronics control board 220. Upon receiving the print start instruction, in step S308 the mechatronics control board 220 performs a print start operation. The print start operation includes, for example, controlling the conveyance mechanism 250 such that the sheet conveyance speed is a speed at the time of printing. When performing the print start operation, the mechatronics control board 220 transmits a print start trigger to the print head 280. The print start trigger is a signal transmitted via the print trigger signal line 290. Upon receiving the print start trigger, the print head 280 performs, on a sheet, image formation in which ink discharge is performed, one page at a time. In step S305, the print head control board 230 transmits a print processing completion notification to the controller 210 when page basis ink discharge is completed.
The processing of step S305 of
Here, an underrun that occurs during printing will be described. Image data not being supplied in time during print execution is referred to as an underrun, and not being able to perform printing due to an underrun is referred to as an underrun error. The printing apparatus 1 performs image formation by performing ink discharge in the printing unit 7 while conveying the sheet at a constant speed. If image data of a corresponding page is not ready in the print head 280 by the time a page start position on a sheet reaches the printing unit 7, an underrun will occur, and image formation will not be appropriately performed. In the present embodiment, before printing is started, in step S304 a state in which several pages' worth of image data is stored in the received data buffer region of the print head control board 230 is entered. During printing, the image data in the received data buffer region is processed each time image formation is performed, but by image data being transmitted from the controller 210 in parallel, image data is replenished in the received data buffer region. By there being the received data buffer region, an underrun will not immediately occur even if the data transfer speed temporarily falls below the print speed during printing. When a state in which the data transfer speed falls below the printing speed continues, the amount of image data in the received data buffer region decreases, and at some point, an underrun occurs. Hereinafter, one page unit's worth of image data may be referred to as page image data.
The following two strategies are conceivable as basic strategies for preventing an underrun. One is a configuration in which it is ensured that the size of the received data buffer region of the print head control board 230 is large enough and printing starts after receiving as much page image data as possible in step S304 of
The above configuration in which the image data transfer speed is made to exceed the printing speed will be described. It is assumed that the printing apparatus 1 in the present embodiment is a digital printing apparatus capable of variable printing. In variable printing, usually an image size and print settings are decided on a page basis. In addition, printing cancellation, printing result management, and the like are all performed in predetermined units, which is a page. Therefore, the print processing is basically controlled on a page basis. One page's worth of image data is transferred from the controller 210 to the print head control board 230, and print processing is further executed for the print head 280. To do so, in addition to network transfer of the image data itself, network communication of a plurality of commands such as a notification of setting information related to data transfer of a page, a notification of allocation of free space of the received data buffer region, a notification of completion of data transfer, and software processing associated therewith are necessary. That is, in order to prevent an underrun, it is necessary that a time, for which in addition to a time for network transfer of image data a command communication time and a software processing time associated therewith has been added, to be less than a time based on the printing speed. With the above, in order to prevent an underrun, it is necessary to satisfy a condition of a relational expression expressed by the following Equation (1).
(1/V)×X is the time it takes to convey a sheet, and (1/N)×D+S is the time it takes to complete data transfer. Further, the image data size D is expressed as D=d×X, assuming that d is a per-unit-size data size in the lengthwise direction (conveyance direction). D corresponds to the number of image lines.
The per-unit-size data size d in the lengthwise direction is a value determined by a widthwise size of an image and a data size per pixel. In the present embodiment, when determining the condition, the widthwise size is set to be a fixed value of a maximum size that can be supported by the printing apparatus 1, and the data size per pixel is also set to be a fixed value of a maximum size that can be supported by the printing apparatus 1. When the left-hand side and the right-hand side of Equation (1) are plotted under such premise, they are as illustrated in
Hereinafter, processing for combining and transferring image data that is to be executed in the printing sequence of step S302 will be described. As described above, as illustrated in
In the present embodiment, by performing the data combining transfer processing as described above, it is possible to perform data transfer that satisfies an underrun avoidance condition and perform printing control on a page basis even in a print job that includes image data whose X value is small. The above page group will be referred to as a combined data group below.
An example of generating a combined data group in which pieces of image data are combined with each other will be described with reference to
In addition, regarding the condition L for forming a combined data group, a larger value (to be Lm) may be set by adding a margin value. However, if the data size of a combined data group exceeds the size of the received data buffer region of the print head control board 230, data transfer cannot be performed, and so, the value is within that constraint.
A maximum X value of one page in the printing apparatus 1 is Xmax [pixel], and the size of the received data buffer region of the print head control board 230 is B [byte]. An upper limit of Lm is Lm that satisfies d*(Lm+Xmax)=B. This equation assumes a case where, when forming a combined data group, a page whose X value is less than Lm and an image whose X value is Xmax are combined and the width direction of the image is a maximum, and a condition is such that, even in that case, the combined data size is less than or equal to B. Here, Xmax may be decided from the size of the ROM 212 and the RAM 215 of the controller 210, the structural constraints of the print head 280, and the like. In
A printing sequence in the data flow control of the present embodiment will be described with reference to
In step S603, the controller 210 adds the X value of the page [n+i] to the sum of X values. As described above, the X value is a lengthwise length of page image data. In step S604, the controller 210 determines whether the sum of X values is less than a threshold. Here, the threshold is the L value of the underrun avoidance condition described above or the value Lm obtained by adding a margin to the L value. In step S604, if it is determined to be less than the threshold, the processing proceeds to step S605, and if it is determined to be not less than the threshold, that is, greater than or equal to the threshold, the processing proceeds to step S607.
In step S605, the controller 210 increments the variable i and proceeds to step S606. In step S606, the controller 210 determines whether there is a page [n+i] after the increment of the variable i. That is, if the page currently being processed is not the last page, it is determined that there is a page [n+i] after the increment of the variable i, and the processing is repeated from step S602. Meanwhile, if the page currently being processed is the last page, it is determined that there is no page [n+i] after the increment of the variable i, and the processing proceeds to step S607.
In step S607, the controller 210 loads pieces of page image data included in the combined data group and combines and arranges them in a print page order in a contiguous memory space of the RAM 215. Then, the processing of
In step S703, the print head control board 230 registers and holds the data transfer information and allocates a region of the received data buffer based on the data transfer information. Here, the data size for which to allocate a region is determined by calculating the total size of the combined data group based on the information of the image data size of each page received in the sequence of
Upon receiving the data transfer request notification, in step S702 the controller 210 performs data transfer to the print head control board 230. In the data transfer here, the combined data of the combined data group for which transfer preparation has been performed in the processing of
By executing the above processing for each page, it is possible to print all pages while avoiding an underrun. In addition, the print instruction notification transmission and print processing sequence illustrated in
In the present embodiment, the printing apparatus 1 includes a line-type print head 280 but is not limited thereto and may be a printing apparatus including a so-called serial-type print head capable of moving back and forth in a direction orthogonal to a sheet conveyance direction. Further, each process of the printing sequence is described in the present embodiment to be mainly executed by a software program but is not limited there to and may be implemented in hardware such as an ASIC or a Field Programmable Gate Array (FPGA) that serve the same functions.
Embodiment(s) of the present invention can also be realized by a computer of a system or apparatus that reads out and executes computer executable instructions (e.g., one or more programs) recorded on a storage medium (which may also be referred to more fully as a ‘non-transitory computer-readable storage medium’) to perform the functions of one or more of the above-described embodiment(s) and/or that includes one or more circuits (e.g., application specific integrated circuit (ASIC)) for performing the functions of one or more of the above-described embodiment(s), and by a method performed by the computer of the system or apparatus by, for example, reading out and executing the computer executable instructions from the storage medium to perform the functions of one or more of the above-described embodiment(s) and/or controlling the one or more circuits to perform the functions of one or more of the above-described embodiment(s). The computer may comprise one or more processors (e.g., central processing unit (CPU), micro processing unit (MPU)) and may include a network of separate computers or separate processors to read out and execute the computer executable instructions. The computer executable instructions may be provided to the computer, for example, from a network or the storage medium. The storage medium may include, for example, one or more of a hard disk, a random-access memory (RAM), a read only memory (ROM), a storage of distributed computing systems, an optical disk (such as a compact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™), a flash memory device, a memory card, and the like.
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
This application claims the benefit of Japanese Patent Application No. 2023-166223, filed Sep. 27, 2023, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2023-166223 | Sep 2023 | JP | national |