CN102810150A - Dislocation-priority special-shape matrix type two-dimensional barcode arrangement method - Google Patents

Dislocation-priority special-shape matrix type two-dimensional barcode arrangement method Download PDF

Info

Publication number
CN102810150A
CN102810150A CN201110147193XA CN201110147193A CN102810150A CN 102810150 A CN102810150 A CN 102810150A CN 201110147193X A CN201110147193X A CN 201110147193XA CN 201110147193 A CN201110147193 A CN 201110147193A CN 102810150 A CN102810150 A CN 102810150A
Authority
CN
China
Prior art keywords
dimensional barcode
special
dimensional
bar code
dislocation
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.)
Granted
Application number
CN201110147193XA
Other languages
Chinese (zh)
Other versions
CN102810150B (en
Inventor
陈江宁
甘景全
偶瑞军
谢宇
李少维
李利
宋颍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aisino Corp
Original Assignee
Aisino Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aisino Corp filed Critical Aisino Corp
Priority to CN201110147193.XA priority Critical patent/CN102810150B/en
Publication of CN102810150A publication Critical patent/CN102810150A/en
Application granted granted Critical
Publication of CN102810150B publication Critical patent/CN102810150B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a dislocation-priority special-shape matrix type two-dimensional barcode arrangement method which comprises the following steps: (1) setting a form on a paper substrate, wherein the form internally comprises four transversely-juxtaposed two-dimensional barcodes with same size; (2) acquiring the length LX and the width LY of the form; (3) acquiring the length MX and the width MY of a two-dimensional barcode module; (4) calculating the length PX of a two-dimensional barcode symbol, wherein the PX=(LY-5*3MX)/4; (5) calculating the module number MC of the two-dimensional barcode symbol, wherein the MC=PX/MX (round-off number); (6) calculating the starting Y coordinate DY formed by arranging the two-dimensional barcode symbol by taking the top left corner of the form as the point of origin, wherein the DY=(LY-MC*MY)/2; (7) calculating the starting X coordinate D1X of the first two-dimensional barcode symbol, wherein the D1X=3MX; and (8) calculating the starting X coordinates of the other three special-shape matrix type two-dimensional barcode symbols. Due to the adoption of the dislocation-priority special-shape matrix type two-dimensional barcode arrangement method, the technical problem on how to ensure that the two-dimensional barcode is in the normal form in the narrow form area as far as possible on account of printing dislocation is solved, and the multi-part note can be printed continuously and conveniently.

Description

Preferential special-shaped matrix two-dimensional barcode arrangement method misplaces
Technical field
The present invention relates to the bar code field, in particular to the arrangement method of a kind of a plurality of special-shaped matrix two-dimensional barcodes in certain zone.
Background technology
Matrix two-dimensional barcode is made up of by X and the splicing of Y direction equal number the module that some length of sides equate; Global matrix formula two dimensional bar code symbol also is the square-shaped image symbol that a length of side equates; Module is represented information 0 and 1 respectively through black and white, and whole matrix two-dimensional barcode can be expressed a packet.Module is big more, and the image of whole matrix two-dimensional barcode symbol is just big more, and the size between them is directly proportional.If instead limited the area of whole symbol, want to hold more information so, just need be the dimension definitions of module smaller, but too little and can't discern, this is the equal of the index of two contradictions.
General matrix two-dimensional barcode pictorial symbol is the side of being generally; When file has enough zones and a plurality of sides' that need arrange matrix two-dimensional barcode; Directly just can side by side; Limited and when being a fixing long and narrow space, the two-dimensional bar code of how arranging has just had certain difficulty, especially in order to make full use of area space when the file area; When the two-dimensional bar code of waiting to arrange and printing was a non-side's who makes up through particular design special-shaped matrix two-dimensional barcode, this problem is further difficulty just.As long as the application scenario that has when printing multiple part bills continuously such as stylus printer, integral body misplaced forward or backward delegation or multirow often occur, and this situation is more common, but content intact, generally all can normally be judged to be effective document and can not cancel.But used the bill of two-dimensional bar code for those, when dislocation takes place when, two-dimensional bar code can be misplaced out original design should the form the inside; Become with the printing or the printable character on next door overlappingly, so, two-dimensional bar code just becomes and can't discern; Bill can only cancel again and to print in this case; And wrong market condition is more common, how under wrong market condition, still can make two-dimensional bar code be printed on the normal design position, is the problem of technology existence at present.Specific in this case, bill is a design demand when arranging a plurality of special-shaped matrix two-dimensional barcode, the problem difficulty that just further becomes.
Therefore, how the problems referred to above are solved, be those skilled in the art's research direction place.
Summary of the invention
Fundamental purpose of the present invention provides the preferential special-shaped matrix two-dimensional barcode arrangement method of a kind of dislocation, and it is in order to be implemented in a long and narrow table area, to guarantee as far as possible that to printing dislocation two-dimensional bar code drops on the arrangement method in the normal form.
In order to achieve the above object, the present invention provides a kind of dislocation preferential special-shaped matrix two-dimensional barcode arrangement method, and it may further comprise the steps:
Step 1 a: form is set on a paper substrates, comprises 4 measure-alike, horizontal two-dimensional bar codes side by side in this form;
Step 2: obtain form length and width size LX and LY;
Step 3: the length and width size MX and the MY that obtain the two-dimensional bar code module;
Step 4: the long size PX=(LX-5*3MX)/4 that calculates two dimensional bar code symbol;
Step 5: the number of modules MC=PX/MX that calculates two dimensional bar code symbol rounds;
Step 6: with the form upper left corner is initial point, calculates the initial Y coordinate DY=(LY-MC*MY)/2 that two dimensional bar code symbol is arranged;
Step 7: the initial X coordinate D1X=3MX that calculates first two dimensional bar code symbol;
Step 8: the initial X coordinate that calculates all the other 3 special-shaped matrix two-dimensional barcode symbols: D2X=D1X+MX*MC+3MX, D3X=D2X+MX*MC+3MX, D4X=D3X+MX*MC+3MX, wherein; The origin coordinates of 4 special-shaped matrix two-dimensional barcode symbols to be arranged is respectively: (D1X, DY), (D2X, DY); (D3X, DY), (D4X, DY); This series origin is the form upper left corner of waiting to print special-shaped matrix two-dimensional barcode symbol, and origin is (0,0).
In the preferred implementation, the long LX of described form is 80mm, and wide LY is 20mm.
In the preferred implementation, the long size MX of described two-dimensional bar code module is 0.42mm, the wide 0.35mm that is of a size of.
In the preferred implementation, between said 4 two-dimensional bar codes more than or equal to 1mm.
In the preferred implementation, described form has frame line, and the distance of arbitrary two-dimensional bar code and said frame line is more than or equal to 1mm.
In the preferred implementation, said two-dimensional bar code is occuping on the longitudinal direction in the middle of the form.
In the preferred implementation, be initial point (0,0) with the said form upper left corner, the origin coordinates of 4 two dimensional bar code symbols can be made as: (1.26,2.48), and (20.58,2.48), (39.9,2.48), (57.22,2.48), the coordinate linear module is mm.
Compared with prior art, beneficial effect of the present invention is:
The preferential special-shaped matrix two-dimensional barcode arrangement method of dislocation provided by the invention; Because top with below unnecessary blank has been arranged; To better spatial accommodation having been arranged with dislocation, optimally solved at a long and narrow table area, guarantee as far as possible that to printing dislocation two-dimensional bar code drops on the technical matters in the normal form; Can print multiple part bills easily continuously, save time and paper wood.
Description of drawings
Fig. 1 is preferential special-shaped matrix two-dimensional barcode arrangement method one synoptic diagram for the present invention misplaces;
Fig. 2 is preferential special-shaped matrix two-dimensional barcode arrangement method one embodiment synoptic diagram for the present invention misplaces;
Fig. 3 is preferential another preferred embodiment synoptic diagram of special-shaped matrix two-dimensional barcode arrangement method for the present invention misplaces.
Description of reference numerals: 1-paper substrates; The 2-form; The 3-two-dimensional bar code.
Embodiment
Carry out clear, intactly description in the face of the technical scheme in the embodiment of the invention down, 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.
The present invention provides a kind of dislocation top-priority special-shaped matrix two-dimensional barcode arrangement method, in order to be implemented in a long and narrow table area, guarantees as far as possible that to printing dislocation two-dimensional bar code drops on the arrangement method in the normal form.
Consult Fig. 1 and Fig. 2, the preferential special-shaped matrix two-dimensional barcode arrangement method of dislocation of the present invention may further comprise the steps:
Step 1 a: form 2 is set on a paper substrates 1, comprises 4 measure-alike, horizontal two-dimensional bar codes 3 side by side in this form 2;
Step 2: the form length and width size LX and the LY that obtain special-shaped matrix two-dimensional barcode symbol;
Step 3: the length and width size MX and the MY that obtain special-shaped matrix two-dimensional barcode module;
Wherein, MX and MY size derive from the true picture print resolution of printer, and it is a given value in the present invention.
Step 4: the long size PX=(LX-5*3MX)/4 that calculates special-shaped matrix two-dimensional barcode symbol;
Cooperation is consulted shown in Figure 2, and figure can know thus, is provided with 4 two-dimensional bar codes in the form 2 of the present invention; Have 5 slits so,, around two-dimensional bar code, need the blank (being 3MX) of at least 3 module size according to the national standard of two-dimensional bar code; So 1 slit needs 3MX, MX representes the long size of two-dimensional bar code module, and 5 slits are exactly 5*3MX; Deduct the length in these 5 slits with form total length L X, again divided by 4, the long size PX of the single two-dimensional bar code that obtains holding.
Step 5: the number of modules MC=PX/MX that calculates two dimensional bar code symbol rounds;
In this step; Module and number of modules are name word concepts that defines in the two-dimensional bar code standard, and matrix two-dimensional barcode is made up of a plurality of number of modules that number is equal anyhow, that is to say by the description of two-dimensional bar code standard and can learn that the module length of side multiply by the length of side that number of modules equals two-dimensional bar code; Broken through the definition of two-dimensional bar code standard in the present invention; Module definition in order not to be square, but is observed in the two-dimensional bar code standard laterally the vertically identical rule of number of modules, so this step is because the PX that the size restrictions of form obtains; Divided by the long size MX of module, just can obtain the number of modules MC that meets on the length direction.
Step 6: with the form upper left corner is initial point, calculates the initial Y coordinate DY=(LY-MC*MY)/2 that two dimensional bar code symbol is arranged;
Because MY is the wide size of module, number of modules MC multiply by vertical width that MY is single two-dimensional bar code; Deduct vertical width with the form width,, obtain each blank width up and down again divided by 2; With the upper left corner is the words of true origin; Also be the Y coordinate, because 4 two-dimensional bar codes are laterally side by side, so the Y coordinate is identical.
Step 7: the initial X coordinate D1X=3MX that calculates first two dimensional bar code symbol;
Can learn by above-mentioned, around two-dimensional bar code, need the blank of at least 3 module size, so 1 slit needs 3MX, therefore, the initial X coordinate D1X=3MX of two dimensional bar code symbol.
Step 8: the initial X coordinate that calculates all the other 3 special-shaped matrix two-dimensional barcode symbols: D2X=D1X+MX*MC+3MX, D3X=D2X+MX*MC+3MX, D4X=D3X+MX*MC+3MX,
Wherein, the origin coordinates of 4 special-shaped matrix two-dimensional barcode symbols to be arranged is respectively: (D1X, DY), (D2X; DY), (D3X, DY), (D4X; DY), this series origin is the form upper left corner of waiting to print special-shaped matrix two-dimensional barcode symbol, and origin is (0,0).
Lift an embodiment below and come above-mentioned steps of the present invention is described, see also shown in Figure 3:
Step 1 a: form 2 is set on a paper substrates 1, comprises 4 measure-alike, horizontal two-dimensional bar codes 3 side by side in this form 2;
Step 2: obtain the form length and width size LX and the LY of the special-shaped matrix two-dimensional barcode symbol of waiting to arrange, LX=80mm, LY=20mm;
Step 3: obtain the length and width size MX and the MY of special-shaped matrix two-dimensional barcode module, MX=0.42mm, MY=0.35mm; This numerical value derives from the true picture print resolution of printer, and in the present invention, it is a given value.
Step 3: calculate the long size PX=(LX-5*3MX)/4 of special-shaped matrix two-dimensional barcode symbol, PX=(80-15*0.42)/4=18.43mm;
Step 5: the number of modules MC=PX/MX that calculates special-shaped matrix two-dimensional barcode symbol rounds, MC=18.43/0.42=43;
Step 6: with the form upper left corner is initial point, calculates the initial Y coordinate DY=(LY-MC*MY)/2 that special-shaped matrix two-dimensional barcode symbol is arranged, DY=(20-43*0.35)/2=2.48mm;
Step 7: calculate the initial X coordinate D1X=3MX of first special-shaped matrix two-dimensional barcode symbol, D1X=3*0.42=1.26mm;
Step 8: the initial X coordinate that calculates all the other 3 special-shaped matrix two-dimensional barcode symbols: D2X=D1X+MX*MC+3MX=1.26+0.42*43+1.26=1.26+18.06+1.26=20.5 8mm; D3X=D2X+MX*MC+3MX=20.58+18.06+1.26=39.9mm, D4X=D3X+MX*MC+3MX=39.9+18.06+1.26=59.22mm;
Wherein, the origin coordinates of 4 special-shaped matrix two-dimensional barcode symbols to be arranged is respectively: (1.26,2.48), (20.58; 2.48), (39.9,2.48); (57.22,2.48), this series origin are the form upper left corner of waiting to print special-shaped matrix two-dimensional barcode symbol; Origin is (0,0), and the coordinate linear module is mm.
A preferred embodiment of the present invention, between said 4 two-dimensional bar codes more than or equal to 1mm.
Described form 2 has frame line, another preferred embodiment of the present invention, and the distance of arbitrary two-dimensional bar code and said frame line is more than or equal to 1mm.
A preferred embodiment of the present invention, described a plurality of two-dimensional bar codes 3 occupy on longitudinal direction in the middle of the form 2.
In sum; The invention provides the preferential special-shaped matrix two-dimensional barcode arrangement method of a kind of dislocation because top with below unnecessary blank has been arranged, to better spatial accommodation having been arranged with dislocation; Optimally solved at a long and narrow table area; Guarantee as far as possible that to printing dislocation two-dimensional bar code drops on the technical matters in the normal form, can print multiple part bills easily continuously, saved time and paper wood.
More than explanation is just illustrative for the purpose of the present invention, and nonrestrictive, those of ordinary skills understand; Under the situation of spirit that does not break away from following accompanying claims and limited and scope, can make many modifications, change; Or equivalence, but all will fall in protection scope of the present invention.

Claims (7)

  1. One kind the dislocation preferential special-shaped matrix two-dimensional barcode arrangement method, it is characterized in that it may further comprise the steps:
    Step 1 a: form is set on a paper substrates, comprises 4 measure-alike, horizontal two-dimensional bar codes side by side in this form;
    Step 2: obtain form length and width size LX and LY;
    Step 3: the length and width size MX and the MY that obtain the two-dimensional bar code module;
    Step 4: the long size PX=(LX-5*3MX)/4 that calculates two dimensional bar code symbol;
    Step 5: the number of modules MC=PX/MX that calculates two dimensional bar code symbol rounds;
    Step 6: with the form upper left corner is initial point, calculates the initial Y coordinate DY=(LY-MC*MY)/2 that two dimensional bar code symbol is arranged;
    Step 7: the initial X coordinate D1X=3MX that calculates first two dimensional bar code symbol;
    Step 8: the initial X coordinate that calculates all the other 3 special-shaped matrix two-dimensional barcode symbols: D2X=D1X+MX*MC+3MX, D3X=D2X+MX*MC+3MX, D4X=D3X+MX*MC+3MX, wherein; The origin coordinates of 4 special-shaped matrix two-dimensional barcode symbols to be arranged is respectively: (D1X, DY), (D2X, DY); (D3X, DY), (D4X, DY); This series origin is the form upper left corner of waiting to print special-shaped matrix two-dimensional barcode symbol, and origin is (0,0).
  2. 2. the preferential special-shaped matrix two-dimensional barcode arrangement method of dislocation according to claim 1 is characterized in that the long LX of described form is 80mm, and wide LY is 20mm.
  3. 3. the preferential special-shaped matrix two-dimensional barcode arrangement method of dislocation according to claim 2 is characterized in that the long size MX of described two-dimensional bar code module is 0.42mm, the wide 0.35mm that is of a size of.
  4. 4. according to claim 1 or the preferential special-shaped matrix two-dimensional barcode arrangement method of 3 described dislocation, it is characterized in that, between said 4 two-dimensional bar codes more than or equal to 1mm.
  5. 5. according to claim 1 or the preferential special-shaped matrix two-dimensional barcode arrangement method of 3 described dislocation, it is characterized in that described form has frame line, the distance of arbitrary two-dimensional bar code and said frame line is more than or equal to 1mm.
  6. 6. the preferential special-shaped matrix two-dimensional barcode arrangement method of dislocation according to claim 1 is characterized in that, said two-dimensional bar code is occuping on the longitudinal direction in the middle of the form.
  7. 7. the preferential special-shaped matrix two-dimensional barcode arrangement method of dislocation according to claim 3 is characterized in that, is initial point (0,0) with the said form upper left corner; The origin coordinates of 4 two dimensional bar code symbols can be made as: (1.26,2.48), (20.58; 2.48), (39.9,2.48); (57.22,2.48), coordinate linear module are mm.
CN201110147193.XA 2011-06-02 2011-06-02 Dislocation-priority special-shape matrix type two-dimensional barcode arrangement method Active CN102810150B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110147193.XA CN102810150B (en) 2011-06-02 2011-06-02 Dislocation-priority special-shape matrix type two-dimensional barcode arrangement method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110147193.XA CN102810150B (en) 2011-06-02 2011-06-02 Dislocation-priority special-shape matrix type two-dimensional barcode arrangement method

Publications (2)

Publication Number Publication Date
CN102810150A true CN102810150A (en) 2012-12-05
CN102810150B CN102810150B (en) 2015-04-08

Family

ID=47233854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110147193.XA Active CN102810150B (en) 2011-06-02 2011-06-02 Dislocation-priority special-shape matrix type two-dimensional barcode arrangement method

Country Status (1)

Country Link
CN (1) CN102810150B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733346A (en) * 2018-04-13 2018-11-02 云南黑软科技有限公司 Successively decrease cumulative aperture method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1336583A (en) * 2001-09-03 2002-02-20 吴建明 Matrix code printing and identifying method
CN1963838A (en) * 2006-11-07 2007-05-16 中国物品编码中心 Method for correcting distortion of two-dimension bar figure
US20100321708A1 (en) * 2006-10-20 2010-12-23 Stefan Lynggaard Printing of coding patterns

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1336583A (en) * 2001-09-03 2002-02-20 吴建明 Matrix code printing and identifying method
US20100321708A1 (en) * 2006-10-20 2010-12-23 Stefan Lynggaard Printing of coding patterns
CN1963838A (en) * 2006-11-07 2007-05-16 中国物品编码中心 Method for correcting distortion of two-dimension bar figure

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张玲等: "二维条码的码图结构设计中的若干问题", 《计算机与数字工程》, vol. 32, no. 2, 20 April 2004 (2004-04-20), pages 25 - 27 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108733346A (en) * 2018-04-13 2018-11-02 云南黑软科技有限公司 Successively decrease cumulative aperture method

Also Published As

Publication number Publication date
CN102810150B (en) 2015-04-08

Similar Documents

Publication Publication Date Title
EP3093797A1 (en) Reading and writing verification device for rfid medium, and reading and writing verification method for same
KR20100040826A (en) Graphical indicator
AU9461801A (en) Indexing system package and display system
CN103186519B (en) Two-way composition method and equipment
CN104802558A (en) Method for manufacturing anti-counterfeit labels
CN103885731A (en) Data printing method and device
EP1720118B1 (en) High-density two-dimensional graphic code, and coding system and decoding system based on said code
CN101996336A (en) Method and device for generating and decoding two-dimensional bar code
EP3937082B1 (en) Graphical indicator
CN102810150B (en) Dislocation-priority special-shape matrix type two-dimensional barcode arrangement method
CN100480894C (en) Printing method with small margin or no margin
CN102810151A (en) Capacity-priority special-shape matrix type two-dimensional barcode arrangement method
CN102378984A (en) System for recovering data from an unreadable tag
CN202257626U (en) Information recording device having largest capacity
CN202088672U (en) Dislocation priority information recording device
CN105109206B (en) A kind of printer that can print picture and text in open book basis
CN102810169B (en) Special-shaped two-dimensional matrix barcode construction method
EP2666127B1 (en) A bidimensional graphic matrix code
CN102810149B (en) Quick response matrix code position sensing figure and construction method thereof
CN202124229U (en) LCD (liquid crystal display) module packaging box
CN203332524U (en) Packing box based on double identification of DM codes and character type codes
JP7311831B2 (en) Information label
CN203164947U (en) On-line label printer sharing device
CN101599056B (en) Method for displaying typesetting of hypertext markup language document and browser
JP2016148782A (en) Management data label

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