CN102033861A - Method for editing tag template - Google Patents
Method for editing tag template Download PDFInfo
- Publication number
- CN102033861A CN102033861A CN2009101741734A CN200910174173A CN102033861A CN 102033861 A CN102033861 A CN 102033861A CN 2009101741734 A CN2009101741734 A CN 2009101741734A CN 200910174173 A CN200910174173 A CN 200910174173A CN 102033861 A CN102033861 A CN 102033861A
- Authority
- CN
- China
- Prior art keywords
- dynamic expansion
- zone
- tag template
- expansion zone
- fixed area
- 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
- Record Information Processing For Printing (AREA)
Abstract
The invention discloses a method for editing a tag template. The method comprises the following steps of: setting a region which can be edited by a user on the tag template, wherein the region which can be edited by the user comprises a page head fixed region, a page footer fixed region and one or more dynamic expansion regions; defining objects in the fixed regions and the dynamic expansion regions, wherein the fixed regions cannot be cyclically expanded and the objects in the fixed regions are single values, and the dynamic expansion regions can be dynamically expanded according to the amount of result sets of data sources bound by the objects in the dynamic expansion region; and binding data sources and search sentences which accord with service logic for the objects in the fixed regions and the dynamic expansion regions so as to execute the search sentences bound by the objects at first, and then perform drawing according to a search result when objects in different regions need to be drawn. In the method, the tag template can be visually edited by the user and can be dynamically expanded according to a print object defined by the user.
Description
Technical field
The present invention relates to a kind of edit methods of tag template, particularly relate to a kind of edit methods of visual tag template that can dynamic expansion.
Background technology
At present, in manufacturing industry factory, run into the situation of on production line, printing the label that this product customizing messages is arranged through regular meeting for the product stickup.The content of these labels often needs to decide according to some peculiar information of product, and the time regular meeting need increase the label of novel type.
Tag template of the prior art normally generates by Zebra printer (a kind of label machine commonly used) instruction, its shortcoming is: tag template is not easy to editor and safeguards, can not instant preview, and when the print data of dynamically importing into is long, the folding row can't be realized automatically, thereby print area may be exceeded.
Therefore, in order to solve above-mentioned the problems of the prior art, need provide a kind of edit methods of the visual tag template that can dynamically expand according to user-defined print object.
Summary of the invention
In order to solve existing problem in the above-mentioned prior art, the object of the present invention is to provide a kind of edit methods of tag template, it can carry out visual edit to tag template for the user, and can dynamically expand according to user-defined print object to tag template, and make the user when editor's tag template, can break away from printer instructions, thereby finish edit model work efficiently.
The edit methods of a kind of tag template provided by the present invention may further comprise the steps:
The zone that can supply the user to edit is set on a tag template, and described zone of editing for the user comprises a top margin fixed area, a footer fixed area and one or more dynamic expansion zone;
Object in fixed area and the dynamic expansion zone is defined, wherein fixed area can not cyclic extensions and object wherein be monodrome, the dynamic expansion zone can be according to wherein the result and the quantity of the data source of object binding are dynamically expanded; And
For the object binding data source in fixed area and the dynamic expansion zone and binding meet the retrieve statement of service logic, in the time of need drawing object in the zones of different with box lunch, carry out the retrieve statement with this object binding earlier, draw according to result for retrieval then.
Wherein, but above-mentioned dynamic expansion zone further comprises detail page head region and expanding element zone, but wherein the height in expanding element zone and columns can be set according to the label printing needs.In addition, the height in above-mentioned dynamic expansion zone can be set at level altitude or level altitude not, when the height setting in dynamic expansion zone is level altitude, when but expanding element zone dynamic expansion has exceeded described dynamic expansion zone, but be that the expanding element terrain feature edit that will expand arrives the same area of one page tag template down; When the height setting in dynamic expansion zone during for level altitude not, but the expanding element zone can expand at this page tag template always, finish until this page tag template, after the top margin fixed area of one page tag template down, continue to expand then.
The edit methods of the label template that the invention described above provided, it can carry out visual edit to tag template for the user, thereby and can dynamically expand the tag template that generation automatically can be satisfied the different patterns of the multiple printing demand of user according to the data source of user-defined print object and binding thereof to tag template, and can make the user when editor's tag template, can break away from printer instructions, thereby finish edit model work efficiently, help to improve the printing effect of product on production line label.
Description of drawings
Fig. 1 is the flow chart of steps of the edit methods of tag template of the present invention;
Fig. 2 is the structural representation by a tag template of generation that method of the present invention is edited;
Fig. 3 is the structural design drawing of the specific embodiment of a tag template of employing method editor's generation of the present invention;
Fig. 4 is the synoptic diagram of the label drawn out according to the structural design drawing of tag template shown in Figure 3.
Embodiment
Please refer to Fig. 1 and Fig. 2, Fig. 1 is the flow chart of steps of the edit methods of tag template of the present invention, Fig. 2 is the structural representation by a tag template of generation that method of the present invention is edited, as shown in Figures 1 and 2, the edit methods of a kind of tag template provided by the present invention may further comprise the steps:
The zone (step 101) that can supply the user to edit is set on a tag template, described zone of editing for the user comprises a top margin fixed area, a footer fixed area and one or more dynamic expansion zone, an embodiment as shown in Figure 2, the number in dynamic expansion zone can be two, that is: first dynamic expansion zone and the second dynamic expansion zone;
Object in above-mentioned each fixed area and each the dynamic expansion zone is defined (step 102), wherein fixed area can not cyclic extensions and object wherein be monodrome, and the dynamic expansion zone can dynamically be expanded according to the result set quantity of the data source of the binding of object wherein, the Data Source of above-mentioned object all is editable, these objects that can draw on tag template comprise editable text, straight line, rectangle frame, the localized area is (if be placed on this localized area with text, when text is long when surpassing the border, localized area folding row downwards, and other object in should the zone will correspondingly move down), bar code or picture, in addition, as shown in Figure 2, but the dynamic expansion zone can further comprise detail page head region and expanding element zone, wherein but the height in expanding element zone and columns can be set according to the label printing needs, for example: but the expanding element zone in the first dynamic expansion zone can be two row among Fig. 2, but the expanding element zone in the second dynamic expansion zone then can be row among the figure, in addition, the height in above-mentioned dynamic expansion zone can be set at level altitude or level altitude not, when the height setting in described dynamic expansion zone is level altitude, when but expanding element zone dynamic expansion has exceeded described dynamic expansion zone, but be that the expanding element terrain feature edit that will expand arrives the same area of one page tag template down; When the height setting in described dynamic expansion zone during for level altitude not, but the expanding element zone can expand at this page tag template always, finish until this page tag template, after the top margin fixed area of one page tag template down, continue to expand then; And
For also binding the retrieve statement (step 103) that meets service logic in the object binding data source in said fixing zone and the dynamic expansion zone, in the time of need drawing object in the zones of different with box lunch, carry out the retrieve statement of binding with this object earlier, draw according to result for retrieval then.Wherein, for the data source of described object binding can be database, the data source of above-mentioned text and bar code can be the result for retrieval that derives from database, the fixed character string of input in the time of also can being editor, or current date, or information such as the current page number.
Please refer to Fig. 3 and Fig. 4 below, Fig. 3 is the structural design drawing of the specific embodiment of a tag template adopting method editor of the present invention and generate, and Fig. 4 is the synoptic diagram of the label drawn out according to the structural design drawing of tag template shown in Figure 3.As shown in Figure 3, the fixed character string of input when the Data Source of the text object of oval mark is for editor in the structural design drawing of the specific embodiment of a tag template that adopts method editor of the present invention to generate, other object data source in top margin fixed area and the footer fixed area is database, the retrieve statement that needs during editor to meet service logic is tied to object, and the result of retrieval is the single file record.But the expanding element zone in dynamic expansion zone is provided with the structure of two row, and but the source of the bar code data in the expanding element zone in dynamic expansion zone is database, the retrieve statement that needs during editor to meet service logic is tied to object, and result for retrieval is wall scroll or many records.
As shown in Figure 4, the label of drawing out according to the structural design drawing of tag template shown in Figure 3 is a simple composite label, and it is fully corresponding to the structural design drawing of tag template shown in Figure 3.
The process of drawing out label shown in Figure 4 according to the structural design drawing of tag template shown in Figure 3 is as follows:
1, for the fixed character illustration and text juxtaposed setting basis of ellipse mark, directly draws according to the fixed character string.
2, drawing with the database is the object of data source, for example during the object in top margin fixed area and the footer fixed area, at first should carry out the retrieve statement of binding with it, draws according to the value of result for retrieval then.
But 3, for the bar code object in the expanding element zone in dynamic expansion zone, the execution result of Bang Ding database retrieval statement is three records with it, so, but three bar codes that the chaining search result will obtain are put into the expanding element zone (having more whens record can continue expansion downwards automatically) in dynamic expansion zone in regular turn according to the layouts of two row.
In sum, the edit methods of label template provided by the present invention, it can carry out visual edit to tag template for the user, thereby and can dynamically expand the tag template that generation automatically can be satisfied the different patterns of the multiple printing demand of user according to the data source of user-defined print object and binding thereof to tag template, and can make the user when editor's tag template, can break away from printer instructions, thereby finish edit model work efficiently, help to improve the printing effect of product on production line label.
Claims (5)
1. the edit methods of a tag template is characterized in that, said method comprising the steps of:
The zone of editing for the user is set on a tag template, and described zone of editing for the user comprises a top margin fixed area, a footer fixed area and one or more dynamic expansion zone;
Object in described fixed area and the described dynamic expansion zone is defined, wherein said fixed area can not cyclic extensions and object wherein be monodrome, described dynamic expansion zone is dynamically expanded according to the result set quantity of the data source of object binding wherein; And
For also binding the retrieve statement that meets service logic in the object binding data source in described fixed area and the described dynamic expansion zone, in the time of need drawing object in the zones of different with box lunch, carry out the retrieve statement of binding with this object earlier, draw according to result for retrieval then.
2. the method for claim 1 is characterized in that, but described dynamic expansion zone further comprises detail page head region and expanding element zone, but wherein the height in expanding element zone and columns can be set according to the label printing needs.
3. method as claimed in claim 2, it is characterized in that, the height setting in described dynamic expansion zone is level altitude or level altitude not, when the height setting in described dynamic expansion zone is level altitude, when but expanding element zone dynamic expansion has exceeded described dynamic expansion zone, but be that the expanding element terrain feature edit that will expand arrives the same area of one page tag template down; When the height setting in described dynamic expansion zone during for level altitude not, but the expanding element zone can expand at this page tag template always, finish until this page tag template, after the top margin fixed area of one page tag template down, continue to expand then.
4. the method for claim 1 is characterized in that, described object is editable text, straight line, rectangle frame, localized area, bar code or picture.
5. the method for claim 1 is characterized in that, the data source of binding for described object is a database.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101741734A CN102033861A (en) | 2009-09-30 | 2009-09-30 | Method for editing tag template |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101741734A CN102033861A (en) | 2009-09-30 | 2009-09-30 | Method for editing tag template |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102033861A true CN102033861A (en) | 2011-04-27 |
Family
ID=43886776
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009101741734A Pending CN102033861A (en) | 2009-09-30 | 2009-09-30 | Method for editing tag template |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102033861A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112874175A (en) * | 2019-11-29 | 2021-06-01 | 兄弟工业株式会社 | Editing apparatus |
CN113419659A (en) * | 2021-08-23 | 2021-09-21 | 深圳市信润富联数字科技有限公司 | Method, system, program product and storage medium for constructing label template |
CN114091637A (en) * | 2021-10-18 | 2022-02-25 | 上海马帮科技有限公司 | Label generation method and device, terminal equipment and readable storage medium |
-
2009
- 2009-09-30 CN CN2009101741734A patent/CN102033861A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112874175A (en) * | 2019-11-29 | 2021-06-01 | 兄弟工业株式会社 | Editing apparatus |
CN112874175B (en) * | 2019-11-29 | 2023-10-03 | 兄弟工业株式会社 | Editing apparatus |
US11954385B2 (en) | 2019-11-29 | 2024-04-09 | Brother Kogyo Kabushiki Kaisha | Editing device editing print data via display device for creating composite label with printing device |
CN113419659A (en) * | 2021-08-23 | 2021-09-21 | 深圳市信润富联数字科技有限公司 | Method, system, program product and storage medium for constructing label template |
CN114091637A (en) * | 2021-10-18 | 2022-02-25 | 上海马帮科技有限公司 | Label generation method and device, terminal equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5649216A (en) | Method and apparatus for automated layout of text and graphic elements | |
CN102779118B (en) | Paper typesetting method and system | |
CN101286120A (en) | Website page manufacture method and system | |
CN103020237B (en) | A kind of webpage update method and device | |
CN106844885B (en) | BIM technology-based drawing frame and drawing label design method | |
CN102830947A (en) | Report printing control implemented based on report printing template format | |
CN102141985A (en) | Online manuscript editor | |
CN102486871A (en) | Make-p method and apparatus thereof | |
CN101393517A (en) | Method and apparatus for implementing collocation based on XML and control | |
CN106339363A (en) | PPT report making method and device | |
CN102629204A (en) | Generating method and device for webpage source code | |
CN107832041A (en) | Thematic page animation method, apparatus, equipment and readable storage medium storing program for executing | |
US7716578B2 (en) | Display method, computer program product and computer system | |
AU660313B2 (en) | Method and apparatus for automated page layout of text and graphic elements | |
CN102033861A (en) | Method for editing tag template | |
Bagley et al. | Creating reusable well-structured PDF as a sequence of component object graphic (COG) elements | |
CN114296660A (en) | Label printing method based on Vue framework | |
CN102375889A (en) | Method for constructing webpage through webpage construction database | |
JPH06251007A (en) | Table data input device | |
JP5942663B2 (en) | Printing system and template editing method | |
JP2008052356A (en) | Source code automatic generation device | |
CN103176801A (en) | Method and device for generating table entry operation-interface function | |
JP4889338B2 (en) | Screen program layout changing method, information processing apparatus, program, and recording medium | |
CN102521424A (en) | Label manufacturing and printing system and method | |
CN115221840A (en) | PDM system-oriented business document structured dynamic form configuration method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110427 |