The specific embodiment
Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.
Fig. 1 shows the flow chart according to the batch jobs output intent of the embodiment of the invention, comprising:
Carton paper information with current operation coupling printer in the print job formation;
If current operation matches the carton paper information, then print current operation;
If current operation coupling is less than the carton paper information, then with next operation in the print job formation as current operation, repeat above-mentioned steps until the operation in the print job formation is disposed.
In the prior art, when an operation in the print job formation was stopped because of lacking paper, the All Jobs after this operation all must be deadlocked, and waited for that the user mends paper and finishes this operation.It might be that for example current job requirements uses A3 paper to print because the model of operation and paper is not mated institute to be caused that inventor's discovery, current operation are stopped because lack paper, and the paper in the carton is the A4 paper.Yet, although the paper of current operation and carton does not mate, subsequent job in the print job formation but might mate with the paper of carton, causes the pause of whole print job formation because of stopping of current operation, and this has affected the processing of follow-up print job.
In the batch jobs output intent of the present embodiment, when finding that current operation and paper do not mate, the whole print job formation that no longer pauses, but automatically jump to next operation in the print job formation.If follow-up operation can be mated the paper of printer, then follow-up operation can normally be carried out, and is not subject to the impact of current operation.Therefore, the wait operation that the present embodiment has solved printer controller back when batch jobs are exported does not lack the but permanent problem of waiting for because the wait operation of front lacks paper of paper, has improved the efficient of printer, has saved user time.
Preferably, printer has a plurality of cartons, and each carton has independently carton paper information, and each carton paper information is in turn mated in current operation.High-end printer often configures a plurality of cartons, and this preferred embodiment can avoid lacking the paper phenomenon as much as possible by each carton of coupling.
Preferably, if current operation matches one of them carton paper information, then use the corresponding carton supply of the carton paper information that matches paper, print.
Preferably, if current operation coupling, determines then that current operation coupling less than the carton paper information, moves on to coupling the tail of the queue of print job formation less than the current operation of carton paper information less than any one carton paper information.To mate unsuccessful operation and move on to tail of the queue, this time that can stay abundance is changed paper for the user.
Preferably, this method also comprises: will match carton paper information and the current operation of printing successfully and delete from the print job formation, to match the carton paper information but print the tail of the queue that failed current operation moves on to the print job formation, send the printing false alarm.
Fig. 2 shows the according to the preferred embodiment of the invention flow chart of batch jobs output intent, may further comprise the steps:
(1) obtains the wait print job formation of submitting in batches, comprise queue sequence, number of jobs in the formation, and the ID of each operation;
The ID of the operation of (2) obtaining according to step 1 obtains the job parameter of waiting in the print job formation successively, such as job title, and the paper parameter of the operation of setting etc.;
(3) obtain printer carton paper information, comprise the carton number of printer, the size of the paper that each carton is put into, paper type, the capacity of paper weight and carton;
(4) the carton paper information with the printer that obtains in the paper parameter of the operation of obtaining in the step 2 and the step 3 mates, if the carton capacity is not 0, and paper size, paper type, paper weight be all in the identical situation, thinks coupling, otherwise think and do not mate, printer lacks paper for this operation, continues next operation, repeating step 2-step 4;
(5) operation of coupling in the step 4 is exported immediately, and in the wait print job formation that step 1 is obtained with this job delete, otherwise circulation step 1-step 5.
Fig. 3 shows the schematic diagram according to the batch jobs output device of the embodiment of the invention, comprising:
Matching module 10 is used for the carton paper information with the current operation coupling of print job formation printer;
Print module 20 matches the carton paper information if be used for current operation, then prints current operation;
Spider module 30, if be used for current operation coupling less than the carton paper information, then with next operation in the print job formation as current operation, the polyphony of laying equal stress on above-mentioned module until the operation in the print job formation be disposed.
This device has improved printing effect, has saved period of reservation of number.
Preferably, printer has a plurality of cartons, and each carton has independently carton paper information, and matching module 10 in turn mates each carton paper information with current operation.
Preferably, match one of them carton paper information if print module 20 is used for current operation, then use the corresponding carton supply of the carton paper information that matches paper, print.
Preferably, if spider module 30 is used for current operation coupling less than any one carton paper information, determine that then current operation coupling less than the carton paper information, moves on to coupling the tail of the queue of print job formation less than the current operation of carton paper information.
Preferably, spider module 30 is also deleted from the print job formation for the current operation that will match the carton paper information and print successfully, to match the carton paper information but print the tail of the queue that failed current operation moves on to the print job formation, send the printing false alarm.
Fig. 4 shows the according to the preferred embodiment of the invention schematic diagram of print system, for simple description, supposes that the operation that will print has 3 among this embodiment, is respectively operation 1, operation 2, operation 3.This print system comprises:
(1) operation paper parameter arranges module, is used for arranging the paper parameter of operation.The size, paper size and the paper weight that comprise the paper that printer is supported.As the paper parameter that operation 1 is set is A4 common paper 75g; The paper parameter that operation 2 is set is A3 common paper 80g; The paper parameter that operation 3 is set is the high light art paper of A4 105g.
(2) print module is submitted in batch jobs to, is used for the print job state and waits for the print queue management.The operation paper parameter arrange 3 operations setting in the module submitted to simultaneously print after, enter and wait for the print job formation, the job state of submitting to print module to revise 3 operations is etc. to be printed, and the page order that operation is set by the order of choosing in batches operation is operation 1, operation 2, operation 3.
(3) printer carton paper information acquisition module, by with the information that gets access to alternately the paper of putting in the carton of printer, comprise size, the type of paper, the weight of paper and the capacity of carton of paper.Suppose that printer has 2 cartons, that put in the carton 1 is A4 common paper 80g, puts into altogether 100, and that put in the carton 2 is A3 common paper 80g, puts into altogether 200.
(4) batch jobs output lacks the paper processing module, and it comprises matching module 10, print module 20 and the spider module 30 of above-described embodiment, waits for whether print job lacks paper, lack paper operation afterwards and process for judging.The operation of submitting to is in batches at first mated operation 1 in order.The paper parameter of operation 1 is A4 common paper 75g, and does not all have corresponding paper in 2 cartons of printer, and operation 1 can not be exported, and it is to be printed that state still waits, and continues to stay in and waits in the print queue.Then continue the coupling of operation 2.The paper of operation 2 is A3 common paper 80g, in the carton 2 of printer corresponding paper is arranged, and operation 2 is exported immediately, waits for print queue with operation 2 deletions, and the state of operation becomes printing.After operation 2 printings are complete, the matching judgment above continuing to repeat.
Above-mentioned batch jobs output lacks in the sheet processing system, and the user at first arranges the paper parameter that module arranges operation by the operation paper parameter, and paper parameter comprises antiquarian, paper type and paper weight.Job parameter after setting completed, the user can submit print job in batches to, the print job of submission enters into that to wait for that print job formation, the state of operation are etc. to be printed, the order of operation is by waiting for that the print job formation manages.Wait for that print job lacks the paper processing module by print job, equity operation paper parameter to be printed and carry out matching treatment by the carton paper parameter that printer carton paper information acquisition module gets access to, if in the coupling expression carton paper of waiting for that print job arranges is arranged fully, then export immediately this operation, simultaneously this operation is deleted in waiting for the print job formation.If do not wait for the paper that print job arranges in the coupling expression printer paper box, then sequentially reciprocity operation to be printed is mated the next operation in the row.
As can be seen from the above description, the operation that does not lack paper when the above embodiments of the present invention make batch jobs output can be waited for, rapidly output, and this processing has effectively utilized printer, has reduced user's stand-by period, has improved operating efficiency.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, carried out by calculation element thereby they can be stored in the storage device, perhaps they are made into respectively each integrated circuit modules, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.