The present invention relates to a method of printing an image on an image receiving medium, such as a tape, and in particular to printing the image across the width of the printing medium.
There have been known for many years thermal printing devices which produce labels on an elongate medium such as tape. Such devices operate with a supply of tape arranged to receive an image and a means for transferring an image onto the tape. In one known device, a tape holding case holds a supply of image receiving tape and a supply of image transfer ribbon, the image receiving tape and the image transfer ribbon being passed in overlap through a print zone of the printing device. At the print zone, a thermal print head cooperates with a platen to transfer an image from the transfer ribbon to the tape. A printing device operating with a tape holding case of this type is described for example in EP-A-0267890 (Varitronics Inc.). In this printing device, the image receiving tape comprises an upper layer for receiving an image which is secured to a releasable backing layer of adhesive.
In another device, the construction of the image receiving tape is such that the upper image receiving layer is transparent and receives an image on one of its faces printed as a mirror image so that it is viewed the correct way round through the other face of the tape. In this case, a double sided adhesive layer can be secured to the upper layer, this double sided adhesive layer having a releasable backing layer. This latter arrangement is described for example in EP-A-032918 and EP-A-0322919 (Brother Kogyo Kabushiki Kaisha).
Printing devices of this type also include display means and an input means such as a keyboard for selecting characters to be printed. Selected characters are displayed on the display means and in this way a user can compose a label to be printed. When a label has been composed a print instruction is given and the printing device proceeds to print a label. Printing devices of this type also include cutting means to cut off the printed portion of the tape to enable it to be used as a label. For use as a label, the releasable backing layer is removed from the upper layer to enable the upper layer to be secured to a surface by means of the adhesive layer. In this way, labels having a character arrangement determined by the user can be made.
The image may be printed on the tape in either a horizontal or vertical orientation to the length of the tape. When the image is printed horizontally, that is along the length of the tape, the user may determine the length of the image, practically without a limit. However, when an image is printed vertically, that is across the width of the tape, the length of the image is limited to the width of the tape. This may present a number of problems to the user when determining whether an image can be printed across the width of the tape and whether the printed image will be legible when printed. Printing text in a vertical direction is however very desirable since it is very useful for spine labels and the like.
In label (c), each character is printed adjacent to the other such that the image extends across the width of the tape. In this case the length of the image is restricted by the width of the tape. Label (d) shows another example of this type of vertical printing. Here, two words have been separated by printing the words beneath the other.
It can be seen that if a user wishes to print a label with an image arranged vertically as shown in
Such methods for printing an image across the width of the tape involve complex algorithms that require a large amount of processing. This increases the memory requirements for the printer and thus increases cost.
It is therefore an aim of the invention to overcome the problems identified in the prior art and to provide an improved method for printing vertical images.
The present invention seeks to overcome these problems when printing within a predefined area, such as across the width of the tape.
According to a first aspect of the present invention there is provided a method for printing an image on an elongate image receiving medium comprising the steps: inputting data defining the image to be printed; selecting a vertical printing mode in which the image is to be printed across the width of the elongate image receiving medium; initiating a print operation for printing the image; generating print data, after vertical printing mode has been selected and the print operation has been initiated in accordance with a print data generation method which ensures that the image fits in the width of the elongate receiving medium; and printing the image using the print data.
In a preferred embodiment of the present invention the print data generation method operates without iterative calculation of size data of at least one character defining the image to be printed.
In the preferred embodiment of the present invention the print data generation method further comprises the steps of comparing a calculated length of the image to a predetermined range, selecting a second character size as a result of the comparison and printing said image with said second character size.
In an alternative embodiment of the present invention the method further comprises the steps of enlarging the image with a second character size if the calculated length of the image is less than said a predetermined length, calculating the length of the image enlarged with the second character size and comparing the calculated length to the first predetermined length.
In a further alternative embodiment of the present invention the character size is determined from a look up table.
According to a second aspect of the present invention there is provided a printer arranged to print an image on an elongate image receiving medium comprising: input means for inputting data defining the image to be printed; selecting means for selecting a vertical printing mode in which the image is to be printed across the width of the elongate image receiving medium; print operation initiating means for initiating a print operation for printing the image; print data generating means arranged to generate print data after vertical printing mode has been selected and the print operation has been initiated in accordance with a print data generation method which ensures that the image fits in the width of the elongate receiving medium; and printing means arranged to print the image using the print data.
For a better understanding of the present invention, and to show how the same may be carried into effect, reference will now be made by way of example to the accompanying drawings in which:—
a and b representations of look up tables used in an embodiment of the invention.
a–d show examples of vertical printing.
The platen 10 is driven by a DC motor 67 (see
The image is printed by the print head 9 on the image receiving tape 63 on a column by column basis with the columns being adjacent one another in the direction of movement of the tape 63. Pixels are selectively activated in each column to construct an image in a manner well known in the art. The DC motor 67 is provided with a shaft encoder for monitoring the speed of rotation of the motor. Sequential printing of the columns of pixels by the printhead 9 is controlled in dependence on the monitored speed of rotation of the motor 67. The control of the speed of the motor 67 is achieved by the microprocessor chip 100 (see
The tape printing device 61 may include at cutting location 68 a cutting mechanism 69 which carries a blade 70. The blade 70 cuts the image receiving tape 63 then enters a slot 71 located in the cassette 60.
The lower cassette 74 contains an ink ribbon 12 which extends from a supply spool 76 to a take up spool 78 within the cassette 74. The ink ribbon 12 extends through the print zone 65′ in overlap with the image receiving tape 63′. The cassette 74 has a recess 71 for receiving the printhead 9′ of the printer. The print head 9′ is movable between an operative position, in which it bears against the platen and holds the ink ribbon 12′ and the image receiving tape 73 in overlap between the print head 9 and the platen 10 and an inoperative position in which it is moved away from the platen to release the thermal transfer ribbon and the image receiving tape. In the operative position the platen 10 is rotated under the action of a DC motor 67′ in a manner as described in relation to
The ink ribbon can be omitted in certain embodiments where the image receiving tape is of a thermally sensitive material. In this case, the image is printed by the thermal print head directly onto the thermally sensitive image receiving tape.
The basic circuitry for controlling the present invention of the printing device is shown in
The ROM 102 stores font data defining alphanumeric characters. Characters to be printed by the printhead are derived from the font data. Characters for display by the display means may also be derived from the same font data stored in the ROM used to derive print data, or may be derived from separate font data stored at a separate location in the ROM. Font data may be stored as compressed data e.g. Bezier as or bitmap information. It will be appreciated that different variations of the characters can be produced from the font data stored in the ROM by manipulation by the microprocessor 101 using the memory capacity of the RAM 104. For example, characters of different sizes to be printed can be produced. In order to print a character from Bezier data an appropriate scaling factor may be applied to the font data. Alternatively, an already sized bit map version of the character can be used.
Characters to be printed are entered into the printing device using the character keys designated generally referred to by the block 111 but in practice comprising a plurality of lettered and numbered keys CK. As each character is entered using the keyboard 108, the keyboard inputs information to the microprocessor 101 which drives the display 109 to display the characters as they are inputted. To do this, for each character which is entered, the microprocessor calls up the stored font data for forming that character from the ROM 102. The font data for that character is copied to the RAM 104 and is manipulated by the microprocessor 101 to generate pixel data representing the character. This pixel data is transferred to the display 108 and the character is displayed. The generation of print data from the stored font data will be described herein after.
In an embodiment of the present invention, the printing device may be arranged to print on image receiving tapes of different widths. Therefore, the printing device may be provided with a sensing arrangement to determine the width of the tape in the cassette installed. When a cassette holding an image receiving tape is inserted into the printing device, the sensing arrangement (not shown) determines the width of the tape. The determined width is then stored in the RAM of the microprocessor. A suitable sensing arrangement is disclosed in our European Patent EP0574165, the contents of which are hereby incorporated by reference.
In a further embodiment of the present invention, tape width is detected by the location of a tape size switch. Cassettes having tapes of different sizes have a recess in different positions. A tape size switch is located in the cassette bay. The user is required to adjust the switch to the correct location to match the recess such that the tape cassette can be inserted, thus indicating the width of the tape. An arrangement of this kind is disclosed in our European Patent EP0634274, the contents of which are hereby incorporated by reference.
Various functions of the printing device may be selected using function keys FK. Vertical printing mode may be selected by selecting a vertical mode function key 122. Vertical printing mode causes an image such as a character string to be printed such that the character string extends across the tape width, i.e., the image is printed perpendicular to the length of tape, with characters rotated through 90 degrees, see
In an embodiment of the present invention, the vertical printing mode is only operational when a tape having a particular tape width is installed, e.g., the largest width.
In an alternative embodiment of the invention, vertical print mode may be operational for different tape widths. In such embodiments, the maximum printable length of an image printed across the tape will depend on the width of the tape, since the length of the printed image cannot exceed the width of the tape.
In further embodiments of the invention, the width of the tape installed in the printer may exceed the height of the print head. In such embodiments the maximum length of an image printed across the width of the tape will be equal to the height of the print head. For example, if the print head height is 13.5 mm the maximum length of an image printed across 19 mm width tape will be 13.5 mm.
In accordance with an embodiment of the invention when vertical print mode is selected, print data is not generated until a print operation is executed. When vertical mode is selected and a character string is entered, the characters are displayed on the display as each character is selected on the keyboard as, discussed above. An icon indicating that vertical mode has been activated, may also be displayed on the display.
In a preferred embodiment of the present invention when the user selects vertical mode, the printer disables any facility that enables the user to manually select the size of the image.
When the user has completed entering the character string to be printed, the user may execute a print command by selecting a print key.
As previously described, font data may be stored in the ROM. In this embodiment bit map data is stored for small ‘S’ and extra small ‘XS’ fonts only. In response to the execution of a print command the microprocessor retrieves character width information for the small ‘S’ font data from the ROM for each character in the character string. The length of the character string in the small font is then calculated and the microprocessor executes the following algorithm:
When executing the algorithm, the microprocessor compares the calculated length to distinct ranges in sequence. Firstly the length of the character string is compared to the range 0—tape width/4. If the length falls within this range, the microprocessor determines that the character string is to be printed in large font ‘L’. If the length does not fall within this range the calculated length is compared to the second range tape width/4—tape width/2. If the calculated length falls within this range, the microprocessor determines that the character string is to be printed in medium font ‘M’. If the length does not fall within this range the calculated length is compared to a third range tape width/2—tape width. If the calculated length falls within this range, the microprocessor determines that the character string is to be printed in small font ‘S’.
If the calculated length does not fall within the third range, the microprocessor retrieves small ‘XS’ font data from the ROM for each character in the character string. The length of the character string in the extra small font is then calculated. If the length of the character string in extra small font is less than the tape width the microprocessor determines that the character string is to be printed in extra small font. However if the length of the character string in extra small font is larger than the tape width, an error message is displayed.
If it is determined that the character string should be printed in either large or medium font, the microprocessor then applies the appropriate decompression algorithm to the small font data forming each character in the character string retrieved from the ROM and copied to the RAM to generate print data representing each character. Alternatively, if it is determined that the character string should be printed in either small or extra small font, the font data is simply retrieved from the ROM and used to generate print data. This print data is then transferred column by column to the print head for printing.
In an alternative embodiment of the present invention, when the tape width exceeds the height of the print head, the algorithm used to calculate the font size uses the ranges ‘0—print head height/4’; ‘print head height/4—print head height/2’; and ‘print head height/2—print head height’ as the first second and third ranges respectively.
In an alternative embodiment of the present invention, when the user selects the vertical mode, look up tables stored in the ROM may be used to indicate the printed size of the font of each character in the character string.
A separate look up table may be stored in the ROM for each width of tape which may be used in the printing device. The width of the tape may be input by the user or may be sensed using the tape width sensing arrangement described earlier. The microprocessor 100 uses the input tape width value to determine which look up table should be referred to in the vertical mode.
As shown in
Since the maximum number N of characters that can be printed across the tape, for each tape width is fixed, it may be advantageous to alert the user may to the maximum number of characters that may be input on one line. This may occur each time the user selects the vertical mode.
In another embodiment of the present invention a single look up table may be stored having a column that includes different tape widths as shown in
As described previously, when the user selects alphanumeric keys on the keyboard 108, display data is generated in the RAM and displayed on the display. When the print command is executed by the user, for example, by selecting a print function key on the keyboard the microprocessor determines the number of characters in the character string. Using the number of characters in the character string, and the width of the tape, the microprocessor refers to the look up table to determine the size print font to be used. The microprocessor then applies this size to the font data forming each character in the character string that has been copied to the RAM to generate print data representing each character. This print data is then transferred column by column to the print head for printing.
In an embodiment of the invention, when the vertical mode is activated, the user may be prevented from entering a greater number of characters than the maximum number of characters N that may be printed across the detected tape width.
In a further embodiment of the invention, if the number of characters in the character string exceeds the number of characters N that may be printed across the detected tape width, an error message will be displayed to the user when the user executes a print operation. Alternatively, or additionally, printing may be inhibited.
In a further embodiment of the invention, if the number of characters in the character string exceeds the number of characters N that may be printed across the detected tape width, the microprocessor will generate print data for, and print each set of N characters of the character string on adjacent lines until the entire character string has been printed.
An alternative embodiment of the present invention will now be described with reference to
At step 1 of the flow chart the user executes a print operation with vertical mode selected, after having entered a character string to be printed.
At step 2 the microprocessor retrieves font data from the ROM for each character in the character string and copies it into the RAM. The font data that has been copied to the RAM is then sized to the smallest font that is printable by the printing device, in this example, extra small ‘XS’. In an alternative embodiment of the invention, the font data stored in the ROM may be stored as bitmap data for the extra small font. In this case the font for each character in the character string is simply copied to the RAM.
At step 3 the length of the character string, is determined.
At step 4, the length of the character string is compared to the maximum printable length. As previously stated, in some embodiments of the present invention the maximum printable length will be equal to the width of the image receiving tape installed in the printing device. In practice the maximum printable length may be slightly less than the width of the tape so that margins, i.e. blank spaces may be provided between the edges of the tape and the image. Alternatively, when the width of the image receiving tape is greater than the height of the print head the maximum printable length is equal to the height of the printhead.
If the length of the character string is less than 75% of the maximum printable length the process continues to step 5 where the font data is sized to the next font size up. The process then returns to step 3.
If the length of the character string in the applied font size is equal to or larger than 75% of the maximum printable length, the process continues to step 6 where it is determined if the character string in the applied font is less than, or equal to the maximum printable length.
If the length of the character string is less than or equal to the maximum printable length, the process continues to step 7 and the character string is printed.
If the length of the character string is greater than the maximum printable length, the process continues to step 8 and an error message is displayed to the user.
The applicant draws attention to the fact that the present invention may include any feature or combination of features disclosed herein either implicitly or explicitly or any generalisation thereof, without limitation to the scope of any of the present claims. In view of the foregoing description it will be evident to a person skilled in the art that various modifications may be made within the scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
90325264.0 | Oct 2003 | GB | national |
Number | Name | Date | Kind |
---|---|---|---|
4815871 | McGourty et al. | Mar 1989 | A |
4927278 | Kuzuya et al. | May 1990 | A |
4966476 | Kuzuya et al. | Oct 1990 | A |
5230572 | Hirono et al. | Jul 1993 | A |
5344247 | Sakuragi et al. | Sep 1994 | A |
5456545 | Sims et al. | Oct 1995 | A |
5520469 | Owa | May 1996 | A |
5540510 | Sims et al. | Jul 1996 | A |
5551785 | Mori et al. | Sep 1996 | A |
5649775 | Sakuragi et al. | Jul 1997 | A |
5761338 | Kasamatsu | Jun 1998 | A |
5987270 | Hulan et al. | Nov 1999 | A |
6302603 | Akaiwa et al. | Oct 2001 | B1 |
6532078 | Hayama | Mar 2003 | B1 |
6829058 | Kumada | Dec 2004 | B1 |
6909525 | Sato | Jun 2005 | B1 |
Number | Date | Country |
---|---|---|
0557137 | Feb 1993 | EP |
0819542 | Jul 1996 | EP |
0855282 | Jul 1998 | EP |
1040928 | Oct 2000 | EP |
9938692 | Aug 1999 | WO |
Number | Date | Country | |
---|---|---|---|
20050147441 A1 | Jul 2005 | US |