Printer, printer printing method, program

The thermal printer's control system, featuring a pulse setting unit and speed correction units, addresses the issue of print quality deterioration when changing speeds by maintaining consistent print density, thus improving overall printing quality.

JP7665426B2Active Publication Date: 2025-04-21SATO HLDG CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2021095030
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-06-07
Publication Date
2025-04-21
Estimated Expiration
2041-06-07

AI Technical Summary

Technical Problem

When the printing speed of a thermal printer is changed from a preset value, the print quality may deteriorate due to unverified print quality at the new speed, requiring extensive trial and error to set optimal strobe times for multiple speed settings.

Method used

A printer equipped with a thermal head and a control system that includes a pulse setting unit, a first correction unit for decelerating the printing speed, and a second correction unit for adjusting the strobe time to maintain a consistent ratio of current-powered pulse to printing period, thereby stabilizing print quality across varying speeds.

Benefits of technology

The solution effectively suppresses deterioration in print quality when changing printing speeds by ensuring consistent print density and overall improved printing quality, reducing the need for extensive trial and error in setting optimal strobe times.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007665426000001
    Figure 0007665426000001
  • Figure 0007665426000002
    Figure 0007665426000002
  • Figure 0007665426000003
    Figure 0007665426000003
Patent Text Reader

Abstract

To provide a technique that controls to suppress a reduction in printing quality in changing the printing speed of the printer comprising a thermal head from a preset value.SOLUTION: A printer according to an aspect of the present invention performs printing on a printing medium having a thermosensitive color developing layer. The printer comprises: a thermal head having a plurality of heater elements arranged linearly; a pulse setting part that sets a first application period for an energization pulse for applying heat energy to cause the thermosensitive color developing layer to develop colors to the plurality of heater elements in a printing cycle of one line; a first correcting part that corrects a printing speed at the time of performing printing so that the printing speed is reduced from a preset printing speed before performing printing on the printing medium; and a second correcting part that corrects the printing speed corrected by the first correcting part and / or the length of the first application period so that the difference in the ratio of the energization pulse occupied in the printing cycle in the first application before and after the printing speed is corrected by the first correcting part is below a predetermined value.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a printer, a printing method for a printer, and a program. [Background technology]

[0002] In general, a thermal head prints information by passing a predetermined current independently through a number of heating elements arranged in a line, causing them to generate heat and forming a dot pattern on a print medium having a thermosensitive coloring layer. At this time, the time for which the current is passed through the heating elements (i.e., the current pulse width) controls whether or not the dots corresponding to the heating elements are colored. When printing on a print medium using a thermal head, a method of variably controlling the print speed for each line to be printed is known. For example, Patent Document 1 describes a label printer that includes a detection means for detecting the proportion of the print area for each line in the direction perpendicular to the transport direction of the recording medium from print data, a storage means for storing a transport speed table that associates print density, the proportion of the print area, and the transport speed, and a transport means for determining the transport speed by referring to the transport speed table from the value of the proportion of the print area detected by the detection means and transporting the recording medium. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2010-228259 A Summary of the Invention [Problem to be solved by the invention]

[0004] When the printing speed is one of a number of preset speed settings (for example, the speeds set in the conveying speed table of Patent Document 1), the strobe time for applying thermal energy to the heating elements of the thermal head can be optimally set in advance so as to obtain a predetermined print density. In other words, it is possible to verify in advance that a predetermined print density can be obtained for each of the multiple speed settings. However, when an attempt is made to change the speed to a different speed from the multiple preset speed settings depending on the printing environment of the printer or the image layout of the printing target, the print quality may deteriorate because the print quality at such a speed has not been verified. One possible solution is to increase the number of preset speed settings, but setting many preset speed settings requires trial and error to determine the strobe time for each of them so that a desired print quality is obtained, which entails a great deal of effort in developing a printer.

[0005] Therefore, an object of the present invention is to provide a control method for suppressing deterioration in print quality when the print speed is changed from a preset value in a printer equipped with a thermal head. [Means for solving the problem]

[0006] One aspect of the present invention is a printer that prints on a print medium having a thermosensitive coloring layer. This printer is a thermal head having a plurality of heating elements arranged in a line; a pulse setting unit that sets a first application period of an energizing pulse for applying thermal energy to the plurality of heating elements to cause the thermosensitive coloring layer to color in a printing cycle of one line; a first correction unit that corrects a printing speed when printing is performed so as to slow down the printing speed from a preset printing speed before printing on the print medium; a second correction unit that corrects the printing speed after correction by the first correction unit and / or the length of the first application period so that a difference in a ratio of the first application period of the energizing pulse to the printing cycle before and after correction of the printing speed by the first correction unit is equal to or less than a predetermined value; Equipped with. Effect of the Invention

[0007] According to one aspect of the present invention, it is possible to provide a control method for suppressing degradation of print quality when the print speed is changed from a preset value in a printer equipped with a thermal head. [Brief description of the drawings]

[0008] [Figure 1] 1 is a schematic cross-sectional view of a printer for explaining a printing operation by the printer of an embodiment. [Diagram 2] FIG. 2 is a functional block diagram of a printer according to an embodiment. [Diagram 3] FIG. 2 is a functional block diagram focusing on a control unit and a thermal head in a printer according to an embodiment. [Figure 4] FIG. 2 is a schematic circuit diagram of a thermal head according to an embodiment. [Diagram 5] 11 is a diagram showing the relationship between the strobe level and the timing at which current substantially flows through the heating elements during each period in which a strobe signal is applied during a printing cycle in printing control according to an embodiment. FIG. [Figure 6] FIG. 13 is a diagram illustrating an example of a data configuration of a reference strobe table. [Figure 7] 5 is a timing chart showing the transfer timing of a data signal and the application timing of a strobe signal in a printing cycle in a printer of an embodiment. [Figure 8] 11A and 11B are diagrams illustrating a printing speed control method according to an embodiment and a comparative example. [Figure 9] 11A and 11B are diagrams illustrating a battery voltage correction table and a dot number correction table. [Figure 10] FIG. 11 is a diagram illustrating a temperature correction table. [Figure 11] FIG. 1 is a diagram illustrating a continuous variable speed method in a printer according to an embodiment. [Figure 12] 4 is a flowchart of a pre-printing process in the printer of an embodiment. [Figure 13] 13 is a flowchart of a deceleration correction process included in the speed correction process of FIG. 12. [Figure 14] 14 is a flowchart of a density correction simulation included in the deceleration correction process of FIG. 13. [Figure 15] 13 is a flowchart of a concentration ratio correction process included in the speed correction process of FIG. 12. [Figure 16] 10 is a flowchart of a process during printing in a printer according to an embodiment. [Figure 17] 1 is a diagram illustrating a continuous variable speed method in a printer according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] A printer according to an embodiment will be described below. The printer according to an embodiment is a thermal printer that prints on a print medium having a thermosensitive coloring layer. The print medium may include any material as a substrate, and the substrate is not limited to paper. For example, a film may be used as the substrate. The printer of one embodiment includes a thermal head having a plurality of heating elements arranged in a line, and a pulse setting unit. The pulse setting unit sets an application period (first application period) of an energizing pulse for applying thermal energy to the plurality of heating elements of the thermal head to cause a thermosensitive coloring layer to color during a printing cycle of one line. A strobe signal, which will be described later, is an example of an energizing pulse.

[0010] In one embodiment of the printer, the length of the first application period set by the pulse setting unit is corrected based on the image to be printed, and the print cycle is lengthened so that the maximum length of the first application period after correction falls within, thereby determining the print speed when printing the entire image at a constant speed. As a result, the print speed does not change throughout the period in which the image is printed, and therefore uneven print density can be avoided, and the overall print quality of one page can be improved.

[0011] In one embodiment of the printer, before printing on a print medium, the printing speed is corrected to slow down from a preset printing speed. Furthermore, the corrected printing speed and / or the length of the first application period are corrected so that the difference in the ratio of the first application period of the energizing pulse to the printing cycle before and after the correction of the printing speed is equal to or less than a predetermined value. As will be described later, according to the findings of the inventors, the printing density is determined according to the ratio of the first application period of the energizing pulse to the printing cycle, so that the fluctuation of the printing density can be suppressed by preventing a large change in the difference in the ratio before and after the correction. The printer according to the embodiment will be described in more detail below with reference to the drawings.

[0012] A printer 1 according to an embodiment is shown in Figure 1. The printer 1 is a thermal printer that prints on labels having a thermosensitive coloring layer on one side. 1, the printer 1 has a roll paper chamber 9, a platen roller 10, a thermal head 15, a printer cover 25, and a coil spring 29. The roll paper R can be loaded into the roll paper chamber 9 by opening and closing the printer cover 25. The roll paper R is a strip-shaped continuous paper P wound into a roll. Although not shown, in one embodiment, the continuous paper P has, for example, a strip-shaped backing and a plurality of labels temporarily attached to the backing at predetermined intervals. The label attachment surface of the backing is coated with a release agent such as silicone so that the labels can be easily peeled off. In another embodiment, the continuous paper P may be a linerless label.

[0013] As shown in Fig. 1, the printer 1 supports a platen roller 10 in a state in which it can rotate freely in both forward and reverse directions. The platen roller 10 is a transport means that transports continuous paper P pulled out from a roll paper R, and is formed to extend along the width direction of the continuous paper P. A gear (not shown) is provided on one end of the platen shaft of the platen roller 10, and this gear is mechanically connected to a stepping motor (not shown) for driving the roller. The platen roller 10 rotates in response to the rotation of the stepping motor, which operates based on a signal sent from a circuit board (not shown).

[0014] The thermal head 15 is a printing means that prints information such as characters, symbols, figures, or codes onto labels on the continuous paper P. The thermal head 15 has a plurality of heating elements (heating resistors) arranged along the width direction of the continuous paper P, and performs printing by selectively energizing the plurality of heating elements based on a signal transmitted from a circuit board. When the printer cover 25 is closed, the thermal head 15 is disposed to face the platen roller 10 and holds the continuous paper P together with the platen roller 10. The coil spring 29 is a biasing means that biases the thermal head 15 toward the platen roller 10, and generates a nip pressure between the thermal head 15 and the platen roller 10 that is appropriate for printing. In the following description, the direction perpendicular to the transport direction of the continuous paper P (that is, the direction in which the heating elements are arranged) is referred to as the "main scanning direction", and the same direction as the transport direction of the continuous paper P is referred to as the "sub-scanning direction". The thermal head 15 will be described in more detail later.

[0015] Next, the internal configuration of the printer 1 will be described with reference to Fig. 2. Fig. 2 is a block diagram showing the internal configuration of the printer 1. As shown in FIG. 2, the printer 1 includes, for example, a control unit 11, a storage 12, a drive circuit 13, a motor 14 mechanically connected to the platen roller 10, a thermal head 15, and a communication interface (I / F) 16.

[0016] The control unit 11 includes a controller and a memory, and controls the operation of the printer 1. When the printer 1 is started up, the processor reads out and executes firmware stored in the ROM. The controller includes a CPU (Central Processing Unit) as described below, and executes firmware to control the thermal head 15 to print predetermined information on the label. The storage 12 is a storage device such as an SSD (Solid State Drive). The storage 12 stores, for example, files for printing acquired from a host computer via the communication interface 16. The storage 12 may store information on a print format for printing information on each label.

[0017] The drive circuit 13 is a circuit that drives a motor 14 that controls the rotation of the platen roller 10 in response to a transport request from the control unit 11. The motor 14 is, for example, a stepping motor. The transport request includes, for example, information on the transport direction (forward or reverse) and the transport amount (for example, the number of steps).

[0018] The control unit 11 executes the printing process by selectively controlling the flow of current to each of the multiple heating elements included in the thermal head 15 based on the image data to be printed. The image data is data in which a file to be printed is rendered into bitmap data. When the heating elements of the thermal head 15, which have been heated by the current, are pressed against a label on the continuous paper P transported by the platen roller 10, the thermosensitive coloring layer of the label against which the heating elements are pressed turns color, printing information on the label.

[0019] The communication interface 16 includes a communication circuit for communicating with an external device such as a host computer.

[0020] Next, the printing operation of the printer 1 will be described with reference to Figures 3 and 4. Figure 3 is a functional block diagram focusing on the control unit and thermal head in the printer 1 of one embodiment. Figure 4 is a schematic circuit diagram of the thermal head 15 of one embodiment.

[0021] As shown in FIG. 3, the control unit 11 includes a CPU 111, a head controller 112, and a memory 113, and is configured so that each unit can communicate with each other via a bus 114. The CPU 111 controls the entire printing operation in the control unit 11. Under the control of the CPU 111, the head controller 112 supplies various signals to the thermal head 15 for printing. The signals supplied by the head controller 112 to the thermal head 15 include a clock pulse CLK, a latch pulse LATCH, a data signal DATA, and a strobe signal STB.

[0022] The memory 113 (an example of a storage unit) is, for example, a random access memory (RAM), and includes an image buffer with a first-in first-out (FIFO) configuration, a line buffer, a thermal history data table, and a reference strobe table.

[0023] In one embodiment, the CPU 111 performs printing by performing thermal history control. The thermal history control is a control for making the thermal energy to the heating elements constant by adjusting the length of the strobe application period, which is the energization pulse width, based on data on past energization of the heating elements and / or data on the future energization of the heating elements. To control the thermal history, the CPU 111 generates data (hereinafter referred to as "thermal history reflection data") by modifying the original image data based on the print data of a dot of interest in the original image data to be printed and the print data of dots around the dot. The thermal history reflection data is stored in the image buffer. In the following description, "image data" refers to the original image data before it is changed to the thermal history reflection data.

[0024] In the thermal history control, multiple data signals are generated during one printing cycle (i.e., one line printing cycle), and multiple strobe signals corresponding to each data signal are generated. In the example described below, four data signals and strobe signals are generated during one printing cycle. In this case, for example, if M heating elements are arranged in a line in the thermal head 15 and one line of image data (line data) is M bits, one line of thermal history reflection data (line data) will be M×4 bits of data.

[0025] The line data of the image data includes print data that indicates whether each dot is printed or not. The print data is either "print" or "non-print". In contrast, the data for each dot of the line data of the thermal history reflection data corresponding to one line data of the image data corresponds to multiple data signals, and is data indicating either "energized" or "non-energized."

[0026] The line buffer sequentially stores line data of the thermal history reflection data. As described above, the thermal history data table is referred to when generating the thermal history reflection data. The thermal history data table shows the relationship between the application data of the dot to be processed (hereinafter referred to as the "dot of interest") on the line to be printed (hereinafter referred to as the "line of interest") in the image data, and the print data (i.e., past print data, future print data) of the dot corresponding to the dot of interest on the lines before and after the line of interest, and the strobe level for the dot of interest during the printing cycle.

[0027] Here, the strobe level refers to the level (high level or low level) of each data signal during multiple strobe application periods for the heating element corresponding to the target dot. The data signal level indicates whether or not a current pulse is applied during each strobe application period. The strobe level indicates the length of time that current actually flows through the heating element during a printing cycle. The higher the strobe level, the longer the current flows through the heating element during the printing period, and therefore, more thermal energy is provided to the heating element.

[0028] CPU 111 refers to the heat history data table and determines the level of each data signal during a plurality of strobe application periods (high level indicating "energized" or low level indicating "non-energized") for each dot on the line of interest. As a result, the heat energy applied to the heating element corresponding to the current dot of interest is appropriately controlled, taking into account the print data of the current dot of interest and the print data before and after it.

[0029] In another embodiment, the thermal history data table further includes the relationship between the print data of each of the dots adjacent to the target dot and the strobe level for the target dot during the printing cycle. By referring to the print data of the dots adjacent to the left and right of the target dot, the thermal energy received by the heating element corresponding to the target dot from the adjacent heating elements is also taken into consideration, so that the thermal energy given to the heating element corresponding to the current target dot can be more appropriately controlled.

[0030] The head controller 112 generates a data signal DATA based on the line data transferred sequentially from the line buffer, and generates a strobe signal STB at a predetermined timing. The transfer of the line data from the line buffer to the head controller 112 is performed by, for example, DMA (Direct Memory Access).

[0031] As shown in FIG. 3, the thermal head 15 includes a drive circuit 2, a group of heating elements 3, and a thermistor 4 (an example of a temperature detection section). The heating element group 3 is composed of a plurality of heating elements (heating resistors) arranged in a line. The driving circuit 2 selectively applies current to each heating element of the heating element group 3 to cause them to generate heat, based on various signals supplied from the head controller 112. The thermistor 4 detects the temperature of the thermal head 15 (thermal head temperature). A detailed configuration example of the drive circuit 2 and the heat generating element group 3 will be described later.

[0032] As shown in FIG. 4, the driving circuit 2 of one embodiment includes at least a shift register (S / R) 21 for temporarily storing one line's worth of data signal DATA, a latch circuit (L) 22, a gate circuit group 23, and a transistor group 24. The heat generating element group 3 includes heat generating elements (heat generating resistors) 31_1 to 31_M.

[0033] The drive circuit 2 operates according to a data signal DATA, a clock pulse CLK, a latch pulse LATCH, and a strobe signal STB, and these data and signals are input or transferred from the head controller 112. To shorten the transfer time, the data signal DATA for one line may be divided and transferred using a plurality of line buffers. In this case, a divided part of the data signal DATA for one line is stored in each line buffer, and is serially transferred from each line buffer.

[0034] 4, the strobe signal STB is positive logic (when at a high level, a current flows through the heating element to generate heat). In another embodiment, the strobe signal STB may be negative logic (when at a low level, a current flows through the heating element to generate heat).

[0035] A data signal DATA for one line is input to the shift register 21 in synchronization with the clock pulse CLK and is held therein. The data signal DATA (an example of an energizing pulse) is composed of a bit string that is high level when "energized" and low level when "de-energized." The latch circuit 22 is connected in parallel to the shift register 21, and transfers and holds the bit string on the shift register 21 simultaneously and in parallel. The timing of data transfer from the shift register 21 to the latch circuit 22 is controlled by a latch pulse LATCH.

[0036] The gate circuit group 23 includes gate circuits (AND circuits) 23_1, 23_2, ..., 23_M corresponding to the first to Mth dots of one line, respectively. A strobe signal STB is supplied to one input terminal of each gate circuit, and the other input terminal of each gate circuit is connected to the output of the latch circuit 22. Each gate circuit of the gate circuit group 23 outputs the logical product of the corresponding data signal DATA and strobe signal STB. The transistor group 24 includes MOS transistors 24_1 to 24_M. Each MOS transistor is turned on / off in response to the output of a corresponding gate circuit.

[0037] While the strobe signal STB is at a high level, the logic level of the output terminal of each gate circuit of the gate circuit group 23 matches the output level of the latch circuit 22. For example, when the output level of the latch circuit 22 is at a high level indicating "energized," the output of the corresponding gate circuit is at a high level, so that the corresponding MOS transistor is turned on and current flows through the heating element 31. Conversely, when the output level of the latch circuit 22 is at a low level indicating "non-energized," the output of the corresponding gate circuit is at a low level, so that the corresponding MOS transistor is turned off and no current flows through the heating element 31.

[0038] When the strobe signal STB is set to negative logic, the following configuration may be adopted. 4, each gate circuit of the gate circuit group 23 is a NAND circuit, and an inverted signal of the strobe signal STB is input to the NAND circuit. As a result, when the strobe signal STB is at a low level, the NAND circuit outputs an inverted signal of the output of the latch circuit 22. The corresponding MOS transistor is configured to be turned on when the output of the NAND circuit is at a low level, causing a current to flow through the heating element.

[0039] When thermal history control is not performed, a data signal DATA is sent once during a printing cycle for one line of line data to the driving circuit 2 of the thermal head 15. In contrast, when thermal history control is performed, data signals DATA (for example, data signals DATA1 to DATA4 described later) are sent to the driving circuit 2 of the thermal head 15 for multiple periods during a printing cycle for one line of line data.

[0040] In one embodiment, the head controller 112 supplies the data signals DATA1 to DATA4 to the drive circuit 2 four times at a predetermined timing synchronized with the clock pulse CLK during a printing cycle. When one line of image data is M bits, the corresponding line of thermal history reflecting data is M×4 bits of data. Each of M bits of this M×4 bit data is divided into four and supplied to the driving circuit 2 as data signals DATA1 to DATA4.

[0041] The head controller 112 supplies a latch pulse LATCH and strobe signals STB1 to STB4 at a predetermined timing synchronized with the clock pulse CLK to the drive circuit 2 of the thermal head 15. The relationship between the transfer timing of the data signal and the application timing of the strobe signal in one printing cycle when performing thermal history control will be described later.

[0042] FIG. 5 shows the relationship between the strobe level (STB level) and the timing (strobe pattern) at which current actually flows through the heating element during each period (hereinafter referred to as the "strobe period") during which strobe signals STB1 to STB4 are applied during a printing cycle in thermal history control according to one embodiment. In the case of a positive logic thermal head, the flow of current through a heating element essentially means that the corresponding data signals DATA1 to DATA4 are at a high level, that is, the data signals DATA1 to DATA4 correspond to the strobe level. For example, the data signals DATA1 to DATA4 corresponding to the target dot are 4-bit data corresponding to the strobe level. For example, the data signals DATA1 to DATA4 are "0000" when the strobe level is "0", "0110" when the strobe level is "6", and "1111" when the strobe level is "15".

[0043] In one embodiment, when the strobe level is 4 or higher, thermal energy that discolors the thermosensitive coloring layer of the label is applied to the heating element, and when the strobe level is less than 4, thermal energy that discolors the thermosensitive coloring layer of the label is not applied to the heating element, but a preheating effect is exerted on the heating element.

[0044] In one embodiment, the four strobe signals STB1 to STB4 corresponding to the four data signals in a printing cycle are set in order from longest to shortest period, as shown in Fig. 5. In other words, if the lengths (strobe lengths) of the four strobe signals STB1 to STB4 are L1 to L4, respectively, the relationship L1>L2>L3>L4 is satisfied. Preferably, the ratio of lengths of the four strobe signals STB1 to STB4 is 8:4:2:1. By setting the length ratio in this manner, it is possible to maximize the number of combinations of the time during which thermal energy is applied to the heating elements during one printing cycle (i.e., strobe length), and it becomes possible to set the applied energy precisely. The ratio of lengths of the four strobe signals STB1 to STB4 is not limited to 8:4:2:1, but by making each signal have a different length, it is possible to set a number of signals having different strobe lengths, i.e., 16 (=2 4 ) strobe length patterns can be set.

[0045] The CPU 111 determines the strobe level for each dot of interest in the line data by referring to the thermal history data table, and generates thermal history reflection data by allocating 4-bit data corresponding to the strobe level to each dot of interest. The head controller 112 assigns the first to fourth bits of data to the data signals DATA1 to DATA4 for each dot of interest in the line data of the thermal history reflection data.

[0046] Next, a method for determining a preferable printing speed and strobe length will be described. In one embodiment, the CPU 111 refers to a reference strobe table to determine the strobe lengths L1 to L4 of the strobe signals STB1 to STB4 according to the printing speed and printing density. FIG. 6 shows an example of the configuration of the reference strobe table. 6, the reference strobe table describes strobe lengths L1 to L4 (i.e., 50 strobe patterns) for combinations of print speeds (e.g., 2 to 6 IPS (inch per second)) and print densities (1A to 10A). In what follows, the print speeds and print densities defined in the reference strobe table are referred to as "speed setting values" and "density setting values," respectively. The reference strobe table is a reference for density correction, which will be described later, and corresponds to a thermal head temperature of 25° C. and a battery voltage of the maximum voltage V MAX and indicates the strobe length when the number of simultaneously printed dots is 1.

[0047] In the reference strobe table, the density setting values ​​are darker (i.e., higher density) in the order from 1A to 10A. There is no limit to the number of speed setting values ​​and density setting values, but in the example shown in FIG. 6, there are five stages of speed setting values ​​and ten stages of density setting values, so 50 patterns of strobe lengths L1 to L4 are set. There is no limit to the strobe lengths L1 to L4, but as mentioned above, they can be in a ratio of 8:4:2:1. The five stages of speed setting values ​​are an example of multiple print speeds. Note that, although the print cycle is listed for reference in the reference strobe table shown in Figure 6, it is not essential to include the print cycle in the reference strobe table. Since the length of one line on the label to be printed is known, the print cycle is uniquely determined according to the speed setting value. As shown in Fig. 6, the faster the speed setting, the shorter the printing cycle, so the length of each strobe is shortened to fit all strobe lengths L1 to L4 within the printing cycle. Also, the higher the density setting, the more heat energy is required, so the longer each strobe length is.

[0048] In the reference strobe table, the density setting value is a relative setting value for the shading at a given speed setting value. Therefore, if the speed setting value is different, the actual print density (i.e., the degree of shading when actually printed on the label) will be different even if the density setting value is the same. For example, the print density obtained by the density setting value 5A will be different when the speed setting value is 2 IPS and when it is 3 IPS.

[0049] Fig. 7 shows the transfer timing of data signals DATA1 to DATA4 and the application timing of strobe signals STB1 to STB4 when printing with thermal history control in one embodiment. Fig. 7 is a timing chart showing the transfer timing of data signals and the application timing of strobe signals in a printing cycle SLT. As shown in Fig. 7, a waiting time WT is set between successive strobe application periods. In one embodiment, the CPU 111 refers to the reference strobe table and determines the timing exemplified in FIG. 7 before printing. Here, the printing cycle SLT is determined by the speed setting value. As shown in the reference strobe table in FIG. 6, in the case of "density setting value: 1A", the strobe length of each of the four strobe signals STB1 to STB4 is shorter than in the case of "density setting value: 5A" (default setting). On the other hand, in the case of "density setting value: 10A", the strobe length of each of the four strobe signals STB1 to STB4 is longer than in the case of "density setting value: 5A" (default setting).

[0050] Next, a method for determining the print speed of the printer 1 according to an embodiment will be described. In one embodiment, the actual printing speed is not set to one of multiple speed settings in the reference strobe table, but is changed from the speed setting (i.e., made variable) based on the image to be printed and the operating environment (e.g., battery voltage). In one embodiment, the print speed is adjusted by a speed range (an example of a second speed range; for example, 1 mm / sec) smaller than the speed range (an example of a first speed range; 1 IPS in the example of FIG. 6) of multiple speed setting values ​​defined in the reference strobe table. The image to be printed is printed at a constant speed based on the adjusted print speed. In other words, one page including the image to be printed is printed at a constant speed based on the adjusted print speed. This has the advantage that the printing quality of the entire label is improved, although the actual printing speed may differ from the set speed, making it a best-effort printing speed. Hereinafter, this method of determining the printing speed will be referred to as the "continuously variable speed method."

[0051] In the continuously variable speed method, the print speed is adjusted before printing begins and does not change during printing. As will be described later, in one embodiment, density correction is performed so that print quality does not decrease depending on the operating environment of the printer 1, the layout of the image to be printed, etc. In this density correction, the strobe length is corrected for each line depending on the operating environment such as the battery voltage and thermal head temperature, and the number of simultaneously printed dots per line in the image to be printed, etc. In this case, the image to be printed is analyzed before printing, and the printing speed is adjusted so that the strobe signal fits within the printing cycle of one line even if the strobe length is at its maximum after correction.

[0052] The advantages of determining the print speed by the continuously variable speed method will be described with reference to Figures 8A and 8B, in comparison with a conventional print speed determination method. Figure 8A shows a part of an exemplary image, and Figure 8B shows the change in print speed over time (i.e., in the main scanning direction) in different print speed determination methods when printing the image shown in Figure 8A. Here, we will list two conventional printing speed determination methods: a "stepwise constant speed method" and a "stepwise variable speed method." The stepwise constant speed method is the simplest speed determination method, and determines the printing speed according to a speed setting value previously set by the user from among multiple speed setting values, or a speed setting value set by default. The stepwise variable speed method is a method in which the printing speed is changed on a line-by-line basis to one of a plurality of preset speed setting values ​​according to the strobe length required as a result of density correction. In FIG. 8B, the print speed in the case of the stepped constant speed method is indicated by M1, the print speed in the case of the stepped variable speed method is indicated by M2, and the print speed in the case of the continuous variable speed method is indicated by M3.

[0053] 8A, the image to be printed includes image portions IM1 to IM3 that have a relatively large number of simultaneously printed dots in one line. For example, the image portions IM1 to IM3 include straight lines that are a typical example of a large number of simultaneously printed dots in the sub-scanning direction. Referring to FIG. 8B, in the stepwise constant speed method (M1), all lines are printed at a predetermined speed setting (4 IPS in FIG. 8B). Therefore, in order to make the print density uniform across the entire image, the user must select an optimal speed setting in advance according to the image to be printed and the operating environment, such as the battery voltage. However, this is not realistic, and results in a deterioration of print quality. For example, even if it is necessary to lengthen the strobe length to ensure the required print density by density correction, if the lengthened strobe length does not fall within the print cycle corresponding to the predetermined speed setting, the required thermal energy cannot be applied to the heating element, resulting in a decrease in print density.

[0054] In the stepwise variable speed method (M2), the printer is controlled so that the speed is relatively slow for lines with a large number of simultaneously printed dots, such as image parts IM1 to IM3, and relatively fast for other image parts (i.e., image parts consisting of lines with a small number of simultaneously printed dots). For example, lines with a relatively small number of simultaneously printed dots are printed at high speed using batch printing, and lines with a relatively large number of simultaneously printed dots are printed at low speed using divided printing. Divided printing is a method in which one line is divided into multiple parts and printed. If one line is divided into two, the printing speed is halved by simple calculation. Therefore, in the stepwise variable speed method (M2), depending on the layout of the entire image to be printed, the throughput may be significantly reduced (i.e., the time required to print the entire image may be longer). Also, when there is little blank space in the main scanning direction, the print speed cannot be returned to its original speed, and printing may occur during the speed change. During this speed change, the balance between the print speed and the strobe length is lost (in other words, the balance between the on (heat application) and off (cooling) times is lost), resulting in uneven print density and reduced print quality. In summary, the stepwise variable speed method has a problem in that throughput and image quality may decrease depending on the print layout.

[0055] The continuously variable speed method (M3) according to one embodiment is different from the conventional stepwise constant speed method and stepwise variable speed method in that it is possible to make the print density uniform over the entire image and improve the print quality of the label. This continuously variable speed method will be described in detail below.

[0056] First, density correction according to an embodiment will be described with reference to Figures 9 and 10. As described above, in density correction, the strobe length is corrected for each line according to the operating environment such as the battery voltage and the number of simultaneously printed dots per line in the image to be printed.

[0057] In one embodiment, the density correction includes a battery voltage correction that corrects the strobe length based on the battery voltage. A drop in the battery voltage reduces the power applied to the heating elements 31 of the thermal head 15, so the battery voltage is corrected by lengthening the strobe length to compensate for the drop in the applied power. The battery voltage correction is performed by referring to a battery voltage correction table shown in FIG.

[0058] As shown in FIG. 9, the battery voltage correction table describes the battery voltage in association with the voltage correction ratio. The voltage correction ratio is a value by which the strobe length described in the reference strobe table is multiplied in the battery voltage correction. The reference battery voltage is the maximum voltage V MAX At this voltage correction ratio ("100%), no change is made to the strobe length described in the reference strobe table. In the battery voltage correction table, the voltage correction ratio is written to increase as the battery voltage decreases. Therefore, in the battery voltage correction, the strobe length is corrected to be longer than the value written in the reference strobe table as the battery voltage decreases. As a non-limiting example, the maximum voltage V MAX is about 16~17V, minimum voltage V MIN is about 12 to 13 V, and is set in increments of, for example, 0.01 V to 0.05 V. In addition, in the battery voltage correction, it is not always necessary to refer to the battery voltage correction table, and the voltage correction ratio may be calculated using a known function that specifies the relationship between the battery voltage correction and the voltage correction ratio. In that case, the function is MAX The relationship between the battery voltage and the voltage correction ratio is defined so that the applied heat amount corresponding to the difference between the battery voltage and the current battery voltage is compensated for by extending the strobe time.

[0059] In one embodiment, the density correction includes head voltage drop correction and power supply voltage drop correction, which correct the strobe length based on the number of simultaneously printed dots. In the thermal head 15, as the number of simultaneously printed dots in one line (printing rate in one line) increases, the applied power to the heating elements 31 decreases due to voltage drops caused by ON resistance in the circuit (for example, the ON resistance of the MOS transistor in FIG. 4) and conduction resistance, etc. Therefore, head voltage drop correction is performed to compensate for the drop in applied power by lengthening the strobe length. On the other hand, as the number of simultaneously printed dots in one line increases, the peak current flowing through the thermal head 15 increases, causing a drop in the power supply voltage and a drop in the power applied to the heating elements 31. Therefore, a power supply voltage drop correction is performed by lengthening the strobe length to compensate for the drop in applied power.

[0060] The head voltage drop correction and the power supply voltage drop correction are performed, for example, by referring to the dot number correction table shown in Fig. 9. In one embodiment, separate dot number correction tables are prepared for each of the head voltage drop correction and the power supply voltage drop correction.

[0061] As shown in Fig. 9, the dot number correction table describes the number of simultaneously printed dots in association with the dot number correction ratio. The dot number correction ratio is a value by which the strobe length described in the reference strobe table is multiplied in head voltage drop correction and power supply voltage drop correction. The reference number of simultaneously printed dots is "1", and at this voltage correction ratio ("100%), no changes are made to the strobe length described in the reference strobe table. In the dot number correction table, the dot number correction ratio is written to increase as the number of simultaneously printed dots increases. Therefore, in the head voltage drop correction and the power supply voltage drop correction, the strobe length is corrected to be longer than the value written in the reference strobe table as the number of simultaneously printed dots increases.

[0062] In one embodiment, the density correction includes a head temperature correction that corrects the strobe length based on the thermal head temperature, which is detected by the thermistor 4 (FIG. 3). Head temperature correction is performed to minimize fluctuations in print density caused by temperature fluctuations of the thermal head 15. The head temperature correction is performed, for example, by referring to a temperature correction table shown in FIG.

[0063] As shown in Fig. 10, the temperature correction table describes the thermal head temperature in association with the temperature correction ratio. The temperature correction ratio is a value by which the strobe length described in the reference strobe table is multiplied in head temperature correction. The reference thermal head temperature is 25°C, and at this temperature correction ratio ("100%), no change is made to the strobe length described in the reference strobe table. The temperature correction table is written so that the temperature correction ratio increases as the thermal head temperature decreases and decreases as the thermal head temperature increases. Therefore, in the head temperature correction, the strobe length may be made longer or shorter than the value written in the reference strobe table depending on the thermal head temperature. In head temperature correction, it is not always necessary to refer to the temperature correction table, and a function may be defined that assumes a linear relationship between the thermal head temperature and the temperature correction ratio. For example, the temperature correction ratio may be defined in advance as a linear function of the difference between the reference value of the thermal head temperature (25°C in the example of Fig. 10) and the current value (measured value) of the thermal head temperature.

[0064] In one embodiment, the density correction includes at least one of a battery voltage correction, a head voltage drop correction, a power supply voltage drop correction, and a head temperature correction. When performing density correction as described above, by making the strobe length longer than the value described in the reference strobe table, the strobe length may not fit within the current printing cycle. Therefore, in the continuous variable speed method, a simulation of density correction is performed before printing, and the printing speed is controlled to be decelerated from the speed setting value so that the strobe length fits within the printing cycle even in the case of the maximum strobe length due to density correction. In other words, this prevents fluctuations in print quality caused by the strobe length not fitting within the printing cycle due to the operating environment such as the battery voltage and the layout of the image to be printed.

[0065] Furthermore, as a result of extensive research, the present inventors have obtained the following findings (I) and (II). (I) Print density is largely determined by the ratio of continuous pulse time within a print cycle (hereinafter referred to as the "density ratio"). Here, the "continuous pulse time" refers to the length of the strobe period for providing thermal energy to cause the thermosensitive coloring layer to color, and in the example shown in FIG. 5, it is the length of the period from the rising edge of strobe signal STB1 to the falling edge of strobe signal STB2 (an example of the first application period).

[0066] (II) Even if the density ratio is the same, the print density tends to become darker as the print speed decreases. For example, in the reference strobe table shown in Fig. 6, even if the density ratio for a density setting value of 5A (reference) is set to be similar among multiple speed settings, the lower the speed setting value, the darker the print density that is actually obtained. Therefore, in order to maintain the print density unchanged when the print speed is slowed down from the speed setting value, it is necessary to lower the density ratio in accordance with the slowdown of the print speed.

[0067] Based on the findings of (I) and (II) above, in the continuously variable speed method, a print speed deceleration correction process is performed according to the results of a simulation of density correction before printing, and a density ratio correction process is performed according to the corrected print speed. The deceleration correction process and the density ratio correction process will be described with reference to Fig. 11. Fig. 11 is a diagram for explaining the deceleration correction process and the density ratio correction process in the continuously variable speed method.

[0068] Referring to Fig. 11, state ST1 shows strobe signals STB1 to STB4 at the speed setting value and density setting value set immediately before printing in the reference strobe table. The printing period SLT1 is determined according to the speed setting value. Fig. 11 shows a continuous pulse time CP including the application period of the strobe signals STB1 and STB2 in state ST1.

[0069] State ST2 in Fig. 11 is the result of performing a density correction simulation on the strobe signals STB1 to STB4 shown in state ST1, and shows strobe signals STB1_max to STB4_max when the strobe lengths of the strobe signals STB1 to STB4 are maximized by density correction. In one embodiment, the strobe lengths of the strobe signals STB1_max to STB4_max are values ​​obtained by multiplying the strobe lengths of the reference strobe signals STB1 to STB4 by the maximum value of the voltage correction ratio (Fig. 9) x the dot number correction ratio (Fig. 9). Note that this maximum value varies depending on the layout of the image to be printed and the battery voltage at that time.

[0070] The purpose of this density correction simulation is to estimate in advance the maximum value of the strobe length due to density correction during printing in order to determine the printing speed before printing. When density correction is performed during printing, the strobe length of the applied strobe signal varies for each line between the reference strobe signals STB1 to STB4 and the strobe signals STB1_max to STB4_max for the maximum strobe length, depending on the number of simultaneously printed dots on each line of the image to be printed and the thermal head temperature.

[0071] State ST2 in FIG. 11 shows a case where the strobe signals STB1_max to STB4_max when the strobe length is maximized by density correction do not fall within the printing cycle SLT1 determined by the speed setting value. Therefore, in the deceleration correction process, the printing speed is corrected so that the strobe signals STB1_max to STB4_max fall within the printing cycle. As described above, the printing speed is adjusted to a speed range (for example, 1 mm / sec) smaller than the speed range (1 IPS in the example of FIG. 6) of multiple speed setting values ​​defined in the reference strobe table. Therefore, it is possible to keep the speed reduction to a minimum compared to the preset speed setting value while being able to accommodate the strobe signals STB1_max to STB4_max.

[0072] 11 shows a state in which the printing cycle is extended from SLT1 to SLT2 by executing a deceleration correction process on the strobe signals STB1 to STB4 in state ST1. By extending the printing cycle in this way, the density correction does not cause the strobe signal to fall outside the printing cycle, regardless of which line of the image to be printed is printed (that is, even when the line with the largest number of simultaneously printed dots in the image is printed).

[0073] As mentioned above, the print density is largely determined by the density ratio (above (I)), but when comparing state ST3 with state ST1, the density ratio of the reference strobe signals STB1 to STB4 changes (decreases) by extending the print cycle from SLT1 to SLT2. Specifically, in FIG. 11, the density ratio decreases from CP / SLT1 to CP / SLT2. Therefore, in order to make the density ratios before and after the deceleration correction process the same, the density ratio correction process is executed on the strobe signals STB1 to STB4 in the state ST3. The state ST4 in Fig. 11 shows the strobe signals STB1_c to STB4_c after the density ratio correction process. Here, if the continuous pulse time after the density ratio correction process is denoted as CP_c, the strobe signals STB1_c to STB4_c are determined so that the following formula (1) holds: As a result, the continuous pulse time increases by Δt as shown in FIG. CP_c = (SLT2 / SLT1) · CP … (1)

[0074] Although not shown in Fig. 11, in one embodiment, the deceleration correction process may be executed at least once from the strobe signals STB1_c to STB4_c in state ST4 in Fig. 11. That is, as described above, even with the same density ratio, the print density tends to become darker as the print speed decreases ((II)). Therefore, in state ST4, the print density is set to be darker than in state ST1, because the print speed is reduced while the density ratio is the same as in state ST1. Therefore, it is preferable to further execute the deceleration correction process on the strobe signal in state ST4 to bring the print density closer to that of the strobe signal in state ST1.

[0075] In one embodiment, the deceleration correction process and the concentration ratio correction process may be repeatedly executed a predetermined number of times. As shown in state ST4 of Fig. 11, the strobe length of each of the strobe signals STB1_c to STB4_c after the density ratio correction process is extended relative to the strobe length of each of the strobe signals STB1 to STB4 in the original state ST1. Therefore, a density correction simulation is performed on the strobe signals STB1_c to STB4_c to check whether the strobe signal when each strobe length is maximized by the density correction falls within the printing period SLT2, and if it does not fall within the printing period SLT2, a second deceleration correction process is performed. As a result of performing this second deceleration correction process, the density ratio varies before and after the second deceleration correction process, so a second density ratio correction process is performed to adjust the density ratio. In this way, in one embodiment, the deceleration correction process and the density ratio correction process are repeated a predetermined number of times to determine a desired strobe signal. As will be described later, the number of times each of the deceleration correction process and the density ratio correction process is executed can be set appropriately.

[0076] As explained above, in order to ensure print quality, density correction is performed according to the print layout and operating environment for the strobe pattern determined by the speed setting value and density setting value in the reference strobe table. However, this density correction alone is not sufficient, and it is necessary to consider the print speed and density ratio based on the findings of (I) and (II) above. Therefore, in the continuously variable speed method, when the print speed is determined before printing, the deceleration correction process and density ratio correction process are performed at least once while adjusting the print speed so that the density correction functions appropriately. This makes it possible to achieve good print quality over the entire image to be printed (to make the print density uniform over the entire image).

[0077] In one embodiment, the control unit 11 of the printer 1 functions as a pulse setting unit, a printing period correction unit, and a printing speed determination unit, which correspond to the change in the printing cycle from SLT1 to SLT2 in FIG. (a1) A pulse setting unit that sets a first strobe period (e.g., a period during which the strobe signals STB1 and / or STB2 are applied; an example of a first application period) for applying thermal energy to the multiple heating elements of the thermal head 15 to cause the thermosensitive coloring layer of the label to develop color during a printing cycle of one line. (a2) an application period correction unit that corrects the length of the first strobe period set by the pulse setting unit based on the image of the printing target (for example, based on the number of simultaneously printed dots in one line of the image); (a3) a print speed determination unit that determines the print speed when printing the entire image at a constant speed by lengthening the print cycle so that the maximum length of the first strobe period after correction by the application period correction unit falls within the print cycle.

[0078] By having the control unit 11 of the printer 1 function as each of the parts (a1) to (a3), even if the above-mentioned density correction is performed, the first strobe period will not fall within the printing cycle, and the density correction during printing will be effective. Furthermore, by keeping the printing speed constant across the entire image, compared to the conventional step-by-step variable speed method, it is possible to suppress the decrease in throughput that accompanies acceleration and deceleration of the printing speed during printing, and it has the advantage of avoiding the decrease in printing quality that accompanies changes in printing speed during printing. Furthermore, compared to the conventional stepwise slow-speed method in which printing is done at a constant speed according to a speed setting value, although the throughput decreases when the printing cycle is lengthened (the printing speed is slowed down), the decrease in throughput can be minimized by making it possible to fine-tune the printing speed in small speed increments (for example, 1 mm / sec).

[0079] In one embodiment, the printer 1 performs thermal history control, and in this case, the pulse setting unit sets, in addition to the first strobe period, a second strobe period (e.g., a period during which strobe signals STB3 and / or STB4 are applied; an example of the second application period) for applying thermal energy to the multiple heating elements of the thermal head 15 in an amount sufficient not to cause the thermosensitive coloring layer of the label to color. The printing period correction unit corrects the lengths of the first strobe period and the second strobe period, and the printing speed determination unit determines the printing speed when printing the entire image at a constant speed by lengthening the printing cycle so that the maximum lengths of the first strobe period and the second strobe period after correction are within the range.

[0080] In one embodiment, the control unit 11 of the printer 1 also functions as a second application period correction unit that further corrects the length of the first strobe period corrected by the application period correction unit so that the difference in density ratio before and after lengthening the print cycle is equal to or less than a predetermined value. This corresponds to the density ratio correction process from state ST3 to state ST4 in Fig. 11. By executing the density ratio correction process, the density ratio is maintained within a predetermined range, so the print density is made uniform and the print quality of the entire image is further improved. In Fig. 11, the density ratio correction is performed so that the density ratios in state ST1 and state ST4 are the same as shown in formula (1), but this is not limited to this. It is sufficient if the difference in density ratio before and after the density ratio correction process is equal to or less than a predetermined value that does not substantially affect the print density.

[0081] Next, a series of processes for implementing the continuous variable speed method will be described with reference to FIGS. 12 to 15 are flowcharts corresponding to pre-printing processing carried out before printing. Fig. 16 is a flowchart corresponding to in-printing processing carried out during printing. The flowcharts in each figure are executed by the control unit 11 (CPU 111 and head controller 112).

[0082] The pre-printing process according to one embodiment will now be described. 12 shows the overall flow of the pre-printing process in one embodiment. As described above, this overall flow shows a flow in which the deceleration correction process and the density ratio correction process are repeated a predetermined number of times. First, the control unit 11 sets a deceleration correction counter CTR_1 that defines the upper limit number of times the deceleration correction process is performed (step S2), and sets a concentration ratio correction counter CTR_2 that defines the upper limit number of times the concentration ratio correction process is performed (step S4). For example, the value (set value) set in the deceleration correction counter CTR_1 is 2, and the value (set value) set in the concentration ratio correction counter CTR_2 is 1. The set values ​​of each counter are not limited, but are set to satisfy CTR_1>CTR_2.

[0083] 12, steps S6 to S14 are configured to execute the deceleration correction process (step S6) and the density ratio correction process (step S12) the number of times set in steps S2 and S4, respectively. The deceleration execution flag is a flag indicating whether or not the printing speed has been decelerated (i.e., the printing cycle has been extended) in the deceleration correction process, and is set to "1" if the printing speed has been decelerated.

[0084] As will be described later, in the deceleration correction process, when the printing speed is decelerated because the strobe signal does not fall within the printing cycle, the deceleration execution flag becomes "1" and the deceleration correction counter CTR_1 is decremented by 1. In the deceleration correction process, when the strobe signal falls within the printing cycle, the deceleration execution flag remains at "0." In addition, each time the density ratio correction process is executed, the density ratio correction counter CTR_2 is decremented by 1. 12, if the deceleration execution flag is "0" (i.e., the strobe signal falls within the printing cycle) (step S8: NO) as a result of executing the deceleration correction process (step S6), the control unit 11 ends the pre-printing process. If the deceleration execution flag is "1" (step S8: YES), whether or not to execute the concentration ratio correction process (step S12) is determined based on whether or not the concentration ratio correction counter CTR_2 is "0" (step S10).

[0085] After the density ratio correction process is performed, it is determined whether the deceleration correction counter CTR_1 is "0" (step S14). If the deceleration correction counter CTR_1 is "0", the control unit 11 ends the pre-printing process. If the deceleration correction counter CTR_1 is not "0", the control unit 11 returns to step S6 and performs the deceleration correction process. In this manner, the deceleration correction process and the concentration ratio correction process are executed the number of times indicated by the set values ​​of the respective counters.

[0086] Next, the deceleration correction process will be described in detail with reference to FIG. 13, in the deceleration correction process, the control unit 11 first initializes the deceleration execution flag to "0" (step S20). Next, the control unit 11 generates a first corrected strobe table based on the reference strobe table (step S22). More specifically, the control unit 11 refers to the battery voltage correction table (FIG. 9), identifies a voltage correction ratio corresponding to the current battery voltage, and multiplies each strobe length of the reference strobe table by the identified voltage correction ratio to generate the first corrected strobe table. In step S22, instead of generating a first corrected strobe table corresponding to all strobe patterns in the reference strobe table, it is also possible to calculate a corrected strobe length corresponding to the strobe pattern of the current speed setting value and density setting value in the reference strobe table.

[0087] Next, the control unit 11 generates a dot number correction table (step S24). In one embodiment, separate dot number correction tables (FIG. 9) are prepared for each of the head voltage drop correction and the power supply voltage drop correction. In this case, the control unit 11 generates a dot number correction table that combines the head voltage drop correction and the power supply voltage drop correction by multiplying the dot number correction ratios corresponding to each battery voltage in the dot number correction table corresponding to the head voltage drop correction and the dot number correction table corresponding to the power supply voltage drop correction.

[0088] Next, the control unit 11 executes a concentration correction simulation, the details of which are shown in FIG. 14 (step S26). As described above, the purpose of the density correction simulation is to estimate in advance the maximum value of the strobe length due to density correction during printing in order to determine the printing speed before printing. In other words, the density correction simulation is a process for estimating the maximum value of the corrected strobe length before printing so that the maximum corrected strobe length falls within the printing cycle even if the strobe length (corrected strobe length) becomes maximum due to density correction during printing.

[0089] Referring to FIG. 14, the density correction simulation is performed as follows. First, the control unit 11 refers to the first corrected strobe table generated in step S22 to identify the strobe length of each strobe signal corresponding to the current speed setting value and density setting value (step S42). Here, the identified strobe length is a strobe length in which the battery voltage correction is reflected with respect to the corresponding value in the reference strobe table. Next, the control unit 11 analyzes the image to be printed to identify the maximum value among the numbers of simultaneously printed dots for each line in the image (step S44), and executes dot number correction (step S46). That is, the control unit 11 identifies the dot number correction ratio corresponding to the maximum number of simultaneously printed dots identified in step S44 by referring to the dot number correction table generated in step S42.

[0090] Next, the control unit 11 executes temperature correction (step S48). More specifically, the control unit 11 refers to the temperature correction table (FIG. 10) to identify a temperature correction ratio that corresponds to the current thermal head temperature. Note that, when the temperature correction table is referred to, if the thermal head temperature becomes lower than the current value, the temperature correction ratio increases and a correction is made during printing so that the strobe length becomes longer, but this kind of correction does not need to be taken into consideration in the density correction simulation, because the thermal head temperature during printing tends to be higher than the thermal head temperature when the density correction simulation is executed.

[0091] Finally, the control unit 11 determines the maximum value of the corrected strobe length (step S50). In step S50, the control unit 11 multiplies each strobe length of the strobe signals STB1 to STB4 determined in step S44 by the dot number correction ratio determined in step S46 and the temperature correction ratio determined in step S48, thereby determining the maximum value of the corrected strobe length.

[0092] Returning to the explanation of Figure 13. After performing the density correction simulation, the control unit 11 judges whether the maximum value of the corrected strobe length falls within the printing cycle (step S28). If the maximum value of the corrected strobe length falls within the printing cycle, there is no need to change the printing speed, so the deceleration correction counter CTR_1 is set to 0 (step S30). In this case, the deceleration execution flag remains at "0", so the control unit 11 ends the pre-printing process (step S8 in FIG. 12: NO).

[0093] If the maximum value of the corrected strobe length does not fall within the printing cycle (step S28: NO), the control unit 11 extends the printing cycle (i.e., slows down the printing speed) so that the maximum value of the corrected strobe length falls within the printing cycle (step S32). At this time, the speed is preferably adjusted to a speed width (e.g., 1 mm / sec) smaller than the speed width (1 IPS in the example of FIG. 6) of multiple speed setting values ​​defined in the reference strobe table. The control unit 11 sets the deceleration execution flag to "1" in response to the deceleration of the printing speed (step S34), and subtracts 1 from the deceleration correction counter CTR_1 (step S36).

[0094] Next, the density ratio correction process will be described in detail with reference to FIG. 15, in the density ratio correction process, the control unit 11 first obtains the continuous pulse time CP (see state ST1 in FIG. 11) corresponding to the current speed setting value and density setting value from the reference strobe table (e.g., FIG. 6) (step S60), and calculates the density ratio (step S62). The density ratio is a value obtained by dividing the continuous pulse time CP by the printing cycle corresponding to the speed setting value.

[0095] Next, the control unit 11 calculates the continuous pulse time after the deceleration correction (i.e., after execution of step S32 of the deceleration correction process performed immediately before) (step S64), and generates a new reference strobe table (step S66). Here, as shown in the above formula (1), the continuous pulse time is corrected so that the density ratio is the same before and after the deceleration correction, and a new reference strobe table is generated based on the corrected continuous pulse time. This new reference strobe table becomes the reference for generating the first corrected strobe table when the deceleration correction process is subsequently performed. Finally, the control unit 11 subtracts 1 from the concentration ratio correction counter CTR_2 (step S68). In step S66, instead of generating a new reference strobe table corresponding to all strobe patterns, a new strobe length corresponding to the strobe pattern of the current speed setting value and density setting value may be calculated.

[0096] The above is the pre-printing process of one embodiment. By repeating the deceleration correction process and the density ratio correction process a predetermined number of times, the printing speed, printing cycle, and the first corrected strobe table used in the processing during printing are determined before printing.

[0097] Next, the process during printing will be described with reference to FIG. Printing is performed over the entire image to be printed at a constant speed determined in the pre-print process. In the process during printing, the series of processes shown in Figure 16 are performed line by line. In the following explanation, the line to be printed is called the "line of interest." 16, the control unit 11 first obtains the thermal head temperature from the thermistor 4 (step S70), and then obtains (specifies) the temperature correction ratio corresponding to the obtained thermal head temperature by referring to the temperature correction table (FIG. 10) (step S72). Note that, as described above, the temperature correction ratio may be calculated based on the reference value and the current value of the thermal head temperature.

[0098] Next, the control unit 11 generates a second corrected strobe table (step S74) by correcting the first corrected strobe table generated in the deceleration correction process before printing (step S22 in FIG. 13) using the temperature correction ratio obtained in step S72. Note that the first corrected strobe table reflects the battery voltage correction, but since the battery voltage during printing is considered to be approximately the same as the battery voltage before printing, it is also used in the process during printing. Each strobe length described in the second corrected strobe table is a value obtained by multiplying the corresponding strobe length in the first corrected strobe table by the temperature correction ratio.

[0099] Next, the control unit 11 obtains the number of simultaneously printed dots for the line of interest (step S76), and obtains a dot number correction ratio corresponding to the obtained number of simultaneously printed dots by referring to the dot number correction table (FIG. 9) (step S78). Furthermore, the control unit 11 determines the strobe length of each strobe signal to be applied to the line of interest by multiplying the strobe length of each strobe signal corresponding to the current speed setting value and density setting value by the dot number correction ratio obtained in step S78 in the second post-correction strobe table (step S80). In the deceleration correction process before printing (step S22 in FIG. 13), if a corrected strobe length corresponding to the strobe pattern of the current speed setting value and density setting value is calculated instead of generating the first corrected strobe table, then in step S74, the corrected strobe length is corrected by the temperature correction ratio obtained in step S72 to calculate a strobe length. This process is equivalent to step S80.

[0100] The above is the process during printing in one embodiment, in which density correction is performed for each line of interest based on the thermal head temperature and the number of dots printed simultaneously, and the strobe length of each strobe signal during the printing cycle is determined. In the pre-printing process, the printing speed is adjusted based on the maximum corrected strobe length due to density correction, so that the strobe length of each strobe signal determined in step S80 falls within the printing period for all lines of the image to be printed.

[0101] In the embodiment, an example in which the strobe application period is set four times during the printing cycle in the thermal history control has been described, but the present invention is not limited to this and may be set three times, or five times or more. By increasing the number of strobe application periods, more strobe levels can be set, enabling more precise control.

[0102] 12 to 16 are executed by the control unit 11 (CPU 111 and head controller 112). In this embodiment, the control unit 11 of the printer 1 functions as a pulse setting unit, a first correction unit, and a second correction unit described below. (b1) A pulse setting unit that sets a first strobe period (e.g., a period during which the strobe signals STB1 and / or STB2 are applied; an example of a first application period) for applying thermal energy to the multiple heating elements of the thermal head 15 to cause the thermosensitive coloring layer of the label to develop color during a printing cycle of one line. (b2) a first correction unit that corrects the print speed when printing so as to decelerate the print speed from the speed setting value before printing on the label; (b3) a second correction unit that corrects the printing speed after correction by the first correction unit and / or the length of the first strobe period so that a difference in density ratio before and after correction of the printing speed by the first correction unit is equal to or less than a predetermined value.

[0103] Here, the first correction section corresponds to the first deceleration correction process, and the second correction section corresponds to the concentration ratio correction process performed after the first deceleration correction process and / or the second or subsequent deceleration correction processes. The second correction unit may include at least one of a correction process for the printing speed and a correction process for the length of the first strobe period, or both of them. That is, since the density ratio may change depending on the printing speed and / or the first strobe period, the density ratio can be adjusted to a desired range by correcting the printing speed and the length of the first strobe period separately, or by correcting both of them. In this case, the method of adjusting the density ratio to a desired range is not limited to the method based on the pre-printing correction process in FIG. 12.

[0104] With the above configuration, it is possible to suppress deterioration in print quality (i.e., suppress fluctuations in print density during printing) when the print speed is changed from the speed setting value before printing on the label. In other words, it is possible to suppress deterioration in print quality when printing is performed at a print speed different from the multiple speed setting values ​​defined in the reference strobe table. As a result, from the user's perspective, as long as the speed setting and density setting for the printer 1 are the same, there is an advantage in that the same level of print quality can always be obtained regardless of the operating environment of the printer 1 or the layout of the image to be printed.

[0105] In addition, the strobe length of each strobe pattern described in the reference strobe table is determined in advance by trial and error so as to obtain a predetermined print density (i.e., verified). Therefore, when the print speed is changed from the speed setting value specified in the reference strobe table, the print quality is not verified. Even under such conditions, by executing the deceleration correction process and density ratio correction process described above, it becomes possible to adjust the print density to a level equivalent to the verified level.

[0106] In one embodiment, the second correction unit includes a ratio correction unit and a printing speed correction unit described below. (c1) a ratio correction unit that executes a process (density ratio correction process) for correcting the length of the first strobe period so that the density ratio is substantially the same before and after the correction of the printing speed by the first correction unit; (c2) a print speed correction unit that executes a process (deceleration correction process) of correcting the print speed so as to further slow down the print speed after correction by the first correction unit; That is, when controlling both the printing speed and the density ratio, the strobe length can be determined efficiently by successively performing the density ratio correction process and the deceleration correction process as shown in Fig. 12. The number of times each process is performed can be determined by the set value of the counter corresponding to each process, as described with reference to Fig. 12.

[0107] In one embodiment, the printer 1 executes thermal history control, and in that case, the above-mentioned pulse setting unit sets, in addition to the first strobe period, a second strobe period (e.g., a period during which strobe signals STB3 and / or STB4 are applied; an example of the second application period) for applying thermal energy to the multiple heating elements of the thermal head 15 in an amount sufficient not to cause the thermosensitive coloring layer of the label to color. The above-mentioned first correction unit corrects the printing speed so that the first strobe period and the second strobe period fall within the printing cycle. The second correction unit corrects the printing speed after correction by the first correction unit and / or the lengths of the first strobe period and the second strobe period so that the difference in density ratio before and after correction of the printing speed by the first correction unit is equal to or smaller than a predetermined value.

[0108] In one embodiment, printing is performed without performing the above-described thermal history control, but even in this case, the above-described continuous variable speed method can be applied. Figure 17 corresponds to Figure 11 and shows the continuous variable speed method when thermal history control is not performed. When thermal history control is not performed, a single strobe signal STB is set during one line printing cycle. In this case, the length of the strobe period for providing thermal energy to cause the thermosensitive coloring layer to color is equal to the strobe length L of the strobe signal STB.

[0109] 17 is a result of performing a density correction simulation on the strobe signal STB shown in state ST1, and shows the strobe signal STB_max when the strobe length L of the strobe signal STB is maximized by density correction. In one embodiment, the strobe length of the strobe signal STB_max is a value obtained by multiplying the reference strobe length L by the maximum value of the voltage correction ratio (FIG. 9)×the dot number correction ratio (FIG. 9).

[0110] State ST2 in FIG. 17 shows a case where the strobe signal STB_max when the strobe length is maximized by density correction does not fall within the printing cycle SLT1 determined by the speed setting value. 17 shows a state in which deceleration correction processing is performed on the strobe signal STB in state ST1, and the printing cycle is extended from SLT1 to SLT2. By extending the printing cycle in this way, even when printing a line with the maximum number of simultaneously printed dots in an image, the strobe signal does not fall outside the printing cycle due to density correction.

[0111] The result of performing the density ratio correction process on the strobe signal STB in state ST3 is the strobe signal STB_c in state ST4. Here, if the strobe length L after the density ratio correction process is L_c, the strobe signal STB_c is determined so that the following formula (2) holds: As a result, the continuous pulse time increases by Δt as shown in FIG. L_c = (SLT2 / SLT1) · L … (2)

[0112] In one embodiment, a printing method for a printer is disclosed, comprising the following steps. (d1) A step of setting a first strobe period of a strobe signal for applying thermal energy to a plurality of heating elements of the thermal head 15 to cause the thermal coloring layer of the label to develop color in a printing cycle of one line. (d2) correcting the length of the set first strobe period based on the image of the printing target; (d3) determining a print speed when printing the entire image at a constant speed by lengthening the print cycle so that the maximum length of the first strobe period after correction falls within the print cycle;

[0113] In one embodiment, a printing method for a printer is disclosed, comprising the following steps. (e1) setting a first strobe period of a strobe signal for applying thermal energy to a plurality of heating elements to cause a thermosensitive coloring layer of the label to color in a printing cycle of one line; (e2) correcting the print speed when printing so as to decelerate the print speed from the speed setting value before printing on the label; (e3) correcting the printing speed after the correction and / or the length of the first strobe period so that the difference in density ratio before and after the correction of the printing speed is equal to or less than a predetermined value.

[0114] A program according to an embodiment is a program for causing a computer to execute the printing method of the printer. For example, the CPU 111 included in the control unit 11 of the printer 1 executes the program, thereby executing the printing method of the printer. In one embodiment, the program may be recorded on a non-transitory computer-readable recording medium.

[0115] Although the embodiments of the printer, the printing method, and the program of the present invention have been described in detail above, the scope of the present invention is not limited to the above-mentioned embodiments. Furthermore, the above-mentioned embodiments can be improved or modified in various ways without departing from the spirit of the present invention. [Explanation of symbols]

[0116] 1. Printer 9. Containment room 10...Platen roller 11...Control section 111...CPU 112…Head controller 113…Memory 114…Bus 12. Storage 13...Drive circuit 14…Motor 15…Thermal head 2. Drive circuit 21...Shift register 22...Latch circuit 23...Gate circuits 23_1~23_M…AND circuit 24...Transistor group 24_1~24_M...MOS transistor 3...Heater elements 31_1~31_M…Heater element 4…Thermistor 16...Communication interface 20…Issue port 25…Printer cover 29...Coil spring DATA1~DATA4...Data signal STB1~STB4: Strobe signals L1~L4: Pulse width WT…Waiting time P...Continuous paper R…Roll paper

Claims

1. A printer that prints on a print medium having a thermosensitive coloring layer, a thermal head having a plurality of heating elements arranged in a line; a pulse setting unit that sets a first application period of an energizing pulse for applying thermal energy to the plurality of heating elements for causing the thermosensitive coloring layer to color in a printing cycle of one line; a first correction unit that corrects a printing speed when printing is performed so as to slow down the printing speed from a preset printing speed before printing is performed on the print medium; a second correction unit that corrects the printing speed after correction by the first correction unit and / or the length of the first application period so that a difference in a ratio of the first application period of the energizing pulse to the printing cycle before and after correction of the printing speed by the first correction unit is equal to or less than a predetermined value; A printer equipped with

2. The second correction unit is a ratio correction unit that corrects the length of the first application period so that the ratio is substantially the same before and after the correction of the printing speed by the first correction unit; a print speed correction unit that corrects the print speed so as to further slow down the print speed after correction by the first correction unit, 2. The printer according to claim 1.

3. a storage unit that stores data on the length of a first application period of the energizing pulse in a printing cycle of one line corresponding to each of a plurality of printing speeds set in a predetermined first speed width; The preset printing speed is any one of the plurality of printing speeds, the first correction unit corrects the printing speed so that the printing speed is decelerated by a second speed width smaller than the first speed width based on the preset printing speed.

3. A printer according to claim 1 or 2.

4. an application period correction unit that corrects the length of the first application period set by the pulse setting unit based on an image of a printing object; the first correction unit corrects the printing speed so that the first application period corrected by the application period correction unit falls within a printing cycle; A printer according to any one of claims 1 to 3.

5. a battery for supplying power to the thermal head; The application period correction unit corrects the length of the first application period based on a voltage of the battery.

5. The printer according to claim 4.

6. a temperature detection unit for detecting a temperature of the thermal head, the application period correction unit corrects the length of the first application period based on the temperature of the thermal head; 6. A printer according to claim 4 or 5.

7. the pulse setting unit sets a second application period of an energization pulse for applying thermal energy to the plurality of heating elements in a printing cycle of one line to an extent that the thermal coloring layer does not develop color; the first correction unit corrects a printing speed so that the first application period and the second application period fall within a printing cycle; the second correction unit corrects the printing speed after correction by the first correction unit and / or the lengths of the first application period and the second application period so that a difference in a ratio of the first application period and the second application period of the energizing pulse to a printing cycle before and after the correction of the printing speed by the first correction unit is equal to or less than a predetermined value. A printer according to any one of claims 1 to 6.

8. A printing method for a printer having a thermal head with a plurality of heating elements arranged in a line and printing on a print medium having a thermosensitive coloring layer, comprising: a first application period of an energizing pulse for applying thermal energy to the plurality of heating elements for causing the thermosensitive coloring layer to color in a printing cycle of one line is set; correcting a printing speed when printing is performed so as to slow down the printing speed from a preset printing speed before printing on the printing medium; correcting the printing speed after the correction and / or the length of the first application period so that a difference in a ratio of the first application period of the energizing pulse to the printing cycle before and after the correction of the printing speed is equal to or less than a predetermined value; The printer's printing method.

9. A printer having a thermal head with a plurality of heating elements arranged in a line and printing on a print medium having a thermosensitive coloring layer, comprising: a program for causing a computer to execute a predetermined method, The method comprises: a first application period of an energizing pulse for applying thermal energy to the plurality of heating elements for causing the thermosensitive coloring layer to color in a printing cycle of one line is set; correcting a printing speed when printing is performed so as to slow down the printing speed from a preset printing speed before printing on the printing medium; correcting the printing speed after the correction and / or the length of the first application period so that a difference in a ratio of the first application period of the energizing pulse to the printing cycle before and after the correction of the printing speed is equal to or less than a predetermined value; program.

Citation Information

Patent Citations

  • Intermediate tone recording device

    JP1994000989A

  • Method of controlling thermal printer

    JP1994115139A

  • Label printer, and method and program for controlling printing speed of label printer

    JP2010228259A

  • Printer, control method and program of printer

    JP2018047642A

  • Auxiliary control device for managing printing in a thermal printer

    US20020158958A1