CN101458771B - Printing method and apparatus thereof - Google Patents

Printing method and apparatus thereof Download PDF

Info

Publication number
CN101458771B
CN101458771B CN2007101795881A CN200710179588A CN101458771B CN 101458771 B CN101458771 B CN 101458771B CN 2007101795881 A CN2007101795881 A CN 2007101795881A CN 200710179588 A CN200710179588 A CN 200710179588A CN 101458771 B CN101458771 B CN 101458771B
Authority
CN
China
Prior art keywords
composing
composing piece
piece
file
class
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
CN2007101795881A
Other languages
Chinese (zh)
Other versions
CN101458771A (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.)
Peking University
Founder International Beijing Co Ltd
Original Assignee
Peking University
Founder International Beijing 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, Founder International Beijing Co Ltd filed Critical Peking University
Priority to CN2007101795881A priority Critical patent/CN101458771B/en
Publication of CN101458771A publication Critical patent/CN101458771A/en
Application granted granted Critical
Publication of CN101458771B publication Critical patent/CN101458771B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Manufacture Or Reproduction Of Printing Formes (AREA)

Abstract

The invention discloses a printing method and a device therefore, for realizing high speed variable printing of database publishing, which comprises: determining the typeset block type of each typeset in a typeset template, while the typeset block type is determined by the correlation among a typeset block and other typeset blocks, and the change of typesetting data; obtaining a grid document corresponding to all typeset blocks of the typeset block type, for each typeset block type in the typeset template; and combining all obtained grid documents to be printed.

Description

A kind of Method of printing and device thereof
Technical field
The present invention relates to the database puslishing field, particularly a kind of printing technique.
Background technology
Traditional printing technology can be printed preceding plate-making usually and be printed on printing machine, can print many parts of templates and the identical file of information continuously, every part of file seems all just the same, but traditional printing technology does not possess the ability of printing variable information, i.e. identical but many parts of files that information that comprise in the template is different of printing stencil continuously.
Along with the develop rapidly of digital printing technology, the variable digital printing technology that can fully satisfy networking, variation, personal printing requirement has obtained the approval and the application on printing circle.Variable digital printing technology has the ability of printing variable information, continuously identical but the many parts of files that information that comprise in the template is different of printing stencil.The information that comprises in template and the template can be by customization, on the different pages, can use different names, address and picture, the information that comprises in every page the template can be obtained from a database by variable printed system, and generates on the different pages.
About variable digital printing technology, domestic also have a relevant patented claim, such as publication number is that the Chinese patent literature of CN1657309A discloses a kind of hybrid printing device, this device is for when the dual mode that carries out the printing of format printing and alternate manner prints, and can realize the print speed printing speed high speed.This device is distributed in an edition type Printing Department to the printing of common common print image zone on each printed matter in the digital picture original copy, and the image imaging portion that the printing of wanting the specified image zone that the change content is printed on each printed matter is distributed in another way prints.This printing process separates variable image-region of print publishing data and the immutable image-region of typesetting data, and is bigger for the improvement of device, fast the high speed variable printing of fulfillment database publication.
Summary of the invention
The embodiment of the invention provides a kind of Method of printing and device, in order to the high speed variable printing of fulfillment database publication.
The embodiment of the invention proposes a kind of Method of printing, comprising:
Determine the composing block type of each composing piece in the composing template, whether relevant with other composing piece whether and typesetting data change definite described composing block type according to the composing piece, described composing block type comprises first kind composing piece: described first kind composing piece is meant in the composing template, the database that typesetting data is linked according to the composing piece upgrade and with the irrelevant composing piece of other composing piece;
Obtain the typesetting data that each composing piece of described first kind composing piece is linked in database;
After the typesetting data that described each composing piece is linked is imported the space of a whole page template object of corresponding composing piece, generate all composing piece corresponding page descriptive language PS files of described first kind composing piece in database;
Generate the rasterizing file of all composing piece correspondences of described first kind composing piece according to described PS file;
All rasterizing files that obtain are merged the back to be printed.
The embodiment of the invention proposes a kind of printing equipment, comprising:
Composing block type storage unit, be used to store the composing block type, whether relevant with other composing piece whether and typesetting data change definite described composing block type according to the composing piece, described composing block type comprises: first kind composing piece, described first kind composing piece is meant in the composing template, the database that typesetting data is linked according to the composing piece upgrade and with the irrelevant composing piece of other composing piece;
The corresponding types determining unit is used for the composing block type according to described composing block type cell stores, determines the composing block type of each composing piece in the composing template;
Rasterizing file acquiring unit, be used for when composing block type that the corresponding types determining unit is determined comprises described first kind composing piece, for the definite first kind composing piece of described corresponding types determining unit, obtain the rasterizing file of all composing piece correspondences of this composing block type, described rasterizing file acquiring unit specifically comprises: data are obtained subelement, and each the composing piece that is used for obtaining described first kind composing piece is at typesetting data that database linked; First generates subelement, after being used for described each composing piece imported the space of a whole page template object of corresponding composing piece at the typesetting data that database linked, generate all composing piece corresponding page descriptive language PS files of described first kind composing piece, and generate the rasterizing file of all composing piece correspondences of described first kind composing piece according to described PS file;
Print control unit, all rasterizing files that are used for obtaining merge the back and print.
Method of printing that the embodiment of the invention provides and device, when carrying out the database printing and publishing, determine the composing block type of each composing piece in the composing template, whether relevant with other composing piece whether and typesetting data change definite described composing block type according to the composing piece; For each the composing block type in this composing template, obtain the rasterizing file of all composing piece correspondences of this composing block type; All rasterizing files that obtain are merged the back to be printed.That this method and device can change for typesetting data, with all irrelevant composing pieces of other composing piece, upgrade its typesetting data according to the data-base recording that it linked; Changeless for typesetting data, with all irrelevant composing pieces of other composing piece, then its rasterizing file is carried out buffer memory and reuses; All changeless for typesetting data, relevant with other composing piece composing pieces then carry out buffer memory with its PS file and reuse, and have finally realized the high speed variable printing of database publishing.
Description of drawings
Fig. 1 is a Method of printing process flow diagram in the embodiment of the invention;
Fig. 2 is a Method of printing synoptic diagram in the embodiment of the invention one;
Fig. 3 is a Method of printing process flow diagram in the embodiment of the invention one;
Fig. 4 is a printing equipment structural representation in the embodiment of the invention;
Fig. 5 is a rasterizing file acquiring unit structural representation in the embodiment of the invention;
Fig. 6 is a rasterizing file acquiring unit structural representation in the embodiment of the invention.
Embodiment
A template generally includes a plurality of composing pieces, Method of printing that the embodiment of the invention provides and device, when carrying out the database printing and publishing, determine the composing block type of each composing piece in the composing template, whether relevant with other composing piece whether and typesetting data change definite described composing block type according to the composing piece; For each the composing block type in this composing template, obtain the rasterizing file of all composing piece correspondences of this composing block type; All rasterizing files that obtain are merged the back to be printed.That this method and device can change for typesetting data, with all irrelevant composing pieces of other composing piece, upgrade its typesetting data according to the data-base recording that it linked; Changeless for typesetting data, with all irrelevant composing pieces of other composing piece, then its rasterizing file is carried out buffer memory and reuses; All changeless for typesetting data, relevant with other composing piece composing pieces then carry out buffer memory with its PS (PostScript, page-description language) file and reuse, and have finally realized the high speed variable printing of database publishing.
Whether whether the embodiment of the invention change when determining the composing block type at and typesetting data relevant with other composing piece according to the composing piece, propose a kind of more excellent definite method, promptly be defined as three kinds of composing block types: first kind composing piece, the second class composing piece and the 3rd class composing piece.Certainly, when reality is implemented embodiment of the invention method, be not limited to determine these three kinds of composing block types, also can determine other multiple composing block type, but determine that specifically thought is all identical with embodiment of the invention method, no longer exhaustive here.
Wherein, first kind composing piece is meant in the composing template, the database that typesetting data is linked according to the composing piece upgrade and with the irrelevant composing piece of other composing piece; As seen, the typesetting data of first kind composing piece is to upgrade automatically according to the Database field of composing block chaining or other structural data node, and when printing first kind composing piece, its typesetting data all changes at every turn; First kind composing piece and other composing piece are irrelevant to be meant between first kind composing piece and other composing piece that the position correlationship is not arranged, and usually, after designing the composing template, the position of first kind composing piece in the composing template just immobilized.
The second class composing piece is meant that in the composing template typesetting data immobilizes and the composing piece relevant with first kind composing piece; Usually, the typesetting data of the second class composing piece is exactly the content of appointment, and when therefore printing the second class composing piece, its typesetting data all is changeless at every turn; Be meant second class composing piece and first kind composing piece between relevant with first kind composing piece of the second class composing piece has the position correlationship, have with first kind composing piece as the second class composing piece align, at interval, occupy a left side, occupy position relation such as the right side.
The 3rd class composing piece is meant in the composing template, typesetting data immobilize and with the irrelevant composing piece of other composing piece; Usually, the typesetting data of the 3rd class composing piece is exactly the content of appointment, and when therefore printing the 3rd class composing piece, its typesetting data all is changeless at every turn, and after designing the composing template, the 3rd position of class composing piece in the composing template just immobilized.
The embodiment of the invention all is provided with composing piece property parameters for each composing piece when making template.For example, composing piece property parameters is set comprises piece variable attribute and these two kinds of parameters of piece position correlationship, wherein, it is the composing piece that typesetting data immobilizes, static state presents that piece variable attribute parameter is used to refer to the composing piece, still typesetting data can be according to Database field or other structural data node of this block chaining of setting type, the composing piece that can upgrade automatically; Whether piece position correlationship parameter is used to refer to the composing piece relevant with other composing piece, particularly, can write down the position relation information between composing piece and other composing piece in this parameter of correlationship of piece position, such as alignment, at interval, occupy a left side, occupy information such as right or placed in the middle.In addition, can also carry out layering to the composing piece in the template, comprise at least one composing piece in each layer, therefore can in composing piece property parameters, increase this parameter of layer attribute, be used to refer to the title of the affiliated layer of composing piece according to the typesetting data type of composing piece.Wherein, variable attribute is that variable, piece position correlationship is a first kind composing piece for irrelevant composing piece; Variable attribute is that immutable, piece position correlationship is the second class composing piece for relevant composing piece; Variable attribute is that immutable, piece position correlationship is the 3rd class composing piece for irrelevant composing piece.
A plurality of composing pieces are arranged in the composing template usually, therefore in a composing template, may have a plurality of composing pieces and belong to, will belong to all (each) composing pieces that are called this kind composing block type with all (each) composing pieces of a kind of block type of setting type in the embodiment of the invention with a kind of block type of setting type.And for convenience of description, the embodiment of the invention is the first grid file of formatting with set type that rasterizing short title of all composing piece correspondences of piece of the first kind, with set type that PS short title of all composing piece correspondences of piece of the first kind is a PS file, with that rasterizing short title of all composing piece correspondences of the second class composing piece is the second rasterizing file, with that PS short title of all composing piece correspondences of the second class composing piece is the 2nd PS file, is the 3rd rasterizing file with that rasterizing short titles of all composing piece correspondences of the 3rd class composing piece.
With first kind composing piece, the second class composing piece and the 3rd class composing piece is example, consults shown in Figure 1ly, and the Method of printing that the embodiment of the invention proposes during each piece of data, is carried out following steps in the print data storehouse:
S101, determine the composing block type of each composing piece in the composing template;
S102, obtain the typesetting data that each composing piece of first kind composing piece is linked in database, after the typesetting data that each composing piece is linked is imported the space of a whole page template object of corresponding composing piece, generate a PS file in database.
Wherein, space of a whole page template object is meant according to template style and copies to object on the space of a whole page, the number of space of a whole page template object is by the number decision of the data items of the data-base recording of selecting to set type, and the pairing composing piece of space of a whole page template object is provided with by the user or space of a whole page configuration.For example, a data-base recording of select setting type Y data project, then the space of a whole page template object number of corresponding templates is Y, composing piece of each space of a whole page template object correspondence.
The PS file is meant the file with the PostScript language description, and it shows literal, figure and image on the composing template space of a whole page and describe with computer data, and it comprises composing piece positional information.
As seen, the method that the embodiment of the invention provides can be upgraded the typesetting data of each composing piece of first kind composing piece according to the set type data-base recording of each composing block chaining of piece of the first kind.
S103, generate the first grid file of formatting according to a PS file.
The rasterizing file is meant the direct data bitmap that prints of Gong printing equipment that print-out equipment generates according to the PS explanation, such as: when the rasterizing file was the Tiff file, this Tiff file just comprised the colouring information of each coordinate, for printer prints.
S104, judge whether there is second class row plate in the composing template, if exist then carry out S105; Otherwise carry out S108.
S105, when having the second class composing piece in the composing template, obtain the 2nd PS file.
The method that obtains the 2nd PS file is:
After generating the 2nd PS file for the first time, with the 2nd PS file cache, when printing needed the 2nd PS file, the 2nd PS file that directly obtains buffer memory utilized.Usually will just no longer change behind the 2nd PS file cache,, save print routine consumption, make the speed that generates the second rasterizing file faster, finally make the variable printed speed of database faster so that recycle.
S106, acquisition the one PS file.
S107, according to a PS file, proofread and correct the positional information of each composing piece in the 2nd PS file, and generate the second rasterizing file according to the 2nd PS file after proofreading and correct.
Wherein,, proofread and correct the piece positional information variable of respectively setting type in the 2nd PS file, realize adjustment the piece position of respectively setting type in the 2nd PS file according to the positional information of each composing piece in the PS file.For example, suppose that composing piece A is a first kind composing piece, composing piece B is the second class composing piece, write down composing piece B in the composing piece property parameters and be positioned at composing piece A top 0.5 centimeters, the left border of composing piece B is alignd with the left border of composing piece A, the right side boundary of composing piece B is alignd with the right side boundary of composing piece A, then can be according to the corresponding positional information variable of proofreading and correct composing piece B in the 2nd PS file of the positional information of composing piece A in the PS file, make the position of composing piece B in the 2nd PS file after the correction satisfy the position that composing piece property parameters is write down.
S108, judge whether there is the 3rd class composing piece in the template, if exist then carry out S109; Otherwise carry out S110.
S109, when having the 3rd class composing piece in the template, obtain the 3rd rasterizing file, continue to carry out S110.
The method that obtains the 3rd rasterizing file is:
After generating the 3rd rasterizing file for the first time, with the 3rd rasterizing file cache, when printing needed the 3rd rasterizing file, the 3rd rasterizing file that directly obtains buffer memory utilized.Usually will just no longer change behind the 3rd rasterizing file cache,, save print routine consumption, finally make the variable printed speed of database faster so that recycle.
S110, all rasterizing files that will generate merge the back and print.
Wherein, merging format file, the second rasterizing file and the more excellent a kind of method of the 3rd rasterizing file of the first grid is the second rasterizing file and the 3rd rasterizing file to be merged to the first grid format in the file.Format file, the second rasterizing file of the first grid is identical with template size with the 3rd rasterizing file bitmap size separately, merges according to the alignment of template relative coordinate.
As seen, the method that the embodiment of the invention provides, can upgrade the typesetting data of first kind composing piece according to the set type data-base recording of block chaining of the first kind, and the 3rd rasterizing file and the 2nd PS file be reused, saved print routine consumption, the high speed variable printing of final fulfillment database.
Below in conjunction with the drawings and specific embodiments the embodiment of the invention is described in detail:
Embodiment one
The embodiment of the invention one is an example to print certain school student Chinese and English personal information picture, the printout of specific implementation student's Chinese information.The logical organization synoptic diagram of the student of the embodiment of the invention one Chinese and English information graphic template space of a whole page as shown in Figure 2, the layer attribute of this template space of a whole page is defined as school's name information layer 21, student's Chinese Information Level 22 and student's english information layer 23 respectively.
Wherein, in student's Chinese Information Level 22: the typesetting data of title composing piece 34 appointments is " self-introduction ", name composing piece 32, archive information composing piece 33 and self-introduction composing piece 35 are inconsistent at each student information, need obtain the importing that related data information is specified the school edition surface information from the student information database.Title composing piece 34 is provided with for self-introduction composing piece 35 top positions occupy a left side.
In student's english information layer 23: the typesetting data of Title composing piece 38 appointments is " Introduction ", Name composing piece 36, ID composing piece 37 and Introduction composing piece 39 are inconsistent at each student information, need obtain the importing that related data information is specified the school edition surface information from the student information database.Title composing piece 38 is provided with between two parties for Introduction composing piece 39 top positions.
Then the variable attribute and the piece position correlationship of concrete composing piece are as shown in table 1 below in each layer:
Table 1
Composing piece title Layer attribute Variable attribute Piece position correlationship
School's title (China and Britain) School's name information layer Immutable No correlationship
Name Student's Chinese Information Level Variable No correlationship
Archive information Student's Chinese Information Level Variable No correlationship
Title Student's Chinese Information Level Immutable Correlationship is arranged
Self-introduction Student's Chinese Information Level Variable No correlationship
Name Student's english information layer Variable No correlationship
ID Student's english information layer Variable No correlationship
Title Student's english information layer Immutable Correlationship is arranged
Introduction Student's english information layer Variable No correlationship
Consult shown in Figure 3ly, the idiographic flow of the embodiment of the invention one is as described below:
Printout layer in S301, the selection template.
Because the embodiment of the invention one requires student's Chinese information of printout school, so need at first selective printing output layer, this printout layer comprises school's name information layer 21 and student's Chinese Information Level 22.
S302, determine the changeless composing piece of typesetting data in the printout layer.
The changeless composing piece of typesetting data is in the printout layer: school's title (China and Britain) composing piece 31 and title composing piece 34.
S303, judge whether the changeless composing piece of each typesetting data is relevant with other composing piece, if then carry out S304; Otherwise carry out S305.
If the changeless composing piece of S304 typesetting data is relevant with other composing piece, then generates a PS file B of all this composing piece correspondences, and, continue to carry out S306 PS file B buffer memory.
Consult shown in the table 1 as can be known, changeless, relevant with other composing piece composing piece of typesetting data comprises title composing piece 34 in this composing template, and title composing piece 34 is provided with for self-introduction composing piece 35 top positions occupy a left side.Generate the PS file B of title composing piece 34 correspondences, and with PS file B buffer memory, the PS file B of buffer memory remains unchanged, so that be utilized repeatedly.
If the changeless composing piece of S305 typesetting data and other composing piece are irrelevant, then generate a rasterizing file A of all this composing piece correspondences, and, continue to carry out S306 rasterizing file A buffer memory.
Consult shown in the table 1 as can be known, typesetting data is changeless and comprise school's title (China and Britain) composing piece 31 with the irrelevant composing piece of other composing piece in this composing template, and it all remains unchanged at each student information.The rasterizing file A that generates school's title (China and Britain) composing piece 31 correspondences is also with this rasterizing file A buffer memory, and the rasterizing file A of buffer memory remains unchanged, so that be utilized repeatedly.
Wherein, S301-S305 has finished based on the variable printed preprocessing part of the database of template.
S306, determine all the composing pieces of first kind composing piece in the printout layer.
All composing pieces of first kind composing piece are in the printout layer: name composing piece 32, archive information composing piece 33 and self-introduction composing piece 35.
S307, obtain the typesetting data that each composing piece of first kind composing piece is linked in database, after the typesetting data that each composing piece is linked in database is imported the space of a whole page template object of corresponding composing piece, generate a PS file, and generate the first grid file of formatting according to a PS file.
From the student information database, obtain the typesetting data of name composing piece 32, archive information composing piece 33 and self-introduction composing piece 35 each self-corresponding space of a whole page template object, and import the typesetting data of each self-corresponding space of a whole page template object respectively to composing piece 32, archive information composing piece 33 and self-introduction composing piece 35, finish and will specify required student information copying to respectively in composing piece 32, archive information composing piece 33 and self-introduction composing piece 35 each self-corresponding space of a whole page template object.
Afterwards, generate a PS file of composing piece 32, archive information composing piece 33 and self-introduction composing piece 35 correspondences, and generate the first grid file of formatting according to a PS file.
S308, judge whether to exist the second class composing piece, if then carry out S309; Otherwise carry out S310;
In the printout layer, judge whether to exist the second class composing piece relevant with name composing piece 32, archive information composing piece 33 or self-introduction composing piece 35, judgement learns, the second class composing piece relevant with the composing piece 35 of introducing myself is title composing piece 34.
S309, when there being the second class composing piece, then obtain the 2nd a PS file and a PS file, and proofread and correct the piece positional information of respectively setting type in the 2nd PS file, and generate the second rasterizing file according to the 2nd PS file after proofreading and correct according to a PS file, continue S310.
Obtain the PS file B of title composing piece 34 correspondences of buffer memory among the S305, this PS file B is exactly the 2nd PS file, location coordinate information according to self-introduction composing piece 35 in the PS file, revise the positional information variable of title composing piece 34 in the 2nd PS file, realize adjustment title composing piece 34 positions.
Afterwards, generate the second rasterizing file according to the 2nd PS file after proofreading and correct.
S310, judge whether to exist the 3rd class composing piece, if then carry out S311; Otherwise carry out S312.
In the printout layer, the 3rd class composing piece comprises school's title (China and Britain) composing piece 31.
S311, obtain the 3rd rasterizing file, continue to carry out S312.
Obtain the rasterizing file A of school's title (China and Britain) composing piece 31 correspondences of S304 buffer memory, this rasterizing file A is exactly the 3rd rasterizing file.
S312, all rasterizing files that will obtain merge the back and print.
And for each composing template, S301-S305 only need carry out once.When a template to after N bar data inputs should being arranged and then generating N template object, S306-S313 need carry out N time.In the embodiment of the invention one, suppose to utilize a template to print student's Chinese information of 50 students, then this template has the input of 50 piece of data accordingly, and then generate 50 template objects, S306-S313 just needs to carry out 50 times, but in printing these 50 students' the whole process of student's Chinese information, S301-S305 only need carry out once.
The Method of printing that the embodiment of the invention one utilizes the embodiment of the invention to provide, the printout that makes student's information databases in Chinese are more at a high speed.
Consult shown in Figure 4ly, the printing equipment that the embodiment of the invention provides comprises:
Composing block type storage unit 41 is used to store the composing block type, and whether relevant with other composing piece whether and typesetting data change definite described composing block type according to the composing piece;
Corresponding types determining unit 42 is used for the composing block type according to 41 storages of composing block type storage unit, determines the composing block type of each composing piece in the composing template;
Rasterizing file acquiring unit 43 is used for each composing block type of determining for corresponding types determining unit 42, obtains the rasterizing file of all composing piece correspondences of this composing block type;
Print control unit 44, all rasterizing files that are used for obtaining merge the back and print.
Wherein, composing block type storage unit 41 also is used to store first kind composing piece, the second class composing piece and the 3rd class composing piece, wherein
First kind composing piece is meant in the composing template, the database that typesetting data is linked according to the composing piece upgrade and with the irrelevant composing piece of other composing piece;
The second class composing piece is meant in the composing template, typesetting data immobilize and with the relevant composing piece of described first kind composing piece;
The 3rd class composing piece is meant in the composing template, typesetting data immobilize and with the irrelevant composing piece of other composing piece.
Consult shown in Figure 5ly, when the composing block types of determining when corresponding types determining unit 42 comprised first kind composing piece, rasterizing file acquiring unit 43 further comprised:
Data are obtained subelement 50, and each the composing piece that is used for obtaining described first kind composing piece is at typesetting data that database linked;
First generates subelement 51, after being used for described each composing piece imported the space of a whole page template object of corresponding composing piece at the typesetting data that database linked, generate the PS file of all composing piece correspondences of described first kind composing piece, and generate the rasterizing file of all composing piece correspondences of first kind composing piece according to this PS file.
Consult shown in Figure 5ly, when the composing block types of determining when corresponding types determining unit 42 comprised the second class composing piece, rasterizing file acquiring unit 43 also comprised:
First obtains subelement 52, is used to obtain the PS file of all composing piece correspondences of first kind composing piece;
Second obtains subelement 53, is used to obtain the PS file of all composing piece correspondences of the second class composing piece;
Syndrome unit 54 is used for the PS file according to all composing piece correspondences of first kind composing piece, proofreaies and correct the positional information of each composing piece in the PS file of all composing piece correspondences of the second class composing piece;
Second generates subelement 55, is used for the PS file according to all composing piece correspondences of the second class composing piece after proofreading and correct, and generates the rasterizing file of all composing piece correspondences of the second class composing piece.
Consult shown in Figure 5ly, rasterizing file acquiring unit 43 also comprises:
The 3rd generates subelement 56, is used to generate the PS file of all composing piece correspondences of the second class composing piece;
The first buffer memory subelement 57, be used for the 3rd generate the PS file of all composing piece correspondences that subelement 56 generates the second class composing piece for the first time after, generate the described PS file cache that subelement generates for the first time with the described the 3rd;
At this moment, second obtains subelement 53 also is used in syndrome unit 54 PS file according to all composing piece correspondences of first kind composing piece, proofread and correct before the positional information of each composing piece in the PS file of all composing piece correspondences of the second class composing piece, obtain the PS file of all composing piece correspondences of the second class composing piece of the first buffer memory subelement, 57 buffer memorys.
Consult shown in Figure 6ly, when the composing block types of determining when corresponding types determining unit 42 comprised the 3rd class composing piece, rasterizing file acquiring unit 43 also comprised:
The 3rd obtains subelement 60, is used to obtain the rasterizing file of all composing piece correspondences of the 3rd class composing piece.
Consult shown in Figure 6ly, rasterizing file acquiring unit 43 also comprises:
The 4th generates subelement 61, is used to generate the rasterizing file of all composing piece correspondences of the 3rd class composing piece;
The second buffer memory subelement 62, be used for the 4th generate the rasterizing file of all composing piece correspondences that subelement 61 generates the 3rd class composing piece for the first time after, generate the described rasterizing file cache that subelement generates for the first time with the described the 4th;
The 3rd obtains the rasterizing file of all composing piece correspondences that subelement 60 also is used to obtain the 3rd class composing piece of the second buffer memory subelement, 62 buffer memorys.
Method of printing that the embodiment of the invention provides and device, when carrying out the database printing and publishing, determine the composing block type of each composing piece in the composing template, whether relevant with other composing piece whether and typesetting data change definite described composing block type according to the composing piece; For each the composing block type in this composing template, obtain the rasterizing file of all composing piece correspondences of this composing block type; All rasterizing files that obtain are merged the back to be printed.That this method and device can change for typesetting data, with all irrelevant composing pieces of other composing piece, upgrade its typesetting data according to the data-base recording that it linked; Changeless for typesetting data, with all irrelevant composing pieces of other composing piece, then its rasterizing file is carried out buffer memory and reuses; All changeless for typesetting data, relevant with other composing piece composing pieces then carry out buffer memory with its PS file and reuse, and have finally realized the high speed variable printing of database publishing.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (11)

1. a Method of printing is characterized in that, comprising:
Determine the composing block type of each composing piece in the composing template, whether relevant with other composing piece whether and typesetting data change definite described composing block type according to the composing piece, described composing block type comprises first kind composing piece: described first kind composing piece is meant in the composing template, the database that typesetting data is linked according to the composing piece upgrade and with the irrelevant composing piece of other composing piece;
Obtain the typesetting data that each composing piece of described first kind composing piece is linked in database;
After the typesetting data that described each composing piece is linked is imported the space of a whole page template object of corresponding composing piece, generate all composing piece corresponding page descriptive language PS files of described first kind composing piece in database;
Generate the rasterizing file of all composing piece correspondences of described first kind composing piece according to described PS file;
All rasterizing files that obtain are merged the back to be printed.
2. the method for claim 1, it is characterized in that when described composing block type comprised the second class composing block type, the described second class composing piece was meant in the composing template, typesetting data immobilize and with the relevant composing piece of described first kind composing piece, described method also comprises:
Before all rasterizing files that will obtain merge the back printing, obtain the rasterizing file of all composing piece correspondences of the described second class composing piece, be specially:
Obtain the PS file of all composing piece correspondences of described first kind composing piece, and obtain the PS file of all composing piece correspondences of the described second class composing piece;
According to the PS file of all composing piece correspondences of first kind composing piece, proofread and correct the positional information of each composing piece in the PS file of all composing piece correspondences of the second class composing piece;
According to the PS file of all composing piece correspondences of the second class composing piece after the described correction, generate the rasterizing file of all composing piece correspondences of the second class composing piece.
3. method as claimed in claim 2 is characterized in that, the method for PS file that obtains all composing piece correspondences of the described second class composing piece comprises:
Behind the PS file of all composing piece correspondences that generate for the first time the second class composing piece, with the PS file cache of all composing piece correspondences of the described second class composing piece that generates for the first time;
At PS file according to all composing piece correspondences of first kind composing piece, proofread and correct before the positional information of each composing piece in the PS file of all composing piece correspondences of the second class composing piece, obtain the PS file of all composing piece correspondences of the described second class composing piece of buffer memory.
4. method as claimed in claim 1 or 2, it is characterized in that when described composing block type also comprised the 3rd class composing piece, described the 3rd class composing piece was meant in the composing template, typesetting data immobilize and with the irrelevant composing piece of other composing piece, described method also comprises:
Before all rasterizing files that will obtain merge the back printing, obtain the rasterizing file of all composing piece correspondences of described the 3rd class composing piece.
5. method as claimed in claim 4 is characterized in that, the method for rasterizing file that obtains all composing piece correspondences of described the 3rd class composing piece comprises:
Behind the rasterizing file of all composing piece correspondences that generate for the first time the 3rd class composing piece, with the rasterizing file cache of all composing piece correspondences of described the 3rd class composing piece that generates for the first time;
Before the rasterizing file of all composing piece correspondences of described the 3rd class composing piece and other rasterizing file are merged, obtain the rasterizing file of all composing piece correspondences of the 3rd class composing piece of buffer memory.
6. a printing equipment is characterized in that, comprising:
Composing block type storage unit, be used to store the composing block type, whether relevant with other composing piece whether and typesetting data change definite described composing block type according to the composing piece, described composing block type comprises: first kind composing piece, described first kind composing piece is meant in the composing template, the database that typesetting data is linked according to the composing piece upgrade and with the irrelevant composing piece of other composing piece;
The corresponding types determining unit is used for the composing block type according to described composing block type cell stores, determines the composing block type of each composing piece in the composing template;
Rasterizing file acquiring unit, be used for when composing block type that the corresponding types determining unit is determined comprises described first kind composing piece, for the definite first kind composing piece of described corresponding types determining unit, obtain the rasterizing file of all composing piece correspondences of this composing block type, described rasterizing file acquiring unit specifically comprises: data are obtained subelement, and each the composing piece that is used for obtaining described first kind composing piece is at typesetting data that database linked; First generates subelement, after being used for described each composing piece imported the space of a whole page template object of corresponding composing piece at the typesetting data that database linked, generate all composing piece corresponding page descriptive language PS files of described first kind composing piece, and generate the rasterizing file of all composing piece correspondences of described first kind composing piece according to described PS file;
Print control unit, all rasterizing files that are used for obtaining merge the back and print.
7. device as claimed in claim 6 is characterized in that, described composing block type storage unit also is used to store the second class composing piece and the 3rd class composing piece, wherein
The described second class composing piece is meant in the composing template, typesetting data immobilize and with the relevant composing piece of described first kind composing piece;
Described the 3rd class composing piece is meant in the composing template, typesetting data immobilize and with the irrelevant composing piece of other composing piece.
8. device as claimed in claim 7 is characterized in that, when the composing block type of determining when described corresponding types determining unit also comprised the described second class composing piece, described rasterizing file acquiring unit also comprised:
First obtains subelement, is used to obtain the PS file of all composing piece correspondences of described first kind composing piece;
Second obtains subelement, is used to obtain the PS file of all composing piece correspondences of the described second class composing piece;
The syndrome unit is used for the PS file according to all composing piece correspondences of first kind composing piece, proofreaies and correct the positional information of each composing piece in the PS file of all composing piece correspondences of the second class composing piece;
Second generates subelement, is used for the PS file according to all composing piece correspondences of the second class composing piece after proofreading and correct, and generates the rasterizing file of all composing piece correspondences of the second class composing piece.
9. device as claimed in claim 8 is characterized in that, described rasterizing file acquiring unit also comprises:
The 3rd generates subelement, is used to generate the PS file of all composing piece correspondences of the second class composing piece;
The first buffer memory subelement, be used for the described the 3rd generate the PS file of all composing piece correspondences that subelement generates the second class composing piece for the first time after, generate the described PS file cache that subelement generates for the first time with the described the 3rd;
Described second obtains subelement also is used in described syndrome unit PS file according to all composing piece correspondences of first kind composing piece, proofread and correct before the positional information of each composing piece in the PS file of all composing piece correspondences of the second class composing piece, obtain the PS file of all composing piece correspondences of the second class composing piece of the described first buffer memory subelement buffer memory.
10. as claim 7 or 8 described devices, it is characterized in that when the composing block type of determining when described corresponding types determining unit also comprised described the 3rd class composing piece, described rasterizing file acquiring unit also comprised:
The 3rd obtains subelement, is used to obtain the rasterizing file of all composing piece correspondences of the 3rd class composing piece.
11. device as claimed in claim 10 is characterized in that, described rasterizing file acquiring unit also comprises:
The 4th generates subelement, is used to generate the rasterizing file of all composing piece correspondences of the 3rd class composing piece;
The second buffer memory subelement, be used for the described the 4th generate the rasterizing file of all composing piece correspondences that subelement generates the 3rd class composing piece for the first time after, generate the described rasterizing file cache that subelement generates for the first time with the described the 4th;
The described the 3rd obtains the rasterizing file of all composing piece correspondences that subelement also is used to obtain the 3rd class composing piece of the described second buffer memory subelement buffer memory.
CN2007101795881A 2007-12-14 2007-12-14 Printing method and apparatus thereof Expired - Fee Related CN101458771B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101795881A CN101458771B (en) 2007-12-14 2007-12-14 Printing method and apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101795881A CN101458771B (en) 2007-12-14 2007-12-14 Printing method and apparatus thereof

Publications (2)

Publication Number Publication Date
CN101458771A CN101458771A (en) 2009-06-17
CN101458771B true CN101458771B (en) 2011-08-17

Family

ID=40769620

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101795881A Expired - Fee Related CN101458771B (en) 2007-12-14 2007-12-14 Printing method and apparatus thereof

Country Status (1)

Country Link
CN (1) CN101458771B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4893815B2 (en) * 2009-12-11 2012-03-07 コニカミノルタビジネステクノロジーズ株式会社 Variable printing control apparatus and control program
CN103885731A (en) * 2012-12-20 2014-06-25 北大方正集团有限公司 Data printing method and device
CN104765721B (en) * 2014-01-06 2019-01-25 北大方正集团有限公司 Layout processing method and processing device
CN105095172A (en) * 2014-05-06 2015-11-25 北大方正集团有限公司 Data typesetting device and method
JP6447564B2 (en) * 2016-04-07 2019-01-09 京セラドキュメントソリューションズ株式会社 Image forming apparatus, program, and information processing system
CN108196802A (en) * 2017-12-18 2018-06-22 星光印刷(苏州)有限公司 A kind of variable data printing system
CN110221790B (en) * 2019-05-28 2023-02-21 迈克医疗电子有限公司 Universal printing method and apparatus, analyzer, and storage medium
CN110472379A (en) * 2019-07-18 2019-11-19 浙江新华数码印务有限公司 Variable data printing and protection and failure recognition methods based on traditional printing form
CN111897777B (en) * 2020-06-22 2024-06-21 百望股份有限公司 Processing method, device, equipment and storage medium of electronic invoice format file
CN117473972A (en) * 2023-12-12 2024-01-30 深圳市移卡科技有限公司 Method and device for generating poster

Also Published As

Publication number Publication date
CN101458771A (en) 2009-06-17

Similar Documents

Publication Publication Date Title
CN101458771B (en) Printing method and apparatus thereof
DE3588163T2 (en) Machine vision system
CN103914496B (en) Page correction method and device
DE3142971A1 (en) "IMAGE PROCESSING METHOD AND DEVICE"
DE3633613C2 (en)
US5379368A (en) Printing control method and apparatus
CN1531691A (en) Method of preparing publication, electronic publication using method and dispaying method therefor and network system
CN101082907A (en) Mixed keyline layout method and system
CN102963121A (en) Data generating apparatus, data generating method, and storage medium
US20080266606A1 (en) Optimized print layout
JP2014087962A (en) Printing device
JPS60222270A (en) Table data insertion printer
CN100382004C (en) Print preview method
CN106648481A (en) Processing method and device and printing control method and device
CN101149731B (en) Variable data typesetting pre-flighting method and device
JP3659280B2 (en) Image processing device
CN101421696B (en) Method and apparatus for generating xhtml contents
CN107807911A (en) Vector data edit methods, apparatus and system
JP4891866B2 (en) Printer device
JPH10337925A (en) Method for displaying folding pattern
JPH0950110A (en) Process data management method and device therefor
JPH0455853A (en) Block copy board forming device
JPH0747724A (en) Printer
JPH11259602A (en) Card issuing system
JPH07114541A (en) Document preparation device and background pattern generating method

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110817

Termination date: 20141214

EXPY Termination of patent right or utility model