Printing method and device, electronic equipment, medium and product

By adjusting the signal queue for the laser diode to be emitted in a laser printer, the luminescence time of the laser diode is equalized, and the printing image quality problem caused by the difference in the luminescence time of the laser diode is solved.

CN119427952AActive Publication Date: 2025-02-14ZHUHAI PANTUM ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411737276.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-02-14
Estimated Expiration
2044-11-28

AI Technical Summary

Technical Problem

The difference in the luminescence time of the laser diode in the laser scanning system leads to different aging degrees, which affects the imaging effect of the printed image.

Method used

By determining the first laser diode and the second laser diode in the laser printer, obtaining their luminescent signal queues and the luminescent signal queues, and calculate the number of luminescent pixel dots and luminescent pixel dots printed historically. If different, adjust less luminescent The laser diode is emitting signal queue so that the corresponding pixel dots to be emitting is large, thereby equalizing the luminous time of the laser diode.

Benefits of technology

By dynamically adjusting the correspondence between the laser diode and the number of pixels to be emitting in the image to be printed, the luminescence time of the laser diode is equalized, and the image quality problems caused by the aging differences between laser diodes are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119427952A_ABST
    Figure CN119427952A_ABST
Patent Text Reader

Abstract

The invention provides a printing method and device, electronic equipment, a medium and a product. The method includes: determining a first laser diode and a second laser diode in a plurality of laser diodes; respectively calculating the number of shined pixel points historically printed in shined signal queues of the first laser diode and the second laser diode, and calculating the number of to-be-shined pixel points in to-be-shined signal queues of the first laser diode and the second laser diode according to the to-be-printed portrait; if the number of the light-emitting pixels of the first laser diode is different from that of the light-emitting pixels of the second laser diode, adjusting the to-be-light-emitting signal queue corresponding to the laser diode with fewer light-emitting pixels to be a to-be-light-emitting signal queue with more to-be-light-emitting pixels; and printing the to-be-printed portrait according to the adjusted to-be-emitted signal queue. The method is used for balancing the light emitting time of the laser diode and improving the printing effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to printing technology, and in particular to a printing method, device, electronic device, medium and product. Background Art

[0002] Laser printers are printing output devices that combine laser scanning technology with electronic photography technology. Its basic working principle is that the binary data information transmitted by the computer is converted into a video signal through the video controller, and then the video interface / control system converts the video signal into a laser drive signal, and then the laser scanning system generates a laser beam carrying character information, and finally the electronic photography system images the laser beam and transfers it to paper. Compared with other printing devices, laser printers have the advantages of fast printing speed and high imaging quality.

[0003] In order to improve printing accuracy, laser scanning systems often integrate multiple laser diodes in one laser head. During the printing process, multiple laser diodes are exposed at the same time and output data in parallel. However, the emission time of laser diodes may vary, and the degree of aging may also vary, which will affect the imaging effect of the printed image and reduce the user experience. Summary of the invention

[0004] The present application provides a printing method, device, electronic device, medium and product, so as to solve the problem in the prior art that the light-emitting time of the laser diode in the laser scanning system is different, resulting in different degrees of aging and affecting the printing image imaging effect. The present application is used to balance the light-emitting time of the laser diode and improve the printing effect.

[0005] In one aspect, the present application provides a printing method, which is applied to a laser printer, wherein the laser printer includes a plurality of laser diodes; the method includes:

[0006] Determine a first laser diode and a second laser diode from the plurality of laser diodes, and obtain a light-emitting signal queue and a to-be-emitting signal queue of the first laser diode and the second laser diode;

[0007] The number of historically printed illuminated pixels in the illuminated signal queues of the first laser diode and the second laser diode is calculated respectively.

[0008] And, according to the image to be printed, the number of pixels to be emitted in the signal queues to be emitted of the first laser diode and the second laser diode is calculated;

[0009] If the number of pixels of light emitted by the first laser diode and the second laser diode in historical printing is different, the queue of signals to be emitted corresponding to the laser diode with fewer pixels of light emitted in historical printing is adjusted to the queue of signals to be emitted corresponding to the laser diode with more pixels of light emitted;

[0010] The image to be printed is printed according to the adjusted queue of signals to be emitted.

[0011] In a possible implementation, if the number of pixels of light emitted by the first laser diode and the second laser diode in historical printing is different, the queue of signals to be emitted corresponding to the laser diode with fewer pixels of light emitted in historical printing is adjusted to the queue of signals to be emitted with more pixels of light emitted, including:

[0012] If the number of pixels that have been illuminated in the history printing of the first laser diode is greater than the number of pixels that have been illuminated in the history printing of the second laser diode, and the number of pixels to be illuminated of the first laser diode is greater than the number of pixels to be illuminated of the second laser diode; or if the number of pixels that have been illuminated in the history printing of the first laser diode is less than the number of pixels that have been illuminated in the history printing of the second laser diode, and the number of pixels to be illuminated of the first laser diode is less than the number of pixels to be illuminated of the second laser diode, then the queue of signals to be illuminated corresponding to the laser diode with fewer number of pixels that have been illuminated in the history printing is adjusted to the queue of signals to be illuminated corresponding to another laser diode;

[0013] If the number of pixels already emitted in the historical printing of the first laser diode is greater than the number of pixels already emitted in the historical printing of the second laser diode, and the number of pixels to be emitted by the first laser diode is not greater than the number of pixels to be emitted by the second laser diode; or if the number of pixels already emitted in the historical printing of the first laser diode is less than the number of pixels already emitted in the historical printing of the second laser diode, and the number of pixels to be emitted by the first laser diode is not less than the number of pixels to be emitted by the second laser diode, the queue of signals to be emitted will not be adjusted.

[0014] In a possible implementation, the calculating the number of pixels to be emitted in the to-be-emitted signal queues of the first laser diode and the second laser diode includes:

[0015] When the signal queues to be emitted by the first laser diode and the second laser diode are respectively odd-numbered lines and even-numbered lines of the image to be printed,

[0016] Calculating the number of pixels in a row of the image to be printed, wherein the number of pixels in a row includes the number of pixels in odd-numbered rows and the number of pixels in even-numbered rows;

[0017] The number of pixels in the odd-numbered rows is used as the number of pixels to be emitted in the signal queue to be emitted of the first laser diode, and the number of pixels in the even-numbered rows is used as the number of pixels to be emitted in the signal queue to be emitted of the second laser diode.

[0018] In a possible implementation, adjusting the queue of signals to be emitted corresponding to the laser diodes with fewer pixels to be emitted in history printing to a queue of signals to be emitted with more pixels to be emitted includes:

[0019] The queue of signals to be emitted corresponding to the laser diode with fewer pixels to be emitted in historical printing is adjusted to the queue of signals to be emitted corresponding to the one with more pixels to be emitted, that is, the odd-numbered rows of pixels or the even-numbered rows of pixels.

[0020] In a possible implementation, the step of adjusting the queue of signals to be emitted corresponding to the laser diode with fewer pixels to be emitted in the history printing to the queue of signals to be emitted corresponding to the one with more pixels to be emitted in the odd-numbered rows or the even-numbered rows, includes:

[0021] An odd number of blank lines are inserted at the top of the image to be printed, and the image to be printed is moved up by a first length; the first length is the length corresponding to the odd number of blank lines.

[0022] In a possible implementation, it includes:

[0023] When the queue of signals to be emitted from one of the first laser diode and the second laser diode corresponds to all pixels of the image to be printed, and the queue of signals to be emitted from the other laser diode is empty,

[0024] The signal queue to be emitted of the laser diode with fewer emitted pixels in the historical printing is adjusted to the signal queue to be emitted corresponding to all pixels of the image to be printed, and the signal queue to be emitted of another laser diode is adjusted to be empty.

[0025] In one possible implementation, the laser printer includes N laser diodes, where N is greater than 2. When the laser printer operates in a reduced speed mode, the queues of signals to be emitted by the first laser diode and the second laser diode correspond to odd-numbered rows of pixels and even-numbered rows of pixels of the image to be printed, respectively.

[0026] In a possible implementation manner, determining a first laser diode and a second laser diode from the plurality of laser diodes includes:

[0027] Calculating the number of illuminated pixels historically printed by the N laser diodes;

[0028] If two laser diodes with the least number of historically printed illuminated pixels among the N laser diodes are adjacent to each other, the two laser diodes are used as the first laser diode and the second laser diode.

[0029] In a possible implementation manner, determining a first laser diode and a second laser diode from the plurality of laser diodes includes:

[0030] If the two laser diodes with the least number of emitted pixels in the history of printing among the N laser diodes are not adjacent, the laser diode with the least number of emitted pixels and the laser diode with fewer emitted pixels among the two laser diodes adjacent to the laser diode with the least number of emitted pixels will be used as the first laser diode and the second laser diode.

[0031] In one possible implementation, the laser printer includes two laser diodes. When the laser printer operates in a fast mode, the queues of signals to be emitted of the first laser diode and the second laser diode correspond to printing odd-numbered rows of pixels and even-numbered rows of pixels of the image to be printed, respectively; when the laser printer operates in a slow-down mode, the queues of signals to be emitted of one of the first laser diode and the second laser diode correspond to all pixels of the image to be printed, and the queues of signals to be emitted of the other laser diode are empty.

[0032] In a possible implementation, if the number of pixels of light emitted by the first laser diode and the second laser diode in historical printing is different, the queue of signals to be emitted corresponding to the laser diode with fewer pixels of light emitted in historical printing is adjusted to the queue of signals to be emitted with more pixels of light emitted, including:

[0033] If the number of illuminated pixels historically printed between the first laser diode and the second laser diode is different and the absolute value of the difference between the number of illuminated pixels historically printed between the first laser diode and the second laser diode is greater than a preset threshold, the queue of signals to be emitted corresponding to the laser diode with fewer illuminated pixels historically printed is adjusted to the queue of signals to be emitted with more pixels to be emitted.

[0034] On the other hand, the present application provides a printing device, comprising:

[0035] A determination module, configured to determine a first laser diode and a second laser diode from the plurality of laser diodes, and obtain a light-emitting signal queue and a to-be-light-emitting signal queue of the first laser diode and the second laser diode;

[0036] A calculation module, used to respectively calculate the number of historically printed illuminated pixels in the illuminated signal queues of the first laser diode and the second laser diode, and, according to the image to be printed, calculate the number of pixels to be illuminated in the to-be-illuminated signal queues of the first laser diode and the second laser diode;

[0037] An adjustment module, for adjusting the queue of signals to be emitted corresponding to the laser diode with fewer pixels to be emitted to the queue of signals to be emitted with more pixels if the pixel numbers of the first laser diode and the second laser diode are different in history;

[0038] The printing module is used to print the image to be printed according to the adjusted queue of signals to be emitted.

[0039] On the other hand, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method described above.

[0040] On the other hand, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method as described above.

[0041] On the other hand, the present application provides a computer program product, which includes computer-executable instructions, and the computer-executable instructions are used to implement the method as described above when executed by a processor.

[0042] In the printing method, device, electronic device, medium and product provided by the present application, a first laser diode and a second laser diode are determined among multiple laser diodes, and a queue of emitted signals and a queue of to-be-emitted signals of the first laser diode and the second laser diode are obtained; the number of emitted pixels and the number of to-be-emitted pixels of the historical printing of the first laser diode and the second laser diode are calculated; if the number of emitted pixels of the historical printing of the first laser diode and the second laser diode is different, it indicates that there is a difference in the historical emission time of the first laser diode and the second laser diode, and the queue of to-be-emitted signals corresponding to the laser diode with fewer emitted pixels in the historical printing can be adjusted to a queue of to-be-emitted signals with more to-be-emitted pixels, and according to the adjusted queue of to-be-emitted signals, the image to be printed is printed, so that the laser diode with fewer pixels in the historical printing has more pixels printed this time, and the laser diode with more pixels printed in the historical printing has fewer pixels printed this time. By dynamically adjusting the correspondence between the laser diodes and the number of pixels to be emitted of the image to be printed, the purpose of balancing the emission time of the laser diodes can be achieved, and the image quality problem caused by the aging difference between the laser diodes can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0044] Figure 1 exemplarily shows a schematic diagram of a scene of dual laser diode printing in the related art;

[0045] Figure 2 The schematic diagram of the corresponding relationship between the light emission of a laser diode and pixels in the related art is exemplarily shown in FIG.

[0046] Figure 3 A schematic diagram of the process of the printing method provided in the embodiment of the present application is exemplarily shown in FIG.

[0047] Figure 4 exemplarily shows a schematic diagram of a dual laser diode printing scenario provided by the present application;

[0048] Figure 5 The structural diagram of the printing device provided in the embodiment of the present application is exemplarily shown in FIG.

[0049] Figure 6 A structural schematic diagram of an electronic device provided in an embodiment of the present application is exemplarily shown in FIG.

[0050] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0051] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0052] The module in this application refers to a functional module or a logical module. It can be in software form, and its functions are realized by executing program code by a processor; it can also be in hardware form. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects before and after are in an "or" relationship.

[0053] The principle of laser printing is as follows: when printing begins on the paper, all parts of the OPC (organic photoconductive semiconductor drum, also called a toner drum) carry an electric charge applied by a charging corona wire or a charging roller. When the drum rotates, the printer's laser scanning module (Laser Scanner Unit, LSU) emits a weak laser beam through the surface of the drum through the laser head to release the charge at certain points. The toner itself also carries an electric charge and will adhere to the area on the OPC where the laser beam has irradiated. Then, the toner particles are fixed on the paper by heat pressing or pressure to achieve print output.

[0054] In order to improve printing accuracy, laser scanning modules often integrate multiple laser diodes in one laser head. During the printing process, multiple laser diodes are exposed simultaneously and output data in parallel.

[0055] Figure 1 Schematic diagram of the scene of dual laser diode printing in the related technology. Figure 1 As shown, taking two laser diodes integrated in a laser head as an example, in the related art, the image signal of the image to be printed is converted into an electrical signal and transmitted to the laser scanning module, and the laser scanning module drives the laser diode to emit light according to the electrical signal. Among them, the image to be printed includes multiple rows of pixels, and the odd-numbered rows of pixels in the image to be printed correspond to laser diode 1, and the even-numbered rows of pixels in the image to be printed correspond to laser diode 2. For the sake of convenience, in the embodiment of the present application, the odd-numbered rows of pixels in the image to be printed are referred to as the pixels to be emitted in the queue of the signal to be emitted of laser diode 1, and so on.

[0056] Figure 2 FIG. 1 is a schematic diagram of the corresponding relationship between laser diode light emission and pixels in the related art. Figure 2 As shown, for one row of pixels corresponding to the laser diode in the image to be printed, the laser diode sends out an image (video) signal according to the row of pixels. The more pixels in the row, the longer the light-emitting time of the laser diode. Therefore, when the number of pixels in the odd and even rows of the image to be printed is greatly different, the light-emitting time of laser diode 1 and laser diode 2 will be greatly different.

[0057] In the slow-down printing mode of some dual laser diode printers, the paper feed speed is halved, and the image output speed requirement is reduced. A single laser diode will also be used to emit light. This may cause the life of laser diode 1 to be significantly longer than that of laser diode 2 when the user uses the slow-down mode to print jobs for a long time. The attenuation of the single laser diode causes the image performance to be poor under slow printing.

[0058] The life of the laser diode is related to the total light-emitting time, which affects the power output of the device. When the difference between the odd and even lines of the printed image is large for a long time, the aging degree is different due to the difference in the working time of the two laser diodes. The difference in power output will lead to differences in the ability of the two laser diodes to eliminate the surface charge of the OPC, which in turn affects the OPC's ability to adsorb toner. This is reflected in the image, that is, the depth of the image of the odd and even lines is different. This difference not only affects the color density calculation of color correction (the inconsistent collection of the dual laser diodes deviates from the true value of the toner concentration calculation), which makes the color correction effect worse, but also affects the imaging effect of the printed image and the user experience.

[0059] The technical solution of the present application is illustrated below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0060] Embodiment 1

[0061] Figure 3 The flowchart of the printing method provided in the embodiment of the present application is shown in FIG. The execution subject of the method may be a laser printer, a main control chip of the laser printer, or a server connected to the laser printer. Figure 3 As shown, the printing method provided in this embodiment may include:

[0062] S301, determining a first laser diode and a second laser diode from a plurality of laser diodes, and obtaining a light-emitting signal queue and a to-be-light-emitting signal queue of the first laser diode and the second laser diode;

[0063] S302, respectively calculating the number of pixels in the queue of the light-emitting signal of the first laser diode and the second laser diode that have been printed in history, and, according to the image to be printed, calculating the number of pixels in the queue of the light-emitting signal of the first laser diode and the second laser diode that are to be printed;

[0064] S303, if the number of pixels of light emitted by the first laser diode and the second laser diode in historical printing is different, adjusting the queue of signals to be emitted corresponding to the laser diode with fewer pixels of light emitted in historical printing to the queue of signals to be emitted corresponding to the laser diode with more pixels of light emitted;

[0065] S304, printing the image to be printed according to the adjusted queue of signals to be emitted.

[0066] Specifically, a first laser diode and a second laser diode are determined from a plurality of laser diodes, and a queue of emitted signals and a queue of signals to be emitted of the first laser diode and the second laser diode are obtained. According to the queue of emitted signals of the first laser diode and the second laser diode, the number of emitted pixels of the first laser diode and the second laser diode in the history of printing is calculated respectively. According to the current portrait to be printed, the number of pixels to be emitted of the first laser diode and the second laser diode can be calculated. If the number of pixels of the first laser diode and the second laser diode in the history of printing is different, it indicates that there is a difference in the historical emission time of the first laser diode and the second laser diode. The queue of signals to be emitted corresponding to the laser diode with fewer pixels in the history of printing can be adjusted to the queue of signals to be emitted with more pixels to be emitted, and the portrait to be printed is printed according to the adjusted queue of signals to be emitted, so that the laser diode with a longer historical emission time has a shorter emission time this time, and the laser diode with a shorter historical emission time has a longer emission time this time. By dynamically adjusting the correspondence between the laser diodes and the portrait to be printed, the purpose of balancing the emission time of the laser diodes can be achieved, and the image quality problem caused by the aging difference between the laser diodes can be improved.

[0067] In a possible implementation, if the number of pixels of light emitted by the first laser diode and the second laser diode in historical printing is different, the queue of signals to be emitted corresponding to the laser diode with fewer pixels of light emitted in historical printing is adjusted to the queue of signals to be emitted with more pixels of light emitted, including:

[0068] If the number of pixels that have been illuminated in the history printing of the first laser diode is greater than the number of pixels that have been illuminated in the history printing of the second laser diode, and the number of pixels to be illuminated of the first laser diode is greater than the number of pixels to be illuminated of the second laser diode; or if the number of pixels that have been illuminated in the history printing of the first laser diode is less than the number of pixels that have been illuminated in the history printing of the second laser diode, and the number of pixels to be illuminated of the first laser diode is less than the number of pixels to be illuminated of the second laser diode, then the queue of signals to be illuminated corresponding to the laser diode with fewer number of pixels that have been illuminated in the history printing is adjusted to the queue of signals to be illuminated corresponding to the other laser diode;

[0069] If the number of pixels that have been illuminated in the history printing of the first laser diode is greater than the number of pixels that have been illuminated in the history printing of the second laser diode, and the number of pixels to be illuminated of the first laser diode is less than the number of pixels to be illuminated of the second laser diode; or if the number of pixels that have been illuminated in the history printing of the first laser diode is less than the number of pixels that have been illuminated in the history printing of the second laser diode, and the number of pixels to be illuminated of the first laser diode is greater than the number of pixels to be illuminated of the second laser diode, the queue of signals to be illuminated will not be adjusted.

[0070] In a specific implementation, when the number of to-be-emitted pixel points in the to-be-emitted signal queue corresponding to a laser diode with a relatively small number of already-emitted pixel points in historical printing is relatively large, no adjustment is made; when the number of to-be-emitted pixel points in the to-be-emitted signal queue corresponding to a laser diode with a relatively small number of already-emitted pixel points in historical printing is relatively small, the to-be-emitted signal queue corresponding to the laser diode with a relatively small number of already-emitted pixel points in historical printing is adjusted to the to-be-emitted signal queue corresponding to another laser diode.

[0071] For example, assume that the number of already-emitted pixel points in historical printing in the already-emitted signal queue corresponding to the first laser diode is O, the number of already-emitted pixel points in historical printing in the already-emitted signal queue corresponding to the second laser diode is E, the number of to-be-emitted pixel points in the to-be-emitted signal queue corresponding to the first laser diode is On, and the number of to-be-emitted pixel points in the to-be-emitted signal queue corresponding to the second laser diode is En. When O > E and On > En, or when O < E and On < En, the to-be-emitted signal queue corresponding to the first laser diode is adjusted to the original to-be-emitted signal queue corresponding to the second laser diode, and the to-be-emitted signal queue corresponding to the second laser diode is adjusted to the original to-be-emitted signal queue corresponding to the first laser diode; when O > E and On ≤ En, or when O < E and On ≥ En, no change is made.

[0072] Exemplarily, calculating the number of already-emitted pixel points in historical printing of the first laser diode and the second laser diode may include calculating the number of already-emitted pixel points in all historical printings of the first laser diode and the second laser diode, or calculating the number of already-emitted pixel points in historical printing of the first laser diode and the second laser diode within a recent predetermined time, or calculating the number of already-emitted pixel points in historical printing of the first laser diode and the second laser diode in a recent predetermined number of printed portraits.

[0073] In some examples, calculating the number of to-be-emitted pixel points corresponding to the to-be-emitted signal queues of the first laser diode and the second laser diode includes:

[0074] When the to-be-emitted signal queues of the first laser diode and the second laser diode are the odd rows and even rows of the to-be-printed portrait respectively,

[0075] calculate the number of row pixel points of the to-be-printed portrait, where the number of row pixel points includes the number of odd-row pixel points and the number of even-row pixel points;

[0076] Take the number of odd-row pixel points as the number of to-be-emitted pixel points corresponding to the to-be-emitted signal queue of the first laser diode, and take the number of even-row pixel points as the number of to-be-emitted pixel points corresponding to the to-be-emitted signal queue of the second laser diode.

[0077] In a specific implementation, when the queues of signals to be emitted of the first laser diode and the second laser diode correspond to odd and even rows of the image to be printed respectively, the total number of pixels of all odd rows in the image to be printed (the number of pixels in odd rows) can be calculated as the number of pixels to be emitted corresponding to the queue of signals to be emitted of the first laser diode, and the total number of pixels of all even rows in the image to be printed (the number of pixels in even rows) can be calculated as the number of pixels to be emitted corresponding to the queue of signals to be emitted of the second laser diode.

[0078] In some examples, adjusting the queue of signals to be emitted corresponding to the laser diode with fewer pixels to be emitted in history to the queue of signals to be emitted with more pixels to be emitted includes:

[0079] The queue of signals to be emitted corresponding to the laser diode with fewer pixels that have been emitted in historical printing is adjusted to the queue of signals to be emitted corresponding to the one with more pixels in odd rows or even rows.

[0080] Specifically, the queue of signals to be emitted of the first laser diode and the queue of signals to be emitted of the second laser diode can be exchanged, so that the queue of signals to be emitted corresponding to the laser diode with fewer pixels printed historically can be adjusted to the queue of signals to be emitted corresponding to the one with more pixels in odd rows or even rows.

[0081] In some examples, adjusting the queue of signals to be emitted corresponding to the laser diode with fewer pixels in historical printing to the queue of signals to be emitted corresponding to the one with more pixels in odd-numbered rows or even-numbered rows includes:

[0082] Insert an odd number of blank lines at the top of the image to be printed, and move the image to be printed upward by a first length; the first length is the length corresponding to the odd number of blank lines.

[0083] Figure 4 A schematic diagram of a dual laser diode printing scenario provided in an embodiment of the present application. Figure 4As shown, an odd number of blank lines can be inserted at the top of the image to be printed. Taking the insertion of one blank line as an example, this operation makes the first line of the image to be printed a blank line filled with blank data, and the original odd lines in the image to be printed become even lines, and the original even lines in the image to be printed become odd lines. Therefore, the first laser diode that originally outputs the first line outputs a blank line, and the second laser diode that originally outputs the second line outputs the first line of the image to be printed. The purpose of exchanging the queues of the signals to be emitted by the first laser diode and the second laser diode is achieved. Therefore, the emission time of the first laser diode and the second laser diode is also exchanged this time, so that the total emission time of the first laser diode and the second laser diode is a close value, achieving a balanced total emission time of the dual laser diodes, thereby balancing the service life of the dual laser diodes and maintaining the effect of stable printing. It can be understood that when a blank line is inserted into the image to be printed, the image to be printed will be offset downward by an odd number of lines compared to the original image to be printed (that is, the blank space will increase the distance of the odd lines), so it is necessary to adjust the distance of the image to be printed upwardly offset by the odd number of lines after inserting an odd number of blank lines, so that the overall color matching effect is consistent with the result after color calibration.

[0084] Exemplarily, the top margin of the image to be printed may be shortened by a first length by adjusting the Topmargin parameter of the image to be printed, wherein the first length is a length corresponding to an odd number of blank lines, thereby adjusting the distance by which the image is offset upward by odd lines.

[0085] In some examples, the queue of signals to be emitted of one of the first laser diode and the second laser diode corresponds to all pixels of the image to be printed, and when the queue of signals to be emitted of the other laser diode is empty, the queue of signals to be emitted corresponding to the laser diode with fewer pixels to be emitted in the history of printing is adjusted to the queue of signals to be emitted with more pixels to be emitted, including:

[0086] The signal queue to be emitted of the laser diode with fewer historically printed emitted pixels is adjusted to correspond to the signal queue to be emitted of all pixels of the image to be printed, and the signal queue to be emitted of another laser diode is adjusted to be not empty.

[0087] Specifically, when one of the first laser diode and the second laser diode is working and the other laser diode is not working (idle), the laser diode with a smaller number of pixels printed in the history can be selected to work. That is to say, the queue of signals to be emitted of the laser diode with a smaller number of pixels printed in the history is adjusted to all pixels of the image to be printed, and the queue of signals to be emitted of the other laser diode is adjusted to not print, thereby balancing the light emission time of the laser diodes.

[0088] It is understandable that the queue of signals to be emitted of the idle laser diode is empty, and the number of pixels to be printed in the queue of signals to be emitted is zero.

[0089] In one possible implementation, a laser printer may include two laser diodes. When the laser printer operates in a fast mode, the queues of signals to be emitted of the first laser diode and the second laser diode correspond to the odd and even rows of the image to be printed, respectively. The two laser diodes work together to achieve a higher printing speed. When the laser printer operates in a low-speed mode, the paper feeding speed of the printer is slowed down, and the printing speed requirement for the image to be printed is reduced. The queue of signals to be emitted of one of the first laser diode and the second laser diode corresponds to all pixels of the image to be printed, and the queue of signals to be emitted of the other laser diode is empty, and only a single laser diode works.

[0090] In a possible implementation, a laser printer may include more than two (N) laser diodes. When the laser printer is running in a deceleration mode, the paper feeding speed of the laser printer is slowed down, and the output speed requirement of the image to be printed is reduced, so some of the more than two laser diodes are in operation. For example, the laser printer includes four laser diodes. When the laser printer is running in a deceleration mode, the first laser diode and the second laser diode of the four laser diodes are in operation, and the remaining two laser diodes are not in operation. The queues of the signals to be emitted of the first laser diode and the second laser diode correspond to the odd and even rows of the image to be printed, respectively.

[0091] Based on the above example, the laser printer includes N laser diodes, and when operating in a reduced speed mode, it is necessary to determine two working laser diodes as a first laser diode and a second laser diode. In some examples, determining the first laser diode and the second laser diode from a plurality of laser diodes includes:

[0092] Calculate the number of illuminated pixels in the history printing of N laser diodes;

[0093] If two laser diodes with the least number of light-emitting pixels printed in history among the N laser diodes are adjacent to each other, the two laser diodes are used as the first laser diode and the second laser diode.

[0094] Specifically, when a laser printer runs in a reduced speed mode for a long time, there may be a large difference in the light emission time between the laser diodes, so a laser diode with a shorter light emission time may be selected for printing. In order to balance the light emission time of each laser diode, the number of pixels printed historically by the four laser diodes can be calculated respectively, and the two laser diodes with the least number of pixels printed historically among the four laser diodes can be determined. In practical applications, the multiple laser diodes that work together need to be adjacent laser diodes. For example, assuming that the laser printer includes four laser diodes beam1, beam2, beam3 and beam4 arranged in sequence, in normal mode, the four laser diodes output simultaneously, and the queues of the to-be-lighted signals of beam1, beam2, beam3 and beam4 correspond to the 4N+1th row, 4N+2th row, 4N+3th row and 4N+4th row of the image to be printed (N≥0 and N is an integer), then when the laser printer is running in half-speed mode, the two laser diodes working together can be beam1 and beam2, or beam2 and beam3, or beam3 and beam4, but not beam1 and beam3, beam1 and beam4, etc. Therefore, if the two laser diodes with the least number of pixels printed in the history of the four laser diodes are adjacent, the two laser diodes are used as the first laser diode and the second laser diode. It can be understood that the first laser diode and the second laser diode are determined based on the arrangement order of the laser diodes in the laser printer. For example, when the two laser diodes working together are beam1 and beam2, the first laser diode is beam1 and the second laser diode is beam2; when the two laser diodes working together are beam2 and beam3, the first laser diode is beam2 and the second laser diode is beam3; when the two laser diodes working together are beam2 and beam3, the first laser diode is beam2 and the second laser diode is beam3.

[0095] It should be noted that the spacing between multiple laser diodes of a laser printer and the physical position of the pixel projected on the OPC are fixed, that is, the spacing between the working laser diodes determines the spacing between two lines on the printed image. Assuming that the machine specification is 600dpi, the distance between beam1 and beam2, beam2 and beam3, beam3 and beam4 is the corresponding specification of 600dpi. If non-adjacent beam1 and beam3 are used, there will be a line of distance between the printed images. Therefore, when only some of the N laser diodes are working, the working laser diodes must be adjacent laser diodes.

[0096] In this example, when two laser diodes with the least number of historically printed pixels among N laser diodes are adjacent, using these two laser diodes as the first laser diode and the second laser diode can effectively balance the light emission time of each laser diode and reduce the aging difference of the laser diodes.

[0097] Further, in some examples, determining the first laser diode and the second laser diode among the plurality of laser diodes includes:

[0098] If the two laser diodes with the least number of emitted pixels that were most recently printed among the N laser diodes are not adjacent, the laser diode with the least number of emitted pixels and the laser diode with fewer emitted pixels among the two laser diodes adjacent to the laser diode with the least number of emitted pixels will be used as the first laser diode and the second laser diode.

[0099] Specifically, if the two laser diodes with the least number of pixels printed most recently among the N laser diodes are not adjacent, the laser diode with the least number of pixels already emitted is determined as a working laser diode, and another working laser diode is determined among the two laser diodes adjacent to the laser diode. Specifically, the laser diode with the least number of pixels already emitted can be selected as the other working laser diode among the two laser diodes adjacent to the laser diode with the least number of pixels, thereby determining the first laser diode and the second laser diode.

[0100] In this example, when the two laser diodes with the fewest number of pixels in historical printing among N laser diodes are not adjacent, the laser diode with the fewest number of pixels and the laser diode with fewer pixels among the two laser diodes adjacent to the laser diode with the fewest number of pixels are used as the first laser diode and the second laser diode. This can effectively balance the light emission time of each laser diode and reduce the aging differences of the laser diodes.

[0101] In some examples, if the number of pixels historically printed by the first laser diode and the second laser diode is different, the queue of signals to be emitted corresponding to the laser diode with fewer pixels to be emitted in history is adjusted to the queue of signals to be emitted with more pixels to be emitted, including:

[0102] If the number of illuminated pixels historically printed between the first laser diode and the second laser diode is different and the absolute value of the difference between the number of illuminated pixels historically printed between the first laser diode and the second laser diode is greater than a preset threshold, the queue of signals to be emitted corresponding to the laser diode with fewer illuminated pixels historically printed is adjusted to the queue of signals to be emitted corresponding to the laser diode with more illuminated pixels.

[0103] In a specific implementation, when the number of illuminated pixels historically printed by the first laser diode and the second laser diode is different, the difference in the number of illuminated pixels historically printed by the two may be small. Therefore, when the absolute value of the difference between the number of illuminated pixels historically printed by the first laser diode and the second laser diode is not greater than a preset threshold, the queues of signals to be emitted of the first laser diode and the second laser diode may not be adjusted. Only when the absolute value of the difference between the number of illuminated pixels historically printed by the first laser diode and the second laser diode is greater than the preset threshold, the queues of signals to be emitted corresponding to the laser diode with a smaller number of illuminated pixels historically printed are adjusted to the queues of signals to be emitted corresponding to the laser diode with a larger number of illuminated pixels, thereby effectively balancing the light-emitting time of the laser diodes, reducing energy consumption, and increasing printing speed.

[0104] Figure 5 The structure diagram of the printing device provided in the embodiment of the present application is shown in FIG. The printing device may be a laser printer, a main control chip of a laser printer, or a server connected to a laser printer. Figure 5 As shown, the printing device 500 may include:

[0105] A determination module 51 is used to determine a first laser diode and a second laser diode from the plurality of laser diodes, and obtain a light-emitting signal queue and a to-be-light-emitting signal queue of the first laser diode and the second laser diode;

[0106] A calculation module 52, used to respectively calculate the number of historically printed illuminated pixels in the illuminated signal queues of the first laser diode and the second laser diode, and, according to the image to be printed, calculate the number of to-be-illuminated pixels in the to-be-illuminated signal queues of the first laser diode and the second laser diode;

[0107] The adjustment module 53 is used for adjusting the queue of signals to be emitted corresponding to the laser diode with fewer pixels to the queue of signals to be emitted with more pixels if the pixel numbers of the first laser diode and the second laser diode are different in history;

[0108] The printing module 54 is used to print the image to be printed according to the adjusted queue of signals to be emitted.

[0109] It is understandable that when the printing device 500 is the main control chip of a laser printer or a server connected to a laser printer, the printing module 54 can be used to send a printing task to the laser printer according to the adjusted queue of signals to be emitted, and control the laser printer to print the image to be printed.

[0110] It should be noted that the printing device provided in the embodiment of the present application is used to execute the printing method as described above, and its specific implementation method is as described above and will not be repeated here.

[0111] Figure 6 Schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may be a main control chip of a laser printer or a server connected to a laser printer. Figure 6 As shown, the electronic device includes:

[0112] The electronic device includes a processor 291 and a memory 292; it may also include a communication interface 293 and a bus 294. The processor 291, the memory 292, and the communication interface 293 may communicate with each other through the bus 294. The communication interface 293 may be used for information transmission. The processor 291 may call the logic instructions in the memory 292 to execute the method of the above embodiment.

[0113] In addition, the logic instructions in the above-mentioned memory 292 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

[0114] The memory 292 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the methods in the embodiments of the present application. The processor 291 executes functional applications and data processing by running the software programs, instructions, and modules stored in the memory 292, that is, implementing the methods in the above method embodiments.

[0115] The memory 292 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 292 may include a high-speed random access memory and may also include a non-volatile memory.

[0116] An embodiment of the present application also provides a non-temporary computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the method described in the above embodiment.

[0117] An embodiment of the present application also provides a computer program product, including a computer program, which implements the method provided in any embodiment of the present application when the computer program is executed by a processor.

[0118] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0119] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A printing method, characterized in that: Applied to a laser printer, the laser printer includes a plurality of laser diodes; the method includes: Determine a first laser diode and a second laser diode from the plurality of laser diodes, and obtain a light-emitting signal queue and a to-be-emitting signal queue of the first laser diode and the second laser diode; The number of historically printed illuminated pixels in the illuminated signal queues of the first laser diode and the second laser diode is calculated respectively. And, according to the image to be printed, the number of pixels to be illuminated in the queue of the signals to be illuminated of the first laser diode and the second laser diode is calculated; If the number of pixels of light emitted by the first laser diode and the second laser diode in historical printing is different, the queue of signals to be emitted corresponding to the laser diode with fewer pixels of light emitted in historical printing is adjusted to the queue of signals to be emitted corresponding to the laser diode with more pixels of light emitted; The image to be printed is printed according to the adjusted queue of signals to be emitted.

2. The method according to claim 1, characterized in that If the number of pixels of light emitted by the first laser diode and the second laser diode in historical printing is different, the queue of signals to be emitted corresponding to the laser diode with fewer pixels of light emitted in historical printing is adjusted to the queue of signals to be emitted with more pixels of light emitted, including: If the number of pixels that have been illuminated in the history printing of the first laser diode is greater than the number of pixels that have been illuminated in the history printing of the second laser diode, and the number of pixels to be illuminated of the first laser diode is greater than the number of pixels to be illuminated of the second laser diode; or if the number of pixels that have been illuminated in the history printing of the first laser diode is less than the number of pixels that have been illuminated in the history printing of the second laser diode, and the number of pixels to be illuminated of the first laser diode is less than the number of pixels to be illuminated of the second laser diode, then the queue of signals to be illuminated corresponding to the laser diode with fewer number of pixels that have been illuminated in the history printing is adjusted to the queue of signals to be illuminated corresponding to another laser diode; If the number of pixels already emitted in the historical printing of the first laser diode is greater than the number of pixels already emitted in the historical printing of the second laser diode, and the number of pixels to be emitted by the first laser diode is not greater than the number of pixels to be emitted by the second laser diode; or if the number of pixels already emitted in the historical printing of the first laser diode is less than the number of pixels already emitted in the historical printing of the second laser diode, and the number of pixels to be emitted by the first laser diode is not less than the number of pixels to be emitted by the second laser diode, the queue of signals to be emitted will not be adjusted.

3. The method according to claim 1 or 2, characterized in that: The calculating the number of pixels to be emitted in the to-be-emitted signal queues of the first laser diode and the second laser diode comprises: When the signal queues to be emitted by the first laser diode and the second laser diode are respectively odd-numbered lines and even-numbered lines of the image to be printed, Calculating the number of pixels in a row of the image to be printed, wherein the number of pixels in a row includes the number of pixels in odd-numbered rows and the number of pixels in even-numbered rows; The number of pixels in the odd-numbered rows is used as the number of pixels to be emitted in the signal queue to be emitted of the first laser diode, and the number of pixels in the even-numbered rows is used as the number of pixels to be emitted in the signal queue to be emitted of the second laser diode.

4. The method according to claim 3, characterized in that The step of adjusting the queue of signals to be emitted corresponding to the laser diodes with fewer pixels to be emitted in history printing to a queue of signals to be emitted with more pixels to be emitted includes: The queue of signals to be emitted corresponding to the laser diode with fewer pixels to be emitted in historical printing is adjusted to the queue of signals to be emitted corresponding to the one with more pixels to be emitted, that is, the odd-numbered rows of pixels or the even-numbered rows of pixels.

5. The method according to claim 4, characterized in that The step of adjusting the queue of signals to be emitted corresponding to the laser diode with fewer pixels to be emitted in the history printing to the queue of signals to be emitted corresponding to the one with more pixels to be emitted, the one with more pixels to be emitted, of the odd-numbered rows and the even-numbered rows, comprises: An odd number of blank lines are inserted at the top of the image to be printed, and the image to be printed is moved up by a first length; the first length is the length corresponding to the odd number of blank lines.

6. The method according to claim 1, characterized in that include: When the queue of signals to be emitted from one of the first laser diode and the second laser diode corresponds to all pixels of the image to be printed, and the queue of signals to be emitted from the other laser diode is empty, The signal queue to be emitted of the laser diode with fewer emitted pixels in the historical printing is adjusted to the signal queue to be emitted corresponding to all pixels of the image to be printed, and the signal queue to be emitted of another laser diode is adjusted to be empty.

7. The method according to claim 6, characterized in that The laser printer includes N laser diodes, N is greater than 2. When the laser printer operates in a reduced speed mode, the queues of the signals to be emitted by the first laser diode and the second laser diode correspond to the odd-numbered rows of pixels and the even-numbered rows of pixels of the image to be printed, respectively.

8. The method according to claim 7, characterized in that The step of determining a first laser diode and a second laser diode from among the plurality of laser diodes comprises: Calculating the number of illuminated pixels historically printed by the N laser diodes; If two laser diodes with the least number of historically printed illuminated pixels among the N laser diodes are adjacent to each other, the two laser diodes are used as the first laser diode and the second laser diode.

9. The method according to claim 8, characterized in that The step of determining a first laser diode and a second laser diode from among the plurality of laser diodes comprises: If the two laser diodes with the least number of emitted pixels in the history of printing among the N laser diodes are not adjacent, the laser diode with the least number of emitted pixels and the laser diode with fewer emitted pixels among the two laser diodes adjacent to the laser diode with the least number of emitted pixels will be used as the first laser diode and the second laser diode.

10. The method according to claim 6, characterized in that The laser printer comprises two laser diodes. When the laser printer operates in a fast mode, the queues of signals to be emitted of the first laser diode and the second laser diode correspond to printing odd-numbered rows of pixels and even-numbered rows of pixels of the image to be printed, respectively. When the laser printer operates in a slow-down mode, the queues of signals to be emitted of one of the first laser diode and the second laser diode correspond to all pixels of the image to be printed, and the queues of signals to be emitted of the other laser diode are empty.

11. The method according to any one of claims 1 to 10, characterized in that: If the number of pixels of light emitted by the first laser diode and the second laser diode in historical printing is different, the queue of signals to be emitted corresponding to the laser diode with fewer pixels of light emitted in historical printing is adjusted to the queue of signals to be emitted with more pixels of light emitted, including: If the number of illuminated pixels historically printed between the first laser diode and the second laser diode is different and the absolute value of the difference between the number of illuminated pixels historically printed between the first laser diode and the second laser diode is greater than a preset threshold, the queue of signals to be emitted corresponding to the laser diode with fewer illuminated pixels historically printed is adjusted to the queue of signals to be emitted with more pixels to be emitted.

12. A printing device, applied to a laser printer, the laser printer comprising a plurality of laser diodes; the device comprising: A determination module, configured to determine a first laser diode and a second laser diode from the plurality of laser diodes, and obtain a light-emitting signal queue and a to-be-light-emitting signal queue of the first laser diode and the second laser diode; A calculation module, used to respectively calculate the number of historically printed illuminated pixels in the illuminated signal queues of the first laser diode and the second laser diode, and, according to the image to be printed, calculate the number of pixels to be illuminated in the to-be-illuminated signal queues of the first laser diode and the second laser diode; An adjustment module, for adjusting the queue of signals to be emitted corresponding to the laser diode with fewer pixels to be emitted to the queue of signals to be emitted with more pixels if the pixel numbers of the first laser diode and the second laser diode are different in history; The printing module is used to print the image to be printed according to the adjusted queue of signals to be emitted.

13. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 11.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 11 when executed by a processor.

15. A computer program product, comprising computer executable instructions, wherein the computer executable instructions are used to implement the method according to any one of claims 1 to 11 when executed by a processor.

Citation Information

Patent Citations

  • Printing apparatus

    CN103105758A

  • Optical writing printer

    JP1993177868A

  • Image formation device

    JP2010012615A

  • Optical printer head and driving method thereof

    US20010033323A1

  • Systems and methods for laser spacing compensation in laser printing devices

    US8436883B1