Label printer, control method and device for label printer
By controlling the motor to drive the transfer media belt to be printed in the forward and backward directions while the label printer is in the printing standby state, the problem of incomplete printing when the label paper is pulled out of the paper outlet is solved, realizing complete printing of label paper and economical use of media.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- WUHAN JINGCHEN INTELLIGENT IDENTIFICATION TECH CO LTD
- Filing Date
- 2025-02-26
- Publication Date
- 2026-04-21
AI Technical Summary
When a label printer prints directly after the label paper has been pulled out of the output tray a certain distance, the label paper cannot display complete printing information, resulting in wasted printing paper.
When the label printer is in the printing-ready state and the rubber roller assembly is not in the drive connection state, the control motor drives the medium belt to be transferred to be conveyed forward for a first preset length. When the rubber roller assembly is in the drive connection state, the control motor drives the label paper to retract to the target complete transfer position, so that the medium belt to be transferred is retracted for a second preset length.
Ensure that the label paper displays complete printing information, save on transfer media, improve utilization, and avoid printing failures.
Smart Images

Figure CN119974784B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of printer technology and equipment, and in particular to a label printer, a control method for the label printer, and a device for the control of the label printer. Background Technology
[0002] In recent years, with the widespread application of label printers in many industries, cost control during label printer use has received increasing attention. When printing labels, users often pull the label paper out of the printer's output tray a certain distance. If printing continues directly from this point, the label information will not be fully displayed, resulting in wasted paper. Summary of the Invention
[0003] This application provides a label printer, a label printer control method, and an apparatus.
[0004] In a first aspect, embodiments of this application provide a control method for a label printer, the method comprising:
[0005] When it is determined that the label printer is in a printing-ready state and the roller assembly is not in a transmission connection state, the motor is controlled to drive the medium belt to be transferred to be conveyed forward for a first preset length.
[0006] When the roller assembly is in the transmission connection state, the motor is controlled to drive the label paper back to the target complete transfer position, so that the medium to be transferred is retracted by a second preset length; wherein the second preset length is less than or equal to the first preset length.
[0007] Optionally, the method further includes:
[0008] When controlling the motor to drive the label paper back to the target complete transfer position, the first back speed of the label paper is greater than or equal to the second back speed of the medium tape to be transferred.
[0009] Optionally, after controlling the motor to drive the label paper back to the target complete transfer position, the method further includes:
[0010] When the label printer is in the printing state, the 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 conveyed in the forward direction.
[0011] The first forward conveying speed corresponding to the label paper is the same as the second forward conveying speed corresponding to the medium tape to be transferred.
[0012] Optionally, the label printer includes 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 controlling the motor to drive the transfer medium belt to be forward-conveyed for a first preset length when the label printer is determined to be in a printing-ready state and the roller assembly is not in a transmission connection state, the method further includes:
[0014] When the second body is detected covering the first body and the label printer is not printing, it is determined that the label printer is in a ready-to-print state;
[0015] When it is detected that the rubber roller assembly is not connected to the motor drive, it is determined that the rubber roller assembly is not in a drive connection state.
[0016] Optionally, the first body is further provided with a first lid-closing detection component, and the second body is further provided with a second lid-closing detection component;
[0017] When it is determined that the label printer is in a printing-ready state and the roller assembly is not in a transmission connection state, controlling the motor to drive the transfer medium belt to be conveyed forward for a first preset length includes:
[0018] When the label printer is determined to be in a ready-to-print state, the first cap-closing detection component and the second cap-closing detection component abut against each other to control the label printer to generate a first instruction;
[0019] When it is determined that the rubber roller assembly is not in a drive connection state, a second instruction is generated based on the label printer;
[0020] Based on the first instruction and the second instruction, the motor is controlled to drive the medium belt to be transferred to be conveyed forward to the first preset length.
[0021] Optionally, the label printer includes 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 controlling the motor to drive the transfer medium belt to be forward-conveyed for a first preset length when the label printer is determined to be in a printing-ready state and the roller assembly is not in a transmission connection state, the method further includes:
[0023] When it is detected that the second body is not covered by 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.
[0024] Optionally, the first body is further provided with a first lid-closing detection component, and the second body is further provided with a second lid-closing detection component;
[0025] When it is determined that the label printer is in a printing-ready state and the roller assembly is not in a transmission connection state, controlling the motor to drive the transfer medium belt to be conveyed forward for a first preset length includes:
[0026] When it is determined that the first cover detection component and the second cover detection component are not in contact, the second body is not covered by 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 medium belt to be transferred to be conveyed forward to the first preset length.
[0028] Optionally, the rubber roller assembly includes a rubber roller and a rubber roller gear, wherein the rubber roller gear is disposed on the rubber roller;
[0029] When the rubber roller assembly is in the transmission connection state, controlling the motor to drive the label paper back to the target complete transfer position includes:
[0030] When the motor and the rubber roller are connected by a gear transmission so that the rubber roller assembly is in the transmission connection state, the motor is controlled to drive the rubber roller assembly to move the label paper back;
[0031] When the label paper is detected to have retracted to the target complete transfer position, the motor is controlled to stop driving the glue roller assembly.
[0032] Optionally, the label printer further includes a paper return detection component, which includes a label paper light transmittance detection unit. The paper return detection component is used to detect the light transmittance threshold of the projection area corresponding to the light transmittance detection unit on the label paper.
[0033] The step of controlling the motor to stop driving the adhesive roller assembly when the label paper is detected to have retracted to the target complete transfer position includes:
[0034] When the label paper is retracted, the light transmittance threshold of the projection area corresponding to the light transmittance detection part on the label paper is detected based on the paper return detection component;
[0035] When the light transmittance threshold changes from the first preset light transmittance threshold to the second preset light transmittance threshold, the label paper is determined to retract to the target complete transfer position, and the motor is controlled to stop driving the glue roller assembly.
[0036] Optionally, the method further includes:
[0037] When the light transmittance threshold is determined to be the first preset light transmittance threshold, the projection area is located in the label face 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 the blank release paper area adjacent to the label face paper area in the label paper.
[0039] Optionally, 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.
[0040] Optionally, after controlling the motor to drive the label paper back to the target complete transfer position, the method further includes:
[0041] When the label printer is in a ready-to-print state and the roller assembly is in a transmission connection state, the motor is controlled to drive the label paper to be conveyed forward for a third preset length.
[0042] The third preset length is the target length from the light transmission detection unit to the paper tearing assembly at the corresponding printing exit of the label printer.
[0043] Optionally, the method further includes:
[0044] When the motor is controlled to drive the label paper to be conveyed forward for a third preset length, the third forward conveying speed of the label paper is the same as the fourth forward conveying speed of the medium tape to be transferred.
[0045] Optionally, the label printer includes a first body, the first body being provided with a mounting cavity for mounting a media cartridge to be transferred. The media cartridge to be transferred includes a dispensing shaft, a take-up shaft, and a torsion spring. The torsion spring is used to provide preload force to the media tape to be transferred when the dispensing shaft and the take-up shaft cooperate to forward convey the media tape to be transferred, so that the media tape to be transferred between the dispensing shaft and the take-up shaft is in a taut state.
[0046] The second preset length is less than the target conveying distance of the medium to be transferred when it changes from the first tension state to the second tension state;
[0047] Wherein, the first tension state is the tension state corresponding to the initial tension of the medium tape to be transferred, and the second tension state is the tension state corresponding to the initial stable preload of the medium tape to be transferred.
[0048] Secondly, embodiments of this application provide a label printer, including:
[0049] The first body is provided with a motor and a mounting cavity. The mounting cavity is used to install a dispensing shaft and a retracting shaft. Under the drive of the motor, the dispensing shaft and the retracting shaft cooperate to forward convey or retract the medium belt to be transferred.
[0050] The second machine body is connected to the first machine body. The second machine body is equipped with a rubber roller assembly. When the rubber roller assembly is in the transmission connection state, the rubber roller assembly is 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 lid-closing detection component, and the second body is further provided with a second lid-closing detection component, and the second body is also used to cover the first body;
[0052] When the second body is placed on top of the first body, the first cover detection component abuts against the second cover detection component.
[0053] Optionally, the label printer further includes a paper return detection component, which includes a light transmission detection unit. The paper return 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.
[0054] Thirdly, embodiments of this application provide a control device for a label printer, the control device comprising:
[0055] The first control module is adapted to control the motor to drive the transfer medium belt to be conveyed forward for a first preset length when it is determined that the label printer is in a printing state and the rubber roller assembly is not in a transmission connection state.
[0056] The second control module is adapted to control the motor to drive the label paper back to the target complete transfer position when the glue roller assembly is in the transmission connection state, so that the medium to be transferred is retracted by a second preset length; wherein the second preset length is less than or equal to the first preset length.
[0057] Fourthly, embodiments of this application provide a computer-readable storage medium that stores one or more programs, which, when executed by a processor, implement the method described in any one of the above descriptions.
[0058] The beneficial effects of the technical solutions provided in some embodiments of this application include at least the following: In the embodiments provided in this application, when the label printer is in a ready-to-print state, before printing begins and before the rubber roller assembly is in a drive-connected state, the motor and the rubber roller assembly are not yet connected. At this time, the motor drives the transfer medium belt to be forward-propelled for a first preset length. Since the motor and the rubber roller assembly are not yet connected, the label paper corresponding to the rubber roller assembly does not move when the transfer medium belt is forward-propelled for the first preset length. After the transfer medium belt is forward-propelled for the first preset length, when the rubber roller assembly is in a drive-connected state, the motor can drive the rubber roller assembly to move the label paper and the transfer medium belt in the same direction. At this time, the motor drives the label paper back to the target complete transfer position, so that the transfer medium belt retracts for a second preset length. This allows the label printer to display complete printing information on the label paper during printing, and the retraction of the transfer medium belt saves transfer medium and improves utilization. Here, the second preset length is less than or equal to the first preset length, ensuring that after the transfer media tape retracts, there will be no printing failure due to the absence of transfer media on the transfer media tape. The control method for the label printer provided in this application effectively solves the technical problem that pulling the label paper out of the label printer's output tray and printing directly causes the currently printed label paper to fail to display complete printing information, resulting in wasted printing paper. Attached Figure Description
[0059] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0060] Figure 1 A flowchart illustrating a control method for a label printer provided in an embodiment of this application;
[0061] Figure 2 This is a schematic diagram illustrating the process of controlling the motor in a label printer, as provided in an embodiment of this application.
[0062] Figure 3 This is a schematic diagram illustrating another process for controlling the motor in a label printer, provided as an embodiment of this application.
[0063] Figure 4 This is a schematic diagram illustrating another method for controlling a motor in a label printer, provided as an embodiment of this application.
[0064] Figure 5A schematic diagram illustrating a process for controlling a motor in a label printer based on a light transmittance threshold, provided as an embodiment of this application;
[0065] Figure 6 This is a schematic diagram of the structure of a label printer provided in an embodiment of this application;
[0066] Figure 7 This is a schematic diagram of the structure of a transfer media cartridge provided in an embodiment of this application;
[0067] Figure 8 This is a schematic diagram of the structure of a transfer media cartridge cover provided in an embodiment of this application;
[0068] Figure 9 This is a schematic diagram of the structure of a control device for a label printer provided in an embodiment of this application.
[0069] Figure label:
[0070] 1000: Label printer; 1310: Light transmission detection unit; 1311: Light emitter; 1312: Light receiver; 1210: Glue roller assembly; 1211: Glue roller; 1212: Glue roller gear; 1313: Receiver; 1314: Transmitter; 1100: First body; 1200: Second body; 1110: Medium to be transferred cartridge; 1113: Medium to be transferred cartridge cover; 1112: Recycle 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 Implementation
[0071] To make the features and advantages of the embodiments of this application more apparent and understandable, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of the embodiments of this application.
[0072] In related technologies, when users use label printers, they usually pull the label paper out of the label printer's paper output slot a certain distance. If the label paper is printed directly at this time, the label face paper on the label paper will not be in the proper printing position, resulting in the label paper not being able to display complete printing information, thus leading to the waste of the label face paper.
[0073] To address the related technical issues, this application provides a control method for a label printer. The method includes: when the label printer is in a printing state and the roller assembly is not in a transmission connection state, controlling a motor to drive the transfer medium belt to be conveyed forward for a first preset length; when the roller assembly is in a transmission connection state, controlling a motor to drive the label paper back to the target complete transfer position, so that the transfer medium belt is retracted for a second preset length; wherein the second preset length is less than or equal to the first preset length.
[0074] In the embodiments provided in this application, when the label printer is in the ready-to-print state (before printing begins), and the roller assembly is not in the drive connection state, the motor and roller assembly are not yet connected. At this time, the motor drives the transfer medium belt forward to convey a first preset length. Since the motor and roller assembly are not yet connected, the label paper corresponding to the roller assembly does not move during this forward conveying. After the transfer medium belt has been conveyed for the first preset length, when the roller assembly is in the drive connection state, the motor can drive the roller assembly to move the label paper and the transfer medium belt in the same direction. At this time, the motor drives the label paper back to the target complete transfer position, causing the transfer medium belt to retract by a second preset length. This allows the label printer to display complete printing information on the label paper during printing, and the retraction of the transfer medium belt saves transfer medium, improving utilization. Here, the second preset length is less than or equal to the first preset length, ensuring that there is no transfer medium on the transfer medium belt after the retraction, preventing printing failure. The control method for the label printer provided in this application can effectively solve the technical problem that if the label paper is pulled out of the paper output slot of the label printer and printed directly, the printed label paper will not be able to display complete printing information, resulting in wasted printing paper.
[0075] Please see Figure 1 , Figure 1 This is a flowchart illustrating a control method for a label printer provided in an embodiment of this application. The execution entity of this embodiment can be an electronic device (such as a label printer or other devices including a label printer) that executes the control method for the label printer, a processor within the electronic device executing the control method for the label printer, or a control service for the label printer within the electronic device executing the control method for the label printer. For ease of description, the following uses a processor within an electronic device as an example to describe the specific execution process of the control method for the label printer.
[0076] like Figure 1 As shown, the control methods for the label printer include:
[0077] S102: When the label printer is in the printing state and the roller assembly is not in the transmission connection state, control the motor to drive the medium belt to be transferred to be conveyed forward for a first preset length.
[0078] The label printer includes a first body and a second body. The first body includes a motor and a mounting cavity for mounting a dispensing shaft and a retracting shaft. Driven by the motor, the dispensing shaft and retracting shaft cooperate to forward or backward transport the transfer media belt. The second body is connected to the first body and includes a rubber roller assembly. When the rubber roller assembly is in a transmission connection state, it is connected to the motor to drive the label paper and the transfer media belt to move in the same direction. For example, the first body can be the printer body or printer casing of the label printer, and the second body can be the printer cover. The transfer media belt includes, but is not limited to, a ribbon. When the transfer media belt is a ribbon, the transfer medium on the ribbon is toner.
[0079] When the label printer is in the print-ready state, it has not yet started printing labels. When the roller assembly is not in the drive connection state, the label printer's motor is not yet connected to the roller assembly, so the motor cannot drive the roller assembly to move the label paper. During the preparation stage before printing, i.e., when the label printer is in the print-ready state and the roller assembly is not in the drive connection state, the motor is controlled to drive the transfer media belt forward to a first preset length.
[0080] Here, the first conveying direction corresponding to the forward conveying of the media belt to be transferred is the conveying direction in which the dispensing shaft faces the receiving shaft when the dispensing shaft is conveying the media belt to be transferred. When the motor drives the media belt to be transferred to be transported forward for a first preset length, the dispensing shaft dispenses the media belt of the first preset length, and the receiving shaft retrieves the media belt of the first preset length.
[0081] It should be understood that before using a label printer, users will pull out a certain distance of the label paper in the label printer to ensure that the label paper is in the appropriate printing position. This aligns the label face sheets from the second or Nth sheet (where N is a positive integer greater than or equal to 3) with the printing position. To make full use of the unused label face sheets, the motor can be independently controlled to drive the transfer media belt forward to a first preset length. This allows the transfer media belt to be collected simultaneously when unused label face sheets are recycled, and enables the transfer media belt and the label face sheets in the label paper to cooperate with each other to complete the printing process. This saves label paper and effectively avoids label printer printing failures.
[0082] S104: When the rubber roller assembly is in the transmission connection state, control the motor to drive the label paper back to the target complete transfer position so that the medium to be transferred is retracted by a second preset length; wherein, the second preset length is less than or equal to the first preset length.
[0083] In this process, after the motor drives the printing media belt to be transferred forward for a first preset length, the rubber roller assembly is connected to the motor drive to put the rubber roller assembly into a drive connection state. Here, the connection between the rubber roller assembly and the motor drive can be achieved based on the automatic control of the label printer, or it can be achieved by the user manually connecting the rubber roller assembly to the motor drive.
[0084] When the rubber roller assembly is in the drive connection state, the motor can synchronously drive the rubber roller assembly to move the label paper and the transfer medium belt in the same direction. Here, the direction of movement of the label paper and the direction of movement of the transfer medium belt are parallel, for example, the angle between the directions of movement is 0°; or, the direction of movement of the label paper and the direction of movement of the transfer medium belt are basically parallel, for example, the angle between the directions of movement is slightly greater than 0°.
[0085] Therefore, when the roller assembly is in a drive connection state, and the control motor drives the label paper back to the target complete transfer position, the transfer media belt also retracts synchronously with the label paper. When the transfer media belt retracts, the second conveying direction corresponding to the forward conveying of the transfer media belt is the same as the conveying direction of the retraction axis and the dispensing axis.
[0086] When the motor drives the label paper back to the target position for complete transfer, the unprinted label face paper on the pulled-out label paper returns to the printing position, effectively saving label face paper. When the label paper returns to the target position for complete transfer, two scenarios can occur.
[0087] In the first scenario, when the label paper retracts to the target complete transfer position, printing directly on the label paper at this point will ensure that the corresponding label face displays complete printing information, thus preventing information omissions during printing. During the label paper retraction process, the transfer media tape retracts by a second preset length, thereby improving the utilization rate of the transfer media tape and avoiding waste. Furthermore, the second preset length is less than or equal to the first preset length, ensuring that there is no transfer media tape available after the tape retracts, preventing printing failures.
[0088] In the second scenario, after the label paper retracts to the target complete transfer position, it needs to move a pre-set target length to reach the target position. This ensures that when printing, the corresponding label face can display complete printing information, preventing information omissions during printing. Similarly, during the label paper retraction process, the transfer media tape retracts by a second preset length, improving the utilization rate of the transfer media tape and avoiding waste. Furthermore, the second preset length is less than or equal to the first preset length, ensuring that there is no transfer media tape available after the tape retracts, preventing printing failures.
[0089] In the embodiments provided in this application, when the label printer is in the ready-to-print state (before printing begins), and the roller assembly is not in the drive connection state, the motor and roller assembly are not yet connected. At this time, the motor drives the transfer medium belt forward to transport a first preset length. Since the motor and roller assembly are not yet connected, the label paper corresponding to the roller assembly does not move when the transfer medium belt is transported forward to the first preset length. After the transfer medium belt has been transported forward to the first preset length, when the roller assembly is in the drive connection state, the motor can drive the roller assembly to move the label paper and the transfer medium belt in the same direction. At this time, the motor drives the label paper back to the target complete transfer position, so that the transfer medium belt retracts by a second preset length. This allows the label printer to display complete printing information on the label paper during printing, and the retraction of the transfer medium belt saves transfer medium, improving utilization. Here, the second preset length is less than or equal to the first preset length, ensuring that after the transfer medium belt retracts, there is no situation where there is no transfer medium on the transfer medium belt, leading to printing failure. The control method for the label printer provided in this application can effectively solve the technical problem that if the label paper is pulled out of the paper output slot of the label printer and printed directly, the printed label paper will not be able to display complete printing information, resulting in wasted printing paper.
[0090] In one embodiment provided in this application, the control method for the label printer further includes:
[0091] When the control motor drives the label paper to retract to the target complete transfer position, the first retraction speed of the label paper is greater than or equal to the second retraction speed of the medium to be transferred.
[0092] During the process of controlling the motor to drive the label paper back to the target complete transfer position, when the medium to be transferred back synchronously with the label paper, in order to make the second preset length of the medium to be transferred back less than or equal to the first preset length, the first back speed corresponding to the label paper can be controlled to be greater than or equal to the second back speed corresponding to the medium to be transferred.
[0093] Here, the first retraction speed for the label paper is the linear velocity of the label paper retracting along its extension direction. Similarly, the second retraction speed for the transfer media is the linear velocity of the transfer media retracting along its extension direction.
[0094] In some feasible implementations, the first retraction speed of the label paper is equal to the second retraction speed of the transfer media belt. In this case, the label paper and the transfer media belt move synchronously, in the same direction, and at the same speed during the retraction process. The retraction process of the label paper and the transfer media belt can be understood as the reverse process of the forward transport of the label paper and the transfer media belt during the printing process.
[0095] In some feasible implementations, the first retraction speed of the label paper is greater than the second retraction speed of the transfer media. In this case, the label paper and the transfer media move synchronously and in the same direction during the retraction process, with the label paper's movement speed exceeding that of the transfer media. This allows the label paper to be quickly retracted to the target complete transfer position. Because the first retraction speed is greater than the second, the distance the label paper retracts is greater than the distance the transfer media retracts. This means the label paper may be pulled out a considerable distance, necessitating synchronous retraction of both the label paper and the transfer media under motor drive.
[0096] In one embodiment provided in this application, after controlling the motor to drive the label paper back to the target complete transfer position in S104, the method further includes:
[0097] When the label printer is in printing mode, the roller assembly is in drive connection mode, and the control motor drives the label paper and the medium to be transferred to be conveyed 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 printing mode, it uses the transfer media belt to print on the label paper. The rubber roller assembly and motor are connected, ensuring the rubber roller assembly is in a driving state. The motor synchronously drives the rubber roller assembly, causing the label paper and the transfer media belt to move in the same direction. Furthermore, the rubber roller assembly and the heated printhead of the label printer press against each other, causing the label paper and the transfer media belt to come into contact under pressure. Simultaneously, the printhead of the label printer heats the transfer media belt to transfer a specific area of the transfer media onto the label paper, thus completing the label printing process.
[0100] It is easy to understand that in order to ensure that the medium to be transferred on the transfer medium belt can be accurately transferred to the label paper, the first forward conveying speed of the label paper can be controlled to be the same as the second forward conveying speed of the transfer medium belt.
[0101] In one embodiment provided in this application, the label printer includes a first body and a second body. The first body is provided with a motor, and the second body is provided with a rubber roller assembly. The second body is also used to cover the first body.
[0102] In step S102, before controlling the motor to drive the transfer medium belt to be forward-conveyed for a first preset length, after determining that the label printer is in a printing-ready state and the roller assembly is not in a drive-connected state, the following steps are also included:
[0103] When the second body is detected covering the first body and the label printer is not printing, it is determined that the label printer is in a ready-to-print state;
[0104] If it is detected that the rubber roller assembly is not connected to the motor drive, it is determined that the rubber roller assembly is not in a drive connection state.
[0105] The first component can be the main body or printer body of the label printer, and the second component can be the printer cover. When the second component is placed over the first component, the printer cover covers the main body or printer body of the label printer, and the label printer is in a ready-to-print state when it is not printing labels.
[0106] Furthermore, when it is detected that the rubber roller assembly is not connected to the motor drive, it is determined that the rubber roller assembly is not in a drive-connected state. Specifically, the rubber roller assembly includes a rubber roller and a rubber roller gear. The rubber roller gear is disposed on the rubber roller and is used for drive-connection with the motor. For example, the rubber roller gear can mesh with the corresponding motor gear of the motor for drive-connection. When the rubber roller gear meshes with the corresponding motor gear of the motor for drive-connection, it is determined that the rubber roller assembly is in a drive-connected state; when the rubber roller gear does not mesh with the corresponding motor gear of the motor, it is determined that the rubber roller assembly is not in a drive-connected state.
[0107] The embodiments provided in this application determine that the label printer is in a ready-to-print state by detecting when the second body is covered by the first body and the label printer is not printing, and determine that the rubber roller assembly is not in a transmission connection state by detecting when the rubber roller assembly is not connected to the motor drive. This allows for the classification of the states of the label printer and the rubber roller assembly, so that corresponding printing preparation strategies and printing strategies can be adopted in a targeted manner.
[0108] In one embodiment provided in this application, the first body is further provided with a first lid-closing detection component, and the second body is further provided with a second lid-closing detection component.
[0109] Please see Figure 2 , Figure 2 This is a schematic flowchart illustrating the control of a motor in a label printer according to an embodiment of this application. In step S102, when it is determined that the label printer is in a printing-ready state and the roller assembly is not in a transmission connection state, the motor is controlled to drive the transfer media belt forward to convey a first preset length, including:
[0110] S202: When it is determined that the label printer is in a ready-to-print state, the first cap-closing detection component and the second cap-closing detection component abut against each other to control the label printer to generate a first instruction.
[0111] When the label printer is in the printing standby state, the second body is placed on the first body. At this time, the first closing detection component on the first body and the second closing detection component on the second body abut against each other to generate a corresponding abutment electrical signal. After receiving the abutment electrical signal, the label printer determines that the second body is placed on the first body and then generates the first instruction.
[0112] In one feasible implementation, the first lid-closing detection component may include a protrusion, and the second lid-closing detection component may include a micro switch. When the second body is placed on the first body, the protrusion touches the micro switch to realize the lid-closing detection function.
[0113] In one feasible implementation, the first lid-closing detection component may include a micro switch, and the second lid-closing detection component may include a protrusion. When the second body is placed on the first body, the protrusion touches the micro switch to realize the lid-closing detection function.
[0114] S204: When it is determined that the rubber roller assembly is not in a drive 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 mounted on the rubber roller and is used for transmission connection with a motor. When the rubber roller gear meshes with the corresponding motor gear, the rubber roller assembly is determined to be in a transmission connection state; when the rubber roller gear does not mesh with the corresponding motor gear, the rubber roller assembly is determined to be in a non-transmission connection state. When the rubber roller assembly is determined to be in a non-transmission connection state, the label printer receives the status signal corresponding to this state and generates a second instruction based on this signal.
[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 restricted.
[0117] S206: Based on the first and second instructions, control the motor to drive the medium belt to be transferred to be conveyed forward to the first preset length.
[0118] After the label printer generates the first instruction and the second instruction, it indicates that the label printer is in a ready-to-print state and the rubber roller assembly is not in a transmission connection state. The motor control instruction can be generated based on the first instruction and the second instruction. After receiving the motor control instruction, the motor drives the medium to be transferred to be conveyed forward to a first preset length.
[0119] In the embodiments provided in this application, the first instruction is used to indicate that the label printer is in a state of waiting to print, and the second instruction is used to indicate that the rubber roller assembly is not in a state of transmission connection. Therefore, after the label printer generates the first instruction and the second instruction, it indicates that the label printer is in a state of waiting to print and the rubber roller assembly is not in a state of transmission connection. Thus, based on the first instruction and the second instruction, the motor is controlled to drive the medium belt to be transferred to be conveyed forward to a first preset length.
[0120] In one embodiment provided in this application, the label printer includes a first body and a second body. The first body is provided with a motor, and the second body is provided with a rubber roller assembly. The second body is also used to cover the first body.
[0121] In step S102, before controlling the motor to drive the transfer medium belt to be forward-conveyed for a first preset length, after determining that the label printer is in a printing-ready state and the roller assembly is not in a drive-connected state, the following steps are also included:
[0122] When it is detected that the second body is not covered by 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 drive connection state.
[0123] When the second body is not covered by the first body, the rubber roller assembly is not connected to the motor drive. Therefore, the rubber roller assembly is not in the drive connection state and cannot drive the label paper to move. At this time, the label printer is determined to be in the printing standby state.
[0124] In the embodiments provided in this application, when the second body is not covered by the first body, the rubber roller assembly is located on the second body and is therefore not connected to the motor drive. Thus, the rubber roller assembly is not in a drive-connected state, and because it is not connected to the motor drive, it cannot move the label paper. Therefore, the label printer is determined to be in a ready-to-print state.
[0125] In one embodiment provided in this application, the first body is further provided with a first lid-closing detection component, and the second body is further provided with a second lid-closing detection component.
[0126] Please see Figure 3 , Figure 3 This is a schematic diagram illustrating another process for controlling the motor in a label printer, provided as an embodiment of this application. For example... Figure 3As shown, in step S102, when it is determined that the label printer is in a printing-ready state and the roller assembly is not in a transmission connection state, the motor is controlled to drive the transfer medium belt to be conveyed forward for a first preset length, including:
[0127] S302: When it is determined that the first cover detection component and the second cover detection component are not in contact, the second body is not covered on the first body, and the label printer is controlled to generate a third instruction.
[0128] When the first cover detection component and the second cover detection component do not come into contact, the second body is not placed on the first body. At this time, the first cover detection component on the first body and the second cover detection component on the second body do not come into 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 placed on the first body, thereby generating a third instruction.
[0129] In one feasible implementation, the first lid-closing detection component may include a protrusion, and the second lid-closing detection component may include a micro switch. When the second lid is not located on the first body, the protrusion does not touch the micro switch, thereby realizing the function of lid-opening detection.
[0130] In one feasible implementation, the first lid-closing detection component may include a micro switch, and the second lid-closing detection component may include a protrusion. When the second lid is not located on the first body, the protrusion does not touch the micro switch, thereby realizing the function of lid-opening detection.
[0131] S304: Based on the third instruction, control the motor to drive the medium belt to be transferred to be conveyed forward to the first preset length.
[0132] When the label printer generates the third instruction, it indicates that the label printer is in a ready-to-print state and the roller assembly is not in a transmission connection state. The motor control instruction can be generated based on the third instruction. After receiving the motor control instruction, the motor drives the medium to be transferred to be conveyed forward to the first preset length.
[0133] In the embodiments provided in this application, the third instruction is used to indicate that the label printer is in a ready-to-print state and the rubber roller assembly is not in a drive-connected state. Therefore, after the label printer generates the third instruction, it indicates that the label printer is in a ready-to-print state and the rubber roller assembly is not in a drive-connected state, thereby controlling the motor to drive the transfer medium belt to be forward transported for a first preset length based on the third instruction.
[0134] In one embodiment provided in this application, the rubber roller assembly includes a rubber roller and a rubber roller gear, with the rubber roller gear disposed on the rubber roller.
[0135] Please see Figure 4 , Figure 4This is a schematic diagram illustrating another method for controlling a motor in a label printer, provided as an embodiment of this application. Figure 4 As shown, S104, when the rubber roller assembly is in the drive connection state, controls the motor to drive the label paper back to the target complete transfer position, including:
[0136] S402: When the motor and the rubber roller are connected by gear transmission to make the rubber roller assembly in the transmission connection state, control the motor to drive the rubber roller assembly to move the label paper back.
[0137] The motor gear meshes with the rubber roller gear to establish a transmission connection between the motor and the rubber roller gear. This transmission connection puts the rubber roller assembly in a transmission connection state, allowing the rubber roller gear to drive the rubber roller to rotate. Driven by the motor, the rubber roller gear rotates the rubber roller, which in turn causes the label paper to retract.
[0138] S404: When the label paper is detected to have retracted to the target complete transfer position, the control motor stops driving the glue roller assembly.
[0139] During the label paper retraction process, when the label paper is detected to have retracted to the target complete transfer position, the control motor stops driving the glue roller assembly. At this point, the glue rollers in the glue roller assembly stop rotating, and the label paper no longer moves.
[0140] When the label paper retracts to the target position for complete transfer, the unprinted label face sheets on the pulled-out label paper return to the printing position, effectively saving label face sheets. Furthermore, when printing the label at this point, the corresponding label face sheets can display complete printing information, thus preventing information omissions during printing.
[0141] In the embodiments provided in this application, when the motor is connected to the rubber roller gear transmission, the second body is covered on the first body. The motor can simultaneously drive the label paper and the medium to be transferred to retract. While controlling the motor to drive the label paper to retract to the target complete transfer position, the medium to be transferred is simultaneously driven to retract a second preset length. Furthermore, when the label paper is detected to have retracted to the target complete transfer position, the motor is controlled to stop driving the rubber roller assembly, thereby avoiding the label paper from retracting too far, which would make it difficult for the label printer to display complete printing information.
[0142] In one embodiment provided in this application, the label printer further includes a paper return detection component, which includes a label paper light transmittance detection unit. The paper return detection component is used to detect the light transmittance threshold of the projection area corresponding to the light transmittance detection unit on the label paper.
[0143] Please see Figure 5 , Figure 5 This is a schematic diagram illustrating a process for controlling the motor in a label printer based on a light transmittance threshold, as provided in an embodiment of this application. Figure 5 As shown, in S404, when the label paper is detected to have retracted to the target complete transfer position, the motor is controlled to stop driving the adhesive roller assembly, including:
[0144] S502: When the label paper is retracted, the light transmittance threshold of the corresponding projection area of the light transmittance detection section on the label paper is detected based on the paper return detection component.
[0145] The paper return detection component includes a U-shaped light guide column and a light transmission detection unit. The light transmission detection unit includes a light emitter and a light receiver. The U-shaped light guide column is set on the first body, and the light emitter and light receiver are set on the second body. The light emitted by the light emitter passes through the label paper and enters the U-shaped light guide column on the first body. After passing through the U-shaped light guide column, the light passes through the label paper and enters the light receiver. After the light receiver receives the light, the label printer determines the light transmission threshold and then determines the position of the label paper return.
[0146] The projection area corresponding to the light transmission detection unit may include a first projection sub-area on the label paper for the emitting part corresponding to the light emitter and a second projection sub-area on the label paper for the receiving part corresponding to the light receiver.
[0147] It should be understood that since the label paper includes a label face paper area and a blank release paper area, and the label face paper area has additional label face paper pasted on it compared to the blank release paper area, the second light transmission threshold corresponding to the two penetrations of light through the label face paper area and the first light transmission threshold corresponding to the two penetrations of light through the blank release paper area are different.
[0148] Therefore, during the label paper retraction process, the light transmittance threshold of the projection area corresponding to the light transmittance detection section on the label paper can be monitored in real time based on the paper return detection component. The light transmittance threshold can be understood as the maximum light intensity reached after light is emitted from the light emitter, passes through the label paper, the U-shaped light guide column, and then enters the light receiver. Here, the line connecting the centers of the two extended 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, determine that the label paper has returned to the target complete transfer position, and control the motor to stop driving the rubber roller assembly.
[0150] During the detection of 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 projected area on the label paper has moved from the label face paper area to the blank release paper area adjacent to the label face paper area. At this time, the label paper is driven back to the target complete transfer position, the motor is controlled to stop driving the rubber roller assembly to move the label paper back, and the motor also stops driving the transfer medium belt to move back.
[0151] In the embodiments provided in this 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 retreated to the target complete transfer position, and at this time the motor can be controlled to stop driving the rubber roller assembly.
[0152] In one embodiment provided in this application, when the light transmittance threshold is determined to be a first preset light transmittance threshold, the projection area is located in the label face paper area of the label paper;
[0153] When the light transmittance threshold is set to the second preset light transmittance threshold, the projection area is located in the blank release paper area adjacent to the label face paper area in the label paper.
[0154] Specifically, when the light transmittance threshold is within the first preset light transmittance range, the light transmittance threshold is determined as the first preset light transmittance threshold, and at this time, the projection area is located in the label face area of the label paper. Here, the first preset light transmittance range can be predetermined. That is, it is the range of values of the maximum transmitted light intensity reached after the light is emitted from the light emitter, passes through the label face area on the label paper, the U-shaped light guide column, and the label face area on the label paper before entering the light receiver.
[0155] When the light transmittance threshold is within the second preset light transmittance range, the light transmittance threshold is determined to be the second preset light transmittance threshold. At this time, the projection area is located in the label face paper area of the label paper. Here, the second preset light transmittance range can be predetermined, that is, the range of maximum transmitted light intensity reached after the light is emitted from the light emitter, 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 in sequence, and enters the light receiver.
[0156] Here, when the light transmittance of the label face paper area is greater than that of the blank release paper area, the first preset light transmittance threshold is greater than the second preset light transmittance threshold; when the light transmittance of the label face paper area is less than that of 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 of the label face paper area and 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 this application, after controlling the motor to drive the label paper back to the target complete transfer position in S104, the method further includes:
[0158] When the label printer is in the ready-to-print state and the rubber roller assembly is in the drive connection state, control the motor to drive the label paper to be fed forward for a third preset length;
[0159] The third preset length is the target length from the light transmission detection unit to the paper tearing component at the corresponding printing exit of the label printer.
[0160] After the label paper retracts to the target complete transfer position, it needs to move a pre-set target length to reach the target position. This ensures that the label face paper can display complete printing information when printing. At this point, the label printer is in a ready-to-print state, and the roller assembly is in a drive connection state. The motor is then controlled to drive the label paper forward for a third preset length. This third preset length is the target length from the light transmission detection unit to the tear-off assembly at the corresponding printing exit of the label printer. This delivers the corresponding blank release paper area to the tear-off assembly at the printing exit, achieving accurate adjustment of the label paper's position. When printing, the label face paper can display complete printing information, thus preventing information omissions during printing.
[0161] Here, when the motor drives the label paper to be conveyed forward for the third preset length, the third forward conveying speed of the label paper is the same as the fourth forward conveying speed of the media belt to be transferred. At this time, the label printer is not printing; this is the preparation stage before printing. It is easy to understand that when the motor drives the label paper to be conveyed forward for the third preset length, the motor is also simultaneously driving the media belt to be transferred in the same direction.
[0162] In one embodiment provided in this application, the label printer includes a first body, the first body is provided with a mounting cavity for mounting a media cartridge to be transferred, the media cartridge to be transferred includes a dispensing shaft, a take-up shaft and a torsion spring, the torsion spring is used to provide a preload force to the media tape to be transferred when the dispensing shaft and the take-up shaft cooperate to forward convey the media tape to be transferred, so that the media tape to be transferred between the dispensing shaft and the take-up shaft is in a taut state;
[0163] The second preset length is less than the target conveying distance of the medium to be transferred when it changes from the first tension state to the second tension state.
[0164] The first tension state is the tension state corresponding to the initial tension of the transfer medium belt, and the second tension state is the tension state corresponding to the initial stable preload of the transfer medium belt.
[0165] During the label printer printing process, the dispensing shaft in the media cartridge is used to forward-feed the media tape to the return shaft, and the return shaft is used to retrieve the media tape after the transfer has been completed. During the label printer's printing preparation phase, the dispensing shaft in the media cartridge is used to either retract or forward-feed the media tape to the return shaft, and the return shaft is used to retrieve or retract the media tape.
[0166] A torsion spring is installed on the media cartridge. When the media tape begins to be conveyed in the forward direction, the torsion spring and the media tape are just beginning to tighten, and the media tape is in the first tension state. As the media tape is conveyed in the forward direction, the torsion spring is gradually stretched, increasing its elasticity. At the same time, the preload of the media tape gradually increases until the media tape is conveyed in the forward direction to the second tension state. At this point, the torsion spring slips, and the preload of the media tape does not change. This ensures that the preload of the media tape remains at a stable value during the forward conveying process, thus avoiding the problem of poor media transfer effect caused by the loose media tape and effectively improving the printing effect of the label printer.
[0167] Please see Figure 6 , Figure 6 This is a schematic diagram of a label printer provided in an embodiment of this application. Please refer to [link / reference]. Figure 7 , Figure 7 This is a schematic diagram of the structure of a transfer media cartridge provided in an embodiment of this 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 equipped with a motor and a mounting cavity. The mounting cavity is used to install the dispensing shaft 1111 and the retracting shaft 1112. Driven by the motor, the dispensing shaft 1111 and the retracting shaft 1112 cooperate with each other to forward convey or retract the medium belt to be transferred.
[0169] Specifically, the mounting cavity is used to mount the media cartridge 1110, which includes a dispensing shaft 1111 and a retrieving shaft 1112. The mounting cavity is... Figure 6 The space occupied by the medium to be transferred cartridge 1110.
[0170] The second body 1200 is connected to the first body 1100. The second body 1200 is provided with a rubber roller assembly 1210. When the rubber roller assembly 1210 is in the transmission connection state, the rubber roller assembly 1210 is 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, with the rubber roller gear 1212 disposed on the rubber roller 1211.
[0172] In one embodiment provided in this application, the label printer 1000 further includes a paper return detection component, which includes a light transmission detection unit 1310. The paper return detection component is used to detect the light transmission threshold of the projection area corresponding to the light transmission detection unit 1310 on the label paper. The light transmission detection unit 1310 includes a light emitter 1311 and a light receiver 1312. A U-shaped light guide column is disposed on the first body, and the light emitter 1311 and the light receiver 1312 are disposed 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 1200. Then, the light passing through the emitting end 1314 of the U-shaped light guide column 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 transmission threshold and thus determines the position of the label paper return.
[0173] Please see Figure 8 , Figure 8 This is a schematic diagram of the structure of a transfer media cartridge cover provided in an embodiment of this application. (See attached diagram.) Figure 8 As shown, a torsion spring 1115 is also provided on the first protrusion 1114 of the media cartridge cover 1113. The first protrusion 1114 of the media cartridge cover 1113 is used to extend into the dispensing shaft 1111, and the second protrusion 1116 of the media cartridge cover 1113 is used to extend into the retraction shaft 1112, so that under the drive of the motor, the dispensing shaft 1111 and the retraction shaft 1112 cooperate with each other to forward convey or retract the media tape to be transferred. Furthermore, when the media belt to be transferred begins to be conveyed in the forward direction, the dispensing shaft 1111 rotates, causing the torsion spring 1115 to begin to tighten, thereby providing a preload force to the media belt to be transferred in the opposite direction of forward conveying, and the media belt to be transferred is in the first tension state. When the media belt to be transferred is conveyed in the forward direction, the torsion spring 1115 is gradually stretched, increasing the elastic force, and at the same time, the preload force of the media belt to be transferred will gradually increase until the media belt to be transferred moves to the second tension state, at which point the torsion spring 1115 will slip, and the preload force of the media belt to be transferred will not change, thus maintaining a stable preload force during the forward conveying process, thereby avoiding the problem of poor transfer effect caused by the loosening of the media belt to be transferred, and effectively improving the printing effect of the label printer.
[0174] In addition, in one embodiment provided in this application, the first body 1100 is further provided with a first lid-closing detection component (not shown in the figure), and the second body 1200 is further provided with a second lid-closing detection component (not shown in the figure). The second body 1200 is also used to cover the first body 1100. When the second body 1200 covers the first body 1100, the first lid-closing detection component and the second lid-closing detection component abut against each other.
[0175] In one feasible implementation, the first lid-closing detection component may include a protrusion, and the second lid-closing detection component may include a micro switch. When the second body 1200 is placed on the first body 1100, the protrusion touches the micro switch to realize the lid-closing detection function.
[0176] In one feasible implementation, the first lid-closing detection component may include a micro switch, and the second lid-closing detection component may include a protrusion. When the second body 1200 is placed on the first body 1100, the protrusion touches the micro switch to realize the lid-closing detection function.
[0177] Please see Figure 9 , Figure 9 This is a schematic diagram of the structure of a control device for a label printer provided in an embodiment of this application. Figure 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 conveyed forward for a first preset length when it is determined that the label printer is in the printing state and the rubber roller assembly is not in the transmission connection state.
[0179] The second control module 920 is adapted to control the motor to drive the label paper back to the target complete transfer position when the rubber roller assembly is in the transmission connection state, so that the medium to be transferred is retracted by a second preset length; wherein the second preset length is less than or equal to the first preset length.
[0180] Optionally, when the control motor drives the label paper to retract to the target complete transfer position, the first retraction speed of the label paper is greater than or equal to the second retraction speed of the transfer medium.
[0181] Optionally, the control unit 900 of the label printer also includes:
[0182] The determination module is suitable for determining that when the label printer is in the printing state, the rubber roller assembly is in the transmission connection state, and controlling the motor to drive the label paper and the medium to be transferred to be conveyed in the 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 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;
[0185] The control unit 900 for the label printer also includes:
[0186] The first detection module is adapted to determine that the label printer is in a ready-to-print state when it detects that the second body is covered by 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 drive connection state when it detects that the rubber roller assembly is not connected to the motor drive.
[0188] Optionally, the first body is further provided with a first lid-closing detection component, and the second body is further provided with a second lid-closing detection component;
[0189] The first control module 910 includes:
[0190] The first instruction generation unit is adapted to determine that when the label printer is in a ready-to-print state, the first cap-closing detection component and the second cap-closing detection component abut against each other to control the label printer to generate a first instruction.
[0191] The second instruction generation unit is adapted to generate a second instruction based on the label printer when it is determined that the rubber roller assembly is not in a transmission connection state.
[0192] The drive unit is adapted to control the motor to drive the transfer medium belt to be conveyed forward for a first preset length based on the first instruction and the second instruction.
[0193] Optionally, 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;
[0194] The control unit 900 for the label printer also includes:
[0195] The status 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 it detects that the second body is not covered by the first body.
[0196] Optionally, the first body is further provided with a first lid-closing detection component, and the second body is further provided with a second lid-closing detection component;
[0197] The first control module 910 includes:
[0198] The third instruction generation unit is adapted to determine that when the first cover detection component and the second cover detection component are not in contact, the second body is not covered on the first body, and controls the label printer to generate a third instruction.
[0199] The drive conveyor unit is adapted to control the motor to drive the medium belt to be transferred to be conveyed forward for a first preset length based on a third instruction.
[0200] Optionally, the rubber roller assembly includes a rubber roller and a rubber roller gear, with the rubber roller gear disposed on the rubber roller;
[0201] The second control module 920 includes:
[0202] The retraction unit is suitable for controlling the motor to drive the rubber roller assembly to retract the label paper when the motor and the rubber roller are connected by gear transmission so that the rubber roller assembly is in the transmission connection state.
[0203] The stop drive unit is adapted to control the motor to stop driving the rubber roller assembly when the label paper is detected to have retracted to the target complete transfer position.
[0204] Optionally, the label printer also includes a paper return detection component, which includes a label paper light transmittance detection unit. The paper return detection component is used to detect the light transmittance threshold of the projection area corresponding to the light transmittance detection unit on the label paper.
[0205] The stop drive unit includes:
[0206] The light transmittance threshold detection subunit is suitable for detecting the light transmittance threshold of the corresponding projection area of the light transmittance detection part on the label paper based on the paper return detection component when the label paper is retracted.
[0207] The control drive subunit is adapted to determine when the light transmittance threshold changes from the first preset light transmittance threshold to the second preset light transmittance threshold, and control the motor to stop driving the rubber roller assembly.
[0208] Optionally, the control unit 900 of the label printer also includes:
[0209] The first position determination module is adapted to determine that when the light transmission threshold is the first preset light transmission threshold, the projection area is located in the label face paper area of the label paper.
[0210] The second position determination module is adapted to determine that when the light transmission threshold is the second preset light transmission threshold, the projection area is located in the blank release paper area adjacent to the label face paper area in the label paper.
[0211] Optionally, 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.
[0212] Optionally, the control unit 900 of the label printer also includes:
[0213] The forward conveying module is suitable for controlling the motor to drive the label paper forward to convey a third preset length when the label printer is in the ready-to-print state and the rubber roller assembly is in the drive connection state.
[0214] The third preset length is the target length from the light transmission detection unit to the paper tearing component at the corresponding printing exit of the label printer.
[0215] Optionally, when controlling the motor to drive the label paper to be conveyed forward for a third preset length, the third forward conveying speed of the label paper is the same as the fourth forward conveying speed of the medium to be transferred.
[0216] Optionally, the label printer includes a first body, which has a mounting cavity for mounting a media cartridge to be transferred. The media cartridge to be transferred includes a dispensing shaft, a take-up shaft, and a torsion spring. The torsion spring provides preload to the media tape to be transferred when the dispensing shaft and the take-up shaft cooperate to forward convey the media tape to be transferred, so that the media tape to be transferred between the dispensing shaft and the take-up shaft is in a taut state.
[0217] The second preset length is less than the target conveying distance of the medium to be transferred when it changes from the first tension state to the second tension state.
[0218] The first tension state is the tension state corresponding to the initial tension of the transfer medium belt, and the second tension state is the tension state corresponding to the initial stable preload of the transfer medium belt.
[0219] In the embodiments provided in this application, a computer-readable storage medium is also provided, which stores one or more programs that, when executed by a processor, implement the method of any of the above embodiments.
[0220] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.
[0221] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0222] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.
[0223] If the integrated module is implemented as a software functional 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 this application embodiment, in essence, 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. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0224] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of this application are not limited to the described order of actions, because according to the embodiments of this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to the embodiments of this application.
[0225] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0226] The above is a description of a label printer, a label printer control method, and a device provided in the embodiments of this application. For those skilled in the art, based on the ideas of the embodiments of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation on the embodiments of this application.
Claims
1. A control method for a label printer, characterized in that, The method includes: When the label printer is in the printing state and the rubber roller assembly is not in the transmission connection state, the motor and the rubber roller assembly are not yet in the transmission connection state. The motor is controlled to drive the transfer medium belt to be conveyed forward for a first preset length. When the transfer medium belt is conveyed forward for a first preset length, the label paper corresponding to the rubber roller assembly does not move. When the roller assembly is in the transmission connection state, the roller assembly is connected to the motor. The motor drives the roller assembly to move the label paper and the medium belt to be transferred in the same direction. The motor controls the label paper to retract to the target complete transfer position so that the medium belt to be transferred retracts by a second preset length. 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 includes: When controlling the motor to drive the label paper back to the target complete transfer position, the first back speed of the label paper is greater than or equal to the second back speed of the medium tape to be transferred.
3. The control method according to claim 1, characterized in that, After controlling the motor to drive the label paper back to the target complete transfer position, the method further includes: When the label printer is in the printing state, the 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 conveyed in the forward direction. The first forward conveying speed corresponding to the label paper is the same as the second forward conveying speed corresponding to the medium tape to be transferred.
4. The control method according to claim 1, characterized in that, The label printer includes a first body and a second body. The first body is equipped with the motor, and the second body is equipped with the rubber roller assembly. The second body is also used to cover the first body. Before determining that the label printer is in a printing-ready state and the roller assembly is not in a transmission connection state, and before controlling the motor to drive the transfer medium belt to be conveyed forward for a first preset length, the process further includes: When the second body is detected covering the first body and the label printer is not printing, it is determined that the label printer is in a ready-to-print state; When it is detected that the rubber roller assembly is not connected to the motor drive, it is determined that the rubber roller assembly is not in a drive connection state.
5. The control method according to claim 4, characterized in that, The first body is also provided with a first lid-closing detection component, and the second body is also provided with a second lid-closing detection component; When the label printer is determined to be in a printing-ready state and the roller assembly is not in a transmission connection state, the motor and roller assembly are not yet in a transmission connection state. Controlling the motor to drive the transfer media belt to be conveyed forward for a first preset length includes: When the label printer is determined to be in a ready-to-print state, the first cap-closing detection component and the second cap-closing detection component abut against each other to control the label printer to generate a first instruction; When it is determined that the rubber roller assembly is not in a drive connection state, a second instruction is generated based on the label printer; Based on the first instruction and the second instruction, the motor is controlled to drive the medium belt to be transferred to be conveyed forward to the first preset length.
6. The control method according to claim 1, characterized in that, The label printer includes a first body and a second body. The first body is equipped with the motor, and the second body is equipped with the rubber roller assembly. The second body is also used to cover the first body. Before determining that the label printer is in a printing-ready state and the roller assembly is not in a transmission connection state, and before controlling the motor to drive the transfer medium belt to be conveyed forward for a first preset length, the process further includes: When it is detected that the second body is not covered by 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.
7. The control method according to claim 6, characterized in that, The first body is also provided with a first lid-closing detection component, and the second body is also provided with a second lid-closing detection component; When the label printer is determined to be in a printing-ready state and the roller assembly is not in a transmission connection state, the motor and roller assembly are not yet in a transmission connection state. Controlling the motor to drive the transfer media belt to be conveyed forward for a first preset length includes: When it is determined that the first cover detection component and the second cover detection component are not in contact, the second body is not covered by 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 medium belt to be transferred to be conveyed forward to the first preset length.
8. The control method according to claim 1, characterized in that, The rubber roller assembly includes a rubber roller and a rubber roller gear, wherein the rubber roller gear is disposed on the rubber roller; When the rubber roller assembly is in the transmission connection state, the rubber roller assembly is transmission connected to the motor. The motor drives the rubber roller assembly to move the label paper and the transfer medium belt in the same direction. Controlling the motor to drive the label paper to retract to the target complete transfer position includes: When the motor and the rubber roller are connected by a gear transmission so that the rubber roller assembly is in the transmission connection state, the motor is controlled to drive the rubber roller assembly to move the label paper back; When the label paper is detected to have retracted to the target complete transfer position, the motor is controlled to stop driving the glue roller assembly.
9. The control method according to claim 8, characterized in that, The label printer also includes a paper return detection component, which includes a label paper light transmittance detection part. The paper return detection component is used to detect the light transmittance threshold of the projection area corresponding to the light transmittance detection part on the label paper. The step of controlling the motor to stop driving the adhesive roller assembly when the label paper is detected to have retracted to the target complete transfer position includes: When the label paper is retracted, the light transmittance threshold of the projection area corresponding to the light transmittance detection part on the label paper is detected based on the paper return detection component; When the light transmittance threshold changes from the first preset light transmittance threshold to the second preset light transmittance threshold, the label paper is determined to retract to the target complete transfer position, and the motor is controlled to stop driving the glue roller assembly.
10. The control method according to claim 9, characterized in that, The method further includes: When the light transmittance threshold is determined to be the first preset light transmittance threshold, the projection area is located in the label face 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 the 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 less than the first preset light transmittance threshold; or, the second preset light transmittance threshold is greater 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 back to the target complete transfer position, the method further includes: When 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 conveyed forward for a third preset length. The third preset length is the target length from the light transmission detection unit to the paper tearing assembly at the corresponding printing exit of the label printer.
13. The control method according to claim 12, characterized in that, The method further includes: When the motor is controlled to drive the label paper to be conveyed forward for a third preset length, the third forward conveying speed of the label paper is the same as the fourth forward conveying speed of the medium to be transferred.
14. The control method according to claim 1, characterized in that, The label printer includes a first body, which has a mounting cavity for mounting a media cartridge to be transferred. The media cartridge mounting cavity includes a dispensing shaft, a retracting shaft, and a torsion spring. The torsion spring provides a preload force to the media tape to be transferred when the dispensing shaft and the retracting shaft cooperate to forward convey the media tape to be transferred, so that the media tape to be transferred between the dispensing shaft and the retracting shaft is in a taut state. The second preset length is less than the target conveying distance of the medium to be transferred when it changes from the first tension state to the second tension state; Wherein, the first tension state is the tension state corresponding to the initial tension of the medium tape to be transferred, and the second tension state is the tension state corresponding to the initial stable preload of the medium tape to be transferred.
15. A label printer, characterized in that, The control method for the label printer according to claim 1, wherein the label printer comprises: The first body is provided with a motor and a mounting cavity. The mounting cavity is used to install a dispensing shaft and a retracting shaft. Under the drive of the motor, the dispensing shaft and the retracting shaft cooperate to forward convey or retract the medium belt to be transferred. The second machine body is connected to the first machine body. The second machine body is equipped with a rubber roller assembly. When the rubber roller assembly is in the transmission connection state, the rubber roller assembly is 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 lid-closing detection component, and the second body is further provided with a second lid-closing detection component. The second body is also used to cover the first body. When the second body is placed on top of the first body, the first cover detection component abuts against the second cover detection component.
17. The label printer according to claim 15, characterized in that, The label printer also includes a paper return detection component, which includes a light transmission detection unit. The paper return 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.
18. A control device for a label printer, characterized in that, The control device includes: The first control module is adapted to determine that when the label printer is in a printing state and the rubber roller assembly is not in a transmission connection state, the motor and the rubber roller assembly are not yet in a transmission connection state, and control the motor to drive the transfer medium belt to be conveyed forward for a first preset length. When the transfer medium belt is conveyed forward for a first preset length, the label paper corresponding to the rubber roller assembly does not move. The second control module is adapted to, when the rubber roller assembly is in the transmission connection state, connect the rubber roller assembly to the motor, drive the rubber roller assembly to move the label paper and the medium belt to be transferred in the same direction, and control the motor to drive the label paper to retract to the target complete transfer position, so that the medium belt to be transferred retracts by 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 that, when executed by a processor, implement the method of any one of claims 1 to 14.
Citation Information
Patent Citations
Thermal transfer printer
CN212860840U
A label printer whose labels are less prone to warping
CN218804786U