A kind of method and big version dot array data generating apparatus that generates big version dot array data
Technical field
The present invention relates to printing technology, be specifically related to a kind of method and big version dot array data generating apparatus that generates big version dot array data.
Background technology
Along with improving constantly of modern typography level and printing efficiency, the large format printing machine is very general, yet, finished product after the printing often still is the A4 or the A3 space of a whole page, meanwhile, the deviser also still designs according to the A4 or the A3 space of a whole page in design layout, so just relate to a problem, how little space of a whole page content being organized into a big version dot array data (big pressing formula is seen shown in the accompanying drawing 1) is one of gordian technique in the printing process, in the prior art little space of a whole page content is organized into big version dot array data and generally finishes by big version dot array data generating apparatus.Described big version dot array data generating apparatus comprises folded hand unit and grating image processor, introduces with reference to the accompanying drawings big version dot array data generating apparatus and the method that generates big version dot array data in the prior art.
Prior art one, as shown in Figure 2, in this technology, big version dot array data generating apparatus comprises: folded hand unit, be used to obtain little version fileinfo (as document 1, ..., document N) and big version parameter (as each little version page size in big version page size, the big version page etc.), and all little version file group are made into a big version file that comprises all little version files according to big version parameter; And grating image processor, be used for big version file is generated big version dot array data, and deliver to the enterprising line output of output device (as laser photocomposing machine, printer).Namely, the method that generates big version dot array data is, at first folded hand unit obtains little version fileinfo and big version parameter, and according to big version parameter all little version files are processed, generate a big version file that comprises all little version files, should can be the file of PS or PDF by big version file, by grating image processor the file of described big version PS or PDF is processed then, form at last big version dot array data, deliver to the enterprising line output of output equipment (such as laser photocomposing machine, printer).By said method as can be known, this Technology Need is organized each little version file again according to big version parameter and is generated a big version file, wherein relate to a write and read more consuming time and get the disk operating of big version file, this method has also taken many disk resources simultaneously, and its treatment effeciency is not high.
Prior art two, big version dot array data generating apparatus comprises folded hand unit, merge cells and grating image processor.In this technology, folded hand unit does not merge little version file, but give grating image processor handle before by merge cells with each little version file handle to grating image processor again after being merged into a big version file, the difference of this method and first method is that the operation of synthetic big edition file finished by merge cells.Therefore, this method is identical with first method on total effect, takies many disk resources, and treatment effeciency is not high.
Prior art three, as shown in Figure 3, big version dot array data generating apparatus comprises folded hand unit, grating image processor and Knockdown block.Folded hand unit obtains big version parameter, and according to the big version of big version parameter generation information, and version information is given Knockdown block greatly, Knockdown block is given grating image processor respectively with each little version file and is handled to obtain the dot array data of each little version file, and lattice information stored, so that Knockdown block is assembled into big version dot array data according to big version parameter and big version information with little version file dot array data.In this technology, because each little version dot array data all need cushion,, from disk, read dot array data by Knockdown block again so this Technology Need writes disk to the little version dot array data that grating image processor generates earlier on disk, need more disk resource like this, equally.Moreover dot array data relates to a large amount of internal memory operations when organizing again, and for the efficient of handling needs system bigger memory configurations is arranged, and the hardware configuration of system is had higher requirement.
Summary of the invention
The purpose of this invention is to provide a kind of method and big version dot array data generating apparatus that generates big version dot array data.Generate the problem that big version dot array data efficient is lower and resource occupation is many with solving in the prior art, thereby improve the efficient that generates big version dot array data, reduce the demand to system resource.
The invention discloses a kind of big version dot array data generating apparatus, comprising:
Folded hand unit is used for determining big version parameter and little version fileinfo, and generates big version information according to big version parameter, then big version information is issued grating image processor;
Grating image processor is used for according to big version information and little version fileinfo little version file organization being big version dot array data.
Described grating image processor comprises:
Acquiring unit is used for obtaining file name from little version fileinfo, and obtains little version file according to file name;
Generation unit, the little version file page that the printing page number of little version fileinfo is corresponding that is used for obtaining at described acquiring unit is drawn at the big version page by transformation matrix of coordinates.
The invention also discloses a kind of method that generates big version dot array data, comprising:
A, folded hand unit are determined big version parameter and little version fileinfo;
B, folded hand unit basis version parameter greatly generate big edition information, and big version information and little version fileinfo are issued grating image processor;
C, grating image processor basis big version information and little version fileinfo are with big edition dot array data of all little version file generateds.
Described big version parameter comprises: big version page size, the medium and small version of big version page page size;
Described little version fileinfo comprises file name and printing page number;
Described big version information comprises the transformation matrix of coordinates between the little version page and the big version page.
Described step C specifically comprises:
The acquiring unit of C1, grating image processor obtains file name from little version fileinfo, and obtains little version file according to file name;
The acquiring unit of C2, grating image processor obtains the content of pages corresponding to printing page number of little version fileinfo in described little version file;
The generation unit of C3, grating image processor is drawn by transformation matrix of coordinates described content of pages at the big version page.
Described step C3 specifically comprises:
The generation unit of grating image processor is revised transformation matrix of coordinates according to the output device parameter;
The generation unit of grating image processor is drawn little version content of pages by transformation matrix of coordinates on the big version page, and then generates dot array data.
Described step C3 specifically comprises:
The generation unit of grating image processor is revised current transformation matrix of coordinates according to the output device parameter;
The generation unit of grating image processor is revised current transformation matrix of coordinates according to transformation matrix of coordinates, and by current transformation matrix of coordinates little version content of pages is drawn at the big version page, and then generates dot array data.
Described transformation matrix of coordinates comprises that the little version page is in the path of cutting out of the scaling of the anglec of rotation of the position coordinates of the big version page, the little version page, the little version page and the little version page.
Therefore, effect of the present invention is: folded hand unit generates big version information according to big version parameter, and with version information and little version fileinfo are issued grating image processor greatly, after grating image processor obtains the big version information of folded hand unit, can be by big version size be set, adjust the position of the page, adjust the anglec of rotation of the page, the operations such as cut out areas of the page are set, making does not need to generate the PS or the pdf document of big version in the process that generates big version dot array data, do not need the little version dot matrix that generates is carried out again assembling yet, thereby saved disk resource, improved overall treatment efficiency.
Description of drawings
Fig. 1 is big version schematic diagram;
Fig. 2 is the synoptic diagram of one big edition dot array data generating apparatus of prior art;
Fig. 3 is the synoptic diagram of three big editions dot array data generating apparatus of prior art;
Fig. 4 is the synoptic diagram of big version dot array data generating apparatus of the present invention;
Fig. 5 is the flow chart that the present invention generates big version dot array data.
Embodiment
Understand and realization the present invention the existing embodiments of the invention of describing by reference to the accompanying drawings for the ease of persons skilled in the art.
Overall technological scheme of the present invention is, folded hand unit generates big version information according to big version parameter, and with version information and little version fileinfo are issued grating image processor greatly, grating image processor with the big version of little version file generated dot array data, and is issued output equipment (such as laser photocomposing machine, printer etc.) with a big version dot array data according to little version fileinfo, big version parameter and big version information.Therefore, in the process of the big version of generation of the present invention dot array data, neither need to generate the big version file that comprises all little version files, also do not need to generate in advance each little version dot array data, thereby saved disk resource, improved treatment effeciency.
As shown in Figure 4, the invention provides a kind of big version dot array data generating apparatus, comprise folded hand unit and grating image processor.
Described folded hand unit is used for determining big version parameter and little version fileinfo, and described big version parameter comprises each little version page size in big version page size, the big version page.Described little version fileinfo comprises file name, printing number of pages, printing page number.Folded hand unit also is used for generating big version information according to big version parameter, described big version information is the transformation matrix of coordinates between the little version page and the big version page, that is, the little version page is in the scalability information of the rotation information of the positional information of the big version page, the little version page, the little version page and the cut out areas information of the little version page.Big version information has been determined little version page drafting mode on the big version page, with the folding work of convenient printing back to the big version page.
Described grating image processor is used for according to big version information and little version fileinfo little version file organization being big version dot array data.Described grating image processor comprises: acquiring unit is used for obtaining file name from little version fileinfo, and obtains little version file according to file name; Generation unit, the little version file page that the printing page number of little version fileinfo is corresponding that is used for obtaining at described acquiring unit is drawn at the big version page by transformation matrix of coordinates.
The invention discloses a kind of method that generates big version dot array data, as shown in Figure 5, describe the method for the big version of generation of the present invention dot array data below with reference to Fig. 5.
Step 1, folded hand unit are determined big version parameter and little version fileinfo, and described big version parameter comprises each little version page size in big version page size, the big version page.Described little version fileinfo comprises little version file name, printing number of pages, printing page number.
But described big version parameter utilization structure array is preserved.
Step 2, folded hand unit generate big version information according to big version parameter.Described big version information be the little version page with the big version page between transformation matrix of coordinates, that is, the little version page is in the path of cutting out of the scaling of the anglec of rotation of the position coordinates of the big version page, the little version page, the little version page and the little edition page.
Step 3, folded hand unit are issued grating image processor with big version information and little version fileinfo.
Step 4, grating image processor basis big version information and little version fileinfo are with big edition dot array data of little version file generated, before generating big version dot array data, grating image processor is at first revised transformation matrix of coordinates according to output equipment parameter (such as device resolution).The concrete steps that grating image processor generates big version dot array data are described below:
(1) acquiring unit of grating image processor obtains a little version file name from little version fileinfo.
(2) open file according to little version file name.
(3) little version file is proceeded as follows.
(a) from the printing page number of little version fileinfo, obtain the content of pages corresponding with this printing page number.
(b) generation unit of grating image processor according to transformation matrix of coordinates (namely, scaling, the anglec of rotation of little version page location coordinate, the little version page and cut out the path, and according to scaling, the anglec of rotation of described little version page location coordinate, the little version page and cut out the path) little version content of pages is drawn at a big version page, and then generate dot array data.
(c) repeating step (a)-(b), all printing page number corresponding page contents processing finish in little version fileinfo.
(4) repeating step (1)-(3), little version file processing all in big version information finish.A version dot array data has just formed like this, greatly.
Grating image processor is in the process that generates big version dot array data, also can use current transformation matrix of coordinates, by the conversion to current transformation matrix of coordinates, little version file content is plotted on the big version page, like this, can reuse big version information at distinct device.The method of utilizing current transformation matrix of coordinates to generate big version dot array data is described below.
Before generating big version dot array data, grating image processor is at first revised current transformation matrix of coordinates according to output equipment parameter (such as device resolution).Step below carrying out then:
(5) acquiring unit of grating image processor obtains a little version file name from little version fileinfo.
(6) open file according to little version file name.
(7) little version file is proceeded as follows.
(e) from the printing page number of little version fileinfo, obtain the content of pages corresponding with this printing page number.
(f) generation unit of grating image processor according to transformation matrix of coordinates (promptly, scaling, the anglec of rotation of little version page location coordinate, the little version page and cut out the path, and according to scaling, the anglec of rotation of described little version page location coordinate, the little version page and cut out the path) revise current transformation matrix of coordinates again, according to current transformation matrix of coordinates little version content of pages is drawn on the big version page then, and then generated dot array data.
(g) repeating step (e)-(f), all printing page number corresponding page contents processing finish in little version fileinfo.
(8) repeating step (5)-(7), little version file processing all in big version information finish.A version dot array data has just formed like this, greatly.
Though described the present invention by embodiment, those of ordinary skills know, without departing from the spirit and substance in the present invention, just can make the present invention that many distortion and variation are arranged, and scope of the present invention is limited to the appended claims.