This application is based upon and claims the benefit of priority from prior Japanese Patent Application No. 2008-230107, filed Sep. 8, 2008, the entire contents of which are incorporated herein by reference.
The present invention relates to a thermal printer using thermal paper having a thermosensitive on both sides, and a method of controlling the thermal printer.
There is a conventional thermal printer, which is provided with a thermal head at positions corresponding to one side and the other side of thermal paper having a thermosensitive layer on both sides, and prints both sides of thermal paper by operating both thermal heads, or prints one side of thermal paper by operating one of the thermal heads (e.g., Jpn. PAT. Appln. KOKAI Publication No. 2001-71569).
In such a thermal printer, printed thermal paper is conveyed to the end of a cutter, cut by the cutter, and supplied to a user.
The front end of the printed thermal paper cut by a cutter is left at a position corresponding to the cutter. The front end of thermal paper must be returned to a position before a thermal head from the cutter for the next printing, and the printing speed is decreased.
It is considered to solve the problem that the end of printed and cut thermal paper is immediately returned to a position before a cutter. However, two thermal heads are provided for double-side printing, and one of the thermal heads is used for one-side printing. It is thus difficult to prevent slowdown of the printing speed only by returning the front end of thermal paper to a position before a cutter.
It is an object of the present invention to provide a thermal printer, which is configured to reduce much time required before starting either both-side printing and one-side printing, and increase a printing speed, thereby improving the print quality, and a method of controlling the thermal printer.
A thermal printer according to an aspect this invention comprises: thermal paper, which has a thermosensitive layer on both sides, and is fed in a predetermined direction; a first thermal head, which is provided at a position in the thermal paper feeding direction, and prints one side of the thermal paper; a second thermal head, which is provided at a position apart from the first thermal head in the thermal paper feeding direction, and prints the other side of the thermal paper; a first control section, which selectively executes both-side printing with both thermal heads, and one-side printing with one of the thermal head; a second control section, which previously sets the front end of the thermal paper at a position before the thermal head provided in the upstream in the thermal paper feeding direction, when the first control section executes double-side printing; and a third control section, which previously sets the front end of the thermal paper at a position before the thermal head to be used, when the first control section executes one-side printing.
Additional objects and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objects and advantages of the invention may be realized and obtained by means of the instrumentalities and combinations particularly pointed out hereinafter.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention, and together with the general description given above and the detailed description of the embodiments given below, serve to explain the principles of the invention.
An embodiment of the invention will be explained hereinafter with reference to the accompanying drawings. First, a configuration of an essential part is shown in
In
Along the feeding direction of the thermal paper 1, there are provided a first thermal head 11 which contacts the front side 1a of the thermal paper 1, and a second thermal head 12 which contacts the back side 1b of the thermal paper. The first and second thermal heads 11 and 12 are shaped to extend in the direction perpendicular to the thermal paper 1 feeding direction, or in the width direction of the thermal paper 1, and provided at positions apart each other along the thermal paper 1 feeding direction. The first thermal head 11 is positioned in the downstream of the second thermal head 12 in the thermal paper 1 feeding direction. A first platen roller 13 is provided at a position opposite to the first thermal head 11 through the thermal paper 1, and a second platen roller 14 is provided at a position opposite to the second thermal head 12 through the thermal paper 1. A cutter 4 for cutting the thermal paper 1 is provided in the downstream of the first thermal head 11 in the paper-feeding direction.
The distance between the second thermal head 12 in the upstream and the first thermal head 11 in the downstream is X, and the distance between the first thermal head 11 and the cutter 4 is Y.
First and second mark sensors 5 and 6 are provided between the first thermal head 11 and cutter 4, as means for detecting a defect in the first and second thermal heads 11 and 12. The first mark sensor 5 is a reflection type optical sensor, which emits light to the front side of the thermal paper 1, takes in a reflected light from the front side, and detects a front-side mark Ma printed on the front side of the thermal paper 1 as described later. The second mark sensor 6 is a reflection type optical sensor, which emits light to the back side of the thermal paper 1, takes in a reflected light from the back side, and detects a backside mark Mb printed on the back side of the thermal paper 1.
A first front-end sensor 7 is provided at a position before the first thermal head 11 in the thermal paper 1 feeding direction. A second front-end sensor 8 is provided at a position before the second thermal head 12 in the thermal paper 1 feeding direction. The first front-end sensor 7 is a photocoupler, which comprises a light-emitting element 7a and a light-receiving element 7b, opposing each other through the thermal paper 1 feeding path, and detects whether the front end of the thermal paper 1 is set at the position before the first thermal head 11, by changes in the light received by the light-receiving element 7b, which receives the light emitted from the light-emitting element 7a. The second front-end sensor 8 is a photocoupler, which comprises a light-emitting element 8a and a light-receiving element 8b, opposing each other through the thermal paper 1 feeding path, and detects whether the front end of the thermal paper 1 is set at the position before the second thermal head 12, by changes in the light received by the light-receiving element 8b, which receives the light emitted from the light-emitting element 8a.
The CPU 21 has the following means (1) to (5) as primary functions.
(1) A data separation control section, which separates print data D0 supplied from an external host unit 50 into first print data D1 for the front side 1a of the thermal paper 1, and second print data D2 for the back side 1b of the thermal paper 1. The print data D0, first print data D1, and second print data D2 are stored in the RAM 23.
(2) A defect detection section, which detects a defect in the first and second thermal heads 11 and 12, based on the detection results of the first and second mark sensors 5 and 6. The defect detection section includes a means for printing a front-side mark Ma on the front side 1a of the thermal paper 1 with the first thermal head 11, a means for printing a backside mark Mb on the back side 1b of the thermal paper 1 with the second thermal head 12, a means which determines the first thermal head 11 to be defective when the first mark sensor 5 does not detect a front-side mark Ma, and a means which determines the second thermal head to be defective when the second mark sensor 6 does not detect a backside mark Mb.
(3) A first control section, which selectively executes double-side printing with both first and second thermal heads 11 and 12, and one-side printing with one of the thermal heads. In the normal time when the defect detection means detects no defect, the first control section executes double-side printing, by feeding the thermal paper 1, and operating the second thermal head 12 according to the second print data D2, and then operating the first thermal head 11 according to the first print data D1. When the defect detection means detects a defect in the second thermal head, the first control section executes one-side printing, by feeding the thermal paper 1, and operating the first thermal head 11 according to the first and second print data D1 and D2. When the defect detection means detects a defect in the first thermal head, the first control section executes one-side printing, by feeding the thermal paper 1, and operating the second thermal head 12 according to the first and second print data D1 and D2.
(4) A second control section, which previously sets the front end of the thermal paper 1 at a position before the second thermal head 12 (a second position) in the upstream of the first thermal head 11, based on the detection result of the front-end sensor 8, at the time of executing double-side printing with both first and second thermal heads 11 and 12.
(5) A third control section, which previously sets the front end of the thermal paper 1 at the second position before the second thermal head 12, based on the detection result of the front-end sensor 8, at the time of executing one-side printing with the second thermal head 12, and sets the front end of the thermal paper 1 at a position before the first thermal head 11 (a first position), based on the detection result of the front-end sensor 8, at the time of executing one-side printing with the first thermal head 11.
The first thermal head 11 comprises a latch circuit 61, an energization control circuit 62, and an edge head 63, as shown in
Next, the functions of the embodiment will be explained with reference to the flowchart of
Flags f1 and f2 are checked to determine whether on the first and second thermal heads 11 and 12 are defective (steps 101, 102). When the flags f1 and f2 are “0” (YES in steps 101 and 102), the first and second thermal heads 11 and 12 are determined not to be defective, and the front end of the thermal paper 1 is set at a second position before the second thermal head 12 as shown in
When a print job is found (YES in step 104), the thermal paper 1 is fed by forward rotation of the paper-feeding rollers 2 and 3, and the second thermal head 12 prints a square black backside mark Mb at the front left side position on the back side 1b of the thermal paper 1, as shown in
As the double-side printing advances, the first and second mark sensors 5 and 6 detect the front-side mark Ma and backside mark Mb printed on both sides of the thermal paper 1 (step 109). When the first mark sensor does not detect the front-side mark Ma (YES in step 110), the flag f1 to determine whether the first thermal head 11 is defective is set to “1” (step 111).
When the second mark sensor does not detect the backside mark Mb even if the first mark sensor 5 detects the front-side mark Ma (No in step 110, YES in step 112), the flag f2 to determine whether the second thermal head 12 is defective is set to “1” (step 113). When the first and second mark sensors 5 and 6 do not detect the front-side mark Ma and backside mark Mb (NO in step 110, NO in step 112), the flags f1 and f2 are set to “0” (step 114).
When the flag F1 is “0” (YES in step 101) and the flag F2 is “1” (NO in step 102), the first thermal head 11 is determined to be not defective and the second thermal head 12 is determined to be defective, and the display unit 36 informs the user of the defect in the second thermal head 12 (step 115), and the front end of the thermal paper 1 is set at a first position before the first thermal head 11 as shown in
When a print job is found (YES in step 117), the thermal paper 1 is fed by forward rotation of the paper-feeding rollers 2 and 3, and the first thermal head 11 prints a front-side mark Ma at the front left side position on the front side 1a of the thermal paper 1 as shown in
As the one-side printing with the first thermal head 11 advances, the first mark sensor 5 detects the front-side mark Ma printed on the front side of the thermal paper 1 (step 120). When the first mark sensor 5 detects the front-side mark Ma (YES in step 121), the first thermal head 11 is determined to be not defective, and a next print job is waited. However, if the first mark sensor 5 does not detect the front-side mark Ma (NO in step 121), the flag f1 is set to “0” (step 122), and the operation of the corresponding thermal head is stopped (step 123). At the same time, the display unit 36 informs the user of the defect in the first and second thermal heads 11 and 12 and the stop of the operation (step 124). Receiving the information, the user asks for repair.
When the flag f1 is “1” (NO in step 101, the flag f2 may be “1”), the first thermal head 11 is determined to be defective and the second thermal head 12 is determined to be not defective, and the display 36 informs the user of the defect in the first thermal head 11 (step 125), and as shown in
When a print job is found (YES in step 127), the thermal paper 1 is fed by forward rotation of the paper-feeding rollers 2 and 3, and the second thermal head 12 prints a backside mark Mb at the front left side position on the back side 1a of the thermal paper 1 as shown in
As the one-side printing with the second thermal head 12 advances, the second mark sensor 6 detects the backside mark Mb printed on the back side of the thermal paper 1 (step 130). When the second mark sensor 6 detects the backside mark Mb (YES in step 131), the second thermal head 12 is determined to be not defective, and a next print job is waited. However, if the second mark sensor 6 does not detect the backside mark Mb (NO in step 131), the flag f2 is set to “0” (step 132), and the operation of the corresponding thermal head is stopped (step 123). At the same time, the display unit 36 informs the user of the defect in the first and second thermal heads 11 and 12 and the stop of operation (step 124).
As described above, the front end of the printed thermal paper 1 is previously set at a second position before the second thermal head 12 in the case in which a next print job is double-printing. The front end of the printed thermal paper 1 is previously set at a first position before the first thermal head 11 in the case in which a next print job is one-side printing with the first thermal head 11, and a second position before the second thermal head 12 in the case in which a next print job is one-side printing with the second thermal head 12. Therefore, the time required before starting printing can be greatly reduced in either double-side printing or one-side printing. This increases the printing speed, and improves the reliability as a thermal printer.
In the above embodiment, the front-side mark Ma and backside mark Mb are printed at the left side position in the front end of the thermal paper 1. The printing position is not limited to this. The printing position may be appropriately set considering the positions and relationship between the first and second mark sensors 5 and 6. Further, a reflection type optical sensor is used as first and second mark sensors, and a photocoupler is used as first and second position sensors. The kinds of the sensors are not limited to them. The kinds of the sensors may be appropriately selected.
Additional advantages and modifications will readily occur to those skilled in the art. Therefore, the invention in its broader aspects is not limited to the specific details and representative embodiments shown and described herein. Accordingly, various modifications may be made without departing from the spirit or scope of the general inventive concept as defined by the appended claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2008-230107 | Sep 2008 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
7839425 | Morrison | Nov 2010 | B2 |
7891893 | Sekino et al. | Feb 2011 | B2 |
20030112318 | Long et al. | Jun 2003 | A1 |
20090079779 | Saga | Mar 2009 | A1 |
Number | Date | Country |
---|---|---|
2001071569 | Mar 2001 | JP |
Number | Date | Country | |
---|---|---|---|
20100060706 A1 | Mar 2010 | US |