The bearing calibration of printer and device
Technical field
The present invention relates to printer field, in particular to bearing calibration and the device of a kind of printer.
Background technology
Printer is the common tool in our routine office work, either document files or ENGINEERING CAD drawing, all
Need to use printer to print.At present, on market, printer brand is different, of a great variety, quality is uneven,
And it being limited to the impact of the factors such as production technology, manufacturing cost, use environment, traffic condition, printer is more or less
Printing error can be there is, and printing error is the most great for the impact of ENGINEERING CAD drawing, such as, some large-scale system
If map unit need to once print tens meters of long drawings, the straightway of an a length of 5000mm on drawing, produced
Error possibly even reach 50mm.Due to the impact of printing error, in the field such as plant equipment, engineering construction, gently
Then produce substandard products, waste product, cause waste;Heavy then cause security incident, serious threat people life property safety.Cause
This, printer of the prior art exists because of printing error, and causes the relatively low technical problem of its reliability, stability.
For above-mentioned problem, effective solution is the most not yet proposed.
Summary of the invention
Embodiments provide bearing calibration and the device of a kind of printer, at least to solve of the prior art beating
There is the technical problem causing its reliability relatively low because of printing error in print machine.
An aspect according to embodiments of the present invention, it is provided that the bearing calibration of a kind of printer, the method includes: obtain
Take the first printing side-play amount of target printer;Judge that whether described first print side-play amount beyond default bias weight range;
If it is determined that described first printing side-play amount is beyond described default bias weight range, then prints side-play amount according to described first and obtain
To the first correction data of described target printer, and correct described target printer according to described first correction data.
Further, the first printing side-play amount of described acquisition target printer includes: detect described target printer
Target print data and actual print data, wherein, described actual print data by described target printer according to described
Generate when target print data print;Calculate described target print data and the difference of described actual print data,
Thus obtain described first and print side-play amount.
Further, after correcting described target printer according to described first correction data, described method also includes:
Taking the second printing side-play amount of described target printer, wherein, described second prints side-play amount is corrected by through described first
Described target printer after Data correction generates according to described target print data;Judge that described second prints skew
Whether amount is beyond described default bias weight range;If it is determined that described second prints side-play amount beyond described default bias amount model
Enclose, then print side-play amount according to described first printing side-play amount and described second and obtain the second school of described target printer
Correction data, and correct described target printer according to described second correction data.
Further, described print side-play amount and described second according to described first and print side-play amount and obtain described target and beat
Second correction data of print machine includes: print side-play amount according to described first and described second printing side-play amount obtains described
The discrete type distributed points system of battle formations of the printing side-play amount of target printer;Obtain described according to the described discrete type distributed points system of battle formations
The curve of error of the printing side-play amount of target printer;Generate described in described target printer according to described curve of error
Second correction data.
Further, before obtaining the first printing side-play amount of target printer, described method also includes: obtain institute
State the attribute information of target printer, wherein, described attribute information at least includes the title of described target printer;
In default correction list, search the history control information with the name-matches of described target printer, wherein, described in go through
History control information at least includes the history correction data of described target printer;By described history correction data to institute
State target printer and carry out precorrection.
Another aspect according to embodiments of the present invention, additionally provides the correcting unit of a kind of printer, and this device includes:
First acquiring unit, for obtaining the first printing side-play amount of target printer;First judging unit, is used for judging institute
Whether state the first printing side-play amount beyond default bias weight range;First processing unit, for if it is determined that described first dozen
Print side-play amount beyond described default bias weight range, then prints side-play amount according to described first and obtains described target printer
The first correction data, and according to described first correction data correct described target printer.
Further, described first acquiring unit includes: detection sub-unit, for detecting the mesh of described target printer
Mark print data and actual print data, wherein, described actual print data by described target printer according to described mesh
Mark print data generates when printing;Computation subunit, is used for calculating described target print data and described reality is beaten
The difference of printing evidence, thus obtain described first and print side-play amount.
Further, described device also includes: second acquisition unit, is used for obtaining second dozen of described target printer
Print side-play amount, wherein, described second prints side-play amount by the described target print after described first correction data correction
Machine generates according to described target print data;Second judging unit, is used for judging whether described second print side-play amount
Beyond described default bias weight range;Second processing unit, for if it is determined that described second prints side-play amount beyond described
Default bias weight range, then print side-play amount according to described first and described second printing side-play amount obtain described target and beats
Second correction data of print machine, and correct described target printer according to described second correction data.
Further, described second processing unit includes: first obtains subelement, for printing partially according to described first
Shifting amount and described second prints the discrete type distributed points system of battle formations that side-play amount obtains the printing side-play amount of described target printer;
Second obtains subelement, for obtaining the printing side-play amount of described target printer according to the described discrete type distributed points system of battle formations
Curve of error;Generate subelement, for generating described second school of described target printer according to described curve of error
Correction data.
Further, described device also includes: the 3rd acquiring unit, for obtaining the attribute letter of described target printer
Breath, wherein, at least includes the title of described target printer in described attribute information;Search unit, for presetting
The history control information of the name-matches of lookup and described target printer in correction list, wherein, described history corrects
Information at least includes the history correction data of described target printer;3rd processing unit, for by described history
Correction data carries out precorrection to described target printer.
In embodiments of the present invention, use the mode of the first printing side-play amount obtaining target printer, should by judgement
First prints whether side-play amount exceeds default bias weight range, has reached if it is determined that first prints side-play amount beyond presetting partially
Move weight range, then print side-play amount according to first and obtain the first correction data of target printer, and according to the first correction
The purpose of Data correction target printer, it is achieved thereby that eliminate or reduce the printing error of printer, improve printer
The technique effect of reliability and stability, and then solve printer of the prior art and exist and lead because of printing error
Cause the technical problem that its reliability is relatively low.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this
Bright schematic description and description is used for explaining the present invention, is not intended that inappropriate limitation of the present invention.At accompanying drawing
In:
Fig. 1 (a) is the schematic flow sheet of the bearing calibration of a kind of optional printer according to embodiments of the present invention;
Fig. 1 (b) is the schematic diagram of the bearing calibration of a kind of optional printer according to embodiments of the present invention;
Fig. 1 (c) is the schematic diagram of the bearing calibration of another kind of optional printer according to embodiments of the present invention;
Fig. 2 is the schematic flow sheet of the bearing calibration of another kind of optional printer according to embodiments of the present invention;
Fig. 3 is the schematic flow sheet of the bearing calibration of the optional printer of according to embodiments of the present invention another;
Fig. 4 is the schematic flow sheet of the bearing calibration of the optional printer of according to embodiments of the present invention another;
Fig. 5 (a) is the schematic flow sheet of the bearing calibration of the optional printer of according to embodiments of the present invention another;
Fig. 5 (b) is the schematic flow sheet of the bearing calibration of the optional printer of according to embodiments of the present invention another
Fig. 6 is the structural representation of the correcting unit of a kind of optional printer according to embodiments of the present invention;
Fig. 7 is the structural representation of the correcting unit of another kind of optional printer according to embodiments of the present invention;
Fig. 8 is the structural representation of the correcting unit of the optional printer of according to embodiments of the present invention another;
Fig. 9 is the structural representation of the correcting unit of the optional printer of according to embodiments of the present invention another;
Figure 10 is the structural representation of the correcting unit of the optional printer of according to embodiments of the present invention another.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with in the embodiment of the present invention
Accompanying drawing, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that described embodiment
It is only the embodiment of a present invention part rather than whole embodiments.Based on the embodiment in the present invention, ability
The every other embodiment that territory those of ordinary skill is obtained under not making creative work premise, all should belong to
The scope of protection of the invention.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, "
Two " it is etc. for distinguishing similar object, without being used for describing specific order or precedence.Should be appreciated that this
Sample use data can exchange in the appropriate case, in order to embodiments of the invention described herein can with except
Here the order beyond those illustrating or describing is implemented.Additionally, term " includes " and " having " and they
Any deformation, it is intended that cover non-exclusive comprising, such as, contain series of steps or the process of unit, side
Method, system, product or equipment are not necessarily limited to those steps or the unit clearly listed, but can include the clearest
List or for intrinsic other step of these processes, method, product or equipment or unit.
Embodiment 1
According to embodiments of the present invention, it is provided that the embodiment of the bearing calibration of a kind of printer, it should be noted that
Step shown in the flow chart of accompanying drawing can perform in the computer system of such as one group of computer executable instructions, and
And, although show logical order in flow charts, but in some cases, can be to be different from order herein
Step shown or described by execution.
Fig. 1 (a) is the bearing calibration of printer according to embodiments of the present invention, as shown in Fig. 1 (a), and the method bag
Include following steps:
Step S102, obtains the first printing side-play amount of target printer;
Step S104, it is judged that whether first print side-play amount beyond default bias weight range;
Step S106, however, it is determined that first prints side-play amount exceeds default bias weight range, then print side-play amount according to first
Obtain the first correction data of target printer, and according to the first correction data correction target printer.
In embodiments of the present invention, use the mode of the first printing side-play amount obtaining target printer, should by judgement
First prints whether side-play amount exceeds default bias weight range, has reached if it is determined that first prints side-play amount beyond presetting partially
Move weight range, then print side-play amount according to first and obtain the first correction data of target printer, and according to the first correction
The purpose of Data correction target printer, it is achieved thereby that eliminate or reduce the printing error of printer, improve printer
The technique effect of reliability and stability, and then solve printer of the prior art and exist and lead because of printing error
Cause the technical problem that its reliability is relatively low.
Alternatively, target printer can connect to computer and that the result of computer is printed upon paper etc. is relevant
On medium, target printer can be impact printer, non-impact printer, fully formed character printer, dot matrix
Character printer, string data printer, line printer, laser type printer, electrostatic printer, ink jet type print
Machine, thermo printer etc..Target printer can be used at print on paper machinery drawing, and this paper can be A0
Paper or A1 paper.The printing side-play amount of target printer can be equal to its printing error, however, it is determined that target printer
First printing side-play amount be not out default bias weight range, then can be considered as this printing error allow or controlled
Within the scope of.
Alternatively, Fig. 1 (b) is the schematic diagram of the bearing calibration of a kind of optional printer according to embodiments of the present invention,
As shown in Fig. 1 (b), target printer can be as one of outut device of computer, and user can pass through computer
Display device select target printer, on the display interface of the computer in Fig. 1 (b) exist " printer A ", " beat
Print machine B " and " printer C " three printers, the target printer that user currently selects is " printer C ".Fig. 1
C () is the schematic diagram of the bearing calibration of another kind of optional printer according to embodiments of the present invention, such as Fig. 1 (c)
Shown in, with click " printer C ", the function menu of " printer C " can occur, can in this function menu
To perform the correct operation to " printer C ".
Alternatively, Fig. 2 is the flow process signal of the another kind of optionally bearing calibration of printer according to embodiments of the present invention
Figure, as in figure 2 it is shown, step S102, the first printing side-play amount obtaining target printer includes:
Step S202, the target print data of detection target printer and actual print data, wherein, actual printing number
Generate according to when being printed according to target print data by target printer;
Step S204, calculates the difference of target print data and actual print data, thus obtains the first printing side-play amount.
Alternatively, target print data refer to, before using target printer to print, input to target printer
Or the data sent, target print data can also be understood to that system sends and target printer to target printer
The print data that should generate in theory.Actual print data refers to that target printer is carried out according to target print data
The truthful data generated during printing, i.e. prints and stops or after completing, and can measure obtain true on paper
Real data, typically, owing to the existence of printing error, target print data and actual print data are not consistent, such as,
When using target printer to print certain straight line in certain CAD diagram paper, the target print data of this straight line are:
The target length of length=2000mm, i.e. this straight line is 2000mm.If after printing, measure this CAD diagram
The physical length of this straight line in paper is 1800mm, then the target print data of this straight line and actual print data
Difference is 200mm, and the i.e. first printing side-play amount is 200mm.The most such as, target printer is being used to print certain CAD
During two straight lines of certain in drawing, the target print data of these two straight lines are: DEG=45 °, i.e. these two straight lines
Target angle is 45 °.If after printing, the actual angle measuring these two straight lines in this CAD diagram paper is 47 °,
Then the target print data of this straight line and the difference of actual print data are 2 °, and the i.e. first printing side-play amount is 2 °.
Alternatively, target print data can also be coordinate data, and such as, target print data include x-axis and y-axis
Data on direction, above-mentioned every coordinate axes can include two groups of data.
Alternatively, Fig. 3 is the flow process signal of the another kind of optionally bearing calibration of printer according to embodiments of the present invention
Figure, as it is shown on figure 3, after performing step S106, i.e. after according to the first correction data correction target printer,
The method also includes:
Step S302, obtains the second printing side-play amount of target printer, and wherein, second prints side-play amount by through first
Target printer after correction data correction generates according to target print data;
Step S304, it is judged that whether second print side-play amount beyond default bias weight range;
Step S306, however, it is determined that second prints side-play amount exceeds default bias weight range, then print side-play amount according to first
Print side-play amount with second and obtain the second correction data of target printer, and beat according to the second correction data correction target
Print machine.
Alternatively, however, it is determined that second prints side-play amount is not out default bias weight range, then it is believed that by the
After one correction data correction target printer, this target printer has reached the standard of normal print, i.e. printing error and has existed
Within the scope of allowing or being controlled.Additionally, after according to the second correction data correction target printer, can continue
Obtaining the 3rd printing side-play amount of printer, wherein, the 3rd prints side-play amount by the mesh after the second correction data correction
Mark printer generates according to target print data, however, it is determined that the 3rd prints side-play amount still beyond default bias weight range,
Then according to first printing side-play amount, second can print side-play amount and the 3rd and print side-play amount and obtain the of target printer
Three correction datas, and according to the 3rd correction data correction target printer.Herein it should be noted that stop under acquisition
The premise of one correction data be according to current correction Data correction target printer after, target printer is according to target
Print data and generate the current side-play amount that prints and be not out default bias weight range, if reaching above-mentioned premise, then beat
Print machine needs to repeat above-mentioned steps, thus gets the most accurate correction data.
Alternatively, Fig. 4 is the flow process signal of the another kind of optionally bearing calibration of printer according to embodiments of the present invention
Figure, as shown in Figure 4, in step S306, prints side-play amount according to first and the second printing side-play amount obtains target print
Second correction data of machine includes:
Step S402, prints side-play amount according to the first printing side-play amount and second and obtains the printing side-play amount of target printer
The discrete type distributed points system of battle formations;
Step S404, obtains the curve of error of the printing side-play amount of target printer according to the discrete type distributed points system of battle formations;
Step S406, generates the second correction data of target printer according to curve of error.
Alternatively, if there are the multiple printing side-play amounts including that the first printing side-play amount and second prints side-play amount, then need
To obtain the discrete type distributed points system of battle formations of the printing side-play amount of target printer according to multiple printing side-play amounts, print skew
The number of amount is the most, then the distribution of printing error is the most steady, multiple printing side-play amounts the correction data obtained is the most more
For accurately.Printing offset data point in the discrete type distributed points system of battle formations can fit to curve of error, specifically, by mistake
Difference curve refer to measurement instrument error and measured between or and any other amount influential on ratio error between letter
The curve of number relation, by this curve of error, can generate the correction data of this target printer.This correction data is permissible
It is stored in this target printer or the computer that is connected with this target printer, in order to subsequent calls or verification.
Alternatively, Fig. 5 (a) is the flow process of the another kind of optionally bearing calibration of printer according to embodiments of the present invention
Schematic diagram, as shown in Fig. 5 (a), before performing step S102, is i.e. obtaining the first printing of target printer
Before side-play amount, the method also includes:
Step S502, obtains the attribute information of target printer, wherein, at least includes target printer in attribute information
Title;
Step S504, the history control information of the name-matches of lookup and target printer in default correction list, its
In, history control information at least includes the history correction data of target printer;
Step S506, carries out precorrection by history correction data to target printer.
Alternatively, this attribute information can also include the model of printer, service life, print resolution, printing speed
Degree, noise figure etc..If not finding the history correction letter of the name-matches with target printer in default correction list
Breath, then illustrate that this target printer did not carry out overcorrect before current time node.Additionally, corrected by history
Data carry out precorrection to target printer, can subtract to greatest extent before this correction carrying out current time
Little printing error, thus reduce the workload of this correction, improve correction efficiency.
Alternatively, Fig. 5 (b) is the flow process of the another kind of optionally bearing calibration of printer according to embodiments of the present invention
Schematic diagram, as shown in Fig. 5 (b), the method may include steps of:
Step S51, selects target printer, starts the calibration function of target printer.
Step S52, according to the title of target printer, searches the history with this name-matches from default correction list
Correction data.
Step S53, loading history correction data, and show the history correction time of target printer.
Step S54, inputs target print data in target printer.
Step S55, prints according to target print data, and measures actual print data.
Step S56, according to target print data and actual print data, calculates the printing side-play amount of target printer.
Step S57, it is judged that whether print side-play amount beyond default bias weight range.
Alternatively, after having performed step S57, if the determination result is YES, then step S58 is performed.
Step S58, generates correction data, and uses this correction data to correct target printer.
Alternatively, after having performed step S58, execution step S54 successively can be returned and refer to step S57.
Alternatively, after having performed step S57, if judged result is no, then perform step S59.
Step S59, completes this correction of target printer.
In embodiments of the present invention, use the mode of the first printing side-play amount obtaining target printer, should by judgement
First prints whether side-play amount exceeds default bias weight range, has reached if it is determined that first prints side-play amount beyond presetting partially
Move weight range, then print side-play amount according to first and obtain the first correction data of target printer, and according to the first correction
The purpose of Data correction target printer, it is achieved thereby that eliminate or reduce the printing error of printer, improve printer
The technique effect of reliability and stability, and then solve printer of the prior art and exist and lead because of printing error
Cause the technical problem that its reliability is relatively low.
Embodiment 2
According to embodiments of the present invention, additionally providing the correcting unit of a kind of printer, as shown in Figure 6, this device is permissible
Including: first acquiring unit the 601, first judging unit the 603, first processing unit 605.
Wherein, the first acquiring unit 601, for obtaining the first printing side-play amount of target printer;First judges list
Unit 603, for judging that whether the first printing side-play amount is beyond default bias weight range;First processing unit 605, is used for
If it is determined that the first printing side-play amount is beyond default bias weight range, then prints side-play amount according to first and obtain target printer
The first correction data, and according to first correction data correction target printer.
Alternatively, as it is shown in fig. 7, the first acquiring unit 601 includes: detection sub-unit 701, computation subunit 703.
Wherein, detection sub-unit 701, for detecting the target print data of target printer and actual print data,
Wherein, actual print data generates when being printed according to target print data by target printer;Computation subunit 703,
For calculating the difference of target print data and actual print data, thus obtain the first printing side-play amount.
Alternatively, as shown in Figure 8, device also includes: second acquisition unit the 801, second judging unit 803, second
Processing unit 805.
Wherein, second acquisition unit 801, for obtaining the second printing side-play amount of target printer, wherein, second
Print side-play amount to be generated according to target print data by the target printer after the first correction data correction;Second sentences
Disconnected unit 803, for judging that whether the second printing side-play amount is beyond default bias weight range;Second processing unit 805,
For if it is determined that the second printing side-play amount is beyond default bias weight range, then prints side-play amount and second according to first and print
Side-play amount obtains the second correction data of target printer, and according to the second correction data correction target printer.
Alternatively, as it is shown in figure 9, the second processing unit 805 may include that the first acquisition subelement 901, second
Obtain subelement 903, generate subelement 905.
Wherein, first obtains subelement 901, obtains mesh for printing side-play amount according to the first printing side-play amount and second
The discrete type distributed points system of battle formations of the printing side-play amount of mark printer;Second obtains subelement 903, for according to discrete type
The distributed points system of battle formations obtains the curve of error of the printing side-play amount of target printer;Generate subelement 905, for according to by mistake
Difference curve generates the second correction data of target printer.
Alternatively, as shown in Figure 10, device can also include: the 3rd acquiring unit 1001, search unit 1003,
3rd processing unit 1005.
Wherein, the 3rd acquiring unit 1001, for obtaining the attribute information of target printer, wherein, in attribute information
At least include the title of target printer;Search unit 1003, for searching and target print in default correction list
The history control information of the name-matches of machine, wherein, at least includes the history school of target printer in history control information
Correction data;3rd processing unit 1005, for carrying out precorrection by history correction data to target printer.
In embodiments of the present invention, use the mode of the first printing side-play amount obtaining target printer, should by judgement
First prints whether side-play amount exceeds default bias weight range, has reached if it is determined that first prints side-play amount beyond presetting partially
Move weight range, then print side-play amount according to first and obtain the first correction data of target printer, and according to the first correction
The purpose of Data correction target printer, it is achieved thereby that eliminate or reduce the printing error of printer, improve printer
The technique effect of reliability and stability, and then solve printer of the prior art and exist and lead because of printing error
Cause the technical problem that its reliability is relatively low.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not has in certain embodiment
The part described in detail, may refer to the associated description of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents, can be passed through other
Mode realize.Wherein, device embodiment described above is only schematically, the division of the most described unit,
Can be that a kind of logic function divides, actual can have other dividing mode, the most multiple unit or assembly when realizing
Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not performs.Another point, institute
The coupling each other shown or discuss or direct-coupling or communication connection can be by some interfaces, unit or mould
The INDIRECT COUPLING of block or communication connection, can be being electrical or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit
The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to
On multiple unit.Some or all of unit therein can be selected according to the actual needs to realize the present embodiment scheme
Purpose.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated
Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit is using the form realization of SFU software functional unit and as independent production marketing or use,
Can be stored in a computer read/write memory medium.Based on such understanding, technical scheme essence
On the part that in other words prior art contributed or this technical scheme completely or partially can be with software product
Form embodies, and this computer software product is stored in a storage medium, including some instructions with so that one
Platform computer equipment (can be for personal computer, server or the network equipment etc.) performs each embodiment institute of the present invention
State all or part of step of method.And aforesaid storage medium includes: USB flash disk, read only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD
Etc. the various media that can store program code.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For Yuan, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications, these improve and profit
Decorations also should be regarded as protection scope of the present invention.