CN106406783B - Label printing method and label print plug-in unit - Google Patents
Label printing method and label print plug-in unit Download PDFInfo
- Publication number
- CN106406783B CN106406783B CN201611078891.8A CN201611078891A CN106406783B CN 106406783 B CN106406783 B CN 106406783B CN 201611078891 A CN201611078891 A CN 201611078891A CN 106406783 B CN106406783 B CN 106406783B
- Authority
- CN
- China
- Prior art keywords
- row
- printed
- information
- content
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1203—Improving or facilitating administration, e.g. print management
- G06F3/1204—Improving or facilitating administration, e.g. print management resulting in reduced user or operator actions, e.g. presetting, automatic actions, using hardware token storing data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1253—Configuration of print job parameters, e.g. using UI at the client
- G06F3/1257—Configuration of print job parameters, e.g. using UI at the client by using pre-stored settings, e.g. job templates, presets, print styles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1285—Remote printer device, e.g. being remote from client or server
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Record Information Processing For Printing (AREA)
Abstract
The embodiment of the invention provides a kind of label printing methods and label to print plug-in unit, after the layout information of each row of label is arranged in user's first passage computer, the layout information of each row can be stored in a manner of layout file, when user needs print label again, only need from pre-stored each layout file, determine target print formatted file, then each row content information to be printed accordingly is obtained again, the embodiment of the present application can obtain each corresponding layout information of row in label to be printed from target print formatted file, and corresponding content information to be printed is configured according to the corresponding layout information of each row, generate data to be printed;Data to be printed are sent to label machine, label machine can treat print data and be printed, and the layout information that user inputs each row be required so as to avoid each print label, so that label print procedure time longer situation.
Description
Technical field
This application involves field of communication technology, a kind of label printing method and label printing plug-in unit are more particularly related to.
Background technique
Currently, there is label in many commodity or packaging, pattern symbol can be had on label, graph curve, is such as made
With the explanatory note etc. of explanation or warning etc.Label machine print label can be used.
Label machine needs to be connected with computer during print label, and needs user in computer to label
Layout information be configured, layout information includes: the information such as font, text height;Label machine receives
After layout information and text or image content to be printed, the label for meeting user's requirement is printed.
When printing has the label of identical layout information again, user needs again in computer to layout
Information is configured, so that the label print procedure time is longer, label printing effect is lower.
Summary of the invention
In view of this, the present invention provides a kind of label printing methods and label to print plug-in unit, to overcome in the prior art
When printing has the label of identical layout information again, user needs again to carry out layout information in computer
Setting, so that the problem that the label print procedure time is longer and label printing effect is lower.
To achieve the above object, the invention provides the following technical scheme:
A kind of label printing method, comprising:
From pre-stored each layout file, target print formatted file is determined;
Each corresponding layout information of row in label to be printed is obtained from the target print formatted file;
Obtain each row content information to be printed accordingly;
Corresponding content information to be printed is configured according to the corresponding layout information of each row, generates number to be printed
According to;
The data to be printed are sent to label machine.
Wherein, the layout information includes the heading message and the corresponding value of the heading message of corresponding line, institute
Stating value includes content identification to be printed, and content information to be printed includes: each row of acquisition accordingly
Receive the corresponding content information of each heading message;
By the corresponding content information of each heading message, the content identification to be printed in the value of corresponding heading message is replaced, is obtained
Obtain each heading message content information to be printed accordingly;
According to the corresponding heading message of each row and each heading message content information to be printed accordingly, each row phase is determined
The content information to be printed answered.
Wherein, the method that layout file is stored in advance includes:
Receive the layout information of user's input;
Layout file is generated according to the layout information, and stores the layout file.
Wherein, the layout information for receiving user's input includes:
Determine the value of each row content to be printed accordingly, described value includes the content identification to be printed of corresponding line;
Determine each row corresponding heading message of content to be printed accordingly;
Determine the relative position information of each row with corresponding previous row;
Determine the format information of each row content to be printed accordingly.
Wherein, content information to be printed includes: each row of acquisition accordingly
Target user interface is generated according to the target print formatted file, the target user interface displaying has to be printed
Each corresponding layout information of row and each row content input area to be printed accordingly in label;
Receive the content information to be printed that user inputs in each row accordingly content input area to be printed.
Preferably, further includes:
Receive the instruction being updated to the corresponding layout information of each row;
According to each row updated layout information accordingly, the target print formatted file is updated.
A kind of label printing plug-in unit, comprising:
Target print formatted file module is determined, for determining that target is beaten from pre-stored each layout file
Print formatted file;
Layout information module is obtained, for obtaining each row in label to be printed from the target print formatted file
Corresponding layout information;
Content information module is obtained, for obtaining each row content information to be printed accordingly;
Generation module, for being set according to the corresponding layout information of each row to corresponding content information to be printed
It sets, generates data to be printed;
Sending module, for the data to be printed to be sent to label machine.
Wherein, the layout information includes the heading message and the corresponding value of the heading message of corresponding line, institute
Stating value includes content identification to be printed, and the acquisition content information module includes:
Reception content information unit, for receiving the corresponding content information of each heading message;
Content information unit is obtained, for replacing the value of corresponding heading message for the corresponding content information of each heading message
In content identification to be printed, obtain each heading message content information to be printed accordingly;
Content information unit is determined, for be printed accordingly according to the corresponding heading message of each row and each heading message
Content information determines each row content information to be printed accordingly.
Preferably, further includes:
Format information module is received, for receiving the layout information of user's input;
Memory module for generating layout file according to the layout information, and stores the layout
File.
Wherein, the reception format information module includes:
First determination unit, for determining the value of each row content to be printed accordingly, described value includes corresponding line wait beat
Print content identification;
Second determination unit, for determining each row corresponding heading message of content to be printed accordingly;
Third determination unit, for determining the relative position information of each row with corresponding previous row;
4th determination unit, for determining the format information of each row content to be printed accordingly.
It can be seen via above technical scheme that compared with prior art, the embodiment of the invention provides a kind of printings of label
In method, after the layout information of each row of label is arranged in user's first passage computer, the layout information of each row can be to beat
The mode of print formatted file is stored, when user needs print label again, it is only necessary to from pre-stored each layout
In file, target print formatted file being determined, then obtaining each row content information to be printed accordingly again, the application is implemented
Regular meeting obtains each corresponding layout information of row in label to be printed from the target print formatted file, and according to each row
Corresponding layout information is configured corresponding content information to be printed, generates data to be printed;It will be described to be printed
Data are sent to label machine, and label machine can treat print data and be printed, so as to avoid each printing mark
Label require the layout information that user inputs each row, so that label print procedure time longer situation.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow diagram of label printing method provided by the embodiments of the present application;
Fig. 2 is to obtain each row content information to be printed accordingly in a kind of label printing method provided by the embodiments of the present application
A kind of implementation method flow schematic diagram;
Fig. 3 is a kind of schematic diagram of target user interface provided by the embodiments of the present application;
Fig. 4 is the schematic diagram of label corresponding with Fig. 3 provided by the embodiments of the present application;
Fig. 5 is to obtain each row content information to be printed accordingly in a kind of label printing method provided by the embodiments of the present application
Another implementation method flow schematic diagram;
Fig. 6 is a kind of set interface signal that the corresponding layout information of each row is arranged provided by the embodiments of the present application
Figure;
Fig. 7 is the layout information that user's input is received in a kind of label printing method provided by the embodiments of the present application
A kind of method flow schematic diagram of implementation;
Fig. 8 is the structural schematic diagram that a kind of label provided by the embodiments of the present application prints plug-in unit.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, being a kind of flow diagram of label printing method provided by the embodiments of the present application, this method packet
It includes:
Step S101: from pre-stored each layout file, target print formatted file is determined.
The corresponding layout file of the label of different-format is different, and it is literary that a kind of label of format correspond to a kind of layout
Part.
Pre-stored each layout file can be the universal general layout letter of pre-set some labels
Corresponding layout file is ceased, is also possible to user and is being arranged in label after each corresponding layout information of row for the first time, it is raw
At layout file.Specific steps include: to receive the layout information of user's input;According to the layout information
Layout file is generated, and stores the layout file.
Step S102: each corresponding layout letter of row in label to be printed is obtained from the target print formatted file
Breath.
Step S103: each row content information to be printed accordingly is obtained.
Layout information may include the heading message of corresponding line, and optionally, step S103 includes: to receive each title letter
Cease corresponding content information to be printed;According to the corresponding heading message of each row and each heading message, content to be printed is believed accordingly
Breath, determines each row content information to be printed accordingly.
Step S104: being configured corresponding content information to be printed according to the corresponding layout information of each row, raw
At data to be printed.
Step S105: the data to be printed are sent to label machine.
In label printing method provided by the embodiments of the present application, the printing lattice of each row of label are arranged in user's first passage computer
After formula information, the layout information of each row can be stored in a manner of layout file, when user needs print label again
When, it is only necessary to it from pre-stored each layout file, determines target print formatted file, it is corresponding then to obtain each row again
Content information to be printed, the embodiment of the present application can obtain in label to be printed each from the target print formatted file
The corresponding layout information of row, and corresponding content information to be printed is set according to the corresponding layout information of each row
It sets, generates data to be printed;The data to be printed are sent to label machine, label machine can treat print data
It is printed, requires the layout information that user inputs each row so as to avoid each print label, so that label prints
The longer situation of process time.
Referring to Fig. 2, to be printed accordingly to obtain each row in a kind of label printing method provided by the embodiments of the present application
A kind of method flow schematic diagram of implementation of content information, this method comprises:
Step S201: target user interface, the target user interface exhibition are generated according to the target print formatted file
It is shown in label to be printed each corresponding layout information of row and each row content input area to be printed accordingly.
As shown in figure 3, being a kind of schematic diagram of target user interface provided by the embodiments of the present application.The embodiment of the present application mentions
For but be not limited to target user interface shown in Fig. 3.
Target user interface shown in Fig. 3 includes curriculum offering region 30, and curriculum offering region 30 includes nine fields, point
Not are as follows: heading message 31, data type 32, X offset 33, Y offset 34, height 35, width 36, font 37, word thickness 38
And value 39, in which:
Heading message 31 is mentioned for indicating the attribute information of each row, such as name, operator, quantity, time etc.
Show what information user's row needs to fill in, if the row write has " name ", this line user inserts name, if the row is without writing
Attribute information out, it is only necessary to which print value, then heading message writes "None".
Heading message 31 is for prompting user's corresponding line that should input which content to be printed, such as heading message as " enterprise
Industry title " then prompts user that can input " enterprise name: AB enterprise " at the row corresponding " value ".For another example heading message is
" code figure " then prompts user that can input " two dimensional code is worth accordingly " at " code value " accordingly " value ", is generating print data
When, it can be worth accordingly according to two dimensional code and obtain two dimensional code as shown in Figure 4.
Optionally, for each label, there may be changeless content in the content of printing, for example, for
For same type of label, batch associated code and AB pack be it is fixed, i.e., in the label of this type, no matter in other
Hold and how to change, this content at two is not changed, at this point, can not be this in the template of initially set label
Heading message is arranged in two values.
Data type 32, for indicating that the type of content to be printed, type can have character string, picture two types.
X offset 33, for indicating at a distance from the transverse direction of lastrow.
Y offset 34, for indicating at a distance from the longitudinal direction of lastrow.
Width 35, the width of the content to be printed for indicating current row.
Highly 36, the height of the content to be printed for indicating current row.
Font 37, the font of the content to be printed for indicating current row.
Word thickness 38, the fineness of the Content font to be printed for indicating current row, such as 0 expression normal format, 1 table
Show overstriking.
Value 39, for inputting the content to be printed of current row, i.e., above-mentioned content input area to be printed.
If user needs to increase several rows, can click increase key 40, at this time will curriculum offering region most
A line and then addition a line afterwards;If user wants to delete certain a line, corresponding line can be chosen, delete button is then clicked
41。
Being explained as follows for " lastrow " in the embodiment of the present application includes 10 rows in Fig. 3 altogether, and the label of each row is as schemed
Shown in 3, comprising: the first row, the second row, the third line, fourth line, fifth line, the 6th row, the 7th row, the 8th row, the 9th row and
Ten rows.The lastrow of second row is the first row, and the lastrow of the third line is the second row, and so on.
If user needs to exchange the sequence of the printing of each row in the label, such as needs the second row being adjusted to the first row,
The first row is adjusted to the second row, then can choose the second row, then clicks and moves up 42 keys, or choose the first row, then point
It hits and moves down 43 keys.
If user to the layout information update of each row of label or after setting completed, clicks and completes 44 keys, then can
It generates " instruction that the corresponding layout information of row each in the label to be printed is updated ", receives this instruction
Afterwards, then corresponding layout file can be updated according to each row updated layout information accordingly.
As shown in figure 4, being the schematic diagram of label corresponding with Fig. 3 provided by the embodiments of the present application.
When user needs what content each row of label prints, so that it may be written in corresponding at each row accordingly 39 position of value
Appearance.
If each row layout information of label that pre-set layout file is user's input generates, most
When just using label printing method provided by the embodiments of the present application, the curriculum offering region 30 in interface shown in Fig. 3 is blank
, corresponding content can be inputted by user.
Step S202: the content to be printed letter that user inputs in each row accordingly content input area to be printed is received
Breath.
Referring to Fig. 5, to be printed accordingly to obtain each row in a kind of label printing method provided by the embodiments of the present application
The method flow schematic diagram of another implementation of content information, this method comprises:
Step S501: the corresponding content information of each heading message is received.
Referring to Fig. 6, being a kind of setting circle that the corresponding layout information of each row is arranged provided by the embodiments of the present application
Face schematic diagram.
When each printing template is arranged each row phase of label can be arranged by color lambling shown in fig. 6 interface in user
The layout information answered, set interface 60 shown in fig. 6 can include but is not limited to nine fields, be respectively as follows: heading message
61, data type 62, X offset 63, Y offset 64, height 65, width 66, font 67, word thickness 68 and value 69, in which:
Heading message 61, for indicating the attribute information of each row, such as name, operator, quantity, time etc..
Optionally, for each label, there may be changeless content in the content of printing, for example, for
For same type of label, the first row and ten rows, that is, batch associated code and AB pack are fixed, i.e. this types
In label, no matter how other content changes, this content at two be it is not changed, i.e., in each print label, all
It can not be the two values setting mark in the template of initially set label therefore without inputting batch associated code and AB pack
Inscribe information.
Data type 62, for indicating that the type of content to be printed, type can have character string, picture two types.
X offset 63, for indicating at a distance from the transverse direction of lastrow.
Y offset 64, for indicating at a distance from the longitudinal direction of lastrow.
Width 65, the width of the content to be printed for indicating current row.
Highly 66, the height of the content to be printed for indicating current row.
Font 67, the font of the content to be printed for indicating current row.
Word thickness 68, the fineness of the Content font to be printed for indicating current row, such as 0 expression normal format, 1 table
Show overstriking.
Value 69, including content identification to be printed, such as { 0 } in Fig. 6.
If user needs to increase several rows, can click increase key 70, at this time will curriculum offering region most
A line and then addition a line afterwards;If user wants to delete certain a line, corresponding line can be chosen, delete button is then clicked
71。
Being explained as follows for " lastrow " in the embodiment of the present application includes 10 rows in Fig. 6 altogether, and the label of each row is as schemed
Shown in 6, comprising: the first row, the second row, the third line, fourth line, fifth line, the 6th row, the 7th row, the 8th row, the 9th row and
Ten rows.The lastrow of second row is the first row, and the lastrow of the third line is the second row, and so on.
If user needs to exchange the sequence of the printing of each row in the label, such as needs the second row being adjusted to the first row,
The first row is adjusted to the second row, then can choose the second row, then clicks and moves up 72 keys, or choose the first row, then point
It hits and moves down 73 keys.If user to the layout information update of each row of label or after setting completed, clicks and completes 74 keys,
It then can be by the corresponding layout information storage of each row at a layout file.
Step S502: the corresponding content information of each heading message is replaced to be printed interior in the value of corresponding heading message
Hold mark, obtains each heading message content information to be printed accordingly.
Assuming that the corresponding content information of this heading message of code value is 123456789, content identification to be printed is { 0 }, then
Replace the value of code value, i.e., behind " { 0 } " in " code value: { 0 } ", obtained code value accordingly content information to be printed be " code value:
123456789”。
Step S503: according to the corresponding heading message of each row and each heading message content information to be printed accordingly, really
Make each row content information to be printed accordingly.
Referring to Fig. 7, being the printing lattice for receiving user's input in a kind of label printing method provided by the embodiments of the present application
A kind of method flow schematic diagram of implementation of formula information, this method comprises:
Step S701: the value of each row content to be printed accordingly is determined, described value includes the content mark to be printed of corresponding line
Know.
Step S702: each row corresponding heading message of content to be printed accordingly is determined.
Heading message can be heading message 61 shown in fig. 6.
Step S703: the relative position information of each row with corresponding previous row is determined.
Each row can be X offset shown in fig. 6 and Y offset with the relative position information of corresponding previous row.
Step S704: the format information of each row content to be printed accordingly is determined.
Format information may include width as shown in FIG. 6, height, font, word thickness, data type, can also include
Underscore etc. format.
The embodiment of the present application also provides labels corresponding with label printing method embodiment to print plug-in unit, below will be detailed
Carefully label printing plug-in unit is described.
Referring to Fig. 8, for a kind of structural schematic diagram of label printing plug-in unit provided by the embodiments of the present application, label printing
Plug-in unit comprises determining that target print formatted file module 81, obtains layout information module 82, obtains content information module
83, generation module 84 and sending module 85, in which:
Target print formatted file module 81 is determined, for determining target from pre-stored each layout file
Layout file.
The corresponding layout file of the label of different-format is different, a kind of corresponding layout text of the label of format
Part.
Pre-stored each layout file can be the universal general layout letter of pre-set some labels
Corresponding layout file is ceased, is also possible to user and is being arranged in label after each corresponding layout information of row for the first time, it is raw
At layout file.Specific steps include: to receive the layout information of user's input;According to the layout information
Layout file is generated, and stores the layout file.
Layout information module 82 is obtained, it is each in label to be printed for being obtained from the target print formatted file
The corresponding layout information of row.
Content information module 83 is obtained, for obtaining each row content information to be printed accordingly.
Generation module 84, for being set according to the corresponding layout information of each row to corresponding content information to be printed
It sets, generates data to be printed.
Sending module 85, for the data to be printed to be sent to label machine.
In label printing plug-in unit provided by the embodiments of the present application, the printing lattice of each row of label are arranged in user's first passage computer
It after formula information, can be stored with layout file format, when user needs print label again, it is only necessary to pass through determination
Target print formatted file module 81 determines target print formatted file, then from pre-stored each layout file
Each row content information to be printed accordingly is obtained by obtaining content information module 83, the acquisition in the embodiment of the present application is beaten
Grid printing formula information module 82 can obtain each corresponding layout of row in label to be printed from the target print formatted file
Information, generation module 84 can be configured corresponding content information to be printed according to the corresponding layout information of each row, raw
At data to be printed;The data to be printed are sent to label machine by sending module 85, and label machine, which can be treated, to be beaten
Printing requires the layout information that user inputs each row according to being printed, so as to avoid each print label, so that mark
Print procedure time longer situation is signed, the efficiency of label printing is improved.
Optionally, the layout information includes the heading message and the corresponding value of the heading message of corresponding line,
Described value includes content identification to be printed, and the acquisition content information module includes:
Reception content information unit, for receiving the corresponding content information of each heading message;
Content information unit is obtained, for replacing the value of corresponding heading message for the corresponding content information of each heading message
In content identification to be printed, obtain each heading message content information to be printed accordingly;
Content information unit is determined, for be printed accordingly according to the corresponding heading message of each row and each heading message
Content information determines each row content information to be printed accordingly.
Optionally, the acquisition content information module in above-mentioned label printing insert embodiment includes:
Generation unit is used for generation unit, for generating target user interface, institute according to the target print formatted file
State target user interface displaying need in print label each corresponding layout information of row and each row it is corresponding it is to be printed in
Hold input area.Receiving unit is inputted for receiving user in each row accordingly content input area to be printed to be printed
Content information.
Optionally, above-mentioned label printing insert embodiment can also include:
Layout information module is received, for receiving the layout information of user's input;Memory module is used for foundation
The layout information generates layout file, and stores the layout file.
Optionally, the reception layout information module in above-mentioned label printing insert embodiment includes:
First determination unit, for determining the value of each row content to be printed accordingly, described value includes corresponding line wait beat
Print content identification;
Second determination unit, for determining each row corresponding heading message of content to be printed accordingly;
Third determination unit, for determining the relative position information of each row with corresponding previous row;
4th determination unit, for determining the format information of each row content to be printed accordingly.
Optionally, above-mentioned label printing insert embodiment can also include:
It receives and updates instruction module, for receiving the instruction being updated to the corresponding layout information of each row;It updates
Module, for updating the target print formatted file according to each row updated layout information accordingly.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (9)
1. a kind of label printing method characterized by comprising
From pre-stored each layout file, target print formatted file is determined;
Each corresponding layout information of row in label to be printed is obtained from the target print formatted file;
Obtain each row content information to be printed accordingly;According to the corresponding layout information of each row to corresponding content to be printed
Information is configured, and generates data to be printed;
The data to be printed are sent to label machine;
Wherein, content information to be printed includes: to generate mesh according to the target print formatted file to each row of acquisition accordingly
User interface is marked, the target user interface displaying needs each corresponding layout information of row and each row phase in print label
The content input area to be printed answered;Reception user inputs to be printed interior in each row accordingly content input area to be printed
Hold information;
Wherein, the target user interface include curriculum offering region, increase key, delete button, edit key, completion by
Key moves up key, moves down key, preview key;And the curriculum offering region includes multirow content input area to be printed,
Every row content input area to be printed includes multiple fields.
2. label printing method according to claim 1, which is characterized in that the layout information includes the mark of corresponding line
Inscribing information and the corresponding value of the heading message, described value includes content identification to be printed, it is described obtain each row accordingly to
Printing content information includes:
Receive the corresponding content information of each heading message;
By the corresponding content information of each heading message, the content identification to be printed in the value of corresponding heading message is replaced, is obtained each
Heading message content information to be printed accordingly;
According to the corresponding heading message of each row and each heading message content information to be printed accordingly, determine that each row is corresponding
Content information to be printed.
3. according to claim 1 to 2 any label printing methods, which is characterized in that layout file is stored in advance
Method includes:
Receive the layout information of user's input;
Layout file is generated according to the layout information, and stores the layout file.
4. label printing method according to claim 3, which is characterized in that the layout information for receiving user's input
Include:
Determine the value of each row content to be printed accordingly, described value includes the content identification to be printed of corresponding line;
Determine each row corresponding heading message of content to be printed accordingly;
Determine the relative position information of each row with corresponding previous row;
Determine the format information of each row content to be printed accordingly.
5. label printing method according to claim 1, which is characterized in that further include:
Receive the instruction being updated to the corresponding layout information of each row;
According to each row updated layout information accordingly, the target print formatted file is updated.
6. a kind of label prints plug-in unit characterized by comprising
Target print formatted file module is determined, for determining target print lattice from pre-stored each layout file
Formula file;
Layout information module is obtained, it is corresponding for obtaining each row in label to be printed from the target print formatted file
Layout information;
Content information module is obtained, for obtaining each row content information to be printed accordingly;
Generation module, it is raw for being configured according to the corresponding layout information of each row to corresponding content information to be printed
At data to be printed;
Sending module, for the data to be printed to be sent to label machine.
7. label prints plug-in unit according to claim 6, which is characterized in that the layout information includes the mark of corresponding line
It inscribes information and the corresponding value of the heading message, described value includes content identification to be printed, the acquisition content information module
Include:
Reception content information unit, for receiving the corresponding content information of each heading message;
Content information unit is obtained, is used for by the corresponding content information of each heading message, in the value for replacing corresponding heading message
Content identification to be printed obtains each heading message content information to be printed accordingly;
Content information unit is determined, for according to the corresponding heading message of each row and each heading message content to be printed accordingly
Information determines each row content information to be printed accordingly.
8. label prints plug-in unit according to claim 7, which is characterized in that further include:
Format information module is received, for receiving the layout information of user's input;
Memory module for generating layout file according to the layout information, and stores the layout file.
9. label prints plug-in unit according to claim 8, which is characterized in that the reception format information module includes:
First determination unit, for determining the value of each row content to be printed accordingly, described value include corresponding line it is to be printed in
Hold mark;
Second determination unit, for determining each row corresponding heading message of content to be printed accordingly;
Third determination unit, for determining the relative position information of each row with corresponding previous row;
4th determination unit, for determining the format information of each row content to be printed accordingly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611078891.8A CN106406783B (en) | 2016-11-29 | 2016-11-29 | Label printing method and label print plug-in unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611078891.8A CN106406783B (en) | 2016-11-29 | 2016-11-29 | Label printing method and label print plug-in unit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106406783A CN106406783A (en) | 2017-02-15 |
CN106406783B true CN106406783B (en) | 2019-06-07 |
Family
ID=58085450
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611078891.8A Active CN106406783B (en) | 2016-11-29 | 2016-11-29 | Label printing method and label print plug-in unit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106406783B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107766900B (en) * | 2017-09-11 | 2021-05-28 | 深圳市共进电子股份有限公司 | Method, system and computing device for printing bar code |
CN108215521B (en) * | 2017-12-18 | 2019-07-26 | 深圳市双翼科技股份有限公司 | The online Method of printing of label, apparatus and system |
CN109725861B (en) * | 2018-12-29 | 2022-08-23 | 森大(深圳)技术有限公司 | Variable label generation display method, device and equipment and label printer |
CN110197520A (en) * | 2019-04-25 | 2019-09-03 | 珠海格力电器股份有限公司 | Label generating method, device, terminal device and computer readable storage medium |
CN110378441B (en) * | 2019-07-08 | 2023-01-13 | 广州赛意信息科技股份有限公司 | Label printing method and system |
CN110764721A (en) * | 2019-09-19 | 2020-02-07 | 北京三快在线科技有限公司 | Template generation method and device, electronic equipment and computer readable medium |
CN111775572A (en) * | 2020-07-17 | 2020-10-16 | 浪潮商用机器有限公司 | Method and related device for replacing label printer content |
CN112230870B (en) * | 2020-12-08 | 2021-04-06 | 中博信息技术研究院有限公司 | Method and device for printing form data |
CN113885813A (en) * | 2021-08-30 | 2022-01-04 | 唐山钢铁集团高强汽车板有限公司 | Cold-rolled label continuous printing method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1794167A (en) * | 2006-01-06 | 2006-06-28 | 无锡永中科技有限公司 | Method of setting printing parameter |
US7861172B1 (en) * | 1999-07-30 | 2010-12-28 | Canon Kabushiki Kaisha | Information processing apparatus, system and method |
CN104680674A (en) * | 2013-12-03 | 2015-06-03 | 航天信息股份有限公司 | Method and system for rapidly setting invoice print format of fiscal cash register |
CN105930312A (en) * | 2015-09-29 | 2016-09-07 | 中国银联股份有限公司 | Method and apparatus for editing printed receipt based on POS terminal |
-
2016
- 2016-11-29 CN CN201611078891.8A patent/CN106406783B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7861172B1 (en) * | 1999-07-30 | 2010-12-28 | Canon Kabushiki Kaisha | Information processing apparatus, system and method |
CN1794167A (en) * | 2006-01-06 | 2006-06-28 | 无锡永中科技有限公司 | Method of setting printing parameter |
CN104680674A (en) * | 2013-12-03 | 2015-06-03 | 航天信息股份有限公司 | Method and system for rapidly setting invoice print format of fiscal cash register |
CN105930312A (en) * | 2015-09-29 | 2016-09-07 | 中国银联股份有限公司 | Method and apparatus for editing printed receipt based on POS terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106406783A (en) | 2017-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106406783B (en) | Label printing method and label print plug-in unit | |
CN1607524B (en) | Method for checking multiple variable data document and computer device | |
CN100429646C (en) | Method and apparatus for displaying electronic document including handwritten data | |
CN102331914A (en) | Form processing system, ocr device, form creation device, and form procrssing method | |
CN107480121A (en) | The preparation method of format data flow table list | |
WO2010099224A1 (en) | Systems and methods for reviewing digital pen data | |
CN103714355B (en) | Image processing equipment and method | |
JP5761237B2 (en) | Information display device, information editing method, and information editing program | |
CN103826023B (en) | Display device and the control method of display device | |
CN1329810C (en) | General method for printing and drawing graphics document, dynamic link-base | |
CN102442047B (en) | Label processing method and device for board combination | |
JP6150215B2 (en) | Electronics | |
JP2014038411A (en) | Password generation system, control program | |
JP2013016079A (en) | Computer device, program, and notebook | |
CN102141899B (en) | Image processing device and image processing method | |
CN108762693A (en) | A kind of print from the definition design system and method | |
JP5929403B2 (en) | Image forming apparatus, image processing apparatus, and program | |
JP2009181519A (en) | Document management apparatus and program | |
JP2008165271A (en) | Data collation device and method | |
JP2002333827A (en) | System and program for editing computation teaching material | |
JP2922068B2 (en) | Word processor with character font correction function | |
JP6241105B2 (en) | Printing device | |
JPS59231590A (en) | Electronic appliance | |
JP2009230423A (en) | Template output control device and program | |
CN115935938A (en) | Automatic generation method and device for counter report |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |