CN108875853A - The processing method and processing device of data label printing - Google Patents
The processing method and processing device of data label printing Download PDFInfo
- Publication number
- CN108875853A CN108875853A CN201710327275.XA CN201710327275A CN108875853A CN 108875853 A CN108875853 A CN 108875853A CN 201710327275 A CN201710327275 A CN 201710327275A CN 108875853 A CN108875853 A CN 108875853A
- Authority
- CN
- China
- Prior art keywords
- printed
- text
- text element
- operation template
- data label
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K15/00—Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
- G06K15/02—Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
- G06K15/18—Conditioning data for presenting it to the physical printing elements
- G06K15/1801—Input data handling means
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Record Information Processing For Printing (AREA)
- Document Processing Apparatus (AREA)
Abstract
The embodiment of the present invention provides a kind of processing method and processing device of data label printing.This method includes:Receive data label print request message;According to data label print request message, load preconfigured operation template, if it is determined that text element to be printed is not present in operation template, or there is no the matched data fields of output information with text element to be printed in database, then from operation template, target script description corresponding with the output information of text element to be printed is obtained;According to the description of target script and the output information of text element to be printed, in operation template, text element and data field corresponding with text element to be printed to be printed, or data field corresponding with text element to be printed are generated, to obtain data label;Data label is printed.The content of text and Show Styles for enriching data label, improve user experience.
Description
Technical field
The processing method and dress printed the present embodiments relate to printing technology more particularly to a kind of data label
It sets.
Background technique
Data label printing is the data-printing output process of big data quantity, is usually used in food, cigarette-brand, wine mark, pack etc.
In industry, require the space of a whole page content of data label and pattern that there is flexible changing capability in these industries, by flexibly becoming
Change ability provides the attractive space of a whole page abundant to data label.
As user is higher and higher to the space of a whole page content of data label and the requirement of pattern, editor of the user to data label
It is also higher and higher with the requirement of print software, on demand to the processing capacity of data label in editor and print procedure is continuous
It rises.
The space of a whole page content and pattern of data label provided by the editor of existing data label and print software can only be
Already present data and fixed pattern, are not able to satisfy user demand in database.
Summary of the invention
The embodiment of the present invention provides a kind of processing method and processing device of data label printing, is beaten with solving available data label
Not the problem of print software is not able to satisfy user demand.
The one aspect of the embodiment of the present invention is to provide a kind of processing method of data label printing, including:
Data label print request message is received, the data label print request message includes text element to be printed
Output information;
According to the data label print request message, preconfigured operation template is loaded, however, it is determined that the operation mould
There is no there is no the outputs with the text element to be printed in the text element or database to be printed in plate
The data field of information matches obtains the output information pair with the text element to be printed then from the operation template
The target script description answered;
According to target script description and the output information of the text element to be printed, in the operation template
In, generate the text element to be printed and data field corresponding with the text element to be printed, or with it is described
The corresponding data field of text element to be printed, to obtain the data label;
The data label is printed.
According to method as described above, optionally, further include:
If it is determined that there are the text elements to be printed in the operation template, and exist in the database with
The matched data field of output information of the text element to be printed, then by the output with the text element to be printed
The data field editor of information matches is into the operation template, to obtain the data label.
According to method as described above, optionally, the operation template includes:Text element, the text element are corresponding
Data field and script description;
Wherein, the script description includes following at least one:The script description of content of text, the script of text style are retouched
It states and is described with the script of text fragment pattern.
It is optionally, described to be described according to the target script according to method as described above, in the operation template,
Data field corresponding with the text element to be printed is generated, including:
It is described according to the target script, corresponding function is searched in local dynamic link library and realizes function;
The output information that function and the text element to be printed are realized according to the function, in the operation mould
Data field corresponding with the text element to be printed is generated in plate.
According to method as described above, optionally, further include:
By the text element to be printed, and the data field corresponding with the text element to be printed generated
It is stored in the operation template.
Another aspect of the present invention is to provide a kind of processing unit of data label printing, including:
Receiving module, label print request message for receiving data, the data label print request message include to
The output information of the text element of printing;
Loading module, for loading preconfigured operation template according to the data label print request message;
Processing module, for if it is determined that the text element or data to be printed are not present in the operation template
There is no the matched data fields of output information with the text element to be printed in library, then from the operation template,
Obtain target script description corresponding with the output information of the text element to be printed;
The processing module is also used to be described according to the target script and the output of the text element to be printed
Information generates the text element to be printed and corresponding with the text element to be printed in the operation template
Data field, or data field corresponding with the text element to be printed, to obtain the data label;
Print module, for being printed to the data label.
According to device as described above, optionally, the processing module is also used to:
If it is determined that there are the text elements to be printed in the operation template, and exist in the database with
The matched data field of output information of the text element to be printed, then by the output with the text element to be printed
The data field editor of information matches is into the operation template, to obtain the data label.
According to device as described above, optionally, the operation template includes:Text element, the text element are corresponding
Data field and script description;
Wherein, the script description includes following at least one:The script description of content of text, the script of text style are retouched
It states and is described with the script of text fragment pattern.
According to device as described above, optionally, the processing module is specifically used for:
It is described according to the target script, corresponding function is searched in local dynamic link library and realizes function;
The output information that function and the text element to be printed are realized according to the function, in the operation mould
Data field corresponding with the text element to be printed is generated in plate.
According to device as described above, optionally, the processing module is also used to:
By the text element to be printed, and the data field corresponding with the text element to be printed generated
It is stored in the operation template.
The processing method and processing device of data label printing according to the present invention, by according to the mesh obtained from operation template
Mark script description, in operation template, generate text element to be printed and with the matched data word of text element to be printed
Section, or with the matched data field of text element to be printed, print, realized not only to obtain data label
Information present in existing database can be shown in data label, additionally it is possible to which display is generated according to the information in database
New information be more able to satisfy the demand of user so that the content of text and Show Styles on the data label space of a whole page are rich and varied,
Improve user experience.
Detailed description of the invention
Fig. 1 is the flow diagram of the processing method for the data label printing that one embodiment of the invention provides;
Fig. 2 be another embodiment of the present invention provides data label printing processing method flow diagram;
Fig. 3 is the structural schematic diagram of the processing unit for the data label printing that one embodiment of the invention provides;
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention
Embodiment one
The present embodiment provides a kind of processing methods of data label printing, for generating data label to be printed.This reality
The executing subject for applying example is the processing unit of data label printing, which can be set in data label print software.
As shown in Figure 1, the flow diagram of the processing method printed for the data label that embodiment provides, this method packet
It includes:
Step 101, data label print request message is received, data label print request message includes text to be printed
The output information of element.
Specifically, data label printing refers to according to storing in preconfigured operation template and its corresponding database
The process of data generation data label.When the processing unit of data label printing receives data label print request message,
Then start the processing of progress data label printing.Wherein, data label print request message includes text element to be printed
Output information.Text element to be printed refers to the content of text for needing to be shown in data label, text element to be printed
It may include one or more, for example, including " ingredient in the data label of a food:White granulated sugar, glucose syrup, food
Additive ", wherein " ingredient:" it is a text element to be printed, specific ingredient " white granulated sugar, glucose syrup, food addition
Agent " is the text element " ingredient to be printed:" content of corresponding data field can in preconfigured operation template
Text element " ingredient to be printed can only be configured:", and its corresponding data field needs is obtained from database and edit to
In operation template.The output information of text element to be printed refers to that the text element to be printed of user preset is shown in data mark
Preset content and the preset style in label, including at least the content of text of text element, text style or text fragment pattern
One of.
Step 102, according to data label print request message, preconfigured operation template is loaded, however, it is determined that operation mould
There is no there is no match with the output information of text element to be printed in text element or database to be printed in plate
Data field obtain corresponding with the output information of text element to be printed target script then from operation template and describe.
After the processing unit of data label printing receives data label print request message, so that it may which load is pre-configured with
Operation template, however, it is determined that in operation template there is no text element to be printed (also indicate that also be not present in database and this
The matched data field of the output information of text element to be printed) or database in be not present and text element to be printed
The matched data field of output information of element (refers to and is configured with the text element to be printed in operation template, but in database
There is no with the matched data field of the output information of the text element to be printed), then from operation template, obtain with wait beat
The corresponding target script description of the output information of the text element of print, to generate text element to be printed in operation template
With data field corresponding with text element to be printed, or data field corresponding with text element to be printed.
Specifically, when the processing unit of data label printing receives data label print request message, then according to number
According to label print request message, preconfigured operation template is loaded, it may according to the needs of users in operation template
It is configured with part text element to be printed, " is matched for example, being configured with text element to be printed in operation template
Material:", " unit price:", " quantity:".But specific ingredient be what, unit price be how many, quantity is how many, i.e., text element to be printed
The corresponding data field of element, it is still necessary to from obtaining and edited into operation template in database.
If further including " total price in text element to be printed:", but there is no configuration " total prices in operation template:",
It is also not present and " total price in database:" the matched data field of output information (be there is no the value of total price i.e. in database
How much), therefore the value of total price can not be got from database, it just can not edit into operation template, then the data label is beaten
The processing unit of print can identify in operation template with the presence or absence of corresponding with the output information of the text element to be printed
The description of target script (it can be by the information for the identification made an appointment, the processing unit for printing the data label is being met
To the identification information when, just know where there is script descriptions, and to script description support can pass through data label
Print software load external script engine realizes, herein with no restrictions), and if it exists, the processing unit that data label prints
Target script description is then obtained from operation template, at this point, target script description includes at least the text to be printed
The script of the content of text of element describes, if user is to the text style or text in the output information of text element to be printed
Paragraph style is dissatisfied, and target script description can also include script description or the script of text fragment pattern of text style
Description, to generate new text style or text fragment pattern in operation template.It is to be appreciated that target script description can
Simultaneously to include that the script description of text style and the script of text fragment pattern describe.
Alternatively, if there are the text element " total prices to be printed in operation template:", but be not present and this in database
Text element " total price to be printed:" the matched data field of output information, for example, in database exist unit price be 3 yuan, number
The information that amount is 2, and the value of total price needs to be calculated according to unit price and quantity, at this point, the processing dress of data label printing
It sets and is also required to obtain the description of target script from operation template, the script that target script description includes at least content of text is retouched
It states, also may include that the script description of text style and the script of text fragment pattern describe.
Step 103, according to the description of target script and the output information of text element to be printed, in operation template,
Generate text element and data field corresponding with text element to be printed to be printed, or with text element to be printed
Corresponding data field, to obtain data label.
The processing unit of data label printing is after obtaining the description of target script in operation template, so that it may according to target
The output information of script description and text element to be printed, in operation template, generate text element to be printed and with
The corresponding data field of text element to be printed, or data field corresponding with text element to be printed is generated, with
Obtain data label.
Illustratively, without configuration " total price in operation template:", the processing unit of data label printing is from operation template
The description of target script is got, according to the output information of target script description and text element to be printed, so that it may
Text element " total price to be printed is generated in operation template:" and the text element " total price to be printed with this:" corresponding data
Field " 6 yuan ", then just generate in operation template and be shown as " total price:6 yuan " content of text, and the text of text content
Pattern or text fragment pattern or text style and text fragment pattern can be the output information of text element to be printed
In text style or text fragment pattern or text style and text fragment pattern, if including in the description of target script
The script description of text style and the script of text fragment pattern describe, then the text style of text content and text fragment sample
Formula is the new text style and text fragment pattern generated according to the description of target script.Therefore, situation about being determined in database
Under, information present in database can be not only shown in data label, can also be shown in database according to user demand
The new information being not present, it is only necessary to it is described when being pre-configured with operation template according to the upper corresponding script of user demand configuration,
It can be shown according to the demand of user according to database in data label in the treatment process of data label printing
The new information for thering is information to generate, for example, wherein " 6 yuan " are to be described by target script to unit price sum number present in database
Amount carries out product and is calculated and generates in operation template.
If being configured with " total price in operation template:" but be not present and " total price in database:" output information
The data field matched, then the target script description in same available operation template, target script description at this time can be only
For being generated and " total price in operation template:" matched data field " 6 yuan ", detailed process is similar to above, herein no longer
Repeat, the target script description also may include text style script description and text fragment pattern script describe so that
Content of text " total price:6 yuan " text style and text fragment pattern be according to target script description generate new text sample
Formula and text fragment pattern.
In operation template, text element and data field corresponding with text element to be printed to be printed are generated,
Or after data field corresponding with text element to be printed, which just handles and completes.
It should be noted that other text elements to be printed may be also configured in operation template, such as above-mentioned " single
Valence:" and " quantity:" etc., there is the matched data field of output information with these text elements to be printed, example in database
If unit price is 3 yuan, quantity is 2, then in the treatment process of data label printing, it is also necessary to being waited for dozen in database with these
The output information editor of the corresponding data field of the output information of the text element of print and these text elements to be printed extremely makees
In industry template, generation is shown as " unit price:3 yuan ", " quantity:2 " content of text, at this point, the Show Styles of text content
For the Show Styles in the output information of text element to be printed, it is possible to understand that, if user needs to these content of text
New Show Styles is set, can also configure in operation template and be described with the script of these text elements to be printed, with root
Rich and varied content of text and Show Styles is presented in data label according to user demand, wherein the Show Styles includes text
This pattern and text fragment pattern.
Step 104, data label is printed.
After the processing unit of data label printing completes the processing of data label, then the data label can be beaten
Print processing.
The processing method of data label printing provided in this embodiment, by according to the target foot obtained from operation template
This description, in operation template, generate text element to be printed and with the matched data field of text element to be printed, or
Person and the matched data field of text element to be printed, print, realizing can not only to obtain data label
Information present in existing database is shown in data label, additionally it is possible to which display generates new according to the information in database
Information be more able to satisfy the demand of user so that the content of text and Show Styles on the data label space of a whole page are rich and varied, improve
User experience.
Embodiment two
The present embodiment does further supplementary explanation to the processing method for the data label printing that embodiment one provides.
As shown in Fig. 2, the flow diagram of the processing method printed for the data label that embodiment provides, this method packet
It includes:
Step 201, data label print request message is received, data label print request message includes text to be printed
The output information of element.
The concrete operations of the step and step 101 are consistent, and details are not described herein.
Step 202, according to data label print request message, preconfigured operation template is loaded.
Step 203, determine in operation template with the presence or absence of in text element or database to be printed with the presence or absence of with
The matched data field of the output information of text element to be printed.If it is determined that text element to be printed is not present in operation template
There is no the matched data field of output information with text element to be printed in element or database, then 204 are gone to step,
If it is determined that there are text elements to be printed in operation template, and exist in the database defeated with text element to be printed
The data field of information matches out, then go to step 206.
If it is determined that there is no be not present and text to be printed in text element or database to be printed in operation template
The concrete operations of the matched data field of the output information of this element and step 102 are consistent, and details are not described herein.
If it is determined that there are text elements to be printed in operation template, and exist and text to be printed in the database
The matched data field of the output information of element, such as there is " unit price in operation template:" and " quantity:", in the database
In the presence of unit price be " 3 yuan " and quantity is " 2 ", then is not required to obtain the description of target script again, but executes step 206.
It is to be appreciated that above-mentioned two situations can exist simultaneously, i.e., text element to be printed include it is multiple, such as include
Meet in above-mentioned operation template that there are text elements to be printed, and exists in the database and text element to be printed
The matched data field situation of output information " unit price:" and " quantity:", it further include meeting in above-mentioned operation template not deposit
There is no the matched data words of output information with text element to be printed in text element or database to be printed
" total price " of section situation, then the processing operation of subsequent two kinds of situations is both needed to execute, and generates complete data label jointly.
Step 204, however, it is determined that in operation template there is no in text element or database to be printed there is no with to
The matched data field of the output information of the text element of printing obtains and text element to be printed from operation template
The corresponding target script description of output information.
The concrete operations of the step and step 102 are consistent, and details are not described herein.
Step 205, according to the description of target script and the output information of text element to be printed, in operation template,
Generate text element to be printed and with the matched data field of text element to be printed, or with text element to be printed
Matched data field goes to step 207 to obtain data label.
The concrete operations of the step and step 103 are consistent, and details are not described herein.
Step 206, however, it is determined that there are text elements to be printed in operation template, and in the database exist with wait beat
The matched data field of the output information of the text element of print, by with the matched data of the output information of text element to be printed
Field editing, to obtain data label, goes to step 207 into operation template.
Illustratively, there is " unit price in operation template:" and " quantity:", in the database exist unit price be " 3 yuan " and
Quantity is " 2 ", then will be in database and " monovalent:" the matched data field of output information " 3 yuan " and with " quantity:"
The matched data field of output information " 2 " editors are into operation template, then display text content is " single in operation template
Valence:3 yuan " and " quantity:2 ", the text style and text fragment pattern of text content are the defeated of text element to be printed
Text style in information and text fragment pattern out.
Optionally, it can also be described according to user demand configured with target script in operation template, target script description
One of the script description of text style and the script description of text fragment pattern can be included at least, in operation template
In be that above-mentioned content of text generates new text style or text fragment pattern.
It should be noted that step 204 and step 206 be not successively suitable in the presence of two kinds of situations in step 203 are equal
Sequence can first carry out step 204 and 205, then execute step 206, can also first carry out step 206, then execute step again
204、205。
Step 207, by text element to be printed, and the data field corresponding with text element to be printed generated
It is stored in operation template.
For the ease of printing the data label again later, can by text element to be printed, and generate with to
The corresponding data field of the text element of printing is stored in operation template.
Illustratively, text element " total price to be printed is generated in operation template:", then it can should " total price:"
It is stored in operation template, when to reuse the operation template later, it is not necessary to which generating in operation template again should be wait beat
The text element of print.
Step 208, data label is printed.
The concrete operations of the step and step 104 are consistent, and details are not described herein.
It should be noted that step 207 and step 208 do not have sequencing, can both be printed to data label
Before processing, by text element to be printed, and the data field corresponding with text element to be printed generated is stored in work
In industry template, can also after being printed to data label, by text element to be printed, and generate with wait beat
The corresponding data field of the text element of print is stored in operation template.
Optionally, operation template may include that text element, the corresponding data field of text element and script are retouched
It states.Wherein, script description includes following at least one:The script description of content of text, the script description of text style and text
The script of paragraph style describes.
The script description of content of text may include the to be printed of generation for generating content of text in operation template
The content of text element and content with the matched data field of text element to be printed, such as without carrying out pattern processing
" total price:6 yuan ";The script of text style describes the text style for generating above-mentioned content of text in operation template, can
To include font, overstriking, font color etc., for example, " total price " two word overstriking, setting font as the Song typeface;Text fragment sample
The script of formula describes the text fragment pattern for generating above-mentioned content of text in operation template, and may include after section leading portion is
Whether no null, paragraph are retracted, for example, " unit price:3 yuan " it is one section, " quantity:2 " it is one section, " total price:6 yuan " recurrence one
Section, section spacing is empty 1 row etc. between three sections.
Further, it is described according to target script, in operation template, generates number corresponding with text element to be printed
According to field, including:
It is described according to target script, corresponding function is searched in local dynamic link library and realizes function;
The output information that function and text element to be printed are realized according to function, generated in operation template with to
The corresponding data field of the text element of printing.
Illustratively, the script of the content of text in the description of target script is described for generating " total price:" and its it is corresponding
Data field " 6 yuan " then searches corresponding function according to the description of target script in local dynamic link library and realizes function, the function
Being able to achieve function can be realized calling monovalent " 3 yuan " and quantity " 2 " from database, and carry out product calculation to it, then
The result of calculating is subjected to processing generation " total price:6 yuan " it is back to the corresponding position of operation template.
Wherein, local dynamic link library is that the external scripts engine connecting with data label print software collects operation template
In script describe and handled and generated, the script engine can be script engine in the prior art, specifically herein
With no restrictions.
The processing method of data label printing provided in this embodiment, by according to the target foot obtained from operation template
This description, in operation template, generate text element to be printed and with the matched data field of text element to be printed, or
Person and the matched data field of text element to be printed, print to obtain data label, or by will with to
The matched data field editor of the output information of the text element of printing, to obtain data label, realizes into operation template
Information present in existing database can not only be shown in data label, additionally it is possible to which display is according to the information in database
The new information generated is more able to satisfy user's so that the content of text and Show Styles on the data label space of a whole page are rich and varied
Demand improves user experience, in addition, by will be and generating with text element to be printed by text element to be printed
The corresponding data field of element is stored in operation template, is printed the data label again for user and is provided convenience.
Embodiment three
The present embodiment provides a kind of processing unit of data label printing, the data label for executing above-described embodiment is beaten
The processing method of print.
As shown in figure 3, the structural schematic diagram of the processing unit for data label provided in this embodiment printing.The present embodiment
Data label printing processing unit 30 include receiving module 31, loading module 32, processing module 33 and print module 34.
Wherein, label print request message, data label print request message include receiving module 31 for receiving data
The output information of text element to be printed;The data label printing that loading module 32 is used to be received according to receiving module 31 is asked
Message is sought, preconfigured operation template is loaded;Processing module 33 is used for if it is determined that text to be printed is not present in operation template
There is no the matched data fields of output information with text element to be printed in this element or database, then from operation
In template, target script description corresponding with the output information of text element to be printed is obtained;According to target script describe with
And the output information of text element to be printed, in operation template, generate text element to be printed and with text to be printed
The corresponding data field of this element, or data field corresponding with text element to be printed, to obtain data label;Printing
The data label that module 34 is used to obtain processing module 33 prints.
Device in this present embodiment is closed, wherein modules execute the concrete mode of operation in related this method
It is described in detail in embodiment, no detailed explanation will be given here.
According to the processing unit 30 that the data label of the present embodiment prints, by according to the target obtained from operation template
Script description, in operation template, generate text element to be printed and with the matched data field of text element to be printed,
Or with the matched data field of text element to be printed, printed to obtain data label, realizing can not only
It is enough that information present in existing database is shown in data label, additionally it is possible to which that display is generated according to the information in database
New information is more able to satisfy the demand of user, mentions so that the content of text and Show Styles on the data label space of a whole page are rich and varied
High user experience.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit
Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention
The part steps of embodiment the method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various
It can store the medium of program code.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module
Division progress for example, in practical application, can according to need and above-mentioned function distribution is complete by different functional modules
At the internal structure of device being divided into different functional modules, to complete all or part of the functions described above.On
The specific work process for stating the device of description, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Present invention has been described in detail with reference to the aforementioned embodiments for pipe, those skilled in the art should understand that:Its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (10)
1. a kind of processing method of data label printing, which is characterized in that including:
Data label print request message is received, the data label print request message includes the defeated of text element to be printed
Information out;
According to the data label print request message, preconfigured operation template is loaded, however, it is determined that in the operation template
There is no there is no the output informations with the text element to be printed in the text element or database to be printed
Matched data field obtains corresponding with the output information of the text element to be printed then from the operation template
The description of target script;
According to target script description and the output information of the text element to be printed, in the operation template,
The text element to be printed and data field corresponding with the text element to be printed are generated, or with described wait beat
The corresponding data field of the text element of print, to obtain the data label;
The data label is printed.
2. the method according to claim 1, wherein further including:
If it is determined that there are the text elements to be printed in the operation template, and exist in the database with it is described
The matched data field of the output information of text element to be printed, then by the output information with the text element to be printed
Matched data field editor is into the operation template, to obtain the data label.
3. method according to claim 1 or 2, which is characterized in that the operation template includes:Text element, the text
The corresponding data field of this element and script description;
Wherein, the script description includes following at least one:Content of text script description, text style script description and
The script of text fragment pattern describes.
4. the method according to claim 1, wherein described describe according to the target script, in the operation
In template, data field corresponding with the text element to be printed is generated, including:
It is described according to the target script, corresponding function is searched in local dynamic link library and realizes function;
The output information that function and the text element to be printed are realized according to the function, in the operation template
Generate data field corresponding with the text element to be printed.
5. the method according to claim 1, wherein further including:
By the text element to be printed, and the data field corresponding with the text element to be printed generated saves
In the operation template.
6. a kind of processing unit of data label printing, which is characterized in that including:
Receiving module, label print request message for receiving data, the data label print request message includes to be printed
Text element output information;
Loading module, for loading preconfigured operation template according to the data label print request message;
Processing module, for if it is determined that there is no in the text element or database to be printed in the operation template
There is no the matched data fields of output information with the text element to be printed, then from the operation template, obtain
Target script description corresponding with the output information of the text element to be printed;
The processing module is also used to be described according to the target script and the output information of the text element to be printed,
In the operation template, the text element to be printed and data word corresponding with the text element to be printed are generated
Section, or data field corresponding with the text element to be printed, to obtain the data label;
Print module, for being printed to the data label.
7. device according to claim 6, which is characterized in that the processing module is also used to:
If it is determined that there are the text elements to be printed in the operation template, and exist in the database with it is described
The matched data field of the output information of text element to be printed, then by the output information with the text element to be printed
Matched data field editor is into the operation template, to obtain the data label.
8. device according to claim 6 or 7, which is characterized in that the operation template includes:Text element, the text
The corresponding data field of this element and script description;
Wherein, the script description includes following at least one:Content of text script description, text style script description and
The script of text fragment pattern describes.
9. device according to claim 6, which is characterized in that the processing module is specifically used for:
It is described according to the target script, corresponding function is searched in local dynamic link library and realizes function;
The output information that function and the text element to be printed are realized according to the function, in the operation template
Generate data field corresponding with the text element to be printed.
10. device according to claim 6, which is characterized in that the processing module is also used to:
By the text element to be printed, and the data field corresponding with the text element to be printed generated saves
In the operation template.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710327275.XA CN108875853A (en) | 2017-05-10 | 2017-05-10 | The processing method and processing device of data label printing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710327275.XA CN108875853A (en) | 2017-05-10 | 2017-05-10 | The processing method and processing device of data label printing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108875853A true CN108875853A (en) | 2018-11-23 |
Family
ID=64319336
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710327275.XA Pending CN108875853A (en) | 2017-05-10 | 2017-05-10 | The processing method and processing device of data label printing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108875853A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110197520A (en) * | 2019-04-25 | 2019-09-03 | 珠海格力电器股份有限公司 | Label generation method and device, terminal equipment and computer readable storage medium |
CN111142815A (en) * | 2019-12-26 | 2020-05-12 | 杭州涂鸦信息技术有限公司 | Label printing system based on B/S |
CN111367478A (en) * | 2018-12-26 | 2020-07-03 | 重庆首厚智能科技研究院有限公司 | Data interaction printing system for laboratory instrument and printing method thereof |
CN112214184A (en) * | 2020-10-16 | 2021-01-12 | 平安国际智慧城市科技股份有限公司 | User-defined printing method and device, computer equipment and medium |
CN114356252A (en) * | 2021-12-27 | 2022-04-15 | 金蝶软件(中国)有限公司 | Dynamic field printing method, system and related device |
CN117032602A (en) * | 2023-10-10 | 2023-11-10 | 海通安恒科技股份有限公司 | Printing method and system for rapidly realizing label field mapping and label rule configuration |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102789372A (en) * | 2011-05-16 | 2012-11-21 | 腾讯科技(深圳)有限公司 | Printing method and device |
CN103955345A (en) * | 2014-04-23 | 2014-07-30 | 中国工商银行股份有限公司 | Data printing method and system |
US20150019955A1 (en) * | 2013-02-05 | 2015-01-15 | Tencent Technology (Shenzhen) Company Limited | Method and system for displaying literal contents, mobile terminal, cloud typesetting server, and storage medium |
-
2017
- 2017-05-10 CN CN201710327275.XA patent/CN108875853A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102789372A (en) * | 2011-05-16 | 2012-11-21 | 腾讯科技(深圳)有限公司 | Printing method and device |
US20150019955A1 (en) * | 2013-02-05 | 2015-01-15 | Tencent Technology (Shenzhen) Company Limited | Method and system for displaying literal contents, mobile terminal, cloud typesetting server, and storage medium |
CN103955345A (en) * | 2014-04-23 | 2014-07-30 | 中国工商银行股份有限公司 | Data printing method and system |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111367478A (en) * | 2018-12-26 | 2020-07-03 | 重庆首厚智能科技研究院有限公司 | Data interaction printing system for laboratory instrument and printing method thereof |
CN110197520A (en) * | 2019-04-25 | 2019-09-03 | 珠海格力电器股份有限公司 | Label generation method and device, terminal equipment and computer readable storage medium |
CN111142815A (en) * | 2019-12-26 | 2020-05-12 | 杭州涂鸦信息技术有限公司 | Label printing system based on B/S |
CN111142815B (en) * | 2019-12-26 | 2023-07-14 | 杭州涂鸦信息技术有限公司 | B/S-based label printing system |
CN112214184A (en) * | 2020-10-16 | 2021-01-12 | 平安国际智慧城市科技股份有限公司 | User-defined printing method and device, computer equipment and medium |
CN112214184B (en) * | 2020-10-16 | 2023-11-24 | 深圳赛安特技术服务有限公司 | Custom printing method, device, computer equipment and medium |
CN114356252A (en) * | 2021-12-27 | 2022-04-15 | 金蝶软件(中国)有限公司 | Dynamic field printing method, system and related device |
CN114356252B (en) * | 2021-12-27 | 2024-03-19 | 金蝶软件(中国)有限公司 | Dynamic field printing method, system and related device |
CN117032602A (en) * | 2023-10-10 | 2023-11-10 | 海通安恒科技股份有限公司 | Printing method and system for rapidly realizing label field mapping and label rule configuration |
CN117032602B (en) * | 2023-10-10 | 2024-01-26 | 海通安恒科技股份有限公司 | Printing method and system for rapidly realizing label field mapping and label rule configuration |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108875853A (en) | The processing method and processing device of data label printing | |
CN107229656A (en) | Full dose data export method, apparatus and system | |
CN110647611A (en) | Element attribute labeling method and device based on ArcGIS platform, electronic equipment and computer readable storage medium | |
CN111290996A (en) | Document format conversion method, device, equipment and readable storage medium | |
CN109800078B (en) | Task processing method, task distribution terminal and task execution terminal | |
CN109582401B (en) | Promotion picture generation method and device, storage medium and computer equipment | |
CN113656487A (en) | Object data display method and object data display device in information system | |
CN113553838A (en) | Commodity file generation method and device | |
CN108319435A (en) | Method of printing, device and the electronic equipment of bill | |
CN106528505B (en) | The conversion method and device of date format | |
CN111488731A (en) | File generation method and device, computer equipment and storage medium | |
CN116110065A (en) | Method, device, computer equipment and storage medium for generating question card data | |
CN111208957A (en) | Payroll printing method | |
CN115269730A (en) | Wide table synchronization method and device | |
CN113221507B (en) | Document editing operation synchronization method, computing device and storage medium | |
CN111539757B (en) | Information delivery method, device, server and storage medium | |
CN106970780A (en) | A kind of data interactive method and device | |
CN112257000A (en) | Picture generation method and device, computer equipment and storage medium | |
CN108268252A (en) | The method and apparatus for adding component property | |
CN112100994A (en) | Excel-based report display method and device | |
CN101963892A (en) | Method and device for printing table data | |
CN107888400A (en) | A kind of data capture method, device and terminal device | |
CN111078337A (en) | Pattern adjusting method, system and computer readable storage medium | |
CN112840320A (en) | Method and device for resource platform to share resources exclusively and electronic equipment | |
CN111688605A (en) | Character batch graph cutting method applied to automobile instrument and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181123 |