Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Label printing method and system based on XML and Excel

An excel and signage technology, which is applied in the field of signage printing methods and systems based on XML and Excel, can solve the problems of not being able to meet real-time requirements, difficulty in achieving what you see is what you get, and difficulties for ordinary operators, so as to improve real-time response performance , Reduce the effect of implementation and maintenance costs

Inactive Publication Date: 2020-08-25
YUNNAN KUNGANG ELECTRONICS INFORMATION TECH CO LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the prior art, the hard-coded label printing method in the software is generally used for the label printing of products such as steel products. Although it can meet some requirements, there are one or another deficiencies in terms of implementation cost, maintenance cost and flexibility, especially when When product signage requirements change, not only is it difficult for ordinary operators to customize in a timely manner, they often have to wait for developers to modify them, or even re-develop new programs before they can be realized. Moreover, it is difficult to achieve what you see is what you get in the modification process, requiring developers The modification can only be completed after repeated printing attempts, and the modification efficiency is also low, which often cannot meet the real-time requirements of frequent changes in steel and other multi-specification and multi-variety product labels

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Label printing method and system based on XML and Excel
  • Label printing method and system based on XML and Excel
  • Label printing method and system based on XML and Excel

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0060] like figure 1 , 2 As shown in and 3, the process of printing a custom steel label with a barcode is as follows:

[0061] S100: Define the sign type according to the steel sign requirements: such as image 3 As shown, the format of rows and columns displayed on the label is fixed, and a two-dimensional barcode needs to be printed. The data comes from the database, but the format of the height, length, and label elements of the label printing paper is dynamic and variable, which needs to be based on the production situation and the actual consumption of label paper. Circumstances dictate, therefore, that signs with barcode printing are defined as Type I based on signage requirements.

[0062] S200: Define an XML configuration file according to the Type I signage type defined in S100.

[0063] S210: Create a new folder named "hot-rolled steel strip big brand" under the specified path of the computer hard disk named after the sign.

[0064] S220: Create a new Excel file...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a label printing method and system based on XML and Excel. The printing method comprises the steps: defining the type of a label according to the requirement of a pre-printed label; defining an XML configuration file according to the label type; analyzing the XML configuration file to obtain configuration file information, and loading an Excel template file; according to the configuration file information, obtaining original data from a data source and processing the original data to generate label data; combining the label data with the loaded Excel template file, andgenerating label Excel data in a system memory; and printing the label Excel data according to the configuration file information. The system comprises a label definition module, a configuration module, an analysis and loading module, a label data generation module, a label generation module and a printing processing module. According to the method and the system, a user can customize and dynamically generate the label only by using Excel, so that the WYSIWYG function is realized, and meanwhile, the implementation and maintenance cost can be greatly reduced.

Description

technical field [0001] The invention belongs to the technical field of sign printing, and in particular relates to a sign printing method and system based on XML and Excel, which are simple to use, customizable, and can greatly reduce implementation and maintenance costs. Background technique [0002] A sign is a sign used to identify important information such as varieties, specifications, and quantities of goods or services, and belongs to one of the labels. For example, steel signs are mainly used to display brand, steel type, weight and other information. In the prior art, the hard-coded label printing method in the software is generally used for the label printing of products such as steel products. Although it can meet some requirements, there are one or another deficiencies in terms of implementation cost, maintenance cost and flexibility, especially when When product signage requirements change, not only is it difficult for ordinary operators to customize in a timel...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F40/186G06F40/174G06F3/12
CPCG06F3/1243G06F40/174G06F40/186
Inventor 白建民彭海波王合宽匡胜徽杨洋
Owner YUNNAN KUNGANG ELECTRONICS INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products