CN116382602A - Label printing method and device - Google Patents

Label printing method and device Download PDF

Info

Publication number
CN116382602A
CN116382602A CN202310347253.5A CN202310347253A CN116382602A CN 116382602 A CN116382602 A CN 116382602A CN 202310347253 A CN202310347253 A CN 202310347253A CN 116382602 A CN116382602 A CN 116382602A
Authority
CN
China
Prior art keywords
label
printing
information
content
task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202310347253.5A
Other languages
Chinese (zh)
Other versions
CN116382602B (en
Inventor
庞建军
白银峰
邓善亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Super Synchronization Co ltd
Original Assignee
Super Synchronization 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 Super Synchronization Co ltd filed Critical Super Synchronization Co ltd
Priority to CN202310347253.5A priority Critical patent/CN116382602B/en
Publication of CN116382602A publication Critical patent/CN116382602A/en
Application granted granted Critical
Publication of CN116382602B publication Critical patent/CN116382602B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/121Facilitating exception or error detection and recovery, e.g. fault, media or consumables depleted
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/407Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed for marking on special material
    • B41J3/4075Tape printers; Label printers
    • 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/125Page layout or assigning input pages onto output media, e.g. imposition
    • 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/1275Print workflow management, e.g. defining or changing a workflow, cross publishing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

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)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Labeling Devices (AREA)

Abstract

The application provides a label printing method and device, wherein the method comprises the following steps: displaying a task management interface; the task management interface comprises a task management control and a content display area; responding to the triggering operation of the label printing control in the task management control, and displaying the task content of the label printing task through the content display area; responding to the selected operation of the task detail area in the task content, acquiring the product label information and displaying the product label information through a label information interface; the label information interface comprises a label preview area and a printing management control; and responding to the triggering operation of the label control generated in the printing management control, generating a standard printing information body corresponding to the display content in the label preview area, and transmitting the standard printing information body to the printing equipment. The method and the device automatically acquire the product label information through the computer, generate the standard printing information body for printing, and have the effect of relieving the high printing error rate caused by inputting printing contents in printing software manually in the current label printing technology.

Description

Label printing method and device
Technical Field
The application relates to the field of label printing, in particular to a label printing method and device.
Background
A label printer is one of output devices of a computer for printing output contents of the computer on a relevant medium, and plays an important role in business offices. The label printer can realize label printing, and a printer personnel inputs printing content and edits and typesets the printing content to obtain a label which is printed and output.
In the prior art, printing software provided by a label printer manufacturer is generally used, and a user manually inputs printing content according to a printing template in the printing software to finish printing. This approach requires the user to manually input the content to be printed into the printing software for printing, but the manually input content has a high error rate and low efficiency.
Therefore, the current label printing technology has the technical problem of high printing error rate caused by the fact that printing content is manually input into printing software.
Disclosure of Invention
In order to solve the technical problem that printing error rate is high due to the fact that printing content is input into printing software manually in the current label printing technology, the application provides a label printing method and device.
In a first aspect of the present application, there is provided a label printing method, the method comprising:
displaying a task management interface; the task management interface comprises a task management control and a content display area;
responding to the triggering operation of the label printing control in the task management control, and displaying the task content of the label printing task through the content display area;
responding to the selected operation of the task detail area in the task content, acquiring the product label information and displaying the product label information through a label information interface; the label information interface comprises a label preview area and a print management control;
and responding to the triggering operation of the label control generated in the printing management control, generating a standard printing information body corresponding to the display content in the label preview area, and sending the standard printing information body to the printing equipment.
By adopting the technical scheme, after the label printing control is triggered in the task management control, the task content of the label printing task is displayed through the content display area of the task management interface, after the task detail area in the task content is selected, the product label information is acquired and displayed through the label information interface, after the label printing control is generated in the printing management control and triggered, the standard printing information body corresponding to the display content in the label preview area is generated, and the standard printing information body is sent to the printing equipment.
Optionally, the label information interface further includes a confirmation area, where the confirmation area is used to display product information corresponding to the product label information.
By adopting the technical scheme, the confirmation area comprises part of key information of the printing task, and a printer can judge whether the current printing content is the expected printing content according to the part of key information in the confirmation area.
Optionally, after the step of acquiring the product label information and displaying the product label information through the label information interface, the method further comprises:
responding to the editing operation of the product information in the confirmation area, and modifying the product information to obtain the adjusted product information;
and adjusting the content corresponding to the product information in the label preview area according to the adjusted product information.
By adopting the technical scheme, when the printing content needs to be modified, the text information needing to be modified can be selected in the confirmation area to complete the modification, and the printing content of the label preview area can be automatically adjusted.
Optionally, the step of obtaining product label information includes:
and acquiring product label information corresponding to the scheme number from a database based on the scheme number in the task detail area.
By adopting the technical scheme, the computer can search the product label information corresponding to the scheme number in the database according to the scheme number in the task detail area and automatically display the product label information, the printing content is input by the computer, and compared with manual input, the scheme greatly reduces the time of information input and has the advantage of high efficiency.
Optionally, after the step of displaying the task management interface, the method further includes:
and responding to the triggering operation of the task auditing control in the task management control, and displaying the content to be audited through the content display area.
By adopting the technical scheme, after the task auditing control in the task management control is triggered, maintenance personnel can audit the content to be audited, so that the correctness of the product label information is further ensured.
Optionally, after the step of displaying the content to be audited through the content display area, the method further includes:
modifying the content to be audited in response to the modification operation of the content to be audited;
and updating the product information in the database.
By adopting the technical scheme, when the to-be-audited content has the information to be updated, the to-be-audited content can be modified through the modification operation, and the product information is updated in the database according to the modified content, so that the printed label content can also be updated.
Optionally, before the step of generating the standard print information body corresponding to the display content in the label preview area, the method further includes:
responding to the triggering operation of the correction printing control in the printing management control, and acquiring paper offset data sent by a label printer;
obtaining boundary data of a preset printing template;
and generating and displaying correction information according to the paper offset data and the boundary data.
By adopting the technical scheme, after the correction printing control is triggered in the printing management control, the paper offset data and the boundary data are acquired, and the correction information is generated and displayed according to the paper offset data and the boundary data.
Optionally, the step of generating the standard printing information body corresponding to the display content in the label preview area includes:
executing a preset printing program;
judging whether the printing content meets the requirements according to a preset data standard;
if the print content meets the requirement, generating a standard print information body corresponding to the display content in the label preview area;
if the printing content does not meet the requirements, generating prompt information to remind the printer of the error of the printing content.
By adopting the technical scheme, after the printing program is executed, whether the printing content meets the requirements is judged according to the preset data standard, if the printing content meets the requirements, printing can be directly carried out, and if the printing content does not meet the requirements, prompt information is generated to remind a printer that the printing content is wrong, so that the printing accuracy is further improved.
Optionally, after the step of controlling the label printer to print to obtain the personalized custom label, the method further comprises:
the label information interface also comprises a printing record area, and a printing record is generated and displayed through the printing record area in response to the triggering operation of the label control generated in the printing management control.
By adopting the technical scheme, when the personalized custom label is printed, the printing record corresponding to the printing content is generated, and the printer can print the personalized custom label again according to the printing record, so that the time is saved.
In a second aspect of the present application there is provided a label printing apparatus, the apparatus comprising:
the task interface display module is used for displaying a task management interface; the task management interface comprises a task management control and a content display area;
the control triggering module is used for responding to the triggering operation of the label printing control in the task management control and displaying the task content of the label printing task through the content display area;
the label information interface display module is used for responding to the selected operation of the task detail area in the task content, acquiring the label information of the product and displaying the label information through a label information interface; the label information interface comprises a label preview area and a print management control;
and the label printing module is used for responding to the triggering operation of the label control generated in the printing management control, generating a standard printing information body corresponding to the display content in the label preview area and sending the standard printing information body to the printing equipment.
In summary, the present application includes at least one of the following beneficial technical effects:
1. when the personalized custom label printing is carried out by adopting the scheme, the printing content is automatically acquired by a computer, the error rate of printing by using the method is low, a printer only needs to select a task to be printed, and the printing can be finished by directly triggering the label generation control, so that the technical problem of high printing error rate caused by inputting the printing content in printing software manually in the current label printing technology is solved;
2. by adopting the scheme, the printing content is input by the computer, compared with manual input, the scheme greatly reduces the time of information input and has the advantage of high efficiency.
Drawings
Fig. 1 is a schematic flow chart of a label printing method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a task management interface according to an embodiment of the present application;
FIG. 3 is a flow chart of a product information maintenance step according to an embodiment of the present application;
FIG. 4 is a schematic diagram of another task management interface according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a tag information interface according to an embodiment of the present application;
FIG. 6 is a schematic diagram of another tag information interface according to an embodiment of the present application;
FIG. 7 is a schematic view of a normal paper sheet of an embodiment of the present application;
FIG. 8 is a schematic illustration of offset paper according to an embodiment of the present application;
FIG. 9 is a flow chart of the steps for generating a standard print message body in accordance with an embodiment of the present application;
FIG. 10 is a multi-terminal interaction schematic of an embodiment of the present application;
FIG. 11 is a block diagram of a label printing apparatus according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Reference numerals illustrate: 1. a task interface display module; 2. a control triggering module; 3. the label information interface display module; 4. a label printing module; 1000. an electronic device; 1001. a processor; 1002. a communication bus; 1003. a user interface; 1004. a network interface; 1005. a memory.
Detailed Description
In order to make the technical solutions in the present specification better understood by those skilled in the art, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present application, but not all embodiments.
In the description of embodiments of the present application, words such as "exemplary," "such as" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "illustrative," "such as" or "for example" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "illustratively," "such as" or "for example," etc., is intended to present related concepts in a concrete fashion.
In the description of the embodiments of the present application, the term "and/or" is merely an association relationship describing an association object, and indicates that three relationships may exist, for example, a and/or B may indicate: a alone, B alone, and both A and B. In addition, unless otherwise indicated, the term "plurality" means two or more. For example, a plurality of systems means two or more systems, and a plurality of screen terminals means two or more screen terminals. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating an indicated technical feature. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
Referring to fig. 1, an embodiment of the present application discloses a flowchart of a label printing method, which specifically includes:
s10: and displaying a task management interface, wherein the task management interface comprises a task management control and a content display area.
The execution subject of the application is a computer, and in an exemplary embodiment, the application is suitable for enterprise printing, and an enterprise information platform and printer driver software inside the enterprise need to be installed in the computer before personalized custom label printing is performed by using the application.
The printer driver software is a tie for exchanging information between the computer and the printer, the printer driver software needs to be matched with the model of the printer, the printer driver software comprises a printer driver program, and the printer driver program can connect the computer and the printer and convert the application program data of the computer end into a program of data which can be identified and printed by the label machine. In this embodiment, the label printer may be TSC TTP-244 Plus in model number and the printer driver software is TSC TTP-244 Plus driver software.
The enterprise information platform is a digitized platform for storing and processing internal information and external information by an enterprise, can adopt a manufacturing execution system (Manufacturing Execution System, abbreviated as MES) for management, and can integrate order management and production management into a platform for unified management based on the enterprise information platform of the manufacturing execution system. The enterprise information platform comprises a task management interface, the task management interface can display order tasks of an enterprise, enterprise personnel can process the order tasks issued by the enterprise through the task management interface, and in the embodiment, the task management interface comprises a task management control and a content display area.
The task management control is a set of a plurality of controls with different functions, and after any one of the task management controls is triggered, the content related to the control is displayed in a content display area beside the task management control.
Specifically, when the printer computer installs the enterprise information platform and the printer driver software and opens the enterprise information platform, the computer display screen displays a task management interface, and the task management interface comprises a task management control and a content display area.
S20: and responding to the triggering operation of the label printing control in the task management control, and displaying the task content of the label printing task through the content display area.
Specifically, after the printer triggers the label printing control in the task management control, the computer responds to the triggering operation of the printer, and the task content of the label printing task is displayed in the content display area, and the triggering operation can be specifically a clicking control.
For example, referring to fig. 2, fig. 2 is a schematic diagram of a task management interface according to an embodiment of the present application, a task management control is located above the task management interface, the task management control includes a label printing control and a task auditing control, and a content display area is located below the task management interface. The content of the content display area is related to the task management control, and in fig. 2, the content displayed in the content display area is the display content after the label printing control is triggered by clicking, and the content display area comprises a basic information display area, a task detail display area and a change record display area. The content of the basic information display area and the change record display area is related to task controls in the task detail display area, the task controls are controls formed by a row with a digital serial number, each task control corresponds to one product task, the product task is issued by an order management link, the number of the task controls corresponds to the number of orders in order management, when the number of orders in order management is increased, the number of the task controls is correspondingly increased, and when a certain task is completed, the task controls corresponding to the task are deleted. When clicking a certain task control, the basic information display area displays basic information of a product task corresponding to the task control, and the change record display area displays a change record of the product task corresponding to the task control.
S30: and responding to the selected operation of the task detail area in the task content, acquiring the product label information and displaying the product label information through a label information interface, wherein the label information interface comprises a label preview area and a print management control.
The product label information is basic information of a product corresponding to a label to be printed, the product label information comprises production information and contract information, wherein the production information is data of an entity product corresponding to a personalized custom label, and the production information is obtained by a production management link; the contract information is coded information obtained by coding a customer order of a purchase entity product and information of special requirements of the customer on the product, and is obtained by an order management link.
Referring to fig. 2, in this embodiment, the task control in the task detail area includes a task serial number, a product name, a customer name, a product model number, a contract number and a plan number, and a printer can primarily learn about a task according to contents in the task control, and select a task to be printed currently, where the operation of selecting the task detail area may specifically be an operation of double clicking the task control in the task detail area.
Specifically, after a printer selects a task control in the task detail area, the computer acquires product label information and displays the product label information through a label information interface, wherein the label information interface comprises a label preview area and a print management control.
In this embodiment, the step of obtaining the product tag information specifically includes: based on the plan number in the task detail area, product label information corresponding to the plan number is acquired from the database.
The scheme number is generated by an order management link, and after an enterprise and a customer reach cooperation and make a contract, a corresponding order with the customer can be established through order management in an enterprise information platform, and in the order, each product ordered by the customer corresponds to one scheme number sequentially generated by a system.
The database stores the plan number, the production information corresponding to the plan number, and the contract information corresponding to the plan number. After a printer selects a task control to be printed in the task detail area, the computer searches the product label information corresponding to the scheme number in the database based on the scheme number in the task control, and displays the product label information through a label information interface.
Referring to fig. 3, in the present embodiment, after the step of displaying the task management interface, the maintenance step of the product information specifically includes S301 to S302.
S301: and responding to the triggering operation of the task auditing control in the task management control, and displaying the content to be audited through the content display area.
The product information comprises order product information and production product information, the order product information comprises contract information, the production product information comprises production information, and the production information and the contract information jointly form product label information.
Specifically, the maintainer is a person who updates product information in real time in an enterprise, after the maintainer triggers a task auditing control in the task management control, the computer responds to the triggering operation of the maintainer, the task content of task auditing is displayed in the content display area, the triggering operation can be specifically a single click task auditing control, and the maintainer can audit the content to be audited in the content display area.
Specifically, referring to fig. 4, fig. 4 is a schematic diagram of another task management interface according to an embodiment of the present application, and in fig. 4, content displayed in a content display area is displayed content after a task audit control is triggered by clicking, where the content display area includes a relevant task display area and a product information display area. The content of the product information display area is related to task controls in the related task display area, and the task controls are controls formed by one row with a digital serial number. When the task control with the serial number of 1 in the related task display area is triggered, the detailed information display area displays product information corresponding to the selected task, and the product information displayed in the product information display area is obtained from a database by a computer.
S302: and modifying the content to be checked in response to the modification operation of the content to be checked, and updating the product information in the database.
Specifically, when the maintainer needs to update the content to be audited, and after the modification control in the product information display area of the computer is triggered, the computer responds to the triggering operation of the maintainer, and changes all the information in the product information display area from a read-only state to an editable state, the maintainer can adaptively change all the information in the product information display area in the editable state according to the updated content, the computer responds to the modification operation of the content to be audited, modifies the corresponding information in the content to be audited, and updates the corresponding product information in the database, so that the data in the database can keep the latest state. In addition, the modification information of the content to be audited can be displayed through the change record area of the content display area of the task management interface, so that the whole maintenance process is completed.
S40: and in response to the editing operation of the product information in the confirmation area, modifying the product information to obtain the adjusted product information, and adjusting the content corresponding to the product information in the tag preview area according to the adjusted product information.
Referring to fig. 5, the label information interface includes a label preview area, a confirmation area and a print management control, where the label preview area is used to enable a printer to visually observe specific contents of a printed label, and in this embodiment, contents of the label preview area include a product name, product data, two-dimensional code, product model, product code and text information. The product name is the name of the product ordered by the customer; the product data is specific attribute parameters of the product; the scanned content of the two-dimensional code comprises a product code, a product model and text information; the product model is enterprise custom code of the product; the product code is enterprise custom code of key part of the product; the product code is a custom code of the enterprise for the order; the text information is the part model of the product which is specially required by the customer.
The confirmation area is used for enabling the printer to confirm the content to be printed, and comprises a contract number, a client name, a product model number, label content and text information. The method comprises the steps that other information except text information in a confirmation area is read-only information, the text information is editable information, when the label information interface is accessed for the first time, the text information is initial information, and a printer can modify the text information according to the content of a change recording area of a content display area of a task management interface.
The content of the change record area comprises initial information and change information which needs to be changed, the change information is provided by a client, maintenance personnel inputs the change information provided by the client to the system in an order management link, the change record area is checked in a special requirement area in a detailed information area under a trigger task checking control of a task management interface, and the change record area under the trigger label printing control of the task management interface is displayed after the checking is finished.
And confirming that the label content in the area is consistent with the scanned content of the two-dimensional code, wherein the label content comprises a product model, a product code and text information.
Specifically, after the printer edits the product information in the confirmation area, the computer modifies the product information in the confirmation area from the initial information to the change information, and correspondingly adjusts the content corresponding to the product in the label preview area.
Referring to fig. 6, for example, if the customer's required encoder is different from the default encoder, the printer operator may select the encoder model through the encoder model control, so that the printed encoder model is consistent with the model of the encoder actually required by the customer, and when the modification is completed, the encoder model of the tag preview area is correspondingly adjusted to the required encoder model.
S50: and responding to the triggering operation of the correction printing control in the printing management control, acquiring the paper offset data sent by the label printer, acquiring the boundary data of the preset printing template, and generating and displaying correction information according to the paper offset data and the boundary data.
The paper offset data comprises a plurality of groups of left coordinates and right coordinates, the origin of the coordinates is the center point of a preset printing template, the paper offset data can be obtained according to a laser sensor installed on a label printer, the laser sensor scans paper to be printed from top to bottom, transverse laser and paper boundaries form a plurality of groups of intersecting points, and each group is internally provided with two intersecting points which are respectively the left coordinates and the right coordinates.
The preset printing template prescribes the specific placement position, fonts, word sizes and the like of each data in the product label information, and can be obtained through program development by enterprise developers. Boundary data of the preset printing template are left side coordinates and right side coordinates of the preset printing template, and an origin of the coordinates is a center point of the preset printing template.
Specifically, the printing management control comprises a label generating control and a correction printing control, when a printer triggers the correction printing control in the printing management control, paper offset data sent by a label printer are obtained, boundary data of a preset printing template are obtained, correction information is generated and displayed according to the paper offset data and the boundary data, and the correction information is the direction in which paper needs to move.
For example, referring to fig. 7 and 8, fig. 7 is a schematic diagram of a normal paper, A1 and A2 are left coordinates and right coordinates of a preset printing template, B1 and B2 are left coordinates and right coordinates of the normal printing of the paper, and a coordinate interval composed of A1 and A2 is included in a coordinate interval composed of B1 and B2; fig. 8 is a schematic diagram of offset paper, and B3 and B4 are left coordinates and right coordinates when offset printing is performed on paper, and at this time, the coordinate section formed by A1 and A2 is not completely included in the coordinate section formed by B3 and B4, and manual correction or automatic correction by the label printer is required.
S60: and responding to the triggering operation of the label control generated in the printing management control, generating a standard printing information body corresponding to the display content in the label preview area, and transmitting the standard printing information body to the printing equipment.
The display content of the label preview area is generated according to the standard printing template and the product label information.
Specifically, after a printer triggers a label generation control in the print management control, the computer receives a print instruction, generates a standard print information body according to the display content in the label preview area, and sends the standard print information body to a label printer for printing, wherein the content of the personalized custom label printed by the label printer is consistent with the display content of the label preview area.
Referring to fig. 9, the step of generating the standard print information body specifically includes S601-S602.
S601: executing a preset printing program, and judging whether the printing content meets the requirement according to a preset data standard.
The printing program is a program in the printer driver software, and the preset printing program can be a program in a printer dynamic link library in the printer driver software. The print content includes a preset print template and product label information.
The preset data standard is that the key information in the standard printing body is complete and the standard printing body is in a correct format. The key information of the standard print may include product code, product model number, product code, and text information. The specific judging method comprises the following steps: searching corresponding data in a storage space corresponding to the key information, if the corresponding data can be searched, the key information in the standard printing body is complete, otherwise, the key information is incomplete; checking the data of the standard printing body, if the data accords with a preset data rule, the format of the standard printing body is correct, otherwise, the format of the standard printing body is incorrect; when the key information in the standard printing body is complete and the format of the standard printing body is correct, the standard printing body meets the requirements, otherwise, the standard printing body does not meet the requirements.
Specifically, after the label control generated in the print management control is triggered, the computer calls a preset printing program, declares a function in the dynamic link library, initializes the function, and judges whether the printing content meets the requirement according to a preset data standard after the initialization is completed.
S602: if the printing content meets the requirements, generating a standard printing information body corresponding to the display content in the label preview area, and if the printing content does not meet the requirements, generating prompt information to remind a printer of the fact that the printing content is wrong.
Specifically, after judging whether the printing content meets the requirements according to the preset data standard, if the obtained result is that the printing content meets the requirements, converting the language type of the printing content into the language type which can be identified by the label printer to obtain a standard printing information body, and then sending the standard printing information body to the label printer for printing; if the obtained result is that the printing content does not meet the requirement, generating prompt information, wherein the prompt information comprises the name of the error information and the error reason, so as to remind the printer of the error of the printing content.
For example, if the print content lacks a product model, a hint message is generated: "product model missing".
S70: and generating and displaying a print record through the print record area in response to the triggering operation of the label generation control in the print management control.
Specifically, the label information interface further comprises a printing record area, when the label generating control in the printing management control is triggered, a printing record corresponding to the printing task is generated in the printing record area, and the printing record is displayed in a product code mode. And responding to the triggering operation of the product codes in the printing record area, and displaying the printing tasks corresponding to the product codes by the computer, namely correspondingly adjusting the contents of the label preview area and the confirmation area.
Referring to fig. 10, fig. 10 is a multi-terminal interaction diagram of the present embodiment, where the maintained product information includes product tag information, after a maintainer opens and logs in an enterprise information platform, a maintainer computer requests product information to be maintained from a database of the enterprise information platform, the maintainer computer receives the product information to be maintained and then maintains the product information to be maintained, so as to obtain maintained product information, and the maintainer computer sends the maintained product information to the database of the enterprise information platform, thereby completing maintenance operation. After maintenance is completed, a printer opens and logs in the enterprise information platform, a computer of the printer requests product label information from a database of the enterprise information platform, the computer of the printer receives the product label information and displays the product label information, generates a standard printing information body based on a printing instruction, sends the standard printing information body to a label printer, and the label printer prints the standard printing information body to obtain the personalized customized label.
The embodiment of the application discloses a label printing method, which is implemented according to the following principle: and after the enterprise information platform is started, a task management interface is displayed, task content of a label printing task is displayed through a content display area in response to triggering operation of a label printing control in the task management control, product label information is obtained and displayed through the label information interface in response to selecting operation of a task detail area in the task content, a standard printing information body corresponding to the display content in a label preview area is generated in response to triggering operation of the label printing control, and the standard printing information body is sent to printing equipment to finish personalized label printing, wherein the printing equipment is a label printer. The method and the device automatically acquire the product label information through the computer, generate the standard printing information body for printing, and have the effect of relieving the high printing error rate caused by inputting printing contents in printing software manually in the current label printing technology.
The embodiment of the application also discloses a label printing apparatus, referring to fig. 11, a label printing apparatus includes: the system comprises a task interface display module 1, a control trigger module 2, a label information interface display module 3 and a label printing module 4.
The task interface display module 1 is used for displaying a task management interface; the task management interface comprises a task management control and a content display area;
the control triggering module 2 is used for responding to the triggering operation of the label printing control in the task management control and displaying the task content of the label printing task through the content display area;
the label information interface display module 3 is used for responding to the selected operation of the task detail area in the task content, acquiring the product label information and displaying the product label information through a label information interface; the label information interface includes a label preview area and a print management control.
And the label printing module 4 is used for responding to the triggering operation of the label control generated in the printing management control, generating a standard printing information body corresponding to the display content in the label preview area and sending the standard printing information body to the printing equipment.
It should be noted that: in the device provided in the above embodiment, when implementing the functions thereof, only the division of the above functional modules is used as an example, in practical application, the above functional allocation may be implemented by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to implement all or part of the functions described above. In addition, the embodiments of the apparatus and the method provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the embodiments of the method are detailed in the method embodiments, which are not repeated herein.
Referring to fig. 12, a schematic structural diagram of an electronic device is provided in an embodiment of the present application. As shown in fig. 12, the electronic device 1000 may include: at least one processor 1001, at least one network interface 1004, a user interface 1003, a memory 1005, at least one communication bus 1002.
Wherein the communication bus 1002 is used to enable connected communication between these components.
The user interface 1003 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 1003 may further include a standard wired interface and a wireless interface.
The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Wherein the processor 1001 may include one or more processing cores. The processor 1001 connects various parts within the entire server using various interfaces and lines, performs various functions of the server and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1005, and calling data stored in the memory 1005. Alternatively, the processor 1001 may be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 1001 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 1001 and may be implemented by a single chip.
The Memory 1005 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). The memory 1005 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 1005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-described respective method embodiments, etc.; the storage data area may store data or the like involved in the above respective method embodiments. The memory 1005 may also optionally be at least one storage device located remotely from the processor 1001. As shown in fig. 12, an operating system, a network communication module, a user interface module, and an application program of a label printing method may be included in the memory 1005 as a computer storage medium.
In the electronic device 1000 shown in fig. 12, the user interface 1003 is mainly used for providing an input interface for a user, and acquiring data input by the user; and processor 1001 may be configured to invoke an application program in memory 1005 that stores a label printing method that, when executed by one or more processors, causes the electronic device to perform the method as described in one or more of the embodiments above.
An electronic device readable storage medium storing instructions. When executed by one or more processors, cause an electronic device to perform the method as described in one or more of the embodiments above.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required in the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
The foregoing is merely exemplary embodiments of the present disclosure and is not intended to limit the scope of the present disclosure. That is, equivalent changes and modifications are contemplated by the teachings of this disclosure, which fall within the scope of the present disclosure. Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a scope and spirit of the disclosure being indicated by the claims.

Claims (10)

1. A label printing method, comprising:
displaying a task management interface; the task management interface comprises a task management control and a content display area;
responding to the triggering operation of the label printing control in the task management control, and displaying the task content of the label printing task through the content display area;
responding to the selected operation of the task detail area in the task content, acquiring the product label information and displaying the product label information through a label information interface; the label information interface comprises a label preview area and a print management control;
and responding to the triggering operation of the label control generated in the printing management control, generating a standard printing information body corresponding to the display content in the label preview area, and sending the standard printing information body to the printing equipment.
2. The label printing method of claim 1, wherein the label information interface further comprises a confirmation area, and the confirmation area is used for displaying the product information corresponding to the product label information.
3. The label printing method according to claim 2, further comprising, after the step of acquiring the product label information and displaying the product label information through the label information interface:
responding to the editing operation of the product information in the confirmation area, and modifying the product information to obtain the adjusted product information;
and adjusting the content corresponding to the product information in the label preview area according to the adjusted product information.
4. The label printing method as claimed in claim 1, wherein the step of acquiring product label information comprises:
and acquiring product label information corresponding to the scheme number from a database based on the scheme number in the task detail area.
5. The label printing method of claim 4, further comprising, after the step of presenting the task management interface:
and responding to the triggering operation of the task auditing control in the task management control, and displaying the content to be audited through the content display area.
6. The method of claim 5, further comprising, after the step of displaying the content to be audited via the content display area:
modifying the content to be audited in response to the modification operation of the content to be audited;
updating the product information in the database.
7. The label printing method according to claim 1, further comprising, before the step of generating the standard print information body corresponding to the presentation content in the label preview area:
responding to the triggering operation of the correction printing control in the printing management control, and acquiring paper offset data sent by a label printer;
obtaining boundary data of a preset printing template;
and generating and displaying correction information according to the paper offset data and the boundary data.
8. The method of claim 1, wherein the step of generating a standard print information body corresponding to the presentation content in the tag preview area comprises:
executing a preset printing program;
judging whether the printing content meets the requirements according to a preset data standard;
if the print content meets the requirement, generating a standard print information body corresponding to the display content in the label preview area;
if the printing content does not meet the requirements, generating prompt information to remind the printer of the error of the printing content.
9. The label printing method of claim 8, further comprising, after the step of controlling the label printer to print to obtain the personalized custom label:
the label information interface also comprises a printing record area, and a printing record is generated and displayed through the printing record area in response to the triggering operation of the label control generated in the printing management control.
10. A label printing apparatus, the apparatus comprising:
the task interface display module (1) is used for displaying a task management interface; the task management interface comprises a task management control and a content display area;
the control triggering module (2) is used for responding to the triggering operation of the label printing control in the task management control and displaying the task content of the label printing task through the content display area;
the label information interface display module (3) is used for responding to the selected operation of the task detail area in the task content, acquiring the label information of the product and displaying the label information through a label information interface; the label information interface comprises a label preview area and a print management control;
and the label printing module (4) is used for responding to the triggering operation of the label control generated in the printing management control, generating a standard printing information body corresponding to the display content in the label preview area and sending the standard printing information body to the printing equipment.
CN202310347253.5A 2023-04-03 2023-04-03 Label printing method and device Active CN116382602B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310347253.5A CN116382602B (en) 2023-04-03 2023-04-03 Label printing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310347253.5A CN116382602B (en) 2023-04-03 2023-04-03 Label printing method and device

Publications (2)

Publication Number Publication Date
CN116382602A true CN116382602A (en) 2023-07-04
CN116382602B CN116382602B (en) 2023-12-22

Family

ID=86974477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310347253.5A Active CN116382602B (en) 2023-04-03 2023-04-03 Label printing method and device

Country Status (1)

Country Link
CN (1) CN116382602B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116976386A (en) * 2023-09-25 2023-10-31 北京市弘洁蓝天科技股份有限公司 Hazardous waste label printing method, hazardous waste warehousing method, system and medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100580210B1 (en) * 2004-12-13 2006-05-16 삼성전자주식회사 Apparatus and method of managing job using labeling
CN101462652A (en) * 2007-12-17 2009-06-24 金宝电子工业股份有限公司 Paper offset sensing method and paper offset correcting method
US20120120429A1 (en) * 2010-11-16 2012-05-17 Xerox Corporation System and method for automatically rendering labeling service prints with print engine parameters
CN102479371A (en) * 2010-11-24 2012-05-30 吴慧娟 Method for processing orders on basis of label information
US9858017B1 (en) * 2017-01-30 2018-01-02 Ricoh Company, Ltd. Enhanced GUI tools for entry of printing system data
CN108549917A (en) * 2018-03-06 2018-09-18 杭州优工品科技有限公司 Label data Method of printing and device
KR102162380B1 (en) * 2019-03-28 2020-10-06 (주)서영아이앤티 Apparatus and Method for manufacturing of label
CN112000302A (en) * 2020-08-25 2020-11-27 上海合阔信息技术有限公司 Label generation method, template configuration method, device and storage medium
US20200406633A1 (en) * 2019-06-28 2020-12-31 Brother Kogyo Kabushiki Kaisha Editing device editing print data for creating label with printer to which tape cassette is attachable
CN112162712A (en) * 2020-09-10 2021-01-01 张平 Label printing method and system based on template editing
CN112265384A (en) * 2020-09-30 2021-01-26 时时同云科技(成都)有限责任公司 Data printing method and device
CN113997696A (en) * 2021-10-19 2022-02-01 苏州恒辉科技有限公司 Label printing system, method, terminal and storage medium for product packaging box
CN114872449A (en) * 2022-04-22 2022-08-09 珠海趣印科技有限公司 Label printing method and device and electronic equipment

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100580210B1 (en) * 2004-12-13 2006-05-16 삼성전자주식회사 Apparatus and method of managing job using labeling
CN101462652A (en) * 2007-12-17 2009-06-24 金宝电子工业股份有限公司 Paper offset sensing method and paper offset correcting method
US20120120429A1 (en) * 2010-11-16 2012-05-17 Xerox Corporation System and method for automatically rendering labeling service prints with print engine parameters
CN102479371A (en) * 2010-11-24 2012-05-30 吴慧娟 Method for processing orders on basis of label information
US9858017B1 (en) * 2017-01-30 2018-01-02 Ricoh Company, Ltd. Enhanced GUI tools for entry of printing system data
CN108549917A (en) * 2018-03-06 2018-09-18 杭州优工品科技有限公司 Label data Method of printing and device
KR102162380B1 (en) * 2019-03-28 2020-10-06 (주)서영아이앤티 Apparatus and Method for manufacturing of label
US20200406633A1 (en) * 2019-06-28 2020-12-31 Brother Kogyo Kabushiki Kaisha Editing device editing print data for creating label with printer to which tape cassette is attachable
CN112000302A (en) * 2020-08-25 2020-11-27 上海合阔信息技术有限公司 Label generation method, template configuration method, device and storage medium
CN112162712A (en) * 2020-09-10 2021-01-01 张平 Label printing method and system based on template editing
CN112265384A (en) * 2020-09-30 2021-01-26 时时同云科技(成都)有限责任公司 Data printing method and device
CN113997696A (en) * 2021-10-19 2022-02-01 苏州恒辉科技有限公司 Label printing system, method, terminal and storage medium for product packaging box
CN114872449A (en) * 2022-04-22 2022-08-09 珠海趣印科技有限公司 Label printing method and device and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116976386A (en) * 2023-09-25 2023-10-31 北京市弘洁蓝天科技股份有限公司 Hazardous waste label printing method, hazardous waste warehousing method, system and medium

Also Published As

Publication number Publication date
CN116382602B (en) 2023-12-22

Similar Documents

Publication Publication Date Title
CN116382602B (en) Label printing method and device
KR100851100B1 (en) Information processing apparatus and information processing method
CN110597714A (en) Kafka message testing method and device, computer equipment and storage medium
JP5605004B2 (en) Manga production support system and program
TWI492004B (en) Programmable logic controller,programmable logic controller system and method for creating execution error information
EP0625748B1 (en) Program generating apparatus
CN117236356A (en) Label on-line design and printing method based on WEB
CN101639866B (en) Operations information management system
JP4870474B2 (en) Parts catalog display system and control method thereof
CN112668293B (en) Data report processing method
CN115061690A (en) Automatic code generation method and device
CN111680479A (en) Excel template-based form generation method and device and computer equipment
JP3704374B2 (en) Document management system
CN110941586A (en) Engineering design data management method and system
JP2005031932A (en) Relevant form determination system, electronic pen, and program
JPH04290167A (en) Design information offering control system for manufacture point in foreign country
JP4755622B2 (en) Multilingual display device and multilingual display method
JP2013084100A (en) Component management program and component management device
CN113760288A (en) Page generation method, page generation system and computer readable storage medium
CN117376598A (en) View arrangement method, device, electronic equipment and storage medium
JP4152752B2 (en) Data consistency check device and data consistency check method
CN116974542A (en) Code automatic generation method, device, equipment and readable storage medium
CN116578553A (en) Data quality checking system and method for data warehouse based on dolphin scheduling
JP2001075789A (en) Screen transition processor and storage medium
CN111126014A (en) Method, system and computer readable memory for dynamically generating customized graphic files

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
GR01 Patent grant
GR01 Patent grant