Background technology
In printing-flow, the size of printed document is generally less than the size of the medium (majority is a paper) on the printing machine, therefore before printing, wants to piece together printed document on medium earlier, and this just relates to the problem of in processing procedure, how adjusting.
In general flow, set up template when carrying out layout earlier, the number of printed document (little page or leaf) in the whole medium breadth (big version) and the arrangement mode of printed document are set in template.Create description document then, describe and how continuous a plurality of printed documents are put in the template.At last, put into template to the printed document of needs printing (little page or leaf) automatically according to the description of description document.
Fig. 1 shows the big version that printed document 1-8 obtains according to old template, and Fig. 2 shows the big version that printed document 1-8 obtains according to new template.
Drawing template establishment 1X2 at first, wherein being provided with printed document is 2, the first printed document on the left side, second printed document is on the right.Next create description document, describe: printed document 3 and 5 uses template 1X2, and printed document 3 is first printed document, and printed document 5 is second printed document; Printed document 4 and 6 uses template 1X2, and printed document 6 is first printed document, and printed document 4 is second printed document; Printed document 1 and 2 uses template 1X2, and printed document 1 is first printed document, and printed document 2 is second printed document; Printed document 7 and 8 uses template 1X2, and printed document 7 is first printed document, and printed document 8 is second printed document.Next import printed document 1-8, carry out this description document, call template 1X2, can generate 4 big versions shown in Figure 1.
As shown in Figure 2, big version layout changes, and need be a big version with the printed document 3-6 layout among Fig. 1.The way of prior art is: at first create new template 1X4, wherein being provided with printed document is 4, first printed document a left side 1, the second printed document a left side 2, the three printed documents a left side 3, the four printed documents a left side 4.Next create new description document, describe: printed document 3-6 uses template 1X4, and printed document 5 is first printed document, and printed document 4 is second printed document, and printed document 3 is the 3rd printed document, and printed document 6 is the 4th printed document; Printed document 1 and 2 uses template 1X2, and printed document 1 is first printed document, and printed document 2 is second printed document; Printed document 7 and 8 uses template 1X2, and printed document 7 is first printed document, and printed document 8 is second printed document.Next import printed document 1-8, carry out this description document, call template 1X2 and 1X4, all printed documents are all arranged again, generate 3 big versions shown in Figure 2.
The inventor finds that there is following problem at least in this kind method: accomplish and printed document is sequenced in order if template has been provided with before; Need to change certain a part of printed document wherein this moment; Need printed document all be arranged again so; This can relatively lose time, and makes the printed document of back mistake occur easily.
Embodiment
Below with reference to accompanying drawing and combine embodiment, specify the present invention.
Fig. 3 shows the process flow diagram of the method for adjustment of big according to an embodiment of the invention version layout, comprising:
Step S10 is for the new layout of big version is made new template;
Step S20 creates the correcting description document, be used for putting down in writing new template ID, need call new template printed document the page number and in the position of new template;
Step S30 imports all printed documents;
Step S40 judges whether the page number of the printed document of input is documented in the correcting description document;
Step S50 if the page number of printed document of input is documented in the correcting description document, then according to the description of correcting description document, calls new template to the printed document of this input and generates new big version.
Prior art need all be arranged printed document again; And adopt the record of correcting description document need call the printed document of new template in the present embodiment; Therefore when arranging printed document again, the printed document that these need call new template can be only arranged again, the problem that all printed documents cause longer easy error consuming time need be arranged again so overcome prior art; Thereby improved the efficient of revising big version layout in the printing-flow, reduced because of revising layout and brought other wrong risks.
Preferably, this method of adjustment also comprises: also record in the correcting description document: ID and the position in old template thereof that need call the old template that printed document called of new template.Information through putting down in writing about old template can be used to present to the user, makes things convenient for the big version adjustment of user's preview effect.
Fig. 4 shows correcting description document in accordance with a preferred embodiment of the present invention, and wherein " plateNo " representes the page number of printed document, the position of " tplNo " expression printed document in template.When handling; Through searching the position of same printed document in new and old template; Can confirm position relation, the printed document that for example is shown as " 4 " be " 1 " position in the template of " 1 " at old " ID ", and revising afterwards at new " ID " is " 3 " position in the template of " 0 "; Like this, just can calculate the position of all printed documents that need change.The position of other printed document in template then remains unchanged; Need not to arrange again, like " 7,8 " printed document of Fig. 1 originally the 4th template, after the modification then the 3rd big version; But the position in template remains unchanged; Like this, carry out the correcting description document, can under the prerequisite that only changes required change printed document, regenerate big version.
Preferably, this method of adjustment also comprises: according to the correcting description document, position and the position in new template of printed document in old template of needs being called new template constitutes mapping relations, and presents to the user.This helps the user and finds mistake in time, makes the layout adjustment again.
Preferably, step S50 comprises: according to the correcting description document, the printed document that the replacement of new big version need be called new template according to old template generated big edition.Through the replacement of big version, thereby realized new big version layout.
Preferably, as shown in Figure 1, this method of adjustment also comprises: step S60, if the page number of the printed document of input is not documented in the correcting description document, then do not call template to it again.Can keep the big version that layout does not change like this, save time, reduce errors.
Fig. 5 shows the process flow diagram of the method for adjustment of big version layout in accordance with a preferred embodiment of the present invention, and the preferred embodiment combines the technical scheme of above-mentioned a plurality of preferred embodiments, comprising:
S300. printed document is filled in the big version according to template, the printed document that promptly begins is most filled, and can not carry out follow-up work if need not adjust after filling is accomplished;
S301. judge whether the big version of accomplishing the printed document filling needs adjustment, if then continue S302; If, then can directly not carry out last step S308;
S302. need to confirm the printed document of renewal, record upgrades the attribute information of printed document, comprises quantity, size, position, arrangement mode etc.;
S303. create new template according to the attribute information of new printed document, the information of new template is shown that in the preview picture supplying the user to do confirms at last;
S304. confirm the page number mapping relations in new and old template according to the position of printed document in new and old template, certain one page in the promptly old template in new template corresponding to which page or leaf;
S305. judge according to the big version after the mapping relations adjustment whether satisfy required print request, if then continue S306; If, then do not forward S307 to;
S306. write down mapping relations, the old template in the big version is replaced with create good new template;
S307. readjust the setting of new template and revise the printed document mapping relations, meet print request until the later big version of adjustment and continue S308 then;
S308. submit job is handled, and flow process is provided with according to the template in the big version and automatically printed document is filled in big version relevant position and can carries out follow-up work.
In addition, when considering to revise big version layout fast, can also reserve the interface that the user read and preserved big version parameter, to realize application software and user's reciprocal process.For example: according to the needs of big version change; Need in all printed documents to confirm the printed document of renewal, analyze the influence of the renewal of printed document, confirm whether the renewal of printed document can change whole big version attribute for whole big version; Relatively with big version in the difference of other printed documents, be to create new template to set up the basis.
In addition, when making new template, according to printed document quantity, printed document size calculation template document size, printed document quantity in the template if the printed document that has uses special color when specific properties is arranged like printing, is then done marked, can create new template file then.According to the preview graph that generates new template behind the above-mentioned information creating completion new template file, present to the user and check, carry out needed adjustment, the new template file that gets final product to the end.
Fig. 6 shows the process flow diagram of method of adjustment of the big version layout of according to the present invention another preferred embodiment, comprises confirming required renewal layout 41, create new layout templates 42, confirming that printed document mapping relations 43, new template replace old template and submit to and handle 44 several sections.Through analyzing old printed document layout (promptly 431); New printed document layout (promptly 432); Convert the adjustment of printed document the mapping relations of printed document in new and old template into and make that the modification of big version layout is very convenient, rapid; Also reduce again processing renewal printed document and thought the probability of makeing mistakes that other printed documents bring, thereby significantly improved the efficient of process flow operation, can adapt to the needs of printing more.
Fig. 7 shows the synoptic diagram of the adjusting gear of big according to an embodiment of the invention version layout, comprising:
Manufacturing module 10, the new layout that is used to big version is made new template;
Create module 20, be used to create the correcting description document, be used for putting down in writing new template ID, need call new template printed document the page number and in the position of new template;
Load module 30 is used to import all printed documents;
Judge module 40 is used for judging whether the page number of the printed document of input is documented in the correcting description document;
Generation module 50 is documented in the correcting description document if be used for the page number of printed document of input, then according to the description of correcting description document, the printed document of this input is called new template generate new big version.
Improved the efficient of revising big version layout in the printing-flow in the present embodiment, reduced because of revising layout and brought other wrong risks.
Preferably, create module 20 also record in the correcting description document: ID and the position in old template thereof that need call the old template that printed document called of new template.Information through putting down in writing about old template can be used to present to the user, makes things convenient for the big version adjustment of user's preview effect.
Preferably, this adjusting gear also comprises: present module, be used for according to the correcting description document, position and the position in new template of printed document in old template of needs being called new template constitutes mapping relations, and presents to the user.This helps the user and finds mistake in time, makes the layout adjustment again.
Preferably, generation module 40 is according to the correcting description document, the printed document that new big version replacement need be called new template according to old template generated big edition.Through the replacement of big version, thereby realized new big version layout.
Preferably, as shown in Figure 7, this adjusting gear also comprises: keep module 60, be not documented in the correcting description document if be used for the page number of the printed document of input, then it is not called template again.Can keep the big version that layout does not change like this, save time, reduce errors.
From above description, can find out; The above embodiments of the present invention are revised layout and are only revised the printed document that upgrades later on; The printed document that does not upgrade for layout does not make any change, and revises the speed of layout in order to improve flow process, and reduces the probability of makeing mistakes in the adjustment process.
Obviously; It is apparent to those skilled in the art that above-mentioned each module of the present invention or each step can realize that they can concentrate on the single calculation element with the general calculation device; Perhaps be distributed on the network that a plurality of calculation element forms; Alternatively, they can be realized with the executable program code of calculation element, carried out by calculation element thereby can they be stored in the memory storage; Perhaps they are made into each integrated circuit modules respectively, 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 merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.