Abstract:
A label printer capable of keeping the printed contents from exceeding the bounds of the label. The printer ( 10 ) detects the leading edge of a sheet of paper ( 1 ) as well as eye marks using a detecting sensor ( 70 ). Cueing is performed by a control unit ( 40 ). When the difference between the length of the sheet of paper ( 1 ) from the leading edge to the first eye mark and the length of the sheet of paper ( 1 ) from the first eye mark to the second eye mark is less than a threshold value, printing is started from the first label and when the difference is at or above the threshold value, printing is started from the second label.

Description:
CROSS-REFERENCE TO RELATED APPLICATIONS 
     The present application is a 35 U.S.C. §§371 national phase conversion of PCT/JP2012/081534, filed Dec. 5, 2012, which claims priority of Japanese Patent Application No. 2012-028162, filed Feb. 13, 2012, and Japanese Patent Application No. 2012-205356, filed Sep. 19, 2012, the contents of which are incorporated by reference herein. The PCT International Application was published in the Japanese language. 
     TECHNICAL FIELD 
     The present invention relates to a printer. 
     BACKGROUND ART 
     A printer that performs thermal-transfer printing or dye-sublimation thermal-transfer printing uses ink ribbons. A printer capable of performing color printing uses ink ribbons of four colors including cyan (C), magenta (M), yellow (Y), and black (K). The ink ribbons of CYMK are arranged in line, carried by platen rollers for the corresponding colors, and sequentially printed on a label as a printing target by thermal heads for the corresponding colors. 
     PTL 1 Japanese Unexamined Patent Application Publication No. 2004-90227 discloses a printer capable, even when high-speed printing is performed, of stably transferring a label continuous body in which a plurality of labels are temporarily attached to a belt-like liner, and performing printing within a predetermined printing area. 
     SUMMARY OF INVENTION 
     Technical Problem 
     When setting a sheet member such as label continuous body to a printer to start printing, it is necessary to carry out strict positioning, called cueing, of a leading end of the label continuous body. There has been a problem that when the cueing is not strictly carried out, a position for starting the printing may be wrong, e.g. go out of alignment, and printing on a first label may not be appropriately performed. Thus, printing content may be printed outside the label. 
     An object of the present invention is to provide a printer capable of preventing the printing content from being printed outside a sheet or label continuous member while improving usability for an operator. 
     Solution to Problem 
     The present invention addresses the above problem employing the following solutions. 
     A first aspect of the invention provides a printer for performing printing on a sheet or label continuous body. The printer includes: a leading end detector configured to detect a leading end of the sheet; another end portion detector configured to detect an end portion of each sheet; a transfer device configured to transfer the sheet; and a control device configured to obtain a length of one of the labels that is adjacent to the leading end of the sheet, based on results of the detection by the leading end detector and the end portion detector, and to control the transfer device according to a result that has been detected. 
     A second aspect of the invention provides a label printer according to the first aspect, in which the sheet is provided with identification marks in association with each of the or label continuous body of the sheet, and the end portion detector detects the end portion of each of the labels of the sheet by detecting the identification marks. 
     A third aspect of the invention provides the printer according to at least one of the first or the second aspect, in which the control device performs: a first step of obtaining a length of the sheet after the leading end is detected by the leading end detector until a rear end portion of a first of the labels of the sheet adjacent to the leading end is detected by the end portion detector; a second step of obtaining a length of the sheet after the rear end portion of the first of the labels of the sheet is detected by the end portion detector until a rear end portion of a second of the labels of the sheet is detected by the end portion detector; and when a difference between the length obtained in the first step and the length obtained in the second step is smaller than a predetermined threshold value, a third step of starting printing on the first of the labels adjacent to the leading end of the sheet, and when the difference between the length obtained in the first step and the length obtained in the second step is equal to or greater than the threshold value, starting printing on the second of the labels of the sheet. 
     A fourth aspect of the invention provides a label printer according to the third aspect, in which when the difference between the length obtained in the first step and the length obtained in the second step is smaller than the threshold value, then in the third step, the control device starts printing on the first of the labels of the sheet, assuming that a length of the sheet from the leading end of the sheet to the rear end portion of the first of the labels of the sheet is equal to an average of the length obtained in the first step and the length obtained in the second step. 
     Advantageous Effect of Invention 
     According to the present invention, it is possible to prevent printing content from being printed outside a sheet member while improving usability for an operator. 
    
    
     
       BRIEF DESCRIPTION OF DRAWINGS 
         FIG. 1  is a diagram schematically illustrating an embodiment of a printer according to the present invention. 
         FIG. 2  is a rear-side view of a paper sheet. 
         FIG. 3  is a rear-side view of the paper sheet. 
         FIG. 4  is a flowchart of a cueing processing of the printer according to the present invention. 
     
    
    
     DESCRIPTION OF EMBODIMENTS 
     Hereinafter, a best mode for carrying out the present invention will be described with reference to the drawings. 
     Embodiment 
       FIG. 1  illustrates an embodiment of a printer. 
     Throughout the drawings including  FIG. 1 , XYZ orthogonal coordinates show same directions. The X, Y, and Z merely indicate the directions, and not an absolute position, such as an origin position. 
     Further, all the drawings including  FIG. 1  show general outlines, and sizes and shapes of components are shown with exaggeration as appropriate in order to facilitate understanding. 
     In addition, while values, shapes, materials, and the like are specifically stated in the following description, they may be altered as needed. 
     A printer  10  is a thermal-transfer type color label printer for printing on a label continuous body (paper sheet) of labels temporarily attached to a liner as a sheet. The printer performs printing by transferring a plurality of different color inks of the ink ribbons to the paper sheet. In the following example, printing is performed using ink ribbons of four colors including yellow (Y), magenta (M), cyan (C), and black (B), for example. 
     Referring to  FIG. 1 , the paper sheet  1  is in a paper roll  2  rolled in a rolled up state. It is rotatably supported around a sheet feed shaft  11  provided for a housing  14  of the printer  10 . The paper sheet  1  pulled from the sheet feed shaft  11  enters the housing  14  through a paper sheet supply inlet  18 , and is held and transferred between a drive roller  12  and a pressure roller  13 . 
     Further, the housing  14  is provided with four ink ribbon cassettes  20 Y,  20 M,  20 C, and  20 B along a transfer direction of the paper sheet  1 , from an upstream side of the transfer direction (right in the Figure) to a downstream side of the transfer direction (left in the Figure). For example, the ink ribbon cassette  20 Y is loaded with an ink ribbon of yellow (Y); the ink ribbon cassette  20 M is loaded with an ink ribbon of magenta (M); the ink ribbon cassette  20 C is loaded with an ink ribbon of cyan (C); and the ink ribbon cassette  20 B is loaded with an ink ribbon of black (B). 
     There are disposed within the housing  14  of the printer  10  and corresponding respectively to the four types of ink ribbon cassettes  20 Y- 20 B, four platen rollers  15 Y,  15 M,  15 C, and  15 B, four thermal heads  16 Y,  16 M,  16 C, and  16 B, and four separation plates  17 Y,  17 M,  17 C, and  17 B along the transfer direction of the paper sheet. The respective thermal heads  16 Y- 16 B are respectively inserted into the ink ribbon cassettes  20 Y- 20 B. Further, the thermal heads  16 Y- 16 B are positioned so as to face respectively against the platen rollers  15 Y- 15 B. The separation plates  17 Y- 17 B are positioned on the downstream side respectively from the thermal heads  16 Y- 16 B. The four platen rollers  15 Y- 15 B, the four thermal heads  16 Y- 16 B, and the four separation plates  17 Y- 17 B of the respective colors constitute four printing units in combination. Each of the printing units performs printing using a corresponding one of the ink ribbon cassettes  20 Y- 20 B that are respectively set. 
     For each of the four types of ink ribbon cassettes  20 Y- 20 B, an ink ribbon  23  is suspended over an ink ribbon supply shaft  21  and an ink ribbon take-up shaft  22 . The ink ribbon take-up shaft  22  is driven and rotated by a motor provided within the housing. 
     The unused ink ribbon  23  that is in the rolled state, and supported around the ink ribbon supply shaft  21  of the ink ribbon cassette  20 Y of yellow is fed along with the paper sheet  1  between the platen roller  15 Y and the thermal head  16 Y where ink is transferred from the ink ribbon  23  to the paper sheet  1 . After that transfer, the ink ribbon  23  is separated from the paper sheet  1  by the separation plate  17 Y and is then taken up by the ink ribbon take-up shaft  22 . 
     The platen roller  15 Y transfers the paper sheet  1  and the ink ribbon  23  in the same direction at the same speed by being driven and rotated by the motor provided within the housing. 
     The thermal head  16 Y includes a plurality of minute heat generators along a width direction, and the heat generators generate heat when electrical energy is applied from a source thereof. Printing using the yellow ink ribbon loaded in the ink ribbon cassette  20 Y is performed by applying energy to the heat generators which produce heat, and that in turn heats the ink of the ink ribbon  23  to transfer the ink to a label along the sheet  23 . 
     The succeeding platen rollers  15 M- 15 B are configured like the platen roller  15 Y, the thermal heads  16 M- 16 B are configured like the thermal head  16 Y and the separation plates  17 M- 17 B are configured like the separation plate  17 Y. 
     After the paper sheet  1  has passed a position of the platen roller  15 Y, it sequentially passes positions of the platen rollers  15 M- 15 B, where printing using the ink ribbons of magenta, cyan, and black respectively loaded in the ink ribbon cassettes  20 M- 20 B is sequentially performed by the respective thermal heads  16 M- 16 B. The paper sheet  1  that has been printed is discharged through a paper sheet outlet. 
     Further, the printer  10  includes an input unit  30 , a control unit  40 , a display unit  45 , and a detecting sensor  70 . 
     The input unit  30  includes a plurality of operation keys, and is used for operating the printer  10  including inputting data for color printing to the printer  10 . 
     The display unit  45  includes an LCD (liquid crystal display) panel or a plurality of LEDs (light-emitting diodes) for displaying information such as an error message, and displays various indications based on signals supplied from the control unit  40 . 
     The detecting sensor  70  detects a leading end of the paper sheet  1  and eye marks  7  as identification marks (see  FIGS. 2 and 3 ). 
       FIG. 2  is a rear-side view of the paper sheet  1  that is the side of the sheet opposite the side inked by the ink ribbon  23 .  FIG. 3  is a rear side view of the paper sheet  1  illustrated in  FIG. 2  from which a part of a portion corresponding to a first label is absent. The sheet is comprised of a continuous strip liner  5  on which a succession of individual labels are temporarily adhered. Eye marks  7  are marks provided respectively in association with the labels  6  on a surface of the liner  5  that is opposite a surface of the liner to which the labels  6  are temporarily attached. Each mark is configured as a rectangular black mark, for example. 
     In  FIGS. 2 and 3 , there are two side ends at the leading and trailing ends of each label  6  that are substantially perpendicular to a direction along which the liner  5  extends. One side end is closer to the leading end of the paper sheet  1  and is referred to as a front end portion of the label  6 , and the other side end is distant from the leading end of the paper sheet  1  and is referred to as a rear end portion of the label  6 . In this case, the eye marks  7  are provided near the rear end portion of the label  6  of the liner  5 . 
     The control unit  40  controls operation of each component of the printer  10 . For example, upon setting of the paper sheet  1  so as to be rotatably supported around the sheet feed shaft  11 , the control unit  40  performs cueing processing illustrated in  FIG. 4 . This cues the paper sheet  1  by controlling the drive roller  12 , the pressure roller  13 , and the platen rollers  15 Y- 15 B based on detection by the detecting sensor  70 . 
       FIG. 4  is a flowchart of the cueing processing performed by the control unit  40 . 
     In Step S 101 , the control unit  40  performs paper-sheet leading-end detection processing. The control unit  40  causes the paper sheet  1  that has entered the housing  14  through the paper sheet supply inlet  18  to be held and transferred between the drive roller  12  and the pressure roller  13 , and then the detecting sensor  70  detects the leading end of the paper sheet  1 . 
     In Step S 102 , the control unit  40  performs first eye-mark detection processing. The control unit  40  causes the paper sheet  1  which is having its leading end detected to be held and further transferred between the drive roller  12  and the pressure roller  13 . The detecting sensor  70  detects the eye marks  7  on the back side of the paper sheet  1 . It detects the eye marks  7  associated with one of the labels  6  disposed adjacent to the leading end of the paper sheet  1 , i.e., the first ones of the eye marks  7  provided in association with a first one of the labels  6 . 
     In Step S 103 , the control unit  40  performs second eye-mark detection processing, in which the control unit  40  causes the paper sheet  1  having the first ones of the eye marks  7  detected to be held and further transferred between the drive roller  12  and the pressure roller  13 , and the detecting sensor  70  to detect the eye marks  7  provided on the back side of the paper sheet  1 . This detects the eye marks  7  associated with a second one of the labels  6 . 
     In Step S 104 , the control unit  40  obtains the length of the paper sheet  1  from its leading end to the first ones of the eye marks  7 . The length of the paper sheet  1  from the leading end of the paper sheet  1  to the rear end portion of the first label  6  that is adjacent to the leading end is obtained by obtaining the number of rotations of the drive roller  12  and the pressure roller  13  after the leading end of the paper sheet  1  is detected in Step S 101  until the first eye marks  7  are detected in Step S 102 . 
     In Step S 105 , the control unit  40  obtains the length of the paper sheet  1  from the first ones of the eye marks  7  to the second ones of the eye marks  7 , i.e., the length of the paper sheet  1  from the rear end portion of the first label  6  to the rear end portion of the second label of the labels  6 , by obtaining the numbers of rotation of the drive roller  12  and the pressure roller  13  after the first ones of the eye marks  7  are detected in Step S 102  until the second ones of the eye marks  7  are detected in Step S 103 . 
     In Step S 106 , the control unit  40  determines whether or not a difference between the length of the paper sheet  1  from its leading end to the first ones of the eye marks  7  obtained in Step S 104  and the length of the paper sheet  1  from the first ones of the eye marks  7  to the second ones of the eye marks  7  obtained in Step S 105  is smaller than a predetermined threshold value. If the difference has been determined to be smaller than the threshold value, the process moves to Step S 110 . If the difference has been determined to be equal to or greater than the threshold value, then the process moves to Step S 107 . 
     In Step S 107 , the control unit  40  causes the paper sheet  1  to be held and transferred between the drive roller  12  and the pressure roller that are in this step rotated backward until the detecting sensor  70  detects the leading end of the paper sheet  1 . 
     In Step S 108 , the control unit  40  causes the paper sheet  1  to be held and transferred between the drive roller  12  and the pressure roller until the detecting sensor  70  detects the first ones of the eye marks  7 . According to this processing, printing is to start from the second one of the labels  6 . 
     In Step S 109 , the control unit  40  sets such that the printing of the second label  6  is performed using the length of the paper sheet  1  from the first ones of the eye marks  7  to the second ones of the eye marks  7  obtained in Step S 105 , and the cueing processing shown in  FIG. 4  is terminated. According to this processing, for printing on the second label  6 , the paper sheet  1  is transferred assuming that the length of the paper sheet  1  from the eye marks  7  provided in association with the first of the labels  6  to the eye marks  7  provided in association with the second of the labels  6  is equal to the length of the paper sheet  1  from the first ones of the eye marks  7  to the second ones of the eye marks  7  obtained in Step S 105 . 
     In Step S 110 , the control unit  40  causes the paper sheet  1  to be held and transferred between the drive roller  12  and the pressure roller that are rotated backward until the detecting sensor  70  detects the leading end of the paper sheet  1 . According to this processing, printing is to start from the first label  6 . 
     In Step S 111 , the control unit  40  sets such that the printing of the first of the labels  6  is performed using an average of the length of the paper sheet  1  from its leading end to the first ones of the eye marks  7  obtained in Step S 104  and the length of the paper sheet  1  from the first ones of the eye marks  7  to the second ones of the eye marks  7 , and the cueing processing shown in  FIG. 4  is terminated. According to this processing, during printing on the first label of the labels  6 , the paper sheet  1  is transferred assuming that the length of the paper sheet  1  from its leading end to the first ones of the eye marks  7  is equal to the average of the length of the paper sheet  1  from its leading end to the first eye marks and the length of the paper sheet  1  from the first ones of the eye marks  7  to the second ones of the eye marks  7 . 
     As described above, according to this embodiment, when the difference between the length of the paper sheet  1  from its leading end to the first ones of the eye marks  7  and the length of the paper sheet  1  from the first ones of the eye marks  7  to the second ones of the eye marks  7  is equal to or greater than the threshold value, the printing starts from the second label, without printing on the first label. Accordingly, the printing on the first of the labels  6  is not performed when a part of the first of the labels  6  is absent as shown in  FIG. 3 , or when the length from the leading end to the first of the labels  6  is longer than usual. Therefore, it is possible to prevent a position for starting printing from going out of alignment, and prevent a printing content from being printed outside the label  6 . 
     Further, when an operator sets the paper sheet  1 , the printer  10  performs the cueing processing. Accordingly, it is possible to improve usability for the operator by simplifying the steps of cueing by the operator. 
     Modified Embodiment 
     The present invention is not limited to the embodiment described above, and various modifications and alterations are possible without departing from the scope of the present invention. 
     The embodiment described above has taken the example in which the detecting sensor  70  detects the leading end of the paper sheet  1  and the eye marks  7 . Alternatively, the detecting sensor  70  may detect a region of the liner  5  to which the labels  6  are not attached, i.e., a label gap, instead of detecting eye marks  7 . 
     Further, the paper sheet  1  is not limited to a label continuous body, but may alternatively be any sheet member as long as the detection of the length of each unit of the sheet is possible. 
     It should be appreciated that the present invention is not limited to the embodiments described above. 
     REFERENCE SIGNS LIST 
     
         
         
           
               1 : Paper Sheet 
               5 : Liner 
               6 : Label 
               7 : Eye Mark 
               10 : Printer 
               15 A,  15 B,  15 C,  15 D: Platen Roller 
               16 A,  16 B,  16 C,  16 D: Thermal Head 
               20 A,  20 B,  20 C,  20 D: Ink Ribbon Cassette 
               23 A,  23 B,  23 C,  23 D: Ink Ribbon 
               40 : Control Unit 
               70 : Detecting Sensor