An adjustment method and device of a printhead sheet, an electronic device and a storage medium

By automating the adjustment of the printhead's working mode and operating information, the problem of printing misalignment caused by parallel errors and offsets in multi-printhead devices is solved, thus improving print quality.

CN117087331BActive Publication Date: 2025-11-28XIAMEN HANIN CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311065847.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-23
Publication Date
2025-11-28
Estimated Expiration
2043-08-23

AI Technical Summary

Technical Problem

Parallelism and misalignment exist between multiple printheads in existing printers, causing misaligned printed content. This makes manual adjustment difficult for technicians, as it is impossible to make precise adjustments and affects print quality.

Method used

By determining the operating mode of the initial printhead, its operating information is obtained, and the adjustment method of the target printhead is determined based on the adjustment requirements and operating information. Precise adjustments are then made using software and/or hardware devices.

Benefits of technology

It improves the adjustment precision of the printhead, enhances the printer's printing effect, and solves the problem of technicians finding it difficult to make precise adjustments manually.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117087331B_ABST
    Figure CN117087331B_ABST
Patent Text Reader

Abstract

The application discloses a kind of print head piece adjustment method, device, electronic equipment and storage medium.The application relates to printer technical field, method includes: the working mode of initial print head piece is determined based on the adjustment requirement of print head piece, wherein initial print head piece includes at least two print head pieces;Initial print head piece is operated based on working mode, and the running information of initial print head piece is acquired;Target print head piece and the adjustment mode of target print head piece are determined based on running information, wherein target print head piece is at least one print head piece in initial print head piece;Target print head piece is adjusted based on adjustment mode.The technical scheme of the application can determine the working mode of print head piece according to the adjustment requirement of print head piece, and the adjustment mode of print head piece is determined according to the running information of print head piece, which can improve the adjustment accuracy of print head piece and enhance the printing effect of printer.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of printers, in particular to a method and device for adjusting a print head, an electronic device and a storage medium. BACKGROUND

[0002] With the development of printers, the improvement of the living standards of residents and the office level of enterprises, the application of printers is becoming more and more common, and has been completely integrated into people's daily life. Therefore, the performance of the printer is one of the key issues that people are concerned about.

[0003] The performance of the printer is closely related to the performance, stability and synergy of each component in the printer, such as the synergy function of the print head and the installation information of the print head. If there is a fault in each component in the printer or the synergy of each component is limited, the printing effect of the printer will be greatly reduced, and the user's experience will be affected. At present, the printers with high printing efficiency on the market generally have two or more print heads, and use multiple print heads to work together to improve the printing speed of the printer. However, there is a parallel error and offset between the print heads of the multi-print head printing device, which will cause the printing content of the printer to be misaligned and affect the printing effect.

[0004] At present, the calibration method of the print head is to manually adjust the position of the print head by the technician according to experience, but the adjustment ability of the technician is limited, and it is very difficult to manually adjust the position of the print head. Once the offset / parallel error of the print head to be adjusted is small, the technician will not be able to accurately adjust the position of the print head, and improper position adjustment will affect the printing quality of the printer. SUMMARY

[0005] The present application provides a method and device for adjusting a print head, an electronic device and a storage medium, which aims to determine the working mode of the print head according to the adjustment requirements of the print head, and to determine the adjustment mode of the print head according to the running information of the print head, thereby improving the adjustment accuracy of the print head and enhancing the printing effect of the printer.

[0006] According to one aspect of the present application, a method for adjusting a print head is provided, the method comprising:

[0007] determining the working mode of the initial print head based on the adjustment requirements of the print head, wherein the initial print head comprises at least two print heads;

[0008] controlling the initial print head to run based on the working mode, and obtaining the running information of the initial print head;

[0009] determine the target print head piece and an adjustment mode of the target print head piece based on the operation information, wherein the target print head piece is at least one print head piece in the initial print head pieces;

[0010] adjust the target print head piece based on the adjustment mode.

[0011] Optionally, the adjustment requirement comprises a parallel adjustment requirement and an alignment adjustment requirement, and the working mode comprises a first working mode and a second working mode, the first working mode corresponding to the parallel adjustment requirement, and the second working mode corresponding to the alignment adjustment requirement.

[0012] Optionally, the first working mode is based on a first preset direction and a first preset distance, and the second working mode is based on a second preset direction and a second preset distance.

[0013] Optionally, the method further comprises: determining the working mode of the initial print head pieces based on the adjustment requirement of the print head pieces, comprising: determining whether the adjustment requirement is the parallel adjustment requirement; if the adjustment requirement is the parallel adjustment requirement, determining the working mode of the initial print head pieces as being based on the first preset direction and the first preset distance; or if the adjustment requirement is not the parallel adjustment requirement, determining the working mode of the initial print head pieces as being based on the second preset direction and the second preset distance; or determining the working mode of the initial print head pieces based on the adjustment requirement of the print head pieces, comprising: determining whether the adjustment requirement is the alignment adjustment requirement; if the adjustment requirement is the alignment adjustment requirement, determining the working mode of the initial print head pieces as being based on the second preset direction and the second preset distance; or if the adjustment requirement is not the alignment adjustment requirement, determining the working mode of the initial print head pieces as being based on the first preset direction and the first preset distance.

[0014] Optionally, when the working mode is the first working mode, the method further comprises: controlling the initial print head pieces to operate based on the working mode, and obtaining operation information of the initial print head pieces, comprising: determining at least two operation information collection positions; controlling the initial print head pieces to operate based on the first preset direction and the first preset distance, and determining a set of time differences between print tracks of the initial print head pieces based on an information collector at the operation information collection positions, the set of time differences comprising at least two sub-time differences, each sub-time difference corresponding to one operation information collection position; and determining at least two first target distances based on a paper feed speed of the printer and the set of time differences, wherein the first target distance is a relative distance between the initial print head pieces at the operation information collection positions.

[0015] Optionally, the target print head and the adjustment mode of the target print head are determined based on the running information, including: determining the target print head according to a selection rule of the initial print head and the target print head; determining whether a distance difference of the at least two first target distances is less than or equal to a preset distance difference; if the distance difference is less than or equal to the preset distance difference, determining that the adjustment mode is no adjustment; if the distance difference is greater than the preset distance difference, determining a first intermediate target distance based on the at least two first target distances, and determining that the adjustment mode is adjusting the target print head based on a first adjustment direction and a first adjustment distance, wherein the first intermediate target distance is a distance with the highest distance value among all the target distances, the first adjustment direction is a direction in which the target print head approaches other print heads, and the first adjustment distance is one half of a distance difference between the first intermediate target distance and a second intermediate target distance, and the second intermediate target distance is a target distance among the at least two target distances except the first intermediate target distance.

[0016] Optionally, when the working mode is the second working mode, the initial print head is controlled to run based on the working mode, and the running information of the initial print head is acquired, including: determining a collection position of the running information; controlling the initial print head to run based on a second preset direction and a second preset distance, and determining a time difference between print tracks of the initial print head based on an information collector at the collection position; and determining a second target distance of the initial print head according to a paper feed speed of the printer and the time difference.

[0017] Optionally, the target print head and the adjustment mode of the target print head are determined based on the running information, including: determining the reference print head according to a selection rule of the initial print head and the reference print head; determining an offset amount of the target print head and the reference print head based on a third preset distance, an inclination angle of the reference print head, and the second target distance; determining whether a difference between the offset amount and the third preset distance is less than or equal to a preset offset amount; if the offset amount is less than or equal to the preset offset amount, determining that the adjustment mode is updating a starting print point of the target print head based on the offset amount; and if the offset amount is greater than the preset offset amount, determining that the adjustment mode is adjusting position information of the starting print point of the target print head based on the offset amount.

[0018] According to another aspect of the present application, there is provided an adjustment device for print heads, the device comprising:

[0019] an acquisition module configured to determine a working mode of an initial print head based on an adjustment requirement of the print heads, wherein the initial print head comprises at least two print heads;

[0020] a control module configured to control the initial print head to run based on the working mode, and acquire running information of the initial print head;

[0021] determining a target print head piece and an adjustment manner of the target print head piece based on the running information, wherein the target print head piece is at least one print head piece in the initial print head pieces;

[0022] adjusting the target print head piece based on the adjustment manner.

[0023] According to another aspect of the present application, an electronic device is provided, which comprises:

[0024] at least one processor; and a memory connected with the at least one processor in communication;

[0025] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the adjustment method of the print head piece according to any one of the embodiments of the present application.

[0026] According to another aspect of the present application, a computer readable storage medium is provided, which stores computer instructions for enabling a processor to perform the adjustment method of the print head piece according to any one of the embodiments of the present application when the computer instructions are executed by the processor.

[0027] The technical solution of the embodiments of the present application can determine the working manner of the initial print head pieces based on the adjustment requirement of the print head pieces, wherein the initial print head pieces comprise at least two print head pieces; control the initial print head pieces to run based on the working manner and obtain the running information of the initial print head pieces; determine the target print head piece and the adjustment manner of the target print head piece based on the running information, wherein the target print head piece is at least one print head piece in the initial print head pieces; and adjust the target print head piece based on the adjustment manner. The working manner of the print head pieces can be determined according to the adjustment requirement of the print head pieces, and the adjustment manner of the print head pieces can be determined according to the running information of the print head pieces, which can improve the adjustment accuracy of the print head pieces and enhance the printing effect of the printer. The problems such as that the technician manually adjusts the position of the print head piece according to experience, the adjustment ability of the technician is limited, it is difficult to manually adjust the position of the print head piece, the technician cannot accurately adjust the position of the print head piece when the offset and / or parallel error of the print head piece to be adjusted is small, and the printing quality of the printer is reduced, etc. are solved.

[0028] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present application, nor to limit the scope of the present application. Other features of the present application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0029] In order to make the technical solutions in the embodiments of the present application clearer, the accompanying drawings needed in the embodiments will be briefly introduced. Obviously, the accompanying drawings in the following description only need to be some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort.

[0030] Figure 1 is a flowchart of a printing head piece adjustment method provided by the first embodiment of the present application;

[0031] Figure 2 is a flowchart of a printing head piece adjustment method provided by the second embodiment of the present application;

[0032] Figure 3 is a schematic diagram of a printing head piece provided by the second embodiment of the present application;

[0033] Figure 4 is a flowchart of a printing head piece adjustment method provided by the third embodiment of the present application;

[0034] Figure 5 is a schematic diagram of a printing head piece provided by the third embodiment of the present application;

[0035] Figure 6 is another schematic diagram of a printing head piece provided by the third embodiment of the present application;

[0036] Figure 7 is a structural schematic diagram of a printing head piece adjustment device provided by the fourth embodiment of the present application;

[0037] Figure 8 is a structural schematic diagram of an electronic device provided by the fifth embodiment of the present application. DETAILED DESCRIPTION

[0038] In order to make the technical solutions in the embodiments of the present application clearer, the accompanying drawings needed in the embodiments will be briefly introduced. Obviously, the accompanying drawings in the following description only need to be some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort.

[0039] It is to be understood that the terms "first", "second", and the like, used in the description and the claims of the application and the above drawings, are used to distinguish between similar objects, and are not necessarily used to describe a particular sequential or chronological order. It is to be understood that the use of data herein is not to be construed as limiting, but rather, the embodiments of the application described herein are capable of being practiced in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprise" and "include", and variations thereof, are intended to cover non-exclusive inclusions, such that processes, methods, systems, products, or devices that comprise, include, or are otherwise including a list of steps or elements, can include those not expressly listed or inherent to such processes, methods, systems, products, or devices.

[0040] Embodiment one

[0041] Figure 1 is a flowchart of a method for adjusting a print head sheet according to an embodiment of the application. The embodiment can be applicable to horizontal calibration of the print head sheet, left-right alignment calibration of the print head sheet, etc. The method can be executed by an adjusting device for the print head sheet according to the application. The device can be implemented in software and / or hardware. In a specific embodiment, the device can be integrated in an electronic device. The following embodiment will be described by taking the device integrated in the electronic device as an example. Referring to Figure 1 , the method specifically includes the following steps:

[0042] S101, determining an initial working mode of the print head sheet based on an adjustment requirement of the print head sheet.

[0043] The initial print head sheet includes at least two print head sheets. The number of print head sheets is related to the model of the printer, and is generally 2 to 4. Different print head sheets can print different color contents. After installation, the print head sheet can have parallel errors and alignment errors. The parallel errors can cause the printed contents of the print head sheets to be inclined. The alignment errors can cause the starting printing positions of the print head sheets to be different. Both types of errors can affect the printing effect.

[0044] Specifically, the adjustment requirement includes a parallel adjustment requirement and an alignment adjustment requirement. The parallel adjustment requirement can be understood as a starting instruction for adjusting the parallel errors of the print head sheets. The alignment adjustment requirement can be understood as a starting instruction for adjusting the alignment errors of the print head sheets. The working mode includes a first working mode and a second working mode. The first working mode corresponds to the parallel adjustment requirement, and the second working mode corresponds to the alignment adjustment requirement. Further, the first working mode is based on a first preset direction and a first preset distance, and the second working mode is based on a second preset direction and a second preset distance.

[0045] For example, when the adjustment requirement of the print head piece is a parallel adjustment requirement, the working mode of the initial print head piece is determined to be running based on the first preset direction and the first preset distance, and when the adjustment requirement of the print head piece is an alignment adjustment requirement, the working mode of the initial print head piece is determined to be running based on the second preset direction and the second preset distance.

[0046] In this way, the movement mode of the print head piece can be determined according to different adjustment requirements, and the adjustment efficiency and accuracy of the print head piece are improved.

[0047] Optionally, the adjustment requirement of the print head piece in the embodiment includes a parallel adjustment requirement and an alignment adjustment requirement. Therefore, the working mode of the initial print head piece is determined based on the adjustment requirement, including: determining whether the adjustment requirement is a parallel adjustment requirement; if the adjustment requirement is a parallel adjustment requirement, determining the working mode of the initial print head piece to be running based on the first preset direction and the first preset distance; if the adjustment requirement is not a parallel adjustment requirement, determining the adjustment requirement to be an alignment adjustment requirement, and considering that the working mode of the initial print head piece is running based on the second preset direction and the second preset distance; or, the working mode of the initial print head piece is determined based on the adjustment requirement, including: determining whether the adjustment requirement is an alignment adjustment requirement; if the adjustment requirement is an alignment adjustment requirement, determining the working mode of the initial print head piece to be running based on the second preset direction and the second preset distance; if the adjustment requirement is not an alignment adjustment requirement, determining the adjustment requirement to be a parallel adjustment requirement, and considering that the working mode of the initial print head piece is running based on the first preset direction and the first preset distance. In this way, the working mode of the print head piece can be quickly determined.

[0048] The first preset distance and the second preset distance are used to observe the running information of the print head piece, and the specific values are not limited, and can be set and adjusted according to the size of the print paper, the running logic of the print head piece, the paper feeding speed of the printer, and the like. The embodiment does not limit this.

[0049] Specifically, the control of the print head piece to operate based on the first preset direction and the first preset distance can be understood as the control of the print head piece to print a straight line with a length of the first preset distance, that is, the determination of the printing points of the print head piece that need to perform the printing work based on the first preset distance, and the control of the printing points of the print head piece to perform the printing work at the same time, so as to print a straight line with a length of the first preset distance. The control of the print head piece to operate based on the second preset direction and the second preset distance can be understood as the control of the print head piece to print an inclined line with a length of the second preset distance, that is, the determination of the number of the printing points of the print head piece that need to perform the printing work based on the second preset distance, and the control of the printing points of the print head piece to perform the printing work in turn in the paper feeding process, so as to print an inclined line with a length of the second preset distance. The specific inclination angle is related to the calibration logic of the printer and the paper feeding speed, which is not limited in the embodiment.

[0050] S102, control the initial print head piece to operate based on the working mode, and obtain the operation information of the initial print head piece.

[0051] The operation information of the initial print head piece can be understood as distance information between the initial print head pieces, which is used to determine whether there is a parallel error and / or an alignment error in the initial print head pieces.

[0052] Specifically, the control of the initial print head piece to operate based on the working mode can be understood as the control of the initial print head piece to operate based on the working mode determined in step S101. The obtaining of the operation information of the initial print head piece can be understood as the determination of at least one relative distance between the print head pieces. The relative distance is essentially the distance between the lines printed by the print head pieces. The number of the relative distances corresponds to the adjustment requirement. For example, at least two relative distances are required for the parallel adjustment of the print head pieces, and at least one relative distance is required for the alignment adjustment of the print head pieces.

[0053] For example, the obtaining of the operation information of the initial print head piece includes the determination of the printing tracks of the print head pieces, and the determination of the relative distances between the print head pieces according to the printing tracks.

[0054] The advantage of such a setting is that the operation information can be determined according to the adjustment requirement of the print head piece, thereby saving resources.

[0055] S103, determining a target print head piece and an adjustment mode of the target print head piece based on the operation information.

[0056] The target print head piece can be understood as a print head piece that needs to be adjusted and calibrated. The adjustment mode of the target print head piece can be understood as the calibration information of the target print head piece, including the adjustment angle, the adjustment distance, etc. The embodiment is not limited in this regard.

[0057] Specifically, the target print head piece is at least one print head piece in the initial print head pieces.

[0058] For example, assuming that the printer has two print head pieces, if it is determined according to the running information that the print head piece that needs to be calibrated is print head piece 1, and the calibration information is to move Y distance in the X direction, then the target print head piece is print head piece 1, and the adjustment mode of the target print head piece is to move Y distance in the X direction.

[0059] S104, adjusting the target print head piece based on the adjustment mode.

[0060] Specifically, adjusting the target print head piece based on the adjustment mode can be understood as adjusting the position of the target print head piece based on the adjustment mode of the target print head piece determined in step S103, so as to improve the printing quality of the printer.

[0061] For example, assuming that the target print head piece is print head piece 1, and the adjustment mode of the target print head piece is to move Y distance in the X direction, then adjusting the target print head piece based on the adjustment mode is to move print head piece 1 Y distance in the X direction.

[0062] The advantage of such a setting is that the print head piece can be adjusted according to the adjustment requirements of the print head piece and the running information of the print head piece, improving the adjustment accuracy of the print head piece and enhancing the printing effect of the printer.

[0063] The technical scheme of the embodiment determines the working mode of the initial print head piece based on the adjustment requirements of the print head piece, wherein the initial print head piece includes at least two print head pieces; controls the initial print head piece to run based on the working mode, and obtains the running information of the initial print head piece; determines the target print head piece and the adjustment mode of the target print head piece based on the running information, wherein the target print head piece is at least one print head piece in the initial print head pieces; and adjusts the target print head piece based on the adjustment mode. The working mode of the print head piece can be determined according to the adjustment requirements of the print head piece, and the adjustment mode of the print head piece can be determined according to the running information of the print head piece, which can improve the adjustment accuracy of the print head piece and enhance the printing effect of the printer. The problems of manually adjusting the position of the print head piece by the technician according to experience, the limited adjustment ability of the technician, the difficulty of manually adjusting the position of the print head piece, and the inability of the technician to accurately adjust the position of the print head piece when the offset and / or parallel error of the print head piece to be adjusted is small, thereby reducing the printing quality of the printer, are solved.

[0064] Embodiment two

[0065] Figure 2is a flowchart of a method for adjusting a print head piece according to Embodiment Two of the present application. The present embodiment is applicable to parallel calibration of a print head piece. The method can be performed by an adjusting device for a print head piece provided by the present application. The device can be implemented in software and / or hardware. In a specific embodiment, the device can be integrated in an electronic device. The following embodiments will be described by taking the device integrated in an electronic device as an example. Refer to Figure 2 The method specifically includes the following steps.

[0066] S201: Determine an initial working mode of the print head piece based on an adjustment requirement of the print head piece.

[0067] In the present embodiment, determining the initial working mode of the print head piece based on the adjustment requirement of the print head piece can be understood as determining the initial working mode of the print head piece based on the parallel adjustment requirement as running based on a first preset direction and a first preset distance.

[0068] The first direction represents a horizontal direction on the paper, for example, row information of the paper or column information of the paper. The specific orientation of the horizontal direction is related to the calibration logic of the printer, which is not limited in the present embodiment.

[0069] The purpose of controlling the initial print head piece to run based on the first preset direction and the first preset distance is to control each print head piece to print a preset length of horizontal line, so as to determine whether there is a parallel error between the print head pieces according to the relative distance between the print head pieces.

[0070] S202: Determine at least two running information collection positions.

[0071] The running information collection position can be understood as a position for determining the relative distance between the print head pieces. Specifically, the relative distance between the print head pieces at at least two different positions can be used to determine whether there is a parallel error between the print head pieces. For example, if the relative distances at multiple positions are equal or within a certain range, it is considered that the print head pieces are in a relatively parallel state, and there is no parallel error between the print head pieces. If the relative distances at multiple positions are quite different, it is considered that the print head pieces have an inclination problem, and there is a parallel error between the print head pieces.

[0072] The advantage of such setting is to effectively improve the accuracy of the running data of the print head piece.

[0073] S203: Control the initial print head piece to run based on the first preset direction and the first preset distance, and determine a time difference set between the print tracks of the initial print head piece based on an information collector at the running information collection position.

[0074] The information collector can be understood as a device for collecting printing track information, for example, a photoelectric pair. Specifically, after the print head piece is operated, a printing track is left on the paper. The reflected / transmitted signal of the photoelectric pair when passing through the printing track is different from the signal when passing through the white paper. The time difference set can be determined by the time of the photoelectric pair passing through the printing track of each print head piece. The time difference set includes at least two sub-time differences. The sub-time differences correspond to the operation information collection positions one by one.

[0075] For example, assuming that the operation information collection positions are position 1 and position 2, the print head pieces include print head piece 1 and print head piece 2, and the print head pieces leave a black printing track on the printing paper when they are operated. If the photoelectric pair detects the printing track of print head piece 1 at time 1 and the printing track of print head piece 2 at time 2 at position 1, and detects the printing track of print head piece 1 at time 3 and the printing track of print head piece 2 at time 4 at position 2, then the time difference set includes two sub-time differences. One sub-time difference is the difference between time 2 and time 1, and the other sub-time difference is the difference between time 4 and time 3.

[0076] S204, determining at least two first target distances according to the paper feed speed of the printer and the time difference set.

[0077] The first target distance is the relative distance between the initial print head pieces at the operation information collection position. Specifically, the first target distance can be determined according to the product of the paper feed speed of the printer and the sub-time difference.

[0078] For example, assuming that the operation information collection positions are position 1 and position 2, and the print head pieces include print head piece 1 and print head piece 2, then the first target distance includes distance 1 and distance 2. Distance 1 is the distance between the printing track of print head piece 1 and the printing track of print head piece 2 at position 1 (which can be understood as a straight line printed by print head piece 1). Figure 3 is a schematic diagram of a print head piece provided by the second embodiment of the present application. In the diagram, d1 represents distance 1, and d2 represents distance 2. According to the relative relationship between d1 and d2, it can be determined whether print head piece 1 and print head piece 2 have parallel error. For example, if d2 is greater than d1, then print head piece 1 has deviation away from print head piece 2 or print head piece 2 has deviation away from print head piece 1. If d2 is less than d1, then print head piece 1 has deviation close to print head piece 2 or print head piece 2 has deviation close to print head piece 1.

[0079] S205, determining the target print head piece according to the selection rule of the initial print head piece and the target print head piece.

[0080] The selection rule of the target print head piece can be understood as indicative information of selecting the target print head piece, for example, selecting a print head piece with relatively parallel print tracks as the target print head piece, selecting a print head piece with relatively non-parallel print tracks as the target print head piece, selecting all print head pieces as the target print head piece, etc. The selection rule of the target print head piece can be set according to adjustment requirements, which is not limited in the embodiment.

[0081] For example, Figure 3 As described above, the print head piece 1 can be selected as the target print head piece. When adjusting, only the position of the print head piece 1 needs to be adjusted according to the two relative distances. The advantage of this setting is that it can simplify the adjustment mode of the print head piece and improve the adjustment efficiency of the print head piece while ensuring the adjustment effect.

[0082] S206, determining whether the distance difference of the at least two first target distances is less than or equal to a preset distance difference.

[0083] The preset distance difference can be understood as a standard for measuring whether the first target distances are equal. The specific value of the preset distance difference is related to the accuracy of the print head piece. If the difference between the first target distances is less than or equal to the preset distance difference, it is considered that the first target distances are equal.

[0084] Specifically, if the distance difference is less than or equal to the preset distance difference, step S207 is performed, and if the distance difference is greater than the preset distance difference, step S208 is performed.

[0085] S207, determining that the adjustment mode is not adjusted.

[0086] Specifically, when the distance difference is less than or equal to the preset distance difference, it is considered that the print head pieces are in a relatively parallel state, and there is no parallel error between the print head pieces, so no adjustment is needed.

[0087] The advantage of this setting is that it can save adjustment resources.

[0088] S208, determining a first intermediate target distance based on the at least two first target distances, and determining that the adjustment mode is to adjust the target print head piece based on a first adjustment direction and a first adjustment distance.

[0089] The first intermediate target distance is the distance with the highest distance value among all target distances, the first adjustment direction is the direction in which the target print head piece approaches other print head pieces, the first adjustment distance is half of the distance difference between the first intermediate target distance and a second intermediate target distance, and the second intermediate target distance is a target distance other than the first intermediate target distance among the at least two target distances.

[0090] For example, Figure 3For example, the determination process of the adjustment mode is described. It is assumed that the starting printing point of the printhead sheet is located at the left end of the printing track (the position where the paper starts to be written), and the ending printing point of the printhead sheet is located at the right end of the printing track (the position where the paper ends to be written). If d1>d2, the first intermediate target distance is d1, the second intermediate target distance is d2, the first adjustment direction is the direction of approaching printhead sheet 2, the first adjustment distance is (d1-d2) / 2, and the adjustment mode is to adjust printhead sheet 1 to approach printhead sheet 2 by (d1-d2) / 2 (specifically, the left / starting end of printhead sheet 1 is adjusted to approach printhead sheet 2). If d2>d1, the first intermediate target distance is d2, the second intermediate target distance is d1, the first adjustment direction is the direction of approaching printhead sheet 2, the first adjustment distance is (d2-d1) / 2, and the adjustment mode is to adjust printhead sheet 1 to approach printhead sheet 2 by (d2-d1) / 2 (specifically, the right / ending end of printhead sheet 1 is adjusted to approach printhead sheet 2).

[0091] Further, d1 and d2 can also be compared with the ideal distance, and the target printhead adjustment mode is determined according to the difference between the ideal distance and d1 and d2.

[0092] S209, adjusting the target printhead based on the adjustment mode.

[0093] Specifically, adjusting the target printhead based on the adjustment mode can be understood as adjusting the target printhead based on the above-determined adjustment mode. If the adjustment mode is not adjusted, the position of the target printhead does not need to be adjusted. If the adjustment mode is to move Y distance in the X direction, the target printhead is moved Y distance in the X direction.

[0094] The technical scheme of the embodiment determines the working mode of the initial print head piece based on the adjustment requirement of the print head piece, determines at least two running information collection positions, controls the initial print head piece to run based on a first preset direction and a first preset distance, and determines a time difference set between print tracks of the initial print head piece based on an information collector at the running information collection positions, determines at least two first target distances according to the paper feed speed of the printer and the time difference set, determines the target print head piece according to the selection rule of the initial print head piece and the target print head piece, determines whether the distance difference of the at least two first target distances is less than or equal to a preset distance difference, determines that the adjustment mode is no adjustment if the distance difference is less than or equal to the preset distance difference, determines the first intermediate target distance based on the at least two first target distances and determines that the adjustment mode is to adjust the target print head piece based on a first adjustment direction and a first adjustment distance if the distance difference is greater than the preset distance difference, and adjusts the target print head piece based on the adjustment mode. The working mode of the print head piece can be determined according to the parallel adjustment requirement of the print head piece, the sub-time difference and other running information between the print head pieces are collected at the information collection positions, and the adjustment mode of the target print head piece is determined according to the plurality of relative distances between the print head pieces, which can improve the adjustment accuracy of the print head piece and enhance the printing effect of the printer. The problems that the position of the print head piece is manually adjusted by a technician according to experience, the adjustment ability of the technician is limited, it is difficult to manually adjust the position of the print head piece, the technician cannot accurately adjust the position of the print head piece when the offset and / or parallel error of the print head piece to be adjusted is small, and the printing quality of the printer is reduced are solved.

[0095] Embodiment three

[0096] Figure 4 is a flowchart of a print head piece adjustment method provided by the embodiment three of the present application. The embodiment can be applicable to left-right alignment calibration of the print head piece. The method can be executed by a print head piece adjustment device provided by the present application. The device can be realized in the form of software and / or hardware. In a specific embodiment, the device can be integrated in an electronic device. The following embodiment will be described by taking the device integrated in the electronic device as an example. Refer to Figure 4 , the method specifically includes the following steps:

[0097] S401, determine the working mode of the initial print head piece based on the adjustment requirement of the print head piece.

[0098] In this embodiment, the initial print head piece is determined based on the adjustment requirements of the print head piece. The working mode of the initial print head piece can be understood as being determined based on the alignment adjustment requirements. The working mode of the initial print head piece is based on the second preset direction and the second preset distance. Specifically, the number of print points of the print head piece that need to perform the printing work is determined based on the second preset distance. The print points of each print head piece are controlled to perform the printing work in sequence during the paper feeding process, so as to print an inclined line with a length of the second preset distance.

[0099] In the formula, the second direction represents the inclination angle of the printing track. The specific size of the inclination angle is related to the paper feeding speed of the printer, the relative distance of each print point in the print head piece, and other factors. The present embodiment is not limited here.

[0100] The purpose of controlling the initial print head piece to run based on the second preset direction and the second preset distance is to control each print head piece to print an inclined line with a preset length, so as to determine whether there is an alignment error between the print head pieces according to the relative distance between the print head pieces.

[0101] S402, determine the collection position of the running information.

[0102] Specifically, the running information collection position can be understood as a position for determining the relative distance between the print head pieces. It is worth noting that only one relative position needs to be collected in the present embodiment. According to the difference between the collected relative position and the ideal position, whether there is an alignment error between the print head pieces can be determined.

[0103] The advantage of such a setting is to save information collection resources and the working task of the information collector.

[0104] S403, control the initial print head piece to run based on the second preset direction and the second preset distance, and determine the time difference between the printing tracks of the initial print head piece based on the information collector at the collection position.

[0105] In the formula, the information collector can be understood as a device for collecting printing track information, such as a photoelectric pair. Specifically, after each print head piece runs, it will leave an inclined black printing track on the paper. The reflected / transmitted signal of the photoelectric pair when passing through the printing track is different from the signal when passing through the white paper. The time difference between the printing tracks of the print head pieces can be determined by the time when the photoelectric pair passes through the printing track of each print head piece.

[0106] For example, it is assumed that the running information collection position is position 3, the print head pieces include print head piece 1 and print head piece 2, and the print head pieces will leave an inclined black printing track on the printing paper when running. If the photoelectric pair detects the printing track of print head piece 1 at time 5 and detects the printing track of print head piece 2 at time 6, then the time difference is the difference between time 6 and time 5.

[0107] S404, determining a second target distance of the initial print head piece according to the paper feed speed of the printer and the time difference.

[0108] The second target distance is the relative distance between the print head pieces at the information collection position. Specifically, the second target distance can be determined according to the product of the paper feed speed of the printer and the time difference.

[0109] For example, assuming that the time difference is T and the paper feed speed of the printer is V, the second target distance is T*V.

[0110] Specifically, when the second target distance is equal to the ideal distance or the error between the two is within a certain range, it is considered that there is no alignment error between the print head pieces, and when the error between the second target distance and the ideal distance is too large, it is considered that there is an alignment error between the print head pieces.

[0111] For example, assuming that the running information collection position is position 4 and the print head pieces include print head piece 1 and print head piece 2, the second target distance includes distance 4, which is the distance between the print track of print head piece 1 (which can be understood as the inclined straight line printed by print head piece 1) and the print track of print head piece 2 at position 1. Figure 5 is a schematic diagram of a print head piece provided by the third embodiment of the present application, in which the inclined straight line represents the actual print track of the print head piece, the inclined dashed line represents the ideal print track of print head piece 1, d3 represents the ideal distance, and d4 represents the actual distance between print head piece 1 and print head piece 2. According to the relative relationship between d3 and d4, it can be determined whether print head piece 1 and print head piece 2 have an alignment error, for example, if d4 is greater than d3, print head piece 1 has a deviation of lagging behind print head piece 2 or print head piece 2 has a deviation of advancing ahead of print head piece 1, if d4 is less than d3, print head piece 1 has a deviation of advancing ahead of print head piece 2 or print head piece 2 has a deviation of lagging behind print head piece 1.

[0112] S405, determining a reference print head piece according to a selection rule of the initial print head piece and the reference print head piece.

[0113] The reference print head piece can be understood as a medium for determining the relative relationship between the print head pieces, and the selection rule of the reference print head piece can be understood as indicative information for selecting the reference print head piece, for example, selecting a print head piece whose print track is closer to the header position as the reference print head piece, selecting a print head piece whose print track is closer to the footer position as the reference print head piece, etc. The selection rule of the reference print head piece can be set according to the adjustment requirements, which is not limited in the present embodiment.

[0114] For example, as shown in FIG. 4, the selection rule of the reference print head piece is that the print head piece whose print track is closer to the header position is selected as the reference print head piece. Figure 5The embodiment can select the print head piece 1 as the reference print head piece, and adjust the position relationship between the print head piece 1 and the print head piece 2 according to the inclination angle of the print track, the ideal distance and the actual distance of the print track.

[0115] The print head piece to be adjusted can be conveniently selected.

[0116] S406, determining the offset of the target print head piece and the reference print head piece based on the third preset distance, the inclination angle of the reference print head piece and the second target distance.

[0117] The third preset distance can be understood as the ideal distance between the print head pieces. The inclination angle of the reference print head piece is related to the paper feeding speed, the parameters of the print head piece and the control logic, and can be understood as a known quantity in the embodiment. The target print head piece can be understood as the print head piece to be adjusted, and the offset can be understood as the left-right offset degree between the print head pieces.

[0118] For example, as shown in FIG. 4, θ represents the inclination angle of the reference print head piece, d3 represents the third preset distance, d4 represents the second target distance, and d5 represents the offset. Figure 5 As shown in FIG. 4, tanθ=(d4-d3) / d5, so d5=(d4-d3) / tanθ.

[0119] It is worth noting that the d5 can be with direction or without direction. The d5 with direction can represent the offset degree and the offset direction, and the offset direction can be used to represent the leading / lagging relationship between the print head piece 1 and the print head piece 2.

[0120] Specifically, when the print head piece 1 lags behind the print head piece 2, the print head piece 2 is considered to be the print head piece to be adjusted, that is, the target print head piece is the print head piece 2. When the print head piece 1 leads the print head piece 2, the print head piece 1 is considered to be the print head piece to be adjusted, that is, the target print head piece is the print head piece 1. Figure 5 In the embodiment, the print head piece 1 lags behind the print head piece 2, and the print head piece 2 is the print head piece to be adjusted, that is, the target print head piece is the print head piece 2.

[0121] S407, determining whether the difference between the offset and the third preset distance is less than or equal to a preset offset.

[0122] The preset offset can be understood as a basis for measuring the distance difference between the second target distance and the ideal distance. The specific value of the preset offset is related to the precision of the print head piece. If the distance difference between the second target distance and the ideal distance is less than or equal to the preset offset, it is considered that the difference between the second target distance and the ideal distance is small. If the distance difference between the second target distance and the ideal distance is greater than the preset offset, it is considered that the difference between the second target distance and the ideal distance is large.

[0123] Specifically, if the offset is less than or equal to the preset offset, step S408 is performed, and if the offset is greater than the preset offset, step S409 is performed.

[0124] The advantage of such a setting is that the calibration method of the print head piece can be determined according to the actual data of the second target distance and the ideal distance.

[0125] S408, determining that the adjustment method is to update the starting printing point of the target print head piece based on the offset.

[0126] The updating of the starting printing point of the target print head piece can be understood as resetting the starting printing point of the print head piece. Specifically, Figure 6 is another schematic diagram of a print head piece provided in Embodiment Three of the present application, Figure 6 The thick black dots in the diagram represent the printing points of the print head piece. As can be seen from the diagram, the print head piece 1 lags behind the print head piece 2, so it is necessary to redefine the starting printing point of the print head piece 2 in order to align the two print head pieces. P1 in the diagram is the starting printing point of the updated print head piece 2, and the printing points before the P1 point will not be processed for any printing task.

[0127] The advantage of such a setting is that the print head pieces are aligned, reducing the misplacement of the printed content and improving the printing quality.

[0128] S409, determining that the adjustment method is to adjust the position information of the starting printing point of the target print head piece based on the offset.

[0129] Specifically, adjusting the position information of the starting printing point of the target print head piece based on the offset can be understood as moving the print head piece by a distance corresponding to the offset, so as to align the print head pieces.

[0130] A large degree of offset is not suitable for redefining the starting point of the print head piece, and too many print head pieces stopping working will affect the printing speed, printing quality and printing efficiency. The advantage of such a setting is that when the offset degree is large, the target print head piece is directly moved based on the offset, which can quickly and efficiently align the print head pieces.

[0131] S410, adjusting the target print head piece based on the adjustment method.

[0132] Specifically, adjusting the target print head piece based on the adjustment mode can be understood as adjusting the target print head piece based on the determined adjustment mode. If the adjustment mode is to update the starting print point of the target print head piece, the starting print point of the target print head piece is reset. If the adjustment mode is to adjust the position information of the starting print point of the target print head piece, the target print head piece is moved to adjust the position of the initial print point of the target print head piece.

[0133] The technical scheme of the embodiment determines the working mode of the initial print head piece based on the adjustment requirement of the print head piece, determines the collection position of the running information, controls the initial print head piece to run based on the second preset direction and the second preset distance, determines the time difference between the print tracks of the initial print head piece based on the information collector at the collection position, determines the second target distance of the initial print head piece according to the paper feed speed of the printer and the time difference, determines the reference print head piece according to the selection rule of the initial print head piece and the reference print head piece, determines the offset amount of the target print head piece and the reference print head piece based on the third preset distance, the inclination angle of the reference print head piece and the second target distance, determines whether the difference between the offset amount and the third preset distance is less than or equal to the preset offset amount, determines the adjustment mode as updating the starting print point of the target print head piece based on the offset amount if the offset amount is less than or equal to the preset offset amount, determines the adjustment mode as adjusting the position information of the starting print point of the target print head piece based on the offset amount if the offset amount is greater than the preset offset amount, and adjusts the target print head piece based on the adjustment mode. The working mode of the print head piece can be determined according to the alignment adjustment requirement of the print head piece, the time difference information between the print head pieces is collected at the information collection position, and the adjustment mode of the target print head piece is determined according to the relative distance between the print head pieces, the ideal distance and the inclination angle of the print track, which can improve the adjustment accuracy of the print head piece and enhance the printing effect of the printer. The problems of manually adjusting the position of the print head piece by the technician according to experience, the limited adjustment ability of the technician, the difficulty of manually adjusting the position of the print head piece, the inability of the technician to accurately adjust the position of the print head piece when the offset and / or parallel error of the print head piece to be adjusted is small, and the reduction of the printing quality of the printer are solved.

[0134] Embodiment Four

[0135] Figure 7 is a structural schematic diagram of a print head piece adjustment device provided by Embodiment Four of the present application. As shown in Figure 7 the device comprises an acquisition module 701, a control module 702, a determination module 703 and an execution module 704.

[0136] The acquisition module 701 is configured to determine the working mode of the initial print head piece based on the adjustment requirement of the print head piece, wherein the initial print head piece comprises at least two print head pieces.

[0137] The control module 702 is configured to control the initial print head piece to operate in a working mode, and obtain operation information of the initial print head piece.

[0138] The determination module 703 is configured to determine a target print head piece and an adjustment mode of the target print head piece based on the operation information, wherein the target print head piece is at least one print head piece in the initial print head piece.

[0139] The execution module 704 is configured to adjust the target print head piece based on the adjustment mode.

[0140] Optionally, the adjustment requirement includes a parallel adjustment requirement and an alignment adjustment requirement, and the working mode includes a first working mode and a second working mode, the first working mode corresponds to the parallel adjustment requirement, and the second working mode corresponds to the alignment adjustment requirement.

[0141] Optionally, the first working mode is based on a first preset direction and a first preset distance, and the second working mode is based on a second preset direction and a second preset distance.

[0142] Optionally, the acquisition module 701 is specifically configured to determine whether the adjustment requirement is the parallel adjustment requirement, and if the adjustment requirement is the parallel adjustment requirement, determine that the working mode of the initial print head piece is based on the first preset direction and the first preset distance, or determine whether the adjustment requirement is the alignment adjustment requirement, and if the adjustment requirement is the alignment adjustment requirement, determine that the working mode of the initial print head piece is based on the second preset direction and the second preset distance, or if the adjustment requirement is not the alignment adjustment requirement, determine that the working mode of the initial print head piece is based on the first preset direction and the first preset distance.

[0143] Optionally, when the working mode is the first working mode, the control module 702 is specifically configured to determine at least two operation information collection positions, control the initial print head piece to operate based on the first preset direction and the first preset distance, and determine a time difference set between print tracks of the initial print head piece at the operation information collection positions based on an information collector, the time difference set includes at least two sub-time differences, and the sub-time differences correspond to the operation information collection positions in a one-to-one manner, and determine at least two first target distances according to a paper feed speed of the printer and the time difference set, wherein the first target distance is a relative distance between the initial print head pieces at the operation information collection positions.

[0144] Optionally, the determining module 703 is specifically configured to determine the target print head piece according to a selection rule of the initial print head piece and the target print head piece; determine whether a distance difference of the at least two first target distances is less than or equal to a preset distance difference; if the distance difference is less than or equal to the preset distance difference, determine that the adjustment mode is no adjustment; if the distance difference is greater than the preset distance difference, determine a first intermediate target distance based on the at least two first target distances, and determine that the adjustment mode is adjusting the target print head piece based on a first adjustment direction and a first adjustment distance, wherein the first intermediate target distance is a distance with the highest distance value among all the target distances, the first adjustment direction is a direction in which the target print head piece approaches other print head pieces, the first adjustment distance is one half of a distance difference between the first intermediate target distance and a second intermediate target distance, and the second intermediate target distance is a target distance among the at least two target distances except the first intermediate target distance.

[0145] Optionally, when the working mode is the second working mode, the control module 702 is specifically configured to determine a collection position of the operation information; control the initial print head piece to operate based on a second preset direction and a second preset distance, and determine a time difference between print tracks of the initial print head piece at the collection position based on an information collector; determine a second target distance of the initial print head piece according to a paper feed speed of the printer and the time difference.

[0146] Optionally, the determining module 703 is specifically configured to determine the reference print head piece according to a selection rule of the initial print head piece and the reference print head piece; determine an offset amount of the target print head piece and the reference print head piece based on a third preset distance, an inclination angle of the reference print head piece and the second target distance; determine whether a difference value between the offset amount and the third preset distance is less than or equal to a preset offset amount; if the offset amount is less than or equal to the preset offset amount, determine that the adjustment mode is updating a starting print point of the target print head piece based on the offset amount; if the offset amount is greater than the preset offset amount, determine that the adjustment mode is adjusting position information of the starting print point of the target print head piece based on the offset amount.

[0147] The print head piece adjustment device provided in the embodiment of the present application can execute the print head piece adjustment method provided in any embodiment of the present application, and has the corresponding function modules and beneficial effects of the execution method.

[0148] Embodiment five

[0149] Figure 8is a structural schematic diagram of an electronic device provided by Embodiment Five of the present application. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices (e.g., headsets, eyewear, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit implementations of the present application as described and / or claimed in this document.

[0150] As shown in Figure 8 The electronic device 10 includes at least one processor 11, and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., connected in communication with the at least one processor 11, where the memory stores a computer program executable by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or loaded into the random access memory (RAM) 13 from the storage unit 18. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0151] A plurality of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, a speaker, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.

[0152] The processor 11 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs various methods and processes described above, such as the adjustment method of the printhead sheet.

[0153] In some embodiments, the adjustment method of the printhead die can be implemented as a computer program tangibly embodied in a computer readable storage medium, e.g., storage unit 18. In some embodiments, parts or all of the computer program can be loaded and / or installed onto electronic device 10 via, e.g., ROM 12 and / or communication unit 19. When the computer program is loaded onto RAM 13 and executed by processor 11, one or more steps of the above-described adjustment method of the printhead die can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform the adjustment method of the printhead die by other means, e.g., with the aid of firmware.

[0154] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, specially designed application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0155] Computer programs used to implement the methods of the present application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the computer program, when executed by the processor of the machine, implements the functions / acts specified in the flowcharts and / or block diagrams. The computer program can be executed entirely on a machine, partially on a machine, partially on a machine and partially on a remote machine or entirely on a remote machine or server.

[0156] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer-readable storage medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of a machine-readable storage medium will include one or more lines of a program of instructions in a transitory signal, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0157] To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0158] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0159] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS service.

[0160] It should be understood that the various forms of flow shown above can be used to reorder, add or delete steps. For example, each step described in the present application can be executed in parallel, sequentially or in a different order, as long as the desired results of the technical solutions of the present application can be achieved, which is not limited herein.

[0161] The above detailed description does not constitute a limitation on the scope of protection of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A method for adjusting a printhead, characterized in that, include: The initial printhead's operating mode is determined based on the printhead's adjustment requirements. The initial printhead includes at least two printheads. The adjustment requirements include parallel adjustment requirements and alignment adjustment requirements. The operating mode includes a first operating mode and a second operating mode. The first operating mode corresponds to the parallel adjustment requirements, and the second operating mode corresponds to the alignment adjustment requirements. The first operating mode operates based on a first preset direction and a first preset distance, and the second operating mode operates based on a second preset direction and a second preset distance. Control the initial printhead to operate based on the operating mode, and acquire the operating information of the initial printhead; The target printhead and its adjustment method are determined based on the operational information, wherein the target printhead is at least one of the initial printheads; Adjust the target printhead based on the aforementioned adjustment method; The determination of the initial printhead operating mode based on the printhead adjustment requirements includes: Determine whether the adjustment request is the parallel adjustment request; If the adjustment requirement is the parallel adjustment requirement, then the working mode of the initial printhead is determined to be based on the first preset direction and the first preset distance; If the adjustment requirement is not the parallel adjustment requirement, then the working mode of the initial print head is determined to be based on the second preset direction and the second preset distance; Alternatively, determining the initial printhead operating mode based on the printhead adjustment requirements includes: Determine whether the adjustment requirement is the alignment adjustment requirement; If the adjustment requirement is the alignment adjustment requirement, then the initial printhead is determined to operate based on the second preset direction and the second preset distance. If the adjustment requirement is not the alignment adjustment requirement, then the initial printhead is determined to operate based on the first preset direction and the first preset distance. When the operating mode is the first operating mode, controlling the initial printhead to operate based on the operating mode and acquiring the operating information of the initial printhead includes: Identify at least two locations for collecting operational information; The initial print head is controlled to run based on the first preset direction and the first preset distance, and the time difference set between the printing trajectories of the initial print head is determined based on the information collector at the running information collection position. The time difference set includes at least two sub-time differences, and the sub-time differences correspond one-to-one with the running information collection position. At least two first target distances are determined based on the printer's paper feed speed and the time difference set, wherein the first target distance is the relative distance between the initial printheads at the operation information acquisition location.

2. The method according to claim 1, characterized in that, The determination of the target printhead and its adjustment method based on the operational information includes: The target printhead is determined according to the selection rules for the initial printhead and the target printhead; Determine whether the distance difference between the at least two first targets is less than or equal to a preset distance difference; If the distance difference is less than or equal to the preset distance difference, then the adjustment method is determined to be no adjustment; If the distance difference is greater than the preset distance difference, then a first intermediate target distance is determined based on the at least two first target distances, and the adjustment method is determined to be adjusting the target printhead based on a first adjustment direction and a first adjustment distance. Here, the first intermediate target distance is the distance with the highest distance value among all target distances, the first adjustment direction is the direction in which the target printhead approaches other printheads, the first adjustment distance is half of the distance difference between the first intermediate target distance and the second intermediate target distance, and the second intermediate target distance is the target distance other than the first intermediate target distance among the at least two target distances.

3. The method according to claim 1, characterized in that, When the operating mode is the second operating mode, controlling the initial printhead to operate based on the operating mode and acquiring the operating information of the initial printhead includes: Determine the location where the operational information is collected; The initial print head is controlled to run based on a second preset direction and a second preset distance, and the time difference between the print trajectories of the initial print head is determined based on the information collector at the acquisition position. The second target distance of the initial printhead is determined based on the printer's paper feed speed and the time difference.

4. The method according to claim 3, characterized in that, The determination of the target printhead and its adjustment method based on the operational information includes: The reference printhead is determined according to the selection rules for the initial printhead and the reference printhead; Based on the third preset distance, the tilt angle of the reference printhead, and the second target distance, the offset between the target printhead and the reference printhead is determined; Determine whether the difference between the offset and the third preset distance is less than or equal to the preset offset; If the offset is less than or equal to the preset offset, then the adjustment method is determined to be updating the starting printing point of the target printhead based on the offset; If the offset is greater than the preset offset, then the adjustment method is determined to be adjusting the position information of the starting printing point of the target printhead based on the offset.

5. A printhead adjustment device, characterized in that, include: An acquisition module is used to determine the working mode of the initial printhead based on the adjustment requirements of the printhead, wherein the initial printhead includes at least two printheads; The control module is used to control the initial printhead to operate based on the working mode and to acquire the operating information of the initial printhead. The determining module is used to determine the target printhead and the adjustment method of the target printhead based on the running information, wherein the target printhead is at least one printhead among the initial printheads; An execution module is used to adjust the target printhead based on the adjustment method; The adjustment requirements include parallel adjustment requirements and alignment adjustment requirements. The working mode includes a first working mode and a second working mode. The first working mode corresponds to the parallel adjustment requirements, and the second working mode corresponds to the alignment adjustment requirements. The first working mode operates based on a first preset direction and a first preset distance, and the second working mode operates based on a second preset direction and a second preset distance. The acquisition module is specifically used for: Determine whether the adjustment requirement is a parallel adjustment requirement; if the adjustment requirement is a parallel adjustment requirement, determine that the initial printhead operates based on the first preset direction and the first preset distance; if the adjustment requirement is not a parallel adjustment requirement, determine that the initial printhead operates based on the second preset direction and the second preset distance; or, determine whether the adjustment requirement is an alignment adjustment requirement; if the adjustment requirement is an alignment adjustment requirement, determine that the initial printhead operates based on the second preset direction and the second preset distance; if the adjustment requirement is not an alignment adjustment requirement, determine that the initial printhead operates based on the first preset direction and the first preset distance. When the operating mode is the first operating mode, the control module is specifically used for: At least two operation information collection positions are determined; the initial print head is controlled to run based on the first preset direction and the first preset distance, and at the operation information collection position, a set of time differences between the printing trajectories of the initial print head is determined based on the information collector, the set of time differences includes at least two sub-time differences, and the sub-time differences correspond one-to-one with the operation information collection position; at least two first target distances are determined according to the paper feed speed of the printer and the set of time differences, wherein the first target distance is the relative distance between the initial print heads at the operation information collection position.

6. An electronic device, characterized in that, The electronic device includes: At least one processor; and a memory communicatively connected to said at least one processor; The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the printhead adjustment method according to any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the method for adjusting the printhead as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Method for adjusting print heads in print head assembly of ink printing apparatus that is utilized for printing of paper web, involves adjusting correction value if deviation of actual distance from target distance of heads is identified

    DE102012101432A1