Paper detection and printing method and system of a hand-held printer
A printing system and printer technology, applied in printing devices, printing, etc., can solve problems such as easy paper jams, inaccurate judgment of paper position, and skewed printed characters, so as to achieve accurate positioning and avoid skewing effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] An embodiment of the present invention, such as figure 1 As shown, the present invention provides a hand-held printer paper detection and printing method, comprising steps:
[0048] S1. Install a light source and a photoresistor array on the inner wall of the paper bin.
[0049] Preferably, the light source is a single light source, to prevent the light emitted by each light source from being reflected by the paper and affect each other, and the area of the photoresistor array should be designed to be large enough to ensure that all emitted light from the paper can be detected.
[0050] S2. Obtain the distribution image of the reflected light after the light emitted by the light source is reflected by the paper roll in the paper bin through the photoresistor array.
[0051] S3. Determine the type of paper on the paper roll according to the intensity of the reflected light.
[0052] S4. Calculate the position of the paper on the paper roll according to the distributi...
Embodiment 2
[0056] An embodiment of the present invention, on the basis of Embodiment 1, judges the type of paper on the paper roll according to the intensity of reflected light, specifically includes:
[0057] S31. Obtain intensity thresholds of reflected light reflected by different types of paper under light from a light source through big data or deep learning.
[0058] S32. Determine the type of each paper on the paper roll according to the intensity of the current emitted light.
[0059] Specifically, since different types of paper have different intensities of reflected light, it is possible to use big data or use the light source in the printer for deep learning training to obtain the intensity threshold of reflected light reflected by different types of paper under the light of the light source , after obtaining the intensity of the current emitted light, the type of each paper on the paper roll can be judged.
[0060] Preferably, the position of the paper on the paper roll is c...
Embodiment 3
[0073] An embodiment of the present invention, such as image 3 As shown, the present invention also provides a hand-held printer paper detection and printing system, including a light source 1, a photoresistor array 2 and a microcontroller.
[0074] The light source 1 is installed on the inner wall of the paper chamber 3 of the printer, and is arranged facing the paper roll 4 . Preferably, the light source is a single light source, so as to prevent the light emitted by each light source from being reflected by the paper to affect each other.
[0075] The photoresistor array 2 is arranged on the inner wall of the paper bin 3, and is used to receive the reflected light emitted by the light source after being reflected by the paper roll 4, and obtain the distribution image of the reflected light. Preferably, the area of the photoresistor array should be designed to be large enough to ensure that all emitted light from the paper can be detected.
[0076] The microcontroller i...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


