JPS6042038B2 - printing device - Google Patents

printing device

Info

Publication number
JPS6042038B2
JPS6042038B2 JP8562077A JP8562077A JPS6042038B2 JP S6042038 B2 JPS6042038 B2 JP S6042038B2 JP 8562077 A JP8562077 A JP 8562077A JP 8562077 A JP8562077 A JP 8562077A JP S6042038 B2 JPS6042038 B2 JP S6042038B2
Authority
JP
Japan
Prior art keywords
printing
paper
code
energy
cpu
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
Application number
JP8562077A
Other languages
Japanese (ja)
Other versions
JPS5421124A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP8562077A priority Critical patent/JPS6042038B2/en
Publication of JPS5421124A publication Critical patent/JPS5421124A/en
Publication of JPS6042038B2 publication Critical patent/JPS6042038B2/en
Expired legal-status Critical Current

Links

Description

【発明の詳細な説明】 この発明は情報処理システムの端末機器の一つである印
字装置、特にインパクト式プリンタに関するものである
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a printing device, which is one of the terminal devices of an information processing system, and particularly to an impact printer.

従来、この種の印字装置において、印字用紙の種類を自
動的に検知すると共に、実際に印字動作をさせることに
より印字エネルギーを自動的に検出し、前記の印字用紙
に適した印字エネルギーになるように自動的に印字エネ
ルギーを制御して、印字品質を常に良好に維持する印字
制御システムは開発されていない。
Conventionally, in this type of printing device, the type of printing paper is automatically detected, and the printing energy is automatically detected by actually performing the printing operation, so that the printing energy is adjusted to be suitable for the printing paper. A printing control system that automatically controls printing energy and maintains good printing quality at all times has not been developed.

従来は、人間が目視により印字用紙の種類を判別し、或
は印字用紙の厚さを自動的に又は目視て測定し、それに
基づいてプラテンなどの印字ヘッドに対する相対位置を
自動又は手動て動かすとか、或は駆動マグネットの励磁
電流の制御をおこなうとかして、良好な印字品質を得る
ための印字エネルギー制御をおこなつており、実際に印
字した印字エネルギーを検出して、それとの比較に基づ
いて制御するようなことはおこなつていない。このよう
な人間の目視にたよる方法であると、印字用紙が複数枚
のカーボン紙を含むような場合、枚数判断を誤り易く、
したがつて印字圧の制御も正確を期し難い。
Conventionally, a person visually determines the type of print paper, or measures the thickness of the print paper automatically or visually, and then automatically or manually moves the relative position of the platen or the like to the print head based on this. Alternatively, printing energy is controlled to obtain good printing quality by controlling the excitation current of the drive magnet, and the printing energy is detected and controlled based on comparison with the actual printing energy. I haven't done anything like that. If this method relies on human visual inspection, if the printing paper contains multiple sheets of carbon paper, it is easy to misjudge the number of sheets.
Therefore, it is difficult to control the printing pressure accurately.

また用紙の枚数を直接検出し、それにより印字エネルギ
ーの制御をおこなうことは従来から知られているが、こ
れでは制御を一旦セット−すると、その後の使用環境条
件の変化(例えは温度変化とか電源電圧の変動、或は機
械的振動により印字ヘッドとプラテンの間のクリアラン
スの変動)に対応できず、印字品質の劣悪化は免れない
。また印字品質調整のための従来の方法だと、印字見本
を先す定め、それに対して人間の感覚で印字品質を調整
していたから、人間の個人差に基因する印字品質のバラ
ツキは免れ得なかつた。それにドット、プリンタの場合
など、プラテンとニードルとの間のクリアランスが0.
6〜0.3・−と非常に狭いので、印字品質を見ながら
手動で0.05〜0.1悶のクリアランス調整をおこな
わなければならないが、これは実際問題として非常に困
難であつた。この発明は上述の従来の諸欠点を克服する
ため・になされたものであり、この発明による印字装置
では、印字用紙に付されたコードを検知して、印字エネ
ルギーの制御を行い安定した良好な印字を得ることを目
的とする。
In addition, it has been known for a long time to directly detect the number of sheets of paper and control the printing energy accordingly, but once the control is set, changes in the operating environment conditions (for example, temperature changes, power supply It is not possible to cope with fluctuations in the clearance between the print head and the platen due to voltage fluctuations or mechanical vibrations, and deterioration of print quality is inevitable. Furthermore, in the conventional method for adjusting print quality, a print sample was determined in advance and the print quality was adjusted based on human senses, so variations in print quality due to individual differences were inevitable. . In addition, in the case of dot printers, the clearance between the platen and the needle is 0.
Since the clearance is extremely narrow (6 to 0.3.-), it is necessary to manually adjust the clearance to 0.05 to 0.1 while checking the printing quality, but this is extremely difficult in practice. This invention was made to overcome the above-mentioned conventional drawbacks, and the printing device according to the invention detects the code attached to the printing paper and controls the printing energy to achieve stable and good results. The purpose is to obtain printing.

以下図を参照して詳しく説明する。This will be explained in detail below with reference to the figures.

第1図はこの発明の一実施例の概要を示すブロック図で
ある。図において、1は圧電素子、2はA/D変換器、
3は印字エネルギー制御回路、4は使用環境条件判断回
路、AMPは増幅器、CPUは中央処理装置、ROMは
リード・オンリイ・メモI八14は印字用紙に付された
コードを読み取るための読み取り手段としての検出器で
ある。ニードルによる印字エネルギーを検出するのが圧
電素子1であり、この圧電素子1により検出された印字
エネルギーは電気エネルギーの形をとつて送られ、増幅
器AN4Pにおいて増幅され、そしてA/D変換器2に
印加されてディジタル信号に変換される。
FIG. 1 is a block diagram showing an outline of an embodiment of the present invention. In the figure, 1 is a piezoelectric element, 2 is an A/D converter,
3 is a printing energy control circuit, 4 is a usage environment condition judgment circuit, AMP is an amplifier, CPU is a central processing unit, ROM is a read-only memo, and 14 is a reading means for reading the code attached to the printing paper. It is a detector of The piezoelectric element 1 detects the printing energy produced by the needle, and the printing energy detected by the piezoelectric element 1 is sent in the form of electrical energy, amplified by the amplifier AN4P, and then sent to the A/D converter 2. is applied and converted into a digital signal.

一方、ROMには、印字用紙の種類を符号化した種類コ
ードと、印字用紙の種類に従つて最適の印字をおこなう
ための印字エネルギーを符号化して表現した印字エネル
ギー・コードとがストアされている。CPUは、印字用
紙の種類検出器14から印字用紙の種類コードを読み込
み、そしてその種類コードに対応した印字エネルギー・
コードをROMから読み込み、他方A/D変換器2から
送られてくるディジタル信号を前記印字エネルギー・コ
ードと比較し、その結果によつて印字エネルギー制御回
路3を制御する。使用環境条件判断回路4は印字装置の
使用されている環境条件の変化を検知してCPUに伝え
るための回路であり、CPUはこの回路4から伝えられ
る情報をも勘酎して印字エネルギー制御回路3を制御す
る。ここで圧電素子1として高感度のものを用い、また
A/D変換器の分解能をよくすれば、人間の感覚では検
知できない精密さをもつて印字品質の判定ができる。
On the other hand, the ROM stores a type code that encodes the type of printing paper and a printing energy code that encodes and represents the printing energy for optimal printing according to the type of printing paper. . The CPU reads the print paper type code from the print paper type detector 14, and then outputs the printing energy and energy corresponding to the type code.
The code is read from the ROM, and the digital signal sent from the A/D converter 2 is compared with the printing energy code, and the printing energy control circuit 3 is controlled based on the result. The use environment condition judgment circuit 4 is a circuit for detecting changes in the environment conditions in which the printing device is used and transmitting the detected changes to the CPU. Control 3. Here, if a highly sensitive piezoelectric element 1 is used and the resolution of the A/D converter is improved, the print quality can be determined with precision that cannot be detected by human senses.

例えばA/D変換器の分解能が6ビットであるとすると
、26=64であるから、1164.の単位で印字エネ
ルギーの検出ができることになり、印字エネルギー制御
手段として電磁石の励磁電流制御をおこなう場合には、
6ビットのD/A変換器を使用すれば、1′?の単位で
印字エネルギーの制御ができるから、きわめて精密な印
字品質一の制御ができることになる。また、ドット●プ
リンタの印字ヘッドとプラテンとの間のクリアランスの
調整用にパルスモータを用いる場合でも、パルスモータ
のステップ角度の小さなモータを使用すれば、人間の感
覚にたよつた手動調節よりもはるかに精密な印字エネル
ギーの制御が可能である。
For example, if the resolution of the A/D converter is 6 bits, 26=64, so 1164. The printing energy can be detected in units of , and when controlling the excitation current of the electromagnet as a printing energy control means,
If you use a 6-bit D/A converter, 1'? Since printing energy can be controlled in units of , extremely precise control of printing quality can be achieved. In addition, even when using a pulse motor to adjust the clearance between the print head and platen of a dot printer, using a pulse motor with a small step angle will be much easier than manual adjustment that relies on human senses. It is possible to precisely control printing energy.

第2図は、この発明による印字制御の動作の流れ図を示
すものであり、第3図は通常時の印字動作から始まつて
使用環境条件の変化を検知する場合の、第2図と同様な
動作の流れ図を示すものであり、第4図は紙送り制御の
動作の流れ図を示すものである。
Fig. 2 shows a flowchart of the operation of printing control according to the present invention, and Fig. 3 shows a flowchart similar to Fig. 2 when detecting changes in usage environment conditions starting from a normal printing operation. This is a flowchart of the operation, and FIG. 4 is a flowchart of the operation of paper feed control.

第11図は、この発明による印字装ノ置の全体ブロック
図である。第11図の全体ブロック図と第2照乃至第4
図の流れ図を参照して、この発明による印字制御の概要
を更に詳しく説明する。
FIG. 11 is an overall block diagram of a printing device according to the present invention. The overall block diagram of Fig. 11 and the second to fourth
The outline of printing control according to the present invention will be explained in more detail with reference to the flowchart in the figure.

予めROMl3には、印字用紙の種類コード・と、その
用紙に対して最適の印字品質をもつて印字をなしうる印
字エネルギー・コードとを同一のバイト内に記憶させて
おく。
The ROM 13 stores in advance in the same byte the type code of the printing paper and the printing energy code that enables printing with the optimum printing quality for the paper.

その記憶フォーマットは第5図に示すとおりである。ま
た印字用紙が予めフォーマット印刷された複1数紙の重
ね合せから成るものとする。
Its storage format is as shown in FIG. It is also assumed that the printing paper is composed of a plurality of stacked papers on which formats have been printed in advance.

そのフォーマットは第6図aに示すとおりであり、図a
から分るように、用紙の側端に検出マークM1とM2が
ほどこされており、マークが黒色の場合には二進数の1
とし、白色の場合には二進数の0とし、それらの二進コ
ードの組合せによつて用紙の種類が表現されるが、その
符号の組合せと用紙の種類との関係は第6図bに示す如
くである。先ず紙送りキイの押下により、印字装置に紙
送り動作をおこなわせるが、その流れ図は第4図である
Its format is as shown in Figure 6a, and Figure a
As can be seen, detection marks M1 and M2 are placed on the side edge of the paper, and if the marks are black, the binary number 1
In the case of white, it is a binary 0, and the type of paper is expressed by the combination of these binary codes.The relationship between the combination of codes and the type of paper is shown in Figure 6b. It is like that. First, by pressing the paper feed key, the printing device is caused to perform a paper feed operation, and the flowchart is shown in FIG.

紙送りキイを押下すると、キイ制御論理回路11が作用
して割込制御回路10が動作しCPUに割込がかかる。
CPUはキイ制御論理回路11からのステイタス情報を
データバスを通して読み込み、該情報が紙送りキイの押
下を表わすものと判別すると、CPUはアドレス・バス
を介しデバイス選択回路8を作用させ、紙送り制御回路
15を指定し、データ・バスより紙送り信号を送る。C
PUはアドレス●バスを介してデバイス選択回路8を作
動させ、印字用紙検出回路14を指定して検出マークM
l,M2の有無を検出する。紙送りがおこなわれて、用
紙面の検出マークM1又はM2が印字用紙検出回路14
により検出されると、そのことの情報は入出力データ・
バス制御回路7およびシステム制御回路兼バスドライバ
ー9を通してCPUに伝えられ、CPUは紙送り動作を
停止する。そして用紙のこの位置が印字位置になる。こ
の状態のとき、用紙の種類コード(第6図aの例では1
0)がCPUに読み込まれてセットされる。以上で第4
図の流れ図は終了する。なお印字用紙検出回路14によ
る検出マークM1とM2の検出機構は第10図に示され
ている。
When the paper feed key is pressed, the key control logic circuit 11 operates, the interrupt control circuit 10 operates, and the CPU is interrupted.
The CPU reads the status information from the key control logic circuit 11 through the data bus, and when it determines that the information indicates that the paper feed key has been pressed, the CPU activates the device selection circuit 8 via the address bus to control the paper feed. Designate circuit 15 and send a paper feed signal from the data bus. C
The PU activates the device selection circuit 8 via the address bus, specifies the printing paper detection circuit 14, and selects the detection mark M.
The presence or absence of M2 is detected. When the paper is fed, the detection mark M1 or M2 on the paper surface is detected by the printing paper detection circuit 14.
information about this is detected in the input/output data
The information is transmitted to the CPU through the bus control circuit 7 and the system control circuit/bus driver 9, and the CPU stops the paper feeding operation. This position on the paper becomes the printing position. In this state, the paper type code (1 in the example in Figure 6a)
0) is read into the CPU and set. This concludes the fourth
The flowchart in the diagram ends. The mechanism for detecting the detection marks M1 and M2 by the printing paper detection circuit 14 is shown in FIG.

第10図aはベーパ・カツタヨに取り付けられたマーク
検出用センサタとレ、印字用紙ヌと検出マークM1およ
びM2の関係を示しており、第10図bはマーク検出用
センサ(夕またはレ)の断面図を示している。b図から
分るように、検出機構の構成は次のとおりである。つま
り、発光素子ソからの光線はアクリルボールツにより収
束されて印字用紙ヌのマークM1(又はM2)に入射し
、該マークM1が黒色ならば吸収され、白色ならば反射
されて受光素子ネに達する。これによりマークM1(又
はM2)の検出をおこなうのである。次に印字エネルギ
ー制御キイを押下すると、キイ制御論理回路11の中の
入力フラグが1となり、割込制御回路10を介してCP
Uに割込がかかる。
Figure 10a shows the relationship between the mark detection sensor attached to the vapor cutter and the printing paper, and the detection marks M1 and M2, and Figure 10b shows the relationship between the mark detection sensor (Y or R) attached to the vapor cutter. A cross-sectional view is shown. As can be seen from Figure b, the configuration of the detection mechanism is as follows. In other words, the light beam from the light emitting element is converged by the acrylic bolt and enters the mark M1 (or M2) on the printing paper. If the mark M1 is black, it is absorbed, and if it is white, it is reflected and hits the light receiving element. reach In this way, mark M1 (or M2) is detected. Next, when the print energy control key is pressed, the input flag in the key control logic circuit 11 becomes 1, and the CP
U is interrupted.

かくして第2図の流れ図にCPUが入つてくる。CPU
は、キイ制御論理回路11からのステイタス情報を入出
力データ・バス制御回路7およびシステム制御兼バス・
ドライバー9を介しデータ・バスを通して読み込み、そ
して該ステイタス情報が印字エネルギー制御キイからの
ものであることを知ると、CPUはアドレス・バスを介
してテバイス選択回路8を動作させて、印字位置検出回
路5を指定し、AマークとBマークを読みとる。そして
、A.B両マークを読みとつた結果に基づいて、印字ヘ
ッド制御回路6を制御して印字位置を調節する。この関
係を具体的に示すため、第7図と第8図を参照して説明
する。
Thus, the CPU enters the flowchart of FIG. CPU
transmits the status information from the key control logic circuit 11 to the input/output data/bus control circuit 7 and the system control/bus control circuit 7.
Upon reading through the data bus via the driver 9 and knowing that the status information is from the print energy control key, the CPU activates the device selection circuit 8 through the address bus to detect the print position detection circuit. 5 and read the A mark and B mark. And A. Based on the results of reading both marks B, the print head control circuit 6 is controlled to adjust the print position. In order to specifically illustrate this relationship, it will be explained with reference to FIGS. 7 and 8.

第7図aは、印字位置検出回路5として用いられるセン
サ・ブロックの断面図であり、第7図bは印字位置制御
用の符号板ホを示している。この符号板ホは、その上段
と下段に不透明部から成るマークAとBがほどこされて
いる。センサ・ブロック5(位置検出回路と同じものて
あるから、同じ符号5て表わす)の断面図(第7図a)
から分るように、その中に符号板ホが挿通されており、
センサ・ブロック5内の発光素子イと受光素子ハの組合
せによつてAマークを読みとり、同じく発光素子口と受
光素子二の組合せによつてBマークを読みとるようにな
つている。今、符号板ホのAマークとBマークについて
、不透明であるときを二進数の1とし、透明であるとき
を二進数の0する。印字ヘッドはセンサ・ブロック5に
固着されており、ブロック5内を挿通された符号板ホの
A<5Bの両マークをCPUは読みとり、その結果によ
つて印字ヘッド制御回路6を介してモータを駆動して印
字ヘッドの位置を制御する。A,B両マークの読みとり
符号と印字ヘッドの左右方向の移動との関係を示したの
が第8図である。第8図bでHPと表示した位置が印字
ヘッドのホームポジションであるが、この位置における
A,B両マークの読み取り符号は01となり、第8図a
の表の最右欄に示されている。今、印字ヘッドが或る任
意の位置にあるとして、印字ヘッドに固着されたセンサ
・ブロック5が符号板ホのA,B両マークを読みとつた
結果が11(第8図aの1の欄)であつたとすると、C
PUは印字ヘッド制御回路6を介してモータを駆動して
印字ヘッドを右方向へ動かし、同じくセンサ●ブロック
5による符号板ホのA,B両マークの読み取り結果が1
0(第8図aの2)であつたとすると、CPUはモータ
を駆動して印字ヘッドを左方向に動かす。A,B両マー
クの読み取り結果が00(第8図aの3)であつても、
同様に印字ヘッドを左方向に動かす。そして印字ヘッド
がホームポジション(HP)に至れば、その時点でのセ
ンサ・プロツ5による符号板ホのA,B両マークの読み
取り結果は01(第8図a(7)HPの欄)であり、こ
れはホームポジションを表わすから、CPUは印字ヘッ
ドの位置制御を終了する。このようにして、印字ヘッド
がホームポジション狸に位置すると、CPUは次いでデ
バイス選択回路8を介して印字用紙検出回路14を指定
し、用紙の種類コード(現在の例ては第6図aからみて
10)を読み込む。(なお、この動作は、第4図の流れ
図に示されているように、紙送り動作の際に終つておれ
ば省略される)a 次いてCPUはデバイス選択回路8
を介してマグネット・ドライブ回路3−1を指定し、そ
してN1マグネットが指定されたとすると、CPUは、
システム制御回路およびバス・ドライバー9と入出力デ
ータ・バス制御回路7を介してN1マグネツト・ドライ
ブ命令を送る。
FIG. 7a is a sectional view of a sensor block used as the print position detection circuit 5, and FIG. 7b shows a code plate for controlling the print position. This code plate H has marks A and B made of opaque parts on its upper and lower tiers. Cross-sectional view of the sensor block 5 (represented by the same reference numeral 5 because it is the same as the position detection circuit) (Fig. 7a)
As you can see, the code plate is inserted through it.
The A mark is read by the combination of the light emitting element A and the light receiving element C in the sensor block 5, and the B mark is read by the combination of the light emitting element opening and the light receiving element 2. Now, regarding marks A and B on the code board E, when they are opaque, they are set to binary 1, and when they are transparent, they are set to binary 0. The print head is fixed to a sensor block 5, and the CPU reads both marks A<5B on the code plate inserted through the block 5, and depending on the result, controls the motor via the print head control circuit 6. drive to control the position of the print head. FIG. 8 shows the relationship between the reading codes of both marks A and B and the horizontal movement of the print head. The position indicated as HP in Fig. 8b is the home position of the print head, and the read code of both marks A and B at this position is 01, and in Fig. 8a
is shown in the rightmost column of the table. Now, assuming that the print head is at a certain arbitrary position, the sensor block 5 fixed to the print head reads both marks A and B on the code plate E, and the result is 11 (column 1 in Figure 8 a). ), then C
The PU drives the motor via the print head control circuit 6 to move the print head to the right, and the sensor block 5 reads both marks A and B on the code plate E when the result is 1.
If it is 0 (2 in FIG. 8a), the CPU drives the motor to move the print head to the left. Even if the reading result of both marks A and B is 00 (3 in Figure 8 a),
Similarly, move the print head to the left. When the print head reaches the home position (HP), the reading result of both marks A and B on the code plate H by the sensor prot 5 at that point is 01 (FIG. 8 a (7) HP column). , this represents the home position, so the CPU ends position control of the print head. In this way, when the print head is located at the home position, the CPU then specifies the print paper detection circuit 14 via the device selection circuit 8 and specifies the paper type code (in the current example, as shown in FIG. 6a). 10) Load. (Note that this operation is omitted if it is completed during the paper feeding operation, as shown in the flowchart of FIG. 4.)a Next, the CPU operates the device selection circuit 8
If the magnet drive circuit 3-1 is specified via , and the N1 magnet is specified, the CPU will:
The N1 magnetic drive command is sent through the system control circuit and bus driver 9 and the input/output data bus control circuit 7.

N1マグネットの励磁により印字エネルギーが検出され
るのであるが、この関係を説明するため第9図を参照す
る。第9図は、この発明による印字制御に必要な印字エ
ネルギー検出機構を示すものである。図において、りは
プラテン、ヌは印字用紙、ルは印字ヘッド、ホはヘッド
位置検出用符号板、1は圧電素子を示す。印字ヘツドル
は、N1マグネットの励磁により該ヘッドのニードルが
圧電素子1に衝突する。
The printing energy is detected by the excitation of the N1 magnet, and FIG. 9 will be referred to to explain this relationship. FIG. 9 shows a printing energy detection mechanism necessary for printing control according to the present invention. In the figure, ri is a platen, nu is a printing paper, ru is a print head, e is a code plate for head position detection, and 1 is a piezoelectric element. The printing head needle collides with the piezoelectric element 1 by the excitation of the N1 magnet.

その結果、圧電素子1に発生した電気エネルギーは印字
エネルギーを表わすものであり、そしてこのエネルギー
は、増幅器AMPを通して増幅され、制御論理回路およ
びA/D変換器2に印加され、ここにおいて前記エネル
ギーは二進符号(Ecと表わす)に変換される。制御論
理回路およびA/D変換器2は、この変換があつたとい
うステイタス情報をCPUに送る。CPUはそれにより
アドレス・バスを介してデバイス選択回路8により制御
論理回路およびA/D変換器2を捕捉し、この回路2に
おけるエネルギー・コード(Ec)を入出力データ・バ
ス制御回路7およびシステム制御回路兼バス・ドライバ
ー9を介して読み込む。次にCPUは、アドレス・バス
を介してROMl3を指定し、印字用紙の種類コード(
現在の例では10)に対応した印字エネルギー・コード
(Ecs)をメモリ・データ・バスを介しシステム制御
回路およびバス・ドライバー9を通して読み込む。そし
て両コードが一致しなければ印字エネルギー制御をおこ
なう。第2図の流れ図では、印字エネルギーの制御は印
字ヘッドとプラテンの間の距離の調節によつておこなわ
れている。つまりCPUにおいてEcとEcsを比較し
た結果、Ec<EcsとCPUが判断すると、CPUは
アドレス・バスを介してデバイス選択回路8を通してパ
ルスモータ・ドライブ回路3−2を指定し、パルスモー
タに対し、システム制御回路およびバス●ドライバー9
と入出力データ・バス制御回路7を通して信号を送り、
第9図に示した如く、印字ヘツドルを前進(F方向)さ
せる。逆にEc<Ecsと判断すると、同様にしてパル
スモータを逆転させて印字ヘッドを後退(R方向)させ
る。そしてEc=Ecsと判断すると、CPUは制御を
終了する。以上で、第2図の流れ図の動作は終了する。
圧電素子の感度およびA/D変換器の分解能の如何によ
つては、Ecl:.Ecsの差が或る一定範囲内であれ
ば、両者が一致したものとして処理してもよい。
As a result, the electrical energy generated in the piezoelectric element 1 represents the printing energy, and this energy is amplified through the amplifier AMP and applied to the control logic circuit and the A/D converter 2, where said energy is It is converted into a binary code (denoted as Ec). The control logic circuit and A/D converter 2 send status information to the CPU that this conversion has been completed. The CPU thereby captures the control logic circuit and the A/D converter 2 via the device selection circuit 8 via the address bus and transfers the energy code (Ec) in this circuit 2 to the input/output data bus control circuit 7 and the system. It is read via the control circuit and bus driver 9. Next, the CPU specifies ROM13 via the address bus, and prints the paper type code (
In the present example, the printing energy code (Ecs) corresponding to 10) is read through the system control circuit and bus driver 9 via the memory data bus. If the two codes do not match, printing energy control is performed. In the flowchart of FIG. 2, control of print energy is accomplished by adjusting the distance between the printhead and the platen. That is, as a result of comparing Ec and Ecs in the CPU, if the CPU determines that Ec<Ecs, the CPU specifies the pulse motor drive circuit 3-2 through the device selection circuit 8 via the address bus, and System control circuit and bus driver 9
and sends a signal through the input/output data bus control circuit 7,
As shown in FIG. 9, move the print head forward (in direction F). Conversely, if it is determined that Ec<Ecs, the pulse motor is similarly reversed to move the print head backward (in the R direction). When determining that Ec=Ecs, the CPU ends the control. With this, the operation of the flowchart of FIG. 2 is completed.
Depending on the sensitivity of the piezoelectric element and the resolution of the A/D converter, Ecl:. If the difference in Ecs is within a certain range, the two may be treated as matched.

また上述のように、印字ヘッドとプラテンの間の距離の
調節によつて印字エネルギーを制御するのでなく、マグ
ネットの励磁電流を加減することにより印字エネルギー
の制御をおこなうこともできる。印字用紙が普通紙であ
る場合は、第6図bから明らかなように、読取マークM
1もM2も白色であり、あえて印字用紙検出回路14の
マーク検出機構(第10図)の前で停止させて読み取る
には及ばないから印字用紙を停止させる必要がない。
Further, as described above, instead of controlling the printing energy by adjusting the distance between the print head and the platen, the printing energy can also be controlled by adjusting the excitation current of the magnet. If the printing paper is plain paper, as is clear from Figure 6b, the reading mark M
Since both M1 and M2 are white, it is not necessary to stop the print paper in front of the mark detection mechanism (FIG. 10) of the print paper detection circuit 14 to read it.

そこで、このような普通紙を用いる場合には第4図の流
れ図に示すような紙送リキイによる操作は不要になる。
そして最初から印字エネルギー制御キイを押下して前述
の動作をCPUにおこなわせればよい。電源オンのとき
、印字用紙検出回路14はリセットのままの状態を保持
するようにし、用紙の種類コードは00であるから、該
コードに対応した印字エネルギー・コードとの比較をC
PUはおこなう。次に第3図はこの発明による印字制御
の通常時の印字動作の流れを示す図であるが、この流れ
図を参照して通常時の印字動作を説明する。
Therefore, when such plain paper is used, the operation using the paper feed key as shown in the flowchart of FIG. 4 becomes unnecessary.
Then, it is sufficient to press the print energy control key from the beginning to cause the CPU to perform the above-described operation. When the power is turned on, the printing paper detection circuit 14 is kept in a reset state, and since the paper type code is 00, a comparison with the printing energy code corresponding to this code is performed using C.
Do PU. Next, FIG. 3 is a diagram showing the flow of the normal printing operation of the printing control according to the present invention, and the normal printing operation will be explained with reference to this flowchart.

先ず印字スタートの釦を押すと、印字動作に入る前に、
CPUは印字用紙検出回路14のM1とM2の付号読取
装置を調べてマーク1が検出されていない場合、つまり
用紙が普通紙であつて種類コードが00であり、元来マ
ーク1は検出されないものである場合、或は普通紙では
ないけれども、たまたま当該用紙のM1と鳩のマーク位
置が検出用センサの位置に達していない場合、CPUは
印字のプログラム・ルーチンに入る。
First, when you press the print start button, before starting the printing operation,
The CPU checks the number reading devices M1 and M2 of the printing paper detection circuit 14, and if mark 1 is not detected, that is, the paper is plain paper and the type code is 00, so mark 1 is not detected originally. If the paper is not plain paper, but the M1 and dove mark positions on the paper happen to not reach the detection sensor position, the CPU enters the printing program routine.

マーク1が検出されたときは、CPUは印字用紙検出回
路14により当該用紙の種類コードを読み取り、CPU
が先に記憶していた用紙の種類コードど比較をし、一致
しなければCPUは先に記憶していた種類コードをクリ
アして、新しく読み取つたコードをセットする。そして
、このセットされた用紙の種類コードに対応したエネル
ギー・コードをROMから読み込み、以後第2図の流れ
図を参照して説明したのと同様の動作をCPUはおこな
う。また、検出回路14によつて読み取つた用紙の種類
コードが、先にCPUが記憶していた用紙の種類コード
と一致すれば、CPUは次の段階として、アドレス・バ
スを介してデバイス選択回路8を動作させて使用環境条
件判断回路4を指定し、該回路4からのステイタス情報
を入出力データ・バス制御回路7およびシステム制御回
路兼バス・ドライバー9を通して受け、使用環境条件の
変化の有無を調べ、変化がないと判断すれば印字のプロ
グラム・ルーチンに入る。変化があると判断すれば、C
PUは記憶していた用紙の種類コードに対応した印字エ
ネルギー・コードをROMから読み出し、以後は印字エ
ネルギー制御キイを押下した場合と同様の印字エネルギ
ーの制御動作をおこなう。かくて第3図の動作の流れを
終了する。以上、詳しく説明したように、この発明は、
印字用紙に付されたコードを利用して印字エネルギーの
可変制御を行うので、印字用紙が変わつても自動的にき
れいな印字を行うことができるという卓越した効果を有
するものである。図面の簡単な説明第1図はこの発明の
一実施例の概要を示すブロック図、第2図はこの発明に
よる印字制御の動作の流れ図、第3図は通常時の印字動
作から始まつて使用環境条件の変化を検知する場合の、
この発明による印字制御の動作の流れ図、第4図は紙送
り制御の動作の流れ図、第5図はROMにおける情報の
記憶フォーマットを示す図、第6図aは印字用紙のフォ
ーマットを、bは検出マークの符号組合せと用紙の種類
の関係を示す図、第7図aはセンサ・ブロックの断面図
でありbは印字位置制御用の符号板を示す図、第8図a
は符号板のA,B両マークの符号の組合せを示し、bは
符号板に対する印字ヘッドの位置の調節の様子を示す図
、第9図は印字エネルギー検出機構を示し、第10図a
は印字用紙における検出マークの検出機構を示し、bは
検出用センサの断面図を示し、第11図はこの発明によ
る印字装置の全体ブロック図を示す。
When mark 1 is detected, the CPU reads the paper type code using the print paper detection circuit 14, and
compares the previously stored paper type code, and if they do not match, the CPU clears the previously stored type code and sets the newly read code. Then, the CPU reads the energy code corresponding to the set paper type code from the ROM, and thereafter performs the same operation as described with reference to the flowchart of FIG. 2. Further, if the paper type code read by the detection circuit 14 matches the paper type code previously stored by the CPU, the CPU sends a message to the device selection circuit 8 via the address bus as the next step. operates to designate the usage environment condition determination circuit 4, and receives status information from the circuit 4 through the input/output data bus control circuit 7 and the system control circuit/bus driver 9 to determine whether or not there is a change in the usage environment conditions. If it is determined that there is no change, the printing program routine begins. If it is determined that there is a change, C
The PU reads the stored print energy code corresponding to the paper type code from the ROM, and thereafter performs the same print energy control operation as when the print energy control key is pressed. Thus, the flow of operations shown in FIG. 3 is completed. As explained in detail above, this invention
Since the printing energy is variably controlled using the code attached to the printing paper, it has the outstanding effect of automatically producing clear printing even when the printing paper is changed. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an overview of an embodiment of the present invention, FIG. 2 is a flowchart of the operation of printing control according to the invention, and FIG. When detecting changes in environmental conditions,
4 is a flowchart of the operation of paper feed control, FIG. 5 is a diagram showing the storage format of information in the ROM, FIG. 6 a shows the format of the printing paper, and b shows the detection A diagram showing the relationship between mark code combinations and paper types; FIG. 7a is a cross-sectional view of the sensor block; FIG. 8b is a diagram showing a code plate for controlling the print position; FIG.
9 shows the combination of the codes of both marks A and B on the code plate, b shows how the position of the print head is adjusted with respect to the code plate, FIG. 9 shows the printing energy detection mechanism, and FIG. 10 a
11 shows a detection mechanism for a detection mark on printing paper, b shows a sectional view of a detection sensor, and FIG. 11 shows an overall block diagram of a printing apparatus according to the present invention.

図において、1は圧電素子、2はA/D変換器、3は印
字エネルギー制御回路、4は使用環境条件判断回路、A
MF′は増幅器、CPUは中央処理装置、ROMはリー
ド・オンリイ・メモリ、14は印字用紙の種類検出器、
ホは符号板、イと明ま発光素子、ハと二は受光素子、り
はプラテン、ヌは印字用紙、ルは印字ヘッド、ヨはベー
パ・カッタ、夕とレはマーク検出用センサ、ソは発光素
子、ツはアクリルボール、ネは受光素子を示す。
In the figure, 1 is a piezoelectric element, 2 is an A/D converter, 3 is a printing energy control circuit, 4 is a usage environment condition judgment circuit, and A
MF' is an amplifier, CPU is a central processing unit, ROM is a read-only memory, 14 is a print paper type detector,
E is the code plate, A and the light emitting element, C and 2 are the light receiving elements, R is the platen, N is the printing paper, L is the print head, Y is the vapor cutter, D and R are the mark detection sensors, and S is the mark detection sensor. The light-emitting element, T indicates an acrylic ball, and N indicates the light-receiving element.

Claims (1)

【特許請求の範囲】[Claims] 1 印字用紙に付されたコードを読み取るためのコード
読み取り手段と、印字用紙に付されたコードに関連して
印字エネルギーを表す印字エネルギーコードを記憶する
記憶手段と、該記憶手段からの印字エネルギーコードに
より印字エネルギーを可変に制御する印字エネルギー制
御手段とを備え、印字用紙に付されたコードを利用して
印字エネルギーを制御するようにしたことを特徴とする
印字装置。
1. A code reading means for reading the code attached to the printing paper, a storage means for storing a printing energy code representing the printing energy in relation to the code attached to the printing paper, and a printing energy code from the storage means. 1. A printing device comprising a printing energy control means for variably controlling printing energy by using a code attached to printing paper to control printing energy.
JP8562077A 1977-07-19 1977-07-19 printing device Expired JPS6042038B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8562077A JPS6042038B2 (en) 1977-07-19 1977-07-19 printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8562077A JPS6042038B2 (en) 1977-07-19 1977-07-19 printing device

Publications (2)

Publication Number Publication Date
JPS5421124A JPS5421124A (en) 1979-02-17
JPS6042038B2 true JPS6042038B2 (en) 1985-09-19

Family

ID=13863879

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8562077A Expired JPS6042038B2 (en) 1977-07-19 1977-07-19 printing device

Country Status (1)

Country Link
JP (1) JPS6042038B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5039237A (en) * 1987-06-02 1991-08-13 Oki Electric Industry Co., Ltd. Dot matrix print head drive method
JPH01235671A (en) * 1988-03-16 1989-09-20 Omron Tateisi Electron Co Printer
GB2252531B (en) * 1991-01-08 1995-03-22 Canon Business Machines Inc Character printing device

Also Published As

Publication number Publication date
JPS5421124A (en) 1979-02-17

Similar Documents

Publication Publication Date Title
GB2170934A (en) Automatic printer margin setting device
JPS6042038B2 (en) printing device
JPS6023064A (en) Printer
JP2011042060A (en) Method of detecting recording paper width
JPH07242044A (en) Recording apparatus
JP2007008704A (en) Medium recognizing device
CN1188280A (en) Method for automatic margin correction according to paper feeding mode in image formation apparatus
JPS6132155B2 (en)
JP2659571B2 (en) Paper feeder
JPH01259973A (en) Manual scanning type recorder
US6712464B1 (en) Image processing apparatus, image processing system apparatus, and recording medium which records image processing program
JPH0445959A (en) Printer
JPH0753332Y2 (en) Fax machine
JP2744513B2 (en) Media mark reader
JPH0129096Y2 (en)
JP2704188B2 (en) Media mark reading and printing device
JP2005306043A (en) Printer, print command generation device, and print system
JP2685613B2 (en) Printing device control method
JP2813284B2 (en) Medium mark reading method
JP2021154566A (en) Recording method by recording device
JP2752273B2 (en) Data processing device
JPH06141161A (en) Facsimile equipment
JPH0220370A (en) Printing apparatus
JPH11138924A (en) Means for detecting size of recording medium and line printer
JPH08195848A (en) Facsimile equipment