CN102411797A - Method and device for printing bill information - Google Patents
Method and device for printing bill information Download PDFInfo
- Publication number
- CN102411797A CN102411797A CN2010102885641A CN201010288564A CN102411797A CN 102411797 A CN102411797 A CN 102411797A CN 2010102885641 A CN2010102885641 A CN 2010102885641A CN 201010288564 A CN201010288564 A CN 201010288564A CN 102411797 A CN102411797 A CN 102411797A
- Authority
- CN
- China
- Prior art keywords
- printing
- bill
- module
- matrix type
- 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.)
- Pending
Links
Images
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention discloses a method and a device for printing bill information. The method comprises the following steps of: processing the content information of a bill to be printed to form a character string; representing a '1' module of a binary system by using four printing points to obtain a matrix two-dimensional code of the character string, wherein every two of the four printing points are spaced by one printing blank space; and printing the content information and the matrix two-dimensional code on the bill. By the method and the device, the condition that the bill is punched when the multiplicate bill is subjected to two-dimensional code printing by using a needle printer is effectively avoided, so that the device can be used for performing two-dimensional code verification on a large number of bills, the information capacity of unit area is increased, and the problems in the prior art are solved.
Description
Technical field
The present invention relates to the bill anti-counterfeit field, in particular to a kind of billing information Method of printing and device.
Background technology
Two-dimension code has little, the capacious advantage of print area for existing bar code and numerical ciphers, the use of two-dimension code has become current trend, but for multiple part bills, must use stylus printer to print.And in existing two-dimensional sign indicating number stylus printing; Use and concentrate the matrix of printed dots of printing a 2*2 or 3*3 to constitute a module; Need reserve the mode of a plurality of blank simultaneously, help the identification of recognizer like this, but there is following problem in this Method of printing print module:
At first because the module of expression " 1 " all need be printed 2*2 or 3*3 point thick and fast, therefore in print procedure, the probability that bill is punched easily is higher, and the probability that causes the information on the bill to be identified is higher;
Secondly; Because existing Method of printing is for the ease of identification; Need leave a large amount of blank, represent a module like a needs 5*5 cell, wherein 9 needle printers have only used 4 cells wherein to print effective information and need 21 spaces; 24 needle printers only need 9 cells and need 16 spaces; Therefore wasted a large amount of spaces so that distinguish each module, a large amount of like this blank has reduced the capacity of two-dimension code under equal print area, can't use under the print area condition of limited greatly in data volume.
Summary of the invention
The present invention provides a kind of billing information Method of printing and device, and bill can not punched when using stylus printer to carry out the two-dimension code printing in order to the realization multiple part bills, has improved the quantity of information in the unit print area simultaneously.
According to an aspect of the present invention, a kind of billing information Method of printing is provided, this method may further comprise the steps: the content information of printed tickets is handled forming a character string; Represent binary " a 1 " module through four print points, obtain the matrix type two-dimension sign indicating number of character string, wherein the space is printed in four one of print point spaces; And with content information and matrix type two-dimension code printing on bill.
Preferably, in above-mentioned billing information Method of printing, the next door of matrix type two-dimension sign indicating number has the oblique line from the horizontal by 45.
According to another aspect of the present invention, a kind of billing information printing equipment is provided also, this device comprises: encrypting module is used for content information with want printed tickets and carries out encryption and form a string ciphertext; Two-dimensional code generation module is used for representing binary " a 1 " module through four print points, obtains the matrix type two-dimension sign indicating number of ciphertext; And print module, be used for content information and matrix type two-dimension code printing at bill.
Preferably, in above-mentioned billing information printing equipment, also comprise: the oblique line generation module, be used to generate an oblique line, this oblique line is positioned at the next door of matrix type two-dimension sign indicating number and from the horizontal by 45, and through print module this oblique line is printed on the bill.
In the above-described embodiments; Print the matrix type two-dimension sign indicating number module of expression binary logic " 1 " through using mode at interval; Can avoid effectively multiple part bills being used stylus printer it is carried out occurring when two-dimension code is printed the situation that bill is punched; Make it can be used for a large amount of bill two-dimension code checkings, improved the information capacity of unit area simultaneously, overcome the problems of the prior art.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a billing information Method of printing process flow diagram according to an embodiment of the invention;
Fig. 2 is the printing synoptic diagram of the module of logical one according to an embodiment of the invention;
Fig. 3 is 4 synoptic diagram that adjacent logical one module occurs simultaneously according to an embodiment of the invention;
Fig. 4 is that the cell number is the printing synoptic diagram of 3*3 according to an embodiment of the invention;
Fig. 5 is according to an embodiment of the invention with the matrix type two-dimension sign indicating number bill sample figure of 45 ° of oblique lines;
Fig. 6 is the matrix type two-dimension sign indicating number bill sample figure that does not have 45 ° of oblique lines according to an embodiment of the invention;
Fig. 7 is a billing information printing equipment synoptic diagram according to an embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not paying the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Fig. 1 is a billing information Method of printing process flow diagram according to an embodiment of the invention.As shown in Figure 1, this method may further comprise the steps:
S102 handles formation one character string with the content information of want printed tickets;
S104 representes binary " a 1 " module through four print points, obtains the matrix type two-dimension sign indicating number of character string, and wherein the space is printed in four one of print point spaces; And
S106, with content information and matrix type two-dimension code printing on bill.
In the present embodiment; Print the matrix type two-dimension sign indicating number module of expression binary logic " 1 " through using mode at interval; Can avoid effectively multiple part bills being used stylus printer it is carried out occurring when two-dimension code is printed the situation that bill is punched; Make it can be used for a large amount of bill two-dimension code checkings, improved the information capacity of unit area simultaneously, overcome the problems of the prior art.
Fig. 2 is the printing synoptic diagram of the module of logical one according to an embodiment of the invention.As shown in Figure 1, the print point of 11 expression stylus printers among the figure, the space between 12 expression print points.Present embodiment is represented " a 1 " module through four points; Owing between each print point enough spaces are arranged; The situation of having avoided bill in print procedure, to be punched fully, and four print points that disperse form a bigger identified region, also are easier to identification.The printing type of 4*4 cell shown in Figure 2 is the minimum unit lattice that this method does not have adjacent intensive printing, is preferred embodiments of the present invention.
Fig. 3 is 4 synoptic diagram that adjacent logical one module occurs simultaneously according to an embodiment of the invention.As shown in Figure 3, even in this case, when having used above-mentioned Method of printing that multiple part bills has been carried out the two-dimension code stylus printing, the situation that bill is punched can not appear yet.
Embodiments of the invention are applicable to polytype stylus printer, comprise that diameter is 0.18,0.2 to 0.3mm stylus printer.
Print the cell that only needs use 4*4 through the method and just can accomplish the printing function of existing 5*5 cell, therefore under same print needle size, can hold more information as a module as a module.The 4*4 cell is the situation that the minimum in the embodiment of the invention does not have adjacent intensive print point.
Print point in the embodiment of the invention not only is confined to the cell size of 4*4; Also can expand on the cell of multiple of 6*6 or 8*8 etc. 2; Just (n is a positive integer) on the cell of 2n*2n; As long as print area is enough big, can arbitrarily increase according to each concrete operating position.
Fig. 4 is that the cell number is the printing synoptic diagram of 3*3 according to an embodiment of the invention.As shown in Figure 4; The 3*3 cell is tolerable minimum unit lattice in the embodiment of the invention; The print point of a stylus printer of expression on each angle among Fig. 4, this kind situation is the limit operating position of the embodiment of the invention, when print area is narrow and small, uses; But may run into four adjacent situation that the position all prints; But compare with printing type before, because the situation probability that occurs all carrying out intensive stylus printer in adjacent 4 positions is far smaller than printing type before (as long as presentation logic " 1 " module appears in printing type before, adjacent 4 unit or 9 unit will occur and all carry out intensive printing); Therefore reduced the possibility that bill is punched, under the acceptable situation, still can use.
In a preferred embodiment of the present invention, the next door of matrix type two-dimension sign indicating number has the oblique line from the horizontal by 45.After printing finishes, with the naked eye just can observe out whether lack row and dislocation,, can find at that time to print again at that time so, can save the property tax personnel's of enterprise time if row and dislocation take place to lack.And in the prior art, selling party leaves the bill of a band two-dimension code and gives the purchaser, and the purchaser is being with bill to tax bureau's authentication; If cause authentication not pass through because can't discern; The purchaser need return from tax office and get in touch selling party's drawing of bill of exchange again more so, through the handling back and forth of 3 links, can waste handler's time like this; And present embodiment adopts the scheme of 45 ° of oblique lines to find in advance, thereby avoids this situation.
Fig. 5 is according to an embodiment of the invention with the matrix type two-dimension sign indicating number bill sample figure of 45 ° of oblique lines; Fig. 6 is the matrix type two-dimension sign indicating number bill sample figure that does not have 45 ° of oblique lines according to an embodiment of the invention.
Fig. 7 is a billing information printing equipment synoptic diagram according to an embodiment of the invention.As shown in Figure 7, this device comprises:
Extraction module 10 is used for the content information of want printed tickets is handled formation one character string;
Two-dimensional code generation module 20 is used for representing binary " a 1 " module through four print points, obtains the matrix type two-dimension sign indicating number of character string, and wherein the space is printed in four one of print point spaces; And
Print module 30 is used for content information and matrix type two-dimension code printing at bill.
In the present embodiment; Print the matrix type two-dimension sign indicating number module of expression binary logic " 1 " through using mode at interval; Can avoid effectively multiple part bills being used stylus printer it is carried out occurring when two-dimension code is printed the situation that bill is punched; Make it can be used for a large amount of bill two-dimension code checkings, improved the information capacity of unit area simultaneously, overcome the problems of the prior art.
For example; In the above-described embodiments, the billing information printing equipment can also comprise: the oblique line generation module is used to generate an oblique line; This oblique line is positioned at the next door of matrix type two-dimension sign indicating number and from the horizontal by 45, and through print module this oblique line is printed on the bill.After printing finishes, with the naked eye just can observe out whether lack row and dislocation,, can find at that time to print again at that time so, can save the property tax personnel's of enterprise time if row and dislocation take place to lack.And in the prior art, selling party leaves the bill of a band two-dimension code and gives the purchaser, and the purchaser is being with bill to tax bureau's authentication; If cause authentication not pass through because can't discern; The purchaser need return from tax office and get in touch selling party's drawing of bill of exchange again more so, through the handling back and forth of 3 links, can waste handler's time like this; And present embodiment adopts the scheme of 45 ° of oblique lines to find in advance, thereby avoids this situation.
The software of making out an invoice is installed on billing machine; The personnel that make out an invoice import the information of making out an invoice; The software of making out an invoice sends to two-dimensional code generation module with the nominal value type information, in internal memory, sets up a printer page identical with the bill area simultaneously, writes corresponding position to the nominal value type information by position separately; Two-dimensional code generation module changes into the two-dimension code dot chart with the data of importing and also writes in this page; So just built up a complete printer page, clicked the printing function of the software of making out an invoice, started the current bill page of building up in the internal memory is outputed to printer prints according to the operating personnel that make out an invoice.A complete printed bill example is seen accompanying drawing 5 or accompanying drawing 6.The difference of accompanying drawing 5 and accompanying drawing 6 is 45 degree broken lines, is used for whether having when artificial naked eyes are judged the printer prints current bill scarce row, dislocation row, overline etc.45 degree broken lines are generated the generation module generation and are written to the printer page in the internal memory by oblique line, whether add this broken line and can pass through a parameter setting.
When a bill of being left by this programme billing machine carries out authentication business; Authentication software obtains complete bill image through scanner scanning earlier; Then image is sent into OCR (Optical Character Recognition, optical character identification) software for discerning characters module respectively and two-dimension code identification software module is carried out analyzing and processing, the nominal value printing character content A on the OCR software for discerning characters module output bill image; The data that two-dimensional code symbol comprises on the two-dimension code identification software module output bill image; Return nominal value clear content B, two clear content A of authentication software contrast and B, identical then authentication is passed through; Difference then authentication is not passed through, and realizes the false proof of face of instrument information with this.
The two-dimension code that relates in the embodiment of the invention generates and recognition technology has the ready-made national standard can foundation, and detailed two-dimension code decoding method has been set forth in the inside, repeats no more at this.
One of ordinary skill in the art will appreciate that: accompanying drawing is the synoptic diagram of an embodiment, and module in the accompanying drawing or flow process might not be that embodiment of the present invention is necessary.
One of ordinary skill in the art will appreciate that: the module in the device among the embodiment can be described according to embodiment and be distributed in the device of embodiment, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of programmed instruction; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that previous embodiment is put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging embodiment of the invention technical scheme of relevant art scheme.
Claims (4)
1. a billing information Method of printing is characterized in that, may further comprise the steps:
The content information of want printed tickets is handled formation one character string;
Represent binary " a 1 " module through four print points, obtain the matrix type two-dimension sign indicating number of said character string, the space is printed in one of wherein said four print point space; And
With said content information and said matrix type two-dimension code printing on said bill.
2. billing information Method of printing according to claim 1 is characterized in that the next door of said matrix type two-dimension sign indicating number has the oblique line from the horizontal by 45.
3. a billing information printing equipment is characterized in that, comprising:
Extraction module is used for the content information of want printed tickets is handled formation one character string;
Two-dimensional code generation module is used for representing binary " a 1 " module through four print points, obtains the matrix type two-dimension sign indicating number of said character string, and the space is printed in one of wherein said four print point space; And
Print module is used for said content information and said matrix type two-dimension code printing at said bill.
4. billing information printing equipment according to claim 3 is characterized in that, also comprises:
The oblique line generation module is used to generate an oblique line, and said oblique line is positioned at the next door of said matrix type two-dimension sign indicating number and from the horizontal by 45, and through said print module said oblique line is printed on the said bill.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102885641A CN102411797A (en) | 2010-09-20 | 2010-09-20 | Method and device for printing bill information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102885641A CN102411797A (en) | 2010-09-20 | 2010-09-20 | Method and device for printing bill information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102411797A true CN102411797A (en) | 2012-04-11 |
Family
ID=45913861
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010102885641A Pending CN102411797A (en) | 2010-09-20 | 2010-09-20 | Method and device for printing bill information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102411797A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103481694A (en) * | 2013-08-22 | 2014-01-01 | 福建联迪商用设备有限公司 | Printing method and equipment of needle printer and needle printer |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1014318A2 (en) * | 1998-12-18 | 2000-06-28 | Kabushiki Kaisha Toshiba | Ticket issuing method, ticket issuing system and ticket collating method |
US6102289A (en) * | 1996-06-28 | 2000-08-15 | Intermec Ip Corp. | 1D finder pattern for 2D bar codes |
CN1336583A (en) * | 2001-09-03 | 2002-02-20 | 吴建明 | Matrix code printing and identifying method |
CN1396538A (en) * | 2002-08-07 | 2003-02-12 | 深圳矽感科技有限公司 | Method and system for electronizing character and chart information on ordinary carrier |
-
2010
- 2010-09-20 CN CN2010102885641A patent/CN102411797A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6102289A (en) * | 1996-06-28 | 2000-08-15 | Intermec Ip Corp. | 1D finder pattern for 2D bar codes |
EP1014318A2 (en) * | 1998-12-18 | 2000-06-28 | Kabushiki Kaisha Toshiba | Ticket issuing method, ticket issuing system and ticket collating method |
CN1336583A (en) * | 2001-09-03 | 2002-02-20 | 吴建明 | Matrix code printing and identifying method |
CN1396538A (en) * | 2002-08-07 | 2003-02-12 | 深圳矽感科技有限公司 | Method and system for electronizing character and chart information on ordinary carrier |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103481694A (en) * | 2013-08-22 | 2014-01-01 | 福建联迪商用设备有限公司 | Printing method and equipment of needle printer and needle printer |
CN103481694B (en) * | 2013-08-22 | 2015-09-23 | 福建联迪商用设备有限公司 | The Method of printing of impact printer, equipment and impact printer |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102446264A (en) | Printing and scanning recognition method and system for two-dimensional code of special value-added tax invoice | |
US10235618B2 (en) | Authentication feature in a barcode | |
US5974548A (en) | Media-independent document security method and apparatus | |
CN101237501B (en) | Duplicating management system, output device, duplicating device and computer program | |
CN101159800B (en) | Image processing apparatus | |
CN102750794B (en) | Automatic note input system and application method thereof | |
CN105740931B (en) | Multidimensional security code label, its production method and recognition methods | |
CN1918897A (en) | Additional information processing device, additional information processing system, and additional information processing method | |
CN108985066A (en) | Intelligent contract security vulnerability detection method, device, terminal and storage medium | |
CN102129585A (en) | Method and system for transmitting information, device for displaying bar code and device for reading bar code | |
CN101127089A (en) | Implement method for embedding large amount of information on printing media | |
KR20090002278A (en) | Method of encoding divided two-dimensional barcodes for mobile communication terminal | |
CN112508145A (en) | Electronic seal generation and verification method and device, electronic equipment and storage medium | |
US8702011B2 (en) | Barcode structure and barcode encoding method | |
CN101503037B (en) | Processing method for embedding information on paper medium file | |
US7987494B1 (en) | Method and apparatus providing end to end protection for a document | |
CN112132245B (en) | Anti-counterfeiting two-dimensional code and anti-counterfeiting verification method thereof | |
CN102411797A (en) | Method and device for printing bill information | |
US20080279374A1 (en) | Pixel-Based Method for Encryption and Decryption of Data | |
CN101206708B (en) | Image processing apparatus and image processing method | |
CN101840523A (en) | Iconic code-coding method and printing method, reading method and reading device thereof | |
CN102902494A (en) | Control method for valuable document printing of banks or insurances | |
CN111047269A (en) | Document approval and circulation method of workflow and electronic equipment | |
CN110428356B (en) | Paper printed part hidden watermark tracing method, system, terminal and storage medium | |
EP3545453A1 (en) | Method for generating an access for an entity to identification data of a person, associated generation device and authentication 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 | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120411 |