The invention discloses a spray printing method for a character printer, which receives an imprint command sent by an industrial control machine. The printing command includes at least the index of the image to be imprinted; the image data and the printing parameters corresponding to the imprinted image are querying according to the index, and the sprayer is sprayed to print the image to be imprinted on the basis of the image data and the spray printing parameters. . Among them, the image to be imprinted includes two dimensional code images. It can be seen that the open injection method of the invention integrates the main control and sprinkler control functions on a spray printing control board, so that the spray printing control board can be conveniently installed on the nozzle movement mechanism; the original image is used directly to improve the data transmission efficiency; the spray printing control board can save the entire printing image data and processing. The reverse jet printing data can achieve the function of repeated spurting and bidirectional printing, improving the printing efficiency. The invention also discloses the printing and printing system of the character printer and the printing control board of the character printer and a computer readable storage medium, which can also achieve the above technical effect.
【技术实现步骤摘要】
一种字符喷印机的喷印方法、系统及相关装置
本专利技术涉及印刷喷印领域,更具体地说,涉及一种字符喷印机的喷印方法、系统及一种字符喷印机的喷印控制板和一种计算机可读存储介质。
技术介绍
现有技术中,字符喷印机喷头控制部分通常采用主控制板和喷头控制板分离的方式,主控制板负责接收工控机的命令和图像数据,喷头控制板负责接收主控制板的数据并产生驱动喷头所需的时序信号及驱动电压。在开始喷印工作的时候,工控机先将需要喷印的原始图像数据按照其专用格式转换后,通过USB2.0高速接口将喷印的图像数据分若干次发给主控制板,再由主控制板通过LVDS传输线将喷印的图像数据连续发给喷头控制卡控制喷头喷印字符。由此可见,现有技术中的字符喷印机不能直接使用原始图像数据喷印,要先将原始图像数据按照其专用格式转换,再发给喷头控制卡解析提取喷印数据后再喷印,这样增加了不必要的流程处理,而且该专用格式是用于喷印四种颜色的,对于字符喷印这种仅需单色喷印的应用来说,会需要传输三倍于自身的无用数据,导致数据传输和处理效率低。另外,由于主控制板不能保存整幅图像,无法实现快速重复喷印,即目前传输的数据只能喷印一次,重复喷印同一幅图像的数据需要重新传输。此外,目前的字符喷印机只有单向喷印功能,没有双向喷印功能,导致喷印效率较低。因此,如何直接使用原始图像数据,并实现同一图像的重复喷印和双向喷印是本领域技术人员需要解决的问题。
技术实现思路
本专利技术的目的在于提供一种字符喷印机的喷印方法、系统及一种字符喷印机的喷印控制板和一种计算机可读存储介质,直接使用原始图像数据,并实现了同一图像的重复喷印和双向喷印。为实现 ...
【技术保护点】
1.一种字符喷印机的喷印方法,其特征在于,包括:接收工控机发送的喷印命令,所述喷印命令至少包括待喷印图像的索引;根据所述索引查询所述待喷印图像对应的图像数据和喷印参数;根据所述图像数据和所述喷印参数驱动喷头喷印所述待喷印图像。
【技术特征摘要】
1.一种字符喷印机的喷印方法,其特征在于,包括:接收工控机发送的喷印命令,所述喷印命令至少包括待喷印图像的索引;根据所述索引查询所述待喷印图像对应的图像数据和喷印参数;根据所述图像数据和所述喷印参数驱动喷头喷印所述待喷印图像。2.根据权利要求1所述喷印方法,其特征在于,还包括:接收并存储工控机发送的待存储图像的图像数据和喷印参数;所述待存储图像的图像数据包括所述待存储图像的索引、原始图像,所述待存储图像的喷印参数包括所述待存储图像的喷印温度、喷印电压、波形参数、灰度参数、喷印坐标和喷印方式。3.根据权利要求2所述喷印方法,其特征在于,所述接收并存储工控机发送的待存储图像的图像数据之后,还包括:判断所述喷印方式是否为双向喷印;若是,则根据所述原始图像生成并存储反向图像。4.根据权利要求3所述喷印方法,其特征在于,根据所述图像数据驱动喷头喷印所述待喷印图像,包括:MPU将所述图像数据中的原始图像和/或反向图像传输至FPGA中的FIFO,以便所述FPGA驱动所述喷头根据所述原始图像和/或所述反向图像的喷印坐标喷印相应图像。5.根据权利要求4所述喷印方法,其特征在于,所述MPU将所述图像数据中的原始图像和/或反向图像传输至FPGA中的FIFO,包括:S1:判断所述FIFO中的数据数量是否小于预设值;S2:若是,则所述MPU将所述图像数...
【专利技术属性】
技术研发人员:周汉盛,彭历山,张杨,徐地明,
申请(专利权)人:广东正业科技股份有限公司,
类型:发明
国别省市:广东,44
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。