Label printer and control method and device of label printer
By controlling the movement of the motor to drive the media tape and label paper to be transferred in the label printer, the problem that the label paper cannot display the complete printing information is solved, and the integrity of the printing information and the efficient utilization of the media to be transferred are achieved.
Patent Information
- Application Number
- CN202510218639.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-26
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2045-02-26
AI Technical Summary
During the use of the label printer, when the user pulls the label paper out of the paper outlet for a distance to print directly, the currently printed label paper cannot display the complete printing information, resulting in wasting of printing paper.
By controlling the motor to drive the medium belt to be transferred forward, the first preset length is forwarded, and when the rubber roller assembly is in the transmission connection state, the motor to drive the label paper back to the target complete transfer position, so that the medium belt to be transferred back to the second preset length.
Ensure that the label paper can display complete printing information when printing, save the media to be transferred, improve its utilization rate, and avoid printing failure.
Smart Images

Figure CN119974784A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of printer technology equipment, and in particular to a label printer, and a control method and device for a label printer. Background Art
[0002] In recent years, as label printers have been widely used in many industries, cost control when using label printers has received more and more attention. When a label printer is printing label paper, users usually pull the label paper out of the paper outlet of the label printer for a distance. If the label paper is printed directly at this time, the currently printed label paper will not be able to display the complete printing information, resulting in a waste of printing paper. Summary of the invention
[0003] Embodiments of the present application provide a label printer, and a control method and device for the label printer.
[0004] In a first aspect, an embodiment of the present application provides a method for controlling a label printer, the method comprising:
[0005] When it is determined that the label printer is in a state ready for printing and the rubber roller assembly is not in a transmission connection state, the motor is controlled to drive the medium belt to be transferred to be conveyed forwardly by a first preset length;
[0006] When the rubber roller assembly is in the transmission connection state, the motor is controlled to drive the label paper to retract to the target complete transfer position, so that the medium belt to be transferred retracts a second preset length; wherein the second preset length is less than or equal to the first preset length.
[0007] Optionally, the method further comprises:
[0008] When the motor is controlled to drive the label paper to retract to the target complete transfer position, a first retracting speed corresponding to the label paper is greater than or equal to a second retracting speed corresponding to the medium belt to be transferred.
[0009] Optionally, after controlling the motor to drive the label paper to retract to the target complete transfer position, the method further includes:
[0010] When it is determined that the label printer is in the printing state, the rubber roller assembly is in the transmission connection state, and the motor is controlled to drive the label paper and the medium to be transferred to be transported in a forward direction;
[0011] Wherein, the first forward conveying speed corresponding to the label paper is the same as the second forward conveying speed corresponding to the medium belt to be transferred.
[0012] Optionally, the label printer comprises a first body and a second body, the first body is provided with the motor, the second body is provided with the rubber roller assembly, and the second body is also used to cover the first body;
[0013] Before the step of determining that the label printer is in a state to be printed and the rubber roller assembly is not in a transmission connection state, controlling the motor to drive the transfer medium belt to be transferred forwardly for a first preset length, the step further includes:
[0014] When it is detected that the second body cover is disposed on the first body and the label printer is not printing, determining that the label printer is in a waiting state;
[0015] When it is detected that the rubber roller assembly is not in transmission connection with the motor, it is determined that the rubber roller assembly is not in a transmission connection state.
[0016] Optionally, the first body is further provided with a first cover closing detection component, and the second body is further provided with a second cover closing detection component;
[0017] When it is determined that the label printer is in a state to be printed and the rubber roller assembly is not in a transmission connection state, controlling the motor to drive the transfer medium belt to be forwardly conveyed by a first preset length includes:
[0018] When it is determined that the label printer is in a state ready to print, the first cover closing detection component abuts against the second cover closing detection component to control the label printer to generate a first instruction;
[0019] When it is determined that the rubber roller assembly is not in a transmission connection state, generating a second instruction based on the label printer;
[0020] The motor is controlled based on the first command and the second command to drive the to-be-transferred medium belt to be conveyed forward by the first preset length.
[0021] Optionally, the label printer comprises a first body and a second body, the first body is provided with the motor, the second body is provided with the rubber roller assembly, and the second body is also used to cover the first body;
[0022] Before the step of determining that the label printer is in a state to be printed and the rubber roller assembly is not in a transmission connection state, controlling the motor to drive the transfer medium belt to be transferred forwardly for a first preset length, the step further includes:
[0023] When it is detected that the second body is not covered on the first body, it is determined that the label printer is in a waiting state for printing, and the rubber roller assembly is not in a transmission connection state.
[0024] Optionally, the first body is further provided with a first cover closing detection component, and the second body is further provided with a second cover closing detection component;
[0025] When it is determined that the label printer is in a state to be printed and the rubber roller assembly is not in a transmission connection state, controlling the motor to drive the transfer medium belt to be forwardly conveyed by a first preset length includes:
[0026] When it is determined that the first cover-closing detection component is not in contact with the second cover-closing detection component, the second body is not covered on the first body, and the label printer is controlled to generate a third instruction;
[0027] Based on the third instruction, the motor is controlled to drive the to-be-transferred medium belt to be conveyed forwardly by the first preset length.
[0028] Optionally, the rubber roller assembly includes a rubber roller and a rubber roller gear, and the rubber roller gear is arranged on the rubber roller;
[0029] When the rubber roller assembly is in a transmission connection state, controlling the motor to drive the label paper to retract to a target complete transfer position includes:
[0030] When the motor is in transmission connection with the rubber roller gear so that the rubber roller assembly is in the transmission connection state, the motor is controlled to drive the rubber roller assembly to drive the label paper to retract;
[0031] When it is detected that the label paper retreats to the target complete transfer position, the motor is controlled to stop driving the rubber roller assembly.
[0032] Optionally, the label printer further comprises a paper-feeding detection component, the paper-feeding detection component comprises a label paper light-transmitting detection unit, and the paper-feeding detection unit is used to detect a light-transmitting threshold of a projection area corresponding to the light-transmitting detection unit on the label paper;
[0033] When it is detected that the label paper retreats to the target complete transfer position, the motor is controlled to stop driving the rubber roller assembly, including:
[0034] When the label paper is retracted, the paper retracting detection component detects the light transmittance threshold of the projection area corresponding to the light transmittance detection part on the label paper;
[0035] When the light transmittance threshold changes from the first preset light transmittance threshold to the second preset light transmittance threshold, it is determined that the label paper retreats to the target complete transfer position, and the motor is controlled to stop driving the rubber roller assembly.
[0036] Optionally, the method further comprises:
[0037] When it is determined that the light transmittance threshold is the first preset light transmittance threshold, the projection area is located in the label surface paper area of the label paper;
[0038] When the light transmittance threshold is determined to be the second preset light transmittance threshold, the projection area is located in a blank release paper area adjacent to the label face paper area in the label paper.
[0039] Optionally, the second preset light transmittance threshold is smaller than the first preset light transmittance threshold; or, the second preset light transmittance threshold is larger than the first preset light transmittance threshold.
[0040] Optionally, after controlling the motor to drive the label paper to retract to the target complete transfer position, the method further includes:
[0041] When it is determined that the label printer is in a ready-to-print state and the rubber roller assembly is in a transmission connection state, controlling the motor to drive the label paper to be forwardly conveyed by a third preset length;
[0042] Wherein, the third preset length is the target length from the light transmission detection unit to the paper tearing assembly at the corresponding printing outlet of the label printer.
[0043] Optionally, the method further comprises:
[0044] When the motor is controlled to drive the label paper to be conveyed forwardly for a third preset length, a third forward conveying speed corresponding to the label paper is the same as a fourth forward conveying speed corresponding to the transfer medium belt.
[0045] Optionally, the label printer comprises a first body, the first body is provided with an installation cavity, the installation cavity is used to install a to-be-transferred medium box, the to-be-transferred medium box comprises a dispensing shaft, a retrieving shaft and a torsion spring, the torsion spring is used to provide a pre-tightening force for the to-be-transferred medium belt when the dispensing shaft and the retrieving shaft cooperate with each other to forwardly convey the to-be-transferred medium belt, so that the to-be-transferred medium belt between the dispensing shaft and the retrieving shaft is in a taut state;
[0046] The second preset length is smaller than a target conveying distance of the medium belt to be transferred when the medium belt to be transferred changes from a first tightening state to a second tightening state;
[0047] The first tension state is a tension state corresponding to when the medium belt to be transferred is initially tensioned, and the second tension state is a tension state corresponding to when the medium belt to be transferred reaches an initial stable pre-tensioning force.
[0048] In a second aspect, an embodiment of the present application provides a label printer, comprising:
[0049] The first body is provided with a motor and a mounting cavity, wherein the mounting cavity is used to mount a dispensing shaft and a retrieving shaft, and under the drive of the motor, the dispensing shaft and the retrieving shaft cooperate with each other to forwardly convey or retract the transfer medium belt;
[0050] The second body is connected to the first body, and the second body is provided with a rubber roller assembly. When the rubber roller assembly is in a transmission connection state, the rubber roller assembly is transmission connected to the motor to drive the label paper and the medium belt to be transferred to move in the same direction.
[0051] Optionally, the first body is further provided with a first cover-closing detection component, the second body is further provided with a second cover-closing detection component, and the second body is further used to cover the first body;
[0052] When the second body cover is disposed on the first body, the first cover-closing detection component abuts against the second cover-closing detection component.
[0053] Optionally, the label printer further includes a paper feed detection component, the paper feed detection component includes a light transmission detection unit, and the paper feed detection component is used to detect a light transmission threshold of a projection area corresponding to the light transmission detection unit on the label paper.
[0054] In a third aspect, an embodiment of the present application provides a control device for a label printer, the control device comprising:
[0055] A first control module, adapted to control the motor to drive the to-be-transferred medium belt to be forwardly conveyed by a first preset length when determining that the label printer is in a state to be printed and the rubber roller assembly is not in a transmission connection state;
[0056] The second control module is suitable for controlling the motor to drive the label paper to retract to the target complete transfer position when the rubber roller assembly is in the transmission connection state, so that the medium belt to be transferred retracts a second preset length; wherein the second preset length is less than or equal to the first preset length.
[0057] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores one or more programs. When the one or more programs are executed by a processor, they implement any of the methods described above.
[0058] The beneficial effects brought by the technical solutions provided in some embodiments of the present application include at least: in the embodiments provided in the present application, when the label printer is in a state to be printed, the label printer has not started printing, and when the rubber roller assembly is not in a transmission connection state, the motor and the rubber roller assembly are not in transmission connection. At this time, the motor is controlled to drive the transfer medium belt to be forwarded to a first preset length. Since the motor and the rubber roller assembly are not in transmission connection, when the transfer medium belt is forwarded to a first preset length, the label paper corresponding to the rubber roller assembly does not move. After the transfer medium belt is forwarded to a first preset length, when the rubber roller assembly is in a transmission connection state, the motor can drive the rubber roller assembly to drive the label paper and drive the transfer medium belt to move in the same direction. At this time, the motor is controlled to drive the label paper to retreat to the target complete transfer position, so that the transfer medium belt retreats the second preset length, so that the label printer can display complete printing information on the label paper when printing, and the transfer medium belt retreats to save the transfer medium to improve the utilization rate. Here, the second preset length is less than or equal to the first preset length, so that after the transfer medium belt is retracted, there will be no situation where there is no transfer medium on the transfer medium belt, resulting in printing failure. The control method of the label printer provided by the present application can effectively solve the technical problem that if the label paper is pulled out of the paper outlet of the label printer for a certain distance and directly printed, the currently printed label paper will not be able to display the complete printing information, resulting in waste of printing paper. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0060] Figure 1 A flowchart of a method for controlling a label printer provided in an embodiment of the present application;
[0061] Figure 2 A schematic diagram of a flow chart for controlling a motor in a label printer provided in an embodiment of the present application;
[0062] Figure 3 A schematic diagram of another flow chart for controlling a motor in a label printer provided in an embodiment of the present application;
[0063] Figure 4 A schematic diagram of another flow chart for controlling a motor in a label printer provided in an embodiment of the present application;
[0064] Figure 5A schematic diagram of a flow chart of controlling a motor in a label printer based on a light transmittance threshold provided in an embodiment of the present application;
[0065] Figure 6 A schematic diagram of the structure of a label printer provided in an embodiment of the present application;
[0066] Figure 7 A schematic structural diagram of a medium box to be transferred provided in an embodiment of the present application;
[0067] Figure 8 A schematic structural diagram of a to-be-transferred medium box cover of a to-be-transferred medium box provided in an embodiment of the present application;
[0068] Fig. 9 A schematic diagram of the structure of a control device for a label printer provided in an embodiment of the present application.
[0069] Reference numerals:
[0070] 1000: label printer; 1310: light transmission detection unit; 1311: light transmitter; 1312: light receiver; 1210: rubber roller assembly; 1211: rubber roller; 1212: rubber roller gear; 1313: receiving end; 1314: transmitting end; 1100: first body; 1200: second body; 1110: medium box to be transferred; 1113: medium box cover to be transferred; 1112: recovery shaft; 1111: dispensing shaft; 1114: first protrusion; 1115: torsion spring; 1116: second protrusion; 900: control device of label printer; 910: first control module; 920: second control module. DETAILED DESCRIPTION
[0071] In order to make the features and advantages of the embodiments of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of them. Based on the embodiments in the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the embodiments of the present application.
[0072] In the related art, when a user uses a label printer, he usually pulls the label paper out of the paper outlet of the label printer for a certain distance. At this time, if the label paper is printed directly, the label surface paper on the label paper will not be in a suitable printing position, so that the currently printed label paper cannot display complete printing information, thereby resulting in a waste of the label surface paper on the label paper.
[0073] In order to solve the related technical problems, an embodiment of the present application provides a control method for a label printer, the method comprising: when it is determined that the label printer is in a state to be printed and the rubber roller assembly is not in a transmission connection state, controlling the motor to drive the medium belt to be transferred to forward convey a first preset length; when the rubber roller assembly is in a transmission connection state, controlling the motor to drive the label paper to retract to the target complete transfer position, so that the medium belt to be transferred retracts a second preset length; wherein the second preset length is less than or equal to the first preset length.
[0074] In the embodiment provided by the present application, when the label printer is in the state of waiting to print, the label printer has not started printing, and when the rubber roller assembly is not in the state of transmission connection, the motor and the rubber roller assembly are not in the state of transmission connection, and the motor is controlled to drive the transfer medium belt to be forwarded to the first preset length. Since the motor and the rubber roller assembly are not in the state of transmission connection, when the transfer medium belt is forwarded to the first preset length, the label paper corresponding to the rubber roller assembly does not move. After the transfer medium belt is forwarded to the first preset length, when the rubber roller assembly is in the state of transmission connection, the motor can drive the rubber roller assembly to drive the label paper and drive the transfer medium belt to move in the same direction. At this time, the motor is controlled to drive the label paper to retreat to the target complete transfer position, so that the transfer medium belt retreats the second preset length, so that the label printer can display complete printing information on the label paper when printing, and the transfer medium belt retreats to save the transfer medium to improve the utilization rate. Here, the second preset length is less than or equal to the first preset length, so that after the transfer medium belt retreats, there will be no situation where there is no transfer medium on the transfer medium belt, resulting in printing failure. The control method of the label printer provided in the present application can effectively solve the technical problem that directly printing the label paper a certain distance out of the paper outlet of the label printer will cause the currently printed label paper to fail to display complete printing information, resulting in a waste of printing paper.
[0075] See also Figure 1 , Figure 1 A flowchart of a method for controlling a label printer provided in an embodiment of the present application. The execution subject of the embodiment of the present application may be an electronic device (such as a label printer or other device including a label printer) that executes the method for controlling a label printer, or a processor in an electronic device that executes the method for controlling a label printer, or a control service for a label printer in an electronic device that executes the method for controlling a label printer. For ease of description, the specific execution process of the method for controlling a label printer is introduced below by taking the execution subject being a processor in an electronic device as an example.
[0076] like Figure 1 As shown, the control method of the label printer includes:
[0077] S102: When it is determined that the label printer is in a state ready for printing and the rubber roller assembly is not in a transmission connection state, the motor is controlled to drive the medium belt to be transferred to be conveyed in a forward direction by a first preset length.
[0078] The label printer includes a first body and a second body. The first body is provided with a motor and an installation cavity, and the installation cavity is used to install a dispensing shaft and a recovery shaft. Under the drive of the motor, the dispensing shaft and the recovery shaft cooperate with each other to forwardly convey or retract the medium belt to be transferred; the second body is connected to the first body, and the second body is provided with a rubber roller assembly. When the rubber roller assembly is in a transmission connection state, the rubber roller assembly is transmission-connected with the motor to drive the label paper and the medium belt to be transferred to move in the same direction. Exemplarily, the first body can be the printer body or printer body of the label printer, and the second body can be the printer cover of the printer. The medium belt to be transferred includes but is not limited to a carbon ribbon. When the medium belt to be transferred is a carbon ribbon, the medium to be transferred on the medium belt to be transferred is toner.
[0079] When the label printer is in the waiting state, the label printer has not started to print the label paper. When the rubber roller assembly is not in the transmission connection state, the motor of the label printer is not in the transmission connection with the rubber roller assembly, so the rubber roller assembly cannot be driven by the motor to drive the label paper to move. In the preparation stage before the label printer prints, that is, when the label printer is in the waiting state and the rubber roller assembly is not in the transmission connection state, the motor is controlled to drive the transfer medium belt to be forwardly conveyed by a first preset length.
[0080] Here, the first conveying direction corresponding to the forward conveying of the transfer medium belt is the conveying direction in which the dispensing shaft faces the recovery shaft when the transfer medium belt is conveyed from the dispensing shaft to the recovery shaft. When the motor drives the transfer medium belt to be conveyed forward to a first preset length, the dispensing shaft and the recovery shaft dispense the transfer medium belt of the first preset length, and the recovery shaft recovers the transfer medium belt of the first preset length.
[0081] It should be understood that before using the label printer, in order to make the label paper in the label printer be in a suitable printing position, the user will pull the label paper in the label printer out a certain distance, thereby aligning the label face paper in the label paper from the second or Nth sheet (where N is a positive integer greater than or equal to 3) to the printing position. In order to make full use of the label face paper that has not been printed before, the motor can be independently controlled to drive the transfer medium belt to be forwardly conveyed to a first preset length, so that the transfer medium belt can be synchronously recycled when the unused label face paper is recycled later, and the transfer medium belt and the label face paper in the label paper can cooperate with each other to complete the printing process during printing, thereby saving label paper and effectively avoiding printing failures of the label printer.
[0082] S104: When the rubber roller assembly is in a transmission connection state, control the motor to drive the label paper to retract to the target complete transfer position, so that the to-be-transferred medium belt retracts a second preset length; wherein the second preset length is less than or equal to the first preset length.
[0083] After the motor drives the transfer medium belt to be transferred forwardly for a first preset length, the rubber roller assembly is connected to the motor in a transmission connection state. Here, the transmission connection between the rubber roller assembly and the motor can be realized based on the automatic control of the label printer, or the rubber roller assembly can be connected to the motor manually by the user.
[0084] When the rubber roller assembly is in a transmission connection state, the motor can synchronously drive the rubber roller assembly to drive the label paper and the medium belt to be transferred to move in the same direction. Here, the moving direction of the label paper is parallel to the moving direction of the medium belt to be transferred, for example, the angle between the moving directions is 0°; or, the moving direction of the label paper is substantially parallel to the moving direction of the medium belt to be transferred, for example, the angle between the moving directions is slightly greater than 0°.
[0085] Therefore, when the rubber roller assembly is in a transmission connection state, when the control motor drives the label paper to retract to the target complete transfer position, the transfer medium belt also retracts synchronously with the retraction of the label paper. When the transfer medium belt retracts, the second conveying direction corresponding to the forward conveying of the transfer medium belt is the conveying direction of the transfer medium belt from the recovery shaft to the dispensing shaft.
[0086] When the motor drives the label paper to retract to the target complete transfer position, the label paper on the pulled label paper that is not involved in printing is retracted to the position to be printed, thereby effectively saving the label paper on the label paper. When the label paper retracts to the target complete transfer position, two situations can be corresponded at this time.
[0087] In the first case, when the label paper retracts to the target complete transfer position, if the label paper is directly printed at this time, the corresponding label surface paper can display complete printing information, thereby avoiding omission of information during printing. During the retraction of the label paper, the transfer medium belt retracts a second preset length, thereby improving the utilization rate of the transfer medium on the transfer medium belt and avoiding waste of the transfer medium belt. In addition, the second preset length is less than or equal to the first preset length, so that after the transfer medium belt retracts, there will be no situation where there is no transfer medium on the transfer medium belt, resulting in printing failure.
[0088] In the second case, after the label paper retracts to the target complete transfer position, the label paper also needs to move the preset target length to reach the target position, so that when the label paper is printed at this time, the corresponding label surface paper can display complete printing information, thereby avoiding omissions of information during printing. Similarly, during the retraction of the label paper, the transfer medium belt retracts a second preset length, thereby improving the utilization rate of the transfer medium on the transfer medium belt and avoiding waste of the transfer medium belt. In addition, the second preset length is less than or equal to the first preset length, so that after the transfer medium belt retracts, there will be no situation where there is no transfer medium on the transfer medium belt, resulting in printing failure.
[0089] In the embodiment provided by the present application, when the label printer is in the state of waiting to print, the label printer has not started printing, and when the rubber roller assembly is not in the state of transmission connection, the motor and the rubber roller assembly are not in the state of transmission connection, and the motor is controlled to drive the transfer medium belt to be forwarded to the first preset length. Since the motor and the rubber roller assembly are not in the state of transmission connection, when the transfer medium belt is forwarded to the first preset length, the label paper corresponding to the rubber roller assembly does not move. After the transfer medium belt is forwarded to the first preset length, when the rubber roller assembly is in the state of transmission connection, the motor can drive the rubber roller assembly to drive the label paper and drive the transfer medium belt to move in the same direction. At this time, the motor is controlled to drive the label paper to retreat to the target complete transfer position, so that the transfer medium belt retreats the second preset length, so that the label printer can display complete printing information on the label paper when printing, and the transfer medium belt retreats to save the transfer medium to improve the utilization rate. Here, the second preset length is less than or equal to the first preset length, so that after the transfer medium belt retreats, there will be no situation where there is no transfer medium on the transfer medium belt, resulting in printing failure. The control method of the label printer provided in the present application can effectively solve the technical problem that directly printing the label paper a certain distance out of the paper outlet of the label printer will cause the currently printed label paper to fail to display complete printing information, resulting in a waste of printing paper.
[0090] In one embodiment provided in the present application, the control method of the label printer further includes:
[0091] When the motor is controlled to drive the label paper to retract to the target complete transfer position, a first retracting speed corresponding to the label paper is greater than or equal to a second retracting speed corresponding to the medium belt to be transferred.
[0092] In the process of controlling the motor to drive the label paper to retract to the target complete transfer position, when the medium to be transferred retracts synchronously with the label paper, in order to make the second preset length of the retracted medium belt to be transferred less than or equal to the first preset length, the first retracting speed corresponding to the label paper can be controlled to be greater than or equal to the second retracting speed corresponding to the medium belt to be transferred.
[0093] Here, the first retracting speed corresponding to the label paper is the linear speed of the label paper retracting along its extension direction. Similarly, the second retracting speed corresponding to the transfer medium belt is the linear speed of the transfer medium belt retracting along its extension direction.
[0094] In some feasible implementations, the first retracting speed corresponding to the label paper is equal to the second retracting speed corresponding to the medium belt to be transferred. At this time, the label paper and the medium belt to be transferred move synchronously in the same direction and at the same speed during the retracting process, and the retracting process of the label paper and the medium belt to be transferred can be understood as the reverse process of the forward conveying of the label paper and the medium belt to be transferred during the printing process.
[0095] In some feasible implementations, the first retracting speed corresponding to the label paper is greater than the second retracting speed corresponding to the medium belt to be transferred. At this time, the label paper and the medium belt to be transferred move synchronously in the same direction during the retracting process, and the moving speed corresponding to the label paper is greater than the moving speed corresponding to the medium belt to be transferred. At this time, the label paper can be quickly retracted to the target complete transfer position. Since the first retracting speed is greater than the second retracting speed, the retracting distance of the label paper is greater than the retracting distance of the medium belt to be transferred, that is, at this time, the label paper is pulled out for a long distance, and the label paper and the medium belt to be transferred need to be synchronously recovered under the drive of the motor.
[0096] In one embodiment provided in the present application, after controlling the motor to drive the label paper to retreat to the target complete transfer position in S104, the method further includes:
[0097] When the label printer is in the printing state, the rubber roller assembly is in the transmission connection state, and the motor is controlled to drive the label paper and the medium to be transferred to be transported in the forward direction;
[0098] The first forward conveying speed corresponding to the label paper is the same as the second forward conveying speed corresponding to the medium belt to be transferred.
[0099] When the label printer is in the printing state, the label printer uses the transfer medium belt to print the label paper, and the rubber roller assembly is in transmission connection with the motor, so that the rubber roller assembly is in the transmission connection state, and the motor can synchronously drive the rubber roller assembly to drive the label paper and the transfer medium belt to move in the same direction. In addition, the rubber roller assembly and the heated print head of the label printer are pressed against each other so that the label paper and the transfer medium belt are in contact with each other under pressure, and at the same time, the print head of the label printer performs printing and heating treatment on the transfer medium belt to transfer the transfer medium in a specific area on the transfer medium belt to the label paper, thereby realizing the printing of the label paper.
[0100] It is easy to understand that in order to accurately transfer the transfer medium on the transfer medium belt to the label paper, the first forward conveying speed corresponding to the label paper can be controlled to be the same as the second forward conveying speed corresponding to the transfer medium belt.
[0101] In one embodiment provided in the present application, the label printer includes a first body and a second body, the first body is provided with a motor, the second body is provided with a rubber roller assembly, and the second body is also used to cover the first body;
[0102] When it is determined in S102 that the label printer is in the ready-to-print state and the rubber roller assembly is not in the transmission connection state, before the motor is controlled to drive the transfer medium belt to be forwardly conveyed by the first preset length, the method further includes:
[0103] When it is detected that the second body cover is disposed on the first body and the label printer is not printing, determining that the label printer is in a waiting state for printing;
[0104] When it is detected that the rubber roller assembly is not in transmission connection with the motor, it is determined that the rubber roller assembly is not in a transmission connection state.
[0105] The first body may be a printer body or a printer body of the label printer, and the second body may be a printer cover of the printer. When the second body is covered on the first body, the printer cover of the printer is covered on the printer body or the printer body of the label printer, and the label printer does not print label paper at this time, it is determined that the label printer is in a waiting state.
[0106] And, when it is detected that the rubber roller assembly is not in transmission connection with the motor, it is determined that the rubber roller assembly is not in a transmission connection state. Specifically, the rubber roller assembly includes a rubber roller and a rubber roller gear, the rubber roller gear is arranged on the rubber roller, and the rubber roller gear is used for transmission connection with the motor, such as the rubber roller gear can be meshed with the motor gear corresponding to the motor for transmission connection. When the rubber roller gear is meshed with the motor gear corresponding to the motor for transmission connection, it is determined that the rubber roller assembly is in a transmission connection state; when the rubber roller gear is not meshed with the motor gear corresponding to the motor, it is determined that the rubber roller assembly is not in a transmission connection state.
[0107] The embodiment provided in the present application determines that the label printer is in a state ready to print when it detects that the second body cover is installed on the first body and the label printer is not printing, and determines that the rubber roller assembly is not in a transmission connection state when it detects that the rubber roller assembly is not connected to the motor transmission. The state of the label printer and the rubber roller assembly is divided so that corresponding printing preparation strategies and printing strategies can be taken in a targeted manner later.
[0108] In an embodiment provided in the present application, the first body is further provided with a first cover-closing detection component, and the second body is further provided with a second cover-closing detection component.
[0109] See also Figure 2 , Figure 2 A schematic diagram of a flow chart for controlling a motor in a label printer provided in an embodiment of the present application. When it is determined in S102 that the label printer is in a state to be printed and the rubber roller assembly is not in a transmission connection state, the motor is controlled to drive the transfer medium belt to be forwardly conveyed by a first preset length, including:
[0110] S202: When it is determined that the label printer is in a state ready to print, the first cover closing detection component abuts against the second cover closing detection component to control the label printer to generate a first instruction.
[0111] Among them, when the label printer is in a state of waiting to print, the second body cover is set on the first body. At this time, the first cover-closing detection component on the first body and the second cover-closing detection component on the second body abut against each other to generate a corresponding abutment electrical signal. After the label printer receives the abutment electrical signal, it determines that the second body cover is set on the first body at this time, and then generates a first instruction.
[0112] In a feasible implementation, the first cover closing detection component may include a protrusion, and the second cover closing detection component may include a micro switch. When the second body cover is disposed on the first body, the protrusion touches the micro switch to implement the cover closing detection function.
[0113] In a feasible implementation, the first cover closing detection component may include a micro switch, and the second cover closing detection component may include a protrusion. When the second body cover is disposed on the first body, the protrusion touches the micro switch to achieve the cover closing detection function.
[0114] S204: When it is determined that the rubber roller assembly is not in a transmission connection state, a second instruction is generated based on the label printer.
[0115] The rubber roller assembly includes a rubber roller and a rubber roller gear, the rubber roller gear is arranged on the rubber roller, and the rubber roller gear is used for transmission connection with the motor. When the rubber roller gear is meshed with the motor gear corresponding to the motor for transmission connection, it is determined that the rubber roller assembly is in a transmission connection state; when the rubber roller gear is not meshed with the motor gear corresponding to the motor, it is determined that the rubber roller assembly is not in a transmission connection state. When it is determined that the rubber roller assembly is not in a transmission connection state, the label printer receives a state signal corresponding to the rubber roller assembly not being in a transmission connection state, thereby generating a second instruction based on the label printer.
[0116] It should be understood that S202 and S204 can be performed simultaneously; or, S202 and S204 can be performed step by step, and the order of S202 and S204 is not limited.
[0117] S206: Based on the first instruction and the second instruction, the motor is controlled to drive the to-be-transferred medium belt to be transported in a forward direction by a first preset length.
[0118] Among them, after the label printer generates the first instruction and the second instruction, it indicates that the label printer is in a printing state and the rubber roller assembly is not in a transmission connection state. A motor control instruction can be generated based on the first instruction and the second instruction. After the motor receives the motor control instruction, the motor drives the transfer medium belt to be transferred in a forward direction to a first preset length.
[0119] In the embodiment provided in the present application, the first instruction is used to indicate that the label printer is in a state ready to print, and the second instruction is used to indicate that the rubber roller assembly is not in a transmission connection state. Therefore, after the label printer generates the first instruction and the second instruction, it indicates that the label printer is in a state ready to print and the rubber roller assembly is not in a transmission connection state, thereby controlling the motor to drive the transfer medium belt to be transferred in a forward direction of a first preset length based on the first instruction and the second instruction.
[0120] In one embodiment provided in the present application, the label printer includes a first body and a second body, the first body is provided with a motor, the second body is provided with a rubber roller assembly, and the second body is also used to cover the first body;
[0121] When it is determined in S102 that the label printer is in the ready-to-print state and the rubber roller assembly is not in the transmission connection state, before the motor is controlled to drive the transfer medium belt to be forwardly conveyed by the first preset length, the method further includes:
[0122] When it is detected that the second body is not covered on the first body, it is determined that the label printer is in a ready-to-print state, and the rubber roller assembly is not in a transmission connection state.
[0123] Among them, when the second body is not covered on the first body, the rubber roller assembly is not connected to the motor transmission, so the rubber roller assembly is not in a transmission connection state, and the rubber roller assembly cannot drive the label paper to move. At this time, it is determined that the label printer is in a printing state.
[0124] In the embodiment provided in the present application, when the second body is not covered on the first body, the rubber roller assembly is located in the second body, so the rubber roller assembly is not in transmission connection with the motor. Therefore, the rubber roller assembly is not in a transmission connection state, and since the rubber roller assembly is not in transmission connection with the motor, the rubber roller assembly cannot drive the label paper to move, so it is determined that the label printer is in a waiting state.
[0125] In an embodiment provided in the present application, the first body is further provided with a first cover-closing detection component, and the second body is further provided with a second cover-closing detection component.
[0126] See also Figure 3 , Figure 3 Another flow chart of controlling a motor in a label printer provided by an embodiment of the present application. Figure 3As shown, when it is determined in S102 that the label printer is in a state ready for printing and the rubber roller assembly is not in a transmission connection state, the motor is controlled to drive the transfer medium belt to be forwardly conveyed by a first preset length, including:
[0127] S302: When it is determined that the first cover-closing detection component is not in contact with the second cover-closing detection component, the second body is not covered on the first body, and the label printer is controlled to generate a third instruction.
[0128] Among them, when the first cover-closing detection component and the second cover-closing detection component are not in contact, the second body is not covered on the first body. At this time, the first cover-closing detection component on the first body and the second cover-closing detection component on the second body are not in contact to generate a corresponding non-contact electrical signal. After receiving the non-contact electrical signal, the label printer can determine that the second body cover is not set on the first body at this time, thereby generating a third instruction.
[0129] In a feasible implementation, the first cover closing detection component may include a protrusion, and the second cover closing detection component may include a micro switch. When the second body cover is not arranged on the first body, the protrusion does not touch the micro switch to realize the function of cover opening detection.
[0130] In a feasible implementation, the first cover closing detection component may include a micro switch, and the second cover closing detection component may include a protrusion. When the second body cover is not arranged on the first body, the protrusion does not touch the micro switch to achieve the function of cover opening detection.
[0131] S304: Based on the third instruction, the motor is controlled to drive the to-be-transferred medium belt to be transported in a forward direction for a first preset length.
[0132] Among them, after the label printer generates the third instruction, it indicates that the label printer is in a printing state and the rubber roller assembly is not in a transmission connection state. A motor control instruction can be generated based on the third instruction. After the motor receives the motor control instruction, the motor drives the transfer medium belt to be transferred in a forward direction to a first preset length.
[0133] In the embodiment provided in the present application, the third instruction is used to indicate that the label printer is in a state ready for printing and the rubber roller assembly is not in a transmission connection state. Therefore, after the label printer generates the third instruction, it indicates that the label printer is in a state ready for printing and the rubber roller assembly is not in a transmission connection state, so that the motor is controlled based on the third instruction to drive the transfer medium belt to be forwardly transported by a first preset length.
[0134] In one embodiment provided in the present application, the rubber roller assembly includes a rubber roller and a rubber roller gear, and the rubber roller gear is arranged on the rubber roller.
[0135] See also Figure 4 , Figure 4A schematic diagram of another flow chart for controlling a motor in a label printer provided in an embodiment of the present application. Figure 4 As shown, when the rubber roller assembly is in a transmission connection state, S104 controls the motor to drive the label paper to retract to the target complete transfer position, including:
[0136] S402: When the motor is connected to the rubber roller gear so that the rubber roller assembly is in a transmission connection state, the motor is controlled to drive the rubber roller assembly to drive the label paper to retract.
[0137] The motor gear corresponding to the motor meshes with the rubber roller gear so that the motor and the rubber roller gear are in transmission connection, and the motor and the rubber roller gear are in transmission connection so that the rubber roller assembly is in a transmission connection state, and the rubber roller gear can drive the rubber roller to rotate. Under the drive of the motor, the rubber roller gear drives the rubber roller to rotate and then drives the label paper to retract.
[0138] S404: When it is detected that the label paper has retreated to the target complete transfer position, the motor is controlled to stop driving the rubber roller assembly.
[0139] In the process of label paper retraction, when it is detected that the label paper retracts to the target complete transfer position, the motor is controlled to stop driving the rubber roller assembly. At this time, the rubber roller in the rubber roller assembly stops rotating and the label paper no longer moves.
[0140] When the label paper returns to the target complete transfer position, the label paper that is not involved in printing on the pulled out label paper returns to the position to be printed, thereby effectively saving the label paper on the label paper. And when printing on the label paper at this time, the corresponding label paper can display complete printing information, thereby avoiding omission of information during printing.
[0141] In the embodiment provided in the present application, when the motor is connected to the rubber roller gear transmission, the second body cover is arranged on the first body, and the motor can drive the label paper and the medium belt to be transferred to retreat at the same time. When the motor is controlled to drive the label paper to retreat to the target complete transfer position, the medium belt to be transferred is synchronously driven to retreat a second preset length. Moreover, when it is detected that the label paper retreats to the target complete transfer position, the motor is controlled to stop driving the rubber roller assembly, thereby avoiding the label paper retreating too much distance, which makes it difficult for the label paper to display complete printing information when the label printer prints.
[0142] In one embodiment provided in the present application, the label printer further includes a paper feed detection component, which includes a label paper light transmission detection unit, and the paper feed detection component is used to detect the light transmission threshold of the projection area corresponding to the light transmission detection unit on the label paper.
[0143] See also Figure 5 , Figure 5 The present invention provides a flow chart of controlling a motor in a label printer based on a light transmittance threshold. Figure 5 As shown, in S404, when it is detected that the label paper returns to the target complete transfer position, the motor is controlled to stop driving the rubber roller assembly, including:
[0144] S502: When the label paper is retracted, the paper retracting detection component detects the light transmittance threshold of the projection area corresponding to the light transmittance detection part on the label paper.
[0145] Among them, the paper feedback detection component includes a U-shaped light guide column and a light transmission detection unit, the light transmission detection unit includes a light transmitter and a light receiver, the U-shaped light guide column is arranged on the first body, and the light transmitter and the light receiver are arranged on the second body. The light emitted by the light transmitter enters the U-shaped light guide column on the first body after passing through the label paper, and then the light after passing through the U-shaped light guide column enters the light receiver after passing through the label paper. After the light receiver receives the light, the label printer determines the light transmission threshold of the light, and then determines the position where the label paper is fed back.
[0146] The projection area corresponding to the light-transmitting detection part may include a first projection sub-area of the transmitting part corresponding to the light transmitter on the label paper and a second projection sub-area of the receiving part corresponding to the light receiver on the label paper.
[0147] It should be understood that since the label paper includes a label face paper area and a blank release paper area, the label face paper area has additional label face paper pasted on it compared to the blank release paper area. Therefore, the second light transmittance threshold corresponding to the light penetrating the label face paper area twice and the first light transmittance threshold corresponding to the light penetrating the blank release paper area twice are different.
[0148] Therefore, during the label paper retraction process, the light transmittance threshold of the projection area corresponding to the light transmittance detection part on the label paper can be monitored in real time based on the paper retraction detection component. The light transmittance threshold can be understood as the maximum light transmittance intensity reached after the light is emitted from the light transmitter, passes through the label paper, the U-shaped light guide column, and the label paper enters the light receiver in sequence. Here, the line connecting the centers of the two extended column end faces of the U-shaped light guide column is parallel to the width direction of the label paper.
[0149] S504: When the light transmittance threshold changes from the first preset light transmittance threshold to the second preset light transmittance threshold, it is determined that the label paper has retracted to the target complete transfer position, and the motor is controlled to stop driving the rubber roller assembly.
[0150] In the process of detecting the light transmittance threshold, when the light transmittance threshold changes from the first preset light transmittance threshold to the second preset light transmittance threshold, it indicates that the projection area on the label paper moves from the label face paper area of the label paper to the blank release paper area adjacent to the label face paper area of the label paper. At this time, the label paper is driven to retract to the target complete transfer position, and the motor is controlled to stop driving the rubber roller assembly to drive the label paper to retract, and the motor also stops driving the transfer medium belt to retract.
[0151] In the embodiment provided in the present application, by detecting the light transmittance threshold corresponding to the label paper, when the light transmittance threshold changes from the first preset light transmittance threshold to the second preset light transmittance threshold, it indicates that the label paper has returned to the target complete transfer position. At this time, the motor can be controlled to stop driving the rubber roller assembly.
[0152] In one embodiment provided in the present application, when the light transmittance threshold is determined to be the first preset light transmittance threshold, the projection area is located in the label surface paper area of the label paper;
[0153] When the light transmittance threshold is determined to be the second preset light transmittance threshold, the projection area is located in a blank release paper area adjacent to the label face paper area in the label paper.
[0154] When the light transmittance threshold is in the first preset light transmittance interval, the light transmittance threshold is determined to be the first preset light transmittance threshold, and the projection area is located in the label surface area of the label paper. Here, the first preset light transmittance interval can be determined in advance. That is, after the light is emitted from the light transmitter, it passes through the label surface area on the label paper, the U-shaped light guide column, and the label surface area on the label paper and enters the light receiver. The value interval of the maximum light transmittance intensity.
[0155] When the light transmittance threshold is in the second preset light transmittance interval, the light transmittance threshold is determined to be the second preset light transmittance threshold, and the projection area is located in the label surface area of the label paper. Here, the second preset light transmittance interval can be pre-determined, that is, the maximum light transmittance intensity range reached after the light is emitted from the light emitter and passes through the blank release paper area on the label paper, the U-shaped light guide column, and the blank release paper area on the label paper and enters the light receiver.
[0156] Here, when the light transmittance corresponding to the label face paper area is greater than the light transmittance corresponding to the blank release paper area, the first preset light transmittance threshold is greater than the second preset light transmittance threshold; when the light transmittance corresponding to the label face paper area is less than the light transmittance corresponding to the blank release paper area, the first preset light transmittance threshold is less than the second preset light transmittance threshold. Therefore, based on the light transmittance corresponding to the label face paper area and the light transmittance corresponding to the blank release paper area, the second preset light transmittance threshold is less than the first preset light transmittance threshold; or, the second preset light transmittance threshold is greater than the first preset light transmittance threshold.
[0157] In one embodiment provided in the present application, after controlling the motor to drive the label paper to retreat to the target complete transfer position in S104, the method further includes:
[0158] When it is determined that the label printer is in a ready-to-print state and the rubber roller assembly is in a transmission connection state, the motor is controlled to drive the label paper to be forwardly conveyed by a third preset length;
[0159] The third preset length is a target length from the light transmission detection unit to the paper tearing assembly at the corresponding printing outlet of the label printer.
[0160] After the label paper returns to the target complete transfer position, the label paper also needs to move the preset target length to reach the target position, so that the corresponding label face paper can display complete printing information when printing the label paper. When it is determined that the label printer is in the waiting state for printing and the rubber roller assembly is in the transmission connection state, the motor is controlled to drive the label paper to be transported forward by a third preset length. Here, the third preset length is the target length from the light transmission detection part to the tearing assembly at the printing outlet corresponding to the label printer, so that the corresponding blank release paper area is transported to the tearing assembly at the printing outlet, so as to achieve accurate adjustment of the position of the label paper. At this time, when printing the label paper, the label face paper can display complete printing information, thereby avoiding omission of information during printing.
[0161] Here, when the motor is controlled to drive the label paper to be transported forward to the third preset length, the third forward transport speed corresponding to the label paper is the same as the fourth forward transport speed corresponding to the medium belt to be transferred. At this time, the label printer is not printing, and this is the preparation stage before printing. It is easy to understand that when the motor drives the label paper to be transported forward to the third preset length, the motor also drives the medium belt to be transferred to be transported in the same direction at the same time.
[0162] In one embodiment provided in the present application, the label printer includes a first body, the first body is provided with an installation cavity, the installation cavity is used to install a to-be-transferred medium box, the installation of the to-be-transferred medium box includes a dispensing shaft, a recycling shaft and a torsion spring, the torsion spring is used to provide a pre-tightening force for the to-be-transferred medium belt when the dispensing shaft and the recycling shaft cooperate with each other to forwardly transport the to-be-transferred medium belt, so that the to-be-transferred medium belt between the dispensing shaft and the rewinding shaft is in a taut state;
[0163] The second preset length is smaller than the target conveying distance of the medium belt to be transferred when the medium belt to be transferred changes from the first tightening state to the second tightening state;
[0164] The first tension state is a tension state corresponding to when the medium belt to be transferred is initially tensioned, and the second tension state is a tension state corresponding to when the medium belt to be transferred reaches an initial stable pre-tensioning force.
[0165] During the printing process of the label printer, the dispensing shaft in the transfer medium box is used to forwardly convey the transfer medium belt to the recycle shaft, and the recycle shaft is used to recycle the transfer medium belt that has completed the transfer of the transfer medium. During the preparation stage of the label printer printing, the dispensing shaft in the transfer medium box is used to retract or forwardly convey the transfer medium belt to the recycle shaft, and the recycle shaft is used to recycle or retract the transfer medium belt.
[0166] A torsion spring is arranged on the transfer medium box, and when the transfer medium belt starts to be conveyed forward, the torsion spring and the transfer medium belt just begin to be tightened, and the transfer medium belt is in a first tightening state; when the transfer medium belt is conveyed forward, the torsion spring is gradually stretched to increase the elastic force, and at the same time, the pre-tightening force of the transfer medium belt gradually increases, until the transfer medium belt is conveyed forward to the second tightening state, the torsion spring will slip, and the pre-tightening force of the transfer medium belt will not change, so that the pre-tightening force of the transfer medium belt during the forward conveying process maintains a stable value, thereby avoiding the problem of poor transfer effect of the transfer medium caused by the loose transfer medium belt, and effectively improving the printing effect of the label printer.
[0167] See also Figure 6 , Figure 6 This is a schematic diagram of the structure of a label printer provided in an embodiment of the present application. Figure 7 , Figure 7 This is a schematic diagram of the structure of a medium box to be transferred provided in an embodiment of the present application. Figure 6 and Figure 7 As shown, the label printer 1000 includes a first body 1100 and a second body 1200 .
[0168] The first body 1100 is provided with a motor and an installation cavity, and the installation cavity is used to install the dispensing shaft 1111 and the recovery shaft 1112. Driven by the motor, the dispensing shaft 1111 and the recovery shaft 1112 cooperate with each other to forwardly convey or retract the transfer medium belt.
[0169] Specifically, the installation cavity is used to install the to-be-transferred medium box 1110, and the to-be-transferred medium box 1110 includes a dispensing shaft 1111 and a recycling shaft 1112. Figure 6 The space occupied by the to-be-transferred medium box 1110.
[0170] The second body 1200 is connected to the first body 1100 , and the second body 1200 is provided with a rubber roller assembly 1210 . When the rubber roller assembly 1210 is in a transmission connection state, the rubber roller assembly 1210 is transmission connected to the motor to drive the label paper and the medium belt to be transferred to move in the same direction.
[0171] Specifically, the rubber roller assembly 1210 includes a rubber roller 1211 and a rubber roller gear 1212 , and the rubber roller gear 1212 is disposed on the rubber roller 1211 .
[0172] In one embodiment provided in the present application, the label printer 1000 further includes a paper-feeding detection component, which includes a light-transmitting detection unit 1310. The paper-feeding detection component is used to detect the light-transmitting threshold of the projection area corresponding to the light-transmitting detection unit 1310 on the label paper. The light-transmitting detection unit 1310 includes a light emitter 1311 and a light receiver 1312. The U-shaped light guide column is arranged on the first body, and the light emitter 1311 and the light receiver 1312 are arranged on the second body 1200. The light emitted by the light emitter 1311 passes through the label paper and enters the receiving end 1313 of the U-shaped light guide column on the first body 1100. Then, the light emitted by the U-shaped light guide column emitting end 1314 passes through the label paper and enters the light receiver 1312. After the light receiver 1312 receives the light, the label printer determines the light-transmitting threshold of the light, thereby determining the position of the label paper feeding.
[0173] See also Figure 8 , Figure 8 This is a schematic structural diagram of a transfer medium box cover of a transfer medium box provided in an embodiment of the present application. Figure 8 As shown, a torsion spring 1115 is also provided on the first protrusion 1114 of the transfer medium box cover 1113, and the first protrusion 1114 of the transfer medium box cover 1113 is used to extend into the dispensing shaft 1111, and the second protrusion 1116 of the transfer medium box cover 1113 is used to extend into the recovery shaft 1112, so that under the drive of the motor, the dispensing shaft 1111 and the recovery shaft 1112 cooperate with each other to forwardly convey or retract the transfer medium belt. And when the medium belt to be transferred starts to be conveyed in the forward direction, the dispensing shaft 1111 rotates so that the torsion spring 1115 starts to tighten, thereby providing the medium belt to be transferred with a pre-tightening force opposite to the forward conveying direction, and the medium belt to be transferred is in a first tightening state; when the medium belt to be transferred is conveyed in the forward direction, the torsion spring 1115 is gradually stretched so that the elastic force increases, and at the same time, the pre-tightening force of the medium belt to be transferred will gradually increase until the medium belt to be transferred moves in the forward conveying direction to the second tightening state, and the torsion spring 1115 will slip. At this time, the pre-tightening force of the medium belt to be transferred will not change, so that the pre-tightening force of the medium belt to be transferred during the forward conveying process maintains a stable value, thereby avoiding the problem of poor transfer effect of the medium belt to be transferred due to the relaxation of the medium belt to be transferred, and effectively improving the printing effect of the label printer.
[0174] In addition, in an embodiment provided in the present application, the first body 1100 is further provided with a first cover-closing detection component (not shown in the figure), the second body 1200 is further provided with a second cover-closing detection component (not shown in the figure), and the second body 1200 is also used to cover the first body 1100; when the second body 1200 is covered on the first body 1100, the first cover-closing detection component abuts against the second cover-closing detection component.
[0175] In a feasible implementation, the first cover closing detection component may include a protrusion, and the second cover closing detection component may include a micro switch. When the second body 1200 is covered on the first body 1100, the protrusion touches the micro switch to realize the cover closing detection function.
[0176] In a feasible implementation, the first cover closing detection component may include a micro switch, and the second cover closing detection component may include a protrusion. When the second body 1200 is covered on the first body 1100, the protrusion touches the micro switch to realize the cover closing detection function.
[0177] See also Fig. 9 , Fig. 9 This is a schematic diagram of the structure of a control device for a label printer provided in an embodiment of the present application. Fig. 9 As shown, the control device 900 of the label printer includes:
[0178] The first control module 910 is adapted to control the motor to drive the transfer medium belt to be forwardly conveyed by a first preset length when it is determined that the label printer is in a state ready for printing and the rubber roller assembly is not in a transmission connection state;
[0179] The second control module 920 is suitable for controlling the motor to drive the label paper to retract to the target complete transfer position when the rubber roller assembly is in a transmission connection state, so that the medium belt to be transferred retracts a second preset length; wherein the second preset length is less than or equal to the first preset length.
[0180] Optionally, when the motor is controlled to drive the label paper to retract to the target complete transfer position, a first retracting speed corresponding to the label paper is greater than or equal to a second retracting speed corresponding to the medium belt to be transferred.
[0181] Optionally, the control device 900 of the label printer further includes:
[0182] The determination module is adapted to determine that when the label printer is in a printing state, the rubber roller assembly is in a transmission connection state, and controls the motor to drive the label paper and the medium to be transferred to be transported in a forward direction;
[0183] The first forward conveying speed corresponding to the label paper is the same as the second forward conveying speed corresponding to the medium belt to be transferred.
[0184] Optionally, the label printer comprises a first body and a second body, the first body is provided with a motor, the second body is provided with a rubber roller assembly, and the second body is also used to cover the first body;
[0185] The control device 900 of the label printer also includes:
[0186] A first detection module, adapted to detect that the label printer is in a waiting state when the second body cover is disposed on the first body and the label printer is not printing;
[0187] The second detection module is adapted to determine that the rubber roller assembly is not in a transmission connection state when it is detected that the rubber roller assembly is not in transmission connection with the motor.
[0188] Optionally, the first body is further provided with a first cover closing detection component, and the second body is further provided with a second cover closing detection component;
[0189] The first control module 910 includes:
[0190] A first instruction generating unit, adapted to determine that when the label printer is in a state ready to print, the first cover closing detection component abuts against the second cover closing detection component to control the label printer to generate a first instruction;
[0191] A second instruction generating unit, adapted to generate a second instruction based on the label printer when determining that the rubber roller assembly is not in a transmission connection state;
[0192] The driving unit is adapted to control the motor to drive the to-be-transferred medium belt to be transported in a forward direction by a first preset length based on the first instruction and the second instruction.
[0193] Optionally, the label printer comprises a first body and a second body, the first body is provided with a motor, the second body is provided with a rubber roller assembly, and the second body is also used to cover the first body;
[0194] The control device 900 of the label printer also includes:
[0195] The state determination module is adapted to determine that the label printer is in a ready-to-print state and the rubber roller assembly is not in a transmission connection state when detecting that the second body is not covered on the first body.
[0196] Optionally, the first body is further provided with a first cover closing detection component, and the second body is further provided with a second cover closing detection component;
[0197] The first control module 910 includes:
[0198] A third instruction generating unit, adapted to determine that when the first cover closing detection component and the second cover closing detection component are not in contact, the second body is not covered on the first body, and control the label printer to generate a third instruction;
[0199] The driving and conveying unit is adapted to control the motor to drive the to-be-transferred medium belt to be conveyed in a forward direction by a first preset length based on the third instruction.
[0200] Optionally, the rubber roller assembly includes a rubber roller and a rubber roller gear, and the rubber roller gear is arranged on the rubber roller;
[0201] The second control module 920 includes:
[0202] The retraction unit is adapted to control the motor to drive the rubber roller assembly to retract the label paper when the motor is in transmission connection with the rubber roller gear so that the rubber roller assembly is in a transmission connection state;
[0203] The stop driving unit is adapted to control the motor to stop driving the rubber roller assembly when it is detected that the label paper has retreated to the target complete transfer position.
[0204] Optionally, the label printer further includes a paper feed detection component, the paper feed detection component includes a label paper light transmission detection unit, and the paper feed detection unit is used to detect a light transmission threshold of a projection area corresponding to the light transmission detection unit on the label paper;
[0205] The stop drive unit consists of:
[0206] The light transmission threshold detection subunit is adapted to detect the light transmission threshold of the projection area corresponding to the light transmission detection part on the label paper based on the paper return detection component when the label paper is retracted;
[0207] The control driving subunit is adapted to determine that the label paper retracts to the target complete transfer position and control the motor to stop driving the rubber roller assembly when the light transmittance threshold changes from the first preset light transmittance threshold to the second preset light transmittance threshold.
[0208] Optionally, the control device 900 of the label printer further includes:
[0209] A first position determination module, adapted to determine that when the light transmittance threshold is a first preset light transmittance threshold, the projection area is located in the label surface area of the label paper;
[0210] The second position determination module is adapted to determine that when the light transmittance threshold is a second preset light transmittance threshold, the projection area is located in a blank release paper area adjacent to the label face paper area in the label paper.
[0211] Optionally, the second preset light transmittance threshold is smaller than the first preset light transmittance threshold; or, the second preset light transmittance threshold is larger than the first preset light transmittance threshold.
[0212] Optionally, the control device 900 of the label printer further includes:
[0213] The forward conveying module is adapted to control the motor to drive the label paper to convey forwardly by a third preset length when it is determined that the label printer is in a ready-to-print state and the rubber roller assembly is in a transmission connection state;
[0214] The third preset length is a target length from the light transmission detection unit to the paper tearing assembly at the corresponding printing outlet of the label printer.
[0215] Optionally, when the motor is controlled to drive the label paper to be conveyed forward by a third preset length, a third forward conveying speed corresponding to the label paper is the same as a fourth forward conveying speed corresponding to the medium belt to be transferred.
[0216] Optionally, the label printer includes a first body, the first body is provided with an installation cavity, the installation cavity is used to install the to-be-transferred medium box, the installation of the to-be-transferred medium box includes a dispensing shaft, a retrieving shaft and a torsion spring, the torsion spring is used to provide a pre-tightening force for the to-be-transferred medium belt when the dispensing shaft and the retrieving shaft cooperate with each other to forwardly convey the to-be-transferred medium belt, so that the to-be-transferred medium belt between the dispensing shaft and the retrieving shaft is in a taut state;
[0217] The second preset length is smaller than the target conveying distance of the medium belt to be transferred when the medium belt to be transferred changes from the first tightening state to the second tightening state;
[0218] The first tension state is a tension state corresponding to when the medium belt to be transferred is initially tensioned, and the second tension state is a tension state corresponding to when the medium belt to be transferred reaches an initial stable pre-tensioning force.
[0219] In the embodiments provided in the present application, a computer-readable storage medium is also provided, which stores one or more programs. When the one or more programs are executed by a processor, they implement the method of any one of the above embodiments.
[0220] In the several embodiments provided in the embodiments of the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0221] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0222] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
[0223] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.
[0224] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited by the described order of actions, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of the present application.
[0225] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0226] The above is a description of a label printer, a control method and a device for a label printer provided in an embodiment of the present application. For technicians in this field, according to the ideas of the embodiments of the present application, there may be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the embodiments of the present application.
Claims
1. A method for controlling a label printer, characterized in that: The method comprises: When it is determined that the label printer is in a state ready for printing and the rubber roller assembly is not in a transmission connection state, the motor is controlled to drive the medium belt to be transferred to be conveyed forwardly by a first preset length; When the rubber roller assembly is in the transmission connection state, the motor is controlled to drive the label paper to retract to the target complete transfer position, so that the medium belt to be transferred retracts a second preset length; wherein the second preset length is less than or equal to the first preset length.
2. The control method according to claim 1, characterized in that: The method further comprises: When the motor is controlled to drive the label paper to retract to the target complete transfer position, a first retracting speed corresponding to the label paper is greater than or equal to a second retracting speed corresponding to the medium belt to be transferred.
3. The control method according to claim 1, characterized in that: After controlling the motor to drive the label paper to retract to the target complete transfer position, the method further includes: When it is determined that the label printer is in the printing state, the rubber roller assembly is in the transmission connection state, and the motor is controlled to drive the label paper and the medium to be transferred to be transported in a forward direction; Wherein, the first forward conveying speed corresponding to the label paper is the same as the second forward conveying speed corresponding to the medium belt to be transferred.
4. The control method according to claim 1, characterized in that: The label printer comprises a first body and a second body, the first body is provided with the motor, the second body is provided with the rubber roller assembly, and the second body is also used to cover the first body; Before the step of determining that the label printer is in a state to be printed and the rubber roller assembly is not in a transmission connection state, controlling the motor to drive the transfer medium belt to be transferred forwardly for a first preset length, the step further includes: When it is detected that the second body cover is disposed on the first body and the label printer is not printing, determining that the label printer is in a waiting state; When it is detected that the rubber roller assembly is not in transmission connection with the motor, it is determined that the rubber roller assembly is not in a transmission connection state.
5. The control method according to claim 4, characterized in that: The first body is further provided with a first cover closing detection component, and the second body is further provided with a second cover closing detection component; When it is determined that the label printer is in a state to be printed and the rubber roller assembly is not in a transmission connection state, controlling the motor to drive the transfer medium belt to be forwardly conveyed by a first preset length includes: When it is determined that the label printer is in a state ready to print, the first cover closing detection component abuts against the second cover closing detection component to control the label printer to generate a first instruction; When it is determined that the rubber roller assembly is not in a transmission connection state, generating a second instruction based on the label printer; The motor is controlled based on the first command and the second command to drive the to-be-transferred medium belt to be conveyed forwardly by the first preset length.
6. The control method according to claim 1, characterized in that: The label printer comprises a first body and a second body, the first body is provided with the motor, the second body is provided with the rubber roller assembly, and the second body is also used to cover the first body; Before the step of determining that the label printer is in a state to be printed and the rubber roller assembly is not in a transmission connection state, controlling the motor to drive the transfer medium belt to be transferred forwardly for a first preset length, the step further includes: When it is detected that the second body is not covered on the first body, it is determined that the label printer is in a waiting state for printing, and the rubber roller assembly is not in a transmission connection state.
7. The control method according to claim 6, characterized in that: The first body is further provided with a first cover closing detection component, and the second body is further provided with a second cover closing detection component; When it is determined that the label printer is in a state to be printed and the rubber roller assembly is not in a transmission connection state, controlling the motor to drive the transfer medium belt to be forwardly conveyed by a first preset length includes: When it is determined that the first cover-closing detection component is not in contact with the second cover-closing detection component, the second body is not covered on the first body, and the label printer is controlled to generate a third instruction; Based on the third instruction, the motor is controlled to drive the to-be-transferred medium belt to be conveyed forwardly by the first preset length.
8. The control method according to claim 1, characterized in that: The rubber roller assembly comprises a rubber roller and a rubber roller gear, and the rubber roller gear is arranged on the rubber roller; When the rubber roller assembly is in a transmission connection state, controlling the motor to drive the label paper to retract to a target complete transfer position includes: When the motor is in transmission connection with the rubber roller gear so that the rubber roller assembly is in the transmission connection state, the motor is controlled to drive the rubber roller assembly to drive the label paper to retract; When it is detected that the label paper retreats to the target complete transfer position, the motor is controlled to stop driving the rubber roller assembly.
9. The control method according to claim 8, characterized in that: The label printer further includes a paper-feeding detection component, the paper-feeding detection component includes a label paper light-transmitting detection unit, and the paper-feeding detection unit is used to detect a light-transmitting threshold of a projection area corresponding to the light-transmitting detection unit on the label paper; When it is detected that the label paper retreats to the target complete transfer position, the motor is controlled to stop driving the rubber roller assembly, including: When the label paper is retracted, the paper retracting detection component detects the light transmittance threshold of the projection area corresponding to the light transmittance detection part on the label paper; When the light transmittance threshold changes from the first preset light transmittance threshold to the second preset light transmittance threshold, it is determined that the label paper retreats to the target complete transfer position, and the motor is controlled to stop driving the rubber roller assembly.
10. The control method according to claim 9, characterized in that: The method further comprises: When it is determined that the light transmittance threshold is the first preset light transmittance threshold, the projection area is located in the label surface paper area of the label paper; When the light transmittance threshold is determined to be the second preset light transmittance threshold, the projection area is located in a blank release paper area adjacent to the label face paper area in the label paper.
11. The control method according to claim 10, characterized in that: The second preset light transmittance threshold is smaller than the first preset light transmittance threshold; or, the second preset light transmittance threshold is larger than the first preset light transmittance threshold.
12. The control method according to claim 9, characterized in that: After controlling the motor to drive the label paper to retract to the target complete transfer position, the method further includes: When it is determined that the label printer is in a ready-to-print state and the rubber roller assembly is in a transmission connection state, controlling the motor to drive the label paper to be forwardly conveyed by a third preset length; Wherein, the third preset length is the target length from the light transmission detection unit to the paper tearing assembly at the corresponding printing outlet of the label printer.
13. The control method according to claim 12, characterized in that: The method further comprises: When the motor is controlled to drive the label paper to be conveyed forwardly for a third preset length, a third forward conveying speed corresponding to the label paper is the same as a fourth forward conveying speed corresponding to the transfer medium belt.
14. The control method according to claim 1, characterized in that: The label printer comprises a first body, the first body is provided with an installation cavity, the installation cavity is used to install a to-be-transferred medium box, the to-be-transferred medium box comprises a dispensing shaft, a retrieving shaft and a torsion spring, the torsion spring is used to provide a pre-tightening force for the to-be-transferred medium belt when the dispensing shaft and the retrieving shaft cooperate with each other to forwardly convey the to-be-transferred medium belt, so that the to-be-transferred medium belt between the dispensing shaft and the retrieving shaft is in a taut state; The second preset length is smaller than a target conveying distance of the medium belt to be transferred when the medium belt to be transferred changes from a first tightening state to a second tightening state; The first tension state is a tension state corresponding to when the medium belt to be transferred is initially tensioned, and the second tension state is a tension state corresponding to when the medium belt to be transferred reaches an initial stable pre-tensioning force.
15. A label printer, characterized in that: include: The first body is provided with a motor and a mounting cavity, wherein the mounting cavity is used to mount a dispensing shaft and a retrieving shaft, and under the drive of the motor, the dispensing shaft and the retrieving shaft cooperate with each other to forwardly convey or retract the transfer medium belt; The second body is connected to the first body, and the second body is provided with a rubber roller assembly. When the rubber roller assembly is in a transmission connection state, the rubber roller assembly is transmission connected to the motor to drive the label paper and the medium belt to be transferred to move in the same direction.
16. The label printer according to claim 15, characterized in that: The first body is further provided with a first cover-closing detection component, the second body is further provided with a second cover-closing detection component, and the second body is further used to cover the first body; When the second body cover is disposed on the first body, the first cover-closing detection component abuts against the second cover-closing detection component.
17. The label printer according to claim 15, characterized in that: The label printer further includes a paper-feeding detection component, which includes a light-transmitting detection unit, and the paper-feeding detection unit is used to detect a light-transmitting threshold of a projection area corresponding to the light-transmitting detection unit on the label paper.
18. A control device for a label printer, characterized in that: The control device comprises: A first control module, adapted to control the motor to drive the to-be-transferred medium belt to be forwardly conveyed by a first preset length when determining that the label printer is in a state to be printed and the rubber roller assembly is not in a transmission connection state; The second control module is suitable for controlling the motor to drive the label paper to retract to the target complete transfer position when the rubber roller assembly is in the transmission connection state, so that the medium belt to be transferred retracts a second preset length; wherein the second preset length is less than or equal to the first preset length.
19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, which, when executed by a processor, implement the method of any one of claims 1 to 14.
Citation Information
Patent Citations
Heat transfer printer and printing method thereof
CN102896907A
Gear transmission system of label printer and invertible label printer
CN113829762A
Label printer and label accurate positioning printing method thereof
CN113978137A
Label initial positioning method, computer storage medium and label printer
CN118144448A
Thermal transfer printing device capable of saving thermal transfer ribbon
CN118810211A
Cited By
Label printer, and label printer control method and device
WO2026179474A1