Label printing template generation method and device

A template generation and labeling technology, applied in the field of information processing, can solve the problem that the label printing template cannot be viewed in real time, such as the template style

Pending Publication Date: 2020-10-16
上海乾臻信息科技有限公司
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of this application is to provide a label printing template generation method and device, electronic equipment, and a computer-readable storage medium to solve the problem that the label printing template in the prior art cannot be viewed in real time during the modification process.

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 template generation method and device
  • Label printing template generation method and device
  • Label printing template generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Below, the present application will be further described in conjunction with the accompanying drawings and specific implementation methods. It should be noted that, on the premise of not conflicting, the various embodiments described below or the technical features can be combined arbitrarily to form a new embodiment. .

[0040] An embodiment of the present application provides a method for generating a label printing template, which is used to generate a label printing template used when printing labels, and can be widely used in the fields of printing electronic face sheets, shopping receipts, electronic receipts, train tickets and air tickets.

[0041] see figure 1 , the method may include steps S101 to S104.

[0042] Step S101: Obtain an html file, and add a Canvas element in the html file. Wherein, the html file corresponds to the generated label printing template one by one. The Canvas element is used to draw physical objects in the canvas. The attribute paramet...

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 provides a label printing template generation method and device. The method comprises the steps of obtaining an html file, and adding a Canvas element into the html file; drawing an entity object group on the Canvas element; acquiring json data of a label printing template according to the entity object group; sending the html file to a browser, analyzing the html file by the browserand then displaying an effect picture of the label printing template, and the effect picture of the label printing template comprising the Canvas element and the entity object group. The Canvas element is added into the html file; each entity object required by the printing template is drawn on the Canvas element; a user adds or modifies the label printing template through the html file; and thehtml file is analyzed through the browser to display the effect picture of the label printing template, so that the user can visually and conveniently check the style of the template in real time andgenerate the json data of the template file in real time in the process of adding and modifying the label printing template.

Description

technical field [0001] The present application relates to the technical field of information processing, and in particular to a method and device for generating a label printing template, electronic equipment, and a computer-readable storage medium. Background technique [0002] Nowadays, there are more and more industries that use printed labels. Common printed labels include electronic face sheets used in the express delivery industry, receipts used in catering and shopping, electronic receipts in the banking industry, and train tickets and air tickets in the transportation system. [0003] Currently, the template used when printing labels is in the form of a json file. When adding or modifying a template, the content of the json file needs to be added or modified. However, the template style cannot be visually viewed during the modification process, so developers cannot see the changes brought about. Changes affect the development efficiency of templates. Contents of th...

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/186G06F16/84G06F16/838G06F16/957
CPCG06F16/838G06F16/84G06F16/9577G06F40/186
Inventor 王永喜闫心现赵静乔碧碧徐燕超王鹏飞
Owner 上海乾臻信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products