A mobile phone control image printing method and mobile phone
An image printing and thermal printer technology, applied in the field of printing, can solve the problems of blurred two-dimensional code, unable to dynamically adjust the parameters of the single-chip microcomputer, and unable to print out the effect, so as to reduce the processing capacity requirement, improve the processing efficiency and the printing effect. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] The present embodiment for illustrating defects in the prior art and solution ideas of the present invention.
[0024] The existing single-chip thermal printer mainly processes images with low printing difficulty, and for the purpose of developing / improving printing capabilities, the existing solution is to process the image to be printed at a certain processing end (computer, complex processing chip and mobile phone and other devices with high processing power), and then transmit the printed content to the printer, the printer heats up according to the printing position of the printed content, and the paper is taken, this process exists if the printing document is very long, the content is a lot, Then the time required to draw a monochrome BMP diagram at the processing end will be very long; Printing parameters are single, single-chip microcomputer parameters can not be dynamically adjusted, the use of fixed parameters, can not print the best effect, such as Chinese word...
Embodiment 2
[0028] The present embodiment is used to explain the preferred protocol.
[0029] Some such as bills and the like of the image, including fonts and two-dimensional code, both of which use thermal printers, due to the functional limitations of the single-chip microcomputer and the limitations of the existing processing methods (can not set the appropriate printing parameters), the problem of poor printing effect, the present embodiment sets a variety of print types, and then these print types are attached to the parsing data, the printer can be realized when obtaining the data to be printed, while obtaining the corresponding printing parameters, such as:
[0030] Type 1, Chinese 24size; Type 2, ascii character 16size; Type 3, Chinese 24size bold double height; Type 4, QR code; Type 5, QR code; Type 6, Persian....
[0031] When you start to print this picture, you can tell the microcontroller through the transmission protocol, what is the main type of the current picture, and after ...
Embodiment 3
[0034] The present embodiment provides a mobile phone, suitable for a microcontroller-controlled thermal printer, the mobile phone comprising: receiving module 1 for obtaining an image to be printed, decomposing the image into several lines according to the preset branch rules; Processing module 2, for setting up parallel printing process and drawing process based on the processing power of the mobile phone, wherein the printing process is used to obtain printing permissions for thermal printers, the drawing process is used to draw monochrome bmp diagram line by line; Printing module 3, for whenever the drawing process completes the drawing of a line of monochrome bmp plot, start the printing process to parse the dot row corresponding to a line of monochrome bmp plot and send the parsing data to the thermal printer.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


