CN116795243A - Label printing method and system, computer equipment and medium - Google Patents

Label printing method and system, computer equipment and medium Download PDF

Info

Publication number
CN116795243A
CN116795243A CN202210253732.6A CN202210253732A CN116795243A CN 116795243 A CN116795243 A CN 116795243A CN 202210253732 A CN202210253732 A CN 202210253732A CN 116795243 A CN116795243 A CN 116795243A
Authority
CN
China
Prior art keywords
control
item
label
displaying
interface
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
Application number
CN202210253732.6A
Other languages
Chinese (zh)
Inventor
王思臣
崔悦
黄士文
邵广玉
吴洋
王洪
谢业剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BOE Technology Group Co Ltd
Beijing Zhongxiangying Technology Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Beijing Zhongxiangying Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BOE Technology Group Co Ltd, Beijing Zhongxiangying Technology Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN202210253732.6A priority Critical patent/CN116795243A/en
Publication of CN116795243A publication Critical patent/CN116795243A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1242Image or content composition onto a page
    • G06F3/1243Variable data printing, e.g. document forms, templates, labels, coupons, advertisements, logos, watermarks, transactional printing, fixed content versioning

Abstract

The embodiment of the invention discloses a label printing method and system, computer equipment and a medium. In one embodiment, a label printing method applied to a computer device includes: displaying a first interface comprising at least one business type selection control; responding to the operation of the business type selection control, acquiring corresponding business data from a business system and displaying a second interface, wherein the second interface comprises a printing control, a data item of the corresponding business data and a data item selection control corresponding to the data item; and responding to the operation of the data item selection control and the printing control, and controlling the printer to print the label according to the label template bound by the data content and the service type corresponding to the data item, wherein the label template comprises at least one text item and/or at least one identification code item, and at least one of the text items and at least one of the identification code items are respectively associated with the service data. The implementation mode can be based on visual operation, and the design and printing of the label can be efficiently, accurately and conveniently realized.

Description

Label printing method and system, computer equipment and medium
Technical Field
The invention relates to the technical field of computers. And more particularly, to a label printing method and system, a computer device, and a medium.
Background
Currently, user design and printing of labels requires writing instructions through a program client, then configuring the instructions into a system, and sending the instructions to a printer through a background code. The inventor finds that the method has the problems of low convenience, inconvenient modification and the like.
Disclosure of Invention
The invention aims to provide a label printing method and system, computer equipment and medium, which are used for solving at least one of the problems existing in the prior art.
In order to achieve the above purpose, the invention adopts the following technical scheme:
the first aspect of the invention provides a label printing method, applied to computer equipment, comprising the following steps:
displaying a first interface, wherein the first interface comprises at least one service type selection control;
responding to the operation of the service type selection control, acquiring corresponding service data from a service system and displaying a second interface, wherein the second interface comprises a printing control, a data item of the corresponding service data and a data item selection control corresponding to the data item;
and responding to the operation of the data item selection control and the printing control, and controlling a printer to print a label according to the data content corresponding to the data item and the label template bound by the service type, wherein the label template comprises at least one text item and/or at least one identification code item, at least one item of the text item is related to service data, and at least one item of the identification code item is related to service data.
Optionally, the method further comprises:
displaying a third interface, the third interface comprising a default print control;
responding to the operation of the default printing control, displaying a fourth interface, wherein the fourth interface comprises a service type item and a binding control corresponding to the service type item;
and displaying a fifth interface in response to the operation of the binding control, wherein the fifth interface comprises a label template selection control, and determining a label template with a business type bound in response to the operation of the label template selection control.
Optionally, the method further comprises:
displaying a third interface, wherein the third interface comprises a label template creation control;
responsive to an operation of the label template creation control, displaying a sixth interface, the sixth interface including a label template name input control;
in response to operation of the label template name input control, a label template is created.
Optionally, the sixth interface further includes a label template use setting control and a label template remark input control.
Optionally, the method further comprises:
displaying a third interface, wherein the third interface comprises a label template list, the label template list comprises created label template items and drawing controls corresponding to the label template items,
In response to the operation of the label template drawing control, displaying a seventh interface, wherein the seventh interface comprises a component list, a drawing area and a setting area, and the component list comprises a text component and an identification code component;
generating text items and displaying the text items in the drawing area in response to the operation of the text components in the component list, and displaying text content setting controls in the setting area; responding to a first operation of the text content setting control, acquiring text content of a text item and displaying the text content in the text item displayed in the drawing area; responsive to a second operation of the text content setting control, displaying a variable selection control; determining variable codes of text items associated with business data and displaying the variable codes in the text items displayed in the drawing area in response to the operation of the variable selection control;
generating and displaying an identification code item in the drawing area in response to the operation of the identification code component in the component list, and displaying an identification code information setting control in the setting area; acquiring the identification code information content of an identification code item in response to a first operation of the identification code information setting control; responsive to a second operation of the identification code information setting control, displaying a variable selection control; in response to operation of the variable selection control, a variable encoding of the identification code item associated with the business data is determined.
Optionally, the operation on the text component in the component list and the operation on the identification code component in the component list respectively include a drag operation.
Alternatively, the process may be carried out in a single-stage,
the generating text items and displaying in the drawing area in response to the operation on the text components in the component list, and displaying text content setting controls in the setting area further includes: displaying a text format setting control and/or a text item position setting control in the setting area; the method further comprises the steps of: setting a text format or position of the text item in response to an operation of the display text format setting control or the text item position setting control;
the generating and displaying the identification code item in the drawing area in response to the operation of the identification code component in the component list, and displaying the identification code information setting control in the setting area further includes: displaying at least one of an identification code type setting control, an identification code item size setting control and an identification code item position setting control in the setting area; the method further comprises the steps of: the identification code type, size, or location of the identification code item is set in response to an operation of the identification code type setting control, the identification code item size setting control, or the identification code item location setting control.
Optionally, the seventh interface further comprises a label sizing control, and the method further comprises: and responding to the operation of the label size setting control, and determining the size of the label corresponding to the label template.
Optionally, the component list further includes a picture component, and the method further includes:
generating a picture item and displaying the picture item in the drawing area in response to the operation of the picture component in the component list, and displaying a picture setting control in the setting area; responding to the operation of setting the control on the picture, and displaying a picture insertion control; and responding to the operation of inserting the control into the picture, acquiring the picture of the picture item and displaying the picture in the picture item displayed in the drawing area.
Optionally, the generating and displaying the picture item in the drawing area in response to the operation on the picture component in the component list, and displaying the picture setting control in the setting area further includes: displaying a picture item size setting control and/or picture item position setting in the setting area; the method further comprises the steps of: and setting the size or position of the picture item in response to the operation of the picture item size setting control or the picture item position setting control.
Optionally, the method further comprises:
displaying an eighth interface, the eighth interface comprising a variable creation control;
responsive to an operation of the variable creation control, displaying a ninth interface, the ninth interface including a variable name input control and a variable encoding setup control;
in response to operation of the variable name input control and the variable encoding setup control, a variable is created.
Optionally, the eighth interface further comprises a variable list, the variable list comprising variable items of the created variables.
Optionally, the controlling the printer to print the label according to the data content corresponding to the data item and the label template bound by the service type further includes:
rendering to obtain an HTML label according to the data content corresponding to the data item and the label template bound by the service type, converting the HTML label into a Canvas label, converting the Canvas label into a picture to be printed, and sending the picture to be printed or a printing instruction obtained according to the picture to be printed to a printer so as to control the printer to print the label.
Optionally, before the sending the to-be-printed picture or the print instruction obtained according to the to-be-printed picture conversion to the printer, the method further includes: and displaying the print preview of the picture to be printed.
A second aspect of the present invention provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of printing a label provided in accordance with the first aspect of the present invention when the program is executed.
A third aspect of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the label printing method provided by the first aspect of the present invention.
A fourth aspect of the invention provides a label printing system comprising a printer and a computer device as provided in the second aspect of the invention.
The beneficial effects of the invention are as follows:
according to the technical scheme, the service data and the label template for constructing the label style typesetting can be automatically acquired according to the selection operation of the user, the acquired service data is presented in the label to be printed according to the text item and/or the identification code item associated with the service data in the label template, and further the printing is performed according to the selection operation and the printing operation of the user, so that the label design and the printing are efficiently, accurately and conveniently realized based on the visualization operation.
Drawings
The following describes the embodiments of the present invention in further detail with reference to the drawings.
Fig. 1 shows a flowchart of a label printing method according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of an operation interface of some computer devices according to an embodiment of the present invention.
FIG. 3 is a schematic diagram of an operation interface of a further computer device according to an embodiment of the present invention.
FIG. 4 is a schematic diagram of an operation interface of a further computer device according to an embodiment of the present invention.
FIG. 5 is a schematic diagram of an operation interface of a further computer device according to an embodiment of the present invention.
FIG. 6 is a schematic diagram of an operation interface of a further computer device according to an embodiment of the present invention.
FIG. 7 is a schematic diagram of an operation interface of a further computer device according to an embodiment of the present invention.
FIG. 8 is a schematic diagram of an operation interface of a further computer device according to an embodiment of the present invention.
FIG. 9 is a schematic diagram of an operation interface of a further computer device according to an embodiment of the present invention.
FIG. 10 is a schematic diagram of an operation interface of a further computer device according to an embodiment of the present invention.
FIG. 11 is a schematic diagram of an operation interface of a further computer device according to an embodiment of the present invention.
FIG. 12 is a schematic diagram of an operation interface of a further computer device according to an embodiment of the present invention.
FIG. 13 is a schematic diagram of an operation interface of a further computer device according to an embodiment of the present invention.
FIG. 14 is a schematic diagram of an operation interface of a further computer device according to an embodiment of the present invention.
FIG. 15 is a schematic diagram of an operation interface of a further computer device according to an embodiment of the present invention.
FIG. 16 is a schematic diagram of an operation interface of a further computer device according to an embodiment of the present invention.
FIG. 17 is a schematic diagram of an operation interface of a further computer device according to an embodiment of the present invention.
FIG. 18 is a schematic diagram of an operation interface of a further computer device according to an embodiment of the present invention.
FIG. 19 is a schematic diagram of an operation interface of a further computer device according to an embodiment of the present invention.
Fig. 20 shows a schematic diagram of a label printing system provided by an embodiment of the present invention.
Fig. 21 shows a schematic structural diagram of a computer device.
Detailed Description
In order to more clearly illustrate the present invention, the present invention will be further described with reference to examples and drawings. Like parts in the drawings are denoted by the same reference numerals. It is to be understood by persons skilled in the art that the following detailed description is illustrative and not restrictive, and that this invention is not limited to the details given herein.
In the description of the embodiments of the present invention, unless otherwise indicated, "/" means or, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone.
The terms "first" and "second" are used below for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the embodiments of the present invention, unless otherwise indicated, the meaning of "a plurality" is two or more.
In embodiments of the invention, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
Currently, user design and printing of labels requires writing instructions through a program client, then configuring the instructions into a system, and sending the instructions to a printer through a background code. The inventor discovers that the mode has the problems of low convenience, inconvenient modification and the like. Specifically:
firstly, the user designs and prints the label and writes the instruction through the program client, then configures the instruction into the system, and sends the instruction to the printer through the background code, so that the operation is inconvenient and the intuitiveness is low.
Secondly, when the user wants to modify the label content or style typesetting, the steps of writing the instruction through the program client are required to be repeated again, and the user cannot preview and debug in the program client, so that the efficiency is low, the operation is inconvenient and the intuitiveness is low.
Thirdly, by means of programming instructions by a program client and then configuring the instructions into a system, a fixed variable or template is not suitable for a Software-as-a-Service (SaaS) system, so that the universality and the expansibility are poor.
Fourth, for the call of a label printer such as a zebra printer, a ZPL instruction is sent to the printer through a background code (JAVA, c# etc.), and each modification needs to be performed to package the updated code into an exe executable file, and the code is added to a registry, which is complex in operation and poor in operability.
In view of this, an embodiment of the present invention provides a label printing method applied to a computer device capable of communicating with a printer. The printing flow of the label printing method provided by the embodiment of the invention comprises the following steps:
displaying a first interface, wherein the first interface comprises at least one service type selection control;
responding to the operation of the service type selection control, acquiring corresponding service data from a service system and displaying a second interface, wherein the second interface comprises a printing control, a data item of the corresponding service data and a data item selection control corresponding to the data item;
and responding to the operation of the data item selection control and the printing control, and controlling a printer to print a label according to the data content corresponding to the data item and the label template bound by the service type, wherein the label template comprises at least one text item and/or at least one identification code item, at least one item of the text item is related to service data, and at least one item of the identification code item is related to service data.
According to the label printing method, the service data and the label template for constructing the label style typesetting can be automatically acquired according to the selection operation of the user, the acquired service data are presented in the label to be printed according to the text item and/or the identification code item associated with the service data in the label template, and printing is further performed according to the selection operation and the printing operation of the user, so that label design and printing are efficiently, accurately and conveniently realized based on the visualization operation.
In a possible implementation manner, the label printing method provided by the embodiment of the invention further includes a binding process of the service type and the label template, and the binding process includes:
displaying a third interface, the third interface comprising a default print control;
responding to the operation of the default printing control, displaying a fourth interface, wherein the fourth interface comprises a service type item and a binding control corresponding to the service type item;
and displaying a fifth interface in response to the operation of the binding control, wherein the fifth interface comprises a label template selection control, and determining a label template with a business type bound in response to the operation of the label template selection control.
Therefore, the binding of the business type and the label template can be realized efficiently, accurately and conveniently based on the visual operation.
In a possible implementation manner, the label printing method provided by the embodiment of the invention further includes a label template creation process, where the label template creation process includes:
displaying a third interface, wherein the third interface comprises a label template creation control;
responsive to an operation of the label template creation control, displaying a sixth interface, the sixth interface including a label template name input control;
In response to operation of the label template name input control, a label template is created.
Therefore, the creation of the label template can be efficiently, accurately and conveniently realized based on the visual operation.
In one possible implementation, the sixth interface in the label template creation process further includes a label template use setting control and a label template remark input control.
Therefore, the labeling template is convenient for a user to label, and the maintenance and management of the labeling template are convenient.
In a possible implementation manner, the label printing method provided by the embodiment of the invention further includes a label template drawing process, where the label template drawing process includes:
displaying a third interface, wherein the third interface comprises a label template list, the label template list comprises created label template items and drawing controls corresponding to the label template items,
in response to the operation of the label template drawing control, displaying a seventh interface, wherein the seventh interface comprises a component list, a drawing area and a setting area, and the component list comprises a text component and an identification code component;
generating text items and displaying the text items in the drawing area in response to the operation of the text components in the component list, and displaying text content setting controls in the setting area; responding to a first operation of the text content setting control, acquiring text content of a text item and displaying the text content in the text item displayed in the drawing area; responsive to a second operation of the text content setting control, displaying a variable selection control; determining variable codes of text items associated with business data and displaying the variable codes in the text items displayed in the drawing area in response to the operation of the variable selection control;
Generating and displaying an identification code item in the drawing area in response to the operation of the identification code component in the component list, and displaying an identification code information setting control in the setting area; acquiring the identification code information content of an identification code item in response to a first operation of the identification code information setting control; responsive to a second operation of the identification code information setting control, displaying a variable selection control; in response to operation of the variable selection control, a variable encoding of the identification code item associated with the business data is determined.
Therefore, the association of text items and/or identification code items and business data in the drawing of the label template can be efficiently, accurately and conveniently realized through variable coding based on the visualization operation, and the efficiency and convenience of modifying the drawn label template can be improved.
In one possible implementation manner, in the label template drawing process, the operation on the text component in the component list and the operation on the identification code component in the component list respectively include a drag operation.
Therefore, the convenience of drawing the label template can be optimized.
In one possible implementation, in the label template drawing process:
The generating text items and displaying in the drawing area in response to the operation on the text components in the component list, and displaying text content setting controls in the setting area further includes: displaying a text format setting control and/or a text item position setting control in the setting area; the method further comprises the steps of: setting a text format or position of the text item in response to an operation of the display text format setting control or the text item position setting control;
the generating and displaying the identification code item in the drawing area in response to the operation of the identification code component in the component list, and displaying the identification code information setting control in the setting area further includes: displaying at least one of an identification code type setting control, an identification code item size setting control and an identification code item position setting control in the setting area; the method further comprises the steps of: the identification code type, size, or location of the identification code item is set in response to an operation of the identification code type setting control, the identification code item size setting control, or the identification code item location setting control.
Therefore, the method can efficiently, accurately and conveniently realize the setting of parameters such as format style, size and the like of text items and identification code items and the adjustment of positions in the drawing of the label template based on the visual operation, and can improve the efficiency and convenience of the modification of the drawn label template.
In one possible implementation manner, in the label template drawing procedure, the seventh interface further includes a label size setting control, and the label template drawing procedure further includes: and responding to the operation of the label size setting control, and determining the size of the label corresponding to the label template.
Therefore, the setting of the size of the label template in the drawing of the label template can be realized efficiently, accurately and conveniently based on the visual operation, wherein the size of the label template is the size of the label obtained by printing.
In one possible implementation manner, in the label template drawing process, the component list further includes a picture component, and the label template drawing process further includes:
generating a picture item and displaying the picture item in the drawing area in response to the operation of the picture component in the component list, and displaying a picture setting control in the setting area; responding to the operation of setting the control on the picture, and displaying a picture insertion control; and responding to the operation of inserting the control into the picture, acquiring the picture of the picture item and displaying the picture in the picture item displayed in the drawing area.
Therefore, the method can be used for adding the pictures in the drawing of the label template based on the visual operation, and is efficient, accurate and convenient.
In one possible implementation manner, in the labeling template drawing process, the generating and displaying a picture item in the drawing area in response to an operation on a picture component in the component list, and displaying a picture setting control in the setting area further includes: displaying a picture item size setting control and/or picture item position setting in the setting area; the label template drawing process further comprises: and setting the size or position of the picture item in response to the operation of the picture item size setting control or the picture item position setting control.
Therefore, the size setting and the position adjustment of the picture in the drawing of the label template can be efficiently, accurately and conveniently realized based on the visual operation.
In a possible implementation manner, the label printing method provided by the embodiment of the invention further includes a variable creation flow, where the variable creation flow includes:
displaying an eighth interface, the eighth interface comprising a variable creation control;
responsive to an operation of the variable creation control, displaying a ninth interface, the ninth interface including a variable name input control and a variable encoding setup control;
in response to operation of the variable name input control and the variable encoding setup control, a variable is created.
Therefore, the creation of the variable can be realized efficiently, accurately and conveniently based on the visual operation.
In one possible implementation, in the variable creation flow, the eighth interface further includes a variable list, where the variable list includes variable items of the created variables.
Therefore, maintenance and management of the variable by a user are facilitated, and efficient and convenient modification of the variable can be achieved by setting a modification control for the variable item.
In one possible implementation manner, in the printing process, the controlling the printer to print the label according to the data content corresponding to the data item and the label template bound by the service type further includes:
rendering to obtain an HTML label according to the data content corresponding to the data item and the label template bound by the service type, converting the HTML label into a Canvas label, converting the Canvas label into a picture to be printed, and sending the picture to be printed or a printing instruction obtained according to the picture to be printed to a printer so as to control the printer to print the label.
In one possible implementation manner, before the sending the to-be-printed picture or the print instruction obtained according to the to-be-printed picture conversion to the printer, the printing process further includes: and displaying the print preview of the picture to be printed.
Therefore, the printing preview display before printing can be realized, and the user can confirm the content and the style of the printed label conveniently.
In the following, taking an application scenario as a manufacturing operation management system ((Manufacturing Operations Management, MOM)), a printer as a zebra printer, and a computer device as an input device as an example, a notebook computer with a mouse and a keyboard is used as an example, and the overall flow of the label printing method provided in this embodiment is illustrated according to the flow sequence of variable creation, label template creation and drawing, service type binding with the label template, and label printing.
As shown in fig. 1, the overall flow of the label printing method provided in this embodiment includes:
s110, creating a variable.
Further, the process of creating the variable includes:
displaying an interface 20 as shown in FIG. 2, the interface 20 including a variable creation control "New variable";
in response to an operation of creating a control "newly added variable" for a variable, an interface 30 as shown in fig. 3 is displayed, the interface 30 including a variable name input control "variable name" and a variable code setting control "variable code";
in response to operation of the variable name input control and the variable encoding setup control, a variable is created.
Illustratively, the notebook computer displays the interface 20 in response to a user clicking operation on a navigation bar of the main interface by opening a browser and logging in to a web page client of the manufacturing operation management system, then displays the interface 30 shown in fig. 3 in a manner of adding a drawer popup window on the right side part of the interface 20 in response to a clicking operation of a user using a mouse to create a control "new variable" on a variable in the interface 20, then, in response to a user clicking an input box of the control "variable name" in the interface 30 using a left mouse button, respectively acquires a variable name of the new variable and a variable code using a keyboard after the input operation of the input box, the user clicking the input box of the control "variable code" using a left mouse to input the variable code in the interface 30 using a left mouse, and stores data of the new variable after the input operation of the input box (or the user clicking the selection operation of the variable code item using a mouse to click the variable code in a popup variable code list) using a keyboard. Additionally, as shown in FIG. 3, the interface 30 may also include a description input control "description" to facilitate user notes in which the variable names and variable encodings are content-on-demand or alternatively, the description is content-on-demand.
In some implementations, in the process of creating variables, as shown in FIG. 2, the interface 20 also includes a variable list that includes variable items of the created variables. As shown in FIG. 2, each variable item displays a variable name, a variable code, and an explanation of the created variable, respectively, and the variable list further includes a modification control and a deletion control corresponding to each variable item so that the user maintains and manages the created variable. Illustratively, the data corresponding to the variable is deleted and no longer displayed in the variable list in response to the user clicking the delete control "delete" corresponding to a variable using the mouse, and the notebook displays an interface similar to that shown in fig. 3 for the user to modify the variable name, variable code, or description of the created variable in response to the user clicking the modify control "modify" corresponding to a variable using the mouse. In addition, as shown in FIG. 2, the interface 20 may also include a variable query control "query" to allow a user to quickly find a created variable by entering information such as a variable name when maintaining and managing the created variable.
S120, creating and drawing a label template.
In some embodiments, the process of creating the label template includes:
Displaying an interface 40 as shown in FIG. 4, the interface 40 including a label template creation control "Add template";
in response to an operation of creating a control "newly added template" for the label template, an interface 50 as shown in fig. 5 is displayed, the interface 50 including a label template name input control "template name";
in response to an operation of entering a control "template name" for the label template name, a label template is created.
In some embodiments, the interface 50 in the process of creating a label template further includes a label template use setting control "template use" and a label template remark input control "remark".
Illustratively, the notebook computer displays the interface 40 in response to a user clicking operation on a navigation bar of the main interface by opening a browser and logging in to a web client of the manufacturing operation management system, then, in response to a user clicking operation on a tab template creation control "newly added template" in the interface 40 by using a mouse, displays the interface 50 as shown in fig. 5 in a manner of newly adding a drawer popup window in a right part of the interface 40, then, in response to a user clicking an input box of a tab template name input control "template name" in the interface 50 by using a left mouse button, uses a keyboard after the input box of the input box, uses a keyboard after the user clicks an input box of a tab template purpose setting control "template purpose" in the interface 50 by using a left mouse button, uses a keyboard after the user clicks a selection box of a tab template purpose selection control "template purpose" in the interface by using a mouse, uses a mouse to click a confirmation control (or confirmation button) in the interface 50 in a pop-up purpose list, respectively acquires a tab template name and a purpose of the newly added tab template, and stores the newly added tab template, and completes the creation of the tab template. The label template remark input control "remark" can be used for a user to make remark description on the created label template, for example, the name of the template is necessary to fill content, the purpose of the template and the remark are fillable content, and for some scenes, the purpose of the template can be set to be necessary to fill content or necessary to select content.
In some implementations, the interface 40 also includes a list of labeling templates that includes created labeling template items. As shown in fig. 4, each of the label template items displays the template name, template use, remarks, and creation time of the created label template, respectively, and the label template list further includes an edit control "edit", a draw control "draw", and a delete control "delete" corresponding to each of the label template items, so that the user maintains and manages the created label template through the edit control and the delete control, and draws the created label template through the draw control. Illustratively, deleting data corresponding to a labeled template in response to a user clicking a delete control "delete" corresponding to a labeled template item with a mouse does not display the labeled template item in the labeled template list, and displaying an interface similar to that shown in fig. 5 for the user to edit the template name, template use, or remark of the created labeled template in response to the user clicking an edit control "edit" corresponding to a labeled template item with a mouse. In addition, as shown in FIG. 4, the interface 40 may also include a tab template query control "query" to allow a user to quickly find a created tab template by entering information such as a template name when maintaining and managing the created tab template.
The following describes the procedure of drawing the label template through the drawing control corresponding to the label template item:
in response to an operation to "draw" the label template drawing control in the interface 40, the interface 60 is displayed, the interface 60 including a component list (left), a drawing area (middle), and a setting area (right), the component list including a text component and an identification code component.
In response to an operation on a text component in the component list, generating a text item and displaying in the drawing area, and displaying a text content setting control in the setting area, such as interface 70 shown in fig. 7; in response to a first operation of the text content setting control, text content of a text item is acquired and displayed in the text item displayed in the drawing area, as shown in fig. 7, for example, a keyboard input "circulation card: "; in response to a second operation of the text content setting control, a variable selection control is displayed, as shown in fig. 7, for example, at the "circulation card" that has been entered: "after character bit mouse right click, then at": "post display" @ "and display a variable selection control, such as that shown in FIG. 7, which presents variable names of variables in a list; in response to the operation of the variable selection control, determining the variable code of the text item associated with the business data and displaying the variable code in the text item displayed in the drawing area, as shown in fig. 7, clicking the variable name "flow card" in the variable selection control by the left button of the mouse of the user, and after the setting of the text item is completed, displaying an interface 80 as shown in fig. 8, and displaying "flow card" at a set position in the label template: it should be noted that the content contained in the final printed label does not directly include "@ ProductionFlowCardNote", but rather the service data associated with the variable code that is obtained from the service system, in this embodiment the template and the variable function to indicate which service data needs to be obtained from the service system and in what presentation form to present in the label.
Further, for example, on the basis of the interface 80, the user again operates the text components in the component list, and in response to this operation, the notebook computer generates text items and displays them in the drawing area, and displays text content setting controls in the setting area, such as the interface 90 shown in fig. 9. Thereafter, unlike the foregoing, the user performs only the first operation (keyboard input "specification: XXX") and does not perform the second operation (right click) on the text content setting control, and after the setting of this text item is completed, an interface 100 as shown in fig. 10 is displayed.
In response to the operation on the identification code component in the component list, generating an identification code item, displaying the identification code item in the drawing area, and displaying an identification code information setting control in the setting area, as shown in an interface 110 in fig. 11, it should be noted that, in fig. 11, the operation of adding the identification code item is further performed based on the interface 100 in fig. 10, and in fig. 11, the default identification code is a two-dimensional code; in response to a first operation of the identification code information setting control, the identification code information content of the identification code item is acquired, as shown in fig. 11, for example, a "circulation card" is input by a keyboard: "; in response to a second operation of the identification code information setting control, a variable selection control is displayed, as shown in fig. 11, for example, in the case of the "circulation card" which has been input: "after character bit mouse right click, then at": "post display" @ "and display a variable selection control, such as that shown in FIG. 11, which presents variable names of variables in a list; in response to the operation on the variable selection control, determining the variable code associated with the service data of the identifier code item, as shown in fig. 11, clicking the variable name "flow card" in the variable selection control by the left button of the user mouse, and after completing the setting of the identifier code item, displaying an interface 120 as shown in fig. 12, where it is to be noted that, in the content contained in the label finally printed, the identifier code corresponds to the service data associated with the selected variable code obtained from the service system, and after scanning the two-dimensional code by using a two-dimensional code scanning program of, for example, a smart phone, the smart phone displays a "flow card: XXXX ", which is the actual flow card number value in the service data.
In some embodiments, in the process of drawing a label template:
as shown in fig. 7 and 9, when the text item is generated and displayed in the drawing area, the setting area also displays a text format setting control "font", "font size", and a text item position setting control "coordinates", "rotation", so that the user sets the text format or position of the text item. The settings area may also include a delete control "delete" for deleting text items.
As shown in fig. 11, when the identification code item is generated and displayed in the drawing area, the setting area also displays an identification code type setting control "identification code type", an identification code item size setting control-wide and high in the setting area, an identification code item position setting control "coordinate", "rotation", so that the user sets the identification code type, size, or position of the identification code item. The settings area may also include a delete control "delete" for deleting text items. For example, if the user selects the identification code type as a bar code, the identification code type is converted and the interface 130 shown in fig. 13 is displayed, and the two-dimensional code in the interface 110 shown in fig. 11 is replaced with the bar code.
In some embodiments, in the process of drawing the label template, the operation on the text component in the component list and the operation on the identification code component in the component list respectively include a drag operation. For example, as shown in FIG. 7, the text component of the left mouse click component is dragged and dropped to a location in the drawing area (the location is arbitrarily selected by the user and is subsequently adjustable according to the text item location setting control of the text content setting controls).
In some embodiments, in the process of drawing the label template, the interfaces 60 to 130 may respectively include a label size setting control, that is, "size width and height" above the drawing area, and the user may, for example, directly input in the label size input control or select from a list item of the label size selection control to set the size of the label corresponding to the label template, where, through the label template, the user may intuitively observe typesetting factors such as the shape of the label finally printed, and the size proportion, the position relationship, and the like of each content such as the text item, the identification code item, and the like.
In some implementations, as shown in fig. 6, the component list also includes a picture component. The process of drawing the label template further comprises:
in response to the operation on the picture component in the component list, generating a picture item and displaying the picture item in the drawing area, and displaying a picture setting control in the setting area, as shown in an interface 140 in fig. 14, it should be noted that fig. 14 is obtained by further performing a picture item adding operation based on the interface 120 in fig. 12; in response to the operation of the picture setting control, a picture insertion control is displayed, as shown in fig. 14, for example, a default picture identifier is clicked on a left button of a mouse, and a picture insertion selection frame is displayed; and responding to the operation of the picture inserting control, acquiring the picture of the picture item and displaying the picture in the picture item displayed in the drawing area, wherein a user selects the picture of the local or database of the notebook computer through a picture inserting selection frame, and after the setting of the picture item is completed, displaying an interface 150 shown in fig. 15.
In some embodiments, in the process of drawing the label template, as shown in fig. 14, when the picture code item is generated and displayed in the drawing area, the setting area also displays a picture item size setting control "width and height" and a picture item position setting "coordinates", "rotation" so that the user sets the text format or position of the picture item. The settings area may also include a delete control "delete" for deleting a picture item.
In some embodiments, operations on picture components in the component list include drag operations, similar to text components and identification code components.
In addition, as shown in fig. 6, the component list may further include graphic components, etc., and the graphic components may be further subdivided into rectangular components, circular components, line components, etc., so as to facilitate the user to draw a label template, and it is understood that, similar to the foregoing text components, the notebook computer generates graphic items and displays the graphic items in the drawing area and displays corresponding graphic setting controls in the setting area when the user operates the graphic components in the component list. In addition, the operation on the graphic component in the component list includes a drag operation.
In this embodiment, a user may draw a print template based on a simple drag operation in an operation interface, and configure various elements and variables (supporting adding characters, bar codes, two-dimensional codes, rectangles, lines, pictures, etc.) required by the label through operations such as inputting, clicking, etc., so that drawing and previewing of the label template can be conveniently and rapidly performed, and the method is not limited to using a certain type of print element, and supports custom configuration of various elements such as characters, pictures, bar codes, two-dimensional codes, etc. And supports visualization operations, what is seen. The canvas size is configured according to the size of the label paper, and the label content is generated by dragging, so that one-to-one reduction display can be realized. The printing element can be freely configured by adapting to the printing of various types of labels in various industries.
S130, binding the service type with the label template.
In some implementations, the interface 40 as shown in FIG. 4 also includes a default print control "default print"; the process of binding the business type and the label template comprises the following steps:
in response to an operation on the default print control in the interface 40, an interface 160 as shown in fig. 16 is displayed, the interface 160 including a service type item and a binding control "bind" corresponding to the service type item;
in response to an operation of the bind control "bind" in the interface 160, an interface 170 as shown in fig. 17 is displayed, the interface 170 including a label template selection control "print bind template", and in response to an operation of the label template selection control "print bind template", a label template of the business type binding is determined.
For example, in response to a user clicking operation of "binding" a binding control corresponding to a service type item in the interface 160 by using a mouse, the notebook computer displays an interface 170 as shown in fig. 17 in a manner of adding a drawer popup window in a right portion of the interface 160, then, in response to a user clicking a selection box of a label template selection control "print binding template" in the interface 170 by using a left mouse button, clicking a confirmation control (or a confirmation button) in the interface 170 after a selection operation of a label template item in a pop-up list of label templates by using a mouse, acquiring a label template corresponding to a service type and completing binding of the service type and the label template, and storing binding data.
S140, printing a label.
Further, the process of printing the label includes:
displaying an interface 180 as shown in FIG. 18, the interface 180 including at least one business type selection control "select", wherein a business type may also be referred to as an item;
in response to the operation of "selecting" the service type selection control in the interface 180, acquiring corresponding service data from the service system and displaying an interface 190 as shown in fig. 19, wherein the interface 190 comprises a print control "print", a data item of the corresponding service data and a data item selection control corresponding to the data item;
and responding to the operation of the data item selection control and the printing control, and controlling a printer to print a label according to the data content corresponding to the data item and the label template bound by the service type, wherein the label template comprises at least one text item and/or at least one identification code item, at least one item of the text item is related to service data, and at least one item of the identification code item is related to service data.
In some embodiments, in the process of printing the label, the controlling the printer to print the label further includes:
Rendering to obtain an HTML label according to the data content corresponding to the data item and the label template bound by the service type, converting the HTML label into a Canvas label, converting the Canvas label into a picture to be printed, and sending the picture to be printed or a printing instruction obtained according to the picture to be printed to a printer so as to control the printer to print the label.
Wherein the Canvas element is used to draw graphics on a web page. The Canvas element of HTML5 uses JavaScript to draw an image on a web page. And for the zebra printer, converting the picture to be printed into a ZPL instruction, and calling the zebra printer to print the label through the ZPL instruction.
In some embodiments, before the step of sending the to-be-printed picture or the print instruction obtained by converting the to-be-printed picture to the printer, the method further includes: and displaying the print preview of the picture to be printed.
Illustratively, the notebook computer displays the interface 180 in response to a user clicking operation at the navigation bar of the main interface in opening the browser, logging into the web page client of the manufacturing operation management system, and then displays an interface 190 as shown in fig. 19 in response to a user clicking operation "selecting" the service type selection control in the interface 180 using the mouse, in which the data items are displayed with multi-category service data. In addition, different service types can be summarized into corresponding navigation bar components, for example, order numbers, product codes, transfer cards and the like can be grouped under the control of 'production management' of the navigation bar control, finished product warehouse-in batches and the like are grouped under the control of 'production execution', consignment delivery slips and the like are grouped under the control of 'material management' of the navigation bar control, and service type selection controls in the group are displayed in response to navigation bar clicking operation of a user on a main interface. Then, in response to a clicking operation of a user using a data item selection control in the mouse left click interface 190, a data item is selected (the display is that the data item selection control in front of the data item is clicked ∈), after the selection, in response to the user using the mouse left click interface 190 to click the print control to print, an HTML tag (or DOM element, which may be collectively called HTML tag) is rendered according to a label template bound according to data content and service types corresponding to each selected data item, wherein the variable content in the label is replaced with a service data value, then the HTML tag is converted into a Canvas tag, the Canvas tag is converted into a picture to be printed and a print preview of the picture to be printed is displayed, so that the user can confirm the content and style of the label again, after confirmation, the user obtains a ZPL printing instruction according to the picture to be printed and sends the ZPL printing instruction to the zebra printer, and the zebra printer prints the label.
The printing template can be customized to different sites of the same manufacturer or different manufacturers, and the printing template can be operated in the mode during printing.
As shown in fig. 20, another embodiment of the present invention provides a label printing system, which includes a computer device 201 and a printer 202, where the computer device 201 includes a memory, a processor, and a computer program stored on the memory and capable of running on the processor, and when the processor executes the program, the processor implements the label printing method provided in the foregoing embodiment, so as to obtain service data and a label template for constructing a label style typesetting according to a user operation, and present the obtained service data in a label to be printed according to a text item and/or an identification code item associated with the service data in the label template, thereby controlling the printer 202 to print the label.
By way of example, the computer device 201 in this embodiment may be a tablet computer, a personal computer (personal computer, PC), a personal digital assistant (personal digital assistant, PDA), a notebook computer as shown in fig. 20, a wearable electronic device, a smart phone, an augmented reality (augmented reality, AR) device, a Virtual Reality (VR) device, an in-vehicle device, a smart car, a robot, or the like, and the specific form of the computer device 181 is not particularly limited as long as it has a processor, an input device, a display device, or the like and can communicate with the printer 202. The input device may be a mouse, a keyboard, a touch screen, etc., and the present invention is not limited in particular. Illustratively, the printer 202 in this embodiment may be a label printer such as a zebra printer.
Note that fig. 20 shows that the computer device 201 and the printer 202 are connected through a wireless network, but the computer device and the printer in the label printing system provided in this embodiment may also be connected through a wired network, or any combination of a wireless network and a wired network. The wired network may use twisted pair, coaxial cable or optical fiber transmission, and the wireless network may use 3G/4G/5G mobile communication network, bluetooth, zigbee or WiFi, and the like, where the type and function of the network are not limited by the present invention.
It should be noted that, the principle and workflow of the computer device in the label printing system provided in this embodiment are similar to those of the label printing method described above, and the relevant parts may be referred to the above description, which is not repeated here.
As shown in fig. 21, the computer device in the label printing system provided by the above-described embodiment includes a central processing module (CPU) that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) or a program loaded from a storage section into a Random Access Memory (RAM). In the RAM, various programs and data required for the operation of the computer system are also stored. The CPU, ROM and RAM are connected by a bus. An input/output (I/O) interface is also connected to the bus.
The following components are connected to the I/O interface, including the input part of the keyboard, mouse, etc.; an output section including a display such as a Liquid Crystal Display (LCD) and a speaker; a storage section including a hard disk or the like; and a communication section including a network interface card such as a LAN card, a modem, and the like. The communication section performs communication processing via a network such as the internet. The drives are also connected to the I/O interfaces as needed. Removable media such as magnetic disks, optical disks, magneto-optical disks, semiconductor memories, and the like are mounted on the drive as needed so that a computer program read therefrom is mounted into the storage section as needed.
In particular, according to the present embodiment, the procedure described in the above flowcharts may be implemented as a computer software program. For example, the present embodiments include a computer program product comprising a computer program tangibly embodied on a computer-readable medium, the computer program containing program code for performing the method shown in the flowchart. In such embodiments, the computer program may be downloaded and installed from a network via a communication portion, and/or installed from a removable medium.
The flowcharts and diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to the present embodiments. In this regard, each block in the flowchart or schematic diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the diagrams and/or flowchart illustration, and combinations of blocks in the diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
On the other hand, the present embodiment also provides a nonvolatile computer storage medium, which may be the nonvolatile computer storage medium included in the apparatus in the above embodiment or may be a nonvolatile computer storage medium existing separately and not incorporated in the terminal. The non-volatile computer storage medium stores one or more programs that, when executed by an apparatus, cause the apparatus to: and executing the processes of variable creation, label template creation and drawing, service type and label template binding and label printing in the label printing method.
It should be understood that the foregoing examples of the present invention are provided merely for clearly illustrating the present invention and are not intended to limit the embodiments of the present invention, and that various other changes and modifications may be made therein by one skilled in the art without departing from the spirit and scope of the present invention as defined by the appended claims.

Claims (17)

1. A label printing method applied to a computer device, the method comprising:
displaying a first interface, wherein the first interface comprises at least one service type selection control;
responding to the operation of the service type selection control, acquiring corresponding service data from a service system and displaying a second interface, wherein the second interface comprises a printing control, a data item of the corresponding service data and a data item selection control corresponding to the data item;
and responding to the operation of the data item selection control and the printing control, and controlling a printer to print a label according to the data content corresponding to the data item and the label template bound by the service type, wherein the label template comprises at least one text item and/or at least one identification code item, at least one item of the text item is related to service data, and at least one item of the identification code item is related to service data.
2. The method according to claim 1, wherein the method further comprises:
displaying a third interface, the third interface comprising a default print control;
responding to the operation of the default printing control, displaying a fourth interface, wherein the fourth interface comprises a service type item and a binding control corresponding to the service type item;
And displaying a fifth interface in response to the operation of the binding control, wherein the fifth interface comprises a label template selection control, and determining a label template with a business type bound in response to the operation of the label template selection control.
3. The method according to claim 1, wherein the method further comprises:
displaying a third interface, wherein the third interface comprises a label template creation control;
responsive to an operation of the label template creation control, displaying a sixth interface, the sixth interface including a label template name input control;
in response to operation of the label template name input control, a label template is created.
4. The method of claim 3, wherein the sixth interface further comprises a label template use setting control and a label template remark input control.
5. The method according to claim 1, wherein the method further comprises:
displaying a third interface, wherein the third interface comprises a label template list, the label template list comprises created label template items and drawing controls corresponding to the label template items,
in response to the operation of the label template drawing control, displaying a seventh interface, wherein the seventh interface comprises a component list, a drawing area and a setting area, and the component list comprises a text component and an identification code component;
Generating text items and displaying the text items in the drawing area in response to the operation of the text components in the component list, and displaying text content setting controls in the setting area; responding to a first operation of the text content setting control, acquiring text content of a text item and displaying the text content in the text item displayed in the drawing area; responsive to a second operation of the text content setting control, displaying a variable selection control; determining variable codes of text items associated with business data and displaying the variable codes in the text items displayed in the drawing area in response to the operation of the variable selection control;
generating and displaying an identification code item in the drawing area in response to the operation of the identification code component in the component list, and displaying an identification code information setting control in the setting area; acquiring the identification code information content of an identification code item in response to a first operation of the identification code information setting control; responsive to a second operation of the identification code information setting control, displaying a variable selection control; in response to operation of the variable selection control, a variable encoding of the identification code item associated with the business data is determined.
6. The method of claim 5, wherein the operation on a text component in the list of components and the operation on an identification code component in the list of components each comprise a drag operation.
7. The method of claim 5, wherein the step of determining the position of the probe is performed,
the generating text items and displaying in the drawing area in response to the operation on the text components in the component list, and displaying text content setting controls in the setting area further includes: displaying a text format setting control and/or a text item position setting control in the setting area; the method further comprises the steps of: setting a text format or position of the text item in response to an operation of the display text format setting control or the text item position setting control;
the generating and displaying the identification code item in the drawing area in response to the operation of the identification code component in the component list, and displaying the identification code information setting control in the setting area further includes: displaying at least one of an identification code type setting control, an identification code item size setting control and an identification code item position setting control in the setting area; the method further comprises the steps of: the identification code type, size, or location of the identification code item is set in response to an operation of the identification code type setting control, the identification code item size setting control, or the identification code item location setting control.
8. The method of claim 5, wherein the seventh interface further comprises a label sizing control, the method further comprising: and responding to the operation of the label size setting control, and determining the size of the label corresponding to the label template.
9. The method of claim 1, wherein the list of components further comprises a picture component, the method further comprising:
generating a picture item and displaying the picture item in the drawing area in response to the operation of the picture component in the component list, and displaying a picture setting control in the setting area; responding to the operation of setting the control on the picture, and displaying a picture insertion control; and responding to the operation of inserting the control into the picture, acquiring the picture of the picture item and displaying the picture in the picture item displayed in the drawing area.
10. The method of claim 9, wherein the generating and displaying a picture item in the drawing area in response to an operation on a picture component in the component list, and displaying a picture setting control in the setting area further comprises: displaying a picture item size setting control and/or picture item position setting in the setting area; the method further comprises the steps of: and setting the size or position of the picture item in response to the operation of the picture item size setting control or the picture item position setting control.
11. The method of claim 5, wherein the method further comprises:
displaying an eighth interface, the eighth interface comprising a variable creation control;
responsive to an operation of the variable creation control, displaying a ninth interface, the ninth interface including a variable name input control and a variable encoding setup control;
in response to operation of the variable name input control and the variable encoding setup control, a variable is created.
12. The method of claim 11, wherein the eighth interface further comprises a variable list comprising variable items of the created variables.
13. The method according to any one of claims 1-12, wherein controlling the printer to print the label according to the data content corresponding to the data item and the label template bound by the service type further comprises:
rendering to obtain an HTML label according to the data content corresponding to the data item and the label template bound by the service type, converting the HTML label into a Canvas label, converting the Canvas label into a picture to be printed, and sending the picture to be printed or a printing instruction obtained according to the picture to be printed to a printer so as to control the printer to print the label.
14. The method according to claim 13, further comprising, before the sending the picture to be printed or the print instruction converted from the picture to be printed to a printer: and displaying the print preview of the picture to be printed.
15. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1-14 when the program is executed by the processor.
16. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any one of claims 1-14.
17. A label printing system comprising a printer and a computer device as claimed in claim 15.
CN202210253732.6A 2022-03-15 2022-03-15 Label printing method and system, computer equipment and medium Pending CN116795243A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210253732.6A CN116795243A (en) 2022-03-15 2022-03-15 Label printing method and system, computer equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210253732.6A CN116795243A (en) 2022-03-15 2022-03-15 Label printing method and system, computer equipment and medium

Publications (1)

Publication Number Publication Date
CN116795243A true CN116795243A (en) 2023-09-22

Family

ID=88048450

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210253732.6A Pending CN116795243A (en) 2022-03-15 2022-03-15 Label printing method and system, computer equipment and medium

Country Status (1)

Country Link
CN (1) CN116795243A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117236356A (en) * 2023-11-15 2023-12-15 冠骋信息技术(苏州)有限公司 Label on-line design and printing method based on WEB

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117236356A (en) * 2023-11-15 2023-12-15 冠骋信息技术(苏州)有限公司 Label on-line design and printing method based on WEB

Similar Documents

Publication Publication Date Title
JP6384571B2 (en) Terminal control method
US10108584B2 (en) Host apparatus and screen capture control method thereof
US9509731B2 (en) Information processing apparatus, information processing system, and information display method
US20060174199A1 (en) Web-based design system
CN101410787A (en) Method and apparatus to generate XHTML data in device
CN101136978A (en) Printer control device
US20020109725A1 (en) Control apparatus and control method for starting application software on a computer, and multi-monitor computer, client-server system, and storage medium using the same
EP2709309A1 (en) Information processing device and conference system
US10241730B2 (en) Printer device, method, and control device for print templates
US20130339459A1 (en) Information sharing apparatus, information sharing system, and method of processing information
US20080276165A1 (en) Method and apparatus for image processing, and computer program product
US11281849B2 (en) System and method for printable document viewer optimization
JP2002073242A (en) Annotation method and additional writing method in application window and computer device and automatic contractor and collaboration system and storage medium and computer program product and program transmitting device
CN102460427A (en) Image processing apparatus, image processing method, and storage medium
CN105912315A (en) Information Processing Apparatus, Information Processing System, Information Processing Method, And A Computer Program Product
JP2016162184A (en) Information processing system, information processing device, control method and computer program
CN116795243A (en) Label printing method and system, computer equipment and medium
WO2010143637A1 (en) Image processing apparatus, image processing method and storage medium
JP2019133379A (en) Information processing device and information processing program
JP2008269108A (en) Information processor and program
KR101345726B1 (en) Method for printing a captured screen of web pages
CN111367607A (en) Dynamic electronic contract generating and signing system and implementation method thereof
CN111428452A (en) Comment data storage method and device
CN113568613A (en) Method for on-line rotating dynamic interactive webpage of svg configuration flow chart
JP2002373044A (en) Icon preparing device

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