JP2705354B2 - Printing device with print density detection function - Google Patents

Printing device with print density detection function

Info

Publication number
JP2705354B2
JP2705354B2 JP3112293A JP11229391A JP2705354B2 JP 2705354 B2 JP2705354 B2 JP 2705354B2 JP 3112293 A JP3112293 A JP 3112293A JP 11229391 A JP11229391 A JP 11229391A JP 2705354 B2 JP2705354 B2 JP 2705354B2
Authority
JP
Japan
Prior art keywords
printing
unit
print density
density
data
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.)
Expired - Lifetime
Application number
JP3112293A
Other languages
Japanese (ja)
Other versions
JPH04319472A (en
Inventor
二三章 平
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP3112293A priority Critical patent/JP2705354B2/en
Publication of JPH04319472A publication Critical patent/JPH04319472A/en
Application granted granted Critical
Publication of JP2705354B2 publication Critical patent/JP2705354B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、印字装置に関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printing device.

【0002】[0002]

【従来の技術】インクリボンを用いて印刷媒体に文字を
印刷する印字装置では、同じインクリボンを繰り返して
使用している内に、印刷濃度は徐々に低下し、やがてイ
ンクリボンの交換が必要となる。このような印刷濃度の
低下を従来は次のような方法によって検出していた。 (1)利用者が印刷結果を見る。 (2)一つのインクリボンで印刷した行数あるいは総印
刷文字数を計数する。 (3)印刷結果を画素で表して各画素の印刷濃度を2値
化し、黒となる画素の数を計数する。
2. Description of the Related Art In a printing apparatus for printing characters on a print medium using an ink ribbon, the printing density gradually decreases while the same ink ribbon is repeatedly used, and it is necessary to replace the ink ribbon soon. Become. Conventionally, such a decrease in print density has been detected by the following method. (1) The user looks at the print result. (2) Count the number of lines printed by one ink ribbon or the total number of printed characters. (3) The printing result is represented by pixels, the printing density of each pixel is binarized, and the number of black pixels is counted.

【0003】[0003]

【発明が解決しようとする課題】第1の方法が最も一般
的であるが、この方法では、人が印刷結果をいちいち見
る必要があり、検出結果も客観的でない。
The first method is the most common, but this method requires a person to look at the print result, and the detection result is not objective.

【0004】第2の方法は、印刷濃度を直接検出するの
ではなく、印刷行数あるいは印刷文字数を計数して印刷
濃度を間接的に検出するという方法である。従って、検
出結果は必ずしも実際の印刷濃度を正確に表していると
は限らない。
A second method is to detect the print density indirectly by counting the number of print lines or print characters instead of directly detecting the print density. Therefore, the detection result does not always accurately represent the actual print density.

【0005】第3の方法では、印刷濃度が直接検出され
るが、黒画素の数だけで濃度を検出するので、印刷され
る文字が複雑な場合には、濃度が低下していても高い濃
度に検出され、逆に単純な文字の場合には、実際の濃度
が高くても、低い濃度として検出される。
In the third method, the print density is directly detected. However, since the density is detected only by the number of black pixels, when the characters to be printed are complicated, even if the density is low, the high density is obtained. On the contrary, in the case of a simple character, even if the actual density is high, it is detected as a low density.

【0006】本発明の目的は、このような問題を解決
し、印刷濃度を正確に検出し、印刷濃度の低下を的確に
利用者に知らせることができる印刷濃度検出機能を有す
る印字装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a printing apparatus having a printing density detecting function capable of solving such a problem, accurately detecting the printing density, and accurately notifying the user of a decrease in the printing density. It is in.

【0007】[0007]

【課題を解決するための手段】本発明は、与えられた文
字コードにもとづいて所定の印刷媒体に文字を印刷する
印字装置において、前記印刷媒体に印刷された文字を画
素に分割して各画素の印刷濃度を2値化し、そのデータ
を出力する読み取り部と、この読み取り部が出力する前
記データの内、所定の値のデータの数を計数する計数部
と、この計数部が計数する前記データの数の標準値を、
前記文字コードにもとづき文字の複雑さに応じて出力す
る標準値生成部と、前記計数部が計数したデータの数
と、前記標準値生成部が出力する前記標準値とを比較
し、その結果を表す信号を出力する判定部とを備えたこ
とを特徴とする。
According to the present invention, there is provided a printing apparatus for printing a character on a predetermined print medium based on a given character code, wherein the character printed on the print medium is divided into pixels. A reading unit that binarizes the print density of the data and outputs the data, a counting unit that counts the number of data of a predetermined value among the data output by the reading unit, and the data that is counted by the counting unit The standard value for the number of
A standard value generation unit that outputs according to the complexity of the character based on the character code, the number of data counted by the counting unit, and the standard value output by the standard value generation unit are compared, and the result is compared. And a determination unit that outputs a signal representing the signal.

【0008】[0008]

【実施例】次に本発明の実施例について図面を参照して
説明する。図1は本発明による印字装置の一例を示すブ
ロック図である。印字部2は、文字コードが与えられる
とそのコードが表す文字を、予めセットされている印刷
用紙に印刷する。読みとり部3は、この印字部2によっ
て印刷された文字を、用紙上の所定の範囲から読み取
り、読み取った文字を画素で表し、各画素の印刷濃度を
所定の印刷濃度をスレッシュホールドとして2値化し、
そのデータを出力する。計数部4は読み取り部3からデ
ータを受け取り、その値にもとづいて印刷濃度が上記ス
レッシュホールドを越える画素、すなわち黒画素の数を
計数する。この計数値は、印刷濃度が高いほど大きな値
となり、また印刷された文字が複雑であるほど大きな値
となる。黒画素数算出部1は印刷すべき文字のコードを
外部から受け取り、それらが読み取り部3の読み取り可
能範囲内に印刷されることを確認して、受け取った文字
コードを印字部2に出力する。さらに黒画素数算出部1
は、受け取ったコードにもとづき、文字の複雑さに応じ
て計数部4の計数結果の標準値を算出し、判定部5に出
力する。判定部5は、計数部4の計数値と、黒画素数算
出部1からの標準値とを比較し、計数値が標準値より小
さい場合には印刷濃度が低下していることを示す所定の
信号を出力する。
Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an example of a printing apparatus according to the present invention. When the character code is given, the printing unit 2 prints the character represented by the code on a printing paper set in advance. The reading unit 3 reads the characters printed by the printing unit 2 from a predetermined range on the paper, represents the read characters by pixels, and binarizes the print density of each pixel using a predetermined print density as a threshold. ,
Output the data. The counting section 4 receives the data from the reading section 3 and counts the number of pixels, that is, black pixels, whose print density exceeds the above threshold, based on the value. This count value increases as the print density increases, and increases as the printed characters become more complex. The black pixel number calculation unit 1 receives the codes of the characters to be printed from the outside, confirms that they are printed within the readable range of the reading unit 3, and outputs the received character codes to the printing unit 2. Further, a black pixel number calculation unit 1
Calculates the standard value of the counting result of the counting unit 4 according to the complexity of the character based on the received code, and outputs it to the determination unit 5. The determination unit 5 compares the count value of the counting unit 4 with the standard value from the black pixel number calculation unit 1, and when the count value is smaller than the standard value, a predetermined value indicating that the print density has decreased. Output a signal.

【0009】次に動作を説明する。外部より印刷すべき
文字のコードが与えられると、黒画素数算出部1はそれ
らが読み取り部3の読み取り可能範囲内に印刷されるこ
とを確認して、受け取った文字コードを印字部2に出力
する。黒画素数算出部1はまた、受け取ったコードにも
とづき、文字の複雑さに応じて計数部4の計数結果の標
準値を算出し、判定部5に出力する。
Next, the operation will be described. When a code of a character to be printed is given from outside, the black pixel number calculation unit 1 confirms that these are printed within the readable range of the reading unit 3 and outputs the received character code to the printing unit 2. I do. The black pixel number calculation unit 1 also calculates a standard value of the counting result of the counting unit 4 according to the complexity of the character based on the received code, and outputs the standard value to the determination unit 5.

【0010】印字部2は、黒画素数算出部1から文字コ
ードが与えられるとそのコードが表す文字を、予めセッ
トされている印刷用紙に印刷する。読み取り部3は、こ
の印字部2によって印刷された文字を、用紙上の所定の
範囲から読み取り、読み取った文字を画素で表し、各画
素の印刷濃度を所定の印刷濃度をスレッシュホールドと
して2値化し、そのデータを出力する。計数部4は読み
取り部3からデータを受け取り、その値にもとづいて黒
画素の数を計数する。
When the character code is given from the black pixel number calculation unit 1, the printing unit 2 prints the character represented by the code on a printing paper set in advance. The reading unit 3 reads the characters printed by the printing unit 2 from a predetermined range on the paper, represents the read characters by pixels, and binarizes the print density of each pixel using a predetermined print density as a threshold. And output that data. The counting unit 4 receives the data from the reading unit 3 and counts the number of black pixels based on the value.

【0011】そして、判定部5は、計数部4が計数した
黒画素の計数値と、黒画素数算出部1からの標準値とを
比較し、計数値が標準値より小さい場合には印刷濃度が
低下していることを示す所定の信号を出力する。
The determination unit 5 compares the count value of the black pixels counted by the counting unit 4 with the standard value from the black pixel number calculation unit 1. If the count value is smaller than the standard value, the print density is determined. Is output.

【0012】[0012]

【発明の効果】以上説明したように本発明の印刷濃度検
出機能を有する印字装置では、印刷された文字を画素で
表したとき、黒となる画素の数を計数し、その計数値を
標準値と比較して印刷濃度を検出・判定するが、その
際、標準値を印刷された文字の複雑さに応じて設定する
ようになっている。従って、印刷濃度は印刷される文字
によらず正確に検出され、印刷濃度の低下を的確に利用
者に知らせることができる。
As described above, in the printing apparatus having the print density detecting function of the present invention, when a printed character is represented by a pixel, the number of black pixels is counted, and the counted value is set to a standard value. The print density is detected and determined by comparing with the standard value. At this time, a standard value is set according to the complexity of the printed character. Therefore, the print density is accurately detected irrespective of the characters to be printed, and it is possible to accurately notify the user of the decrease in print density.

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

【図1】本発明による印刷濃度検出機能を有する印字装
置の一例を示すブロック図である。
FIG. 1 is a block diagram illustrating an example of a printing apparatus having a print density detection function according to the present invention.

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

1 黒画素数算出部 2 印字部 3 読み取り部 4 計数部 5 判定部 1 black pixel number calculation unit 2 printing unit 3 reading unit 4 counting unit 5 judgment unit

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】与えられた文字コードにもとづいて所定の
印刷媒体に文字を印刷する印字装置において、 前記印刷媒体に印刷された文字を画素に分割して各画素
の印刷濃度を2値化し、そのデータを出力する読み取り
部と、 この読み取り部が出力する前記データの内、所定の値の
データの数を計数する計数部と、 この計数部が計数する前記データの数の標準値を、前記
文字コードにもとづき文字の複雑さに応じて出力する標
準値生成部と、 前記計数部が計数したデータの数と、前記標準値生成部
が出力する前記標準値とを比較し、その結果を表す信号
を出力する判定部とを備えたことを特徴とする印刷濃度
検出機能を有する印字装置。
A printing apparatus for printing characters on a predetermined printing medium based on a given character code, wherein the characters printed on the printing medium are divided into pixels, and the printing density of each pixel is determined. A reading unit for binarizing and outputting the data, a counting unit for counting the number of data of a predetermined value among the data output by the reading unit, and a standard for the number of data counted by the counting unit A value, a standard value generation unit that outputs the value according to the complexity of the character based on the character code, and compares the number of data counted by the counting unit with the standard value output by the standard value generation unit. A printing unit having a print density detection function, comprising: a determination unit that outputs a signal indicating the result.
【請求項2】前記所定の値は、印刷濃度が所定の濃度を
上回る画素の印刷濃度に対応することを特徴とする請求
項1記載の印刷濃度検出機能を有する印字装置。
Wherein said predetermined value, the printing density printing apparatus having a print density detecting function according to claim 1, characterized in that corresponding to the print density of pixels above a predetermined concentration.
【請求項3】前記読み取り部は前記印字媒体に印刷され
た複数の文字を読み取ることを特徴とする請求項1また
は2記載の印刷濃度検出機能を有する印字装置。
3. The printing apparatus according to claim 1, wherein the reading unit reads a plurality of characters printed on the print medium.
JP3112293A 1991-04-18 1991-04-18 Printing device with print density detection function Expired - Lifetime JP2705354B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3112293A JP2705354B2 (en) 1991-04-18 1991-04-18 Printing device with print density detection function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3112293A JP2705354B2 (en) 1991-04-18 1991-04-18 Printing device with print density detection function

Publications (2)

Publication Number Publication Date
JPH04319472A JPH04319472A (en) 1992-11-10
JP2705354B2 true JP2705354B2 (en) 1998-01-28

Family

ID=14583066

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3112293A Expired - Lifetime JP2705354B2 (en) 1991-04-18 1991-04-18 Printing device with print density detection function

Country Status (1)

Country Link
JP (1) JP2705354B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04286673A (en) * 1991-03-18 1992-10-12 Fujitsu Ltd Method for detecting density of printed character

Also Published As

Publication number Publication date
JPH04319472A (en) 1992-11-10

Similar Documents

Publication Publication Date Title
US4143356A (en) Character recognition apparatus
US4667089A (en) Bar code discriminating apparatus for bar code reading
EP0172727B1 (en) Apparatus and method for sensing bar coded data
EP0379546B1 (en) Method and apparatus for reading characters
JP2705354B2 (en) Printing device with print density detection function
EP1703446A1 (en) Apparatus and method for generating bar code, and apparatus and method for reading out bar code
JPS6231485A (en) Bar code reader
JP2742920B2 (en) Barcode reader
JPH07175632A (en) Bar code reader
JP3412441B2 (en) Image processing device
JP2875330B2 (en) Character recognition method
JPH0452169A (en) Detecting device for degree of density in printing
JPH0632074B2 (en) Normalization method
JPS6041396B2 (en) Address detection device
CA2048824A1 (en) System for decoding bar codes on job programming separators for electronic reprographic/printing machines
JPS6227435B2 (en)
JPS5734991A (en) System for determining printing density
JP3013887U (en) Hexagon mark reading device for prepaid cards
JP3128056B2 (en) Mark reader
JPS622356B2 (en)
JPH0830709A (en) Bar code reader
JPH04113484A (en) Page mark reader
JPH0640127A (en) Printing density detection system
JPH08172522A (en) Resolution switching device
JPS5967766A (en) System for detecting abnormal print of printer