Unlock instant, AI-driven research and patent intelligence for your innovation.

Gray-scale heat-sensitive printing method, heat-sensitive printer and readable storage medium

A thermal printer, thermal printing technology, applied in the direction of digital output to printing unit, printing, etc., can solve problems such as difficulty in forming images, difficulty in grayscale imaging, etc.

Active Publication Date: 2018-01-23
ZHUHAI SMARNET EQUIP CO LTD
View PDF11 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Limited by the principle of thermal printing, generally only text is recorded on the thermal printing receipt, and it is difficult to form an image through the combination of black dots and white dots, and it is even more difficult for grayscale imaging. With the variety of printing content In addition to forming the transaction record text on the small ticket, the printing of the pattern can not only improve the aesthetics, but it can print the image more vividly by using grayscale printing. However, it is impossible to realize the color bitmap through thermal printing in the prior art Realize grayscale imaging

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
  • Gray-scale heat-sensitive printing method, heat-sensitive printer and readable storage medium
  • Gray-scale heat-sensitive printing method, heat-sensitive printer and readable storage medium
  • Gray-scale heat-sensitive printing method, heat-sensitive printer and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] First of all, the principle of forming a grayscale image for thermal printing. In the prior art, if the color bitmap is directly converted into a dot matrix image, when converting, it is judged whether each pixel is close to all white or close to all black, and it is converted according to this principle. If there is a gradient color pattern in the color bitmap, the pattern may be converted into all black or all white because the pixel values ​​are close, which cannot reflect the color gradient process well, or even the original The patterns are clearly displayed.

[0045] At the same time, it should be noted that the grayscale printing mentioned in this case does not refer to the realization of different grayscale printing in one pixel. This case uses grayscale printing formed by the visual effect of the human eye. Refer to figure 1 , figure 1 Contains 6 display tiles with a resolution of 9*9, each small square can correspond to each pixel of the bitmap, or correspond...

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 gray-scale heat-sensitive printing method, a heat-sensitive printer and a readable storage medium. The printing method comprises a bitmap processing step, a lattice diagram conversion step and a printing step. The bitmap processing step comprises: receiving an original bitmap; acquiring pixels of the original bitmap; generating a pixel array relative to the original bitmap; taking out an RBG (Red-Black-Green) value of a current pixel and generating an index of the current pixel; processing RBG value elements of surrounding pixels of the current pixel according to the RBG value of the current pixel, the index of the current pixel and a processing coefficient; and saving RBG values of the surrounding pixels. The lattice diagram conversion step is to generate a lattice diagram from a new bitmap. The printing step is to perform heat-sensitive printing according to the lattice diagram. Indexes of black and white are generated; a preset processing coefficient is accumulated into the surrounding pixels; the lattice diagram is generated according to the processed new bitmap; and lastly, gray-scale printing is finished. Through processing of a colored bitmap, gray-scale printing of patterns can be realized by heat-sensitive printing.

Description

technical field [0001] The invention relates to the field of thermal printing, in particular to a grayscale thermal printing method, a thermal printer and a computer-readable storage medium. Background technique [0002] ATMs in banks, checkout counters in supermarkets, and e-commerce delivery offices are all equipped with thermal printers for printing transaction receipts, receipts or express delivery orders. Limited by the principle of thermal printing, generally only text is recorded on the thermal printing receipt, and it is difficult to form an image through the combination of black dots and white dots, and it is even more difficult for grayscale imaging. With the variety of printing content In addition to forming the transaction record text on the small ticket, the printing of the pattern can not only improve the aesthetics, but it can print the image more vividly by using grayscale printing. However, it is impossible to realize the color bitmap through thermal printin...

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): G06F3/12B41J2/32
Inventor 丁鹏李晓波
Owner ZHUHAI SMARNET EQUIP CO LTD