Printing device, control method, and program

The printing device uses motor rotational speed to detect the lid's state, eliminating the need for dedicated sensors, ensuring print quality and reducing waste by stopping printing when the lid is open.

JP7533696B2Active Publication Date: 2024-08-14CASIO COMPUTER CO LTD
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
JP2023093593
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-06-07
Publication Date
2024-08-14
Estimated Expiration
2039-08-26

AI Technical Summary

Technical Problem

Printing devices with an openable/closable lid face issues with print quality and failure when printing with the lid not fully closed, necessitating the use of dedicated sensors to detect the lid's state, which increases product cost.

Method used

The printing device utilizes the motor's rotational speed to detect the lid's open or closed state by comparing the detected rotational speed with predefined thresholds, eliminating the need for dedicated sensors.

Benefits of technology

Accurate detection of the lid's state without additional sensors, preventing print failures and reducing waste by stopping printing when the lid is open, thus maintaining print quality and reducing material waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007533696000007
    Figure 0007533696000007
  • Figure 0007533696000002
    Figure 0007533696000002
  • Figure 0007533696000001
    Figure 0007533696000001
Patent Text Reader

Abstract

To enable a state of a printing device to be correctly detected even without using a dedicated sensor.SOLUTION: A printing device 1 comprises: a transport part 6 that conveys a print medium by power of a motor 2601; a printing part 701 that prints on the print medium, and changes its relative position with respect to the transport part 6 in conjunction with opening and closing operation of a lid 4 attached to a device housing 2 when the lid 4 is closed so that the printing part 701 press-contacts the transport part 6 via the printing medium; a speed detection part 2603 that detects rotation speed of the motor 2601; and a control part 21 that determines an open / closed state of the lid 4 on the basis of the detected rotation speed of the motor 2601. In one embodiment, the control part 21 determines the open / closed state of the lid on the basis of the detected rotation speed of the motor 2601 and a threshold value set on the basis of the rotation speed of the motor 2601 at printing on the print medium in a state where the lid 4 is closed.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

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

[0002] Some printing devices, which are equipped with a printing unit that prints on a print medium and a transport unit that transports the print medium by the power of a motor, print on the print medium with the printing unit in pressure contact with the transport unit via the print medium. For example, in a thermal printer, a thermal head as a printing unit is in pressure contact with a platen roller as a transport unit via the print medium, and the platen roller is rotated to transport the print medium while the thermal head prints on the print medium.

[0003] In some printing devices of this type, an openable and closable cover is attached to the housing, and a dedicated sensor is provided near the cover of the housing to detect whether the cover is open or closed (see, for example, Patent Document 1). [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2012-096389 A Summary of the Invention [Problem to be solved by the invention]

[0005] In the above-mentioned printing device having an openable / closable lid attached to the housing, if printing is performed on the print medium when the lid is not completely closed, deterioration of print quality or printing failure may occur. For this reason, in this type of printing device, it is desirable to correctly detect the open / closed state of the lid when printing on the print medium.

[0006] On the other hand, conventional printing devices require a dedicated sensor to detect whether the cover is open or closed. Also, in order to detect other states of the printing device, it is necessary to sense the state of the printing device using a dedicated sensor other than the dedicated sensor for detecting whether the cover is open or closed.

[0007] In view of the above circumstances, an object of one aspect of the present invention is to provide a technique that is capable of correctly detecting the state of a printing device without using a dedicated sensor. [Means for solving the problem]

[0008] A printing device according to one aspect of the present invention includes: a conveying unit that conveys a print medium by using power from a motor; Printing is performed on the print medium so that the print medium is in pressure contact with the transport unit through the print medium. a printing unit; and a speed detection unit that detects the rotation speed of the motor; The speed detector Based on the detected rotation speed of the motor, Remaining amount of printing media and a control unit for determining the state.

[0010] A control method according to one aspect of the present invention 、 The motor power Covered A conveying unit that conveys the print medium; a printing unit that prints on the print medium so as to be in pressure contact with the transport unit via the print medium; A method for controlling a printing device, comprising: detecting a rotation speed of the motor; and controlling the rotation speed of the motor based on the detected rotation speed of the motor. Remaining amount of printing media and determining the state.

[0011] A program according to one aspect of the present invention , Mo Powered by the motor Covered A conveying unit that conveys the print medium; a printing unit that prints on the print medium so as to be in pressure contact with the transport unit via the print medium; A printing device detects a rotation speed of the motor, and based on the detected rotation speed of the motor, Remaining amount of printing media A process for determining the state is executed. Effect of the Invention

[0012] According to the above aspect, the state of the printing device can be detected correctly without using a dedicated sensor. [Brief description of the drawings]

[0013] [Figure 1] FIG. 1 is a plan view of a printing device 1 according to an embodiment. [Diagram 2] 2 is a partial plan view showing an example of the internal configuration of a portion of the printing device 1 in FIG. 1 that overlaps with a lid 4. FIG. [Diagram 3] 7A to 7C are diagrams for explaining the operation of a thermal head 701 linked to the opening and closing operation of a lid 4. [Figure 4] FIG. 1 is a block diagram illustrating a functional configuration of a printing device 1 according to an embodiment. [Diagram 5] 10A to 10C are diagrams illustrating an example of speed information used to determine the state of the printing device 1. [Figure 6] 1 is a flowchart illustrating a printing process according to an embodiment. [Figure 7] 7 is a flowchart illustrating an example of a rotation speed adjustment process in the flowchart of FIG. 6. [Figure 8] 4 is a flowchart illustrating a self-check process performed by a printing device 1 according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an embodiment of a printing device according to the present invention will be described with reference to the drawings.

[0015] Fig. 1 is a plan view of a printing device 1 according to one embodiment. Fig. 2 is a partial plan view showing an example of the internal configuration of a portion of the printing device 1 in Fig. 1 that overlaps with a lid 4. The X and Y directions in Fig. 2 correspond to the X and Y directions in Fig. 1. Note that some of the keys (buttons) of an input device 3 provided in the printing device 1 are omitted in Fig. 2.

[0016] The printing device 1 illustrated in FIG. 1 and FIG. 2 is a label printer equipped with a thermal head 701 that prints on a long thermal tape 12. The thermal tape 12 includes a thermal layer that develops or changes color when heated, an adhesive layer laminated on the thermal layer, and a separator (release paper) that protects the adhesive layer. The thermal tape 12 is an example of a print medium. The thermal tape 12 is supplied from a tape roll 11 in which the thermal tape 12 is wound around a cylindrical core material. The tape roll 11 is housed in a medium adapter 10 and is supported by the medium adapter 10 in a state in which it can rotate around the axial direction of the core material as a rotation axis. In the printing device 1 illustrated in FIG. 1 and FIG. 2, the direction perpendicular to each of the X direction and the Y direction is the axial direction of the core material of the tape roll 11 (i.e., the rotation axis of the recording medium 11). The thermal tape 12 of the tape roll 11 is pulled out from a pull-out opening (not shown) provided in the media adapter 10 to the outside of the media adapter 10, and text or the like is printed on the pulled-out portion. Note that the underlined number "9" in Figures 1 and 2 indicates that the width of the thermal tape 12 is 9 mm.

[0017] In the following, a thermal label printer that prints on a thermal tape 12 will be described as an example of the printing device 1, but there is no particular limitation on the printing method of the printing device 1. For example, the printing device 1 may be a thermal transfer label printer that uses an ink ribbon.

[0018] The printing device 1 includes a device housing 2, an input device 3, a cover 4, and a display device 5.

[0019] The device housing 2 houses a printed circuit board (not shown) including part of a control circuit that controls the operation of the printing device 1, a medium adapter 10, a platen roller 6, a printing unit 7, a cutter 8, etc. Although not shown, the device housing 2 is also provided with a power cord connection terminal, an external device connection terminal, a recording medium insertion port, etc.

[0020] A lid 4 is attached to the device housing 2 in a state in which it can be opened and closed freely. The lid 4 has a hook-shaped protrusion 401 that engages with a locking member 1301 provided on the device housing 2 when the lid 4 is in a closed state. The locking member 1301 and the hook-shaped protrusion 401 engage in a manner that restricts the movement of the lid 4 in the opening direction. The engagement between the locking member 1301 and the hook-shaped protrusion 401 is released by performing a predetermined operation on an open button 1302 provided on the device housing 2. An input device 3 is provided in an area of ​​the device housing 2 that does not overlap with the lid 4 in the XY plane view when the lid 4 is in a closed state. The input device 3 is a keyboard device, and is used to input various information to the printing device 1, such as inputting characters and selecting setting items. In addition, a display device 5 such as a liquid crystal display is provided on the lid 4, and the display device 5 displays information input by the input device 3 and various information related to the settings of the printing device 1.

[0021] In the device housing 2, an area below the lid 4 in the XY plane view (area overlapping with the lid 4) when the lid 4 is closed is provided with an adapter accommodating section 2a, a platen roller 6, a printing unit 7, and a cutter 8. The adapter accommodating section 2a is a concave portion that defines a space capable of accommodating a medium adapter 10. The adapter accommodating section 2a is formed in a shape that can accommodate not only the medium adapter 10 accommodating the tape roll 11 with a thermal tape 12 having a width of 9 mm as shown in Figs. 1 and 2, but also the medium adapter 10 accommodating the tape roll 11 with a thermal tape 12 having other widths (e.g., 6 mm, 12 mm, 18 mm, etc.).

[0022] The platen roller 6 is a roller that transports the thermal tape 12 supplied from the medium adapter 10. The platen roller 6 is connected to a transport motor (e.g., a DC (direct current) motor) not shown, and rotates by the power from the transport motor. In the printing device 1, the platen roller 6 is rotated while the thermal tape 12 supplied from the medium adapter 10 is sandwiched between the platen roller 6 and the thermal head 701 of the printing unit 7, thereby transporting the thermal tape 12 in a desired transport direction. The platen roller 6 is an example of a transport section that transports the print medium (e.g., the thermal tape 12) by the power of the motor.

[0023] The printing unit 7 prints on the thermal tape 12 and includes a thermal head (print head) 701. The thermal head 701 has a plurality of heating elements arranged in a main scanning direction (i.e., a direction parallel to the width direction of the thermal tape 12) perpendicular to the transport direction of the thermal tape 12, and prints one line at a time by heating the thermal tape 12 with the heating elements. The thermal head 701 is an example of a printing section that prints on a print medium (e.g., the thermal tape 12). As will be described later, the relative position of the thermal head 701 with respect to the platen roller 6 changes in conjunction with the opening and closing operation of the lid 4 in the printing device 1 of this embodiment.

[0024] The cutter 8 is a cutting device that cuts the thermal tape 12, and is used, for example, to separate the printed areas of the thermal tape 12 into individual labels.

[0025] FIG. 3 is a diagram for explaining the operation of the thermal head 701 linked with the opening and closing operation of the lid 4. FIG. 3(a) shows a schematic positional relationship between the platen roller 6 and the thermal head 701 when the lid 4 is open (lid open state). FIG. 3(b) shows a schematic positional relationship between the platen roller 6 and the thermal head 701 when the lid 4 is closed (lid closed state). In this specification, the lid open state refers to a state in which the hook-shaped protrusion 401 of the lid 4 and the locking member 1301 of the device housing 2 are not engaged to restrict the movement of the lid 4 in the opening direction, that is, a state in which the lid 4 can be opened and closed without operating the open button 1302 of the device housing 2. In this specification, the lid closed state refers to a state in which the hook-shaped protrusion 401 of the lid 4 is engaged with the locking member 1301 of the device housing 2, and the movement of the lid 4 in the opening direction is restricted.

[0026] The operation of opening the cover 4 is performed, for example, when the medium adapter 10 is accommodated in the adapter accommodation section 2a of the device housing 2. At this time, the user of the printing device 1 accommodates the medium adapter 10 so that the thermal tape 12 pulled out of the medium adapter 10 passes between the platen roller 6 and the thermal head 701. For this reason, when the cover is open, as shown in FIG. 3A, the distance D0 between the thermal head 701 and the platen roller 6 is made longer than the thickness D1 of the thermal tape 12. This makes it easier to insert the thermal tape 12 between the platen roller 6 and the thermal head 701. In addition, the thermal tape 12 is prevented from being broken or the surface of the thermal tape 12 or the surface of the thermal head 701 is prevented from being scratched due to the thermal tape 12 coming into contact with the platen roller 6 or the thermal head 701 and receiving an external force during insertion.

[0027] On the other hand, when printing on the thermal tape 12 with the printer 1, as shown in FIG. 3B, it is necessary to reliably bring the surface of the thermal head 701 into contact with the thermal tape 12 and transport the thermal tape 12 at a stable transport speed. Furthermore, printing on the thermal tape 12 is generally performed in the lid-closed state. For this reason, the printer 1 is provided with a mechanism for changing the relative position of the thermal head 701 with respect to the platen roller 6 between the lid-open state and the lid-closed state. This mechanism is configured so that in the lid-open state, the distance between the thermal head 701 and the platen roller 6 is longer than the thickness D1 of the thermal tape 12, and in the lid-closed state, the distance between the thermal head 701 and the platen roller 6 is shorter than the thickness D1 of the thermal tape 12. That is, the printer 1 is configured so that in the lid-closed state, the thermal head 701 is in pressure contact with the platen roller 6 via the thermal tape 12.

[0028] When the thermal tape 12 is interposed between the thermal head 701 and the platen roller 6 in this manner, in the printing apparatus 1 in the cover closed state, the platen roller 6 receives a pressure load F from the thermal head 701 via the thermal tape 12. Therefore, when the platen roller 6 is rotated by the power of a DC motor (not shown), the pressure load F received by the platen roller 6 becomes a load, and the rotation speed of the platen roller 6 (DC motor) becomes smaller than the rotation speed corresponding to the voltage applied to the DC motor. Therefore, in the printing apparatus 1, the speed detection unit 2603 detects the rotation speed of the DC motor, and adjusts the voltage applied to the DC motor based on the detected rotation speed of the DC motor and a target value of the rotation speed according to the transport speed of the thermal tape 12. The speed detection unit 2603 detects the rotation speed using an encoder. The target value of the rotation speed is the rotation speed of the motor corresponding to the transport speed of the thermal tape 12 synchronized with the print control of one line by the thermal head 701 so that the print control of the thermal head 701 for one line does not affect the printing of the following one line. In other words, the target value of the rotation speed is the rotation speed of the motor corresponding to the transport speed of the thermal tape 12 transporting the thermal tape 12 by one line during the period when the thermal head 701 prints one line. The target value of the number of rotations is set based on, for example, the temperature change of the heating element of the thermal head 701 during printing, the magnitude of the pressure load F received from the thermal head 701 through the thermal tape 12, etc.

[0029] However, in the printing device 1, for example, the lid may change from the lid closed state to the lid open state during printing. When the lid is open during printing, the thermal head 701 moves away from the platen roller 6, so that the conveying speed of the thermal tape 12 and the contact between the thermal head 701 and the thermal tape 12 become unstable, and printing on the thermal tape 12 cannot be performed correctly. Similarly, even if printing is started in the printing device 1 that appears to be in the lid closed state but is actually in the lid open state, printing on the thermal tape 12 cannot be performed correctly. For this reason, in the conventional printing device 1, a dedicated sensor is provided to detect the open / closed state of the lid 4, and when it is determined that the lid is open based on the output of the sensor, control such as stopping printing is performed. However, providing such a dedicated sensor to detect only the open / closed state of the lid 4 leads to an increase in the production cost of the printing device 1.

[0030] The printing device 1 of this embodiment utilizes the difference in load on the platen roller 6 (DC motor) between the lid closed state and the lid open state to detect the open / closed state of the lid 4 based on the rotation speed of the DC motor detected by the speed detection unit 2603.

[0031] Fig. 4 is a block diagram illustrating the functional configuration of the printing device 1 according to an embodiment of the present invention, Fig. 5 is a diagram illustrating an example of speed information used to determine the state of the printing device 1.

[0032] As illustrated in FIG. 4, in terms of functional configuration, the printing device 1 of this embodiment includes a control unit 21, an input unit 22, a display unit 23, a memory unit 24, a tape type detection unit 25, a conveying processing unit 26, a printing processing unit 27, and a cutting processing unit 28.

[0033] The control unit 21 controls various processes that can be executed in the printing device 1, including a printing process described below. The processes controlled by the control unit 21 may include a self-check process described below. In the printing device 1, for example, a hardware processor such as a CPU (Central Processing Unit) provided in the printing device 1 functions as the control unit 21 by executing various programs.

[0034] The input unit 22 accepts input of characters, figures, etc. to be printed on the thermal tape 12, input of setting values ​​and execution commands related to various processes, etc. The input unit 22 is, for example, one of the functions of the input device 3 shown in Fig. 1. The display unit 23 displays characters and figures corresponding to the input from the input unit 22, selection menus for various settings, messages related to various processes, etc. The display unit 23 is, for example, one of the functions of the display device 5 shown in Fig. 1.

[0035] The storage unit 24 stores programs and information required for executing various processes in the printing device 1. In the printing device 1, storage devices such as a RAM (Random Access Memory) and a ROM (Read Only Memory) provided in the printing device 1 function as the storage unit 24. Information stored in the storage unit 24 in the printing device 1 of this embodiment includes speed information 30 as exemplified in FIG. 5. The speed information 30 includes a speed range during normal printing for each type of tape that can be printed by the printing device 1 and a speed range when the tape runs out. The tape type is the type of the thermal tape 12 supplied from the media adapter 10, and includes, for example, a type based on the width of the thermal tape 12. The speed range during normal printing is the range of the rotation speed of the DC motor 2601 when the cover is closed and printing is performed while transporting the thermal tape 12 at an appropriate transport speed. The speed range during normal printing includes the target value of the rotation speed described above. The speed range when the tape runs out is the range of rotational speed of the DC motor 2601 when the lid is closed and the thermal tape 12 on the tape roll 11 has been used up (in other words, when no thermal tape 12 is present between the thermal head 701 and the platen roller 6).

[0036] The tape type detection unit 25 detects the type of the thermal tape 12 supplied from the medium adapter 10. The tape type detection unit 25 detects, for example, the width of the thermal tape 12. The tape type detection unit 25 may also detect whether or not the medium adapter 10 is accommodated in the adapter accommodating unit 2a, and detect which tape width of the tape roll 11 the medium adapter 10 is suitable for accommodating.

[0037] The conveying processing unit 26 performs processing to convey the thermal tape 12 by a predetermined conveying amount (conveying length) in a predetermined conveying direction. The conveying processing unit 26 is one of the functions of the conveying mechanism including the DC motor and the platen roller 6. The conveying processing unit 26 includes a driving unit 2602 that drives the DC motor 2601, and a speed detection unit 2603. The driving unit 2602 adjusts the voltage applied to the DC motor 2601 based on the conveying direction of the thermal tape 12, a target value of the rotation speed set based on an appropriate conveying speed of the thermal tape 12, and the rotation speed of the DC motor 2601 detected by the speed detection unit 2603. The speed detection unit 2603 detects the rotation speed of the DC motor 2601 from the period of the encoder.

[0038] The print processing unit 27 applies thermal energy to the thermal tape 12 to print characters and figures on the thermal tape 12. The print processing unit 27 is one of the functions of the printing unit 7, which includes the thermal head 701. The cutting processing unit 28 cuts the thermal tape 12. The cutting processing unit 28 is one of the functions of the cutting mechanism, which includes the cutter 8.

[0039] In the printer 1 of this embodiment, print data can be created in the same procedure as known printers. The print data includes information indicating the position, size, etc. of the characters and figures to be printed on the thermal tape 12, the number of prints (the number of labels to be created), and information indicating the cutting position. When the print data is created and the control unit 21 receives information instructing printing from the input unit 23, the printer 1 executes a print process based on the print data. The printer 1 of this embodiment performs the print process, for example, in accordance with the flowchart of FIG. 6. FIG. 6 is a flowchart explaining the print process according to one embodiment.

[0040] When the printing process is started, the printing device 1 starts the rotation of the DC motor (step S1) and waits for the rotation of the DC motor to stabilize (step S2). The processes of steps S1 and S2 are performed by the conveyance processing unit 26 under the control of the control unit 21. After the driving unit 2602 drives the DC motor 2601 based on the target value of the rotation speed, the conveyance processing unit 26 waits for the rotation speed of the DC motor 2601 to stabilize. Whether the rotation speed of the DC motor 2601 has stabilized is determined, for example, based on whether the rotation speed detected by the speed detection unit 2603 has stabilized. Whether the rotation speed of the DC motor 2601 has stabilized may be determined, for example, based on the elapsed time since the rotation was started.

[0041] When the rotation of the DC motor becomes stable, the printer 1 performs a rotation speed adjustment process (step S3). The rotation speed adjustment process is a process of adjusting the rotation speed of the DC motor 2601 based on the rotation speed of the DC motor 2601 detected by the speed detection unit 2603 and a target value of the rotation speed. As described above, the target value of the rotation speed is the rotation speed of the motor corresponding to the transport speed of the thermal tape 12 that transports the thermal tape 12 by one line during the period when the thermal head 701 prints one line. The rotation speed adjustment process performed by the printer 1 of this embodiment includes a process of detecting a cover open state and a tape break based on the detected rotation speed of the DC motor 2601 and the speed information 30. A specific example of the rotation speed adjustment process according to this embodiment will be described later.

[0042] After completing the rotation speed adjustment process, the printer 1 judges whether the printer 1 is in a cover-open state or a tape-out state (step S4). The judgment in step S4 is performed, for example, by the control unit 21. If the printer 1 detects in the rotation speed adjustment process that the printer 1 is in a cover-open state or a tape-out state (step S4; YES), the control unit 21 stops printing (step S8).

[0043] If the printer 1 is not in the cover open state or the tape is out state (step S4; NO), the printer 1 prints one line (step S5). The process of step S5 is performed by the transport processing unit 26 and the print processing unit 27 under the control of the control unit 21. In step S5, the printer 1 prints one line in the same procedure as known printers. Note that the process of step S5 may include, for example, a process of cutting the thermal tape 12 while printing one line, or before or after the printing.

[0044] When printing of one line is completed, the printer 1 determines whether or not there is next print data (step S6). The determination in step S6 is made by the control unit 21. The control unit 21 determines whether or not the printing in step S5 has been performed for all lines on the thermal tape 12 designated as the printing target based on the created print data. If there are lines on which printing in step S5 has not been performed, the printer 1 determines that there is next print data. If there is next print data (step S5; YES), the printer 1 performs the processes from step S3 onwards.

[0045] If there is no next print data (step S5; NO), the printer 1 ejects the printed portion of the thermal tape 12 and stops the DC motor 2601 (step S7). The process of step S7 is performed by the transport processing unit 26 and the cutting processing unit 28 under the control of the control unit 21. In step S7, the transport processing unit 26 transports the thermal tape 12 to a position where the boundary between the printed portion and the portion to be used for printing in the next and subsequent printing processes (the leading edge portion that will become a margin) can be cut by the cutting processing unit 28, and stops the DC motor 2601. The cutting processing unit 28 cuts the thermal tape 12 when the boundary on the thermal tape 12 reaches a position where it can be cut.

[0046] Here, we return to the description of the process when the cover open state or the tape run out state is detected. When the cover open state or the tape run out state is detected, the printer 1 cannot print correctly on the thermal tape 12. For this reason, the printer 1 stops printing as described above (step S8). When printing is stopped, the printer 1 ejects the printed portion of the thermal tape 12 and stops the DC motor 2601 (step S7). When printing is stopped before the process of step S5 has been performed even once, there is no printed portion on the thermal tape 12, so the printer 1 only performs the process of stopping the DC motor 2601 in step S7. On the other hand, when printing is stopped after the process of step S5 has been performed one or more times, the printer 1 cuts off and ejects the printed portion up to the line that was the target of printing at the time when printing was stopped, for example.

[0047] FIG. 7 is a flowchart illustrating an example of the rotation speed adjustment process in the flowchart of FIG.

[0048] In the rotation speed adjustment process (step S3), the printing device 1 first detects the rotation speed of the DC motor 2601 (step S301). The rotation speed of the DC motor 2601 is detected by the speed detection unit 2603. The speed detection unit 2603 detects the rotation speed of the DC motor 2601 based on the period of the encoder.

[0049] Next, the printer 1 judges whether the detected rotation speed is within the speed range when the tape is out (step S302). The judgment in step S302 is performed by, for example, the control unit 21. The control unit 21 refers to the speed information 30 stored in the memory unit 24 and judges whether the rotation speed Vr detected by the speed detection unit 2603 is within the speed range when the tape is out (V1≦Vr≦V2). If the detected rotation speed Vr is within the speed range when the tape is out (step S302; YES), the printer 1 recognizes that the current state of the printer itself is a state where the tape is out (step S309) and ends the rotation speed adjustment process. In this case, the state where the tape is out has been detected in the rotation speed adjustment process. Therefore, after ending the rotation speed adjustment process, the printer 1 stops printing (step S8).

[0050] If the detected rotation speed is not within the speed range when the tape breaks (step S302; NO), the printer 1 next judges whether the detected rotation speed is greater than the target value described above (step S303). If the detected rotation speed is equal to or less than the target value (step S303; NO), the printer 1 accelerates the DC motor 2601 (step S304). In step S304, the printer 1 increases the voltage applied to the DC motor 2601 based on the difference between the detected rotation speed and the target value and the relationship between the applied voltage and the rotation speed of the DC motor 2601. If the detected rotation speed is equal to the target value, in step S304, the printer 1 maintains the voltage applied to the DC motor 2601 at the current voltage (accelerates at an acceleration of 0).

[0051] On the other hand, if the detected rotation speed is greater than the target value (step S303; YES), the printer 1 next judges whether the detected rotation speed is within the speed range during normal printing (step S305). The judgment in step S305 is performed, for example, by the control unit 21. The control unit 21 refers to the speed information 30 stored in the storage unit 24 and judges whether the detected rotation speed is within the speed range during normal printing for the thermal tape 12 currently being printed. For example, when the tape type of the thermal tape 12 currently being printed is tape type A in the speed information 30 of FIG. 5, the control unit 21 judges whether the detected rotation speed Vr is VA1≦Vr≦VA2. If the detected rotation speed is within the speed range during normal printing (step S305; YES), the printer 1 decelerates the DC motor 2601 (step S306). In step S306, the printing device 1 reduces the voltage applied to the DC motor 2601 based on the difference between the detected rotation speed and the target value and the relationship between the applied voltage to the DC motor 2601 and the rotation speed.

[0052] If either step S304 or step S306 is performed, the printer 1 recognizes that the current state of the printer is not the lid open state (step S307) and ends the rotation speed adjustment process. In this case, neither the lid open state nor the tape run out state is detected in the rotation speed adjustment process. Therefore, after the rotation speed adjustment process is completed, the printer 1 prints one line (step S5).

[0053] On the other hand, if it is determined that the detected rotation speed is outside the normal printing speed range (step S305; NO), the printer 1 recognizes that the current state of the printer itself is the lid open state (step S308) and ends the rotation speed adjustment process. In this case, the lid open state has been detected in the rotation speed adjustment process. Therefore, after the rotation speed adjustment process ends, the printer 1 stops printing (step S8).

[0054] In this way, in the printing process performed by the printing device 1 according to the present embodiment, in the process of adjusting the rotation speed of the DC motor 2601 based on the detected rotation speed and the target value, it is determined whether the state of the own device is in the cover open state or the tape is out based on the detected rotation speed. That is, in the printing device 1 according to the present embodiment, it is possible to determine whether the state of the own device is in the cover open state or the tape is out based on the detection result of the speed detection unit 2603 used to detect the rotation speed of the DC motor 2601. Therefore, in the printing device 1 according to the present embodiment, it is possible to correctly detect whether the state of the own device is in the cover open state or the tape is out without using a dedicated sensor for detecting the open / closed state of the cover 4. Similarly, in the printing device 1 according to the present embodiment, it is possible to correctly detect whether the state of the own device is in the tape out state or the tape is out without using a dedicated sensor for detecting the remaining amount of the print medium (for example, the thermal tape 12). Therefore, according to the printing device 1 according to the present embodiment, it is possible to correctly detect the state of the printing device 1 without using a dedicated sensor. In addition, since it is possible to correctly detect the state of the printing device 1 without using a dedicated sensor, it is possible to suppress an increase in the manufacturing cost of the printing device 1.

[0055] Furthermore, in the printing device 1 according to this embodiment, printing can be stopped immediately if it is detected that the cover is open during the printing process. This makes it possible to reduce the amount of thermal tape 12 wasted due to printing failure caused by the cover being open during the printing process. Furthermore, in the printing device 1 according to this embodiment, printing can be stopped immediately if it is detected that the tape is out during the printing process. This makes it possible to prevent, for example, the thermal head 701, which heats the heating elements based on the printing data, and the rotating platen roller 6 from being in contact with each other for a long period of time, which can cause scratches on their surfaces.

[0056] The process of detecting whether the state of the printer itself is in the lid open state or the tape out state is not limited to being performed within the printing process described above, but may be performed as a process separate from the printing process. For example, the process of detecting whether the state of the printer itself is in the lid open state may be incorporated into a program executed by the hardware processor of the printer 1 as one of the items in the self-check when the power is turned on, or as a pre-processing for the printing process.

[0057] FIG. 8 is a flowchart illustrating the self-check process performed by the printing device 1 according to an embodiment.

[0058] When performing a process of detecting whether the state of the printer itself is in a cover open state as one of the items of the self-check, the printer 1 first judges whether the tape type has been detected (step S11). The judgment in step S11 is performed, for example, by the control unit 21. The control unit 21 acquires the detection result of the tape type by the tape type detection unit 25 and judges whether the tape type has been detected. For example, when the medium adapter 10 is not accommodated in the adapter accommodation unit 2a of the device housing 2, when the tape roll 11 is not accommodated in the medium adapter 10, or when the tape is out of tape, the tape type is not detected. When the tape type is not detected (step S11; NO), the printer 1 notifies the user that the thermal tape 12 is not set (step S17) using, for example, the display unit 23 (display device 5), and ends the self-check process.

[0059] If the tape type is detected (step S11; YES), the printer 1 starts rotating the DC motor (step S12) and waits for the rotation to stabilize (step S13). Steps S12 and S13 correspond to steps S1 and S2, respectively, in the flowchart of FIG.

[0060] After the rotation of the DC motor 2601 has stabilized, the printer 1 detects the rotation speed of the DC motor (step S14) and determines whether the detected rotation speed is within the normal printing speed range (step S15). Steps S14 and S15 correspond to steps S301 and S305 in the flowchart of Fig. 7, respectively. If the detected rotation speed is within the normal printing speed range (step S15; YES), the printer 1 recognizes that its own state is the lid closed state and ends the self-check process.

[0061] On the other hand, if the detected rotation speed is outside the speed range for normal printing (step S16; NO), the printing device 1 notifies the user, for example, using the display unit 23 (display device 5) that the lid 4 is open (the lid is in an open state) (step S16), and terminates the self-check process.

[0062] In this way, by performing a process to detect whether the lid is open or not before starting the printing process, it is possible to prevent printing failure due to the lid being open during the printing process, and to reduce the amount of thermal tape 12 wasted due to printing failure.

[0063] The above-mentioned embodiment is a specific example shown to facilitate understanding of the invention, and the present invention is not limited to the above-mentioned embodiment. The printing device, the control method, and the program can be modified and changed in various ways without departing from the scope of the claims. For example, the printing device 1 can communicate wirelessly or wired with a communication device such as a smartphone or a tablet computer, and the communication device can be used as an input device and a display device. In this type of printing device 1, the input device 3 and the display device 5 can be omitted.

[0064] In the above embodiment, the open / closed state of the lid 4 is determined based on the detected rotation speed of the DC motor 2601 and the speed range (threshold) during normal printing set based on the target value of the rotation speed of the DC motor 2601 when printing on the thermal tape 12 with the lid 4 closed. However, the open / closed state of the lid 4 may be determined based on the comparison result by, for example, comparing the detected rotation speed of the DC motor 2601 with the rotation speed of the DC motor 2601 when printing on the thermal tape 12 with the lid 4 closed. Similarly, whether the tape is out may be determined based on, for example, the comparison result between the detected rotation speed of the DC motor 2601 and the rotation speed of the DC motor 2601 when printing on the thermal tape 12 with the lid 4 closed. When the rotation speeds are compared to determine the state of the printer 1, the state of the printer 1 can be correctly determined even if the speed range during normal printing changes due to, for example, the environment in which the printer 1 is placed or the usage history of the printer 1. When determining whether the lid 4 is open or closed based on the comparison result of the rotation speed of the motor 2601, the printing device 1 may include a comparison unit that compares the rotation speeds, in addition to the functional blocks illustrated in Fig. 4. The comparison unit that compares the rotation speeds may be incorporated in the control unit 21 or the transport processing unit 26.

[0065] In the above embodiment, an example is described in which a state in which the rotation speed detected by the DC motor 2601 is greater than the target value, such as when the cover is open or the tape is broken, is detected. Alternatively, for example, a state in which the rotation speed detected by the DC motor 2601 is significantly smaller than the target value may be detected. For example, if a foreign object is attached to the surface of the thermal tape 12 and the foreign object is sandwiched between the thermal head 701 and the thermal tape 12, or between the platen roller 6 and the thermal tape 12, the load on the platen roller 6 increases and the rotation speed of the DC motor 2601 may decrease. For this reason, for example, if the detected rotation speed is smaller than the target value and the absolute value of the difference is equal to or greater than a predetermined threshold, the state of the device itself may be recognized as a state in which the conveying speed is decreased due to a foreign object, printing may be stopped, and a notification may be given to the user of the printing device 1. In such a printing device 1, the amount of printing medium wasted due to printing failure caused by a foreign object attached to the surface of the printing medium (for example, the thermal tape 12) can be reduced. Furthermore, since the presence or absence of a foreign object can be detected without using a dedicated sensor, increases in production costs can be suppressed.

[0066] Furthermore, when judging the above-mentioned state of the printing device 1 based on the detected rotation speed of the DC motor, the judgment may be based on, for example, the magnitude of the change in the detected rotation speed over time. For example, the rotation speed of the DC motor 2601 detected in step S301 in the flowchart of Fig. 7 may be compared with the rotation speed detected in the previous rotation speed adjustment process, and if the difference is equal to or greater than a predetermined threshold, it may be judged whether the cover is open or the tape is out.

[0067] The invention as described in the claims of the original application is set forth below. [Appendix 1] a conveying unit that conveys the print medium by the power of a motor; a printing unit that prints on the print medium, and when a lid attached to a device housing is closed with the print medium interposed between the printing unit and the transport unit, the relative position of the printing unit with respect to the transport unit changes in conjunction with the opening and closing operation of the lid, and the printing unit comes into pressure contact with the transport unit via the print medium; a speed detection unit for detecting a rotation speed of the motor; a control unit that determines whether the cover is open or closed based on the detected rotation speed of the motor; A printing device comprising: [Appendix 2] The control unit determines whether the cover is open or closed based on the detected rotation speed of the motor and a threshold value set based on the rotation speed of the motor when printing is performed on the print medium with the cover closed. 2. A printing device as described in claim 1. [Appendix 3] A comparison unit that compares the rotation speeds of the motors is further provided, the comparison unit compares the detected rotation speed of the motor with a rotation speed of the motor when printing on the print medium with the lid closed, The control unit determines whether the cover is open or closed based on a result of the comparison. 2. A printing device as described in claim 1. [Appendix 4] The control unit further adjusts the rotation speed of the motor based on a difference between the detected rotation speed of the motor and a target value of the rotation speed of the motor when printing on the print medium. 2. A printing device as described in claim 1. [Appendix 5] The target value of the rotation speed of the motor is a rotation speed of the motor that corresponds to a transport speed of the print medium that transports the print medium by one line during a period in which the printing unit prints one line on the print medium. 5. A printing device as described in claim 4. [Appendix 6] The control unit determines whether the cover is open or closed during a printing process for printing on the print medium, and when it determines that the cover is open, stops the printing process. 2. A printing device as described in claim 1. [Appendix 7] a conveying unit that conveys the print medium by the power of a motor; a printing unit that prints on the print medium, and when a lid attached to a device housing is closed with the print medium interposed between the printing unit and the transport unit, the relative position of the printing unit with respect to the transport unit changes in conjunction with the opening and closing operation of the lid, and the printing unit comes into pressure contact with the transport unit via the print medium; a speed detection unit for detecting a rotation speed of the motor; a control unit that determines a remaining amount of the printing medium based on the detected rotation speed of the motor; A printing device comprising: [Appendix 8] The control unit further determines the presence or absence of foreign matter on the surface of the print medium based on the detected rotation speed of the motor. 8. The printing device according to claim 7, [Appendix 9] A control method for a printing device that includes a printing unit that prints on a print medium and a transport unit that transports the print medium by power of a motor, and in which the printing unit is in pressure contact with the transport unit via the print medium when a cover of a device housing is closed, comprising: Detecting a rotational speed of the motor; determining whether the cover is open or closed based on the detected rotation speed of the motor; A control method comprising: [Appendix 10] A printing device including a printing unit that prints on a print medium and a transport unit that transports the print medium by the power of a motor, and when a cover of a device housing is closed, the printing unit is in pressure contact with the transport unit via the print medium, Detecting the rotation speed of the motor; The open / closed state of the cover is determined based on the detected rotation speed of the motor. A program characterized by executing a process. [Explanation of symbols]

[0068] 1 Printing device 2. Equipment case 2a Adapter housing 3 Input Devices 4 Lid 401 Key-shaped protrusion 5 Display device 6 Platen roller 7 Printing unit 701 Thermal head 8. Cutter 10 Media Adapter 11 Tape Roll 12 Thermal tape 1301 Locking member 1302 Open button 21 Control section 22 Input section 23 Display section 24 Memory section 25 Tape type detection unit 26 Transport processing section 2601 DC Motor 2602 Drive unit 2603 Speed ​​detection unit 27 Print processing unit 28 Cutting processing section 30 Speed ​​information

Claims

1. a conveying unit that conveys the print medium by the power of a motor; a printing unit that prints on the print medium so as to be in pressure contact with the transport unit via the print medium; a speed detection unit for detecting a rotation speed of the motor; a control unit that determines a state of a remaining amount of the printing medium based on the rotation speed of the motor detected by the speed detection unit; A printing device comprising:

2. The control unit determines a remaining amount of the printing medium depending on whether the rotation speed of the motor detected by the speed detection unit is within a predetermined speed range.

2. The printing device according to claim 1.

3. The control unit determines the presence or absence of a foreign object on the surface of the printing medium based on the rotation speed of the motor detected by the speed detection unit.

3. The printing apparatus according to claim 1, wherein the first and second printing units are arranged in a first direction.

4. A method for controlling a printing device having a conveying section that conveys a print medium by power of a motor, and a printing section that prints on the print medium so as to be in pressure contact with the conveying section via the print medium, comprising: Detecting a rotational speed of the motor; determining a remaining amount of the printing medium based on the detected rotation speed of the motor; A control method comprising:

5. A printing device including a conveying section that conveys a print medium by the power of a motor, and a printing section that prints on the print medium so as to be in pressure contact with the conveying section via the print medium, Detecting the rotation speed of the motor; The remaining amount of the printing medium is determined based on the detected rotation speed of the motor. A program characterized by executing a process.

Citation Information

Patent Citations

  • Recording paper detecting device of printer

    JP1990137969A

  • Tape cassette and tape printer

    JP2010221563A

  • Tape feeding apparatus and tape printing apparatus equipped with the same

    JP2011037154A

  • Printer

    JP2012096389A

  • Printer

    JP2013121668A