CN101082907B - Mixed makeup method and system - Google Patents

Mixed makeup method and system Download PDF

Info

Publication number
CN101082907B
CN101082907B CN2007101297871A CN200710129787A CN101082907B CN 101082907 B CN101082907 B CN 101082907B CN 2007101297871 A CN2007101297871 A CN 2007101297871A CN 200710129787 A CN200710129787 A CN 200710129787A CN 101082907 B CN101082907 B CN 101082907B
Authority
CN
China
Prior art keywords
page
layout
little
explanation
leaf
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2007101297871A
Other languages
Chinese (zh)
Other versions
CN101082907A (en
Inventor
季勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New Founder Holdings Development Co ltd
Peking University
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University
Peking University Founder Group Co Ltd
Beijing Founder Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Peking University, Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University
Priority to CN2007101297871A priority Critical patent/CN101082907B/en
Publication of CN101082907A publication Critical patent/CN101082907A/en
Application granted granted Critical
Publication of CN101082907B publication Critical patent/CN101082907B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

The invention discloses a composite imposing method and system, which comprises the following steps: setting interpreting mode, assembling mode, sharing memory unit separately; setting imposing parameter for the interpreting mode; distributing the imposing parameter and small-page page to the interpreting mode; interpreting the grammar of small-page page according to the imposing parameter; generating middle file; using assembling mode to assemble the middle file to generate large-version page lattice; storing the large-version page lattice to the sharing memory unit. The composite imposing system contains interpreting mode distributing unit, at least interpreting modes with different patterns, sharing memory unit and assembling mode. The invention can impose the depicted page file with different format patterns, which improves the efficiency of composite imposition.

Description

Mixed keyline layout method and system
Technical field
The present invention relates to a kind of keyline layout method and system, relate in particular to a kind of mixed keyline layout method and system.
Background technology
In the plate-making process, the content (comprising image, literal, lines etc.) of the page need be combined on request, form the page; Perhaps need the book size according to printing machine, the requirement that cuts and bind, with a plurality of different page amalgamations together, make printing surface.This content with the page is grouped together and forms the complete page, perhaps a plurality of different pages is grouped together on request, and the process that constitutes printing surface is called layout.The size of layout is determined by the size of printing format and printing sheets.
The layout mode is divided into traditional layout mode and computing machine layout mode.Traditional layout mode is by the manual imposition of manually finishing.Manual imposition is very high to the requirement of operative skill and experience, needs to consume great amount of manpower and material resources, financial resources and time, and may problems such as register trouble occur at final printing stage.
Along with the widespread use of digital printing, produced computing machine layout mode, i.e. digitizing layout mode.Common digitizing layout mode has two kinds, i.e. layout before layout and the rasterisation behind the rasterisation.So-called rasterisation is meant the process that a vector graphics (as straight line, circle) is converted to a series of picture elements.Respectively these two kinds of layout modes are introduced below.
(1) layout behind the rasterisation
Need the little page or leaf page of layout to have various Format Types, for example the suffix descriptive language page (PostScript) but the portable document format page (PDF), the PCL page (PCL), the Tagged Image File (TIF) Format page (TIFF) etc.As shown in Figure 1, layout behind the rasterisation is the little page or leaf page with described various Format Types, uses the corresponding raster image processor of Format Type with this little page or leaf page to carry out rasterisation, generates corresponding data with rasterized; Then described data with rasterized is carried out other layout of dot matrix level, generate the final big version space of a whole page.Wherein, raster image processor is RIP, and it is a kind ofly page-description language to be converted to raster image and at the processor of the enterprising line output of output device (as film setter, computer direct platemaking machine, printer).
Behind rasterisation in this layout mode of layout, what raster image processor received is the form of some standards, tiff format for example, so layout is to the Format Type of the page-description language of input without limits behind the rasterisation.But owing to be subjected to the influence of printing format size and resource for computer system, data with rasterized tends to bigger, can't leave in the computer system memory always.So, just must earlier the data with rasterized of each page-description language file be write on the disk, form disk file and preserve.In layout, will read in internal memory with the data with rasterized of disk file storage before again, carry out layout, form the final big version space of a whole page, and the big edition space of a whole page is delivered to the output device output of rear end.Such processing mode is elapsed time relatively, thereby has just reduced the layout efficient of layout behind the rasterisation.
(2) layout before the rasterisation
Layout is a plurality of little page or leaf page of the same Format Type (for example PostScript form) that will need layout before the rasterisation as shown in Figure 2, at first synthesize the big version page of a justifying, the raster image processor by same format type (for example PostScript form) carries out rasterisation then; The data with rasterized of the little page or leaf page of described same format type (for example PostScript form) is stored in the same storage space of calculator memory or hard disk; At last read data with rasterized in the described storage space by raster image processor, assembling generates the final big version space of a whole page.
Because layout is that the big version page is carried out rasterisation before the rasterisation, and the data behind the described big version page rasterisation are stored on calculator memory or the disk together.Therefore, the read-write operation repeatedly to calculator memory or disk has been avoided in layout before the rasterisation, has improved the layout treatment effeciency to a certain extent.
But, layout before the common rasterisation, raster image processor is more single for the call format of the little page or leaf page, and for example layout requires the page description file form of the little page or leaf page all to be the PostScript file or all to be pdf document etc. before the rasterisation.In addition, because layout before the rasterisation is to need the little page or leaf page of layout once to synthesize the big version page of a justifying each, carry out rasterization process then.Therefore in rasterization process, if find raster image processor some little page or leaf page is wherein explained incorrect situation, the layout system just can not make an explanation to the little page or leaf page of makeing mistakes separately again, but need make an explanation again to the whole big version page.Will make before the rasterisation layout correctness and predictablely reduce greatly so like this, thereby reduce layout efficient.
Summary of the invention
The object of the present invention is to provide a kind of mixed keyline layout method and system, can carry out layout, improve the efficient of mixed keyline layout the page-description language file of different-format type.
To achieve the above object of the invention, mixed keyline layout method of the present invention by the following technical solutions.
A kind of mixed keyline layout method may further comprise the steps:
Explanation module, Knockdown block, shared memory cell are set respectively; Wherein said explanation module corresponds respectively to a kind of little page or leaf page of Format Type at least for the explanation module of the explanation module of two kinds of different-format types and every kind of Format Type;
Be described explanation module setting and distribution layout parameter, and be that described explanation module distributes the little page or leaf page;
Described explanation module carries out grammar explanation according to the layout parameter that is provided with to the little page or leaf page, generates intermediate file;
Described Knockdown block is assembled described intermediate file, generates big version typeface dot-matrix;
Described big version typeface dot-matrix is stored in the described shared memory cell.
Above-mentioned explanation module carries out grammar explanation according to the layout parameter that is provided with to the little page or leaf page, and the step that generates intermediate file also comprises:
After the every explanation of described each explanation module finishes a little page or leaf page, return the included explain information of this little page or leaf page, and after all little page or leaf pages explanations are finished, return explanation and finish control signal;
According to the explain information that returns, determine the assembling parameter, generate the assembling control command, and will assemble parameter and assemble control command and send to described Knockdown block.
Wherein, explain information comprises look face number and the look face title that the little page or leaf page comprises.
The assembling parameter comprises: high, the total segments of section of each assembling section, and every section every look face needs memory size, and every section needs memory size altogether.
Above-mentioned Knockdown block is assembled described intermediate file, and the step that generates big version typeface dot-matrix is specially:
Knockdown block is assembled described intermediate file, generates big version typeface dot-matrix, and generates the low resolution preview graph according to described intermediate file.
Above-mentioned layout parameter comprises: big version layout parameter, little page or leaf page output information.
Above-mentioned big version layout parameter comprises: big version type page size, and output device resolution, the output device position is dark, and whether output device supports special look;
Little page or leaf page output information is meant the positional information of the little page or leaf page at the big version space of a whole page; Described positional information obtains by a transformation matrix of coordinates, and the form of described transformation matrix of coordinates is:
[1 0 0 1 tx ty],
Wherein, tx, ty are under user coordinate system, and the big relatively version of little page or leaf page space of a whole page coordinate system is at x, the translational movement that the y direction is carried out.
For achieving the above object, mixed keyline layout of the present invention system by the following technical solutions:
A kind of mixed keyline layout system comprises:
The explanation module allocation units are used to explanation module that the layout parameter is set, and distribute described layout parameter, the little page or leaf page;
The explanation module of at least two kinds of Format Types is connected with described explanation module allocation units, is used for according to the layout parameter that is provided with, and the little page or leaf page is carried out grammar explanation, generates intermediate file; Wherein the explanation module of every kind of Format Type corresponds respectively to a kind of little page or leaf page of Format Type;
Knockdown block is connected with described explanation module, is used to assemble the intermediate file that described explanation module generates, and generates big version typeface dot-matrix;
Shared memory cell is connected with described Knockdown block, is used to store big version typeface dot-matrix.
Described mixed keyline layout system also comprises previewing module, is connected with described explanation module, is used to read the intermediate file that described explanation module generates, and generates the low resolution preview graph.
Described mixed keyline layout system also comprises print control unit, and described print control unit comprises:
Explain control module, be connected, be used for producing the distribution control command with described explanation module allocation units;
The assembling control module is connected respectively with Knockdown block with described explanation module, is used for finishing control signal according to the explain information and the explanation of explanation module output, determines the assembling parameter, generates the assembling control command.
Wherein, the explain information of described each explanation module output comprises: look face number and look face title that the little page or leaf page comprises.
The assembling parameter that described assembling control module is determined comprises: high, the total segments of section of each assembling section, and every section every look face needs memory size, and every section needs memory size altogether.
The layout parameter that above-mentioned explanation module allocation units are distributed comprises: big version layout parameter and little page or leaf page output information.
Above-mentioned big version layout parameter comprises: big version type page size, and output device resolution, the output device position is dark, and whether output device supports special look;
Described little page or leaf page output information is meant the positional information of the little page or leaf page at the big version space of a whole page; Described positional information obtains by a transformation matrix of coordinates, and the form of described transformation matrix of coordinates is:
[1 0 0 1 tx ty],
Wherein, tx, ty are under user coordinate system, and the big relatively version of little page or leaf page space of a whole page coordinate system is at x, the translational movement that the y direction is carried out.
Compare with keyline layout method before the rasterisation, mixed keyline layout method of the present invention, to the Format Type of each little page or leaf page of input without limits, by each explanation module each little page or leaf page is carried out grammar explanation, generate each intermediate file, therefore the layout system was in the process of a rasterisation before this had just broken through rasterisation, can only carry out grammar explanation to the little page or leaf page of same Format Type, and can not be simultaneously the little page or leaf page of multiple Format Type be carried out the restriction of grammar explanation, thereby improve the efficient of mixed keyline layout, improved the compatibility and the extendability of mixed keyline layout.In addition, as further improvement to mixed keyline layout method of the present invention, in the process of the little page or leaf page of explaining various different-format types, can utilize the corresponding intermediate file that generates to generate the preview graph of low resolution, and can carry out the judgement of layout correctness, and then before rasterisation, can make an explanation again to explaining the incorrect little page or leaf page, thereby reduced the probability of the big version layout error of final output, improved the efficient of layout.
Simultaneously, compare with keyline layout method behind the rasterisation, mixed keyline layout method of the present invention in the process that forms the final big version space of a whole page, reads each intermediate file by Knockdown block, generate big version typeface dot-matrix, and a big version typeface dot-matrix is stored in the shared memory cell, therefore, this just can export big edition typeface dot-matrix storing in the shared memory cell to output device, thereby avoided read-write operation repeatedly, farthest improved the efficient of mixed keyline layout calculator memory or hard disk.
Compare with layout system before the grating, because mixed keyline layout of the present invention system is provided with at least two kinds of dissimilar explanation modules, make this mixed keyline layout system to carry out grammar explanation to the little page or leaf page of different-format type, and generate each intermediate file, therefore the layout system was in the process of a rasterisation before this had just broken through rasterisation, can only carry out grammar explanation to the little page or leaf page of same Format Type, and can not be simultaneously the little page or leaf page of multiple Format Type be carried out the restriction of grammar explanation, thereby improve the efficient of mixed keyline layout.In addition, as perfect in shape and function to Knockdown block described in the present invention, described Knockdown block also is used to read each intermediate file, generate the low resolution preview graph, in this case, this mixed keyline layout system can generate the preview graph of low resolution according to intermediate file, thereby can judge early whether each explanation module is correct to the explanation of each little page or leaf page, and then before rasterisation, can make an explanation again to explaining the incorrect little page or leaf page, the layout mode can only further improve the layout efficient of mixed keyline layout system to the whole big edition situation that the page makes an explanation before having avoided rasterisation after certain little page or leaf explanation makes mistakes.
Simultaneously, compare with layout system behind the rasterisation, mixed keyline layout of the present invention system, in the layout process, read each intermediate file that each explanation module generates by Knockdown block, assembling generates big version typeface dot-matrix, and big version typeface dot-matrix is stored in the shared memory cell, and this just makes this mixed keyline layout system the big version typeface dot-matrix of storing in the shared memory cell can be outputed on the output device.Therefore, layout needed respectively the data with rasterized of each little page or leaf page is constantly carried out situation to the read-write operation of calculator memory or hard disk in assembling process after this had just been avoided rasterisation, thereby had improved the layout efficient of mixed keyline layout system.
Description of drawings
Fig. 1 is the schematic diagram of layout behind the rasterisation in the prior art;
Fig. 2 is the schematic diagram of the preceding layout of rasterisation in the prior art;
Fig. 3 is the process flow diagram of mixed keyline layout method among the present invention;
Fig. 4 is the structural drawing of mixed keyline layout system among the present invention;
Fig. 5 is the specific embodiment graph structure figure of mixed keyline layout system among the present invention.
Embodiment
Below in conjunction with drawings and embodiments technical scheme of the present invention is done detailed explanation.
As shown in Figure 3 be the process flow diagram of mixed keyline layout method of the present invention.The mixed keyline layout here is meant the process that the little page or leaf of the various Format Types page to input (as the little page or leaf page of the little page or leaf page of the little page or leaf page of PostScript language description, PDF type, PCL Format Type, tiff format type etc.) carries out layout.
This method mainly comprises the steps:
(S1) explanation module, Knockdown block, shared memory cell are set respectively; Wherein said explanation module corresponds respectively to a kind of little page or leaf page of Format Type at least for the explanation module of the explanation module of two kinds of different-format types and every kind of Format Type;
(S2) be explanation module setting and distribution layout parameter, and be that explanation module distributes the little page or leaf page;
(S3) explanation module carries out grammar explanation according to the layout parameter that is provided with to the little page or leaf page, generates intermediate file;
(S4) described Knockdown block assembling intermediate file generates big version typeface dot-matrix;
(S5) big version typeface dot-matrix is stored in the shared memory cell.
In above-mentioned steps (S1), the explanation module that is provided with is the explanation module of at least two kinds of different-format types, the explanation module of every kind of Format Type is the little page or leaf page of corresponding a kind of Format Type respectively, explanation module as the corresponding PS Format Type of the little page or leaf page of PostScript Format Type, the explanation module of the corresponding PDF type of the little page or leaf page of PDF type, the explanation module of the corresponding PCL Format Type of the explanation module of PCL Format Type, the explanation module of the corresponding tiff format type of the little page or leaf page of tiff format type etc.
In the above-mentioned steps, form final big version typeface dot-matrix and will be somebody's turn to do the process that big version typeface dot-matrix stores shared memory cell into, without limits the Format Type of each little page of page of input.Method of the present invention is carried out grammar explanation by each explanation module to the little page or leaf page of various Format Types, generate each intermediate file, therefore the layout system was in the process of a rasterisation before this had just broken through rasterisation, can only carry out grammar explanation to the little page or leaf page of same Format Type, and can not be simultaneously the little page or leaf page of multiple Format Type be carried out the restriction of grammar explanation, thereby improve the efficient of mixed keyline layout, improved the compatibility and the extendability of mixed keyline layout.
In above-mentioned steps (S2), described layout parameter comprises: the little page or leaf page output information of big version layout parameter and various Format Types.
Described big version layout parameter comprises: big version type page size, and output device resolution, the output device position is dark, and whether output device supports special look.
The little page or leaf page output information of described various Format Types is meant the positional information of the little page or leaf page of various Format Types at the big version space of a whole page; Described positional information obtains by a transformation matrix of coordinates.
In page description file, described all pels based on coordinate system be referred to as user coordinate system system (User Coordinate System), and this user coordinate system and output device are irrelevant.May there be X in the little page or leaf page with respect to the coordinate system of the big version space of a whole page, the skew of Y direction, and this offset operation can pass through transformation matrix CTM (Transformation Matrix) to be realized.The form of the mathematical description of transformation matrix is as follows:
[1 0 0 1 tx ty]
Wherein, tx, ty are exactly under user coordinate system, the little page or leaf page with respect under the big version space of a whole page coordinate system at x, the translational movement that the y direction need be carried out.
Need the account form of the position coordinates of the little page or leaf page in the big version space of a whole page of various Format Types of layout as follows:
x’=x+tx
y’=y+ty
Wherein, x, y are the coordinate figures in the little page or leaf page, and x ', y ' are the coordinate figures in the big version space of a whole page.Coordinate figure in the little page or leaf page is known, the coordinate figure of this little page or leaf page in the big version space of a whole page can be provided with by the user, so just can calculate very easily under user coordinate system, little page of page with respect under the big edition space of a whole page coordinate system at x, the translational movement tx that the y direction need be carried out, ty.
When the little page or leaf page of various Format Types, big version layout information are sent to each explanation module, the transformation matrix of the little page or leaf page correspondence of various Format Types is sent simultaneously, thereby can guarantee that each little page or leaf page obtains correct position in the big version space of a whole page.
The detailed process for the little page or leaf of each explanation module distribution page described in the step (S2) is: be the explanation module of every kind of Format Type, distribute and the corresponding little page or leaf page of its Format Type, for example distribute the little page or leaf page of PDF, distribute little page or leaf page of PS form or the like for the PS explanation module for the PDF explanation module.Like this, just can carry out grammar explanation to the little page or leaf page of the multiple Format Type of input.
In above-mentioned steps (S3), by grammar explanation, the content of pages of the little page or leaf page can be decomposed into independently a series of element figure object, as the literal object, Drawing Object, image object, gradient object and their assembly.
Described intermediate file, can be understood as can be assembled a kind of file that is similar to the page-description language form of module identification.Intermediate file is the little page or leaf page that is independent of original various Format Types, that is to say, this intermediate file has comprised the information of the original little page or leaf page that its corresponding explanation module imports.
In addition, behind the intact little page or leaf page of the every explanation of each explanation module, export the included explain information of this little page or leaf page, and after all little page or leaf pages explanations were finished, output was explained and is finished control signal.
According to the explain information of each explanation module output, determine the assembling parameter, generate the assembling control command, and will assemble parameter and assemble control command and send to described Knockdown block.
Described explain information comprises look face number and the look face title that the little page or leaf page of various Format Types comprises respectively.
Described assembling parameter comprises: high, the total segments of section of each assembling section, and every section every look face needs memory size, and every section needs memory size altogether.
According to the resource for computer system situation, calculate each assembling parameter.The size of each assembling section is mainly determined according to the size of computing machine free memory.
In above-mentioned (S4), Knockdown block assembling intermediate file, the detailed process that generates big version typeface dot-matrix comprises;
(S41) calculate each height H s that assembles section:
Hs=M/X/n
Wherein, Hs is the height of each assembling section, unit: pixel;
M is the size of computing machine free physical memory, unit: megabyte;
X is the width of the big version of final physical space of a whole page directions X, unit: pixel;
N is the look face number that the big version of the final physical space of a whole page comprises.
(S42) the assembling control module is according to the height of each assembling section in the segmentation assembling that calculates, physics type page size in conjunction with the big version space of a whole page, can further calculate: segments altogether, every section required memory size of every look face, and the size of the section of needs internal memory altogether.These CALCULATION OF PARAMETERS methods once are described below.
Segments Ns altogether:
When Ns=H/Hs is the Hs integral multiple as H;
Ns=H/Hs+1 other.
Wherein, Ns is total hop count;
H is the height of big version space of a whole page physics type page, unit: pixel;
Hs is the height of each assembling section, unit: pixel.
Every section every look face needs memory size Ms:
Ms=(W*B+7)/8
Wherein, Ms is that every section every look face needs memory size, unit: byte;
B is that the output device position is dark, and general value is: 1 or 8;
W is the width of big version space of a whole page physics type page, unit: pixel.
Every section needs memory size Mt altogether:
Mt=Ms*n
Wherein, Mt is every section size that needs internal memory altogether, unit: byte;
Ms is that every section every look face needs memory size, unit: byte;
N is the look face number that the big version of the final physical space of a whole page comprises.
After calculating, applying for distributing memory headroom, earlier memory headroom is carried out initialization.This initialized work is only carried out once before Knockdown block is assembled, and does not carry out initialized work in the operating process afterwards.
In the described step (S4), assemble each intermediate file, it should be noted that the only responsible assembling of Knockdown block in the process of the big version of generation typeface dot-matrix, calculator memory is not carried out any initialized operation at Knockdown block.Therefore, when the class description language file of the one little page of page in back stored in the storage unit, the intermediate file of the little page or leaf page of storage before can not be capped, thus the assembling result's of other the little page or leaf page before guaranteeing validity.
As further optimization, Knockdown block carry out segmentation when assembling can be only to having the little page or leaf page of friendship to carry out the assembling of dot matrix with current assembling section, thereby avoided in the assembling process repeatedly scanning work, improve the efficient of mixed keyline layout.
In the assembling process, Knockdown block successively the intermediate file of the corresponding little page or leaf page in the assembling section is assembled, and the result of every section assembling adopts the mode of sharing dot matrix according to described assembling parameter.This has also just been avoided behind the rasterisation needing constantly carry out repeatedly the operation of writable computer internal memory or hard disk to the data with rasterized of each little page or leaf page in the layout system.
The implication of sharing dot matrix is meant, the result of every section assembling, promptly dot array data all will leave in the shared memory cell in advance in the internal memory of its appointment, be that each big version typeface dot-matrix is in storing shared memory cell into the time, according to the positional alignment of each little page or leaf page in the big version space of a whole page of having determined.The big version typeface dot-matrix that to store at last outputs on the output device.
Described step (S5) also comprises: after generating big version typeface dot-matrix, also can read each intermediate file and generate the low resolution preview graph.By this step, can judge early whether each explanation module is correct to the explanation of each little page or leaf page, and then before rasterisation, can make an explanation again to explaining the incorrect little page or leaf page, the layout mode can only further improve the layout efficient of mixed keyline layout system to the whole big edition situation that the page makes an explanation before having avoided rasterisation after certain little page or leaf explanation makes mistakes.
Simultaneously, in the prior art,, be respectively to finish by the explanation module of PDF raster image processor and the explanation module of PostScript raster image processor to the explanation of pdf document and PostScript tab file.Owing to lack necessary connection between the explanation module of two kinds of different raster image processors, like this, traditional rasterization process mode can't combine both functions, adds the PostScript mark when also just can't realize the pdf document rasterisation.
But, according to the method for the invention, owing to can make an explanation to pdf document and PostScript tab file simultaneously, and the intermediate file of generation consolidation form, therefore, when explanation module makes an explanation, just can join the PostScript mark in the pdf document.
Corresponding with mixed keyline layout method of the present invention, the present invention also provides a kind of system of mixed keyline layout.
Fig. 4 is the structural drawing of mixed keyline layout of the present invention system.As shown in Figure 4, mixed keyline layout of the present invention system comprises:
The explanation module allocation units are used to explanation module that the layout parameter is set, and distribute described layout parameter, the little page or leaf page;
The explanation module of at least two kinds of Format Types is connected with described explanation module allocation units, is used for according to the layout parameter that is provided with, and the little page or leaf page is carried out grammar explanation, generates intermediate file; Wherein the explanation module of every kind of Format Type corresponds respectively to a kind of little page or leaf page of Format Type;
Knockdown block is connected with described explanation module, is used to assemble the intermediate file that described explanation module generates, and generates big version typeface dot-matrix;
Shared memory cell is connected with described Knockdown block, is used to store big version typeface dot-matrix.
The layout parameter of described explanation module allocation units setting comprises: the little page or leaf page output information of big version layout parameter and various Format Types.The little page or leaf page output information of described various Format Types is meant the positional information of the little page or leaf page of various Format Types at the big version space of a whole page.The little page or leaf page that calculates various Format Types is as follows in the process of the positional information of the big version space of a whole page:
May there be x in the little page or leaf page of various Format Types with respect to the coordinate system of the big version space of a whole page, the skew of y direction, and this offset operation can pass through transformation matrix CTM (Transformation Matrix) to be realized.The mathematical description form of transformation matrix is as follows:
[1 0 0 1 tx ty]
Wherein, tx, ty are exactly under user coordinate system, the little page or leaf page with respect under the big version space of a whole page coordinate system at x, the translational movement that the y direction need be carried out.
The account form of the position coordinates of the little page or leaf page of various Format Types that needs layout in the big version space of a whole page (x ', y ') is as follows:
x’=x+tx
y’=y+ty
Wherein, x, y are the coordinate figures in the little page or leaf page, and x ', y ' are the coordinate figures in the big version space of a whole page.Coordinate figure in the little page or leaf page is known, and the coordinate figure of this little page or leaf page in the big version space of a whole page can be provided with by the user.So just can calculate very easily under user coordinate system, the little page or leaf page with respect under the big version space of a whole page coordinate system at x, the translational movement tx that the y direction need be carried out, ty.Transformation matrix according to the little page or leaf page correspondence of the various Format Types that calculate can guarantee that each little page or leaf page obtains correct position in the big version space of a whole page.
Compare with layout system before the grating, because mixed keyline layout of the present invention system is provided with at least two kinds of dissimilar explanation modules, make this mixed keyline layout system to carry out grammar explanation to the little page or leaf page of different-format type, and generate each intermediate file, therefore the layout system was in the process of a rasterisation before this had just broken through rasterisation, can only carry out grammar explanation to the little page or leaf page of same Format Type, and can not be simultaneously the little page or leaf page of multiple Format Type be carried out the restriction of grammar explanation, thereby improve the efficient of mixed keyline layout.
Compare with layout system behind the rasterisation, in the layout process, read each intermediate file that each explanation module generates by Knockdown block, assembling generates big version typeface dot-matrix, and a version typeface dot-matrix is stored in the shared memory cell greatly, and this just makes this mixed keyline layout system the big version typeface dot-matrix of storing in the shared memory cell can be outputed on the output device.Therefore, layout needed respectively the data with rasterized of each little page or leaf page is constantly carried out situation to the read-write operation of calculator memory or hard disk in assembling process after this had just been avoided rasterisation, thereby had improved the layout efficient of mixed keyline layout system.
As shown in Figure 5, on the basis of mixed keyline layout system shown in Figure 4, described mixed keyline layout system also comprises print control unit, previewing module, storage control unit.
Wherein, described print control unit comprises:
Explain control module, be connected, be used for determining the layout parameter, and produce the distribution control command with described explanation module allocation units;
The assembling control module is connected with described each explanation module, is used for finishing control signal according to the explain information and the explanation of each explanation module output, determines the assembling parameter, generates the assembling control command.
The explain information of described each explanation module output comprises: look face number and look face title that the little page or leaf page comprises.
The assembling parameter that described assembling control module is determined comprises: high, the total segments of section of each assembling section, every section every look face need memory size and every section to need memory size altogether.
It is as follows to calculate described assembling CALCULATION OF PARAMETERS mode:
(1) calculate each height H s that assembles section:
Hs=M/X/n
Wherein, Hs is the height of each assembling section, unit: pixel;
M is the size of computing machine free physical memory, unit: megabyte;
X is the width of the big version of final physical space of a whole page directions X, unit: pixel;
N is the look face number that the big version of the final physical space of a whole page comprises.
(2) the assembling control module is according to the height of each assembling section in the segmentation that the calculates assembling, and the physics type page size in conjunction with the big edition space of a whole page can further calculate: segments altogether, every section required memory size of every look face, and the size of the section of needs internal memory altogether.
Segments Ns altogether:
When Ns=H/Hs is the Hs integral multiple as H;
Ns=H/Hs+1 other.
Wherein, Ns is total hop count;
H is the height of big version space of a whole page physics type page, unit: pixel;
Hs is the height of each assembling section, unit: pixel.
Every section every look face needs memory size Ms:
Ms=(W*B+7)/8
Wherein, Ms is that every section every look face needs memory size, unit: byte;
B is that the output device position is dark, and general value is: 1 or 8;
W is the width of big version space of a whole page physics type page, unit: pixel.
Every section needs memory size Mt altogether:
Mt=Ms*n
Wherein, Mt is every section size that needs internal memory altogether, unit: byte;
Ms is that every section every look face needs memory size, unit: byte;
N is the look face number that the big version of the final physical space of a whole page comprises.
As further improvement, Knockdown block carry out segmentation when assembling can be only to having the little page or leaf page of friendship to carry out the assembling of dot matrix with current assembling section, thereby avoided the scanning work of mixed keyline layout system repeatedly, improve the efficient of mixed keyline layout.
In mixed keyline layout of the present invention system, each explanation module and Knockdown block are independently of one another in the course of the work, do not have any dependence.Have only and submit the little page or leaf page to or trigger that explanation module makes an explanation or Knockdown block is assembled, explanation module or Knockdown block just can be started working.Explanation module is explained and has been finished to stop at once explaining behind the little page or leaf page, unless there is another little page or leaf page to submit to again; Stop assembling behind the little page or leaf content of pages of Knockdown block in having assembled specified section, trigger unless receive another assembling.In the assembling process, Knockdown block successively the intermediate file of the corresponding little page or leaf page in the assembling section is assembled, and the result of every section assembling adopts the mode of sharing dot matrix according to described assembling parameter.The implication of sharing dot matrix is meant, the result of every section assembling, and promptly dot array data all will leave in the shared memory cell in advance in the internal memory of its appointment.
Described previewing module, be connected with described explanation module, be used to read each intermediate file, generate the low resolution preview graph, in this case, this mixed keyline layout system can generate the preview graph of low resolution according to intermediate file, early judge whether each explanation module correct to the explanation of each little page or leaf page, and then before rasterisation, can make an explanation again to explaining the incorrect little page or leaf page, the layout mode can only further improve the layout efficient of mixed keyline layout system to the whole big edition situation that the page makes an explanation before having avoided rasterisation after certain little page or leaf explanation makes mistakes.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those skilled in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.

Claims (14)

1. a mixed keyline layout method is characterized in that, said method comprising the steps of:
Explanation module, Knockdown block, shared memory cell are set respectively; Wherein said explanation module corresponds respectively to a kind of little page or leaf page of Format Type at least for the explanation module of the explanation module of two kinds of different-format types and every kind of Format Type;
Be described explanation module setting and distribution layout parameter, and be that described explanation module distributes the little page or leaf page;
Described explanation module carries out grammar explanation according to the layout parameter that is provided with to the little page or leaf page, generates intermediate file;
Described Knockdown block is assembled described intermediate file, generates big version typeface dot-matrix;
Described big version typeface dot-matrix is stored in the described shared memory cell.
2. mixed keyline layout method according to claim 1 is characterized in that, described explanation module carries out grammar explanation according to the layout parameter that is provided with to the little page or leaf page, and the step that generates intermediate file also comprises:
After the every explanation of described explanation module finishes a little page or leaf page, return the included explain information of this little page or leaf page, and after all little page or leaf pages explanations are finished, return explanation and finish control signal;
According to the explain information that returns, determine the assembling parameter, generate the assembling control command, and will assemble parameter and assemble control command and send to described Knockdown block.
3. mixed keyline layout method according to claim 2 is characterized in that, described explain information comprises: look face number and look face title that the little page or leaf page comprises.
4. mixed keyline layout method according to claim 2 is characterized in that, described assembling parameter comprises: high, the total segments of section of each assembling section, every section every look face need memory size and every section to need memory size altogether.
5. mixed keyline layout method according to claim 1 is characterized in that described Knockdown block is assembled described intermediate file, and the step that generates big version typeface dot-matrix is specially:
Knockdown block is assembled described intermediate file, generates big version typeface dot-matrix, and generates the low resolution preview graph according to described intermediate file.
6. mixed keyline layout method according to claim 1 is characterized in that, described layout parameter comprises: big version layout parameter, little page or leaf page output information.
7. mixed keyline layout method according to claim 6 is characterized in that, described big version layout parameter comprises: big version type page size, and output device resolution, the output device position is dark, and whether output device supports special look;
Described little page or leaf page output information is meant the positional information of the little page or leaf page at the big version space of a whole page; Described positional information obtains by a transformation matrix of coordinates, and the form of described transformation matrix of coordinates is:
[1 0 0 1 tx ty],
Wherein, tx, ty are under user coordinate system, and the big relatively version of little page or leaf page space of a whole page coordinate system is at x, the translational movement that the y direction is carried out.
8. a mixed keyline layout system is characterized in that, comprising:
The explanation module allocation units are used to explanation module that the layout parameter is set, and distribute described layout parameter, the little page or leaf page;
The explanation module of at least two kinds of Format Types is connected with described explanation module allocation units, is used for according to the layout parameter that is provided with, and the little page or leaf page is carried out grammar explanation, generates intermediate file; Wherein the explanation module of every kind of Format Type corresponds respectively to a kind of little page or leaf page of Format Type;
Knockdown block is connected with described explanation module, is used to assemble the intermediate file that described explanation module generates, and generates big version typeface dot-matrix;
Shared memory cell is connected with described Knockdown block, is used to store big version typeface dot-matrix.
9. mixed keyline layout according to claim 8 system is characterized in that, also comprises previewing module, is connected with described explanation module, is used to read the intermediate file that described explanation module generates, and generates the low resolution preview graph.
10. mixed keyline layout according to claim 8 system is characterized in that also comprise print control unit, described print control unit comprises:
Explain control module, be connected, be used for producing the distribution control command with described explanation module allocation units;
The assembling control module is connected respectively with Knockdown block with described explanation module, is used for finishing control signal according to the explain information and the explanation of explanation module output, determines the assembling parameter, generates the assembling control command.
11. mixed keyline layout according to claim 10 system is characterized in that, the explain information of described each explanation module output comprises: look face number and look face title that the little page or leaf page comprises.
12. mixed keyline layout according to claim 10 system is characterized in that, the assembling parameter that described assembling control module is determined comprises: high, the total segments of section of each assembling section, every section every look face need memory size and every section to need memory size altogether.
13. mixed keyline layout according to claim 8 system is characterized in that the layout parameter that described explanation module allocation units are distributed comprises: big version layout parameter and little page or leaf page output information.
14. mixed keyline layout according to claim 13 system is characterized in that, described big version layout parameter comprises: big version type page size, and output device resolution, whether dark the and output device in output device position supports special look;
Described little page or leaf page output information is meant the positional information of the little page or leaf page at the big version space of a whole page; Described positional information obtains by a transformation matrix of coordinates, and the form of described transformation matrix of coordinates is:
[1 0 0 1 tx ty],
Wherein, tx, ty are under user coordinate system, and the big relatively version of little page or leaf page space of a whole page coordinate system is at x, the translational movement that the y direction is carried out.
CN2007101297871A 2007-07-26 2007-07-26 Mixed makeup method and system Expired - Fee Related CN101082907B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101297871A CN101082907B (en) 2007-07-26 2007-07-26 Mixed makeup method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101297871A CN101082907B (en) 2007-07-26 2007-07-26 Mixed makeup method and system

Publications (2)

Publication Number Publication Date
CN101082907A CN101082907A (en) 2007-12-05
CN101082907B true CN101082907B (en) 2010-06-02

Family

ID=38912483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101297871A Expired - Fee Related CN101082907B (en) 2007-07-26 2007-07-26 Mixed makeup method and system

Country Status (1)

Country Link
CN (1) CN101082907B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101414250B (en) * 2008-11-20 2012-02-01 北大方正集团有限公司 Method and system for allocating operations when simultaneously printing multiple printers
US8934119B2 (en) * 2009-08-04 2015-01-13 Electronics For Imaging, Inc. Greenbooks
CN101853516B (en) * 2010-04-15 2012-02-08 镇江科大船苑计算机网络工程有限公司 Color separation and makeup method of sign printing
CN102442047B (en) * 2010-09-30 2014-03-12 北大方正集团有限公司 Label processing method and device for board combination
CN102486871A (en) * 2010-12-03 2012-06-06 北大方正集团有限公司 Make-p method and apparatus thereof
JP5700014B2 (en) * 2012-09-26 2015-04-15 コニカミノルタ株式会社 Printing system, printing control program, and recording medium
CN104572055B (en) * 2013-10-23 2018-12-28 北大方正集团有限公司 Layout script generation device and layout scenario generation method
CN104765722B (en) * 2014-01-08 2018-04-17 北大方正集团有限公司 Method for parameter configuration and device
CN105094579B (en) * 2014-05-04 2018-05-04 北大方正集团有限公司 Page presentation device and page display method
CN106274053B (en) * 2015-12-31 2018-06-08 深圳市科彩印务有限公司 A kind of gold stamping version loading method
CN108121696B (en) * 2016-11-30 2021-08-17 北大方正集团有限公司 Method and device for making up dot matrix file
CN114734717B (en) * 2022-04-06 2023-07-14 深圳市先地图像科技有限公司 TIFF image exposure method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1936823A (en) * 2006-09-21 2007-03-28 北京北大方正电子有限公司 Method for generating large plate lattice data and large plate lattice data senerating apparatus
CN1955915A (en) * 2006-09-22 2007-05-02 北京北大方正电子有限公司 Method for automatic generating proof line during makeup

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1936823A (en) * 2006-09-21 2007-03-28 北京北大方正电子有限公司 Method for generating large plate lattice data and large plate lattice data senerating apparatus
CN1955915A (en) * 2006-09-22 2007-05-02 北京北大方正电子有限公司 Method for automatic generating proof line during makeup

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2005-190337A 2005.07.14

Also Published As

Publication number Publication date
CN101082907A (en) 2007-12-05

Similar Documents

Publication Publication Date Title
CN101082907B (en) Mixed makeup method and system
US7268910B2 (en) Just-in-time raster image assembly
US6046818A (en) Imposition in a raster image processor
US6480866B2 (en) Method and apparatus to facilitate creation of documents from individual pages
JP6729766B2 (en) Print data processing device and program
CN102693098B (en) Image data processing system
US5988899A (en) In-RIP sorting of objects in the slow scan direction
US20040218218A1 (en) Method and system for printing computer generated images
CN103885731A (en) Data printing method and device
CN100462911C (en) Method for generating large plate lattice data and large plate lattice data senerating apparatus
CN103019631A (en) Print data processing system, print data processing method, and non-transitory computer readable medium
CN1687923A (en) Preprocessing method for type-setting document
CN100356395C (en) Printing control method capable of avoiding printing border-crossing error
US20110235080A1 (en) Image processing apparatus and image forming apparatus
US20060227357A1 (en) Image forming apparatus, image forming method and printing apparatus
CN102193762B (en) Printing control apparatus and printing control method
CN102572203B (en) Compression method and device for latticed page
US8159688B2 (en) Automated systems and methods for prepress workflow processing
CN104461406B (en) A kind of print-out method and device
US9317229B2 (en) Finishing compatibility evaluation
EP3055838B1 (en) A raster image processing method
US8860994B2 (en) Electronic replacement of pre-printed forms
CN1886697B (en) Method and device for creating print data
US11934731B1 (en) Alternative media generation mechanism
JP2007249403A (en) Image data processing system and method for it

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220615

Address after: 3007, Hengqin international financial center building, No. 58, Huajin street, Hengqin new area, Zhuhai, Guangdong 519031

Patentee after: New founder holdings development Co.,Ltd.

Patentee after: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

Patentee after: Peking University

Address before: 100871, Beijing, Haidian District Cheng Fu Road 298, founder building, 5 floor

Patentee before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee before: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

Patentee before: Peking University

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100602