1. Field of the Invention
The present invention relates to a method of adjusting the settings of a thermal printer. Specifically, it relates to a method of automatically adjusting the settings for a specific media.
2. Description of Related Art
When a new type or roll of media is installed in a printer, the printer settings need be adjusted in order to obtain the best print quality for that media.
Prior art methods of adjusting printer settings for new media involve either looking up recommended settings for a particular media in tables provided by the manufacturer and manually inputting those settings, manual trial and error of various settings by an operator or a combination of these two methods. The recommended settings listed in a table are an estimate or approximation of the best print settings for a particular type of media, but are not able to take into account individual variations in the media based on, for example, manufacturing conditions, storage, and starting materials. Nor do the recommended settings listed take into account variations due to an individual printer, printerhead wear, ribbon wear, etc.
Prior art solutions based on human interaction and/or judgment may not result in the optimal settings. Further, prior art solutions based on human judgment will not give repeatable results because each operator may have a different view. Thus, there is a need for an automatic method for adjusting the printer settings for a new media.
A thermal printer having a black-mark sensor or a separate sensor on the print side of the media is used to automatically adjust the media settings. There are two primary steps. First, a coarse energy setting is found. Second, the energy setting is the fine-tuned. Each primary step involves a series of repeated sub-steps.
By performing the following test sequence an approximate or coarse setting for an unknown media may be chosen.
A black box is printed over full label width. The pattern has a low energy setting for a number of dots in length (x dots), then the energy is raised for the next x dots until the medium safe level for any media is reached. Then the media is backed into the printer and the expected position of an energy change is calculated. The media is single stepped out of the printer and the black-mark sensor readings are sampled.
If no change is detected, there has been no change of paper reflection i.e. it is still white (too low energy). If there is a change detected, the minimum energy needed to make a print has been found.
The procedure is repeated until the next field does not change and detected the maximum useful energy level.
By repeating this method between minimum energy and maximum energy settings a coarse energy setting is interpolated.
The energy setting is next fine-tuned. By performing the following test sequence an optimal setting for an unknown media can be identified. The optimal setting is the setting where the printer provides the most ink for the least energy so that the printout is at the maximum sharpness.
A black box is printed using the coarse setting. The black box should have a width larger than the black-mark sensor beam. A step-by-step sampling of the leading and trailing edge of the box is undertaken to obtain a gradient curve for leading and trailing edge of the printout. Based on the leading and trailing edge slopes, an adjustment is made to find the optimum point for balancing them against each other. The printing, sampling and adopting steps are repeated until optimum point has been found. The printer is set to the found optimum value.
A method of automatically setting a printer to the optimal printer settings. The optimal printer setting is the setting where the printer prints with optimum black, i.e. most black for least energy so that the printout is at maximum sharpness, i.e. contained in the expected dot area, not too small and not too large.
A thermal printer having a reflective sensor capable of detection of reflectance properties referred to as a black-mark sensor or another sensor on the print side of the media is used to measure the print and then the media settings of the printer are automatically adjusted based on the measurements. The sensor can be part of the printer or a separate sensor.
There are two steps, each sub step involves a series of repeated sub-steps. In step one, a coarse energy setting is determined. In step two, the energy setting is the fine-tuned to find the optimal setting.
It is not necessary to know what media is being used in order to set the printer using the inventive method. Thus, the inventive method is useful for unknown media.
By performing the following test sequence an approximate or coarse setting for a media may be obtained.
First, a black box is printed full label width. The pattern has a low energy setting for a desired number of dots in length or a desired length of the label (x rows), then the energy is raised for the next x rows, the energy is raised again for the next x rows and so forth until the label is fully printed or until the maximum safe level for any media is reached. The media is then backed into the printer and the expected position of an energy change is calculated. Once the expected position is calculated, the media is single stepped out of the printer again and the black-mark sensor readings are sampled by the sensor. If no change is detected, there has been no change of paper reflection i.e. the paper is still white and the energy setting is too low. If there is a detected change in the sensor readings, the minimum energy needed to make a print is identified.
A black box is printed. X dot rows are printed with the minimum energy setting. The energy is stepped up and x dot rows are printed. The stepping up of the energy and printing x dot rows is repeated until the label is fully printed or until the maximum safe level for any media is reached. The media is then backed into the printer and the expected position of an energy change is calculated. Once the expected position is calculated, the media is single stepped out of the printer again and the black-mark sensor readings are sampled by the sensor. If a change is detected then the maximum useful energy has not yet been identified. The steps are repeated, until the sensor readings do not change. When no change is detected, the maximum useful energy to make a print has been identified.
By repeating this method between minimum energy and maximum energy setting a coarse energy setting is obtained. Preferably, the coarse energy setting is obtained through interpolation. However, mathematic methods or a combination of mathematic methods could be used. Alternatively, the maximum useful energy could be used as the coarse setting.
The sensor values are converted with an A/D-converter and stored as digital values for the numerical operations. Known devices capable of numerical operations such as those that be hard-coded at gate-level, ASIC, or CPU are preferably used.
Once the coarse energy setting is found, the second step involves fine-tuning the energy setting to find the optimal setting.
The printer is automatically set to the coarse value. The initial coarse setting is taken from the high value of the saturation setting that was previously detected. A small amount of energy may be added to ensure the printer is printing in the saturated region of the media printout.
A black box is printed using the coarse setting. The black box should have a width larger than the sensor beam. A step-by-step sampling of the leading and trailing edge of the box is done by the sensor, to obtain a gradient curve for leading and trailing edge of the printout.
Using the sensor, the trailing edge is measured to determine the undetectable “black” area. The steps are repeated with decreasingly lower energy settings until a “gradient” has been acquired. These steps are based on the leading and trailing edge slopes, adjustments are made to find the optimum point for balancing the slopes against each other.
Using the two sets of gradients and the optimum balance between the two is calculated. Balancing choices are dependent on the expected aspect of the printout the user want to achieve. Typically, the user wants to have the in gradient to be the same in both cases so the printout will be symmetrical relative to the position on the media. Repeat printing, sampling and adopting until the optimum point has been found.
A combination of other mathematical methods, including interpolation with slope angle optimization can be used to determine the optimum point. The optimal point is not usually in the middle of the range as the media often is logarithmic in behavior and non-linear thermal “white-to-black” behavior.
The printer is then set to found optimal value. The value can be either set automatically or manually. The settings can be reviewed by being presented in a display or a label can be printed the newly detected recommended settings.
The present invention claims the benefit of U.S. Provisional Application No. 60/635,388 filed Dec. 10, 2004 and entitled “Method for Automatic Adjustment of Media Settings for a Printer.”
| Number | Date | Country | |
|---|---|---|---|
| 60635388 | Dec 2004 | US |