Variable content code spraying method and system

文档序号:1034912 发布日期:2020-10-30 浏览:18次 中文

阅读说明:本技术 一种可变内容的喷码方法及系统 (Variable content code spraying method and system ) 是由 陈佳 房鸿利 于晓亮 于 2020-08-28 设计创作,主要内容包括:一种可变内容的喷码方法及系统,将进行喷印的图片元素进行归档存储形成归档数据包,对归档数据包中的图片元素预设打印参数,打印参数包括位置信息和计数器信息;加载待发送至打印喷头的图片元素,判断加载的图片元素是否为要添加计数器的图片对象,若加载的图片元素为要添加计数器的图片对象,给图片元素在预设的区域添加预设的计数器信息;若加载的图片元素非添加计数器的图片对象,对图片元素跳过计数器信息添加;将图片元素和对应的位置信息送至打印喷头,根据预设的位置信息对图片元素进行喷码打印,完成当前的图片元素打印后进行下一张图片元素加载。本发明对喷印的图片元素使用喷码机一次喷印,减少操作步骤,提高生产效率。(A code spraying method and a system for variable contents are disclosed, picture elements subjected to spray printing are filed and stored to form a filing data packet, printing parameters are preset for the picture elements in the filing data packet, and the printing parameters comprise position information and counter information; loading a picture element to be sent to a printing nozzle, judging whether the loaded picture element is a picture object to which a counter is added, and if the loaded picture element is the picture object to which the counter is added, adding preset counter information to the picture element in a preset area; if the loaded picture element is not the picture object added with the counter, skipping the addition of the counter information to the picture element; and sending the picture elements and the corresponding position information to a printing nozzle, carrying out code spraying printing on the picture elements according to the preset position information, and loading the next picture element after the current picture element is printed. The invention uses the ink-jet printer to spray the printed picture elements at one time, reduces the operation steps and improves the production efficiency.)

1. A code spraying method for variable contents is characterized by comprising the following steps:

(1) archiving and storing the picture elements subjected to jet printing to form an archiving data packet, and presetting printing parameters for the picture elements in the archiving data packet, wherein the printing parameters comprise position information and counter information;

(2) loading the picture element to be sent to a printing nozzle, and judging whether the loaded picture element is a picture object to which a counter is added, a) if the loaded picture element is the picture object to which the counter is added, adding preset counter information to the picture element in a preset area; b) if the loaded picture element is not the picture object added with the counter, skipping the addition of the counter information to the picture element;

(3) and (3) sending the picture elements and the corresponding position information to a printing nozzle, carrying out code spraying printing on the picture elements according to preset position information, loading the next picture element after the current picture element is printed, and repeating the steps (2) and (3) until the printing is finished.

2. The method of claim 1, wherein the picture elements are stored in a file according to the product to which the picture elements belong, the picture elements belonging to a product are stored in a folder, and the picture elements in the folder corresponding to a product are loaded when a product is printed.

3. The variable-content code spraying method according to claim 1, wherein the printing object of the picture element is a box body, the box body is placed on a workbench after being unfolded, the workbench is provided with a driving mechanism which moves along the transverse direction and the longitudinal direction, and the driving mechanism drives a printing nozzle to spray and print the picture element according to the corresponding position information.

4. The method of claim 3, wherein the position information is a print coordinate of the picture element, and the print coordinate is determined according to a size of a print object of the picture element.

5. A variable content inkjet printing method according to claim 3, wherein the driving mechanism employs a driver including a lead screw sliding table, the print head is mounted on the lead screw sliding table, and the driver employs a stepping motor or a servo motor.

6. The method of claim 1, wherein the printing parameters further include a maximum value, a minimum value and a step value of a counter, a position of the counter in the picture element, a font used and a character spacing.

7. The method of claim 1, wherein picture elements in the archive data packet are numbered, and the picture object to be loaded is identified according to the picture element numbers, or the picture object to be printed is identified according to the picture element numbers.

8. A code spraying system with variable contents is characterized by comprising a control unit and a spray printing unit, wherein the control unit and the spray printing unit transmit information through a communication module;

the control unit includes:

a user interaction interface: the printing system is used for archiving and storing the picture elements subjected to jet printing to form an archiving data packet, and presetting printing parameters for the picture elements in the archiving data packet, wherein the printing parameters comprise position information and counter information;

the operation control module: the image element adding device is used for loading the image element to be sent to a printing nozzle and judging whether the loaded image element is an image object to which a counter is added, and a) if the loaded image element is the image object to which the counter is added, adding preset counter information to the image element in a preset area; b) if the loaded picture element is not the picture object added with the counter, skipping the addition of the counter information to the picture element; the image element and the corresponding position information are sent to a printing nozzle, code spraying printing is carried out on the image element according to preset position information, and loading of the next image element is carried out after printing of the current image element is finished;

the jet printing unit comprises a driving mechanism and a printing nozzle, and the driving mechanism drives the printing nozzle to jet print the picture elements according to the corresponding position information.

9. The variable-content code spraying system according to claim 8, wherein the driving mechanism adopts a driver comprising a lead screw sliding table, the printing nozzle is mounted on the lead screw sliding table, and the driver adopts a stepping motor or a servo motor;

the driving mechanism is configured on the workbench and moves transversely and longitudinally according to instructions.

10. The system according to claim 8, wherein the picture elements are stored in a file according to the product to which the picture elements belong, the picture elements belonging to a product are stored in a folder, and when a product is printed, the picture elements in the folder corresponding to the product are loaded;

the position information is the jet printing coordinate of the picture element, and the jet printing coordinate is determined according to the size of a printing object of the picture element;

the printing parameters also comprise the maximum value, the minimum value and the stepping value of the counter, the position of the counter in the picture element, and the used font and character spacing parameters;

the user interaction interface is also used for numbering the picture elements in the filing data packet, confirming the picture object which starts to be loaded according to the number of the picture elements, or confirming the picture object which is subjected to supplementary printing according to the number of the picture elements.

Technical Field

The invention belongs to the technical field of code spraying, and particularly relates to a code spraying method and system with variable contents.

Background

At present, need be according to the corresponding pattern sign of different customization content printing to the carton packing of small batch customization, a plurality of faces of carton, the content of every face is all inequality, still need print the product count on packing carton simultaneously, the printing factory small batch printing price is high to need stock in advance, if this customization product packing of later stage no longer uses, still can lead to the extravagant problem that the product can not be used of having printed, still need secondary ink jet numbering machine jet printing count during the use.

If the common ink jet printer is directly used for jet printing of the pattern marks, the operation steps are multiple, the printing content needs to be frequently switched, the jet printing cannot be completed at one time, the customized pattern marks are difficult to file and manage, and the jet printing efficiency is low. If the whole pattern mark is manufactured, an ink-jet printer is used for printing, the efficiency is low, the size of the carton is changed, and the picture needs to be manufactured again. A brand new idea of variable-content code spraying technical scheme is urgently needed.

Disclosure of Invention

Therefore, the invention provides the code spraying method and the code spraying system with variable contents, which realize one-time combined spray printing of the pictures required by the product packaging box, are convenient to file and call and avoid unnecessary waste.

In order to achieve the above purpose, the invention provides the following technical scheme: a code spraying method of variable contents comprises the following steps:

(1) archiving and storing the picture elements subjected to jet printing to form an archiving data packet, and presetting printing parameters for the picture elements in the archiving data packet, wherein the printing parameters comprise position information and counter information;

(2) loading the picture element to be sent to a printing nozzle, and judging whether the loaded picture element is a picture object to which a counter is added, a) if the loaded picture element is the picture object to which the counter is added, adding preset counter information to the picture element in a preset area; b) if the loaded picture element is not the picture object added with the counter, skipping the addition of the counter information to the picture element;

(3) and (3) sending the picture elements and the corresponding position information to a printing nozzle, carrying out code spraying printing on the picture elements according to preset position information, loading the next picture element after the current picture element is printed, and repeating the steps (2) and (3) until the printing is finished.

As a preferred scheme of the code spraying method for variable content, the picture elements are filed and stored according to the products to which the picture elements belong, the picture elements belonging to one product are filed in one folder, and the picture elements in the folder corresponding to the product are loaded when a certain product is printed.

As a preferred scheme of the code spraying method with variable content, the printing object of the picture element is a box body, the box body is placed on a workbench after being unfolded, the workbench is provided with a driving mechanism which moves along the transverse direction and the longitudinal direction, and the driving mechanism drives a printing nozzle to perform spray printing on the picture element according to corresponding position information.

As a preferable scheme of the code spraying method with variable content, the position information is a spray printing coordinate of the picture element, and the spray printing coordinate is determined according to a size of a printing object of the picture element.

As a preferable scheme of the code spraying method with variable content, the driving mechanism adopts a driver including a lead screw sliding table, the printing nozzle is installed on the lead screw sliding table, and the driver adopts a stepping motor or a servo motor.

As a preferable scheme of the code spraying method for variable content, the printing parameters further include a maximum value, a minimum value and a step value of a counter, a position of the counter in the picture element, and a font used and a character space used.

As a preferable scheme of the code spraying method for variable content, picture elements in the archive data packet are numbered, and a picture object to be started to be loaded is confirmed according to the numbers of the picture elements, or a picture object to be subjected to supplemental printing is confirmed according to the numbers of the picture elements.

The invention also provides a code spraying system with variable contents, which comprises a control unit and a spray printing unit, wherein the control unit and the spray printing unit transmit information through a communication module;

the control unit includes:

a user interaction interface: the printing system is used for archiving and storing the picture elements subjected to jet printing to form an archiving data packet, and presetting printing parameters for the picture elements in the archiving data packet, wherein the printing parameters comprise position information and counter information;

the operation control module: the image element adding device is used for loading the image element to be sent to a printing nozzle and judging whether the loaded image element is an image object to which a counter is added, and a) if the loaded image element is the image object to which the counter is added, adding preset counter information to the image element in a preset area; b) if the loaded picture element is not the picture object added with the counter, skipping the addition of the counter information to the picture element; the image element and the corresponding position information are sent to a printing nozzle, code spraying printing is carried out on the image element according to preset position information, and loading of the next image element is carried out after printing of the current image element is finished;

the jet printing unit comprises a driving mechanism and a printing nozzle, and the driving mechanism drives the printing nozzle to jet print the picture elements according to the corresponding position information.

As a preferable scheme of the code spraying system with variable content, the driving mechanism adopts a driver comprising a lead screw sliding table, the printing spray head is arranged on the lead screw sliding table, and the driver adopts a stepping motor or a servo motor;

the driving mechanism is configured on the workbench and moves transversely and longitudinally according to instructions.

As a preferable scheme of the code spraying system with variable content, the picture elements are filed and stored according to the products, the picture elements belonging to one product are filed in one folder, and the picture elements in the folder corresponding to the product are loaded when a certain product is printed;

the position information is the jet printing coordinate of the picture element, and the jet printing coordinate is determined according to the size of a printing object of the picture element;

the printing parameters also comprise the maximum value, the minimum value and the stepping value of the counter, the position of the counter in the picture element, and the used font and character spacing parameters;

the user interaction interface is also used for numbering the picture elements in the filing data packet, confirming the picture object which starts to be loaded according to the number of the picture elements, or confirming the picture object which is subjected to supplementary printing according to the number of the picture elements.

The method includes the steps that picture elements subjected to jet printing are filed and stored to form a filing data packet, printing parameters are preset for the picture elements in the filing data packet, and the printing parameters comprise position information and counter information; loading a picture element to be sent to a printing nozzle, judging whether the loaded picture element is a picture object to which a counter is added, and if the loaded picture element is the picture object to which the counter is added, adding preset counter information to the picture element in a preset area; if the loaded picture element is not the picture object added with the counter, skipping the addition of the counter information to the picture element; and sending the picture elements and the corresponding position information to a printing nozzle, carrying out code spraying printing on the picture elements according to the preset position information, and loading the next picture element after the current picture element is printed. The invention uses the ink-jet printer to spray-print the picture elements by one time, reduces the operation steps, improves the production efficiency, does not have the waste problem, and can spray-print the picture elements by the amount of the used picture elements; the problem that the ink-jet printer is difficult to file directly is solved, the picture elements of each product are placed in a file data packet, and loading is directly selected when the product is used; the equipment investment is reduced, the picture is simple to manufacture, and only the position parameters need to be adjusted after the size of the box body is changed, so that the picture does not need to be manufactured again.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It should be apparent that the drawings in the following description are merely exemplary, and that other embodiments can be derived from the drawings provided by those of ordinary skill in the art without inventive effort.

The structures, ratios, sizes, and the like shown in the present specification are only used for matching with the contents disclosed in the specification, so that those skilled in the art can understand and read the present invention, and do not limit the conditions for implementing the present invention, so that the present invention has no technical significance, and any structural modifications, changes in the ratio relationship, or adjustments of the sizes, without affecting the functions and purposes of the present invention, should still fall within the scope of the present invention.

Fig. 1 is a schematic flow chart of a code spraying method for variable content according to an embodiment of the present invention;

fig. 2 is a schematic diagram of a variable content code spraying system provided in an embodiment of the present invention.

Detailed Description

The present invention is described in terms of particular embodiments, other advantages and features of the invention will become apparent to those skilled in the art from the following disclosure, and it is to be understood that the described embodiments are merely exemplary of the invention and that it is not intended to limit the invention to the particular embodiments disclosed. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

Referring to fig. 1, there is provided a variable content inkjet printing method, including the steps of:

s1: archiving and storing the picture elements subjected to jet printing to form an archiving data packet, and presetting printing parameters for the picture elements in the archiving data packet, wherein the printing parameters comprise position information and counter information;

s2: loading the picture element to be sent to a printing nozzle, and judging whether the loaded picture element is a picture object to which a counter is added, a) if the loaded picture element is the picture object to which the counter is added, adding preset counter information to the picture element in a preset area; b) if the loaded picture element is not the picture object added with the counter, skipping the addition of the counter information to the picture element;

s3: and (3) sending the picture elements and the corresponding position information to a printing nozzle, carrying out code spraying printing on the picture elements according to preset position information, loading the next picture element after the current picture element is printed, and repeating the steps (2) and (3) until the printing is finished.

Specifically, the picture elements are filed and stored according to the products to which the picture elements belong, the picture elements belonging to one product are filed in one folder, and the picture elements in the folder corresponding to the product are loaded when a certain product is printed. The picture elements of each product are placed in a folder, and the folders are directly selected for automatic loading when the product is used.

Specifically, the printing object of the picture element is a box body, the box body is placed on a workbench after being unfolded, the workbench is provided with a driving mechanism which moves along the transverse direction and the longitudinal direction, and the driving mechanism drives a printing nozzle to jet-print the picture element according to corresponding position information. The position information is the jet printing coordinate of the picture element, and the jet printing coordinate is determined according to the size of a printing object of the picture element. The box body is detached and placed on the workbench, high-precision moving mechanisms are arranged in the x-axis direction and the y-axis direction, designated contents are printed after picture elements and position parameters are transmitted from the filing data packet, and after the printing of one whole surface is finished, the other surface is turned over and then printed.

Specifically, actuating mechanism adopts the driver that contains the lead screw slip table, print the shower nozzle and install on the lead screw slip table, the driver adopts step motor or servo motor. The printing nozzle is installed on a lead screw sliding table with relatively high precision, high-precision driving such as a stepping motor or a servo motor is used, the printing nozzle is driven by a high-resolution nozzle or other nozzles capable of printing pictures, and the printing nozzle can be moved to any position on the workbench to perform jet printing.

Specifically, the printing parameters further include a maximum value, a minimum value, and a step value of a counter, a position of the counter in the picture element, and a font used and a text space. And numbering the picture elements in the filing data packet, and confirming the picture object which starts to be loaded according to the number of the picture elements or confirming the picture object which is subjected to supplementary printing according to the number of the picture elements.

By adopting the technical scheme of the invention, a user files actual picture elements required to be printed in a folder, all the picture elements in the selected folder are loaded, the picture elements to be printed are sent to the printing spray head according to the sequence, a single picture element with a counter can be set, when the set picture elements are printed, the counter is automatically added at the appointed position in the picture elements according to parameters, after the synthesis is successful, the coordinate position and the picture elements are sent to the printing equipment together, the equipment can send the next picture after finishing the printing of one picture element, the mark of each picture is different, but the printing can be finished at one time without frequent manual operation.

Referring to fig. 2, the invention further provides a content-variable code spraying system, which comprises a control unit and a spray printing unit, wherein the control unit 1 and the spray printing unit 2 transmit information through a communication module 3;

the control unit 1 includes:

user interaction interface 4: the printing system is used for archiving and storing the picture elements subjected to jet printing to form an archiving data packet, and presetting printing parameters for the picture elements in the archiving data packet, wherein the printing parameters comprise position information and counter information;

the operation control module 5: the image element adding device is used for loading the image element to be sent to a printing nozzle and judging whether the loaded image element is an image object to which a counter is added, and a) if the loaded image element is the image object to which the counter is added, adding preset counter information to the image element in a preset area; b) if the loaded picture element is not the picture object added with the counter, skipping the addition of the counter information to the picture element; the image element and the corresponding position information are sent to a printing nozzle, code spraying printing is carried out on the image element according to preset position information, and loading of the next image element is carried out after printing of the current image element is finished;

the spray printing unit 2 comprises a driving mechanism 6 and a printing nozzle 7, and the driving mechanism 6 drives the printing nozzle 7 to spray print the picture elements according to the corresponding position information.

Specifically, the driving mechanism 6 adopts a driver comprising a lead screw sliding table, the printing nozzle 7 is installed on the lead screw sliding table, and the driver adopts a stepping motor or a servo motor; the driving mechanism 6 is disposed on the table and moves laterally and longitudinally according to the instructions.

Specifically, the picture elements are filed and stored according to the products to which the picture elements belong, the picture elements belonging to one product are filed in one folder, and the picture elements in the folder corresponding to the product are loaded when a certain product is printed; the position information is the jet printing coordinate of the picture element, and the jet printing coordinate is determined according to the size of a printing object of the picture element; the printing parameters also comprise the maximum value, the minimum value and the stepping value of the counter, the position of the counter in the picture element, and the used font and character spacing parameters; the user interaction interface is also used for numbering the picture elements in the filing data packet, confirming the picture object which starts to be loaded according to the number of the picture elements, or confirming the picture object which is subjected to supplementary printing according to the number of the picture elements.

The technical scheme of the invention can be used for developing control end software, the control end software is integrated with an operation control module, the control end software is provided with a user interaction interface, the user interaction interface is an actual operation interface set by a user and has the function of saving parameters, a printing parameter file is saved in a filing folder at the same time and comprises the position parameter of each picture element of a servo mechanism, a set counter is used for printing on which picture element, the maximum value, the minimum value, the stepping value and the like of the counter, the position of the counter in the picture element, the font used, the parameters of the character spacing and the like. The operation control module is a main service module, after the user finishes setting the parameters and starts printing, before the picture elements are sent in the software each time, the picture elements can be judged according to the parameters set by the user, whether a counter needs to be added or not is determined, if the counter needs to be added, the picture elements are synthesized and then sent to the spray printing module for printing, and the outer surface of the carton is printed at one time.

The control end software has the functions of setting a counter and loading jet printing coordinates, a user firstly selects a folder where picture elements to be printed are located, then printing is started, before data are sent to the jet printing mechanism each time, whether the picture elements are the picture elements needing to be added with the counter is detected, if yes, the picture elements are added with the counter according to set parameters and then issued, and after one picture element is printed, a printing nozzle informs the control end software to load the next picture and send the picture.

The control end software can set that printing is started from a certain picture independently, and can achieve the purpose of printing additionally. And the control terminal software is filed in a folder mode, so that management is convenient, and pictures to be printed are directly put into the folder. The software can be loaded during printing, and the user can conveniently carry out filing management.

The method includes the steps that picture elements subjected to jet printing are filed and stored to form a filing data packet, printing parameters are preset for the picture elements in the filing data packet, and the printing parameters comprise position information and counter information; loading a picture element to be sent to a printing nozzle, judging whether the loaded picture element is a picture object to which a counter is added, and if the loaded picture element is the picture object to which the counter is added, adding preset counter information to the picture element in a preset area; if the loaded picture element is not the picture object added with the counter, skipping the addition of the counter information to the picture element; and sending the picture elements and the corresponding position information to a printing nozzle, carrying out code spraying printing on the picture elements according to the preset position information, and loading the next picture element after the current picture element is printed. The invention uses the ink-jet printer to spray-print the picture elements by one time, reduces the operation steps, improves the production efficiency, does not have the waste problem, and can spray-print the picture elements by the amount of the used picture elements; the problem that the ink-jet printer is difficult to file directly is solved, the picture elements of each product are placed in a file data packet, and loading is directly selected when the product is used; the equipment investment is reduced, the picture is simple to manufacture, and only the position parameters need to be adjusted after the size of the box body is changed, so that the picture does not need to be manufactured again.

It should be noted that the software related in the embodiment of the present invention is only one application and development of the technical solution of the present application, and the present application requests protection of the technical solution and does not request protection of the software itself.

Although the invention has been described in detail above with reference to a general description and specific examples, it will be apparent to one skilled in the art that modifications or improvements may be made thereto based on the invention. Accordingly, such modifications and improvements are intended to be within the scope of the invention as claimed.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种水性可变色热转印碳带及其制作方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类