A kind of method and system of continuously printing multiple part bills
Technical field
The invention belongs to technical field of computer information processing, be specifically related to a kind of method and system of continuously printing multiple part bills.
Background technology
Present print field is along with the arrival of information age has presented a lot of new characteristics.For short run, be pressed for time, personalized printing, traditional mode of printing is because efficient is low, function singleness more and more has been not suitable for its requirement, and the digital printing mode has had its huge development space and development potentiality flexibly and efficiently because of it.
The use of multiple part bills almost spreads all over various industries, particularly in government and each enterprises and institutions, bank, security, insurance, post and telecommunications, the tax, food and drink, express company and some ordinary enterprises or the like, all uses multiple part bills in a large number.The characteristics of multiple part bills are that the body matter of each connection is basic identical, only in its content of the relative fixed position of each connection difference to some extent, for example common bank money, it has 3,3 substance all is consistent, and just different at the place, the rightmost side of each connection, first is " stub ", second is " connection of keeping accounts ", and the 3rd is " reimbursement connection ".Industry-by-industry, the employed bill of enterprise cause the content of bill also to have nothing in common with each other because of its different in kind, and individual demand is very strong.But, existing method is when printing multiple part bills, all be to adopt bill printer or other printing device that each connection of multiple part bills is printed respectively successively, the shortcoming of this method is cost height, function singleness, and speed is slow, efficient is low, print size is little, output medium is single, can't satisfy multiple part bills demand flexible and that print continuously.Defective just because of said method, need a kind of method that can realize continuously printing multiple part bills, to raise the efficiency and dirigibility, and can replace traditional bill printer by digital printing equipment, realize the continuous printing of multiple part bills, and the digital printing equipment function is more powerful, flexible with respect to the bill printer of specialty, with the enough output of once finishing whole part of file of multiple part bills.
Summary of the invention
At deficiency of the prior art, the method and system that the purpose of this invention is to provide a kind of continuously printing multiple part bills, these method and system can generate the connection data file of each connection successively according to the controlled variable that the user selects, the connection data file of each connection is carried out bonding with the page data file that master copy file generates again then, generate new complete page data file, pass through digital printing equipment then, can once finish the output of whole part of file of multiple part bills, thereby realize the continuous printing of multiple part bills.
For reaching above purpose, the technical solution used in the present invention is: a kind of method of continuously printing multiple part bills may further comprise the steps:
(1) multiple part bills is respectively joined the input tray that required output medium is put into digital printing equipment successively;
(2) master copy file of input multiple part bills, and master copy file is converted into the page data file, if master copy file has been the page data file, then needn't transform, directly enter step (3); Described master copy file is meant the common ground of each connection in the multiple part bills;
(3) user sets parameters according to demand;
(4) generate the connection data file of each connection successively according to the parameter of setting in the step (3), the page data file that the connection data file of each connection and master copy file are generated is bonding successively then, generate new complete page data file, finish the output of file then by digital printing equipment.
Further, page data file described in step (2), the step (4) is meant Portable Document format file (pdf document), suffix formula page description file formatted file (PS file, AdobePostScript File) or the file of tag tmage file (tiff file, A Tag-Based File Format) form.
Further, in the step (3) user during setup parameter, described parameter comprises the fanout of multiple part bills according to demand; The data content of each connection of multiple part bills; Each connection of multiple part bills is described detail location, direction (horizontal or vertical), font, the font size of this connection data at master copy file, spacing; The input tray of the digital printing equipment that each connection of multiple part bills is specified; And whether multiple part bills is transparent.
Further, the connection data file of each connection described in the step (4), its file layout is consistent with the file layout of the page data file that the master copy file described in the step (2) generates; Specifically, the page data file in the step (2) is as being pdf document, and then the connection data file of each connection is the file of PDF too in the step (4); Page data file in the step (2) is as being the PS file, and then the connection data file of each connection is the file of PS form too in the step (4); Page data file in the step (2) is as being tiff file, then the connection data file of each connection is the file of tiff format too in the step (4), further again, when generating the connection data file of each connection of tiff format according to parameter of user, adopting FreeType font resolver to carry out generating tag tmage file after the rasterization process is tiff file.
Further again, the page data file that in the step (4) master copy file in the connection data file of each connection and the step (2) is generated is bonding successively, when generating new complete page data file, bonding its effect of described file is: can guarantee that consistance that multiple part bills respectively joins same section simultaneously guarantees respectively to be associated in the content difference of assigned address again, specifically adopts following method:
1) be that pdf document and suffix formula page description file are the PS file for the Portable Document format file, according to user selected parameter, adopt the folding of file to utilize the method for " transparent " or " opaque " to merge to above the page data file of master copy file generation the connection data file of each connection of multiple part bills;
2) for the file of tiff format, according to user selected parameter, with the connection data file of each connection of multiple part bills utilize " also " or " or " method merge to above the page data file that master copy file generates.
Further again, if the method for the parameter of setting employing " also " when be " opaque " then file bonding; If the parameter of setting employing when be " transparent " then file bonding " or " method.
The invention also discloses a kind of continuously printing multiple part bills system, this system comprises main frame and coupled output device, described main frame is provided with output module and is used for the data with rasterized that main frame produces is sent to output device printing, also is provided with in the described main frame with lower module:
Master copy file initialization module: be used for the original copy of user's input is generated the master copy data file and sends coupled data file adhering module to through handling;
Parameter is provided with, resolves and the connection data form module: be used to resolve the parameter that the user is provided with on the interface, generate the connection data file then and send coupled data file adhering module to;
Data file adhering module: be used for that master copy file initialization module and parameter setting, parsing and connection data are formed data file that module generates and carry out bondingly, generate new data file and send coupled rasterizer module to;
Rasterizer module: be used for that the data file that the data file adhering module generates is carried out rasterisation and generate the dot array data of printshop need and send coupled output module to.
Further, be provided with judge module in the described master copy file initialization module and be used to judge whether that needs start multiple part bills and print flow process.
Further, described parameter setting, parsing and connection data form in the module and also are provided with FreeType font resolver, are used for generating according to parameter of user the connection data file of each connection of tiff format.
Effect of the present invention is: adopt method and system of the present invention, can utilize digital printing equipment to realize once can finishing the output of whole part of file of multiple part bills easily, realized the continuous printing of multiple part bills, can reduce cost, increase work efficiency greatly, can print the multiple part bills of various patterns convenient, fast, flexibly, continuously.
Why the present invention has the foregoing invention effect, is because the present invention has following characteristics:
(1) employing method and system of the present invention can be according to the multiple part bills of various patterns, by setting the various parameters relevant with multiple part bills, control the generation of the connection data file of each connection flexibly, simultaneously each can be joined different data contents and be positioned over appointed positions in the master copy file, the consistance that promptly can guarantee the multiple part bills same section guarantees respectively to be associated in the content difference of assigned address simultaneously again;
(2) specify input tray by each connection, realized that each connection of multiple part bills can both use different media, thereby keep the continuity of output for multiple part bills;
(3) can generate multiple intermediate page data file, can on dissimilar master copy file bases, carry out bonding output, thereby realize the continuous batch output of multi-joint data file with assurance.
Description of drawings
Fig. 1 is the process flow diagram of the method for the invention;
Fig. 2 is the process flow diagram that the connection data file of multiple part bills is handled;
Fig. 3 is the synoptic diagram of master copy file in the method for the invention;
Fig. 4 is first the printing effect figure that the master copy file among Fig. 3 utilizes that the method for the invention obtains;
Fig. 5 is second the printing effect figure that the master copy file among Fig. 3 utilizes that the method for the invention obtains;
Fig. 6 is the 3rd the printing effect figure that the master copy file among Fig. 3 utilizes that the method for the invention obtains;
Fig. 7 is the printing effect figure that the master copy file among Fig. 3 utilizes the tetrad that the method for the invention obtains;
Fig. 8 is the system architecture and the schematic diagram of system of the present invention.
Embodiment
The invention will be further described below in conjunction with drawings and the specific embodiments:
Embodiment 1:
In the present embodiment, the user need print the banking certificate of entrustment of 1000 parts of same form tetrads, adopts method of the present invention, as shown in Figure 1 and Figure 2, may further comprise the steps:
(1) multiple part bills is respectively joined the input tray that required output medium is put into digital printing equipment successively;
(2) master copy file of input multiple part bills, and master copy file is converted into the page data file, if master copy file has been the page data file, then needn't transform, directly enter step (3); Described master copy file is meant the common ground of each connection in the multiple part bills;
In the present embodiment, the form of master copy file is a word file, and as shown in Figure 3, rasterization process is translated into the tiff format file;
(3) user sets parameters according to demand;
Parameter of user comprises the fanout of multiple part bills in the present embodiment, whether multi-joint data are transparent, the input tray of each connection of multiple part bills, the data content of each connection of multiple part bills, specifying information is as shown in table 1, the while user has also freely set each connection of other parameter such as multiple part bills and has described detail location, direction (horizontal or vertical), font, the font size of this connection data at master copy file, spacing etc., and its printing effect such as Fig. 4-shown in Figure 7.
The parameter of the multiple part bills that table 1 user sets
(4) generate the connection data file of each connection successively according to the parameter of setting in the step (3), and then the page data file that the connection data file of each connection and master copy file are generated is bonding successively, generate new complete page data file, finish the output of file then by digital printing equipment;
The page data file that master copy file generates in the present embodiment step (2), its file layout is a tiff file, for keeping the file layout unanimity, adopting FreeType according to the parameter of setting in the step (3) is that the font resolver carries out that the spanned file form is the connection data file of each connection of multiple part bills of TIFF after the rasterization process, the page data file that master copy file in the connection data file of each connection and the step (2) is generated is bonding successively then, because the file layout of the connection data file of each connection is the file of tiff format in the present embodiment, " transparent " parameter according to user's setting, therefore, when file is bonding, the connection data file of each connection is utilized " or " method and step (2) in the file layout of the generation page data file that is similarly TIFF carry out bonding, the bonding back of file generates new complete page data file, finish the complete output of multiple part bills same form tetrad then by digital printing equipment, can realize the continuous output of multiple part bills same form tetrad bill in the present embodiment, the design sketch after each connection is printed such as Fig. 4-shown in Figure 7.
As shown in Figure 8, a kind of continuously printing multiple part bills system, this system comprises main frame and coupled output device, and described main frame is provided with output module 5 and is used for the data with rasterized that main frame produces is sent to output device printing, also is provided with in the described main frame with lower module:
Master copy file initialization module 1: be used for the original copy of user's input is generated the master copy data file and sends coupled data file adhering module 3 to through handling.In the present embodiment, also be provided with judge module in this module and be used to judge whether that needs start multiple part bills and print flow process.
Parameter is provided with, resolves and the connection data form module 2: be used to resolve the parameter that the user is provided with on the interface, generate the connection data file then and send coupled data file adhering module 3 to.In the present embodiment, also be provided with FreeType font resolver in this module, be used for generating the connection data file of each connection of tiff format according to parameter of user.
Data file adhering module 3: be used for that master copy file initialization module and parameter setting, parsing and connection data are formed data file that module generates and carry out bondingly, generate new data file and send coupled rasterizer module 4 to;
Rasterizer module 4: be used for that the data file that the data file adhering module generates is carried out rasterisation and generate the dot array data of printshop need and send coupled output module to.
Embodiment 2
The user need print the banking certificate of entrustment of 1000 parts of same form tetrads, adopts method of the present invention, may further comprise the steps:
All identical with embodiment 1 other steps, difference is that the master copy file type of multiple part bills in the step (2) is a pdf document, because this document has been the page data file, does not need to transform, directly can enter step (3), parameter of user is identical with enforcement 1; In the step (4), connection data file according to the direct spanned file form of parameter that is provided with in the step (3) each connection that is PDF gets final product, be consistent with the file layout of master copy file in the step (2), master copy file in the connection data file of each connection that will generate successively and the step (2) carries out bonding then, when file is bonding, adopted transparent method, after file is bonding, generate new complete page data file, finish the output of file then by digital printing equipment, can realize the continuous output of multiple part bills same form tetrad bill in the present embodiment.
Embodiment 3
The user need print the banking certificate of entrustment of 1000 parts of same form tetrads, adopts method of the present invention, may further comprise the steps:
All identical with embodiment 1 other steps, difference is that the master copy file type of multiple part bills in the step (2) is the PS file, because this document has been the page data file, does not need to transform, directly can enter step (3), parameter of user is identical with enforcement 1; In the step (4), connection data file according to the direct spanned file form of parameter that is provided with in the step (3) each connection that is PS gets final product, be consistent with the file layout of master copy file in the step (2), carry out the connection data file of each connection and the master copy file in the step (2) bonding successively then, when file is bonding, adopted transparent method, after file is bonding, generate new complete page data file, finish the output of file then by digital printing equipment, can realize the continuous output of multiple part bills same form tetrad bill in the present embodiment.
Adopt method and system of the present invention to finish traditional bill printer with specialty and print continuously multiple part bills, several big advantages are arranged:
1) utilizes method and system of the present invention, adopt the effect and tradition of digital printing equipment output The multiple part bills effect that generates of bill printing equipment be same;
2) utilize method of the present invention can greatly improve delivery efficiency, reduce wrong incidence, Can be good at satisfying the requirement of industry-by-industry or enterprise;
3) utilize method of the present invention can control efficiently, flexibly, easily respectively the locating of connection of multiple part bills Reason, realized some traditional bill printing equipment do not possess or realize the function of more complicated;
4) utilizing digital printing equipment to carry out the printing of multiple part bills, is a kind of mode of digital printing, Do not affect other function of digital printing, thereby make the use of equipment have diversity.
Above-mentioned example is applicable to the prompt digital printing production system of the seal of Founder, but the present invention is not limited to This digital printing system, for other system, method of the present invention is suitable for equally and has same Remarkable result.
Any modification that those skilled in the art carry out in the spirit and scope of the disclosure of invention and Change belongs to and is equal to replacement, and then these modifications and change all belong to the scope of the present invention.