This application claims priority under 35 U.S.C. § 119(a) to application Ser. No. 17/180,049.3, filed in Europe on Jul. 6, 2017, the entire contents of which is hereby incorporated by reference into the present application.
The invention relates to a method of scheduling print jobs for printing on a printer which has printing elements provided for printing in a number of different colors.
More particularly, the invention relates to a method of scheduling print jobs for an ink jet printer.
In certain printing systems, such as ink jet printing systems, the printing elements are allowed to be idle only for a limited time. When the idle time limit is exceeded, there is a risk of malfunction of the printing elements, because ink dries out in the printing element, for example. In an ink jet printer, the ink is jetted out from small nozzle orifices, and a main reason of malfunction is that the nozzle orifices may become clogged with dried ink.
Several techniques of maintenance treatment are known for preventing malfunction of the printing elements when the idle time limit is exceeded. For example, a print head carriage of an ink jet printer may be moved to a maintenance station where the nozzles of the print heads are flushed with ink or with a cleaning liquid and/or a nozzle plate, in which the nozzle orifices have been formed, is cleaned by means of a wiper. Another technique of maintenance treatment is to cause the printing elements to “spit” onto the recording medium before the idle time limit is exceeded. The inks dots that are spit onto the recording medium are not actually wanted for forming an image, but since the dots are very small and are sparsely distributed over the image area, they are practically not perceptible in the printed image and may therefore be tolerated. Nevertheless, too frequent spitting operations may compromise the print quality. On the other hand, moving the print head or print head carriage to a maintenance station is a time-consuming operation and therefore compromises productivity.
In multi-color printing, the permissible idle times, which will be termed “failure times” hereinafter may be different for inks of different colors. Moreover, some colors may be used more frequently than others. For example, white ink is used only relatively rarely, and there may even be print jobs which do not use white ink at all, so that idle times tend to be long.
It is an object of the invention to improve the productivity in multi-color printing without compromising the print quality.
In order to achieve this object, the method of scheduling print jobs according to the invention is characterized by the steps of:
a) calculating, for each color, a constraint time which specifies a time at which the printing elements for the respective color should be either operated or subjected to a maintenance treatment in order to avoid a risk of malfunction, due to causes such as ink drying out in the printing element;
b) calculating, for each of a plurality of print jobs that have been scheduled already and are waiting in a print queue, an operation time at which the printing elements will be operating in the course of the processing of the print job; and
c) when a new print job is to be scheduled and the print jobs, including the new print job, comprise at least one job in which printing elements for at least one color are not operated, determining a sequence of the print jobs in the print queue, with corresponding calculation of the new constraint times and new operation times, with an aim to extend the constraint times by operating the printing elements before expiry of their previously calculated constraint times by shifting the constraint times to the future due to the usage of the corresponding colors.
The constraint time for a given color can be calculated by adding the failure time for that color to the time at which the printing elements for this color have last been used. When the printing elements are operated again before the expiry of the constraint time, this means that the printing elements are flushed with ink, which is equivalent to a maintenance treatment, the operation time can be taken as a new time of last use of the printing elements and a new, later constraint time can be calculated by adding the failure time to the latest operation time. Thus, depending upon the nature of the print jobs to be processed, it is frequently possible to extend the constraint times and thereby to decrease the frequency of maintenance treatments by arranging the print jobs such that all printing elements are operated in intervals which are shorter than the failure times. In general, this can be achieved by arranging the print jobs such that printing jobs which do not utilize a certain color are distributed as evenly as possible among the other print jobs which use that color.
Of course, if the print jobs to be processed comprise a large number of jobs which do not utilize a certain color and only a few jobs in which this color is used, it may not be possible to avoid maintenance treatments completely by employing the method according to the invention. In many cases, however, the mix of print jobs utilizing and not utilizing a given color will be such that the invention can achieve a substantial gain in productivity.
More specific optional features of the invention are indicated in the dependent claims.
Embodiment examples will now be described in conjunction with the drawings, wherein:
Print jobs 16 to be processed are supplied to the raster image processing system 10 in the form of electronic files and are converted into digital raster images to be sent to the printer where they will be processed (printed) one after the other.
The method according to the invention is implemented in the scheduler 12 in the form of a computer program and determines a sequence in which the raster images are sent to the printer 14 for being printed as well as the timings at which the print process for each print job will start. To that end, the raster image processing system 10 provides information on the length of each job, either explicitly in the form of a job duration or implicitly, for example in the form of the size of the image to be printed or even the actual content of the image to be printed. The length is conveniently expressed by a time that the print engine needs for completing the print job. A user interface 18 is connected to the scheduler 12 and has a display which permits to display and possibly edit the job schedule that has been established by the scheduler 12.
The printer 14 has a carriage 20 which is movable along a guide rail 22 in a direction indicated by a double arrow x in order to scan a print substrate 24 that is supported on a print surface 26 and is advanced step-wise in a sub-scanning direction y. A number of print heads 28 are mounted on the carriage 20. Each print head 28 has an array (a row) of printing elements 30 constituted by nozzles which face the print substrate 24 so as to eject ink droplets onto the print substrate in a pattern specified by the raster image to be printed. In the example shown, the carriage 20 has five print heads 28 disposed side by side, each print head being provided for printing with ink in a different color. The colors of the inks may for example be yellow (Y), magenta (M), cyan (C), black (K) and white (W). The information on which of these colors is to be used in a given print job is available in the raster image processing system 10 and is provided also to the scheduler 12.
The guide rail 22 extends beyond a lateral edge of the print substrate 24 and permits to move the carriage 20 to a maintenance station 32 where the printing elements 30 of all five print heads 28 may be subjected to a maintenance treatment such as flushing, for example.
When a printing element 30 has been operated and is then not operated for a longer time, there is a risk that the ink may dry out and clog the nozzle, so that a nozzle failure must be expected. In order to avoid such nozzle failures, the printing elements 30 should be operated in time intervals which are not longer than a certain time limit which will be called “failure time”, because nozzle failures must be expected if the failure time is exceeded. The failure time depends among others upon the chemical composition of the ink and may therefore be different for inks with different colors.
The center column in the diagram in
For simplicity, it shall be assumed in this example that all five print heads 28 are operating as soon as the print processing starts at a time Tp (the present) and keep operating until the entire job has been completed at a time To which will be designated as “operation time” of the print job because it is a time where the printing elements are still operating. In fact, in this example, the operating time marks the last time instant at which the printing elements are operating in processing this particular print job “a”. It is noted though that in practice the operation time To differs for each color, and even differs for individual printing elements. For simplicities sake, we assume in this discussion that the operation time To is equal for all colors that are used by a print job.
As long as no subsequent print job is scheduled, it must be assumed that the printing elements will be idle, i.e., not operating, after the time To. Consequently, a nozzle failure of the printing elements for white ink cannot be excluded when a constraint time TcW is reached and exceeded. As has been shown diagrammatically in
The center column in
The rightmost column in
Since all printing elements will be operated when the processing of the job “b” starts and will keep operating until the job is completed, the failure times will now have to be counted from the end (operation time To) of the job “b”, so that, at the time when the job “b” is added to the print queue, all constraint times TcY, . . . , TcW, are extended, i.e. shifted to the future by the job length of the job “b”. Similarly, the constraint times TcY-TcK are extended once again by the job length of the job “c” because these colors are also used in the job “c”. However, since the job “c” does not use the color W, the constraint time Tcw is not extended. In the example shown, this constraint time is reached already shortly after the end of the job “c”.
The new job “d”, which has just been received, will naturally be added at the end of the job “c”. Thus, at a start time Ts of the job “d”, none of the constraint times has expired, so that no nozzle failures need to be feared during the processing of the job “d”. It will be observed that, since the job “d” does not use the color W, the constraint time Tcw will be reached during the processing of the job d. However, since white ink is not utilized in this job, anyway, the expiry of the constraint time does not affect the print quality in job “d”.
In the diagram in
According to the invention, however, the maintenance treatment is avoided by inserting the job “e” between the jobs “c” and “d”, as has been shown in the right column in
The insertion of the job “e” has the consequence that the constraint time Tcw is extended until after the operation time of job “d” (Tcw′). Thus, when another job would be received for which white ink would be needed, the constraint time is extended further by inserting this new job after the job “d”.
In
There may be situations however where the strategy described so far does not lead to the desired result. For example, if a job that does not utilize a particular color is simply longer than the failure time of that particular color, rearranging the jobs can never result in the start time Ts of a subsequent job utilizing the color falling before the constraint time Tc of the particular color. In such a situation a maintenance treatment cannot be avoided.
A similar situation may occur when there are only a few jobs utilizing a particular color among a large number of jobs not utilizing the particular color, there may simply not be enough jobs utilizing the particular color to prevent the constraint time Tc from expiring occasionally.
Furthermore, especially in printers having larger number of color channels, for example twelve: three main process colors cyan (C), magenta (M), and yellow (Y), a lighter version of the main process colors light cyan (C′), light magenta (M′), and light yellow (Y′), and further white (W), black (B), a number of gray levels (G1, G2, G3), and a varnish (V), the chance that print jobs do not utilize all colors is very realistic. In such situations following the principles outlined above, may lead to some iteration producing an earlier tried job sequence, so that the process would get locked in an endless loop.
It should therefore be provided that the scheduling process is forcefully stopped as soon as a sequence is reached which had already been tested before. In that case, a maintenance treatment cannot be avoided and consequently a maintenance treatment is scheduled.
In a modified embodiment it may be stipulated that the scheduling process is aborted as soon as it is found that there is still a risk of nozzle failure after a first re-arrangement of the print queue. In that case, a maintenance treatment would be scheduled.
An example of a scheduling method according to the invention as described above has been illustrated in a flow diagram in
The process starts with step S1 when a new print job arrives and is to be scheduled.
In step S2, the constraint times, the operation times and the start times are calculated for all jobs in the queue (if they have not been calculated already in an earlier run of the process), and also for the new job to be scheduled.
In step S3, it is checked whether there is at least one color (among the five colors which the printer is capable of printing with) which is used in the new job and for which the constraint time (as updated in step S2) expires earlier than the start time of the new job. If that is not the case (“no”), the new job can safely be printed even when it is placed at the end of the print queue, and, accordingly, the new job is added at the end of the print queue in step S4.
Otherwise, i.e. in case of the answer “yes” in step S3, the print queue is searched in step S5 for a pair of consecutive jobs which fulfill the condition that the smallest constraint time amongst all colors (TcW in the above example) falls between the operation times of the two jobs. It is observed that such a pair of jobs must always exist, so that the step S5 will always have a definite result.
Then, in order to make sure that the re-arrangement of the print queue has not caused any conflict for another print job further down in the queue, a step S6 is performed which consists in making the same check as in step S3 for all jobs that follow after the position where the new job has been inserted in step S5. Of course, the term “new job” in the language of step S3 has to be replaced by the respective job among the jobs tested in step S6. In other words, it is checked for each job after the inserted job whether there is a color which is used in the job and for which the constraint time expires earlier than the start time of the job. As soon as a job is found for which the result is “yes”, a maintenance treatment is scheduled before that job. If no job is found for which the result is yes, then the sequence obtained in step S5 is maintained, and the jobs will be processed in that order.
A modified example of a method according to the invention will now be described by reference to
Therefore, in this embodiment, a pre-emptive move is made in that the new job “d” is shifted to the position between “a” and “b”, as is shown in the right column in
As is illustrated in
In cases where there are two or more colors which are not used in the new job to be scheduled, the swap condition must be fulfilled for each of these colors.
In the examples described so far, the operation time To which determines the constraint times has been taken to be the time at which a job ends, whereas the criterion for deciding whether nozzle failures must be expected is based on the start time of the job. There may however be cases where the printing elements for a given color do not actually start operating at the start time of job and/or do not keep operating until the end of the job. This possibility can be taken into account by making the failure times (Tfy, etc.) so long that they include a sufficient safety margin that is longer than the job lengths L. Another possibility is to calculate the constraint time from the start time of a job and to decide whether nozzle failures must be expected on the basis of the criterion that the end time of the job must be earlier than the earliest constraint time. In that case, the operation times To would be identical with the start times rather than with the end times of the jobs. Similarly, any time between the start time and the end time of a job may be defined as the operation time.
In a more refined embodiment, it is even possible to consider the start times and the operation times independently for each color. An example has been given in
Of course, the two methods illustrated in
If there are too many print jobs which do not use a certain color, a maintenance treatment may be inevitable. However, when new jobs arrive which do utilize this color, the situation may change and it may be possible to rearrange the print queue so that the maintenance treatment becomes obsolete and can be cancelled. A method or several methods for automatically rearranging the print queue may be implemented in the scheduler (12). In another embodiment the scheduler may provide an option to edit the print queue manually and may just alert the user or operator when a maintenance treatment becomes necessary.
Number | Date | Country | Kind |
---|---|---|---|
17180049.3 | Jul 2017 | EP | regional |