The illustrative embodiments described in the present application are useful in systems including those using thermal printheads and more particularly are useful in systems including those for providing thermal printhead temperature management by preprocessing images for use with direct contact thermal printheads.
Direct contact thermal print heads are typically designed to produce heat using thermal printhead heating elements in order to activate thermal media such as a thermal media label stock. Such thermal media may be gray scale media or in some cases, color media. When used with a grayscale thermal media stock, the elements are heated to higher levels to produce a darker gray output on the thermal media label stock. The thermal printhead typically includes a linear array of resistive heating elements that are brought to increased temperatures using increased drive current. The thermal media passes over the linear array and portions of the media are activated due to the heat present at each heater element.
The typical thermal print head includes a heat sink thermally connected to the heating elements so that heating elements will more quickly cool when the drive current is removed. Thermal printhead elements may be heated relatively quickly, but cool down more slowly using a heat sink. Accordingly, the printhead temperature curve includes hysterisis. The printheads often include a thermistor that is used to measure ambient temperature at the printhead and provide feedback to the printhead processor so that the heating elements may be properly driven to achieve the desired heat and intensity on the thermal media.
The temperature hysteresis problem is more troublesome at higher printing speeds and may affect the quality of printing gray-scale or color images. For example, when a dark or high intensity pixel is printed, the print head uses a high current to achieve the heat required at the heating element for that particular thermal media. If the subsequent pixel is relatively light or low intensity, the heating element may have retained significant heat from the prior pixel printing cycle. Accordingly, the printer must compensate for the pre-heated condition of the print head in a process that is referred to as Thermal History Management. In such a situation, the printhead might not use as much drive current because the print element is already somewhat heated. The printer must also manage the overall pre-heating of the printhead heat sink that affects all nearby printing elements in a process that is referred to as Thermal or Power Management. The printhead typically includes local processing systems to perform such compensation routines and thus requires a more expensive printer controller that is capable of performing the required calculations.
Thermal printheads are available from several companies including Kyocera Industrial Ceramics Corp. of Vancouver, Wash. Such printheads are available in a variety of sizes and geometric configurations sand may be purchased having resolutions of approximately 200 through 600 dots per inch (dpi). For example, the Kyocera KSB320BA printhead includes a chip thermistor. The printheads may vary in widths including approximately 40 mm through 927 mm and in custom configurations may have narrower widths including 27 mm. Similarly, thermal printers and printheads are available from several companies including the P91DW printer available from Mitsubishi Electric of Irvine, Calif. Thermal printheads may be constructed using thick film fabrication techniques.
Thermal printer subsystems may include a thermal printhead and a control processor or ASIC. The control processors may perform thermal history management locally on the fly as an image is printed. However, such systems require additional components and/or software to perform such hardware real-time thermal history management. A print control device and method of printing using the device is described in U.S. Pat. No. 6,709,083 B2, issued Mar. 23, 2004 to Fukushima. Fukishima describes a hardware temperature management circuit and feedback scheme for controlling heating element temperature.
Many thermal printheads are designed to operate as generic printers using standard printer software drivers to accommodate arbitrary images that are sent to the printer. The prior art does not provide a system and method for providing thermal printhead thermal history management and compensation in an external device.
Accordingly, it is an object of the present application to describe systems and methods for providing thermal printhead thermal history temperature management by preprocessing target images.
For example, in one illustrative embodiment, a thermal compensation process is applied to a target image to provide offset values in order to create a compensated image that is printed.
In another illustrative embodiment, a quality parameter is used to allow sub-optimal output to increase printer speed.
In yet another illustrative embodiment, a printhead and media compensation overlay is developed for use in a generic compensation process.
Therefore, it should now be apparent that the invention substantially achieves all the above aspects and advantages. Additional aspects and advantages of the invention will be set forth in the description that follows. Various features and embodiments are further described in the following figures, description and claims.
The accompanying drawings illustrate presently preferred embodiments of the invention, and together with the general description given above and the detailed description given below, serve to explain the principles of the invention. As shown throughout the drawings, like reference numerals designate like or corresponding parts.
Illustrative systems and methods useful for determining a thermal printer history and/or temperature management process for a thermal printhead and a thermal media are described. Additionally, systems and methods useful for applying a thermal printer history and/or temperature management system are described.
Referring to
Referring to
Referring to
In certain thermal printing applications, especially when they are printing at relatively high speeds, thermal history management and thermal compensation may be required to achieve adequate print quality. Many thermal printers are designed for use as a generic printer that must print arbitrary image data as it is sent to the printer. If those printers were to employ thermal history management and/or thermal compensation, such functions might be performed locally at the printhead by a dedicated controller. Such processing might also result in a processing delay and therefore slower print speeds.
Referring to
The labels 30 comprise a modified Mitsubishi K615-ce direct thermal media having a signaling section such as a coating of a taggant material such as a luminescent material. The labels 10 may be pre-cut to have a standard length such as 2.6 inches or perforated to have two 1.3 inch halves. Alternatively, the label stock may be continuous and may be cut to the appropriate length or torn off the roll after the printing process. The 2.6-inch pre-cut labels may be further perforated so that two label halves may be separately utilized. In yet another embodiment, a thermal media label roll may include 1.3 inch labels that may be used two at a time to create an aggregated 2.6 inch long label or one at a time to utilize only a 1.3 inch long label. The label may also include a pre-formed image or a pre-printed image on the blank label stock. In the embodiments described, thermal printers having a 32 level gray scale and a 256 level gray scale range with appropriate media is utilized. One printer used is the 256 gray scale level 260 dpi model P91DW thermal printer available from Mitsubishi Electric of Irvine Calif. However, other thermal printers and media may be used.
In at least some of the illustrative embodiments described herein, the target image to be printed relates to postage payment evidencing and is known and can be pre-processed before being sent to the thermal printer. The target image may be processed to add security features and in an alternative embodiment, the security feature processing and the thermal printer history and/or temperature management compensation can be performed off the printhead such as by a host processor of a system including a thermal printer, a host personal computer that communicates with the thermal printer or by a data center processor or other server at a remote location.
The thermal printer history and/or temperature management routines may be performed using an external general-purpose processor such as a personal computer or data center server programmed to execute the processes described. Accordingly, the thermal history and temperature management problems are moved from the printer controller to an external device such as the device that prepares a gray-scale image for printing. Such a system does not require real-time thermal history and temperature management processing at the printhead controller and thus reduces the processor power required at the printhead and may improve print speeds. Because such a system requires less processing power in the printing device, the printing controller may be less sophisticated and less expensive. The printer may produce higher quality prints at higher print speeds. Additionally, the printer costs may be lower and the printer may require less development time and cost.
In at least one embodiment, the thermal printer history and temperature management routines include a graphic analysis of the target image that is to be printed. An external processor is likely to have significantly more computing power than the printer controller. The external processor can perform an analysis of the image to be printed. In the case of a gray-scale image, the values of each pixel can be adjusted to achieve the thermal printer history and temperature management compensation in the external driving device. The image to be printed would be delivered to the printer as a pre-compensated gray-scale image such as a bitmap image that would require no additional compensation processing by the printer controller.
Thermal printing systems are designed to work with certain thermal media types. A thermal printer may be programmed to provide a certain heat at a certain pixel location of the linear heating element array for a certain period of time. The heating element may be driven by a square wave or other appropriate waveform. However, different types of thermal media react to heat differently. For example, two different types of thermal gray-scale media may require a different heat application to achieve the same optical density.
In some applications described herein, the target image may not require relatively high quality printing. For example, in printing an address label having black text, the label might be acceptable if black text were printed on a somewhat gray background rather than a white background of a blank label. Accordingly, the system may provide for faster printing speeds if sufficient contrast is achieved. For example, the system might not require the printhead to cool down sufficiently to not mark the background pixels.
Referring to
On one illustrative embodiment of the present application, thermal history management is achieved using a two pixel look-back process. In an alternative, a three pixel look-back process is used. The gray scale value of each pixel in a print row is adjusted upward (more power) or downward (less Power) to deliver a corrected heating value to each print element depending on the pre-heating effects of the previous pixels printed. The adjusted value delivers the proper heat to the print element to produce the intended gray-scale image having the intensities specified by the original gray scale bitmap. This value is then further adjusted using thermal management analysis. Each printed pixel adds some heat to the heat sink having both a local and overall affect on heatsink temperature. The heatsink temperature affect asserted on a single print element is most affected by the heating affects contributed by neighboring heating elements. This local heatsink temperature can be calculated and an accurate adjustment made to the gray scale value to provide additional compensation.
Referring to
In the illustrative compensation process described here, a 32 gray level thermal printer is used with appropriate media. Alternatively, the process can be modified to accommodate any number of gray levels such as 256 gray levels. In a 32 gray level scheme, a single 8 bit byte of data can be used to hold the 5 bit gray level value and a 3 bit compensation value for each pixel. The compensation or adjustment data would be contained in the upper 3 bits of the byte. Accordingly, if the compensation value is signed, a signed range of plus or minus 4 levels of adjustment is possible. In this way, the pre-processed graphic image could be used on printers with built-in thermal history management by masking off the adjustment bits. Printers with no thermal history management would add the adjustment value to the gray level represented by the lower 5 bits. The pixel byte would contain the nominal gray level in bits 0-4, the least significant adjustment bit in bit 5, the most significant pixel bit in bit 6 and the adjustment sign bit in bit 7.
In step 510, the compensation process 500 begins. In step 520, the process loads the compensation overlay associated with a printhead/media combination. In step 530, the process loads the target image. In step 540, the process applies the adjustment to each pixel of the target image as a target pixel as described below. In step 550, the process ends.
Referring to
In the following equations, T represents the target pixel, L represents the left neighbor of the target pixel and R represents the right neighbor. The subscripts for each element represent the history index, where index 1 represents the most recently printed pixel gray level. To calculate the gray-level offset for the target pixel, the products of the gray levels and weighting factors of the history matrix are summed. Using the weighting factors of the above example, the thermal history offset is calculated using the following formula:
Adjustment=P{Gray level Tnom−[(10T1+5T2+3T3+2T4+T5+3L1+2L2+L3+3R1+2R2+R3]/Sum (weights)} EQ(1),
where Gray-Level Tnom is the unadjusted gray-level for the target pixel and P is a power factor to limit the range of adjustment allowed in a lookup table index such that it is generally limited to 2-3 gray levels. Variables T1-T5 are the gray levels (in a value range of 0-31) to be printed in the preceding pixels, positive or negative. Variables L1-L3 are the gray levels (in a value range of 0-31) to be printed in the preceding left neighbor pixels, positive or negative. Variables R1-R3 are the gray levels (in a value range of 0-31) to be printed in preceding right neighbor pixels, positive or negative.
In the above example, if all historical pixels were to print a mid-gray level (15) in recent history, the algorithm would return an adjustment value of zero (0) as shown in the following reduction of Equation 1:
Adjustment=P(15−15)=0 Gray levels EQ(2).
If all of the historic pixels were to print pure black (gray level 32) the adjustment would result in a negative adjustment as shown in the following reduction of Equation 1:
Adjustment=P(15−31)=−16P Gray levels EQ(3).
The Power factor P would be set to give the optimum adjustment range for a particular print head. Empirical testing with illustrative printhead/media combinations indicate that the power factor P should be not more than +/−2-3 gray levels over the extreme ranges of the pixel history. In this case, a power factor of 0.18 fits fairly well and results in a −2.88 gray level adjustment in the previous example (i.e. −16×0.18=−2.88) that is rounded to give an adjustment of −3 gray-levels for this example.
In another alternative embodiment, the original target image is defined as a low quality image. For example, the address label shown in
Referring to
As described, each thermal printhead and thermal media combination has a set of characteristics. For example, the heat curve required to achieve optical densities corresponding to a linear scale of 1-256 or 1-32 pixel gray scale intensity values may not be a linear heat curve. Accordingly, a printhead/media overlay can be applied to a compensation algorithm for the particular combination. In addition, the graphic image can be processed for various different printers by using different, printhead or printer specific weighting factors in the gray-scale adjustments. Each print head will have a specific calibration overlay for its unique mechanical design and thermal characteristics.
In step 610, the printer/media overlay generation process 600 begins. In step 620, the printhead characteristics are selected from a table or loaded. The characteristics include the number of gray scale values permitted and the heating profile for those values including whether the heat applied is linear. In step 630, the media characteristics are selected from a table or loaded. The characteristics include the number of gray scale values permitted and the heating profile for those values including whether the heat applied is linear. The media characteristics may be generated by selecting a gray scale value for the printer and observing the optical density produced on the media. In step 640, the overlay is generated providing a table of power factors to be applied in the process described with reference to
In another alternative embodiment, the original target image is first pre-processed to add additional features such as security features including watermarking and then processed for thermal compensation. In yet another alternative, the original target image is first pre-processed to provide thermal compensation and then pre-processed to provide additional features such as security features.
The present application describes illustrative embodiments of thermal media labels and systems and methods for providing selective signaling. The embodiments are illustrative and not intended to present an exhaustive list of possible configurations. Where alternative elements are described, they are understood to fully describe alternative embodiments without repeating common elements whether or not expressly stated to so relate. Similarly, alternatives described for elements used in more than one embodiment are understood to describe alternative embodiments for each of the described embodiments having that element.
The described embodiments are illustrative and the above description may indicate to those skilled in the art additional ways in which the principles of this invention may be used without departing from the spirit of the invention. Accordingly, the scope of each of the claims is not to be limited by the particular embodiments described.