JPH0930054A - Bar code printing apparatus - Google Patents

Bar code printing apparatus

Info

Publication number
JPH0930054A
JPH0930054A JP7181801A JP18180195A JPH0930054A JP H0930054 A JPH0930054 A JP H0930054A JP 7181801 A JP7181801 A JP 7181801A JP 18180195 A JP18180195 A JP 18180195A JP H0930054 A JPH0930054 A JP H0930054A
Authority
JP
Japan
Prior art keywords
barcode
bar
printing
print
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7181801A
Other languages
Japanese (ja)
Inventor
Yasunari Suzuki
泰成 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP7181801A priority Critical patent/JPH0930054A/en
Publication of JPH0930054A publication Critical patent/JPH0930054A/en
Pending legal-status Critical Current

Links

Landscapes

  • Printers Characterized By Their Purpose (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent occurrence of errors in reading of bar codes without performing more maintenance than needed, by providing a means for setting on a bar code printing data generating means values, which designate thicknesses of white bar and black bar of a bar code corresponding to a pattern judged. SOLUTION: Printing information from a host computer 76 is inputted into a data processing unit 80, which extracts an information commanding printing of a bar code, when such information is included in the inputted printing information, and outputs such information to a printing data forming and processing unit 82. Preset in the printing data forming and processing unit 82 are kinds of bar codes and designated values, by which thicknesses of white bar and black bar are allotted each character in dot number. On the basis of a command information inputted from the data processing unit 80, the printing data forming and processing unit 82 generates printing data for printing of bar codes while referring to designated values, and outputs the same to a printing unit 14.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明はバーコード印刷装置
に係り、特に印刷装置の印刷実行時の装置の状態に適し
たバーコードの印刷をするバーコード印刷装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bar code printing apparatus, and more particularly to a bar code printing apparatus for printing a bar code suitable for the state of the printing apparatus when the printing is executed.

【0002】[0002]

【従来の技術】従来より、所定のバーコードデータに基
づいて紙等の記録媒体にバーコードを印刷するバーコー
ド印刷装置が知られている。ところで、バーコードの白
バー及び黒バーの幅寸法規格により各キャラクタコード
毎に予め基準値が定められており、白バーと黒バーのコ
ントラストについても基準値が定められているが、バー
コード印刷装置の状態によっては、記録媒体に印刷した
バーコードの白バー及び黒バーの幅寸法やコントラスト
が規格で定められた基準値からずれ、バーコード読み取
り時にバーコードが表す情報の内容を誤認したり、或い
はバーコードを読み取れない等の読み取りエラーが発生
する可能性がある。
2. Description of the Related Art Conventionally, there has been known a bar code printer for printing a bar code on a recording medium such as paper based on predetermined bar code data. By the way, a reference value is set in advance for each character code according to the width dimension standard of the white bar and the black bar of the barcode, and a reference value is also set for the contrast between the white bar and the black bar. Depending on the state of the device, the width and contrast of the white and black bars of the barcode printed on the recording medium may deviate from the standard values specified in the standard, and the content of the information represented by the barcode may be erroneously recognized when reading the barcode. Or, there is a possibility that a reading error such as not being able to read the bar code occurs.

【0003】このため、バーコード印刷装置にバーコー
ドを読取るスキャナを設け、バーコード印刷装置により
所定のバーコードデータに基づいて印刷されたバーコー
ドを前記スキャナで読取り、前記所定のバーコードデー
タと読取り後のデータとが不一致の場合には、バーコー
ドの白バー及び黒バーの幅寸法やコントラストが予め定
められた基準値と大きく異なっていると判断して印刷を
停止するシステムが提案されている(実開昭63-10404号
参照)。上記技術において印刷が停止された場合には、
バーコード印刷装置がバーコードの印刷に不適当な状態
であると判断できるので、ユーザにより例えば印刷部の
感光ドラムのクリーニングや濃度調整等のメインテナン
スが行われる。
For this reason, a scanner for reading a bar code is provided in the bar code printing apparatus, and the bar code printed by the bar code printing apparatus based on the predetermined bar code data is read by the scanner to obtain the predetermined bar code data. If the read data does not match, the system has been proposed to stop printing by determining that the width and contrast of the white and black bars of the barcode are significantly different from the predetermined reference value. (Refer to No. Sho 63-10404). If printing is stopped in the above technology,
Since it can be determined that the barcode printing apparatus is in an unsuitable state for printing the barcode, the user performs maintenance such as cleaning of the photosensitive drum of the printing unit and density adjustment.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、バーコ
ード印刷装置の印刷部として広く用いられているレーザ
ービームプリンタでは、感光ドラムの劣化度合いやトナ
ーの帯電量のばらつき、或いは印刷時の印刷濃度等によ
り、同じ解像度のレーザビームプリンタで同一の画像デ
ータの画像をプリントした場合であっても、プリントさ
れた画像の線の太さや濃度は印刷装置毎に異なっている
ことが多い。このため、複数台のバーコード印刷装置の
各々で同一のバーコードデータのバーコードを印刷した
場合にも、バーコード印刷装置の印刷部の状態によっ
て、実際に印刷されるバーコードの白バー及び黒バーの
幅寸法やコントラストは装置毎に異なることになる。
However, in a laser beam printer which is widely used as a printing unit of a bar code printing apparatus, the laser beam printer may be affected by the degree of deterioration of the photosensitive drum, the variation of the toner charge amount, or the printing density during printing. Even when images of the same image data are printed by laser beam printers of the same resolution, the line thickness and density of the printed images are often different for each printing device. Therefore, even when the barcode of the same barcode data is printed by each of the plurality of barcode printers, depending on the state of the printing unit of the barcode printer, the white bar of the barcode actually printed and the The width and contrast of the black bar will differ from device to device.

【0005】従って、バーコード印刷装置に対し感光ド
ラムのクリーニングや濃度調整等の一律の調整を行うだ
けでは、個々のバーコード印刷装置の状態を完全に一定
の状態とすることはできないので、バーコードの読み取
りエラーを解消できない場合があると共に、頻繁にメイ
ンテナンスを行う必要が生ずる可能性があった。
Therefore, it is not possible to bring the state of each bar code printing device to a completely constant state by simply performing uniform adjustments such as cleaning of the photosensitive drum and density adjustment on the bar code printing device. There are cases in which code reading errors cannot be eliminated, and there is a possibility that frequent maintenance is required.

【0006】本発明は、上記事実を考慮して成されたも
ので、必要以上にメインテナンスを行うことなくバーコ
ードの読み取りエラーの発生を防止することができるバ
ーコード印刷装置を得ることが目的である。
The present invention has been made in view of the above facts, and an object thereof is to obtain a bar code printer capable of preventing the occurrence of a bar code reading error without performing unnecessary maintenance. is there.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に請求項1記載の発明に係るバーコード印刷装置は、バ
ーコードを印刷する指示が入力されると、予め設定され
た白バー及び黒バーの太さの指定値に従ってバーコード
の印刷データを生成して出力するバーコード印刷データ
生成手段と、入力された印刷データに応じて記録媒体に
バーコードを印刷する印刷手段と、バーコードの白バー
及び黒バーの太さの指定値を各々異ならせた複数の調整
用パターンを印刷するための調整用の印刷データを前記
印刷手段へ出力する調整用データ出力手段と、前記印刷
手段により前記調整用の印刷データに従って記録媒体に
印刷されたバーコードの複数の調整用パターンの白バー
及び黒バーの幅寸法を各々検出する幅寸法検出手段と、
前記調整用の印刷データに従って記録媒体に印刷された
バーコードの複数の調整用パターンのうち、前記幅寸法
検出手段によって検出された白バー及び黒バーの幅寸法
が予め定められた基準値に最も近いパターンを判断し、
該判断したパターンに対応するバーコードの白バー及び
黒バーの太さの指定値を前記バーコード印刷データ生成
手段に設定する設定手段と、を含んで構成している。
In order to achieve the above object, a bar code printing apparatus according to the invention of claim 1 is configured such that, when an instruction to print a bar code is input, a white bar and a black which are set in advance are set. A bar code print data generation unit that generates and outputs bar code print data according to the designated value of the bar thickness, a print unit that prints a bar code on a recording medium according to the input print data, and a bar code Adjusting data output means for outputting to the printing means adjustment print data for printing a plurality of adjustment patterns having different specified thicknesses of the white bar and the black bar, and the printing means Width dimension detecting means for detecting the width dimensions of the white bar and the black bar of the plurality of adjustment patterns of the barcode printed on the recording medium according to the print data for adjustment,
Of the plurality of adjustment patterns of the barcode printed on the recording medium according to the adjustment print data, the width dimension of the white bar and the black bar detected by the width dimension detection means is the most suitable for the predetermined reference value. Judge a close pattern,
Setting means for setting the designated values of the thickness of the white bar and the black bar of the barcode corresponding to the judged pattern in the barcode print data generating means.

【0008】請求項2記載の発明は、請求項1記載の発
明において、前記バーコードを印刷する指示として、単
位情報の組み合わせで構成される所定の情報を表すバー
コードを印刷する指示が入力され、前記バーコード印刷
データ生成手段は、単位データの種類毎に予め設定され
た白バー及び黒バーの太さの指定値に従って前記所定の
情報を表すバーコードの印刷データを生成し、前記調整
用データ出力手段は、単位データの種類毎に前記調整用
の印刷データを出力し、前記設定手段は、複数の調整用
パターンのうち検出された白バー及び黒バーの幅寸法が
予め定められた基準値に最も近いパターンを判断し、該
判断したパターンに対応するバーコードの白バー及び黒
バーの太さの指定値を前記バーコード印刷データ生成手
段に設定することを、単位データの種類毎に行うことを
特徴としている。
According to a second aspect of the present invention, in the first aspect of the present invention, as the instruction to print the barcode, an instruction to print a barcode representing predetermined information composed of a combination of unit information is input. The barcode print data generating means generates the print data of the barcode representing the predetermined information according to the preset values of the thickness of the white bar and the black bar which are preset for each type of unit data, and performs the adjustment. The data output unit outputs the print data for adjustment for each type of unit data, and the setting unit sets the width dimension of the detected white bar and black bar among the plurality of adjustment patterns to a predetermined reference. A pattern closest to the value is determined, and the designated values of the thickness of the white bar and the black bar of the barcode corresponding to the determined pattern are set in the barcode print data generating means. It is characterized by performing for each type of unit data.

【0009】請求項3記載の発明は、請求項1又は請求
項2記載の発明において、印刷手段が記録媒体へのバー
コードの印刷を行っている状態で、印刷手段による印刷
濃度を段階的に変更させる濃度変更制御手段と、印刷手
段によって記録媒体に印刷されたバーコードの白バー及
び黒バーの光反射率を検出する光反射率検出手段と、前
記濃度変更制御手段により異なる印刷濃度で記録媒体に
印刷された複数のバーコードのうち、前記光反射率検出
手段によって検出された白バー及び黒バーの光反射率よ
り求まるコントラストが最も高いバーコードを判断し、
該バーコードが印刷されたときの印刷濃度を印刷手段に
設定する印刷濃度設定手段と、を更に設けたことを特徴
としている。
According to a third aspect of the present invention, in the first or second aspect of the invention, the printing density of the printing means is gradually changed while the printing means prints the bar code on the recording medium. Density change control means for changing, light reflectance detection means for detecting the light reflectance of the white bar and the black bar of the bar code printed on the recording medium by the printing means, and recording with different print densities by the density change control means Among the plurality of barcodes printed on the medium, determine the barcode having the highest contrast obtained from the light reflectance of the white bar and the black bar detected by the light reflectance detecting means,
The print density setting means for setting the print density when the barcode is printed in the printing means is further provided.

【0010】請求項4記載の発明は、請求項1乃至請求
項3の何れか1項記載の発明において、記録媒体に印刷
されたバーコードの複数の調整用パターンの各々の白バ
ー及び黒バーの幅寸法が予め定められた許容範囲から外
れていた場合、又は異なる印刷濃度で記録媒体に印刷さ
れた複数のバーコードの各々のコントラストが予め定め
られた許容範囲から外れていた場合に通知する通知手段
を更に設けたことを特徴としている。
According to a fourth aspect of the invention, in the invention according to any one of the first to third aspects, the white bar and the black bar of each of the plurality of adjustment patterns of the bar code printed on the recording medium. If the width dimension of the bar code is out of the predetermined tolerance range, or if the contrast of each of the barcodes printed on the recording medium with different print densities is out of the predetermined tolerance range, notification is given. It is characterized in that a notification means is further provided.

【0011】請求項1記載の発明では、調整用データ出
力手段によりバーコードの白バー及び黒バーの太さの指
定値を各々異ならせた複数の調整用パターンを印刷する
ための調整用の印刷データが印刷手段へ出力され、幅寸
法検出手段では、印刷手段により調整用の印刷データに
従って記録媒体に印刷されたバーコードの複数の調整用
パターンの白バー及び黒バーの幅寸法を各々検出する。
また設定手段では、調整用の印刷データに従って記録媒
体に印刷されたバーコードの複数の調整用パターンのう
ち、検出された白バー及び黒バーの幅寸法が予め定めら
れた基準値に最も近いパターンを判断し、該判断したパ
ターンに対応するバーコードの白バー及び黒バーの太さ
の指定値をバーコード印刷データ生成手段に設定する。
なお、前記基準値としては、バーコードの規格で定めら
れた値を用いることができる。
According to the first aspect of the present invention, the adjustment data is output by the adjustment data output means to print a plurality of adjustment patterns having different specified values of the thickness of the white bar and the black bar of the bar code. The data is output to the printing means, and the width dimension detecting means detects the width dimensions of the white and black bars of the plurality of adjustment patterns of the barcode printed on the recording medium according to the adjustment print data by the printing means. .
Further, in the setting means, among the plurality of adjustment patterns of the barcode printed on the recording medium according to the adjustment print data, the pattern in which the width dimensions of the detected white bar and black bar are the closest to the predetermined reference value And the designated values of the thickness of the white bar and the black bar of the barcode corresponding to the determined pattern are set in the barcode print data generating means.
As the reference value, a value defined by the barcode standard can be used.

【0012】前述の調整用パターンにおける白バー及び
黒バーの幅寸法は、前述の指定値及び調整用パターンを
印刷した際の印刷手段の状態により変化するので、上記
により、印刷手段の現在の状態に応じた最適な白バー及
び黒バーの指定値の組み合わせが選択され、バーコード
印刷データ生成手段に設定されることになる。バーコー
ド印刷データ生成手段では、バーコードを印刷する指示
が入力されると、前記設定された白バー及び黒バーの太
さの指定値に従ってバーコードの印刷データを生成して
出力し、印刷手段により前記印刷データに応じて記録媒
体にバーコードが印刷されるので、印刷手段の現在の状
態に応じた最適な調整用パターンに準拠したバーコード
が記録媒体に印刷される。
Since the width dimensions of the white bar and the black bar in the above-mentioned adjustment pattern vary depending on the above-mentioned designated value and the state of the printing means when the adjustment pattern is printed, the present state of the printing means The optimum combination of the designated values of the white bar and the black bar is selected according to the above, and is set in the barcode print data generating means. When the instruction to print the barcode is input, the barcode print data generation means generates and outputs the barcode print data in accordance with the specified values of the thicknesses of the set white bar and black bar, and the printing means. As a result, the bar code is printed on the recording medium according to the print data, so that the bar code conforming to the optimum adjustment pattern according to the current state of the printing unit is printed on the recording medium.

【0013】このように、上記では印刷手段の状態が変
化し、記録媒体に記録されるバーコードの白バー及び黒
バーの幅寸法が変化した場合にも、指示に応じて印刷さ
れるバーコードの白バー及び黒バーの幅寸法が、予め定
められた基準値と一致又は近似した値となるように白バ
ー及び黒バーの太さの指定値が変更されるので、必要以
上に印刷手段等のメインテナンスを行うことなく、バー
コードの読み取りエラーの発生を防止することができ
る。
As described above, in the above description, even when the width of the white bar and the black bar of the bar code recorded on the recording medium changes due to the change of the state of the printing means, the bar code printed according to the instruction. The specified values of the thickness of the white bar and the black bar are changed so that the width dimensions of the white bar and the black bar are the same as or close to the predetermined reference value. It is possible to prevent the occurrence of a barcode reading error without performing maintenance of.

【0014】なお、一般にバーコードは単位情報の組み
合わせから成る情報を表しており、バーコードの規格で
は単位情報の種類(例えば「0」〜「9」のキャラク
タ)毎に白バー及び黒バーの幅寸法が定められている。
ここで、所定の単位情報に対応するバーコードの複数の
調整用パータンのうち現在の印刷手段の状態に応じた最
適な調整用パターンが判断されると、他の単位情報に対
応するバーコードについても複数の調整用パターンのう
ちの最適な調整用パターンが自動的に定まる場合(すな
わち、各種単位情報に対応する各バーコードの各々の複
数の調整用パターンのうちの最適な調整用パターンが印
刷手段の状態に応じて各々一意的に定まる場合)は、各
単位情報に対応する各バーコードのうち、所定の単位情
報に対応するバーコードについて前述のように最適な調
整用パターンを判断すれば、他の単位情報に対応するバ
ーコードの最適な調整用パターン(及びこのパターンに
対応する指定値)が自動的に定まるので、各種単位情報
に対応する各バーコード毎に最適な調整用パターンを判
断する必要はない。
In general, a bar code represents information consisting of a combination of unit information, and in the bar code standard, a white bar and a black bar are provided for each type of unit information (for example, "0" to "9" characters). The width dimension is defined.
Here, when the optimum adjustment pattern according to the current state of the printing unit is determined from among the plurality of adjustment patterns of the barcode corresponding to the predetermined unit information, the barcode corresponding to the other unit information is determined. Also when the optimum adjustment pattern of the plurality of adjustment patterns is automatically determined (that is, the optimum adjustment pattern of the plurality of adjustment patterns of each barcode corresponding to various unit information is printed). In the case where each is uniquely determined according to the state of the means), if the optimum adjustment pattern is determined for the barcode corresponding to the predetermined unit information among the barcodes corresponding to each unit information as described above. , The optimum adjustment pattern (and the specified value corresponding to this pattern) of the barcode corresponding to other unit information is automatically determined. It is not necessary to determine the optimum adjustment pattern for each over de.

【0015】これに対し、各種単位情報に対応する各バ
ーコードの各々の複数の調整用パターンのうちの最適な
パターンが、印刷手段の状態に対し一意的には定まらな
い場合には、請求項2にも記載したように、調整用デー
タ出力手段は単位データの種類毎に前記調整用の印刷デ
ータを出力し、設定手段は複数の調整用パターンのうち
検出された白バー及び黒バーの幅寸法が予め定められた
基準値に最も近いパターンを判断し、該判断したパター
ンに対応するバーコードの白バー及び黒バーの太さの指
定値を前記バーコード印刷データ生成手段に設定するこ
とを、単位データの種類毎に行うことが好ましい。これ
により、各種単位情報に対応する各バーコードの各々の
複数の調整用パターンのうちの最適なパターンが、印刷
手段の状態に対し一意的には定まらない場合であって
も、各バーコードの白バー及び黒バーの幅寸法が予め定
められた基準値と一致又は近似した値となるように、白
バー及び黒バーの太さの指定値を変更することができ
る。
On the other hand, when the optimum pattern of the plurality of adjustment patterns of each bar code corresponding to various unit information is not uniquely determined for the state of the printing means, As described in 2, the adjustment data output means outputs the adjustment print data for each type of unit data, and the setting means outputs the width of the detected white bar and black bar among the plurality of adjustment patterns. A pattern whose dimensions are closest to a predetermined reference value is determined, and the designated values of the thickness of the white bar and the black bar of the barcode corresponding to the determined pattern are set in the barcode print data generating means. It is preferable to perform each type of unit data. As a result, even if the optimum pattern of the plurality of adjustment patterns for each barcode corresponding to various unit information is not uniquely determined for the state of the printing unit, The specified values of the thickness of the white bar and the black bar can be changed so that the width dimensions of the white bar and the black bar are values that match or approximate a predetermined reference value.

【0016】請求項3記載の発明では、印刷手段が記録
媒体へのバーコードの印刷を行っている状態で、濃度変
更制御手段は濃度設定手段により印刷濃度を段階的に変
更させ、光反射率検出手段は印刷手段によって記録媒体
に印刷されたバーコードの白バー及び黒バーの光反射率
を検出する。また印刷濃度設定手段は、濃度変更制御手
段により異なる印刷濃度で記録媒体に印刷された複数の
バーコードのうち、検出された白バー及び黒バーの光反
射率より求まるコントラストが最も高いバーコードを判
断し、該バーコードが印刷されたときの印刷濃度を印刷
手段に設定する。
According to the third aspect of the present invention, the density change control means changes the print density stepwise by the density setting means while the printing means is printing the bar code on the recording medium, and the light reflectance is changed. The detection means detects the light reflectance of the white bar and the black bar of the barcode printed on the recording medium by the printing means. Further, the print density setting means selects the barcode having the highest contrast obtained from the light reflectances of the detected white and black bars among the plurality of barcodes printed on the recording medium with different print densities by the density change control means. It is determined and the print density when the barcode is printed is set in the printing unit.

【0017】記録媒体に記録されたバーコードの白バー
及び黒バーのコントラストについても、印刷手段に設定
された印刷濃度及びバーコードを印刷した際の印刷手段
の状態により変化するので、上記により、印刷手段の現
在の状態に応じた最適な印刷濃度が選択され、該選択さ
れた印刷濃度が印刷手段に設定されることになる。印刷
手段では設定された印刷濃度に応じてバーコードの印刷
を行うので、印刷手段の現在の状態に応じた最適な印刷
濃度で記録媒体へのバーコードの印刷が行われることに
なる。このように、請求項3の発明によれば、印刷手段
の状態が変化し記録媒体に記録されるバーコードの白バ
ー及び黒バーのコントラストが低下した場合にも、指示
に応じて印刷されるバーコードのコントラストが高い値
となるように印刷濃度が変更されるので、必要以上に印
刷手段等のメインテナンスを行うことなく、バーコード
の読み取りエラーの発生を防止することができる。
The contrast of the white bar and the black bar of the bar code recorded on the recording medium also changes depending on the print density set in the printing means and the state of the printing means when the bar code is printed. The optimum print density according to the current state of the printing unit is selected, and the selected print density is set in the printing unit. Since the printing unit prints the barcode according to the set printing density, the printing of the barcode on the recording medium is performed at the optimum printing density according to the current state of the printing unit. As described above, according to the third aspect of the present invention, even when the state of the printing unit changes and the contrast of the white bar and the black bar of the bar code recorded on the recording medium decreases, printing is performed according to the instruction. Since the print density is changed so that the barcode contrast has a high value, it is possible to prevent the occurrence of barcode reading errors without performing maintenance of the printing unit or the like more than necessary.

【0018】ところで、印刷手段の状態が標準的な状態
から大幅にずれた等の場合には、上述したバーコードの
白バー及び黒バーの指定値の変更、或いは印刷濃度の変
更を行ったとしても、バーコードの白バー及び黒バーの
幅寸法やコントラストが許容範囲外となることを回避で
きない場合がある。このような場合を考慮すると、請求
項4にも記載したように、記録媒体に印刷されたバーコ
ードの複数の調整用パターンの各々の白バー及び黒バー
の幅寸法が予め定められた許容範囲から外れていた場
合、又は異なる印刷濃度で記録媒体に印刷された複数の
バーコードの各々のコントラストが予め定められた許容
範囲から外れていた場合に通知する通知手段を設けるこ
とが好ましい。
By the way, when the state of the printing means is largely deviated from the standard state, it is determined that the designated value of the white bar and the black bar of the bar code or the print density is changed. However, in some cases, the width and contrast of the white bar and the black bar of the barcode cannot be prevented from being outside the allowable range. In consideration of such a case, as described in claim 4, the width dimensions of the white bar and the black bar of each of the plurality of adjustment patterns of the barcode printed on the recording medium are within a predetermined allowable range. It is preferable to provide a notifying unit for notifying when the contrast of each of the plurality of barcodes printed on the recording medium with different print densities is outside the predetermined allowable range.

【0019】上記により、バーコードの白バー及び黒バ
ーの指定値の変更、或いは印刷濃度の変更を行ってもバ
ーコードの白バー及び黒バーの幅寸法又はコントラスト
を許容範囲に収めることができない場合、すなわちバー
コード印刷装置に対するメインテナンスが必要となった
場合に通知手段により通知が行われることになる。従っ
て、バーコード印刷装置のメインテナンスを適切なタイ
ミングで行わせることが可能となる。
As described above, even if the designated values of the white bar and the black bar of the bar code are changed or the print density is changed, the width dimension or the contrast of the white bar and the black bar of the bar code cannot be within the allowable range. In this case, that is, when the maintenance for the bar code printer is required, the notification means gives the notification. Therefore, it becomes possible to perform maintenance of the barcode printing apparatus at an appropriate timing.

【0020】[0020]

【発明の実施の形態】以下、図面を参照して本発明の実
施形態を詳細に説明する。なお、以下では本発明に支障
のない数値を用いて説明するが、本発明は以下に記載し
た数値に限定されるものではない。また、以下では多数
存在しているバーコードの規格のうち、現在広く用いら
れている「JAN」規格を例に説明する。
DETAILED DESCRIPTION OF THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings. In the following, description will be made using numerical values that do not hinder the present invention, but the present invention is not limited to the numerical values described below. Further, in the following, of the many bar code standards existing, the “JAN” standard which is widely used at present will be described as an example.

【0021】図1には本発明に係るバーコード印刷装置
としての機能を備えたプリンタ装置10が示されてい
る。プリンタ装置10は、記録媒体としての記録用紙1
2へのバーコードを含む画像の記録を行う本発明の印刷
手段としてのプリント部14と、プリント部14の動作
の制御等を行う制御部16とを備えている。プリント部
14及び制御部16は図示しない商用電源に接続された
電源部18から交流電力が供給されることにより作動す
る。
FIG. 1 shows a printer device 10 having a function as a bar code printing device according to the present invention. The printer device 10 includes a recording sheet 1 as a recording medium.
The printing unit 14 includes a printing unit 14 as a printing unit of the present invention that records an image including a barcode on the second printing unit 2, and a control unit 16 that controls the operation of the printing unit 14. The printing unit 14 and the control unit 16 operate when AC power is supplied from a power supply unit 18 connected to a commercial power supply (not shown).

【0022】プリント部14には制御部16から印刷濃
度の指示を含む各種の動作指令信号20及び記録すべき
画像のデータを表す画像信号22が入力される。図示は
省略するが、プリント部14は、円筒状の像担持体と、
像担持体の外周面を帯電させる帯電器と、入力された画
像信号に応じて変調した光ビームを像担持体の外周面に
照射して像担持体の外周面に静電潜像を形成させる画像
記録部と、現像バイアス電圧を発生させ像担持体の外周
面に形成された静電潜像をトナーにより現像してトナー
像を形成させる現像装置と、を含んで構成されており、
画像記録部及び現像装置によって像担持体上に形成され
たトナー像が記録用紙12に転写され、転写されたトナ
ー像が定着部によって定着処理されることにより、記録
用紙12への画像の記録が行われる。
The control unit 16 inputs various operation command signals 20 including a print density instruction and an image signal 22 representing image data to be recorded to the printing unit 14. Although not shown, the printing unit 14 includes a cylindrical image carrier and
A charger that charges the outer peripheral surface of the image carrier, and a light beam modulated according to an input image signal is applied to the outer peripheral surface of the image carrier to form an electrostatic latent image on the outer peripheral surface of the image carrier. An image recording unit, and a developing device that generates a developing bias voltage to develop an electrostatic latent image formed on the outer peripheral surface of the image carrier with toner to form a toner image,
The toner image formed on the image carrier by the image recording unit and the developing device is transferred to the recording paper 12, and the transferred toner image is fixed by the fixing unit, so that the image is recorded on the recording paper 12. Done.

【0023】なお、このプリント部14における印刷濃
度の変更は、前述の帯電器による帯電量、画像記録部に
よる静電潜像形成時の露光量、及び現像装置による現像
時の現像バイアス電圧の少なくとも何れかを変更するこ
とにより実現される。
The print density in the print unit 14 is changed by at least the charge amount by the charger, the exposure amount at the time of electrostatic latent image formation by the image recording unit, and the developing bias voltage at the time of developing by the developing device. It is realized by changing any one.

【0024】画像が記録された記録用紙12はプリンタ
装置10のケーシング10A(図3参照)の外部へ排出
され、ケーシング10Aの側方に設けられた排出ビン6
2上に、画像記録面が下を向くように載置される。また
プリント部14は、各部の状態(例えば図示しないカセ
ットトレイに収容されている記録用紙12のサイズ、定
着部が定着温度に到達したか否か等)を表す状態信号2
4、及び制御部16と同期をとるための同期パルス26
を制御部16に出力する。
The recording paper 12 on which an image is recorded is discharged to the outside of the casing 10A (see FIG. 3) of the printer device 10, and the discharge bin 6 provided on the side of the casing 10A.
The image recording surface is placed on the upper surface of the sheet 2. The printing unit 14 also outputs a status signal 2 indicating the status of each unit (for example, the size of the recording paper 12 accommodated in a cassette tray (not shown), whether or not the fixing unit has reached the fixing temperature).
4, and a synchronization pulse 26 for synchronizing with the control unit 16.
Is output to the control unit 16.

【0025】図3に示すように、排出ビン62は所定の
厚み寸法を有し、上面が透明な平ガラス板64によって
構成されており、平ガラス板64の下方(排出ビン62
の内部)には、本発明の幅寸法検出手段、光反射率検出
手段としてのスキャナユニット66が設けられている。
As shown in FIG. 3, the discharge bin 62 has a predetermined thickness dimension, and is constituted by a flat glass plate 64 having a transparent upper surface. Below the flat glass plate 64 (the discharge bin 62).
Inside), the scanner unit 66 as the width dimension detecting means and the light reflectance detecting means of the present invention is provided.

【0026】スキャナユニット66は、平ガラス板64
上に載置された記録用紙12に光を照射する発光部、及
び発光部から射出され記録用紙12で反射された光を受
光する受光部(図示省略)を含んで構成されており、図
3の矢印A方向及び矢印A方向に直交する矢印B方向に
沿って移動可能とされている。スキャナユニット66は
制御部16に接続されており、制御部16から作動指示
信号68が入力されると、発光部が光を射出している状
態で矢印A方向及び矢印B方向に沿って2次元的に移動
し、記録用紙12で反射されて受光部で受光された光量
を表す信号を読取り信号70として制御部16へ出力す
る。
The scanner unit 66 includes a flat glass plate 64.
3 includes a light emitting unit that irradiates the recording paper 12 placed thereon with light, and a light receiving unit (not shown) that receives the light emitted from the light emitting unit and reflected by the recording paper 12. The arrow A direction and the arrow B direction orthogonal to the arrow A direction are movable. The scanner unit 66 is connected to the control unit 16, and when the operation instruction signal 68 is input from the control unit 16, the scanner unit 66 is two-dimensional along the arrow A direction and the arrow B direction with the light emitting unit emitting light. The control unit 16 outputs a signal indicating the amount of light reflected by the recording paper 12 and received by the light receiving unit to the control unit 16 as a read signal 70.

【0027】また、プリンタ装置10のケーシング10
Aの前面には、オペレータがコマンド等を入力するため
の複数のキー72と、LCD等で構成され処理状況の目
視確認等を行うための表示部74とを備えた操作パネル
28が設けられている。図1に示すように操作パネル2
8は制御部16に接続されており、オペレータが操作パ
ネル28のキー72を操作することによって入力された
指示は、操作パネル28から指示信号30として制御部
16に入力される。また制御部16からは指示信号30
の応答や表示部に表示すべき情報を表す指示信号32が
操作パネル28へ出力される。
Further, the casing 10 of the printer device 10
On the front surface of A, there is provided an operation panel 28 having a plurality of keys 72 for the operator to input commands and the like, and a display section 74 configured by an LCD or the like for visually confirming the processing status. There is. Operation panel 2 as shown in FIG.
Reference numeral 8 is connected to the control unit 16, and an instruction input by the operator operating the key 72 of the operation panel 28 is input to the control unit 16 as an instruction signal 30 from the operation panel 28. Further, an instruction signal 30 is sent from the control unit 16.
The instruction signal 32 indicating the response of the above or the information to be displayed on the display unit is output to the operation panel 28.

【0028】またプリンタ装置10には、ホストコンピ
ュータ76(例として図3参照)等の情報処理装置がプ
リンタ装置10に各種のコマンドやデータ等を含む印刷
情報を入力するための端子として、マシンインタフェー
ス(I/F)端子34及びネットワークインタフェース
(I/F)端子36が設けられている。マシンI/F端
子34は、プリンタ装置10とホストコンピュータ76
等とを通信ケーブルを介して接続する際に用いられる端
子であり、ネットワークI/F端子36は、ホストコン
ピュータ76等が接続されたネットワークにプリンタ装
置10を接続する際に用いられる端子である。なお、ネ
ットワークI/F端子36を介して接続可能なネットワ
ークとしては、ISDN等のディジタルネットワーク網
やイーサネット等のLANが挙げられる。
The printer device 10 has a machine interface as a terminal for an information processing device such as a host computer 76 (see FIG. 3 for example) to input print information including various commands and data to the printer device 10. An (I / F) terminal 34 and a network interface (I / F) terminal 36 are provided. The machine I / F terminal 34 includes a printer device 10 and a host computer 76.
Is a terminal used when connecting the printer device 10 and the like via a communication cable, and the network I / F terminal 36 is a terminal used when connecting the printer device 10 to the network to which the host computer 76 and the like are connected. Examples of networks connectable via the network I / F terminal 36 include a digital network such as ISDN and a LAN such as Ethernet.

【0029】図2に示すように、制御部16はCPU4
0を備えており、CPU40はシステムバス42に接続
されている。システムバス42にはパネルインタフェー
ス(I/F)回路44が接続されている。パネルI/F
回路44は操作パネル28とのインタフェースをとるた
めの回路であり、操作パネル28から指示信号30が入
力されると、パネルI/F回路44からは指示信号30
に対応する指示情報が出力され、出力された指示情報は
システムバス42上を転送される。また、操作パネル2
8の表示部74に所定の情報を表示させるための指示情
報はシステムバス42を介してパネルI/F回路44へ
転送され、パネルI/F回路44より指示信号32とし
て操作パネル28に出力される。
As shown in FIG. 2, the control unit 16 includes a CPU 4
0, and the CPU 40 is connected to the system bus 42. A panel interface (I / F) circuit 44 is connected to the system bus 42. Panel I / F
The circuit 44 is a circuit for interfacing with the operation panel 28, and when the instruction signal 30 is input from the operation panel 28, the instruction signal 30 is input from the panel I / F circuit 44.
Is output, and the output instruction information is transferred on the system bus 42. In addition, the operation panel 2
The instruction information for displaying predetermined information on the display unit 74 of 8 is transferred to the panel I / F circuit 44 via the system bus 42, and is output from the panel I / F circuit 44 to the operation panel 28 as the instruction signal 32. It

【0030】システムバス42にはマシンインタフェー
ス(I/F)回路46及び不揮発性記憶装置(NVM:
Non-Volatile Memory)48が接続されている。マシンI
/F回路46はマシンインタフェース端子34及びネッ
トワークインタフェース端子36に接続されており、マ
シンインタフェース端子34やネットワークインタフェ
ース端子36を介して入力された印刷情報をRS232
C規格やセントロニクスインタフェース等に従って受信
する。NVM48は図示しない電池によってバックアッ
プされた記憶装置であり、プリンタ装置10本体の電源
がオフされた状態でも、記憶データを保持することがで
きる。
The system bus 42 has a machine interface (I / F) circuit 46 and a non-volatile memory device (NVM:
Non-Volatile Memory) 48 is connected. Machine I
The / F circuit 46 is connected to the machine interface terminal 34 and the network interface terminal 36, and print information input via the machine interface terminal 34 and the network interface terminal 36 is RS232.
It is received according to the C standard or Centronics interface. The NVM 48 is a storage device backed up by a battery (not shown), and can retain stored data even when the power of the printer device 10 main body is turned off.

【0031】また、システムバス42にはRAM50、
プログラムメモリ52及び文字パターンメモリ54が接
続されている。RAM50は作業用のメモリであり、プ
リンタ装置10の各種の制御を行う上で必要なデータや
マシンI/F回路46を介して入力されたデータ等が一
時的に記憶される。なおRAM50の記憶領域の一部
は、記録用紙12に記録する複数頁分の画像のイメージ
データ(ビットマップデータ)を一時的に記憶するため
のページバッファ56として使用される。プログラムメ
モリ52は不揮発性のメモリであり、プリンタ装置10
の制御を行うための各種プログラムが格納されている。
また、文字パターンメモリ54も不揮発性のメモリで構
成されており、文字の印刷を行う際に用いられる多数種
類のフォントデータが記憶されている。
The system bus 42 has a RAM 50,
The program memory 52 and the character pattern memory 54 are connected. The RAM 50 is a working memory, and temporarily stores data necessary for performing various controls of the printer device 10, data input via the machine I / F circuit 46, and the like. A part of the storage area of the RAM 50 is used as a page buffer 56 for temporarily storing image data (bitmap data) of images for a plurality of pages to be recorded on the recording paper 12. The program memory 52 is a non-volatile memory, and the printer device 10
Various programs for controlling the are stored.
Further, the character pattern memory 54 is also composed of a non-volatile memory, and stores many kinds of font data used when printing characters.

【0032】また、システムバス42にはプリント部イ
ンタフェース(I/F)回路58及びビットマップコン
トローラ60が接続されている。プリント部I/F回路
58は、ページバッファ56に一時的に記憶されたイメ
ージデータを順に読み出して画像信号22を生成し、生
成した画像信号22をプリント部14へ出力する。また
状態信号24、同期パルス26及び動作指令信号20
(図1参照)は、プリント部I/F回路58を介してプ
リント部14との間で送受される。ビットマップコント
ローラ60は、ページバッファ56及びプリント部I/
F回路58に各々接続されており、ページバッファ56
とプリント部I/F回路58との間の画像データの転送
を制御する。
A print interface (I / F) circuit 58 and a bit map controller 60 are connected to the system bus 42. The print unit I / F circuit 58 sequentially reads the image data temporarily stored in the page buffer 56 to generate the image signal 22, and outputs the generated image signal 22 to the print unit 14. Further, the status signal 24, the synchronization pulse 26, and the operation command signal 20
(See FIG. 1) is sent to and received from the print unit 14 via the print unit I / F circuit 58. The bitmap controller 60 includes a page buffer 56 and a print unit I /
The page buffer 56 is connected to each of the F circuits 58.
The transfer of the image data between the print unit I / F circuit 58 and the print unit I / F circuit 58 is controlled.

【0033】また、システムバス42にはスキャナイン
タフェース(I/F)回路78が接続されている。スキ
ャナI/F回路78はスキャナユニット66に接続され
ており、前述の作動指示信号68及び読取り信号70は
スキャナI/F回路78を介して送受される。
A scanner interface (I / F) circuit 78 is connected to the system bus 42. The scanner I / F circuit 78 is connected to the scanner unit 66, and the operation instruction signal 68 and the read signal 70 are transmitted and received through the scanner I / F circuit 78.

【0034】次に本実施形態の作用を説明する。図4
は、画像供給部16のCPU40によって実現される各
種機能のうち、バーコードの印刷及びバーコードの調整
に係わる処理をブロック毎に分けて示したものである。
Next, the operation of the present embodiment will be described. FIG.
Of the various functions realized by the CPU 40 of the image supply unit 16, the process relating to the printing of the barcode and the adjustment of the barcode is shown for each block.

【0035】ホストコンピューター76で行われた処理
の結果等の印刷を行う場合、ホストコンピューター76
は処理結果に対応する画像を表す印刷情報を生成し、こ
の印刷情報をプリンタ装置10に出力する。なお、前記
処理結果を表す画像に所定の情報を表すバーコードが含
まれている場合には、ホストコンピューター76はバー
コードの印刷を指示する指示情報を含んだ印刷情報を生
成し出力する。この指示情報は、バーコードが表すべき
キャラクタのコード、記録用紙12上におけるバーコー
ドの印刷位置を表す情報等を含んで構成されている。
When printing the results of processing performed by the host computer 76, the host computer 76
Generates print information representing an image corresponding to the processing result, and outputs this print information to the printer device 10. When the image representing the processing result includes the barcode representing the predetermined information, the host computer 76 generates and outputs the print information including the instruction information instructing the printing of the barcode. The instruction information is configured to include a code of a character to be represented by the barcode, information indicating the printing position of the barcode on the recording paper 12, and the like.

【0036】ホストコンピューター76からの印刷情報
はデータ入力処理部80に入力される。データ入力処理
部80では、入力された印刷情報にバーコードの印刷を
指示する指示情報が含まれていた場合にこれを抽出し、
印刷データ作成処理部82へ出力する。印刷データ作成
処理部82にはバーコードの種類(後述)、各キャラク
タ毎に白バー及び黒バーの太さをドット数で指定する指
定値が予め設定されており、データ入力処理部80から
入力された指示情報に基づいて、前記指定値を参照しな
がらバーコードを印刷するための印刷データを生成しプ
リント部14へ出力する。
The print information from the host computer 76 is input to the data input processing section 80. In the data input processing unit 80, when the input print information includes the instruction information for instructing the printing of the barcode, this is extracted,
The data is output to the print data creation processing unit 82. The print data creation processing unit 82 is preset with a bar code type (described later) and a specified value for specifying the thickness of the white bar and the black bar for each character by the number of dots, which is input from the data input processing unit 80. Based on the designated information, the print data for printing the barcode is generated while referring to the designated value, and is output to the printing unit 14.

【0037】一方、バーコード調整シート印刷用データ
処理部84には、バーコード調整シートを印刷するため
の印刷データが予め記憶されている。バーコード調整シ
ート印刷用データ処理部84では、操作パネル28のキ
ー72が操作されることにより、バーコード調整処理の
実行が指示されると、前述のバーコード調整シート印刷
用データ(詳細は後述)を取り込み、プリント部14へ
出力する。プリント部14は、データ入力処理部80か
ら印刷データが入力されるか、又はバーコード調整シー
ト印刷用データ処理部84からバーコード調整シート印
刷用データを含む印刷データが入力されると、入力され
たデータに従い設定された印刷濃度で記録用紙12への
バーコードを含む画像の印刷を行う。
On the other hand, print data for printing a barcode adjustment sheet is stored in advance in the barcode adjustment sheet printing data processing section 84. In the barcode adjustment sheet printing data processing unit 84, when the execution of the barcode adjustment processing is instructed by operating the key 72 of the operation panel 28, the above-mentioned barcode adjustment sheet printing data (details will be described later). ) Is taken in and output to the print unit 14. The print unit 14 is input when print data is input from the data input processing unit 80 or when print data including the barcode adjustment sheet printing data is input from the barcode adjustment sheet printing data processing unit 84. The image including the barcode is printed on the recording paper 12 with the print density set according to the data.

【0038】プリント部14によって画像が記憶された
記録用紙12は、プリント装置10のケーシング10A
外に排出され、排出ビン62の平ガラス板64上に載置
される。スキャナユニット66はプリント部14でバー
コード調整シートが印刷された場合に作動され、図3の
矢印A方向及び矢印B方向に沿って移動しながら平ガラ
ス板64上に載置された記録用紙12に記録されている
バーコードを検出し、検出結果(より詳しくはバーコー
ドの各部分で反射されて受光部で受光された光の光量を
表す信号)をバーコード検出結果処理部86へ出力す
る。
The recording paper 12 in which the image is stored by the printing unit 14 is the casing 10A of the printing apparatus 10.
It is discharged to the outside and placed on the flat glass plate 64 of the discharge bottle 62. The scanner unit 66 is operated when the barcode adjustment sheet is printed by the printing unit 14, and moves along the arrow A direction and the arrow B direction in FIG. 3 while moving the recording sheet 12 placed on the flat glass plate 64. The bar code recorded on the bar code is detected, and the detection result (more specifically, a signal indicating the amount of light reflected by each part of the bar code and received by the light receiving section) is output to the bar code detection result processing section 86. .

【0039】バーコード検出結果処理部86は、スキャ
ナユニット66から入力されたバーコードの検出結果に
基づいて、後述するようにして印刷データ作成処理部8
2に設定されている前記指定値の変更やプリント部14
における印刷濃度の変更を行う。なお、バーコード指定
値の変更は、バーコード指定値設定部88を介して行わ
れ、プリント部14の印刷濃度の変更は、印刷濃度指示
部90を介して行われる。また、バーコード検出結果処
理部86でエラーが検出された場合には、エラー通知部
92を介してユーザーにエラーが発生したことが通知さ
れる。
The bar code detection result processing section 86, based on the bar code detection result input from the scanner unit 66, carries out the print data creation processing section 8 as described later.
Change of the specified value set to 2 and the print unit 14
Change the print density in. The barcode designated value is changed via the barcode designated value setting unit 88, and the print density of the printing unit 14 is changed via the print density instruction unit 90. When an error is detected by the barcode detection result processing unit 86, the user is notified via the error notification unit 92 that an error has occurred.

【0040】次に本実施形態に係るバーコード調整用シ
ートについて説明する。バーコードの規格の一種である
「JAN」規格では、基本寸法(幅寸法)が0.33mm(但
し0.8 〜 2.0倍迄縮小拡大可能)とされた1モジュール
を基本単位とし、各々1モジュールの整数倍の幅寸法で
かつ幅寸法の合計が7モジュールとされた2本の白バー
及び黒バーによって単位情報としての単一のキャラクタ
を表すようになっている。「JAN」規格で定義されて
いるキャラクタは「0」〜「9」の10種類であるが、
各キャラクタに対し、左側のデータキャラクタの奇数パ
リティ、左側のデータキャラクタの偶数パリティ、及び
右側のデータキャラクタ及びモジュラチェックキャラク
タの偶数パリティの計3種類のバーコードが定義されて
いるので、白バー及び黒バーの幅寸法、及び白バー及び
黒バーの配列順序が互いに異なる(左側のデータキャラ
クタは「白黒白黒」の順、右側のデータキャラクタ及び
モジュラチェックキャラクタは「黒白黒白」の順)30
種類のバーコードが定義されている。
Next, the bar code adjusting sheet according to the present embodiment will be described. According to the "JAN" standard, which is a type of bar code standard, one module whose basic dimension (width dimension) is 0.33 mm (however, it can be reduced and expanded up to 0.8 to 2.0 times) is the basic unit, and each module is an integral multiple of one module. A single character as unit information is represented by two white bars and a black bar whose width dimensions are 7 modules in total. Characters defined by the "JAN" standard are 10 types from "0" to "9",
For each character, a total of three types of bar codes are defined: odd parity for the left data character, even parity for the left data character, and even parity for the right data character and modular check character. The width dimension of the black bar and the arrangement order of the white bar and the black bar are different from each other (the left data character is in the order of "black and white and black and white", and the right data character and the modular check character are in the order of "black and white and white") 30
Types of barcodes are defined.

【0041】上記に基づき本実施形態では、「JAN」
規格に対応するバーコード調整用シートとして、図6に
示すようなバーコード調整用シート96を用いている。
このバーコード調整用シート96には、前述した30種類
のバーコードに対応して30本のバーコード調整用パター
ン列が設けられている。この30本のバーコード調整用パ
ターン列のうち、最初の10本のバーコード調整用パター
ン列は、種類が「左側のデータキャラクタの奇数パリテ
ィ」で「0」〜「9」のキャラクタに対応するバーコー
ドの調整用パターン列とされており、以下同様に、次の
10本のバーコード調整用パターン列は、種類が「左側の
データキャラクタの偶数パリティ」である10種類のバー
コードの調整用パターン列、次の10本のバーコード調整
用パターン列は、種類が「右側のデータキャラクタ及び
モジュラチェックキャラクタの偶数パリティ」である10
種類のバーコードの調整用パターン列とされている。
Based on the above, in the present embodiment, "JAN"
As a barcode adjusting sheet conforming to the standard, a barcode adjusting sheet 96 as shown in FIG. 6 is used.
The barcode adjustment sheet 96 is provided with 30 barcode adjustment pattern rows corresponding to the above-mentioned 30 types of barcodes. Of the 30 bar code adjusting pattern strings, the first 10 bar code adjusting pattern strings correspond to the characters "0" to "9" in the type "odd parity of the left data character". It is used as a bar code adjustment pattern sequence.
The 10 bar code adjustment pattern strings are of 10 kinds of bar code adjustment pattern strings whose type is "even parity of the left data character", and the next 10 bar code adjustment pattern strings are of the type It is "even parity of right data character and modular check character".
It is used as an adjustment pattern sequence for various types of barcodes.

【0042】また、バーコードの印刷は、各バーの幅を
画像記録の最小単位であるドットの数に換算(例えば1
モジュールを4dot として換算)した情報に基づいて行
うが、前記30本のバーコード調整用パターン列は、各々
「JAN」規格で定義されている各バーの幅を基準値と
し、図7にも示すように、各バーのドット数を前記基準
値に対し1ドット単位で変更した複数の調整用パターン
が順に配列されて構成されている。各調整用パターンに
おける基準値に対する各バーのドット数の変更量の一例
を次の表1に示す。
Further, in printing the bar code, the width of each bar is converted into the number of dots which is the minimum unit of image recording (for example, 1
It is performed based on the information obtained by converting the module into 4 dots), and the 30 bar code adjustment pattern strings have the width of each bar defined in the “JAN” standard as a reference value and are also shown in FIG. 7. As described above, a plurality of adjustment patterns in which the number of dots of each bar is changed in 1-dot units with respect to the reference value are arranged in order. Table 1 below shows an example of the amount of change in the number of dots in each bar with respect to the reference value in each adjustment pattern.

【0043】[0043]

【表1】 [Table 1]

【0044】本実施形態では、図6に示した画像を記録
用紙12に印刷してバーコード調整用シート96を形成
させるための印刷データ(以下、バーコード調整シート
印刷用データと称する)がNVM48に予め記憶されて
いる。なお、図6に示したバーコード調整用シート96
は単なる一例であり、バーコード調整用パターンの数、
各調整用パターンを構成する複数のパターンの各々にお
ける各バーのドット数の変更値は上記に限定されるもの
ではない。
In this embodiment, the print data for printing the image shown in FIG. 6 on the recording paper 12 to form the barcode adjusting sheet 96 (hereinafter referred to as barcode adjusting sheet printing data) is NVM48. Stored in advance. The bar code adjusting sheet 96 shown in FIG.
Is just an example, the number of barcode adjustment patterns,
The change value of the number of dots of each bar in each of the plurality of patterns forming each adjustment pattern is not limited to the above.

【0045】次に図5のフローチャートを参照し、画像
供給部16のCPU40で実行されるバーコード調整処
理について説明する。なお、このバーコード調整処理は
操作パネル28のキー72を介してバーコード調整処理
の実行が指示されるとCPU40で実行される。
Next, the bar code adjusting process executed by the CPU 40 of the image supply unit 16 will be described with reference to the flowchart of FIG. It should be noted that this bar code adjustment processing is executed by the CPU 40 when execution of the bar code adjustment processing is instructed via the key 72 of the operation panel 28.

【0046】ステップ100ではNVM48からバーコ
ード調整シート印刷用データを取り込み、ステップ10
2ではバーコード調整シート印刷用データをプリント部
14へ出力する。なお、このステップ100、102は
本発明の調整用データ出力手段に対応しており、バーコ
ード調整シート印刷用データ処理部84で行われる処理
に相当している。ステップ104では、プリント部14
においてバーコード調整用シートの印刷が完了したか否
か判定し、印刷が完了するまで待機する。
In step 100, the bar code adjustment sheet print data is fetched from the NVM 48, and in step 10
In 2, the bar code adjustment sheet print data is output to the print unit 14. The steps 100 and 102 correspond to the adjustment data output means of the present invention, and correspond to the processing performed by the barcode adjustment sheet printing data processing unit 84. In step 104, the print unit 14
At, it is determined whether or not the printing of the barcode adjustment sheet is completed, and the process waits until the printing is completed.

【0047】バーコード調整用シートの印刷が完了する
とステップ106へ移行し、スキャナユニット66を作
動させてバーコード調整シート上の全てのバーコード調
整用パターン列の読み取りを行い、スキャナユニット6
6から出力された読み取り信号70を読み取りデータと
してRAM50に記憶する。なお、図6にも示すよう
に、各バーコード調整用パターン列は各々バーコード調
整用シート上の一定の位置に位置しているので、バーコ
ード調整用パターン列の読み取りに際しバーコード調整
用パターン列の印刷位置を判断する必要はない。
When the printing of the barcode adjustment sheet is completed, the process proceeds to step 106, the scanner unit 66 is operated to read all the barcode adjustment pattern rows on the barcode adjustment sheet, and the scanner unit 6 is read.
The read signal 70 output from 6 is stored in the RAM 50 as read data. Note that, as shown in FIG. 6, since each bar code adjustment pattern row is located at a fixed position on the bar code adjustment sheet, the bar code adjustment pattern row is read when the bar code adjustment pattern row is read. It is not necessary to determine the print position of the column.

【0048】ステップ108ではRAM50に記憶した
読み取りデータのうち、特定のバーコード種かつ特定の
キャラクタに対応するバーコード調整用パターン列の読
み取りデータを取り込む。ステップ110では前記取り
込んだ読み取りデータに基づいて、前記調整用パターン
列を構成する複数の調整用パターンの各々に対し、各バ
ー(2本の白バー及び2本の黒バー)の幅寸法を各々演
算する。
In step 108, of the read data stored in the RAM 50, the read data of the bar code adjusting pattern row corresponding to the specific bar code type and the specific character is fetched. In step 110, the width dimension of each bar (two white bars and two black bars) is set for each of the plurality of adjustment patterns forming the adjustment pattern row based on the read data that has been read. Calculate

【0049】ステップ112では、上記で演算した白バ
ー及び黒バーの幅寸法と、バーコードの規格により予め
定められている白バー及び黒バーの幅寸法の基準値と、
の差を各々演算し、前記差がバーコードの規格で予め定
められている許容範囲以内に収まっているパターンが有
るか否か判定する。判定が否定された場合にはステップ
142へ移行するが、判定が肯定された場合にはステッ
プ114へ移行し、前記差が許容範囲以内に収まってい
る調整用パターンを対象として、演算した各バーの幅寸
法と各バーの幅寸法の基準値との差の絶対値の和(誤差
の和)dを、次の(1)式に従って各調整用パターン毎
に演算する。
In step 112, the width dimensions of the white bar and the black bar calculated above, and the reference values of the width dimensions of the white bar and the black bar which are predetermined by the bar code standard,
Is calculated, and it is determined whether or not there is a pattern in which the difference is within an allowable range predetermined by the bar code standard. If the determination is negative, the process proceeds to step 142, but if the determination is affirmative, the process proceeds to step 114, and each bar calculated for the adjustment pattern in which the difference is within the allowable range is used. The sum (absolute error) d of the absolute value of the difference between the width dimension of the bar and the reference value of the width dimension of each bar is calculated for each adjustment pattern according to the following equation (1).

【0050】 d=|DW1−dW1|+|DB1−dB1|+|DW2−dW2|+|DB2−dB2| …(1) 但し、DW1、DB1、DW2、DB2は第1白バー、第1黒バ
ー、第2白バー、第2黒バーの幅寸法の基準値、dW1
B1、dW2、dB2は第1白バー、第1黒バー、第2白バ
ー、第2黒バーの幅寸法の測定値である。各調整用パタ
ーンにおける各バーの測定値、基準値に対する誤差、誤
差の和dの一例を次の表2に示す。
D = | D W1 −d W1 | + | D B1 −d B1 | + | D W2 −d W2 | + | D B2 −d B2 | (1) However, D W1 , D B1 , D W2 , D B2 is the reference value of the width dimension of the first white bar, the first black bar, the second white bar, and the second black bar, d W1 ,
d B1 , d W2 and d B2 are measured values of the width dimension of the first white bar, the first black bar, the second white bar and the second black bar. Table 2 below shows an example of the measured value of each bar in each adjustment pattern, the error with respect to the reference value, and the sum d of the errors.

【0051】[0051]

【表2】 [Table 2]

【0052】次のステップ116では、上記で演算した
誤差の和dが最も小さいパターンを選択する。例えば先
の表2の例では、誤差の和dが最も小さい「パターン
6」が選択される。ステップ118では、上記で選択し
たパターンに対応する各バーの幅寸法を表すドット数
を、特定のバーコード種、特定のキャラクタのバーコー
ドにおける各バーの太さの指定値として設定する。次の
ステップ120では全てのバーコド調整用パターン列に
対して上記処理を行ったか否かを判定する。判定が否定
された場合はステップ108へ戻り、ステップ120の
判定が肯定される迄でステップ108〜120を繰り返
す。なお、このステップ108〜120は本発明の設定
手段に対応しており、このうちステップ108〜116
はバーコード検出結果処理部86における処理に相当
し、ステップ118はバーコード指定値設定部88にお
ける処理に相当している。
At the next step 116, the pattern having the smallest sum d of the errors calculated above is selected. For example, in the example of Table 2 above, “pattern 6” having the smallest sum d of errors is selected. In step 118, the number of dots representing the width dimension of each bar corresponding to the pattern selected above is set as a specified value of the thickness of each bar in a specific barcode type and a specific character barcode. In the next step 120, it is determined whether or not the above processing has been performed for all bar code adjustment pattern rows. If the determination is negative, the process returns to step 108, and steps 108 to 120 are repeated until the determination of step 120 is positive. Note that steps 108 to 120 correspond to the setting means of the present invention, among which steps 108 to 116 are
Corresponds to the processing in the barcode detection result processing unit 86, and step 118 corresponds to the processing in the barcode designated value setting unit 88.

【0053】これにより、各バーコード種、各キャラク
タに対応する各バーコードに対し、プリント部14の現
在の状態に応じた最適な調整用パターンが各々選択さ
れ、選択された調整用パターンにおける各バーのドット
数が各バーの太さの指定値として設定される。ホストコ
ンピュータ76から入力された印刷データに含まれてい
る前記指示情報に応じてバーコードを印刷する際には、
前述の指定値に基づいてバーコードを印刷するための印
刷データが生成されてバーコードの印刷が行われるの
で、印刷されたバーコードの各バーの幅寸法がプリント
部14のメインテナンスを行うことなく基準値に一致又
は近似した値となり、バーコードの読み取りエラーの発
生が防止される。
As a result, for each bar code type and each bar code corresponding to each character, the optimum adjustment pattern corresponding to the current state of the print unit 14 is selected, and each adjustment pattern in the selected adjustment pattern is selected. The number of dots on each bar is set as the specified value for the thickness of each bar. When printing a barcode in accordance with the instruction information included in the print data input from the host computer 76,
Since the print data for printing the barcode is generated based on the specified value and the barcode is printed, the width dimension of each bar of the printed barcode does not require maintenance of the printing unit 14. The value is the same as or close to the reference value, and the occurrence of bar code reading errors is prevented.

【0054】ところで、ステップ120の判定が肯定さ
れるとステップ122へ移行する。ステップ122で
は、プリント部14に対し印刷濃度の変更を指示し、次
のステップ124では、先のステップ100で取り込ん
だバーコード調整シート印刷用データのうち所定ライン
分のデータをプリント部14へ出力する。なお、ステッ
プ122は本発明の濃度変更制御手段に対応しており、
印刷濃度指示部90における処理に相当している。ステ
ップ126では、バーコード調整シート印刷用データを
全て出力したか否か判定する。判定が肯定された場合に
はステップ122へ戻り、判定が肯定される迄ステップ
122〜126が繰り返される。これにより、プリント
部14において印刷濃度が段階的に変更されながら一枚
のバーコード調整シートが印刷される。
By the way, if the determination at step 120 is affirmative, the routine proceeds to step 122. In step 122, the print unit 14 is instructed to change the print density, and in the next step 124, the data for a predetermined line of the barcode adjustment sheet print data fetched in the previous step 100 is output to the print unit 14. To do. Note that step 122 corresponds to the density change control means of the present invention,
This corresponds to the process in the print density instruction unit 90. In step 126, it is determined whether or not all the barcode adjustment sheet print data has been output. If the determination is positive, the process returns to step 122, and steps 122 to 126 are repeated until the determination is positive. As a result, one bar code adjustment sheet is printed while the print density is changed step by step in the print section 14.

【0055】ステップ126の判定が肯定されるとステ
ップ128へ移行してバーコード調整シートの印刷が完
了したか否か判定し、判定が肯定される迄待機する。ス
テップ128の判定が肯定されるとステップ130へ移
行し、スキャナーユニット66を作動させ、各印刷濃度
で印刷されたバーコード調整シート上の全てのバーコー
ド(バーコード調整用パターン列)をスキャナユニット
66によって読み取り、次のステップ132で各印刷濃
度で印刷されたバーコードの読み取りデータを全て取り
込んでRAM50に記憶する。
If the determination at step 126 is affirmative, the routine proceeds to step 128, at which it is determined whether or not the printing of the bar code adjustment sheet is completed, and the process waits until the determination is affirmative. If the determination in step 128 is affirmative, the process proceeds to step 130, the scanner unit 66 is operated, and all the barcodes (barcode adjustment pattern rows) on the barcode adjustment sheet printed at each print density are scanned by the scanner unit. All the read data of the bar code printed with each print density is read and stored in the RAM 50 in the next step 132.

【0056】次のステップ134ではRAM50に記憶
したバーコードの読取りデータに基づいて、印刷濃度の
異なるバーコード毎にPCS値を次の(2)式に従って
演算する。
At the next step 134, the PCS value is calculated according to the following equation (2) for each bar code having a different print density, based on the bar code read data stored in the RAM 50.

【0057】[0057]

【数1】 [Equation 1]

【0058】但し、RL は白バーの光反射率、R0 は黒
バーの光反射率を表す。(2)式より明らかなように、
PCS値は白バーと黒バーの光反射率の差が大きくなる
に従って値が大きくなるので、バーコードの白バーと黒
バーのコントラストを表している。ステップ136で
は、上記で演算したコントラスト(PCS値)が許容範
囲内に収まっているバーコードがあるか否か判定する。
なお、バーコードは一般にコントラスト値が高い程望ま
しいとされているので、上記判定は具体的にはコントト
ラスト値が許容値以下のバーコードが有るか否かを判断
している。
However, R L represents the light reflectance of the white bar, and R 0 represents the light reflectance of the black bar. As is clear from the equation (2),
The PCS value increases as the difference in light reflectance between the white bar and the black bar increases, and thus represents the contrast between the white bar and the black bar of the barcode. In step 136, it is determined whether or not there is a barcode whose contrast (PCS value) calculated above is within the allowable range.
Since it is generally said that a barcode having a higher contrast value is more desirable, the above determination specifically determines whether or not there is a barcode whose contrast value is equal to or less than an allowable value.

【0059】上記判定が否定された場合にはステップ1
42へ移行するが、上記判定が肯定された場合にはステ
ップ138へ移行し、コントラストが許容範囲以内に収
まっているバーコードのうち、最もコントラストが高い
バーコードを選択する。ステップ140では、選択した
バーコードを印刷した際の印刷濃度を、ホストコンピュ
ータ76からの指示に従ってバーコードを印刷する通常
の印刷時の印刷濃度としてプリント部14へ設定し、処
理を終了する。なお、ステップ132〜140は本発明
の印刷濃度設定手段に対応しており、このうちステップ
132〜138はバーコード検出結果処理部86におけ
る処理に相当し、ステップ140は印刷濃度指示部90
における処理に相当している。
If the above determination is denied, step 1
If the above determination is affirmative, the process proceeds to step 138, and the barcode having the highest contrast is selected from the barcodes having the contrast within the allowable range. In step 140, the print density at the time of printing the selected barcode is set in the print unit 14 as the print density at the time of normal printing for printing the barcode according to the instruction from the host computer 76, and the process ends. Note that steps 132 to 140 correspond to the print density setting means of the present invention, of which steps 132 to 138 correspond to the processing in the barcode detection result processing unit 86, and step 140 corresponds to the print density instruction unit 90.
Corresponds to the processing in.

【0060】一方、ステップ112又はステップ136
の判定が否定された場合はステップ142へ移行し、各
バーの幅寸法またはコントラストが許容範囲外であるこ
とを通知するメーセッージを操作パネル28の表示部7
4に表示して処理を終了する。このステップ142は本
発明の通知手段に対応しており、エラー通知部92にお
ける処理に相当する。ステップ112の判定が否定され
た場合は、バーコードの白バー及び黒バーのドット数を
変更しても各バーの幅寸法の基準値との差が許容範囲内
に収まらない場合であり、プリント部14の状態が標準
的な状態から大きく外れていることが考えられる。また
ステップ136の判定が否定された場合についても、印
刷濃度を調整してもバーコードのコントラストが低い場
合であり、上記と同様にプリント部14の状態が標準的
な状態から大きく外れている可能性が高い。
On the other hand, step 112 or step 136
If the determination is negative, the process proceeds to step 142, and a message notifying that the width dimension or the contrast of each bar is out of the allowable range is displayed on the display unit 7 of the operation panel 28.
And the process is terminated. This step 142 corresponds to the notification means of the present invention, and corresponds to the processing in the error notification unit 92. If the determination in step 112 is negative, it means that the difference from the reference value of the width dimension of each bar does not fall within the allowable range even if the number of dots of the white bar and the black bar of the barcode is changed, and the print is performed. It is conceivable that the state of the portion 14 is largely deviated from the standard state. Even when the determination in step 136 is negative, the barcode contrast is low even if the print density is adjusted, and the state of the printing unit 14 may deviate significantly from the standard state as described above. It is highly likely.

【0061】このため、ステップ142で表示部74に
許容範囲以外であることを通知するメッセージが表示さ
れると、ユーザーは感光ドラムのクリーニングや消耗品
の交換等のメンテナンスを行う。これにより、プリンタ
装置10に対しメインテナンスを行うべき適切なタイミ
ングをユーザが容易に知ることができる。
For this reason, when a message is displayed on the display unit 74 in step 142 informing that the outside of the allowable range, the user performs maintenance such as cleaning of the photosensitive drum and replacement of consumables. As a result, the user can easily know the appropriate timing for performing maintenance on the printer device 10.

【0062】なお、上記では各バーコード種、各キャラ
クタに対応する30種類のバーコードの各々について最
適な調整用パターンを選択するようにした例を説明した
が、これに限定されるものではなく、各種バーコードに
おける最適なパターンの対応関係が予め判明している場
合(すなわち、プリント部14が種々の状態のときの各
種バーコードの最適なパターンが各々予め判明している
場合)には、単一のバーコードについてのみ最適な調整
用パターンを選択し、選択したパターンに基づいて各種
バーコードの各バーの太さの指定値を設定するようにし
てもよい。
Although an example has been described above in which the optimum adjustment pattern is selected for each of the 30 types of barcodes corresponding to each barcode type and each character, the present invention is not limited to this. In the case where the optimal pattern correspondences in various barcodes are known in advance (that is, the optimal patterns of various barcodes when the printing unit 14 is in various states are known in advance), The optimum adjustment pattern may be selected only for a single barcode, and the designated value of the thickness of each bar of various barcodes may be set based on the selected pattern.

【0063】また、上記では1枚の記録用紙に各バーコ
ード種、各キャラクタに対応する各バーコードの調整用
パターンを全て印刷するようにしていたが、これに限定
されるものではなく、例えばバーコード種毎に分けて複
数の記録用紙に印刷するようにしてもよい。
Further, in the above description, all the bar code types and the bar code adjustment patterns corresponding to the respective characters are printed on one recording sheet, but the present invention is not limited to this. It may be possible to print on a plurality of recording sheets separately for each barcode type.

【0064】更に、上記では幅寸法検出手段、光反射率
検出手段として2次元に移動するスキャナユニット66
を例に説明したが、これに限定されるものではなく、受
光素子が単一の方向にのみ配列され、受光素子の配列方
向と略直交する方向に沿って移動可能なラインセンサ等
を適用してもよい。
Further, in the above, the scanner unit 66 which moves two-dimensionally as the width dimension detecting means and the light reflectance detecting means.
However, the present invention is not limited to this, and a line sensor or the like in which the light receiving elements are arranged only in a single direction and which can move along a direction substantially orthogonal to the arrangement direction of the light receiving elements is applied. May be.

【0065】また、上記では「JAN」規格を例に説明
したが、本発明はこれに限定されるものではなく、その
他の規格にも適用可能であることは言うまでもない。ま
た、本発明に係るバーコード印刷装置を複数種類のバー
コードの規格に対応可能としてもよい。この場合、各規
格毎に、各規格で定義されている全てのバーコードの各
バーの太さの指定値を記憶すると共に、各規格毎に、図
5に示したバーコード調整処理を行う(ステップ122
〜140の処理は必ずしも各規格毎に行う必要はない)
ようにすればよい。
Further, although the "JAN" standard has been described above as an example, the present invention is not limited to this, and it goes without saying that the present invention can be applied to other standards. Further, the barcode printing apparatus according to the present invention may be compatible with a plurality of types of barcode standards. In this case, for each standard, the designated value of the thickness of each bar of all the bar codes defined in each standard is stored, and the bar code adjustment processing shown in FIG. 5 is performed for each standard ( Step 122
It is not always necessary to carry out the processing up to 140 for each standard.)
What should I do?

【0066】[0066]

【発明の効果】以上説明したように請求項1記載の発明
は、白バー及び黒バーの太さの指定値を各々異ならせた
バーコードの複数の調整用パターンを印刷するための調
整用の印刷データを印刷手段へ出力し、印刷手段により
調整用の印刷データに従って記録媒体に印刷されたバー
コードの複数の調整用パターンの白バー及び黒バーの幅
寸法を各々検出し、調整用の印刷データに従って記録媒
体に印刷されたバーコードの複数の調整用パターンのう
ち、検出された白バー及び黒バーの幅寸法が予め定めら
れた基準値に最も近いパターンを判断し、該判断したパ
ターンに対応するバーコードの白バー及び黒バーの太さ
の指定値を設定するようにしたので、必要以上に印刷手
段等のメインテナンスを行うことなく、バーコードの読
み取りエラーの発生を防止することができる、という優
れた効果を有する。
As described above, according to the first aspect of the present invention, the adjustment for printing the plurality of adjustment patterns of the bar code in which the designated values of the thicknesses of the white bar and the black bar are different from each other. The print data is output to the printing means, and the width dimensions of the white bar and the black bar of the plurality of adjustment patterns of the barcode printed on the recording medium according to the adjustment print data are detected by the printing means, and the adjustment print is performed. Of the plurality of adjustment patterns of the barcode printed on the recording medium according to the data, the pattern in which the width dimension of the detected white bar and black bar is closest to the predetermined reference value is determined, and the determined pattern is determined. Since the specified values of the thickness of the white bar and the black bar of the corresponding bar code are set, the bar code reading error is generated without performing maintenance of printing means more than necessary. Can be prevented, it has an excellent effect that.

【0067】請求項2記載の発明は、請求項1の発明に
おいて、単位データの種類毎に調整用の印刷データを出
力すると共に、複数の調整用パターンのうち検出された
白バー及び黒バーの幅寸法が予め定められた基準値に最
も近いパターンを判断し、該判断したパターンに対応す
るバーコードの白バー及び黒バーの太さの指定値を設定
することを、単位データの種類毎に行うようにしたの
で、上記効果に加え、各種単位情報に対応する各バーコ
ードの各々の複数の調整用パターンのうちの最適なパタ
ーンが印刷手段の状態に対し一意的には定まらない場合
であっても、各バーコードの白バー及び黒バーの幅寸法
が予め定められた基準値と一致又は近似した値となるよ
うに白バー及び黒バーの太さの指定値を変更できる、と
いう効果を有する。
According to a second aspect of the present invention, in the first aspect of the present invention, the print data for adjustment is output for each type of unit data, and the detected white bar and black bar of the plurality of adjustment patterns are output. For each type of unit data, the pattern whose width dimension is closest to the predetermined reference value is determined, and the designated value of the thickness of the white bar and the black bar of the barcode corresponding to the determined pattern is set. In addition to the above effect, the optimum pattern among the plurality of adjustment patterns of each barcode corresponding to various unit information is not uniquely determined with respect to the state of the printing unit. However, the effect that the specified value of the thickness of the white bar and the black bar can be changed so that the width dimension of the white bar and the black bar of each barcode becomes a value that matches or approximates the predetermined reference value. Have.

【0068】請求項3記載の発明は、請求項1又は請求
項2の発明において、記録媒体へのバーコードの印刷を
行っている状態で印刷濃度を段階的に変更させ、印刷手
段によって記録媒体に印刷されたバーコードの白バー及
び黒バーの光反射率を検出し、異なる印刷濃度で記録媒
体に印刷された複数のバーコードのうち、検出された白
バー及び黒バーの光反射率より求まるコントラストが最
も高いバーコードを判断し、該バーコードが印刷された
ときの印刷濃度を設定するようにしたので、上記効果に
加え、印刷手段の状態が変化し記録媒体に記録されるバ
ーコードの白バー及び黒バーのコントラストが低下した
場合にも、必要以上に印刷手段等のメインテナンスを行
うことなく、バーコードの読み取りエラーの発生を防止
することができる、という効果を有する。
According to a third aspect of the invention, in the first or second aspect of the invention, the print density is changed stepwise while the bar code is being printed on the recording medium, and the printing means causes the recording medium to change. The light reflectance of the white bar and the black bar of the barcode printed on the is detected, and from the detected light reflectance of the white bar and the black bar of the multiple barcodes printed on the recording medium with different printing densities. Since the bar code having the highest contrast to be obtained is determined and the print density when the bar code is printed is set, in addition to the above effects, the bar code recorded on the recording medium when the state of the printing means changes Even when the contrast of the white bar and the black bar is lowered, it is possible to prevent the occurrence of a barcode reading error without performing maintenance of the printing means or the like more than necessary. It has the effect of.

【0069】請求項4記載の発明は、請求項1乃至請求
項3の何れかの発明において、記録媒体に印刷されたバ
ーコードの複数の調整用パターンの各々の白バー及び黒
バーの幅寸法が予め定められた許容範囲から外れていた
場合、又は異なる印刷濃度で記録媒体に印刷された複数
のバーコードの各々のコントラストが予め定められた許
容範囲から外れていた場合に通知するようにしたので、
上記効果に加え、バーコード印刷装置のメインテナンス
を適切なタイミングで行わせることが可能となる、とい
う効果を有する。
According to a fourth aspect of the invention, in any one of the first to third aspects of the invention, the width dimension of each of the white bar and the black bar of each of the plurality of adjustment patterns of the barcode printed on the recording medium. If it is out of the predetermined tolerance range, or if the contrast of each of the multiple barcodes printed on the recording medium with different print densities is out of the predetermined tolerance range, it is notified. So
In addition to the above effects, there is an effect that it is possible to perform maintenance of the barcode printing apparatus at an appropriate timing.

【図面の簡単な説明】[Brief description of drawings]

【図1】本実施形態に係るプリンタ装置の概略構成を示
すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a printer device according to an embodiment.

【図2】プリンタ装置の制御部の概略構成を示すブロッ
ク図である。
FIG. 2 is a block diagram showing a schematic configuration of a control unit of the printer device.

【図3】プリンタ装置の外観を示す斜視図である。FIG. 3 is a perspective view showing an appearance of a printer device.

【図4】制御部のCPUが備えている各種機能のうち、
バーコードの印刷に係わる機能をブロック毎に分けて示
す機能ブロック図である。
FIG. 4 is a block diagram illustrating various functions included in a CPU of a control unit.
It is a functional block diagram showing a function concerning printing of a barcode divided into blocks.

【図5】バーコード調整処理の内容を示すフローチャー
トである。
FIG. 5 is a flowchart showing the contents of barcode adjustment processing.

【図6】バーコード調整シートの一例を示すイメージ図
である。
FIG. 6 is an image diagram showing an example of a barcode adjustment sheet.

【図7】バーコード調整シートにバーコード種毎、キャ
ラクタ毎に記録される複数の調整用パターンの一例を説
明するための概念図である。
FIG. 7 is a conceptual diagram for explaining an example of a plurality of adjustment patterns recorded on a barcode adjustment sheet for each barcode type and for each character.

【符号の説明】[Explanation of symbols]

10 プリンタ装置 12 記録用紙 14 プリント部 16 制御部 40 CPU 66 スキャナユニット 14 プリント部 96 バーコード調整用シート 10 Printer Device 12 Recording Paper 14 Printing Section 16 Control Section 40 CPU 66 Scanner Unit 14 Printing Section 96 Bar Code Adjustment Sheet

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 バーコードを印刷する指示が入力される
と、予め設定された白バー及び黒バーの太さの指定値に
従ってバーコードの印刷データを生成して出力するバー
コード印刷データ生成手段と、 入力された印刷データに応じて記録媒体にバーコードを
印刷する印刷手段と、 バーコードの白バー及び黒バーの太さの指定値を各々異
ならせた複数の調整用パターンを印刷するための調整用
の印刷データを前記印刷手段へ出力する調整用データ出
力手段と、 前記印刷手段により前記調整用の印刷データに従って記
録媒体に印刷されたバーコードの複数の調整用パターン
の白バー及び黒バーの幅寸法を各々検出する幅寸法検出
手段と、 前記調整用の印刷データに従って記録媒体に印刷された
バーコードの複数の調整用パターンのうち、前記幅寸法
検出手段によって検出された白バー及び黒バーの幅寸法
が予め定められた基準値に最も近いパターンを判断し、
該判断したパターンに対応するバーコードの白バー及び
黒バーの太さの指定値を前記バーコード印刷データ生成
手段に設定する設定手段と、 を含むバーコード印刷装置。
1. A barcode print data generation means for generating and outputting print data of a barcode according to preset thickness designation values of white and black bars when an instruction to print a barcode is input. To print a barcode on the recording medium according to the input print data, and to print a plurality of adjustment patterns with different specified thicknesses of the white and black bars of the barcode. Adjusting data output means for outputting the adjusting print data to the printing means, and white bars and black of a plurality of adjusting patterns of the barcode printed on the recording medium according to the adjusting print data by the printing means. A width dimension detecting means for detecting each width dimension of the bar, and the width dimension among the plurality of adjustment patterns of the barcode printed on the recording medium according to the adjustment print data. Determining closest pattern to the reference value width of the detected white bars and black bars predetermined by the detection means,
A barcode printing apparatus, comprising: setting means for setting the designated values of the thickness of the white bar and the black bar of the barcode corresponding to the judged pattern in the barcode print data generating means.
【請求項2】 前記バーコードを印刷する指示として、
単位情報の組み合わせで構成される所定の情報を表すバ
ーコードを印刷する指示が入力され、 前記バーコード印刷データ生成手段は、単位データの種
類毎に予め設定された白バー及び黒バーの太さの指定値
に従って前記所定の情報を表すバーコードの印刷データ
を生成し、 前記調整用データ出力手段は、単位データの種類毎に前
記調整用の印刷データを出力し、 前記設定手段は、複数の調整用パターンのうち検出され
た白バー及び黒バーの幅寸法が予め定められた基準値に
最も近いパターンを判断し、該判断したパターンに対応
するバーコードの白バー及び黒バーの太さの指定値を前
記バーコード印刷データ生成手段に設定することを、単
位データの種類毎に行うことを特徴とする請求項1記載
のバーコード印刷装置。
2. As an instruction to print the barcode,
An instruction to print a bar code representing predetermined information composed of a combination of unit information is input, and the bar code print data generation unit is configured to set the thickness of the white bar and the black bar preset for each type of unit data. Generate the print data of the bar code representing the predetermined information according to the specified value of, the adjustment data output unit outputs the adjustment print data for each type of unit data, the setting unit, a plurality of Of the adjustment patterns, the width of the detected white and black bars is determined to be the closest to the predetermined reference value, and the thickness of the white and black bars of the barcode corresponding to the determined pattern is determined. 2. The barcode printing apparatus according to claim 1, wherein the designated value is set in the barcode printing data generation means for each type of unit data.
【請求項3】 前記印刷手段が記録媒体へのバーコード
の印刷を行っている状態で、印刷手段による印刷濃度を
段階的に変更させる濃度変更制御手段と、 印刷手段によって記録媒体に印刷されたバーコードの白
バー及び黒バーの光反射率を検出する光反射率検出手段
と、 前記濃度変更制御手段により異なる印刷濃度で記録媒体
に印刷された複数のバーコードのうち、前記光反射率検
出手段によって検出された白バー及び黒バーの光反射率
より求まるコントラストが最も高いバーコードを判断
し、該バーコードが印刷されたときの印刷濃度を印刷手
段に設定する印刷濃度設定手段と、 を更に設けたことを特徴とする請求項1又は請求項2記
載のバーコード印刷装置。
3. A density change control unit for gradually changing the print density by the printing unit while the printing unit is printing a bar code on the recording medium, and the printing unit prints on the recording medium. Light reflectance detection means for detecting the light reflectance of the white bar and the black bar of the barcode, and the light reflectance detection of the plurality of barcodes printed on the recording medium at different print densities by the density change control means. A print density setting means for determining a barcode having the highest contrast obtained from the light reflectances of the white bar and the black bar detected by the means, and setting the print density when the barcode is printed in the printing means; The bar code printer according to claim 1 or 2, further comprising:
【請求項4】 前記記録媒体に印刷されたバーコードの
複数の調整用パターンの各々の白バー及び黒バーの幅寸
法が予め定められた許容範囲から外れていた場合、又は
異なる印刷濃度で記録媒体に印刷された複数のバーコー
ドの各々のコントラストが予め定められた許容範囲から
外れていた場合に通知する通知手段を更に設けたことを
特徴とする請求項1乃至請求項3の何れか1項記載のバ
ーコード印刷装置。
4. When the width dimensions of the white bar and the black bar of each of the plurality of adjustment patterns of the barcode printed on the recording medium are out of a predetermined allowable range, or the recording is performed at different print densities. 4. A notification means for notifying when the contrast of each of a plurality of barcodes printed on a medium is out of a predetermined allowable range, further comprising notification means. A bar code printing device as described in the paragraph.
JP7181801A 1995-07-18 1995-07-18 Bar code printing apparatus Pending JPH0930054A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7181801A JPH0930054A (en) 1995-07-18 1995-07-18 Bar code printing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7181801A JPH0930054A (en) 1995-07-18 1995-07-18 Bar code printing apparatus

Publications (1)

Publication Number Publication Date
JPH0930054A true JPH0930054A (en) 1997-02-04

Family

ID=16107096

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7181801A Pending JPH0930054A (en) 1995-07-18 1995-07-18 Bar code printing apparatus

Country Status (1)

Country Link
JP (1) JPH0930054A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6340960B1 (en) 1998-02-24 2002-01-22 Lg Electronics Inc. Circuit and method for driving plasma display panel
JP2007118316A (en) * 2005-10-26 2007-05-17 Canon Inc Image processing method and its device
JP2008305137A (en) * 2007-06-07 2008-12-18 Canon Finetech Inc Bar-code generation system, bar-code generation program and printer
JP2009020766A (en) * 2007-07-12 2009-01-29 Canon Finetech Inc Test chart and test pattern
JP2009066859A (en) * 2007-09-12 2009-04-02 Canon Finetech Inc Barcode generation system, barcode generation program, printing device, and test chart
JP2011048193A (en) * 2009-08-27 2011-03-10 Canon Inc Method of determining image forming condition, image forming apparatus and control method of the same
JP2011183808A (en) * 2011-04-19 2011-09-22 Canon Inc Printer, print controller, data processing method, and program
JP2013009387A (en) * 2012-08-01 2013-01-10 Canon Inc Printer, print controller, data processing method, and program
US8599401B2 (en) 2010-11-04 2013-12-03 Fuji Xerox Co., Ltd. Image processing device, image processing system, and computer readable medium
JP2020203396A (en) * 2019-06-14 2020-12-24 東芝テック株式会社 Code verification device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6340960B1 (en) 1998-02-24 2002-01-22 Lg Electronics Inc. Circuit and method for driving plasma display panel
JP2007118316A (en) * 2005-10-26 2007-05-17 Canon Inc Image processing method and its device
US8186594B2 (en) 2005-10-26 2012-05-29 Canon Kabushiki Kaisha Image processing method and apparatus thereof
JP2008305137A (en) * 2007-06-07 2008-12-18 Canon Finetech Inc Bar-code generation system, bar-code generation program and printer
JP2009020766A (en) * 2007-07-12 2009-01-29 Canon Finetech Inc Test chart and test pattern
JP2009066859A (en) * 2007-09-12 2009-04-02 Canon Finetech Inc Barcode generation system, barcode generation program, printing device, and test chart
JP2011048193A (en) * 2009-08-27 2011-03-10 Canon Inc Method of determining image forming condition, image forming apparatus and control method of the same
US8599401B2 (en) 2010-11-04 2013-12-03 Fuji Xerox Co., Ltd. Image processing device, image processing system, and computer readable medium
JP2011183808A (en) * 2011-04-19 2011-09-22 Canon Inc Printer, print controller, data processing method, and program
JP2013009387A (en) * 2012-08-01 2013-01-10 Canon Inc Printer, print controller, data processing method, and program
JP2020203396A (en) * 2019-06-14 2020-12-24 東芝テック株式会社 Code verification device

Similar Documents

Publication Publication Date Title
JP3101363B2 (en) User-definable font replacement device with equivalence indicator
JP2007124352A (en) Image processor and method thereof
JPH0930054A (en) Bar code printing apparatus
JP2006251102A (en) Image forming apparatus
EP0425218B1 (en) Output apparatus
JP2008302648A (en) Image forming device
US6870639B2 (en) Method and apparatus for image data processing system increasing quality of produced images
JP3624049B2 (en) Image forming apparatus
JPH0661967B2 (en) output method
US20040190026A1 (en) Image input/output system, image-processing method and printer driver
JP2000318276A (en) Printer, method for correcting its density and storage medium
JP2910821B2 (en) Printing device
JP2002354234A (en) Image forming device
JPS61197252A (en) Image output device
JP3020987B2 (en) Method for adjusting color balance of color image forming apparatus
JP2567893B2 (en) Digital copier
JP2860190B2 (en) Printing device and print control device
JPH02277676A (en) Image printing apparatus
JP2006116800A (en) Printing system and printing apparatus
JP2932470B2 (en) Operating devices for electronic equipment
JPH10276317A (en) Image forming device
JP4537156B2 (en) Image forming apparatus
JP3167062B2 (en) Image recording device
JPH05208527A (en) Printing device
JPH0997300A (en) 1.5-dimensional bar code