Printers, printer control methods and programs
By using a dual-detection unit system and controller to calculate and correct the printing start position, the problems of label loss and accuracy in label continuous printers are solved, and high-precision label printing is achieved.
Patent Information
- Application Number
- CN202280075266.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-11-30
- Filing Date
- 2022-10-24
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2042-10-24
AI Technical Summary
In label continuum printers, newly created label continuums are discarded before they are recognized, and printing accuracy is affected by errors, resulting in label loss and reduced precision.
A dual-detection unit system is adopted. The first detection unit identifies the upstream position of the label, and the second detection unit identifies the downstream position. Combined with the controller to calculate the configuration length and the distance between units, the printing start position is corrected to ensure that all labels can be printed accurately.
This technology reduces label waste in label continuous printers, improves printing accuracy, and ensures that all labels are printed accurately.
Smart Images

Figure CN118234627B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to printers, printer control methods, and programs. Background Technology
[0002] There exists a printer that prints labels that are temporarily fixed to a continuous label body made of a strip of backing paper. In such a printer, the label is identified and aligned with the printing unit by a sensor configured upstream of the printing unit for print alignment.
[0003] In the printer described above, when a newly set label continuum is first printed, the label continuum must be fed until it can be detected by the sensor used for print alignment. Therefore, the labels fed during the period until they can be detected by the sensor used for print alignment remain unprinted and are discarded.
[0004] In contrast, JP2020-157522A proposes a printer that eliminates discarded labels even under the same conditions.
[0005] In the printer described in JP2020-157522A, a sensor different from the sensor used for print alignment is provided on the downstream side of the printing unit. When setting a new label continuum, the length of the label and the label spacing are measured using the sensor located on the downstream side of the printing unit.
[0006] Then, even for labels located in positions that cannot be detected by sensors upstream of the printing unit, printing can be performed based on measured values.
[0007] In the printer described in Patent Document 1, when the measured values of label length and label spacing contain errors, errors sometimes accumulate on the second and third labels whose printing start positions are determined based on the measured values, thereby reducing printing accuracy. Summary of the Invention
[0008] Therefore, the object of the present invention is to eliminate label loss and achieve high printing accuracy in a printer that prints labels arranged on a strip of backing paper at predetermined intervals.
[0009] According to one aspect of the present invention, a printer is provided that prints a label continuum formed by labels temporarily fixed at predetermined intervals on a strip of backing paper. The printer comprises: a transport unit for transporting the label continuum; a printing unit for printing on the label; a first detection unit disposed upstream of the printing unit in the transport direction and detecting the label; a second detection unit disposed downstream of the printing unit in the transport direction and detecting the label; and a controller that, based on the detection results from the first and second detection units, controls the printing of the label and the transport of the label continuum. The controller is configured to: transport the label continuum while printing on the label via the printing unit, and measure a configuration length via the second detection unit, the configuration length being the interval between the downstream end of the printed label and the downstream end of an adjacent label; set a reference printing start position for the label located upstream of the printing unit based on the configuration length; and correct the reference printing start position using the inter-unit distance between the printing unit and the first detection unit and the configuration length.
[0010] According to the above method, the controller that controls the printer prints on the label through the printing unit, and calculates the configuration length of the printed label through the second detection unit. Based on the calculated configuration length, a reference printing start position is set for the label that is located upstream of the printing unit and cannot be detected by the first detection unit.
[0011] Therefore, even if a label is located upstream of the printing unit in the transport direction and cannot be detected by the first detection unit, the reference printing start position can be determined for printing.
[0012] Furthermore, the printer's controller uses the inter-unit distance between the first and second detection units and the calculated label arrangement length to correct the set reference printing start position. Therefore, in a printer that prints a continuous sheet of labels arranged at predetermined intervals on a long strip of backing paper, high-precision printing is achieved. Attached Figure Description
[0013] Figure 1 This is a simplified structural diagram of the printer according to an embodiment of the present invention.
[0014] Figure 2 This is a block diagram illustrating the printer involved in this embodiment.
[0015] Figure 3 This is a flowchart illustrating the controller's method of controlling the printer.
[0016] Figure 4 This is a schematic diagram illustrating the processing of the downstream end of the first tag of the newly set tag continuum.
[0017] Figure 5 This is a schematic diagram illustrating the process of calculating the configuration length in the tag in this embodiment.
[0018] Figure 6 This is a schematic diagram illustrating the process of correcting the printing start position in this embodiment.
[0019] Figure 7 This is a schematic diagram illustrating the configuration length and baseline print start position set by the controller based on a specific length and a specific coefficient.
[0020] Figure 8 This is a schematic diagram illustrating the controller's correction of the reference printing start position.
[0021] Figure 9 This is a schematic diagram illustrating an example of the correction process for the starting position of the baseline print.
[0022] Figure 10 This is a schematic diagram illustrating an example of the correction process for the starting position of the baseline print. Detailed Implementation
[0023] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
[0024] [Printer Structure]
[0025] Figure 1 This is a simplified structural diagram of the printer 1 according to an embodiment of the present invention.
[0026] Printer 1 is a thermal transfer printer that prints variable information such as prices, barcodes, other product information, and management information related to items or services onto the printing medium based on media release instructions. It is achieved by heating the ink ribbon R and transferring the ink from the ink ribbon R onto the printing medium.
[0027] In this embodiment, a label continuum is used as the printing medium. The label continuum (hereinafter referred to as continuum ML) consists of multiple labels M that are temporarily fixed continuously at predetermined intervals onto a strip of backing paper B and wound into a roller shape. Furthermore, in this embodiment, in the continuum ML, the lengths of the labels M temporarily fixed to the strip of backing paper B and the predetermined intervals between the labels M are all the same.
[0028] In this embodiment, the predetermined interval between the tags M is denoted as gap G. Furthermore, the total length of the combination of the downstream end Mf of tag M and the downstream end Mf of the tag M adjacent to tag M, i.e., the length L of tag M in the transport direction and gap G, is denoted as configuration length α (refer to...). Figure 4 ).
[0029] like Figure 1 As shown, printer 1 includes a printing mechanism 10, a feed shaft 20, a take-up shaft 30, and a media supply shaft 40. Additionally, printer 1 includes: a first detection unit 50, positioned upstream of the printing mechanism 10 in the transport direction, which detects a label M; a second detection unit 60, positioned downstream of the printing mechanism 10 in the transport direction, which also detects a label M; and a controller 70, serving as a control unit for controlling the various parts of printer 1.
[0030] Each of the above-mentioned structures is housed in the main body 2 and covered by a cover 3 that is closable relative to the main body 2. Furthermore, the cover 3 is equipped with an opening / closing detection sensor 4 for detecting the opening and closing of the cover 3. The opening / closing detection sensor 4 can be an optical sensor having a light-emitting part and a light-receiving part, or a physical sensor that opens and closes in accordance with the opening and closing of the cover 3.
[0031] The printing mechanism 10 includes a head unit 11 and a pressure roller 12, and performs printing on the label M and conveying the continuous material ML and the ink ribbon R. That is, the printing mechanism 10 has a structure that serves as a printing unit for printing on the label M and a conveying unit for conveying the continuous material ML.
[0032] The head unit 11 holds the thermal head 13 with the heating element of the thermal head 13 exposed from its lower surface. The pressure roller 12 is positioned directly below the thermal head 13 and together with the thermal head 13 forms the printing section 15 for printing on the label M.
[0033] Head unit 11 is supported by support shaft 14 so that it can be Figure 1 The head unit 11 can move in the direction of the arrow. It is in an open position where the thermal head 13 is separated from the pressure roller 12, and in a closed position where the thermal head 13 is in contact with the pressure roller 12. Figure 1 In the middle, head unit 11 is the head closed position.
[0034] The pressure roller 12 is driven to rotate by a stepper motor (not shown), and can be driven to rotate forward or backward according to the instruction signal from the controller 70.
[0035] The supply shaft 20 holds the ink ribbon R supplied to the printing unit 15 in a roller shape. The ink ribbon R supplied from the supply shaft 20 to the printing unit 15 is held between the thermal head 13 and the pressure roller 12.
[0036] The media supply shaft 40 holds the continuous material ML supplied to the printing unit 15 in a roller shape. The continuous material ML supplied from the media supply shaft 40 to the printing unit 15 is held together with the ink ribbon R between the thermal head 13 and the pressure roller 12.
[0037] If the take-up shaft 30 rotates due to its connection with the gear of the stepper motor, the used ink tape R is wound up around its outer circumference. Furthermore, when the head unit 11 is in the head open position, by rotating the take-up shaft 30, the ink tape R can be conveyed only in the take-up direction.
[0038] If the heating element of the thermal head 13 is energized while the label M and ink ribbon R are held between the thermal head 13 and the pressure roller 12, the heat from the heating element transfers the ink from the ink ribbon R onto the label M, thus printing the label M. Alternatively, if the pressure roller 12 rotates forward via a stepper motor (not shown), it feeds the continuous material ML downstream (in the direction of the hollow arrow). Furthermore, feeding the continuous material ML downstream in the conveying direction is called "forward feed," and feeding the continuous material ML upstream in the conveying direction, i.e., in the opposite direction to the conveying direction, is called "reverse feed."
[0039] The first detection unit 50 is equipped with a detection position detection mark (hereinafter referred to as alignment mark P). Figure 4 The reflective sensor. Alignment mark P is pre-printed on the side of backing paper B opposite to the side where label M is temporarily fixed, at the same interval as the temporary fixing interval of label M.
[0040] When continuously printing and issuing labels M, printer 1 can specify the printing start position of label M relative to printing unit 15 based on the detection result in first detection unit 50.
[0041] The second detection unit 60 has a light-emitting part 61 that emits detection light and a light-receiving part 62 that receives detection light, and constitutes a transmissive optical sensor. The second detection unit 60 outputs an output voltage based on the detection light received by the light-receiving part 62 via the continuum ML to the controller 70.
[0042] The light-emitting unit 61 is configured to detect light emission output having multiple stages, for example 128 stages in this embodiment, and to adjust the light emission output according to the control performed by the controller 70.
[0043] The light-receiving unit 62 has multiple stages of light-receiving sensitivity for receiving detection light from the light-emitting unit 61, and the light-receiving sensitivity can be adjusted according to the control performed by the controller 70. The light-receiving unit 62 is positioned opposite the light-emitting unit 61.
[0044] The controller 70 consists of a microprocessor, storage devices such as ROM and RAM, input / output interfaces, and a bus that connects these components, as described later.
[0045] The controller 70 controls the transport of the continuum ML and the printing of the label M based on the control program and the detection results from the first detection unit 50 and the second detection unit 60. Details of the control in the controller 70 will be described later.
[0046] Figure 2 This is a block diagram illustrating the printer 1 according to this embodiment.
[0047] The controller 70 is configured to include a CPU (central processing unit) 71, a ROM (read-only memory) 72, a RAM (random access memory) 73, a transport control circuit 74, a print control circuit 75, a paper detection circuit 76, an I / O port 77, a power supply unit 78, and a sensor detection circuit 79. These components are interconnected via an internal bus 80, enabling them to transmit and receive various types of data.
[0048] CPU71 controls the controller 70 as a whole by executing the control program stored in ROM72, and enables each part to perform the required processing and control.
[0049] ROM72 stores control programs read and executed by CPU71. The control program stored in ROM72 is used to cause the first detection unit 50 and the second detection unit 60 to operate, detect the tag M, and, based on the detection results in the first detection unit 50 and the second detection unit 60, perform the conveying of the continuum ML and the printing of the tag M.
[0050] Additionally, a program is stored in ROM72 for printing on label M by printing mechanism 10 while conveying label continuum ML. The program calculates the total length L of the printed label M and the gap G, i.e. the configuration length α, based on the detection result of second detection unit 60. Based on the configuration length α, a reference printing start position of label M located upstream of printing mechanism 10 is set, and the reference printing start position is corrected using the inter-unit distance U between first detection unit 50 and head unit 11 (thermal head 13) and the configuration length α.
[0051] Additionally, ROM 72 stores information related to the type (length, width, etc.) of the labels M configured in the label continuum ML, as well as the feed amount from the downstream end Mf of each label M type to the print start position. This information can be input by the user to printer 1 when setting the label continuum ML.
[0052] RAM73 stores various information required for processing by CPU71, print data required for printing, print format, registration information, etc.
[0053] The transport control circuit 74 controls the stepper motor driving the pressure roller 12 to control the rotation / stop of the pressure roller 12 based on the instruction signal from the CPU 71. Thus, for the pressure roller 12, it controls the "forward feed" or "reverse feed" drive of the continuous body ML in the paper transport path. Furthermore, it is configured to count the number of forward or reverse rotation steps of the stepper motor.
[0054] The print control circuit 75 generates a print signal corresponding to the print data such as text, graphics, and barcodes to be printed supplied from the CPU 71, and supplies the generated print signal to the thermal head 13. Thus, printing is performed on the label M.
[0055] The paper detection circuit 76 supplies information detected by the second detection unit 60 to the CPU 71. Alternatively, the paper detection circuit 76 supplies information obtained by the first detection unit 50 to the CPU 71. Based on the information from the paper detection circuit 76, the CPU 71 controls the transport of the continuous volume ML and the ink ribbon R by the transport control circuit 74, and controls the timing of printing by the thermal head 13 to perform printing on the label M.
[0056] I / O port 77 is connected to display unit 81 and input unit 82, and outputs display data supplied from CPU 71 to display unit 81. In addition, I / O port 77 transmits operation signals corresponding to user operations on input unit 82 to CPU 71.
[0057] The display unit 81 is, for example, composed of a liquid crystal display. The input unit 82 is composed of the touch panel, buttons, DIP switches, etc., provided with the display unit 81.
[0058] The power supply unit 78 monitors the pressing operation of the power switch S, and based on the operation of the power switch S, switches the implementation and cessation of power supply to each part, thereby turning the power supply of the printer 1 on / off.
[0059] The sensor detection circuit 79 supplies the opening and closing information of the cover 3 from the opening and closing detection sensor 4 to the CPU 71. The CPU 71 can receive the information from the sensor detection circuit 79 that the signal has shifted from "open" to "closed" to begin the execution of the output voltage adjustment process in the second detection unit 60.
[0060] also, Figure 2 The controller 70 shown can also be composed of multiple CPUs. In addition to being stored in ROM 72, the various control programs executed by the controller 70 can also be programs stored in non-transitory recording media such as CD-ROM or semiconductor media.
[0061] [Printer control methods]
[0062] The control method of the printer 1 in this embodiment is configured as follows: printing is performed on the label M by the printing mechanism 10, and the total length of the printed label M and the gap G on the upstream side of the label M, i.e., the configuration length α, is measured by the second detection unit 60. Based on the configuration length α, a reference printing start position of the label M, which is located on the upstream side of the printing mechanism 10, is set, and the reference printing start position is corrected by the inter-unit distance U between the printing mechanism 10 and the first detection unit 50 and the configuration length α.
[0063] Figure 3 This is a flowchart illustrating the control method of the controller 70 on the printer 1. Figure 3 The process shown is, for example, performed by printer 1 when a new label continuum ML is set.
[0064] Figure 4 This is a schematic diagram illustrating the processing of the downstream end Mf of the first tag M[1] of the newly set tag continuum ML.
[0065] In this embodiment, as an example, such as Figure 4 As shown, the processing of the tag continuum ML is explained, wherein the tag continuum ML has three tags M between the tag M[1] first detected by the second detection unit 60 and the nth tag (label M[5] in this embodiment) first detected by the first detection unit 50.
[0066] exist Figure 4 The diagram illustrates the positional relationships between the length L of the labels M arranged in the label continuum ML along the transport direction, the positions of the first detection unit 50 and the second detection unit 60 in the printer 1, and the position of the thermal head 13. To facilitate understanding of the positional changes of each label M accompanying the transport of the continuum ML, the diagram... Figure 4Each label M shown is accompanied by a consecutive number indicating the configuration order of the label M ([1], [2], ...).
[0067] In addition, Figure 4 The diagram shows the downstream end Mf, the upstream end Me, the length L of the tag M in the transport direction, and the gap G between the tags M. It also shows the total length L of the tag M and the upstream gap G, i.e., the configuration length α, and the inter-unit distance U between the head unit 11 (thermal head 13) and the first detection unit 50.
[0068] like Figure 4 As shown, the label continuum ML is composed of a strip-shaped backing paper B and multiple labels M temporarily fixed to the backing paper B. On the back side of the backing paper B, at the front end corresponding to the downstream side in the transport direction of the labels M, alignment marks P for detecting the length L and gap G of the labels M are pre-printed.
[0069] In addition, Figure 4 The diagram shows the case where the length l of the label M in the conveying direction is smaller than the distance U between units (L < U).
[0070] Figure 4 State (a) is the state in which the user sets a new label continuum ML on printer 1. In this embodiment, the label continuum ML is set on printer 1 such that the end Mf of the label M in the label continuum ML is in a position that approximately corresponds to the second detection unit 60.
[0071] Figure 4 State (b) indicates the state of the downstream end Mf of tag M[1] detected by the second detection unit 60. Figure 4 State (c) indicates that the label continuum ML is fed in reverse in such a way that the printing start position of label M[1] corresponds to the position of thermal head 13.
[0072] If the user completes the setting of the label continuum ML and the cover 3 moves to the closed position, the thermal head 13 moves to the head closed position. If the controller 70 detects that the head unit 11 has moved to the head closed position, it starts... Figure 3 The processing shown.
[0073] In step S1, the controller 70 performs detection processing on the downstream end Mf of tag M[1].
[0074] In the detection process of the downstream end Mf, the controller 70 feeds the tag continuum ML in the reverse direction until the downstream end Mf of tag M[1] is detected (from Figure 4 From state (a) to state (b)).
[0075] If the downstream end Mf of label M[1] is detected, the controller 70 feeds label M[1] in reverse based on the pre-input type of label M, so that the printing start position in label M corresponds to the position of thermal head 13 (from Figure 4 From state (b) to state (c)).
[0076] Next, the controller 70 executes the processing of step S2, step S3 and step S4 respectively.
[0077] Figure 5 This is a schematic diagram illustrating the processing of the configuration length α in the calculated label M. Additionally, Figure 6 This is a diagram illustrating the process of correcting the start position of printing.
[0078] In step S2, the controller 70 begins printing the label M[1] via the head unit 11 (thermal head 13). Figure 5 The state (a)).
[0079] While executing step S2, the controller 70 also measures the tag M[1] in step S3 through the second detection unit 60.
[0080] While printing the label M[1], the controller 70 measures the change in detection voltage based on the detection light received by the light-receiving unit 62 as the pressure roller 12 is fed forward one step.
[0081] If the downstream end Mf of the label M[1], which is being printed while being conveyed, reaches the transmission position of the detection light, the amount of light received in the light-receiving section 62 decreases. Conversely, after the upstream end Me of the label M[1] passes the transmission position of the detection light, the detection light only passes through the backing paper B, thus increasing the amount of light received in the light-receiving section 62. Therefore, the presence or absence of the label M in the backing paper B can be detected.
[0082] After printing of label M[1] is completed, controller 70 also delivers label continuum ML ( Figure 6 The state (c)). That is, after the transmission position of the detection light passes through the gap G, the controller 70 delivers the tag continuum ML until the downstream end Mf of the tag M[2] is detected.
[0083] While executing steps S2 and S3, the controller 70 also performs step S4, which involves detecting the downstream end Mf of tag M[n] via the first detection unit 50. Tag M[n] is the tag M that was first detected by the first detection unit 50 to be aligned with the mark P. In this embodiment, it is the fifth tag M[5] (see reference). Figure 5 The states (a) and (b)).
[0084] Furthermore, in this embodiment, it is set that printing of label M2 will not be performed during the delivery after printing of label M[1] is completed.
[0085] After the detection of the upstream end Me of tag M[1] and the detection of the gap G are completed, the controller 70 performs forward feed until the downstream end Mf of tag M[2] is detected. Figure 6 The state (c)).
[0086] If the controller 70 detects the downstream end Mf( of tag M[2]) Figure 6 If the state is (c) then proceed to step S5.
[0087] In step S5, the controller 70 uses the configuration length α and the inter-unit distance U obtained based on the measurement results in steps S2 and S4 to perform processing to set a reference printing start position for the unprinted label M and to correct the set reference printing start position. In this embodiment, the printing start positions of labels M[2], M[3], and M[4] are corrected.
[0088] Next, in step S6, the controller 70 prints from label M[2] to label M[4] based on the corrected print start position obtained in step S5.
[0089] If the controller 70 completes the printing of the second to fourth labels M[2] to M[4] that cannot be detected by the first detection unit 50, then in step S7, the labels after the label M[5] that can be detected by the first detection unit 50 are printed based on the alignment mark P.
[0090] [Setting and correcting the baseline printing start position]
[0091] Next, the setting and correction process of the reference printing start position performed by the controller 70 in step S5 will be explained.
[0092] The controller 70 determines the configuration length α, including the length L of the tag M[1] and the gap G, based on the detection results of the upstream end Me of the tag M[1] and the downstream end Mf of the tag M[2] based on the second detection unit 60.
[0093] In this embodiment, the controller 70 measures the configuration length α by the second detection unit 60, and also detects the downstream end Mf of the tag M[n] (in this embodiment, the fifth tag M[5]) by the first detection unit 50.
[0094] Based on the measured configuration length α, the controller 70 performs a setting process for the reference printing start position of each label (from label M[2] to label M[4] in this embodiment) that has not been printed, and performs a correction process for the set reference printing start position.
[0095] The controller 70 calculates the conveying distance (Q) from the point where the fifth tag M[5] is detected by the first detection unit 50 to the point where the second detection unit 60 detects the downstream end Mf of tag M[2]. (Refer to...) Figure 6 Then, the controller 70 corrects the reference printing start position of each label from label M[2] to label M[4] based on the inter-unit distance U, the measured configuration length α, and the calculated transport distance (Q).
[0096] Specifically, if the controller 70 detects the downstream end Mf of tag M[2] in the second detection unit 60, it stops the forward feed. Figure 6 The state (c)).
[0097] Next, in order to print label M[2], controller 70 feeds the label continuum ML in reverse until the printing start position of label M[2] corresponds to thermal head 13. Figure 6 The state (d)).
[0098] The value obtained by subtracting the distance (R) from the conveying distance (Q) from the downstream end Mf of the label M[5] detected by the first detection unit 50 to the downstream end of the label M[2] detected by the second detection unit 60, to the reverse feed to the printing start position of the second label M[2] corresponding to the thermal head 13, is expressed as (Q-R).
[0099] At this point, the length from the downstream end Mf of tag M[2] to the downstream end Mf of the fifth tag M[5], i.e., the specific length β, is the total configuration length α of the three tags M from tag M[2] to tag M[4] (refer to...). Figure 6 ).
[0100] The specific length β is determined by subtracting the value (Q-R) from the position of the head unit 11 (thermal head 13) and the inter-unit distance U of the first detection unit 50.
[0101] That is, it can be expressed as β=U-(Q-R).
[0102] The controller 70 uses the configuration length α and the specific length β determined when printing the first label M[1] to set the reference printing start position for the label M that cannot be detected by the alignment mark P by the first detection unit 50.
[0103] The controller 70 calculates the integer X in such a way that the absolute value of the value obtained by subtracting the specified integer X from the specified length β is minimized, and sets the integer X as the specified coefficient X. Then, the controller 70 sets the specified coefficient X as the number of tags that exist between tag M[1] and tag M[n].
[0104] In this embodiment, the controller 70 performs calculations of |β-(α×1)|, |β-(α×2)|, ..., |β-(α×n)| to determine a specific coefficient X. If... Figures 4-6 The example shown sets a specific coefficient (integer X) to 3.
[0105] The controller 70 sets the quotient of the quotient and remainder obtained by dividing a specific length β by a specific coefficient X as the configuration length α1 of the tag M that exists between tag M[1] and tag M[n].
[0106] Based on the newly set configuration length α1, the controller 70 sets the reference printing start position T on each label M between label M[1] and label M[n].
[0107] Figure 7 This is a schematic diagram illustrating the configuration length α and the reference printing start position T set by the controller 70 based on a specific length β and a specific coefficient X. Figure 8 This is a schematic diagram illustrating the correction of the reference printing start position T by the controller 70.
[0108] like Figure 7 As shown, in this embodiment, the controller 70 assumes, for example, a configuration length α1 from label M[2] to label M[4]. The controller 70 sets the reference printing start position T at a position offset by a length W from a position corresponding to the downstream end Mf of each label M set according to each configuration length α1.
[0109] Next, the controller 70 performs correction processing on the preset reference printing start position T.
[0110] The controller 70 uses the remainder R after dividing a specific length β by a specific coefficient X as a correction value to correct the reference printing start position T.
[0111] If the remainder R when a specific length β is divided by a specific coefficient X is 0, then the controller 70 sets the correction value to 0. That is, the controller 70 directly uses... Figure 7 Printing will begin at the reference print start position T shown.
[0112] On the other hand, when a remainder R exists when a specific length β is divided by a specific coefficient X, such as T1, T2, T3, T4, the controller 70 assigns the remainder R to each tag M existing between tag M[1] and tag M[n], and adds it to the configuration length α1.
[0113] exist Figure 8 In the example shown, as T1, T2, T3, labels M2, M3, and M4, which exist between labels M1 and M5, are assigned and added to the configuration length α1 to set new configuration lengths (α1+T1), (α1+T2), and (α1+T3).
[0114] In addition, the controller 70 may simply add the remainder R to the configuration length α1 of any tag M existing between tag M[1] and tag M[n].
[0115] Next, specific numerical examples will be provided to illustrate the correction process for the baseline printing start position.
[0116] Figure 9 and Figure 10 This is a diagram illustrating the correction process for the starting position of the baseline print. Figure 9 and Figure 10 In Chinese, "length" is represented by "points".
[0117] As an example, such as Figure 9 As shown, when the configuration length α of the measured tag M[1] is 51 points and the specific length β is 150 points, the controller 70 calculates the integer X by minimizing the absolute value of the value obtained by subtracting the value obtained by multiplying the configuration length α = 51 by the integer X from the specific length β. That is,
[0118] If X = 2, then |150 - (51 × 2)| = 48
[0119] If X = 3, then |150 - (51 × 3)| = 3
[0120] Therefore, controller 70 sets a specific coefficient (integer X) to 3. Then, controller 70 sets the value of a specific length β (B = 150) divided by the specific coefficient X (X = 3), i.e., 150 / 3 = 50, as the configuration length α1.
[0121] Since the remainder R = 0, the correction value is zero. Therefore, the controller 70 sets the baseline printing start position based on the configuration length α1 = 50 points.
[0122] On the other hand, such as Figure 10As shown, when the configuration length α of the measured tag M[1] is 51 points and the specific length β is 151 points, the controller 70 calculates the integer X by minimizing the absolute value of the value obtained by subtracting the value obtained by multiplying the configuration length α = 51 by the integer X from the specific length β. That is,
[0123] If X = 2, then |151 - (51 × 2)| = 49
[0124] If X = 3, then |151 - (51 × 3)| = 2
[0125] Therefore, the controller 70 sets the specific coefficient (integer X) to 3. Then, the controller 70 performs the operation of dividing the specific length β (B = 151) by the specific coefficient X (X = 3) to calculate the quotient and remainder. Since 151 / 3 = 50 remainder 1, the controller 70 uses the remainder 1 as a correction value and sets the configuration length α1 of the tag M[2] to 50+1.
[0126] Since the remainder is 1, there is no correction value assigned to labels M[3] and M[4] in this example.
[0127] As described above, the controller 70 can calculate the reference printing start position using the inter-cell distance U and the measured configuration length α, and can correct it.
[0128] [Effects]
[0129] In existing printers, for example, when the relationship between the label length L and the distance D between the detection unit used to detect the alignment mark and the thermal head is L < D, it is impossible to set the printing start position for labels for which the alignment mark P cannot be detected. Therefore, when setting up a label continuum, there is a problem that printing cannot be performed on several labels M located downstream of the first detection unit.
[0130] In contrast, according to the printer 1 of this embodiment, while printing on the label M[1], the second detection unit 60 performs actual measurement from the downstream end Mf of the label m[1] to the downstream end Mf of the label M[2].
[0131] Therefore, when the label continuum ML is set on the printer 1, even for labels M[2] to m[4] that cannot be detected due to their position being downstream of the first detection unit 50, the reference printing start position can be set and printing can be performed.
[0132] Furthermore, according to the printer 1 of this embodiment, even if the calculated configuration length α contains errors caused by actual measurement, the errors can be corrected using the configuration length α and the inter-unit distance U.
[0133] Therefore, it is possible to precisely set the printing start position based on values obtained through actual measurements, and to improve printing accuracy.
[0134] Therefore, in printer 1, which prints a label continuum ML equipped with label M, label loss can be eliminated and printing can be performed with high accuracy.
[0135] [Other implementation methods]
[0136] The embodiments of the present invention have been described above. However, the above embodiments are merely one example of the application of the present invention and are not intended to limit the technical scope of the present invention to the specific structures of the above embodiments.
[0137] The alignment mark P only needs to be an indicator that can detect the configuration length α formed by the length L of the label M and the gap G. The printing position of the alignment mark P can also be printed at a position other than the front end position on the downstream side of the conveying direction of the label M.
[0138] In this embodiment, a printer 1 based on ink ribbon transfer using thermal head 13 is described, but it can also be a thermal transfer printer where the label M is made of thermal paper and is printed by heating the label M with thermal head 13.
[0139] like Figure 4 As shown in (a), Figure 3 The flowchart shown is based on the premise of setting a new label continuum ML in printer 1 in the manner that the first label M[1] corresponds to the second detection unit 60.
[0140] In contrast, the controller 70 can also perform forward feed from the state where the gap G between the tags M is set to the position corresponding to the second detection unit 60 after the head unit 11 is set to the head closed position, thereby performing the processing of detecting the downstream end Mf of the tag M[1].
[0141] In actual tag continuum ML, the gap G between tags M is often set to be significantly shorter than the length L of tag M in the conveying direction. Therefore, it is simpler for users to align tag M with the position corresponding to the second detection unit 60.
[0142] In addition, in this embodiment, when setting a new label continuum ML, the user can input the size of the label M, or the length L of the label M[1] can be measured by the second detection unit 60. In this case, the length L of the label M in the transport direction can be determined by utilizing the fact that the amount of transmitted light at the position where the backing paper B overlaps with the label M, as detected by the second detection unit 60, is different from the amount of transmitted light transmitted only through the backing paper B.
[0143] When a measurement process for measuring the length L of label M[1] is performed only before printing, the controller 70, after measuring the length L of the first label M[1], feeds the label M[1] in reverse according to the measured length L of the label M, such that the position of the thermal head 13 corresponds to the printing start position on the label M.
[0144] In this case, before printing the label M[1], it takes time to measure the length L of the label M[1], but the user input can be omitted.
[0145] In this embodiment, even if an error occurs in the measured value of tag M[1], the dimensions of the length L and the gap G of tag M are small. Therefore, a threshold can be set for the remainder R, and if the remainder R is above the threshold, the controller 70 determines that an error has occurred.
[0146] In this embodiment, various programs for printer 1 may also be stored in a non-temporary recording medium such as a CD-ROM.
[0147] This application claims priority based on Japan Patent Application No. 2021-194630 filed with the Japan Patent Office on November 30, 2021, and incorporates all the contents of that application into this specification by reference.
Claims
1. A printer that prints on a continuous sheet of labels temporarily fixed at predetermined intervals to a strip of backing paper, wherein, The printer has: The conveying unit conveys the continuous label body; The printing unit prints the label; The first detection unit is positioned upstream of the printing unit in the conveying direction and detects the label; The second detection unit is positioned downstream of the printing unit in the conveying direction and detects the label. as well as The controller, based on the detection results from the first and second detection units, controls the printing of the label and the conveying of the label continuum. The controller is configured as follows: While the label continuum is being fed, the label is being printed by the printing unit, and the configuration length is being measured by the second detection unit. The configuration length is the interval between the downstream end of the printed label and the downstream end of the adjacent label. Based on the configured length, the baseline printing start position of the label is set as follows: the label is positioned upstream of the printing unit. The reference printing start position is corrected using the inter-unit distance between the printing unit and the first detection unit, and the configuration length.
2. The printer according to claim 1, wherein, In the determination of the configuration length, the controller performs detection of the downstream end of the first printed label by the second detection unit, and detection of the downstream end of the second label by the second detection unit. The controller is configured as follows: The downstream end of the nth label is detected by the first detection unit. Based on the configured length, the reference printing start position is set for each label up to the (n-1)th label located downstream of the nth label. The conveying distance is calculated from the moment the downstream end of the nth label is detected by the first detection unit until the downstream end of the second label is detected by the second detection unit. Based on the inter-unit distance, the configuration length, and the transport distance, the reference printing start position of at least one of the labels up to the (n-1)th label is corrected.
3. The printer according to claim 2, wherein, The controller is configured as follows: After printing the first label is completed, the label continuum is further fed in. If the downstream end of the second label is detected by the second detection unit, the label continuum is conveyed in the opposite direction of the conveying direction in order to print the second label, so that the printing start position of the second label corresponds to the printing unit.
4. The printer according to claim 2 or 3, wherein, The controller is configured as follows: The integer X is calculated by minimizing the absolute value of the value obtained by subtracting the configuration length multiplied by the integer X from a specific length from the downstream end of the label that has not been printed to the downstream end of the nth label. The calculated integer X is set as a specific coefficient. The specific coefficient is set to the number of labels that exist between the first label and the nth label.
5. The printer according to claim 4, wherein, The controller is configured as follows: The quotient obtained by dividing the specific length by the specific coefficient is used as the configuration length of the label existing between the first label and the nth label to set the baseline printing start position. The remainder is used as a correction value to adjust the baseline printing start position.
6. The printer according to claim 5, wherein, The controller is configured as follows: If the remainder after dividing the specific length by the specific coefficient is 0, then the correction value is set to 0. The remainder is added to the configuration length of any label that exists between the first label and the nth label.
7. The printer according to claim 5, wherein, The controller is configured as follows: The remainder obtained by dividing the specific length by the specific coefficient is assigned to each label existing between the first label and the nth label, and added to each of the configured lengths.
8. A method for controlling a printer, the printer comprising: The printing unit prints labels on a continuous label body that is temporarily fixed to a strip of backing paper at specified intervals; The conveying unit conveys the continuous label body; The first detection unit is positioned upstream of the printing unit in the conveying direction and detects the label; as well as The second detection unit is positioned downstream of the printing unit in the conveying direction and detects the label. The printer control method controls the printing of the label and the transport of the label continuum based on the detection results from the first detection unit and the second detection unit. The control method for the printer is configured as follows: While the label continuum is being fed, the label is being printed by the printing unit, and the configuration length is being measured by the second detection unit. The configuration length is the interval between the downstream end of the printed label and the downstream end of the adjacent label. Based on the configured length, the following baseline printing start position for the label is set, where the label is positioned upstream of the printing unit. The reference printing start position is corrected using the inter-unit distance between the printing unit and the first detection unit, and the configuration length.
9. A program, which is a computer capable of executing the printer. The printer has: The printing unit prints labels on a continuous label body that is temporarily fixed to a strip of backing paper at specified intervals; The conveying unit conveys the continuous label body; The first detection unit is positioned upstream of the printing unit in the conveying direction and detects the label; as well as The second detection unit is positioned downstream of the printing unit in the conveying direction and detects the label. Based on the detection results from the first detection unit and the second detection unit, the printer controls the printing of the label and the conveying of the label continuum. The program causes the computer to execute: While the label continuum is being fed, the label is being printed by the printing unit, and the configuration length is being measured by the second detection unit. The configuration length is the interval between the downstream end of the printed label and the downstream end of the adjacent label. Based on the configured length, the baseline printing start position of the label is set as follows: the label is positioned upstream of the printing unit. The reference printing start position is corrected using the inter-unit distance between the printing unit and the first detection unit, and the configuration length.
Citation Information
Patent Citations
Printer, printer control method and program
JP2020157522A
Dehumidifier
JP2021194630A
Printer, printer control method, and program
CN113348091A
