CN102806776B - Method for printing two-dimensional bar code on multi-copy bill by stylus printer - Google Patents
Method for printing two-dimensional bar code on multi-copy bill by stylus printer Download PDFInfo
- Publication number
- CN102806776B CN102806776B CN201110147265.0A CN201110147265A CN102806776B CN 102806776 B CN102806776 B CN 102806776B CN 201110147265 A CN201110147265 A CN 201110147265A CN 102806776 B CN102806776 B CN 102806776B
- Authority
- CN
- China
- Prior art keywords
- bar code
- dimensional bar
- scanner
- multiple part
- impact printer
- 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.)
- Active
Links
Landscapes
- Inspection Of Paper Currency And Valuable Securities (AREA)
Abstract
The invention relates to a method for printing a two-dimensional bar code on a multi-copy bill by a stylus printer. The method comprises the following steps: the step 1 of judging whether the resolution of the stylus printer is a real image printing resolution of the stylus printer, if yes, executing the step 2, or setting the resolution of the stylus printer into the real image printing resolution of the stylus printer and executing the step 2; the step 2 of judging whether parameters of the two-dimensional bar code to be printed are related to the real image printing resolution of the stylus printer, if yes, executing the step 3, or setting the parameters of the two-dimensional bar code to ensure the parameters related to the real image printing resolution of the stylus printer and executing the step 3; and the step 3 of printing the two-dimensional bar code and bill characters on a first copy of the multi-copy bill by the stylus printer. Due to the utilization of the technical scheme adopted by the invention, the two-dimensional bar code can be printed on all the copies of the multi-copy bill; and the method is beneficial to accurately reading the two-dimensional bar code by a computer.
Description
Technical field
The present invention relates to Computer Image Processing field, particularly relate to a kind of method that impact printer prints two-dimensional bar code on multiple part bills.
Background technology
Utilize paper document transmission of information, be print on paper document by computer system control printer by information symbol, these information symbols comprise Chinese character, numeral, letter, punctuation mark, bar code, two-dimensional bar code etc.Like this, when carrying out various subsequent operation according to the information on paper document, only need read information symbol above.Along with the development of computer image processing technology, increasing paper document changes to be read by computer, this dramatically reduces the artificial workload read.
Multiple part bills, as a kind of paper document, can carry various sales information, just can carry out declaring dutiable goods, the operation such as reimbursement by reading these sales informations.Multiple part bills by other connection with duplicating function more than first and form (as a triple ticket by first, there is second and the 3rd of duplicating function form).Wherein, other connection outside first are made up of NCR, one deck carbon ink is all scribbled at the upper surface of each connection, these carbon inks can be subject to the position development of ambient pressure, thus leave a trace in this position of paper, manifolding principles of other connection outside Here it is multiple part bills first.Here, first of multiple part bills can adopt NCR, also can not adopt.
In order to improve anti-counterfeiting performance, and the multiple part bills making area certain can preserve more information, facilitates computer to read these information simultaneously, can at the printout surface two-dimensional bar code of multiple part bills.But, existing printing technique utilizes the principle of heating transfer to print on paper by two-dimensional bar code, thus removing on first is printed on outside two-dimensional bar code, other connection all can not develop because not being under pressure two-dimensional bar codes, and such multiple part bills is because of first different from the content that other join and do not allow to use.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of method that impact printer prints two-dimensional bar code on multiple part bills, two-dimensional bar code can be printed on all connection of multiple part bills, and is beneficial to computer and reads like clockwork.
The technical scheme that the present invention solves the problems of the technologies described above is as follows: a kind of impact printer prints the method for two-dimensional bar code on multiple part bills, and described multiple part bills is made up of other connection with duplicating function more than first and; The method comprises:
Step 1: whether the resolution ratio judging described impact printer is its true picture print resolution, is perform step 2, otherwise, the resolution ratio of described impact printer is set to its true picture print resolution, performs step 2;
Step 2: judge that whether the parameter of described two-dimensional bar code to be printed is relevant to the true picture print resolution of described impact printer, perform step 3, otherwise, be relevant to the true picture print resolution of described impact printer by the optimum configurations of described two-dimensional bar code, perform step 3;
Step 3: described two-dimensional bar code and bill word are printed on first of described multiple part bills with described impact printer.
The invention has the beneficial effects as follows: in the present invention, owing to being utilize impact printer to print on first of multiple part bills by two-dimensional bar code, thus the print needle of printer is except printing to two-dimensional bar code except on first, surfaces also two-dimensional bar code that develops because receiving the pressure of print needle of other connection, therefore, two-dimensional bar code can print on all connection of multiple part bills by the present invention.Simultaneously, because the present invention passes through the judgement of step 1 and 2, the resolution ratio of impact printer is set to its true picture print resolution, be relevant to the true picture print resolution of impact printer by the optimum configurations of two-dimensional bar code, therefore, impact printer is when printing two-dimensional bar code, distance between adjacent two print points of print needle is greater than 0, thus other connection outside damage carbonless copying can be prevented made of paper first, ensure that the two-dimensional bar code on first and other connection is clear and legible simultaneously, this is conducive to computer and reads like clockwork, prevent machine-readable error.
On the basis of technique scheme, the present invention can also do following improvement:
Further, after described step 3, the method also comprises:
Step 4: described multiple part bills is placed in the scanning hot-zone of scanner;
Step 5: with described in described scanner scanning the first, obtain the image of described first;
Step 6: use the image of described in Computer Analysis first, obtain the image information of described first.
Further, after described step 3, before described step 4, the method also comprises: step 40-1: judge described first and print needles of the upper described bill word of other connection count and whether count identical with the print needle of bill word described in the character library of described impact printer, be perform described step 4, otherwise re-execute described step 3.
Further, described two-dimensional bar code is square; After described step 3, before described step 4, the method also comprises: step 40-2: judge in the described two-dimensional bar code on described first and other connection, be positioned at the calibration curve of center, lay respectively at view finding figure that the detection of each position of each right angle of setting figure, all described position sensing figures combine and whether to exist and complete, be perform described step 4, otherwise re-execute described step 3.
Further, described two-dimensional bar code is square, and it is by more than one foursquare module composition; After described step 3, before described step 4, the method also comprises: step 40-3: judge whether the distance between the length of side of the length of side of the described two-dimensional bar code on described first and other connection, each module, adjacent block equals respective setting value, be perform described step 4, otherwise re-execute described step 3.
Further, after described step 3, before described step 4, the method also comprises: step 40-4: judge that described other are associated in described two-dimensional bar code and whether bill word place exists the cut or broken line that are different from described first corresponding position, be perform described step 4, otherwise re-execute described step 3.
Further, before described step 4, the method also comprises: step 40-5: judging that whether the lens optical resolution ratio of described scanner is at more than 300dpi, is perform described step 4, otherwise by the lens optical resolution adjustment of described scanner to more than 300dpi.
Further, before described step 4, the method also comprises: step 40-6: whether the lighting tube brightness judging described scanner is its brightness rated value, perform described step 4, otherwise, the lighting tube brightness of described scanner is adjusted to its brightness rated value or uses another lighting tube brightness to be, after the scanner of its brightness rated value, perform described step 4.
Further, judge in described step 40-6 that whether the lighting tube brightness of described scanner is the method for its brightness rated value and is: utilize lumen instrument to detect the lighting tube brightness of described scanner, judge that whether its lighting tube brightness is the brightness rated value of this scanner.
Further, before described step 4, the method also comprises: step 40-7: judge that described scanner adds up scanned file number of pages and whether exceedes its number of pages rated value, that the scanner using another accumulative scanned file number of pages to have not exceeded its number of pages rated value performs described step 4 and step 5, otherwise, perform described step 4; Wherein, described file is the file of the arbitrary available described scanner scanning comprising described multiple part bills.
Further, before described step 4, the method also comprises: step 40-8: the scanning hot-zone arranging described scanner.
Further, before described step 4, the method also comprises: step 40-9: the predetermined placement direction of bill arranging described scanner; Then
Described step 4 is: be placed in the scanning hot-zone of scanner by described multiple part bills, makes its placement direction be the predetermined placement direction of described bill.
Accompanying drawing explanation
Fig. 1 is the method flow diagram that impact printer provided by the invention prints two-dimensional bar code on multiple part bills.
Detailed description of the invention
Be described principle of the present invention and feature below in conjunction with accompanying drawing, example, only for explaining the present invention, is not intended to limit scope of the present invention.
Fig. 1 is the method flow diagram that impact printer provided by the invention prints two-dimensional bar code on multiple part bills.Multiple part bills described in the present invention is made up of other connection with duplicating function more than first and, other connection outside first are made by NCR, the material of this NCR is more fragile, easily damage when being subject to the pressure of comparatively dense, the carbon ink of its upper surface coating can be subject to the position development of ambient pressure, thus leaves a trace on paper.Under normal circumstances, be the mode type information of surface pressure first, thus make other connection upper surfaces outside first develop and the first identical information in relevant position because of pressure effect.Like this, multiple part bills comprises on first and other upper surfaces being associated in interior all connection and just had the identical information of content and position, computer by reading the information of the first upper surface, thus obtains the information that this multiple part bills preserves.Certainly, if first is different with other information joined, then this multiple part bills just can be regarded as invalid bill and does not allow to employ.The material of first also can be NCR, certainly, also can make with other materials.
As shown in Figure 1, after starting to perform, the method comprises:
Step 101: judge whether the resolution ratio of impact printer equals its true picture print resolution, is perform step 103, otherwise, perform step 102.
The impact printer of current extensive use is varied, such as, can be the impact printer of 9 pins, also can be the impact printer of 24 pins.Often kind of impact printer has unique true picture print resolution, and the true picture print resolution of different types of impact printer is different, and concrete numerical value can see the service manual of this impact printer.
When the resolution ratio of impact printer equals its true picture print resolution, print needle is adjacent is greater than 0, and namely different print point coverage rate does not on paper have overlapping region, and this can prevent NCR not to be damaged because print point is too intensive.Simultaneously, distance between adjacent print point (i.e. distance between the center of print point) but also enough little, can ensure that the ink dot that first and other connection manifest is continuous print, this can ensure that the various information be apparent on multiple part bills first and other connection are enough clear, prevent reading error, be conducive to computer and read accurately.
If the resolution ratio of impact printer equals its true picture print resolution, such as, impact printer used is the impact printer of 9 pins, its true picture print resolution is 120dpi, and the resolution ratio of current setting is 240dpi, if print point to be regarded as a circle, distance then between adjacent two print points is only each radius of a circle, like this, adjacent two print points coverage rate on paper just has certain overlapping region, so exert pressure thick and fast the carbonless copying outside first can be caused made of paper other to be associated in print position damaged, this is unfavorable for the preservation of this multiple part bills, also be unfavorable for that computer after this reads.Therefore, the resolution ratio of impact printer must be set to its true picture print resolution.
Step 102: the resolution ratio of impact printer is set to its true picture print resolution, performs step 103.
Here, if the judged result of step 101 is no, then this step is performed, in case stop loss bad multiple part bills.
Step 103: judging that whether the parameter of two-dimensional bar code to be printed is relevant to the true picture print resolution of impact printer, is perform step 105, otherwise, perform step 104.
Here, two-dimensional bar code is that each module is square by the bar code of the overall quadrate of the module composition of the black and white in orthogonal X-direction (transverse direction) and Y-direction (longitudinal direction).Because it all has the arrangement of module in the x-direction and the z-direction, therefore be called two-dimensional bar code.Wherein, the module of each black represents binary digit " 0 ", and the module of each white represents binary digit " 1 ", the module of these black and whites arranges in sequence, can represent certain binary message, the quantity of module is larger, and the information content of this two-dimensional bar code is also larger.
In order to facilitate the reading of computer during subsequent treatment, the length of side (or area) of each module is just sufficiently large, otherwise may cause misreading of computer.Therefore, under the prerequisite that the area coverage of two-dimensional bar code is restricted on multiple part bills, the information content that two-dimensional bar code can store also is restricted.Under current computer image processing technology condition, the two-dimensional bar code of the black and white module composition of this matrix form that multiple part bills prints can store the information of about hundreds of K bit, for the bar code that the vertical stack of the bar code and hundreds of bit information that only can store tens bit informations gets up, the information content of the two-dimensional bar code of this matrix form that the present invention prints is much bigger.
Here, the parameter of two-dimensional bar code comprises: the arrangement mode, error-correction level etc. of module size (length of side or area), each module.The concrete numerical value of these parameters is different, the shape of the two-dimensional bar code printed is just different, and computer scans by analysis scan instrument the image acquisition image information wherein obtained, for same two-dimensional bar code, unique print form must be had by computer recognizing, otherwise, the information that the same two-dimensional bar code that None-identified is gone out different print form by computer comprises.This just needs each parameter making two-dimensional bar code to be printed to have unique parameter value, in the present invention, this parameter value is set to all relevant to the true picture print resolution of the impact printer printing two-dimensional bar code, namely must determine the parameter value of each parameter of two-dimensional bar code according to the true picture print resolution of impact printer, this is conducive to computer and obtains image information like clockwork.
Step 104: be relevant to the true picture print resolution of impact printer by the optimum configurations of two-dimensional bar code, performs step 105.
When the judged result of step 103 is no, perform this step, when reading the two-dimensional bar code on multiple part bills with protection computer, produce mistake.
Step 105: two-dimensional bar code and bill word are printed on first of multiple part bills with impact printer.
In the present invention, with impact printer, two-dimensional bar code and bill word are printed on first, certain pressure can be produced in each print point place on first, this pressure except leaving ink dot on first, thus all ink dots are combined be shown as outside corresponding two-dimensional bar code or bill word, the carbon ink development of other connection upper surface coatings can also be made to be a development ink dot, thus all development ink dots also can be combined be shown as corresponding two-dimensional bar code or bill word, and, first is subject to the pressure effect of print needle with other same positions joined simultaneously, also just all ink dot is created, therefore, identical first and the two-dimensional bar code that manifests of same positions of other connection or the information of bill word.
Here, bill word refers to other any one billing informations except two-dimensional bar code, as Chinese character, numeral, letter, punctuation mark etc.
As can be seen here, in the present invention, owing to being utilize impact printer to print on first of multiple part bills by two-dimensional bar code, thus the print needle of printer is except printing to two-dimensional bar code except on first, surfaces also two-dimensional bar code that develops because receiving the pressure of print needle of other connection, therefore, two-dimensional bar code can print on all connection of multiple part bills by the present invention.Simultaneously, because the present invention passes through the judgement of step 1 and 2, the resolution ratio of impact printer is set to its true picture print resolution, be relevant to the true picture print resolution of impact printer by the optimum configurations of two-dimensional bar code, therefore, impact printer is when printing two-dimensional bar code, distance between adjacent two print points of print needle is greater than 0, thus other connection outside damage carbonless copying can be prevented made of paper first, ensure that the two-dimensional bar code on first and other connection is clear and legible simultaneously, this is conducive to computer and reads like clockwork, prevent machine-readable error.
In fact, execution the dividing less than priority of step 101 and these two determining steps of step 103, first can performing step 101 as shown in Figure 1, performing step 103 when judged result is for being, perform step 102 and 103 successively when judged result is no.Also first 103 can be performed, step 101 is performed when judged result is for being, step 104 and 101 are performed successively when judged result is no, performing step 105 when the judged result of step 101 is for being, performing step 102 and 105 successively when the judged result of step 101 is no.Above-mentioned two kinds of execution sequences are all within protection scope of the present invention.
As shown in Figure 1, after step 105, the method also comprises the step of scanning multiple part bills and computer acquisition multiple part bills information, as follows:
Step 106: multiple part bills is placed in the scanning hot-zone of scanner.
This step is the preparation process of scanning, and the present invention utilizes scanner to scan multiple part bills.Scanner utilizes photoelectric technology and digital processing technology, with scan mode, figure or image is converted to the device of digital information.
Scanner has scanning hot-zone, and the figure in scanning hot-zone or image can only be converted to digital information by scan mode by it, and the figure that cannot carry out outside scanning and conversion scan hot-zone or image.Therefore, billing information described in this multiple part bills (comprising the information that two-dimensional bar code and bill word comprise) can just be obtained in the scanning hot-zone that multiple part bills must be placed in scanner.
Step 107: by scanner scanning the first, obtain the image of first.
Because the information in multiple part bills on first and other connection are identical, therefore, the image that only need scan first can obtain the information described in whole multiple part bills all connection.
In this step, scanner obtain first image be a kind of digital picture, it is binary form, directly can be carried out preserving, edit and processing by computer.
Step 106 and step 106 are the step of scanning multiple part bills provided by the invention.
Step 108: with the image of Computer Analysis first, obtain the image information of first.
This step is the step that computer obtains multiple part bills information.Due in step 107, scanner is by scanning, obtain the image on the multiple part bills first of placement in scanning hot-zone, therefore, this step only need utilize computer to carry out this image of first of analyzing and processing, the image information of first can be obtained, thus obtain information described in this multiple part bills (i.e. the information that comprises of two-dimensional bar code and bill word comprise the summation of information).
After above-mentioned step 105, before step 106, the method can also comprise following step 40-1,40-2,40-3,40-4, and the execution of these steps does not have dividing of priority.
Whether wherein, step 40-1 is: judge that print needles of bill word on first and other connection are counted and count identical with the print needle of bill word in the character library of impact printer, be perform step 106, otherwise re-execute step 105.
Impact printer utilizes the very little print needle of radius (diameter as root print needle every on the impact printer of 9 pins is only 0.3mm) to apply pressure on paper thick and fast, thus producing printing pin mark (i.e. aforesaid ink dot) at each forced position (the present invention is referred to as the position at print point place), all printing pin marks are combined as macroscopical visible word, figure, two-dimensional bar code etc.Therefore, in fact each module in each stroke of each bill word, two-dimensional bar code is combined by several ink dots.Each impact printer has self character library, this character library describes the quantity of the printing pin mark of each stroke being combined as each bill word, therefore, this step judges that being combined into each bill word (comprises Chinese character, punctuation mark, letter, numeral etc.) the quantity of printing pin mark of each stroke and the character library of this impact printer in the quantity of printing pin mark of corresponding stroke of this bill word whether identical, if identical, then illustrate that this stroke of this bill word is clearly printed, if not identical, then illustrate that this stroke is not clear by printing, scan the image of this stroke obtained and step 108 Computer in step 107 when analyzing the image of this stroke, may produce and misread, thus the print job re-executing step 105 is needed, certainly, here the step 105 that re-executes is carried out for the multiple part bills that portion is new, otherwise, not only former multiple part bills may produce the overlap of twice type information, also NCR can be damaged.
This step is carried out for first and other all strokes joining above all bill words, why for all bill words on first, be because in step 106-108 handled be first image, the all bill words why joined for other, because multiple part bills first necessary identical with the information on other join, otherwise this multiple part bills is just invalid bill, just nonsensical to the first process carried out in step 106-108 like this.
Because two-dimensional bar code of the present invention is totally square, therefore, step 40-2 is: judge in the two-dimensional bar code on first and other connection, be positioned at the calibration curve of center, lay respectively at view finding figure that the detection of each position of each right angle of setting figure, all position sensing figures combine and whether to exist and complete, be perform step 106, otherwise re-execute step 105.
For the ease of computer recognizing, each two-dimensional bar code has self identification marking.As in each foursquare two-dimensional bar code, a step-like calibration curve can be set heart position with the center helping computer to determine this two-dimensional bar code wherein, the position sensing figure of a fold-line-shaped is set respectively its four (or wherein three) right angle, and all position sensing figures are also combined as a view finding figure, thus computer is helped to determine the outer boundary of this two-dimensional bar code.
In this step, by judging calibration curve in the two-dimensional bar codes on first and other connection, whether each position detection figure, view finding figure exist, and judge that whether calibration curve, each position detection figure, view finding figure be complete, thus determine print quality, prevent computer from misreading.If calibration curve, each position detection figure, view finding figure exist and complete, then calculate the information that function reads this two-dimensional bar code smoothly, if calibration curve, each position detection figure, one or more in view finding figure do not exist, even if or exist and imperfect, all easily cause misreading of step 108 Computer.
The overall quadrate of two-dimensional bar code described in the present invention, and this two-dimensional bar code is by the module composition of more than one foursquare black and white; Then step 40-3 is: judge whether the distance between the length of side of the length of side of the two-dimensional bar code on first and other connection, each module, adjacent block equals respective setting value, is perform step 106, otherwise re-executes step 105.
The position of two-dimensional bar code and the length of side on multiple part bills, and the distance in two-dimensional bar code between the length of side of each module, adjacent block is setting value, can not change.If first and other connection on these sizes of two-dimensional bar code of manifesting be not equal to its setting value, then computer cannot read in step 108, even if or have read and also cannot obtain corresponding information, thus this step needs these sizes judging two-dimensional bar code whether to equal respective setting value.
Step 40-4: judge that other are associated in two-dimensional bar code and whether bill word place exists the cut or broken line that are different from the first corresponding position, be perform step 106, otherwise re-execute step 105.
Because other connection outside first are made by NCR, upper surface is all coated with one deck carbon ink, therefore, except the print needle of impact printer makes except its surface development by the mode of exerting pressure, by folding, the modes such as weight also can in its surface development, produce broken line and cut, this just destroy this few on the information of bill word or two-dimensional bar code position, this not only can make first, and to join the information shown different with other, but also because of the first relative transparent, can by the cuts on other connection outside first or zigzag scanning in image when step 107 scans, thus the analysis of step 108 Computer is unfavorable for.
Before step 106, the method can also comprise step 40-5,40-6,40-7,40-8,40-9, to ensure that scanner normally can work in step 106 and 107, its scan obtain first image can by computer correctly analyzing and processing.Specific as follows.
Step 40-5: judging that whether the lens optical resolution ratio of scanner is at more than 300dpi, is perform step 106, otherwise by the lens optical resolution adjustment of scanner to more than 300dpi, then perform step 106.
Scanner can scan by different lens optical resolution ratio, thus obtains the image of different readability to same figure.Through repeatedly testing, the present invention determines that the lens optical resolution ratio of 300dpi is the optimum lens optical resolution of scanner, if the lens optical resolution ratio of scanner is lower than 300dpi, the image then scanning obtain first may make computer generation misread in step 108, this is not allowed to, if the lens optical resolution ratio of scanner is higher than 300dpi, then scan efficiency is too low, consuming time long, but can ensure to calculate the image that function entirely accurate ground analyzes this scanning obtains first.
Step 40-6: whether the lighting tube brightness judging scanner is its brightness rated value, is perform step 106, otherwise, before execution step 106, first perform one of the following two kinds method:
First method is: the lighting tube brightness of scanner is adjusted to its brightness rated value;
Second method is: use another lighting tube brightness to be the scanner of its brightness rated value.
Here, the lighting tube brightness of scanner has its brightness rated value, if the brightness of fluorescent tube is too high, exceed its brightness rated value, the image then scanning obtain first can may cause not the analytical error of computer because contrast, if brightness is too low, then the image of first then can may cause the analytical error of computer because contrast is too high.Therefore, the lighting tube brightness of scanner must be set to its brightness rated value.
If the judged result of this step is no, any one in two kinds of above-mentioned methods then can be taked to ensure that the lighting tube brightness of scanner is its brightness rated value, first method is the lighting tube brightness regulating this scanner, and second method is for changing another satisfactory scanner.One of these two kinds of methods are finished, and can perform step 106.
In step 40-6, judge that whether the lighting tube brightness of scanner is the method for its brightness rated value and can is: utilize lumen instrument to detect the lighting tube brightness of scanner, judge that whether its lighting tube brightness is the brightness rated value of this scanner.
Here, lumen instrument is the instrument of special detection brightness, can contrast the current lighting tube brightness of its scanner detected and brightness rated value, thus judges whether current lighting tube brightness is brightness rated value.
Certainly, also can take additive method to judge, such as, whether variantly can contrast two the identical brightness of scanner when lighting tube brightness is all set to brightness rated value, thus whether the lighting tube brightness of determining step 106,107 scanners used is the brightness rated value of this scanner.
Step 40-7: judge that scanner adds up scanned file number of pages and whether exceedes its number of pages rated value, use another accumulative scanned file number of pages to have not exceeded the scanner of its number of pages rated value to perform step 106 and 107, otherwise, directly perform step 106; Wherein, file is the file of the arbitrary available scanner scanning comprising multiple part bills.
Scanner has counter, can add up the file number of pages that it is scanned, if this number of pages has exceeded number of pages rated value, then this scanner just can not continue to employ, otherwise it scans the image obtained will produce distortion, may cause the erroneous judgement of step 108 Computer.Therefore, before execution step 106, need to judge that scanner adds up scanned file number of pages and whether exceedes its number of pages rated value, if judged result is no, then need to change qualified scanner to perform step 106 and 107.
Step 40-8: the scanning hot-zone that scanner is set.
The regional compare that scanner can scan is large, and much larger than the area of a multiple part bills, and its scanning hot-zone can be arranged, and therefore, the present invention can reduce scanning area by the mode of the scanning hot-zone arranging scanner, thus improves scan efficiency.
Step 40-9: the predetermined placement direction of bill that scanner is set.
Scanner, except can arranging scanning hot-zone, can also arrange the predetermined placement direction of bill, can coordinate the scanning direction of scanner like this, and improving scanner is quickly the speed of digital picture by Graphic Exchanging.
After step 40-9 is finished, step 4 is just: be placed in by multiple part bills in the scanning hot-zone of scanner, makes its placement direction be the predetermined placement direction of bill.
Because the present invention can perform above-mentioned step 40-1 to step 40-9, by judging whether various features each running parameter that is whether complete, that judge scanner of two-dimensional bar code on multiple part bills and bill word meets the requirements, therefore, the two-dimensional bar code that the present invention's impact printer prints on multiple part bills can be identified like clockwork by computer, and improves scan efficiency.
As can be seen here, the present invention has the following advantages:
(1) in the present invention, owing to being utilize impact printer to print on first of multiple part bills by two-dimensional bar code, thus the print needle of printer is except printing to two-dimensional bar code except on first, surfaces also two-dimensional bar code that develops because receiving the pressure of print needle of other connection, therefore, two-dimensional bar code can print on all connection of multiple part bills by the present invention.Simultaneously, because the present invention passes through the judgement of step 1 and 2, the resolution ratio of impact printer is set to its true picture print resolution, be relevant to the true picture print resolution of impact printer by the optimum configurations of two-dimensional bar code, therefore, impact printer is when printing two-dimensional bar code, distance between adjacent two print points of print needle is greater than 0, thus other connection outside damage carbonless copying can be prevented made of paper first, ensure that the two-dimensional bar code on first and other connection is clear and legible simultaneously, this is conducive to computer and reads like clockwork, prevent machine-readable error.
(2) because the present invention can perform above-mentioned step 40-1 to step 40-9, by judging whether various features each running parameter that is whether complete, that judge scanner of two-dimensional bar code on multiple part bills and bill word meets the requirements, therefore, the two-dimensional bar code that the present invention's impact printer prints on multiple part bills can be identified like clockwork by computer, and improves scan efficiency.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (3)
1. on multiple part bills, print a method for two-dimensional bar code with impact printer, described multiple part bills is made up of other connection with duplicating function more than first and; It is characterized in that, the method comprises:
Step 1: whether the resolution ratio judging described impact printer is its true picture print resolution, is perform step 2, otherwise, the resolution ratio of described impact printer is set to its true picture print resolution, performs step 2;
Step 2: judge that whether the parameter of described two-dimensional bar code to be printed is relevant to the true picture print resolution of described impact printer, perform step 3, otherwise, be relevant to the true picture print resolution of described impact printer by the optimum configurations of described two-dimensional bar code, perform step 3;
Step 3: described two-dimensional bar code and bill word are printed on first of described multiple part bills with described impact printer; Wherein, described two-dimensional bar code is square, and it is by more than one foursquare module composition;
Step 40-1: judge described first and print needles of the upper described bill word of other connection count and whether count identical with the print needle of bill word described in the character library of described impact printer, be perform step 4, otherwise re-execute described step 3;
Step 40-2: judge in the described two-dimensional bar code on described first and other connection, be positioned at the calibration curve of center, lay respectively at view finding figure that the detection of each position of each right angle of setting figure, all described position sensing figures combine and whether to exist and complete, be perform step 4, otherwise re-execute described step 3;
Step 40-3: judge whether the distance between the length of side of the length of side of the described two-dimensional bar code on described first and other connection, each module, adjacent block equals respective setting value, is perform step 4, otherwise re-executes described step 3;
Step 40-4: judge that described other are associated in described two-dimensional bar code and whether bill word place exists the cut or broken line that are different from described first corresponding position, be perform step 4, otherwise re-execute described step 3;
Step 40-5: judging that whether the lens optical resolution ratio of scanner is at more than 300dpi, is perform step 4, otherwise by the lens optical resolution adjustment of described scanner to more than 300dpi;
Step 40-6: whether the lighting tube brightness judging described scanner is its brightness rated value, perform step 4, otherwise, the lighting tube brightness of described scanner is adjusted to its brightness rated value or uses another lighting tube brightness to be after the scanner of its brightness rated value, perform step 4;
Step 40-7: judge that described scanner adds up scanned file number of pages and whether exceedes its number of pages rated value, that the scanner using another accumulative scanned file number of pages to have not exceeded its number of pages rated value performs step 4 and step 5, otherwise, perform step 4; Wherein, described file is the file of the arbitrary available described scanner scanning comprising described multiple part bills;
Step 40-8: the scanning hot-zone that described scanner is set;
Step 4: described multiple part bills is placed in the scanning hot-zone of described scanner;
Step 5: with described in described scanner scanning the first, obtain the image of described first;
Step 6: use the image of described in Computer Analysis first, obtain the image information of described first.
2. impact printer according to claim 1 prints the method for two-dimensional bar code on multiple part bills, it is characterized in that, judge in described step 40-6 that whether the lighting tube brightness of described scanner is the method for its brightness rated value and is: utilize lumen instrument to detect the lighting tube brightness of described scanner, judge that whether its lighting tube brightness is the brightness rated value of this scanner.
3. impact printer according to claim 1 prints the method for two-dimensional bar code on multiple part bills, it is characterized in that, before described step 4, the method also comprises: step 40-9: the predetermined placement direction of bill arranging described scanner; Then
Described step 4 is: be placed in the scanning hot-zone of described scanner by described multiple part bills, makes its placement direction be the predetermined placement direction of described bill.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110147265.0A CN102806776B (en) | 2011-06-02 | 2011-06-02 | Method for printing two-dimensional bar code on multi-copy bill by stylus printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110147265.0A CN102806776B (en) | 2011-06-02 | 2011-06-02 | Method for printing two-dimensional bar code on multi-copy bill by stylus printer |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102806776A CN102806776A (en) | 2012-12-05 |
CN102806776B true CN102806776B (en) | 2015-05-06 |
Family
ID=47230715
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110147265.0A Active CN102806776B (en) | 2011-06-02 | 2011-06-02 | Method for printing two-dimensional bar code on multi-copy bill by stylus printer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102806776B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103909741B (en) * | 2012-12-30 | 2016-04-06 | 航天信息股份有限公司 | 9 needle printers in embedded system are utilized to print the method and apparatus of Quick Response Code |
CN103722895A (en) * | 2013-12-24 | 2014-04-16 | 上海中沧电子技术有限公司 | Shifting printing method for 12-stylus printer |
CN104191822A (en) * | 2014-09-12 | 2014-12-10 | 上海中沧电子技术有限公司 | Shift-printing method of single-row 12-needle type printer |
CN105843565A (en) * | 2016-03-21 | 2016-08-10 | 西安航天动力试验技术研究所 | Bar code printing management system and method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1324056A (en) * | 2001-07-11 | 2001-11-28 | 吴建明 | Prined shape of fast responded matrix code symbols |
CN1328291A (en) * | 2001-07-23 | 2001-12-26 | 吴建明 | Method for writing image recognition software with QR code |
CN1336583A (en) * | 2001-09-03 | 2002-02-20 | 吴建明 | Matrix code printing and identifying method |
CN1560824A (en) * | 2000-04-14 | 2005-01-05 | ������������ʽ���� | Printing method for two-dimensional code symbol, and printer |
CN201247490Y (en) * | 2008-08-29 | 2009-05-27 | 福建新大陆电脑股份有限公司 | Application system for implementing invoices false proof employing two-dimension code |
CN101655996A (en) * | 2009-07-20 | 2010-02-24 | 浪潮齐鲁软件产业有限公司 | Method for identifying the authenticity of bills fast |
CN101799950A (en) * | 2010-02-26 | 2010-08-11 | 浪潮齐鲁软件产业有限公司 | Method for invoice issuing and authenticity verification in coal industry |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07315558A (en) * | 1994-05-23 | 1995-12-05 | Harutaka Sunakawa | Transport method of merchandise and forwarding control device and invoice issuing device used therefor |
JP2010240924A (en) * | 2009-04-02 | 2010-10-28 | Seiko Precision Inc | Marking system |
-
2011
- 2011-06-02 CN CN201110147265.0A patent/CN102806776B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1560824A (en) * | 2000-04-14 | 2005-01-05 | ������������ʽ���� | Printing method for two-dimensional code symbol, and printer |
CN1324056A (en) * | 2001-07-11 | 2001-11-28 | 吴建明 | Prined shape of fast responded matrix code symbols |
CN1328291A (en) * | 2001-07-23 | 2001-12-26 | 吴建明 | Method for writing image recognition software with QR code |
CN1336583A (en) * | 2001-09-03 | 2002-02-20 | 吴建明 | Matrix code printing and identifying method |
CN201247490Y (en) * | 2008-08-29 | 2009-05-27 | 福建新大陆电脑股份有限公司 | Application system for implementing invoices false proof employing two-dimension code |
CN101655996A (en) * | 2009-07-20 | 2010-02-24 | 浪潮齐鲁软件产业有限公司 | Method for identifying the authenticity of bills fast |
CN101799950A (en) * | 2010-02-26 | 2010-08-11 | 浪潮齐鲁软件产业有限公司 | Method for invoice issuing and authenticity verification in coal industry |
Also Published As
Publication number | Publication date |
---|---|
CN102806776A (en) | 2012-12-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11878540B2 (en) | Flexographic printing plate with persistent markings | |
US11724533B2 (en) | System and process for persistent marking of flexo plates and plates marked therewith | |
CN110807823B (en) | Image simulation generation method for dot matrix character printing effect | |
EP0636475B1 (en) | Automatic inspection of printing plates or cylinders | |
CN100570632C (en) | The information identifying method of machine-readable information card or machine-readable test paper | |
EP3877810B1 (en) | System and process for persistent marking of flexo plates and plates marked therewith | |
CN102760226B (en) | Solid square-based test paper objective item answer sheet locating method | |
JP2009540468A (en) | Multidimensional symbology and related methods | |
CN102806776B (en) | Method for printing two-dimensional bar code on multi-copy bill by stylus printer | |
CN114730141B (en) | System and method for permanent marking of flexographic plates and plates marked therewith | |
CN103198345A (en) | Method of preventing copy of two-dimension code and two-dimension printer | |
CN101848305A (en) | Image processing apparatus and image processing system | |
JP2004195878A (en) | Apparatus and method for inspecting printed matter | |
JP2003305927A (en) | Printer inspection system | |
CN106626845B (en) | The printing method of gray scale two dimensional code | |
CN1336583A (en) | Matrix code printing and identifying method | |
JP2006079571A (en) | Printer print verification inspection device | |
CN109241821A (en) | A kind of color laser printing hard-copy file classification discrimination method | |
CN102806788B (en) | A kind of method printing special-shaped matrix two-dimensional barcode on multiple part bills | |
CN114863147A (en) | Intelligent comparison method and system for large-version printed image and application of intelligent comparison system | |
CN100367301C (en) | Printer operated after scan positioning | |
CN1324056A (en) | Prined shape of fast responded matrix code symbols | |
CN111046903B (en) | Printed matter graph inspection method, system and storage medium | |
US11928374B2 (en) | Methods, apparatuses, and computer program products for verifying printed indicia | |
CN113988241A (en) | Anti-counterfeiting label, forming method thereof, anti-counterfeiting method and printed matter |
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 |