JP5166784B2 - Printing device - Google Patents

Printing device Download PDF

Info

Publication number
JP5166784B2
JP5166784B2 JP2007164828A JP2007164828A JP5166784B2 JP 5166784 B2 JP5166784 B2 JP 5166784B2 JP 2007164828 A JP2007164828 A JP 2007164828A JP 2007164828 A JP2007164828 A JP 2007164828A JP 5166784 B2 JP5166784 B2 JP 5166784B2
Authority
JP
Japan
Prior art keywords
print
timing
unit
printing
pin
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 - Fee Related
Application number
JP2007164828A
Other languages
Japanese (ja)
Other versions
JP2008179123A (en
Inventor
俊之 千田
Original Assignee
株式会社沖データ
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 株式会社沖データ filed Critical 株式会社沖データ
Priority to JP2007164828A priority Critical patent/JP5166784B2/en
Publication of JP2008179123A publication Critical patent/JP2008179123A/en
Application granted granted Critical
Publication of JP5166784B2 publication Critical patent/JP5166784B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ドット単位で印刷を行う印刷装置に関し、特に印字ヘッドのレイアウトが異なる場合に好適な印刷装置に関する。   The present invention relates to a printing apparatus that performs printing in dot units, and more particularly to a printing apparatus that is suitable when the layout of a print head is different.

図35に従来のシリアルドットインパクトプリンタである印刷装置の制御ブロックを示す。図35において、従来の印刷装置1は、印字ヘッド2、ヘッドドライバ3、プログラムROM4、制御LSI5およびRAM6を備えている。制御LSI5にはレイアウト情報格納部7、レイアウト選択部8、印字データ変換部9、インパクトデータ取出部10およびインパクト実行部11が設けられている。またRAM6には印字データ保存部12およびインパクトデータ保存部13が設けられている。上記のうち印字ヘッド2以外は印刷装置1に設けられた基板14に実装されている。また印刷装置1は上位装置(ホストコンピュータ)15に接続されており、上位装置15から印字データを送信される。   FIG. 35 shows a control block of a printing apparatus which is a conventional serial dot impact printer. 35, the conventional printing apparatus 1 includes a print head 2, a head driver 3, a program ROM 4, a control LSI 5, and a RAM 6. The control LSI 5 includes a layout information storage unit 7, a layout selection unit 8, a print data conversion unit 9, an impact data extraction unit 10, and an impact execution unit 11. The RAM 6 includes a print data storage unit 12 and an impact data storage unit 13. Other than the above, the print head 2 is mounted on a substrate 14 provided in the printing apparatus 1. The printing apparatus 1 is connected to a host apparatus (host computer) 15 and print data is transmitted from the host apparatus 15.

次に図36に示すフローチャートにしたがって動作を説明する。印刷装置1に電源が投入されると、プログラムROM4から数種類の印字ヘッドのピンレイアウト情報がレイアウト情報格納部7に格納される(ステップ1)。次に実際に使用する印字ヘッド2のレイアウト形状に合わせて、そのレイアウト形状を特定するための情報、例えばレイアウト形状がダイヤ型か、千鳥型かを示す情報をプログラムROM4からレイアウト選択部8に設定する(ステップ2)。   Next, the operation will be described with reference to the flowchart shown in FIG. When the printer 1 is turned on, pin layout information of several types of print heads is stored in the layout information storage unit 7 from the program ROM 4 (step 1). Next, according to the layout shape of the print head 2 to be actually used, information for specifying the layout shape, for example, information indicating whether the layout shape is a diamond type or a staggered type is set from the program ROM 4 to the layout selection unit 8. (Step 2).

その後上位装置15から印字データが送信されてくると(ステップ3)、印字データは印字データ保存部12に格納される(ステップ4)。印字データ変換部9は印字データ保存部12から印字データを取り出し(ステップ5)、レイアウト情報格納部7およびレイアウト選択部8からの情報に基づいてピンレイアウトを選択した後、印字データを印字ヘッド2のピンレイアウトに沿った形にデータ変換を行う(ステップ6)。   Thereafter, when print data is transmitted from the host device 15 (step 3), the print data is stored in the print data storage unit 12 (step 4). The print data conversion unit 9 extracts the print data from the print data storage unit 12 (step 5), selects a pin layout based on information from the layout information storage unit 7 and the layout selection unit 8, and then sends the print data to the print head 2. Data conversion is performed in accordance with the pin layout (step 6).

ここでデータ変換について説明する。印字ヘッド2のピンレイアウトが、例えば図37に示すような24ピンの疑似ダイヤモンド形状である場合、まず図38に示すように、24のピンを4つのグループに分ける。即ち、最も上位から順に#1ピン、#2ピン、・・・、#24ピンとした場合、最も左側にある4つのピン(#9、#11、#13、#15)をグループA、その次に右側にある4つのピン(#5、#7、#17、#19)と右から3番目にある4つのピン(#2、#4、#22、#24)をグループB、左から3番目にある4つのピン(#1、#3、#21、#23)と右から2番目にある4つのピン(#6、#8、#18、#20)をグループC、そして最も右側にある4つのピン(#10、#12、#14、#16)をグループDとする。   Here, data conversion will be described. When the pin layout of the print head 2 is, for example, a 24 pin pseudo diamond shape as shown in FIG. 37, first, the 24 pins are divided into four groups as shown in FIG. That is, when the pin # 1, pin # 2,..., Pin # 24 are arranged in order from the top, the leftmost four pins (# 9, # 11, # 13, and # 15) are group A and the next. 4 pins (# 5, # 7, # 17, # 19) on the right side and 4 pins (# 2, # 4, # 22, # 24) on the right side from group B, 3 from the left The 4th pin (# 1, # 3, # 21, # 23) and the 4th pin (# 6, # 8, # 18, # 20) from the right are group C, and the rightmost pin A certain four pins (# 10, # 12, # 14, # 16) are group D.

このとき、グループBおよびグループCのそれぞれにおける左側のピン(ODDピン)と右側のピン(EVENピン)との間の距離は(8/240)インチ離れているので、図39に示すように、EVENピンの印字データをODDピンの印字データに対してすべて8カラム離間させるようにデータ移動を行う。なお図39に示す例は、全てのピンに印字データがある縦バー印字の場合を示す。このように、印字ヘッド2のピンレイアウト情報に基づいて印字データの変換を行う。以上のように変換された印字データはインパクトデータ保存部13に格納される(ステップ7)。   At this time, the distance between the left pin (ODD pin) and the right pin (EVEN pin) in each of group B and group C is (8/240) inches away, as shown in FIG. Data movement is performed so that the print data of the EVEN pin is separated from the print data of the ODD pin by 8 columns. Note that the example shown in FIG. 39 shows the case of vertical bar printing in which print data exists on all pins. In this way, the print data is converted based on the pin layout information of the print head 2. The print data converted as described above is stored in the impact data storage unit 13 (step 7).

そしてインパクト割り込み信号が入力されると(ステップ8)、インパクトデータ取出部10がインパクトデータ保存部13からインパクトデータを取り出し(ステップ9)、次のインパクト割り込み信号が入力すると(ステップ10)、印字を行う(ステップ11)。   When an impact interrupt signal is input (step 8), the impact data extraction unit 10 extracts impact data from the impact data storage unit 13 (step 9). When the next impact interrupt signal is input (step 10), printing is performed. Perform (step 11).

印字は図40に示すようなタイミングで行われる。図40は従来のインパクトタイミングを示すタイムチャートである。図40において、各カラムごとにインパクトタイミング信号が入力され、インパクトタイミング信号が入力する度に各グループごとのインパクトタイミング信号がタイミングをずらせて入力される。グループB、グループCおよびグループDのEVENピンは1カラム目のインパクトタイミングでは印字せず、8カラム目のインパクトタイミングで印字を行う。   Printing is performed at the timing shown in FIG. FIG. 40 is a time chart showing the conventional impact timing. In FIG. 40, an impact timing signal is input for each column, and each time an impact timing signal is input, an impact timing signal for each group is input with a shifted timing. The EVEN pins of group B, group C, and group D are not printed at the impact timing of the first column, but are printed at the impact timing of the eighth column.

以上のように複数のピンをいくつかのグループに分け、各グループごとに印字の制御を行うものとして、例えば、特開平7−52413号公報に開示されるものがある。
特開平7−52413号公報
As described above, for example, JP-A-7-52413 discloses one in which a plurality of pins are divided into several groups and printing control is performed for each group.
Japanese Patent Laid-Open No. 7-52413

しかしながら上記従来の印刷装置においては、使用する印字ヘッドのピンレイアウト形状が予めわかっている場合にしかレイアウト情報に基づく印字データの変換ができない。また、考え得るすべての印字ヘッド形状のレイアウトデータを制御LSI内に用意するにはゲート数が膨大となり、現実的には実現性がない。そのため実際には数種類のレイアウトデータしか用意できない。 However, in the above-described conventional printing apparatus, the print data can be converted based on the layout information only when the pin layout shape of the print head to be used is known in advance. In addition, in order to prepare all possible print head shape layout data in the control LSI, the number of gates becomes enormous, which is not practical. Therefore, only several types of layout data can actually be prepared.

したがって、印刷装置の開発途中において、印字ヘッドのピンレイアウトを変更する必要が生じた場合、変更ができないという事態になったり、あるいは現在までの資産である既存の制御LSIをそのまま使用したい場合に、制御不能という理由で使用不可になってしまうという問題があった。   Therefore, if it is necessary to change the pin layout of the print head during the development of the printing device, it becomes impossible to change, or if you want to use the existing control LSI that is the asset up to now, There was a problem that it could not be used because it could not be controlled.

上記課題を解決するために本発明は、印字ヘッドによりドット単位で印刷を行う印刷装置において、使用する印字ヘッドが備える複数の印字素子のレイアウト情報を、前記印刷装置の操作部または上位装置から送信される所定のコマンドデータにより、印字素子毎に入力設定可能なレイアウト入力設定手段と、前記レイアウト入力設定手段により入力設定された前記レイアウト情報に基づいて前記印字素子毎の印字すべきタイミングを生成するタイミング生成手段とを設けたことを特徴とするものである。
In order to solve the above-described problems, the present invention provides a printing apparatus that performs printing in units of dots by a print head, and transmits layout information of a plurality of print elements included in the print head to be used from an operation unit or a host device of the printing apparatus. Based on the predetermined command data generated, layout input setting means capable of input setting for each printing element, and timing for printing for each printing element are generated based on the layout information input and set by the layout input setting means. A timing generation means is provided.

本発明によれば、使用する印字ヘッドが備える複数の印字素子のレイアウト情報を、印刷装置の操作部または上位装置から送信される所定のコマンドデータにより、印字素子毎に入力設定可能にしたので、使用する印字ヘッドが備える複数の印字素子のレイアウトが予め設定されていなくても、使用する印字ヘッドが備える複数の印字素子のレイアウト情報に合わせて印字素子毎の印字すべきタイミングを生成することが可能となり、装置の開発途中で印字ヘッドを変更し、レイアウトが変更される場合にも同じ制御回路あるいは同じ制御LSIを使用することが可能となる。 According to the present invention, the layout information of a plurality of printing elements provided in the print head to be used can be set for each printing element by predetermined command data transmitted from the operation unit of the printing apparatus or the host device . Even if the layout of a plurality of printing elements included in the print head to be used is not set in advance, the timing for printing for each printing element can be generated in accordance with the layout information of the plurality of printing elements included in the print head to be used. possible and will, to change the print head on the way developing device, walk the same control circuit even when the layout is changed and it is possible to use the same control LSI.

以下、本発明の実施の形態を図面にしたがって説明する。各図面に共通する要素には同一の符号を付す。図1は第1の実施の形態の印刷装置を示す制御ブロック図である。図1において、第1の実施の形態の印刷装置21は、従来例と同様に、印字ヘッド2、ヘッドドライバ3、プログラムROM4、制御LSI5およびRAM6を備えている。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. Elements common to the drawings are denoted by the same reference numerals. FIG. 1 is a control block diagram illustrating the printing apparatus according to the first embodiment. In FIG. 1, a printing apparatus 21 according to the first embodiment includes a print head 2, a head driver 3, a program ROM 4, a control LSI 5, and a RAM 6 as in the conventional example.

制御LSI5には、レイアウト情報設定レジスタ部22、印字DPI設定レジスタ部23、レイアウト情報格納部24、タイミングカウンタ部25、印字データ変換部9、インパクトデータ取出部10およびインパクト実行部11が設けられる。またRAM6には印字データ保存部12およびインパクトデータ保存部13が設けられている。上記のうち印字ヘッド2以外は基板14に実装されている。また印刷装置21は上位装置(ホストコンピュータ)15に接続されており、上位装置15から印字データを送信される。   The control LSI 5 includes a layout information setting register unit 22, a print DPI setting register unit 23, a layout information storage unit 24, a timing counter unit 25, a print data conversion unit 9, an impact data extraction unit 10, and an impact execution unit 11. The RAM 6 includes a print data storage unit 12 and an impact data storage unit 13. Of the above, components other than the print head 2 are mounted on the substrate 14. The printing device 21 is connected to a host device (host computer) 15, and print data is transmitted from the host device 15.

レイアウト情報設定レジスタ部22は、印字ヘッド2の各ピンの位置を(1/720)インチ単位で設定できるレジスタで構成される。印字DPI設定レジスタ部23は印字DPI(dots per inch)を設定するレジスタである。レイアウト情報格納部24は、レイアウト情報設定レジスタ部22で設定された印字ヘッド2のピンレイアウト情報を格納する。タイミングカウンタ部25は、レイアウト情報設定レジスタ部22と印字DPI設定レジスタ部23から入力される情報に基づいて、インパクトタイミングを生成するためのタイミングカウンタを生成するものである。   The layout information setting register unit 22 includes a register that can set the position of each pin of the print head 2 in units of (1/720) inches. The print DPI setting register unit 23 is a register for setting a print DPI (dots per inch). The layout information storage unit 24 stores the pin layout information of the print head 2 set by the layout information setting register unit 22. The timing counter unit 25 generates a timing counter for generating impact timing based on information input from the layout information setting register unit 22 and the print DPI setting register unit 23.

次に第1の実施の形態の印字動作を図2のフローチャートにしたがって説明する。図2は第1の実施の形態の印字動作を示すフローチャートである。まず、レイアウト情報設定レジスタ部22に、装置21が使用する印字ヘッド2のピンレイアウトを入力する(ステップ21)。入力は、印字ヘッド2の各ピンごとに(1/720)インチ単位で設定する。レイアウト情報の設定は、ファームウェア(プログラム)処理により制御LSI5内の制御レジスタであるレイアウト情報設定レジスタ部22に対して行われるが、図3に示すように、ある基準ポイントに対して各ピンがどれだけ離れているかの情報を設定する。図3はピンのレイアウト情報の設定を示す説明図である。   Next, the printing operation of the first embodiment will be described with reference to the flowchart of FIG. FIG. 2 is a flowchart showing the printing operation of the first embodiment. First, the pin layout of the print head 2 used by the apparatus 21 is input to the layout information setting register unit 22 (step 21). Input is set in units of (1/720) inches for each pin of the print head 2. The layout information is set to the layout information setting register unit 22 which is a control register in the control LSI 5 by firmware (program) processing. As shown in FIG. Set the information of how far away. FIG. 3 is an explanatory diagram showing the setting of pin layout information.

図3において、例えば#1のピンは、基準ポイント“0”から“25”の値だけ離れており、#1ピンの設定値は“25”となる。同様に、#2のピンは基準ポイント“0”から“46”の値だけ離れており、#2ピンの設定値は“46”となる。このようにそれぞれのピンについて基準ポイントからどれだけ離れているかの値を設定する。ここで設定値“1”は(1/720)インチに相当する。全てのピンについてレイアウト情報を設定するには、6ビット(=0〜63)×24ピン分の制御レジスタがあれば実現可能である。入力設定された印字ヘッド2の各ピンのレイアウト情報は、制御LSI5内の内部レジスタであるレイアウト情報格納部24に格納される。ピンの縦方向の位置は、9ピン、24ピン等の印字ヘッドで固定のため、予めプログラムで保持している。   In FIG. 3, for example, the pin # 1 is separated from the reference point “0” by a value “25”, and the set value of the pin # 1 is “25”. Similarly, the pin # 2 is separated from the reference point “0” by a value “46”, and the setting value of the pin # 2 is “46”. Thus, the value of how far from the reference point is set for each pin. Here, the set value “1” corresponds to (1/720) inch. Setting layout information for all pins can be realized if there is a control register for 6 bits (= 0 to 63) × 24 pins. The input layout information of each pin of the print head 2 is stored in a layout information storage unit 24 that is an internal register in the control LSI 5. The vertical position of the pin is fixed in advance by a program because it is fixed by a print head such as 9 pins or 24 pins.

次に上位装置15から印字データが入力されると(ステップ22)、印字データは印字データ保存部12に格納される(ステップ23)。ここで印字データ内で指定されたDPIモードを印字DPI設定レジスタ部23に入力し設定する(ステップ24)。次にレイアウト情報設定レジスタ部22に設定された各ピンのレイアウト情報と印字DPI設定レジスタ部23の情報がタイミングカウンタ部25に入力され、タイミングカウンタ部25は、インパクトタイミングを生成するためのタイミングカウンタを生成する(ステップ25)。   Next, when print data is input from the host device 15 (step 22), the print data is stored in the print data storage unit 12 (step 23). Here, the DPI mode designated in the print data is input to the print DPI setting register 23 and set (step 24). Next, the layout information of each pin set in the layout information setting register unit 22 and the information in the print DPI setting register unit 23 are input to the timing counter unit 25. The timing counter unit 25 generates a timing counter for generating impact timing. Is generated (step 25).

タイミングカウンタの生成について図4を用いて説明する。図4はタイミングカウンタの生成を示す説明図である。図4において、まず基本となる(1/720)インチのインパクトタイミングをカウントすることにより、所望の印字DPIの印字すべきタイミングを得る。例えば、360DPIの場合は、印字タイミングは(2/720)インチ単位になるので、(1/720)インチタイミングが2つ分となり、図4のように生成される。他のDPIの場合も同様に印字タイミングが生成される。   The generation of the timing counter will be described with reference to FIG. FIG. 4 is an explanatory diagram showing generation of a timing counter. In FIG. 4, first, a basic (1/720) inch impact timing is counted to obtain a timing for printing a desired print DPI. For example, in the case of 360 DPI, since the print timing is in units of (2/720) inches, the (1/720) inch timing is equivalent to two and is generated as shown in FIG. In the case of other DPIs, the print timing is generated similarly.

また各ピンのレイアウト情報に基づくインパクトタイミングは、第1ドット位置の印字タイミングに対して、第1ドット位置に印字を行うピンから離間距離分だけ離すようなタイミングに設定される。例えば、第1ドット位置に印字するピンから(3/720)インチ離れている場合は、(1/720)インチを3つ分離したカウントしたタイミングに設定される。   Further, the impact timing based on the layout information of each pin is set to a timing that is separated from the pin that prints at the first dot position by the separation distance with respect to the printing timing of the first dot position. For example, in the case of (3/720) inch away from the pin printed at the first dot position, it is set to the counted timing obtained by separating (1/720) inch by three.

またレイアウト情報設定レジスタ部22の情報と印字DPI設定レジスタ部23の情報がレイアウト情報格納部24に入力される(ステップ26)。レイアウト情報格納部24では、入力された情報に基づいて、即ち、印字ヘッド2のODDピンとEVENピンとのピン離間距離と印字DPIの情報に基づいて、印字データの離間分とインパクトタイミングからのディレイ(遅れ)量を各ピンごとに算出する。図5を用いて説明する。図5はインパクトタイミングのディレイ量の求め方を示す説明図である。   The information in the layout information setting register unit 22 and the information in the print DPI setting register unit 23 are input to the layout information storage unit 24 (step 26). In the layout information storage unit 24, based on the input information, that is, based on the information of the pin separation distance between the ODD pin and the EVEN pin of the print head 2 and the print DPI, the print data separation amount and the delay from the impact timing ( (Delay) amount is calculated for each pin. This will be described with reference to FIG. FIG. 5 is an explanatory diagram showing how to determine the delay amount of the impact timing.

図5に示す例は、図3に示す疑似タイヤモンド24ピンを有する印字ヘッドで、360DPIで黒ベタ印字を行う場合を示し、(1/720)インチ単位で印字タイミングの設定が可能な場合を示す。図5において、1カラム目の印字においてグループA(図38に示す)のODDピンは、"0"のタイミングで印字タイミングを取るが、グループBのODDピンは、図3に示すようにピン間の離間距離がグループAのODDピンに対して(3/720)インチだけ離間しているので、1カラム目の印字タイミングより(3/720)インチだけディレイさせる。同様に、グループCのODDピンは、グループBのODDピンに対して(3/720)インチだけ離間しているので、1カラム目の印字タイミングより(6/720)インチだけディレイさせる。以下同様に、各グループのピンをピン間の離間距離分ディレイさせて印字タイミングを設定する。なおグループDのODDピンおよびグループAのEVENピンは実際には印字されない。   The example shown in FIG. 5 shows a case where black solid printing is performed at 360 DPI with the print head having the pseudo tiremond 24 pins shown in FIG. 3, and the case where the print timing can be set in units of (1/720) inches. Show. In FIG. 5, the ODD pin of group A (shown in FIG. 38) takes the printing timing at the timing of “0” in the printing of the first column, but the ODD pin of group B is between the pins as shown in FIG. Is separated from the ODD pin of group A by (3/720) inch, so that it is delayed by (3/720) inch from the printing timing of the first column. Similarly, since the ODD pin of group C is separated from the ODD pin of group B by (3/720) inch, it is delayed by (6/720) inch from the printing timing of the first column. Similarly, the printing timing is set by delaying the pins of each group by the distance between the pins. The group D ODD pin and the group A EVEN pin are not actually printed.

次に印字データ変換部9は、印字データ保存部12に格納されている印字データを取り出し(ステップ27)、レイアウト情報格納部24の情報に基づいて、印字データを印字ヘッド2のピンレイアウトに沿う形でデータ変換を行う(ステップ28)。このデータ変換において、例えば、図4に示す#3ピンや#8ピンは印字タイミングに跨っているので、即ち、DPIに基づく印字タイミングの中間に位置しているので、このようなピンについては次の印字タイミングでインパクトするようにデータを変換する。   Next, the print data conversion unit 9 takes out the print data stored in the print data storage unit 12 (step 27), and prints the print data along the pin layout of the print head 2 based on the information in the layout information storage unit 24. Data conversion is performed in the form (step 28). In this data conversion, for example, the # 3 pin and the # 8 pin shown in FIG. 4 straddle the print timing, that is, they are located in the middle of the print timing based on the DPI. The data is converted so as to have an impact at the printing timing.

以上のように変換された印字データは、インパクトデータ保存部13に格納される(ステップ29)。そしてインパクト割り込み信号が入力されると(ステップ30)、インパクトデータ取り出し部10がインパクトデータ保存部13からインパクトデータを取り出し(ステップ31)、次のインパクト割り込み信号が入力すると(ステップ32)、印字を行う(ステップ33)。   The print data converted as described above is stored in the impact data storage unit 13 (step 29). When an impact interrupt signal is input (step 30), the impact data extraction unit 10 extracts impact data from the impact data storage unit 13 (step 31). When the next impact interrupt signal is input (step 32), printing is performed. Perform (step 33).

以上のように第1の実施の形態によれば、使用する印字ヘッド2に合わせてそのピンレイアウト情報をレイアウト情報設定レジスタ部22に入力設定するようにしたので、どのようなピンレイアウトの印字ヘッドを使用する場合でも対応可能となり、印刷装置の開発途中において、印字ヘッドのピンレイアウトを変更する必要が生じた場合、現在までの資産である既存の制御回路あるいは制御LSIをそのまま使用することが可能となる。ピンレイアウトの入力設定は、印刷装置に設けられたオペレータパネルの操作部から入力することもできるし、所定のコマンドデータを上位装置から送信することでも可能である。   As described above, according to the first embodiment, the pin layout information is input and set in the layout information setting register unit 22 in accordance with the print head 2 to be used. If you need to change the print head pin layout during the development of the printing device, you can use the existing control circuit or control LSI that is the asset up to now. It becomes. The pin layout input setting can be input from an operation unit of an operator panel provided in the printing apparatus, or can be transmitted by transmitting predetermined command data from a host apparatus.

次に第2の実施の形態を説明する。図6は第2の実施の形態の印刷装置を示す制御ブロック図である。図6において、第2の実施の形態の印刷装置31は、第1の実施の形態の印刷装置と同様に、レイアウト情報設定レジスタ部22、印字DPI設定レジスタ部23、レイアウト情報格納部24およびタイミングカウンタ部25を有し、さらに印字ヘッド2に不揮発性メモリ32が実装されている。   Next, a second embodiment will be described. FIG. 6 is a control block diagram illustrating the printing apparatus according to the second embodiment. In FIG. 6, the printing apparatus 31 of the second embodiment is similar to the printing apparatus of the first embodiment in that the layout information setting register unit 22, the print DPI setting register unit 23, the layout information storage unit 24, and the timing. A counter unit 25 is provided, and a non-volatile memory 32 is mounted on the print head 2.

不揮発性メモリ32には印字ヘッド2のピンレイアウト情報があらかじめ格納されており、印字ヘッド2が印刷装置31に実装されると、不揮発性メモリ32は制御LSI5に接続され、制御LSI5との間でデータのやり取りを行うことができる。その他の構成は前記第1の実施の形態と同様である。   Pin layout information of the print head 2 is stored in advance in the non-volatile memory 32, and when the print head 2 is mounted on the printing device 31, the non-volatile memory 32 is connected to the control LSI 5. Data can be exchanged. Other configurations are the same as those in the first embodiment.

次に第2の実施の形態の動作を図7に示すフローチャートにしたがって説明する。図7は第2の実施の形態の印字動作を示すフローチャートである。まず、不揮発性メモリ32を設けた印字ヘッド2が印刷装置31に実装される(ステップ41)。この実装により不揮発性メモリ32は制御LSI5と接続される。次に装置31の電源が投入されると(ステップ42)、レイアウト情報設定レジスタ部22が不揮発性メモリ32のピンレイアウト情報を読み取ることによりピンレイアウトデータを取得する(ステップ43)。   Next, the operation of the second embodiment will be described with reference to the flowchart shown in FIG. FIG. 7 is a flowchart showing the printing operation of the second embodiment. First, the print head 2 provided with the nonvolatile memory 32 is mounted on the printing apparatus 31 (step 41). With this mounting, the nonvolatile memory 32 is connected to the control LSI 5. Next, when the power of the device 31 is turned on (step 42), the layout information setting register unit 22 reads the pin layout information of the nonvolatile memory 32 to acquire the pin layout data (step 43).

次に上位装置15から印字データが入力されると(ステップ44)、印字データは印字データ保存部12に格納される(ステップ45)。ここで印字データ内で指定されたDPIモードを印字DPI設定レジスタ部23に入力し設定する(ステップ46)。次にレイアウト情報設定レジスタ部22に設定された各ピンのレイアウト情報と印字DPI設定レジスタ部23の情報がタイミングカウンタ部25に入力され、第1の実施の形態と同様に、タイミングカウンタ部25は、インパクトタイミングを生成するためのタイミングカウンタを生成する(ステップ47)。   Next, when print data is input from the host device 15 (step 44), the print data is stored in the print data storage unit 12 (step 45). Here, the DPI mode designated in the print data is input to the print DPI setting register 23 and set (step 46). Next, the layout information of each pin set in the layout information setting register unit 22 and the information in the print DPI setting register unit 23 are input to the timing counter unit 25. As in the first embodiment, the timing counter unit 25 Then, a timing counter for generating impact timing is generated (step 47).

またレイアウト情報設定レジスタ部22の情報と印字DPI設定レジスタ部23の情報がレイアウト情報格納部24に入力される(ステップ48)。レイアウト情報格納部24では、第1の実施の形態と同様に、入力された情報に基づいて、即ち、印字ヘッド2のODDピンとEVENピンとのピン離間距離と印字DPIの情報に基づいて、印字データの離間分とインパクトタイミングからのディレイ(遅れ)量を各ピンごとに算出する。   Information in the layout information setting register unit 22 and information in the print DPI setting register unit 23 are input to the layout information storage unit 24 (step 48). In the layout information storage unit 24, as in the first embodiment, the print data is based on the input information, that is, the pin separation distance between the ODD pin and the EVEN pin of the print head 2 and the print DPI information. And the amount of delay from the impact timing is calculated for each pin.

次に印字データ変換部9は、印字データ保存部12に格納されている印字データを取り出し(ステップ49)、第1の実施の形態と同様に、レイアウト情報格納部24の情報に基づいて、印字データを印字ヘッド2のピンレイアウトに沿う形でデータ変換を行う(ステップ50)。   Next, the print data conversion unit 9 takes out the print data stored in the print data storage unit 12 (step 49), and prints based on the information in the layout information storage unit 24 as in the first embodiment. Data conversion is performed on the data along the pin layout of the print head 2 (step 50).

変換された印字データは、インパクトデータ保存部13に格納される(ステップ51)。そしてインパクト割り込み信号が入力されると(ステップ52)、インパクトデータ取り出し部10がインパクトデータ保存部13からインパクトデータを取り出し(ステップ53)、次のインパクト割り込み信号が入力すると(ステップ54)、印字を行う(ステップ55)。   The converted print data is stored in the impact data storage unit 13 (step 51). When an impact interrupt signal is input (step 52), the impact data extraction unit 10 extracts impact data from the impact data storage unit 13 (step 53). When the next impact interrupt signal is input (step 54), printing is performed. Perform (step 55).

以上のように第2の実施の形態によれば、前記第1の実施の形態の有する効果に加えて、印字ヘッド2にその印字ヘッド2のピンレイアウト情報を持たせ、電源投入の際にピンレイアウト情報をレイアウト情報設定レジスタ部22に設定するようにしたので、プログラム(ファームウェア処理)で印字ヘッド2の選択をすることが不要となり、装置の用途により印字ヘッドを使い分ける等の応用が可能である。   As described above, according to the second embodiment, in addition to the effects of the first embodiment, the print head 2 is provided with pin layout information of the print head 2 and the pin is turned on when the power is turned on. Since the layout information is set in the layout information setting register unit 22, it is not necessary to select the print head 2 by a program (firmware processing), and it is possible to apply different print heads depending on the use of the apparatus. .

次に第3の実施の形態を説明する。ところで、印字ヘッドのスペーシング方向(フォワード方向/リバース方向)に規格外の印字位置ズレが発生した場合、従来では所謂レジストレーション補正を行って、例えば、ファームウェアで認識している印字ヘッドの現在位置と実際の印字ヘッドの位置との差異によるズレを補正している。しかしながらこの制御方法は、インパクトタイミングに対して、CPU等のタイマを使用して遅延制御またはその逆の制御を行うことにより、インパクトのタイミングをずらしていたので、CPUの負荷が大きくなり、パフォーマンスの低下につながっていた。第3の実施の形態はこの点をも鑑みてなされたものである。   Next, a third embodiment will be described. By the way, when a non-standard printing position deviation occurs in the spacing direction (forward direction / reverse direction) of the print head, a so-called registration correction is conventionally performed, for example, the current position of the print head recognized by the firmware. Deviation due to the difference between the actual print head position and the actual print head position is corrected. However, this control method shifts the impact timing by performing delay control using a timer such as a CPU or vice versa with respect to the impact timing. Led to a decline. The third embodiment has been made in view of this point.

図8は第3の実施の形態の印刷装置を示す制御ブロック図である。図8において、第3の実施の形態の印刷装置41には、印字品位検出部42と印字品位調整部43が設けられている。印字品位検出部42は、ファームウェアで認識している印字ヘッド2の位置と実際の印字ヘッド2の位置との差異が所定の印字品位を満足する程度のものであるか否かを検出するもので、所定の印字品位を満足しないと判断した場合にはアラーム信号を印字品位調整部43に対して出力する。印字品位調整部43は、印字品位検出部42からアラーム信号を入力すると、印字品位を調整するための調整値を算出し、算出した調整値をレイアウト情報設定レジスタ部22に送る。その他の構成は前記第1の実施の形態と同様である。 FIG. 8 is a control block diagram illustrating a printing apparatus according to the third embodiment. In FIG. 8, the printing apparatus 41 of the third embodiment is provided with a print quality detection unit 42 and a print quality adjustment unit 43. The print quality detection unit 42 detects whether or not the difference between the position of the print head 2 recognized by the firmware and the actual position of the print head 2 satisfies a predetermined print quality. When it is determined that the predetermined print quality is not satisfied, an alarm signal is output to the print quality adjustment unit 43. When an alarm signal is input from the print quality detection unit 42, the print quality adjustment unit 43 calculates an adjustment value for adjusting the print quality, and sends the calculated adjustment value to the layout information setting register unit 22. Other configurations are the same as those in the first embodiment.

印字品位検出部42は印字ヘッド2の実際の位置を検出する位置検出機構に接続されている。図9に位置検出機構を示す。図9において、位置検出機構44は、印字ヘッド2を搭載する移動可能なキャリッジ45の後方に設けたリニアスケール46と、キャリッジ45上に設けられたリニアセンサ47とから構成される。リニアスケール46は印刷装置41の本体側に設けられ、帯状に白黒の印刷パターンを交互に備えている。リニアスケール46は印字ヘッド2の移動方向に沿って配設されている。   The print quality detection unit 42 is connected to a position detection mechanism that detects the actual position of the print head 2. FIG. 9 shows the position detection mechanism. In FIG. 9, the position detection mechanism 44 includes a linear scale 46 provided behind a movable carriage 45 on which the print head 2 is mounted, and a linear sensor 47 provided on the carriage 45. The linear scale 46 is provided on the main body side of the printing apparatus 41, and includes black and white print patterns alternately in a band shape. The linear scale 46 is disposed along the moving direction of the print head 2.

リニアセンサ47はキャリッジ45上にリニアスケール46に対向して設けられ、発光部47aと受光部47bで構成される。発光部47aで照射された光はリニアスケール46で反射し、受光部47bで受光される。発光部47aとしては例えば発光ダイオードを用いることができ、また受光部47bとしてはフォトダイオードまたはフォトトランジスタを用いることができる。   The linear sensor 47 is provided on the carriage 45 so as to face the linear scale 46, and includes a light emitting unit 47a and a light receiving unit 47b. The light emitted from the light emitting unit 47a is reflected by the linear scale 46 and received by the light receiving unit 47b. For example, a light emitting diode can be used as the light emitting portion 47a, and a photodiode or a phototransistor can be used as the light receiving portion 47b.

キャリッジ45(印字ヘッド2)をスペーシング移動させるスペーシングモータとしてステッピングモータを使用している場合において、印字ヘッド2の実際の位置を検出する機構を持たない場合は、ファームウェアで認識している印字ヘッド2の位置と実際の印字ヘッド2の位置が異なった場合、スペーシング方向の印字ズレを修正することができず、印字品位が悪くなる。 If a stepping motor is used as a spacing motor that moves the carriage 45 (printing head 2), and if there is no mechanism for detecting the actual position of the printing head 2, the printing recognized by the firmware If the position of the head 2 and the actual position of the print head 2 are different, the print misalignment in the spacing direction cannot be corrected, and the print quality deteriorates.

そこで上記のような印字ヘッド2の位置を検出する機構を設けることにより、実際の印字ヘッド2の位置を検出し、ファームウェアで認識している印字ヘッド2の位置と実際の印字ヘッド2の位置との差異を印字品位補正値として適用することが可能になる。具体的には、イニシャル動作時に上記の差異を検出し、その差異を補正値として後述するように印字ヘッド2のピンレイアウトを動的に変更することにより、印字品位を所定以上に保持するものである。   Therefore, by providing a mechanism for detecting the position of the print head 2 as described above, the actual position of the print head 2 is detected, and the position of the print head 2 recognized by the firmware and the actual position of the print head 2 are determined. This difference can be applied as a print quality correction value. Specifically, the above-described difference is detected during the initial operation, and the print layout is maintained at a predetermined level or more by dynamically changing the pin layout of the print head 2 as described later using the difference as a correction value. is there.

次に第3の実施の形態の動作を図10Aおよび図10Bに示すフローチャートにしたがって説明する。図10Aおよび図10Bは第3の実施の形態の動作を示すフローチャートである。まず、第1の実施の形態と同様に、レイアウト情報設定レジスタ部22に、装置41で使用する印字ヘッド2のピンレイアウト情報を入力する(ステップ61)。入力は、印字ヘッド2の各ピンごとに(1/720)インチ単位で設定する。レイアウト情報の設定は、ファームウェア(プログラム)処理により制御LSI5内の制御レジスタであるレイアウト情報設定レジスタ部22に対して行われるが、図3に示すように、ある基準ポイントに対して各ピンがどれだけ離れているかの情報を設定する。入力設定された印字ヘッド2の各ピンのレイアウト情報は、制御LSI5内の内部レジスタであるレイアウト情報格納部24に格納される。   Next, the operation of the third embodiment will be described with reference to the flowcharts shown in FIGS. 10A and 10B. 10A and 10B are flowcharts showing the operation of the third exemplary embodiment. First, as in the first embodiment, pin layout information of the print head 2 used in the apparatus 41 is input to the layout information setting register unit 22 (step 61). Input is set in units of (1/720) inches for each pin of the print head 2. The layout information is set to the layout information setting register unit 22 which is a control register in the control LSI 5 by firmware (program) processing. As shown in FIG. Set the information of how far away. The input layout information of each pin of the print head 2 is stored in a layout information storage unit 24 that is an internal register in the control LSI 5.

次に上位装置15から印字データが入力されると(ステップ62)、印字データは印字データ保存部12に格納される(ステップ63)。ここで印字データ内で指定されたDPIモードを印字DPI設定レジスタ部23に入力し設定する(ステップ64)。次にレイアウト情報設定レジスタ部22に設定された各ピンのレイアウト情報と印字DPI設定レジスタ部23の情報がタイミングカウンタ部25に入力され、タイミングカウンタ部25は、インパクトタイミングを生成するためのタイミングカウンタを生成する(ステップ65)。   Next, when print data is input from the host device 15 (step 62), the print data is stored in the print data storage unit 12 (step 63). Here, the DPI mode designated in the print data is input to the print DPI setting register 23 and set (step 64). Next, the layout information of each pin set in the layout information setting register unit 22 and the information in the print DPI setting register unit 23 are input to the timing counter unit 25. The timing counter unit 25 generates a timing counter for generating impact timing. Is generated (step 65).

またレイアウト情報設定レジスタ部22の情報と印字DPI設定レジスタ部23の情報がレイアウト情報格納部24に入力される(ステップ66)。レイアウト情報格納部24では、第1の実施の形態と同様に、入力された情報に基づいて、即ち、印字ヘッド2のODDピンとEVENピンとのピン離間距離と印字DPIの情報に基づいて、印字データの離間分とインパクトタイミングからのディレイ(遅れ)量を各ピンごとに算出する。   The information in the layout information setting register unit 22 and the information in the print DPI setting register unit 23 are input to the layout information storage unit 24 (step 66). In the layout information storage unit 24, as in the first embodiment, the print data is based on the input information, that is, the pin separation distance between the ODD pin and the EVEN pin of the print head 2 and the print DPI information. And the amount of delay from the impact timing is calculated for each pin.

次に印字データ変換部9は、印字データ保存部12に格納されている印字データを取り出し(ステップ67)、第1の実施の形態と同様に、レイアウト情報格納部24の情報に基づいて、印字データを印字ヘッド2のピンレイアウトに沿う形でデータ変換を行う(ステップ68)。変換された印字データは、インパクトデータ保存部13に格納される(ステップ69)。   Next, the print data conversion unit 9 takes out the print data stored in the print data storage unit 12 (step 67), and prints based on the information in the layout information storage unit 24 as in the first embodiment. Data conversion is performed on the data along the pin layout of the print head 2 (step 68). The converted print data is stored in the impact data storage unit 13 (step 69).

そしてインパクト割り込み信号が入力されると(ステップ70)、印字品位検出部42がアラーム信号を出力しているか否かを判断する(ステップ71)。印字品位検出部42は、位置検出機構44から印字ヘッド2の実際の位置の情報を得るとともに、また図示しないスペーシングモータの制御信号からファームウェアで認識している印字ヘッド2の位置の情報を得る。   When an impact interrupt signal is input (step 70), it is determined whether the print quality detection unit 42 is outputting an alarm signal (step 71). The print quality detection unit 42 obtains information on the actual position of the print head 2 from the position detection mechanism 44 and obtains information on the position of the print head 2 recognized by the firmware from a control signal of a spacing motor (not shown). .

図11を用いて説明すると、印字品位検出部42は、印字ヘッド2の実際の位置を、位置検出機構44から出力されるリニアスケールΦA信号とリニアスケールΦB信号により求め、ファームウェアで認識する印字ヘッド2の位置を、スペーシング(SP)モータΦA信号とスペーシング(SP)モータΦB信号とから求める。なお図9に示すリニアセンサ47の受光部47bは、互いにパルスの位相が90°ずれた2つのリニアスケール信号(ΦA、ΦB)を出力するものとなっている。   Referring to FIG. 11, the print quality detection unit 42 obtains the actual position of the print head 2 from the linear scale ΦA signal and the linear scale ΦB signal output from the position detection mechanism 44, and recognizes the print head by the firmware. 2 is determined from the spacing (SP) motor ΦA signal and the spacing (SP) motor ΦB signal. The light receiving section 47b of the linear sensor 47 shown in FIG. 9 outputs two linear scale signals (ΦA, ΦB) whose phases of the pulses are shifted from each other by 90 °.

印字品位検出部42は、両方の位置情報からファームウェアで認識している印字ヘッド2の位置と実際の印字ヘッド2の位置との差異を求め、その差異が印字品位に影響を与える程度のものであるか否かを所定の基準値と比較することにより判断し、基準値以上である場合には、印字品位調整部43にアラーム信号を出力する。印字品位検出部42はアラーム信号を出力するとともに、差異の値を印字品位調整部43に送る。   The print quality detection unit 42 obtains a difference between the position of the print head 2 recognized by the firmware and the actual position of the print head 2 from both pieces of position information, and the difference affects the print quality. Whether it is present or not is determined by comparing with a predetermined reference value, and if it is equal to or greater than the reference value, an alarm signal is output to the print quality adjustment unit 43. The print quality detection unit 42 outputs an alarm signal and sends a difference value to the print quality adjustment unit 43.

ファームウェアで認識している印字ヘッド2の位置と実際の印字ヘッド2の位置との間に差異αが発生した場合(図11に示す例では実際の印字ヘッド2の位置が進みすぎている)、印字が開始される位置は、ファームウェアで認識している第1ドット印字位置に対してαだけずれており、印字ヘッド2のFOW方向での印字とREV方向での印字間のズレを考えると、β(=2α)の印字ズレが発生することになる。   When a difference α occurs between the position of the print head 2 recognized by the firmware and the actual position of the print head 2 (in the example shown in FIG. 11, the position of the actual print head 2 is too advanced). The printing start position is shifted by α with respect to the first dot printing position recognized by the firmware. Considering the deviation between the printing in the FOW direction and the printing in the REV direction of the print head 2, A print deviation of β (= 2α) occurs.

印字品位調整部43は、印字品位検出部42から差異の情報を受け取ると、その情報から印字調整値を算出する(ステップ72)。例えば、ファームウェアで認識している印字ヘッド2の位置と実際の印字ヘッド2の位置との間に差異αが、0.1mmである場合、(3/720)インチ=0.1058mmであるので、印字ヘッド2のピンレイアウトを全体に(3/720)インチずらすことにより補正が可能となるので、(3/720)インチが印字調整値となる。   Upon receiving the difference information from the print quality detection unit 42, the print quality adjustment unit 43 calculates a print adjustment value from the information (step 72). For example, when the difference α between the position of the print head 2 recognized by the firmware and the actual position of the print head 2 is 0.1 mm, (3/720) inch = 0.05058 mm, Since correction is possible by shifting the pin layout of the print head 2 as a whole by (3/720) inches, (3/720) inches is the print adjustment value.

印字品位調整部43は、算出した調整値をレイアウト情報設定レジスタ部22に入力する(ステップ73)。レイアウト情報設定レジスタ部22には既に印字ヘッド2のピンレイアウト情報が設定されているので、そのピンレイアウト情報を調整値で補正することになる。図12により具体例を用いて説明する。図12は調整値によるピンレイアウトの補正を示す説明図である。   The print quality adjustment unit 43 inputs the calculated adjustment value to the layout information setting register unit 22 (step 73). Since the pin layout information of the print head 2 has already been set in the layout information setting register unit 22, the pin layout information is corrected with the adjustment value. A specific example will be described with reference to FIG. FIG. 12 is an explanatory diagram showing correction of pin layout by adjustment values.

図12は図5と同様に360DPIで黒ベタ印字の場合を示し、図12(a)は補正前の各グループのピンの印字タイミングを示し、図12(b)は補正後の各グループのピンの印字タイミングを示す。   FIG. 12 shows the case of black solid printing at 360 DPI as in FIG. 5, FIG. 12 (a) shows the printing timing of the pins of each group before correction, and FIG. 12 (b) shows the pins of each group after correction. Indicates the printing timing.

例えば、ファームウェアで認識している印字ヘッド2の位置と実際の印字ヘッド2の位置との間に差異αが、0.1mmである場合、上述のように、印字ヘッド2のピンレイアウトを全体に(3/720)インチずらす必要があるが、実際の印字ヘッド2の位置が進みすぎていることにより差異が発生しているので、図12(b)に示すように、各グループのピンの印字タイミングをタイミングを早くする方向に(3/720)インチずらす。   For example, if the difference α between the position of the print head 2 recognized by the firmware and the actual position of the print head 2 is 0.1 mm, the pin layout of the print head 2 is entirely changed as described above. (3/720) It is necessary to shift the inch, but since the actual print head 2 has moved too far, a difference has occurred, so as shown in FIG. The timing is shifted by (3/720) inches in the direction of increasing the timing.

ステップ71で印字品位検出部42からアラーム信号が出力されなかった場合、およびステップ73で印字品位調整部43で算出した調整値をレイアウト情報設定レジスタ部22に入力した後、インパクトデータ取り出し部10がインパクトデータ保存部13からインパクトデータを取り出し(ステップ74)、次のインパクト割り込み信号が入力すると(ステップ75)、印字を行う(ステップ76)。   When no alarm signal is output from the print quality detection unit 42 in step 71 and after the adjustment value calculated by the print quality adjustment unit 43 is input to the layout information setting register unit 22 in step 73, the impact data extraction unit 10 Impact data is extracted from the impact data storage unit 13 (step 74), and when the next impact interrupt signal is input (step 75), printing is performed (step 76).

ステップ76における印字は補正前の印字タイミングで行われるが、次の行の印字または次のページの印字または次のジョブの印字では、調整値により補正されたレイアウト情報設定レジスタ部22のレジスタ値による印字タイミングで印字が行われる。その結果、スペーシング方向の印字ズレを防止することが可能となる。   The printing in step 76 is performed at the printing timing before correction. However, in the printing of the next line, the printing of the next page, or the printing of the next job, it depends on the register value of the layout information setting register unit 22 corrected by the adjustment value. Printing is performed at the printing timing. As a result, it is possible to prevent printing displacement in the spacing direction.

以上のように第3の実施の形態では、上記第1の実施の形態の有する効果に加えて、次の効果を奏する。即ち、従来ではCPU等のタイマを使用して、印字ヘッドのスペーシング方向(フォワード方向/リバース方向)の印字ズレを補正していたが、第3の実施の形態によれば、検出された差異に基づいて印字品位調整部43で調整値を算出し、その調整値でレイアウト情報設定レジスタ部22のレジスタ値を補正するようにしたので、パフォーマンスを低下させることなく、印字ズレの補正を行うことが可能となる。   As described above, the third embodiment has the following effects in addition to the effects of the first embodiment. That is, conventionally, a timer such as a CPU is used to correct the print misalignment in the spacing direction (forward direction / reverse direction) of the print head. However, according to the third embodiment, the detected difference Since the print quality adjustment unit 43 calculates the adjustment value based on the above and corrects the register value of the layout information setting register unit 22 with the adjustment value, the print deviation is corrected without degrading the performance. Is possible.

次に第4の実施の形態を説明する。図13は第4の実施の形態の印刷装置を示す制御ブロック図である。図13において、第4の実施の形態の印刷装置51には、レイアウト情報設定レジスタA部22aとレイアウト情報設定レジスタB部22bが設けられている。レイアウト情報設定レジスタA部22aには、装置51で使用する印字ヘッド2のピンレイアウト情報がカラム単位で入力される。またレイアウト情報設定レジスタB部22bには、装置51で使用する印字ヘッド2のピンレイアウト情報がカラム以下の単位で入力される。またタイミングカウンタ部25は、レイアウト情報設定レジスタA部22aおよびレイアウト情報設定レジスタB部22bと印字DPI設定レジスタ部23からの情報からインパクトタイミングを生成するためのタイミングカウンタを生成する。その他の構成は前記第1の実施の形態と同様である。   Next, a fourth embodiment will be described. FIG. 13 is a control block diagram illustrating a printing apparatus according to the fourth embodiment. In FIG. 13, the printing apparatus 51 of the fourth embodiment is provided with a layout information setting register A unit 22a and a layout information setting register B unit 22b. Pin layout information of the print head 2 used in the apparatus 51 is input to the layout information setting register A unit 22a in column units. The layout information setting register B section 22b receives pin layout information of the print head 2 used in the device 51 in units of columns or less. The timing counter unit 25 generates a timing counter for generating an impact timing from information from the layout information setting register A unit 22a, the layout information setting register B unit 22b, and the print DPI setting register unit 23. Other configurations are the same as those in the first embodiment.

次に第4の実施の形態の動作を説明する。図14は第4の実施の形態の印字動作を示すフローチャートである。なお説明にあたって図15乃至図21の動作説明図を随時参照して説明する。まずステップ1において印字ヘッド2のピンレイアウト情報を各ピン毎および各ピングループ毎にレイアウト情報設定レジスタA部22aおよびレイアウト情報設定レジスタB部22bに入力する。   Next, the operation of the fourth embodiment will be described. FIG. 14 is a flowchart showing the printing operation of the fourth embodiment. The description will be made with reference to the operation explanatory diagrams of FIGS. First, in step 1, the pin layout information of the print head 2 is input to the layout information setting register A unit 22a and the layout information setting register B unit 22b for each pin and each pin group.

レイアウト情報設定レジスタA部22aに入力される情報は、「印字ヘッドピンレイアウト情報設定範囲」が走査していき、基本印字タイミングに到達した地点から印字ヘッドピンまでの離間したカラム単位での離間量である。またレイアウト情報設定レジスタB部22bに入力される情報は、「印字ヘッドピンレイアウト情報設定範囲」が走査していき、基本印字タイミングに到達した地点から印字ヘッドピンまでの離間したカラム以下の単位での離間量である。なおカラム以下の単位は、印字DPIにより異なる。図を用いて説明する。   The information input to the layout information setting register A section 22a is the amount of separation in units of separated columns from the point at which the “print head pin layout information setting range” is scanned and reaches the basic print timing to the print head pin. . The information input to the layout information setting register B section 22b is scanned by the “print head pin layout information setting range”, and is separated in units below the separated column from the point where the basic print timing is reached to the print head pin. Amount. The units below the column differ depending on the print DPI. This will be described with reference to the drawings.

図15A乃至図15Hは印字ヘッドピンレイアウト情報設定範囲の走査を示す動作説明図である。印字ヘッドピンレイアウト情報設定範囲の走査は、図示しないスペーシングモータを回転させて印字ヘッド2をスペーシング移動させることにより行う。図15A乃至図15Hにおいては、24ピン系疑似タイヤモンドの印字ヘッドで、A〜Dの4グループで、ピン間距離が1/240インチで、180DPI時を例にしている。まず図15Aにおいて印字ヘッドピンレイアウト情報設定範囲52は、その先頭部が停止位置に位置している。この状態では印字ヘッドが「印字開始ポイント」に到達していない。この状態から図における右方向へ走査していく。   15A to 15H are operation explanatory views showing scanning of the print head pin layout information setting range. Scanning of the print head pin layout information setting range is performed by rotating a spacing motor (not shown) and moving the print head 2 by spacing. 15A to 15H exemplify a 24-pin pseudo-tyremond print head with four groups A to D, a distance between pins of 1/240 inch, and 180 DPI. First, in FIG. 15A, the head of the print head pin layout information setting range 52 is located at the stop position. In this state, the print head has not reached the “print start point”. From this state, scanning is performed in the right direction in the figure.

印字ヘッドピンレイアウト情報設定範囲52が図15Bに示す位置に来ると、即ち、図15Aの停止位置から3/720インチ進んだ位置にくると、グループAのピンが印字開始位置に到達したので、グループAのピンはこの印字タイミングでインパクトする。他のグループのピンはインパクトしない。このときグループAのピンの離間距離を“0”に設定する。さらに図15Bの位置から3/720インチ進んで図15Cに示す位置になると、グループBのピンが印字開始位置に到達したので、グループBのピンはこの印字タイミングでインパクトする。他のグループのピンはインパクトしない。このときグループBのピンの離間距離を“3”に設定する。   When the print head pin layout information setting range 52 is at the position shown in FIG. 15B, that is, when the print head pin layout information setting range 52 is 3/720 inches ahead of the stop position in FIG. 15A, the group A pin has reached the print start position. The A pin impacts at this printing timing. Other groups of pins have no impact. At this time, the group A pin separation distance is set to “0”. Further, when the head advances 3/720 inches from the position of FIG. 15B to reach the position shown in FIG. 15C, the pin of group B reaches the print start position, so the pin of group B impacts at this print timing. Other groups of pins have no impact. At this time, the separation distance of the group B pins is set to “3”.

さらに図15Cの位置から1/720インチ進んで図15Dに示す位置になると、グループAのピンが印字タイミング位置に到達したので、グループAのピンはこの印字タイミングでインパクトする。他のグループのピンはインパクトしない。さらに図15Dの位置から2/720インチ進んで図15Eに示す位置になると、グループCのピンが印字タイミング位置に到達したので、グループCのピンはこの印字タイミングでインパクトする。他のグループのピンはインパクトしない。このときグループCのピンの離間距離を“6”に設定する。   Further, when the position advances to 1/720 inch from the position of FIG. 15C and reaches the position shown in FIG. 15D, the pin of group A has reached the print timing position, so the pin of group A impacts at this print timing. Other groups of pins have no impact. Further, when the head advances by 2/720 inch from the position of FIG. 15D and reaches the position shown in FIG. 15E, the pin of group C reaches the print timing position, and therefore the pin of group C impacts at this print timing. Other groups of pins have no impact. At this time, the distance of the group C pins is set to “6”.

さらに図15Eの位置から1/720インチ進んで図15Fに示す位置になると、グループBのピンが印字タイミング位置に到達したので、グループBのピンはこの印字タイミングでインパクトする。他のグループのピンはインパクトしない。さらに図15Fの位置から1/720インチ進んで図15Gに示す位置になると、グループAのピンが印字タイミング位置に到達したので、グループAのピンはこの印字タイミングでインパクトする。他のグループのピンはインパクトしない。   Further, when the position advances to 1/720 inch from the position shown in FIG. 15E and reaches the position shown in FIG. 15F, the pin of group B reaches the print timing position, so the pin of group B impacts at this print timing. Other groups of pins have no impact. Further, when the position advances to 1/720 inch from the position of FIG. 15F and reaches the position shown in FIG. 15G, the pin of group A has reached the print timing position, so the pin of group A impacts at this print timing. Other groups of pins have no impact.

さらに図15Gの位置から1/720インチ進んで図15Hに示す位置になると、グループDのピンが印字開始位置に到達したので、グループDのピンはこの印字タイミングでインパクトする。他のグループのピンはインパクトしない。このときグループDのピンの離間距離を“9”に設定する。   Further, when the position advances to 1/720 inch from the position of FIG. 15G and reaches the position shown in FIG. 15H, the pin of group D reaches the print start position, and therefore, the pin of group D impacts at this print timing. Other groups of pins have no impact. At this time, the separation distance of the pins of group D is set to “9”.

以上のようにグループAとグループBのピンは第1カラム(印字タイミング)でインパクトし、グループCのピンは第2カラムでインパクトし、グループDのピンは第3カラムでインパクトするので、グループAとグループBはカラム単位として「0」に設定され、グループCはカラム単位として「1」に設定され、グループDはカラム単位として「2」に設定される。またグループAはカラム以下の単位として「0」に設定され、グループBはカラム以下の単位として「3」に設定され、グループCはカラム以下の単位として「2」に設定され、グループDはカラム以下の単位として「1」に設定される。   As described above, the group A and group B pins impact in the first column (print timing), the group C pin impacts in the second column, and the group D pin impacts in the third column. And Group B are set to “0” as a column unit, Group C is set to “1” as a column unit, and Group D is set to “2” as a column unit. Group A is set to “0” as the unit below the column, Group B is set to “3” as the unit below the column, Group C is set to “2” as the unit below the column, and Group D is the column The following unit is set to “1”.

図16は24ピン系疑似タイヤモンドの印字ヘッドで、A〜Dの4グループで、ピン間距離が1/240インチで、60DPI時を例にした場合の説明図である。図16に示すように、この場合は1つの印字タイミング中にすべてのピンがインパクトできるので、すべてのグループのピンについてカラム単位は「0」と設定される。またカラム以下の単位については、グループAは「0」に設定され、グループBは「3」に設定され、グループCは「6」に設定され、グループDは「9」に設定される。   FIG. 16 is an explanatory diagram of a 24-pin pseudo tire Mond print head, in which four groups A to D have a distance between pins of 1/240 inch and an example at 60 DPI. As shown in FIG. 16, in this case, since all pins can impact during one printing timing, the column unit is set to “0” for all groups of pins. For the units below the column, group A is set to “0”, group B is set to “3”, group C is set to “6”, and group D is set to “9”.

図17は24ピン系疑似タイヤモンドの印字ヘッドで、A〜Dの4グループで、ピン間距離が1/240インチで、360DPI時を例にした場合の説明図である。図17に示すように、この場合はグループAのピンは第1カラムでインパクトし、グループBのピンは第2カラムでインパクトし、グループCのピンは第4カラムでインパクトし、グループDのピンは第5カラムでインパクトするので、グループAはカラム単位として「0」に設定され、グループBはカラム単位として「1」に設定され、グループCはカラム単位として「3」に設定され、グループDはカラム単位として「4」に設定される。またカラム以下の単位については、グループAとグループCは「0」に設定され、グループBとグループDは「1」に設定される。   FIG. 17 is a 24 pin type pseudo tire Mond print head, and is an explanatory diagram in the case of 360 DPI when the distance between pins is 1/240 inches in 4 groups A to D. As shown in FIG. 17, in this case, Group A pins impact in the first column, Group B pins impact in the second column, Group C pins impact in the fourth column, and Group D pins. Is impacted in the fifth column, group A is set to “0” as a column unit, group B is set to “1” as a column unit, group C is set to “3” as a column unit, group D Is set to “4” as a column unit. For units below the column, group A and group C are set to “0”, and group B and group D are set to “1”.

図18は9ピン系傾斜配列の印字ヘッドで、A〜J(Iは無し)の9グループで、ピン間距離が1/240インチで、60DPI時を例にした場合の説明図である。図19に9ピン系傾斜配列型のピンレイアウトを示す。図19において、#1ピン〜#9ピンは1/240インチずれて傾斜した配列となっている。このピンレイアウトにおいては、各ピンがそれぞれグループを構成している。   FIG. 18 is an explanatory diagram of a print head having a 9-pin system tilt arrangement, in which 9 groups A to J (I is not present), the distance between pins is 1/240 inch, and the case of 60 DPI is taken as an example. FIG. 19 shows a pin layout of a 9-pin system inclined array type. In FIG. 19, pins # 1 to # 9 are arranged so as to be inclined by 1/240 inch. In this pin layout, each pin constitutes a group.

図18に示すように、この場合はグループA乃至グループDのピンが第1カラムでインパクトし、グループE乃至グループHのピンが第2カラムでインパクトし、グループJのピンが第3カラムでインパクトするので、グループA乃至グループDはカラム単位として「0」に設定され、グループE乃至グループHはカラム単位として「1」に設定され、グループJはカラム単位として「2」に設定される。またカラム以下の単位については、グループAとグループEとグループJは「0」に設定され、グループBとグループFは「3」に設定され、グループCとグループGは「6」に設定され、グループDとグループHは「9」に設定される。 As shown in FIG. 18, in this case, the pins of group A to group D impact on the first column, the pins of group E to group H impact on the second column, and the pins of group J impact on the third column. Therefore, the groups A to D are set to “0” as a column unit, the groups E to H are set to “1” as a column unit, and the group J is set to “2” as a column unit. For the units below the column, group A, group E, and group J are set to “0”, group B and group F are set to “3”, group C and group G are set to “6”, Group D and Group H are set to “9”.

図20は9ピン系傾斜配列の印字ヘッドで、A〜J(Iは無し)の9グループで、ピン間距離が1/240インチで、360DPI時を例にした場合の説明図である。図20に示すように、この場合はグループAのピンが第1カラムでインパクトし、グループBのピンが第2カラムでインパクトし、グループCのピンが第4カラムでインパクトし、グループDのピンが第5カラムでインパクトし、グループEのピンが第7カラムでインパクトし、グループFのピンが第8カラムでインパクトし、グループGのピンが第10カラムでインパクトし、グループHのピンが第11カラムでインパクトし、グループJのピンが第13カラムでインパクトするので、カラム単位としてグループAは「0」に設定され、グループBは「1」に設定され、グループCは「3」に設定され、グループDは「4」に設定され、グループEは「6」に設定され、グループFは「7」に設定され、グループGは「9」に設定され、グループHは「10」に設定され、グループJは「12」に設定される。 FIG. 20 is an explanatory diagram of a print head having a 9-pin tilt arrangement, in which 9 groups A to J (I is not present), the distance between pins is 1/240 inch, and 360 DPI is taken as an example. As shown in FIG. 20, in this case, the group A pin impacts in the first column, the group B pin impacts in the second column, the group C pin impacts in the fourth column, and the group D pin. Impacts in the 5th column, Group E pins impact in the 7th column, Group F pins impact in the 8th column, Group G pins impact in the 10th column, Group H pins impact Since the impact occurs in the 11th column and the pin of the group J impacts in the 13th column, the group A is set to “0”, the group B is set to “1”, and the group C is set to “3”. Group D is set to “4”, Group E is set to “6”, Group F is set to “7”, Group G is set to “9”, -Loop H is set to "10", the group J is set to "12".

またカラム以下の単位としては、グループAとグループCとグループEとグループGとグループJは「0」に設定され、グループBとグループDとグループFとグループHは「1」に設定される。 As units below the column, group A, group C, group E, group G, and group J are set to “0”, and group B, group D, group F, and group H are set to “1”.

図21は9ピン系傾斜配列の印字ヘッドで、A〜J(Iは無し)の9グループで、ピン間距離が1/240インチで、135DPI時を例にした場合の説明図である。135DPI時の場合、印字タイミング間隔が1/135インチであるので、(5/720)+{(1/720)×(1/3)}インチ毎に印字タイミングが発生する。図21では印字タイミングを{(1/720)×(1/3)}インチ単位で示している。したがって印字タイミングは、16/(720×3)インチ毎に発生する。 FIG. 21 is an explanatory view of a print head of a 9-pin system inclined arrangement, in which 9 groups A to J (I is not present), the distance between pins is 1/240 inch, and 135 DPI is taken as an example. In the case of 135 DPI, since the print timing interval is 1/135 inch, the print timing is generated every (5/720) + {(1/720) × (1/3)} inch. In FIG. 21, the print timing is shown in units of {(1/720) × (1/3)} inches. Therefore, printing timing occurs every 16 / (720 × 3) inches.

図21に示すように、この場合は、グループAとグループBのピンが第1カラムでインパクトし、グループCとグループDのピンが第2カラムでインパクトし、グループEとグループFのピンが第3カラムでインパクトし、グループGとグループHのピンが第4カラムでインパクトし、グループJのピンが第5カラムでインパクトするので、カラム単位としてはグループAとグループBは「0」に設定され、グループCとグループDは「1」に設定され、グループEとグループF「2」に設定され、グループGとグループHは「3」に設定され、グループJは「4」に設定される。 As shown in FIG. 21, in this case, the pins of group A and group B impact in the first column, the pins of group C and group D impact in the second column, and the pins of group E and group F are the first. Impact in 3 columns, group G and group H pins impact in the 4th column, group J pins impact in the 5th column, so group A and group B are set to “0” as a column unit , Group C and Group D are set to “1”, Group E and Group F are set to “2”, Group G and Group H are set to “3”, and Group J is set to “4”.

この例の場合、カラム単位でのレイアウト情報だけでは端数である{(1/720)×(1/3)}インチ単位の情報が欠落するので、正確な印字位置にインパクトができなくなるので、カラム単位のほかにカラム以下の単位でレイアウト情報を設定する必要がある。カラム以下の単位としては、グループA(1ピン)は「0」に設定され、グループB(2ピン)は「9」に設定され、グループC(3ピン)は「2」に設定され、グループD(4ピン)は「11」に設定され、グループE(5ピン)は「4」に設定され、グループF(6ピン)は「13」に設定され、グループG(7ピン)は「6」に設定され、グループH(8ピン)は「15」に設定され、グループJ(9ピン)は「8」に設定される。 In this example, since the information in {(1/720) × (1/3)} inch, which is a fraction, is lost only with the layout information in the column unit, the impact on the accurate print position cannot be made. In addition to units, layout information must be set in units below the column. As the unit below the column, group A (1 pin) is set to “0”, group B (2 pin) is set to “9”, group C (3 pin) is set to “2”, group D (pin 4) is set to “11”, group E (pin 5) is set to “4”, group F (pin 6) is set to “13”, and group G (pin 7) is set to “6”. ”, Group H (pin 8) is set to“ 15 ”, and group J (pin 9) is set to“ 8 ”.

以上のカラム単位の設定値はレイアウト情報設定レジスタA部22aに設定され、カラム以下の単位の設定値はレイアウト情報設定レジスタB部22bに設定される。 The above set value for each column is set in the layout information setting register A section 22a, and the set value for each column and below is set in the layout information setting register B section 22b.

次に上位装置15から印字データが入力されると(ステップ82)、印字データは印字データ保存部12に格納される(ステップ83)。ここで印字データ内で指定されたDPIモードを印字DPI設定レジスタ部23に入力し設定する(ステップ84)。次にレイアウト情報設定レジスタA部22aおよびレイアウト情報設定レジスタB部22bに設定された各ピンのレイアウト情報と印字DPI設定レジスタ部23の情報がタイミングカウンタ部25に入力され、タイミングカウンタ部25は、第1の実施の形態と同様に、インパクトタイミングを生成するためのタイミングカウンタを生成する(ステップ85)。 Next, when print data is input from the host device 15 (step 82), the print data is stored in the print data storage unit 12 (step 83). Here, the DPI mode designated in the print data is input to the print DPI setting register 23 and set (step 84). Next, the layout information of each pin set in the layout information setting register A section 22a and the layout information setting register B section 22b and the information of the print DPI setting register section 23 are input to the timing counter section 25. The timing counter section 25 Similar to the first embodiment, a timing counter for generating impact timing is generated (step 85).

またレイアウト情報設定レジスタA部22aおよびレイアウト情報設定レジスタB部22bの情報と印字DPI設定レジスタ部23の情報がレイアウト情報格納部24に入力される(ステップ86)。レイアウト情報格納部24では、第1の実施の形態と同様に、入力された情報に基づいて、印字データの離間分とインパクトタイミングからのディレイ(遅れ)量を各ピンごとに算出する。   Further, the information of the layout information setting register A section 22a and the layout information setting register B section 22b and the information of the print DPI setting register section 23 are input to the layout information storage section 24 (step 86). Similar to the first embodiment, the layout information storage unit 24 calculates the separation amount of the print data and the delay amount from the impact timing for each pin based on the input information.

次に印字データ変換部9は、印字データ保存部12に格納されている印字データを取り出し(ステップ87)、第1の実施の形態と同様に、レイアウト情報格納部24の情報に基づいて、印字データを印字ヘッド2のピンレイアウトに沿う形でデータ変換を行う(ステップ88)。   Next, the print data conversion unit 9 takes out the print data stored in the print data storage unit 12 (step 87), and prints based on the information in the layout information storage unit 24 as in the first embodiment. Data conversion is performed on the data along the pin layout of the print head 2 (step 88).

変換された印字データは、インパクトデータ保存部13に格納される(ステップ89)。そしてインパクト割り込み信号が入力されると(ステップ90)、インパクトデータ取り出し部10がインパクトデータ保存部13からインパクトデータを取り出し(ステップ91)、次のインパクト割り込み信号が入力すると(ステップ92)、印字を行う(ステップ93)。   The converted print data is stored in the impact data storage unit 13 (step 89). When an impact interrupt signal is input (step 90), the impact data extraction unit 10 extracts impact data from the impact data storage unit 13 (step 91). When the next impact interrupt signal is input (step 92), printing is performed. Perform (step 93).

以上のように第4の実施の形態によれば、ピンのレイアウト情報としてカラム単位だけでなく、カラム以下の単位でも設定するようにしたので、印字DPIがどのようなものであっても正確な印字タイミングでインパクトすることが可能となる。例えば、図18示す例において、グループHの#8ピンは、カラム単位で1つ、カラム以下の単位(1/720インチ)で2つ、シフトさせることにより、そのタイミングで印字データを印字することができる。 As described above, according to the fourth embodiment, the pin layout information is set not only in the column unit but also in the unit below the column, so that it is accurate regardless of the print DPI. It is possible to make an impact at the printing timing. For example, in the example shown in FIG. 18, the print data is printed at the timing by shifting the # 8 pin of group H by one column unit and by two units below the column (1/720 inch). Can do.

次に第5の実施の形態を説明する。図22は第5の実施の形態の印刷装置を示す制御ブロック図である。図22において、第5の実施の形態の印刷装置61には、同時ピン設定レジスタ部62が設けられている。同時ピン設定レジスタ部62は同時に駆動される複数のピンの情報が設定されるもので、プログラムROM4およびインパクト実行部11に接続されている。 Next, a fifth embodiment will be described. FIG. 22 is a control block diagram illustrating a printing apparatus according to the fifth embodiment. In FIG. 22, a simultaneous pin setting register unit 62 is provided in the printing apparatus 61 according to the fifth embodiment. The simultaneous pin setting register unit 62 sets information of a plurality of pins that are driven simultaneously, and is connected to the program ROM 4 and the impact execution unit 11.

ここで複数ピンの同時駆動が発生した場合の問題点について説明する。まずインパクト式の印字ヘッドのピンがインパクトするためのメカニズムについて説明する。印字しない状態では印字ピンは印字ヘッド内の永久磁石に引きつけられており、印字ピンは突出しない。また印字ピンが永久磁石により引き付けられる際に偏倚する板バネを配置しており、偏倚により発生する板バネのバネ力と永久磁石の吸引力との大小関係は、(永久磁石の力)>(板バネの力)となっている。永久磁石はそれぞれのピンに対して個別に設けられているわけではなく、全てのピンに対して共有的に設けられている。 Here, a problem when a plurality of pins are simultaneously driven will be described. First, the mechanism for impact of the pins of the impact type print head will be described. When printing is not performed, the printing pin is attracted to the permanent magnet in the print head, and the printing pin does not protrude. Also, a leaf spring that is biased when the printing pin is attracted by the permanent magnet is arranged, and the magnitude relationship between the spring force of the leaf spring generated by the bias and the attractive force of the permanent magnet is (permanent magnet force)> ( The force of the leaf spring. Permanent magnets are not individually provided for each pin, but are provided in common for all pins.

印字を行う場合は、引き付けられた状態の印字ピンを解放するために、永久磁石の磁束を打ち消すための電流(消磁電流)を流すと、板バネのバネ力で印字ピンが突出する。同時駆動ピンが発生した場合は、それぞれのピンに対して消磁電流を流すが、その際、消磁電流が互いに影響し合うために、消磁効果が薄れてしまう。その結果、インパクト力が弱くなり、印字品位が損なわれるという弊害が出てしまう。これに対する対策としては、同時駆動ピンが発生した場合には、そのピン数分の余分の電流を流すことにより消磁力を大きくし、インパクト力を正常に設定している。 When printing is performed, when a current (demagnetizing current) for canceling the magnetic flux of the permanent magnet is applied to release the attracted printing pin, the printing pin protrudes by the spring force of the leaf spring. When the simultaneous drive pins are generated, a degaussing current is supplied to each pin. At this time, the degaussing currents influence each other, and the degaussing effect is reduced. As a result, the impact force is weakened and the print quality is impaired. As a countermeasure against this, when simultaneous drive pins are generated, an extra current corresponding to the number of pins is supplied to increase the demagnetizing force and to set the impact force normally.

同時駆動されるピンの組み合わせは、印字DPIと印字ヘッドのピンレイアウトとの組み合わせにより、異なる。そのため、従来のようにピンレイアウトが予め決まっている場合には、そのピンレイアウトに応じて同時駆動ピンの組み合わせを論理回路に組み込むことが可能であるが、本発明のようにピンレイアウトが可変である場合には、印字DPIとピンレイアウトの組み合わせにより、同時駆動ピンの組み合わせは膨大なものとなる。 The combination of pins that are driven simultaneously differs depending on the combination of the print DPI and the print head pin layout. Therefore, when the pin layout is determined in advance as in the prior art, it is possible to incorporate a combination of simultaneous drive pins in the logic circuit according to the pin layout, but the pin layout is variable as in the present invention. In some cases, the combination of simultaneous drive pins becomes enormous due to the combination of print DPI and pin layout.

第5の実施の形態では、複数ピンの同時駆動が発生し得る組み合わせを、制御LSI5内の同時ピン設定レジスタ部62に設定することにより制御サポートする。同時ピン設定レジスタ部62は具体的には16ビット構成を有し、サポートする印字ヘッド2の「総グループ数÷2」の数だけ用意される。 In the fifth embodiment, control support is provided by setting a combination in which simultaneous driving of a plurality of pins can occur in the simultaneous pin setting register unit 62 in the control LSI 5. More specifically, the simultaneous pin setting register unit 62 has a 16-bit configuration, and is prepared by the number of the total number of print heads 2 to be supported divided by “2”.

例えば、9ピン系傾斜配列の印字ヘッドで、ピン間距離が1/240インチで、120DPIの印字ヘッドの場合は、図23に示すように、#1、#3、#5、#7、#9の各ピンが1つの同時駆動のグループとなり、#2、#4、#6、#8の各ピンがもう1つの同時駆動のグループとなる。この場合、同時ピン設定レジスタ部62の設定は、図24に示すようになる。なお図23は同時駆動ピンを示す説明図であり、図24は同時ピン設定レジスタ部の設定例を示す説明図である。なお図24において、ビットが“0”の場合は単独でインパクトされる。 For example, in the case of a print head having a 9-pin system inclined arrangement and a distance between pins of 1/240 inch and a print head of 120 DPI, as shown in FIG. 23, # 1, # 3, # 5, # 7, # Each pin of 9 becomes one simultaneous drive group, and each pin of # 2, # 4, # 6, and # 8 becomes another simultaneous drive group. In this case, the setting of the simultaneous pin setting register unit 62 is as shown in FIG. FIG. 23 is an explanatory diagram showing the simultaneous drive pins, and FIG. 24 is an explanatory diagram showing a setting example of the simultaneous pin setting register unit. In FIG. 24, when the bit is “0”, it is impacted alone.

以上のようにして同時駆動ピンのパターン(同時にインパクトする可能性のある組み合わせのパターン)が設定されると、この情報は印字時にインパクト実行部11に送出される。インパクト実行部11には、インパクトデータ取り出し部10がインパクトデータ保存部13から取り出したインパクトデータが送出されるが、インパクト実行部11では、同時駆動ピンパターンデータとインパクトデータに基づいて同時駆動される際の消磁電流を制御する。具体的には、複数ピンの同時駆動の場合はドライブ時間を長く延ばすことで、単独駆動の場合と同じ電流量に制御する。 As described above, when the pattern of the simultaneous drive pins (the combination pattern having the possibility of impact at the same time) is set, this information is sent to the impact execution unit 11 at the time of printing. The impact execution unit 11 is sent with the impact data extracted from the impact data storage unit 13 by the impact data extraction unit 10. The impact execution unit 11 is simultaneously driven based on the simultaneous drive pin pattern data and the impact data. To control the demagnetization current. Specifically, in the case of simultaneous driving of a plurality of pins, the current amount is controlled to be the same as that in the case of single driving by extending the drive time.

以上のように第5の実施の形態によれば、同時ピン設定レジスタ部62を設け、このレジスタ部62に同時駆動ピンパターンデータを設定するようにしたので、印字DPIと使用し得る印字ヘッドのピンレイアウトの組み合わせの全パターンを論理回路で構成する必要がなくとも、各ピンのインパクト力を正常に設定することが可能となる。パターンデータの設定も操作部や所定のコマンドデータににより行われる。 As described above, according to the fifth embodiment, the simultaneous pin setting register unit 62 is provided, and the simultaneous drive pin pattern data is set in the register unit 62. Therefore, the print head that can be used with the print DPI is used. Even if it is not necessary to configure all patterns of combinations of pin layouts with logic circuits, the impact force of each pin can be set normally. The pattern data is also set by the operation unit or predetermined command data.

次に第6の実施の形態を説明する。図25は第6の実施の形態の印刷装置を示す制御ブロック図である。図25において、第6の実施の形態の印刷装置71においては、印字ヘッド2に不揮発性メモリ72が設けられている。不揮発性メモリ72には、レイアウト情報格納部73、印字DPI情報格納部74および同時ピン設定レジスタ部75が設けられている。 Next, a sixth embodiment will be described. FIG. 25 is a control block diagram illustrating a printing apparatus according to the sixth embodiment. In FIG. 25, in the printing apparatus 71 according to the sixth embodiment, a nonvolatile memory 72 is provided in the print head 2. The non-volatile memory 72 is provided with a layout information storage unit 73, a print DPI information storage unit 74, and a simultaneous pin setting register unit 75.

レイアウト情報格納部73は、印字ヘッドピンのレイアウト情報を格納するもので、印字データ変換部9およびタイミングカウンタ部25に対して直接ピンレイアウト情報を送出することができる構成となっている。 The layout information storage unit 73 stores the layout information of the print head pins, and is configured to be able to send the pin layout information directly to the print data conversion unit 9 and the timing counter unit 25.

印字DPI情報格納部74は、印字DPI情報を格納しており、格納している印字DPI情報はタイミングカウンタ部25に送られる。また同時ピン設定レジスタ部75は、第5の実施の形態で説明した印字DPI毎の同時駆動ピンのパターン情報を格納しており、ピンパターン情報はインパクト実行部11に直接送出可能である。 The print DPI information storage unit 74 stores print DPI information, and the stored print DPI information is sent to the timing counter unit 25. The simultaneous pin setting register unit 75 stores the pattern information of the simultaneous drive pins for each print DPI described in the fifth embodiment, and the pin pattern information can be sent directly to the impact execution unit 11.

印字ヘッド2が装着されると、不揮発性メモリ72は制御LSI5の各部と接続される。上位装置15から印字データが送られると、印字データは印字データ保存部12に格納される。ここで印字データ内で指定されたDPIモードが印字DPI情報格納部74に入力される。次にレイアウト情報格納部73に格納された各ピンのレイアウト情報と、印字DPI情報格納部74のDPI情報がタイミングカウンタ部25に入力され、第1の実施の形態と同様に、タイミングカウンタ部25は、インパクトタイミングを生成するためのタイミングカウンタを生成する。 When the print head 2 is mounted, the nonvolatile memory 72 is connected to each part of the control LSI 5. When print data is sent from the host device 15, the print data is stored in the print data storage unit 12. Here, the DPI mode designated in the print data is input to the print DPI information storage unit 74. Next, the layout information of each pin stored in the layout information storage unit 73 and the DPI information of the print DPI information storage unit 74 are input to the timing counter unit 25, and the timing counter unit 25 as in the first embodiment. Generates a timing counter for generating impact timing.

レイアウト情報格納部73のピンレイアウト情報は印字データ変換部9にも入力される。印字データ変換部9は、印字データ保存部12に格納されている印字データを取り出し、第1の実施の形態と同様に、レイアウト情報格納部73からの情報に基づいて、印字データを印字ヘッド2のピンレイアウトに沿う形でデータ変換を行う。   The pin layout information in the layout information storage unit 73 is also input to the print data conversion unit 9. The print data conversion unit 9 takes out the print data stored in the print data storage unit 12 and outputs the print data to the print head 2 on the basis of the information from the layout information storage unit 73 as in the first embodiment. Data conversion is performed according to the pin layout.

変換された印字データは、インパクトデータ保存部13に格納され、インパクト割り込み信号が入力されると、インパクトデータ取り出し部10がインパクトデータ保存部13からインパクトデータを取り出し、次のインパクト割り込み信号が入力すると印字を行う。 The converted print data is stored in the impact data storage unit 13, and when an impact interrupt signal is input, the impact data extraction unit 10 extracts the impact data from the impact data storage unit 13, and the next impact interrupt signal is input. Perform printing.

また同時ピン設定レジスタ部75の情報は印字時にインパクト実行部11に送出される。インパクト実行部11には、インパクトデータ取り出し部10がインパクトデータ保存部13から取り出したインパクトデータが送出されるが、インパクト実行部11では、第5の実施の形態と同様に、同時駆動ピンパターンデータとインパクトデータに基づいて同時駆動される際の消磁電流を制御する。 Information in the simultaneous pin setting register unit 75 is sent to the impact execution unit 11 at the time of printing. Impact data extracted from the impact data storage unit 13 by the impact data extraction unit 10 is sent to the impact execution unit 11, and the impact execution unit 11 performs simultaneous drive pin pattern data as in the fifth embodiment. And demagnetizing current when simultaneously driven based on impact data.

以上のように第6の実施の形態によれば、使用する印字ヘッド2にレイアウト情報格納部73および印字DPI情報格納部74を設けたので、プログラム(ファームウェア処理)で印字ヘッド2のピンレイアウト情報および印字DPI情報を設定する必要がなくなる。また印字ヘッド2に同時ピン設定レジスタ部75を設けたので、プログラムで同時駆動ピンのパターン情報を生成、保存する必要がなくなる。例えば、プログラムがデバッグ終了した後での印字ヘッドレイアウト変更の際も、同時駆動ピンのパターンを判定し直すような作業が不要になる。 As described above, according to the sixth embodiment, the layout information storage unit 73 and the print DPI information storage unit 74 are provided in the print head 2 to be used, so that the pin layout information of the print head 2 can be obtained by a program (firmware processing). In addition, there is no need to set print DPI information. Further, since the simultaneous pin setting register unit 75 is provided in the print head 2, it is not necessary to generate and store the pattern information of the simultaneous drive pins by a program. For example, even when the print head layout is changed after the program has been debugged, it is not necessary to re-determine the pattern of the simultaneous drive pins.

次に第7の実施の形態を説明する。図26は第7の実施の形態の印刷装置を示す制御ブロック図である。図26において、第7の実施の形態の印刷装置81には、タイミングカウンタ部82、印字DPI分別部83およびタイミング選択部84が設けられている。タイミングカウンタ部82にはレイアウト情報設定レジスタA部22aおよびレイアウト情報設定レジスタB部22bの情報が入力される。 Next, a seventh embodiment will be described. FIG. 26 is a control block diagram illustrating a printing apparatus according to the seventh embodiment. In FIG. 26, a printing apparatus 81 according to the seventh embodiment includes a timing counter unit 82, a print DPI sorting unit 83, and a timing selection unit 84. Information of the layout information setting register A unit 22a and the layout information setting register B unit 22b is input to the timing counter unit 82.

タイミングカウンタ部82にはタイミングパターン生成1部82−1乃至タイミングパターン生成N部82−nが設けられている。タイミングパターン生成1部82−1は、(1/720インチ)×(1/1)単位の印字タイミングを生成し、タイミングパターン生成2部82−2は、(1/720インチ)×(1/2)単位の印字タイミングを生成し、タイミングパターン生成N部82−nは、(1/720インチ)×(1/n)単位の印字タイミングを生成する。 The timing counter unit 82 includes timing pattern generation 1 unit 82-1 to timing pattern generation N unit 82-n. The timing pattern generation 1 unit 82-1 generates a print timing in units of (1/720 inch) × (1/1), and the timing pattern generation 2 unit 82-2 generates (1/720 inch) × (1 / 2) A unit print timing is generated, and the timing pattern generation N unit 82-n generates a print timing of (1/720 inch) × (1 / n) unit.

印字DPI分別部83は、印字DPI設定レジスタ部23から送られる印字DPI情報に基づいて印字DPIを分別する。分別の種類としては、設定された印字DPIが「(1/720インチ)×(1/1)単位」、「(1/720インチ)×(1/2)単位」、・・・、「(1/720インチ)×(1/n)単位」のどれに該当するかを判別する。 The print DPI sorting unit 83 sorts the print DPI based on the print DPI information sent from the print DPI setting register unit 23. As the classification type, the set print DPI is “(1/720 inch) × (1/1) unit”, “(1/720 inch) × (1/2) unit”,. It is determined which one of “1/720 inch) × (1 / n) unit” is applicable.

例えば、120DPIの場合は、6/720インチなので、「(1/720インチ)×(1/1)単位」となり、96DPIの場合は、7.5/720インチ=15/(720×2)インチなので、「(1/720インチ)×(1/2)単位」となり、また108DPIの場合は、6.66/720インチ=20/(720×3)インチなので、「(1/720インチ)×(1/3)単位」となる。 For example, in the case of 120 DPI, since it is 6/720 inch, it becomes “(1/720 inch) × (1/1) unit”, and in the case of 96 DPI, 7.5 / 720 inch = 15 / (720 × 2) inch. Therefore, “(1/720 inch) × (1/2) unit”, and in the case of 108 DPI, since 6.66 / 720 inch = 20 / (720 × 3) inch, “(1/720 inch) × (1/3) unit ".

さらに、411.47DPIの場合は、1.75/720インチ=7/(720×4)インチなので、「(1/720インチ)×(1/4)単位」となり、200DPIの場合は、3.6/720インチ=18/(720×5)インチなので、「(1/720インチ)×(1/5)単位」となる。以上のように、「A/(720×N)インチ」の「A」が整数になるように、その印字DPIを分別する。 Further, in the case of 411.47 DPI, since 1.75 / 720 inch = 7 / (720 × 4) inch, it becomes “(1/720 inch) × (1/4) unit”, and in the case of 200 DPI, 3. Since 6/720 inch = 18 / (720 × 5) inch, “(1/720 inch) × (1/5) unit”. As described above, the print DPI is sorted so that “A” of “A / (720 × N) inch” becomes an integer.

タイミングカウンタ部82および印字DPI分別部83はタイミング選択部84に接続されている。タイミング選択部84では、印字DPI分別部83の分別結果に基づいて、タイミングカウンタ部82内のどのタイミングパターン生成部の出力タイミングを使用するかを選択する。 The timing counter unit 82 and the print DPI sorting unit 83 are connected to the timing selection unit 84. The timing selection unit 84 selects which timing pattern generation unit in the timing counter unit 82 is to use based on the classification result of the print DPI classification unit 83.

次に動作を説明する。ここでは主にタイミングカウンタ部82の動作について図27に従って説明する。図27は印字タイミングの生成を示すタイムチャートである。タイミングカウンタ部82のタイミングパターン生成1部82−1は、図27(a)に示す(1/720インチ)×(1/1)単位の印字タイミングを生成し、タイミングパターン生成2部82−2は、(1/720インチ)×(1/2)単位の印字タイミングを生成する。一般に、タイミングパターン生成N部82−nは、(1/720インチ)×(1/n)単位の印字タイミングを生成する。 Next, the operation will be described. Here, the operation of the timing counter unit 82 will be mainly described with reference to FIG. FIG. 27 is a time chart showing generation of print timing. The timing pattern generation 1 unit 82-1 of the timing counter unit 82 generates a printing timing of (1/720 inch) × (1/1) unit shown in FIG. 27A, and a timing pattern generation 2 unit 82-2. Generates print timing in units of (1/720 inch) × (1/2). In general, the timing pattern generation N unit 82-n generates print timing in units of (1/720 inch) × (1 / n).

したがって例えば、120DPIの場合は、6/720インチなので、図27(a)に示すように、タイミングパターン生成1部82−1で生成する「(1/720インチ)×(1/1)単位」のタイミングのみを使用して基本印字タイミングと各印字ピンの出力タイミングを生成する。また96DPIの場合は、7.5/720インチ=15/(720×2)インチなので、「(1/720インチ)×(1/2)単位」となり、図27(a)に示すように、タイミングパターン生成1部82−1で生成するタイミングと、タイミングパターン生成2部82−2で生成した「(1/720インチ)×(1/2)単位」のタイミングで基本印字タイミングと各ピンの印字タイミングを生成する。 Therefore, for example, in the case of 120 DPI, since it is 6/720 inch, as shown in FIG. 27 (a), “(1/720 inch) × (1/1) unit” generated by the timing pattern generation unit 82-1 The basic print timing and the output timing of each print pin are generated using only the timing of. In the case of 96 DPI, since 7.5 / 720 inch = 15 / (720 × 2) inch, it becomes “(1/720 inch) × (1/2) unit”, as shown in FIG. The basic print timing and the timing of each pin at the timing generated by the timing pattern generation 1 unit 82-1 and the timing “(1/720 inch) × (1/2) unit” generated by the timing pattern generation 2 unit 82-2. Generate print timing.

また108DPIの場合は、6.66/720インチ=20/(720×3)インチなので、「(1/720インチ)×(1/3)単位」となり、図27(b)に示すように、タイミングパターン生成1部82−1で生成するタイミングと、タイミングパターン生成2部82−2で生成するタイミングと、タイミングパターン生成3部82−3で生成した「(1/720インチ)×(1/3)単位」のタイミングで基本印字タイミングと各ピンの印字タイミングを生成する。また411.47DPIの場合は、1.75/720インチ=7/(720×4)インチなので、「(1/720インチ)×(1/4)単位」となり、図27(c)に示すように、タイミングパターン生成1部82−1で生成するタイミングと、タイミングパターン生成2部82−2で生成するタイミングと、タイミングパターン生成3部82−3で生成するタイミングと、タイミングパターン生成4部82−4で生成した「(1/720インチ)×(1/4)単位」のタイミングで基本印字タイミングと各ピンの印字タイミングを生成する。 In the case of 108 DPI, since 6.66 / 720 inch = 20 / (720 × 3) inch, it becomes “(1/720 inch) × (1/3) unit”, and as shown in FIG. Timing generated by the timing pattern generation 1 unit 82-1; timing generated by the timing pattern generation 2 unit 82-2; and “(1/720 inch) × (1 / 3) Generate basic printing timing and printing timing of each pin at the timing of “unit”. In the case of 411.47 DPI, since 1.75 / 720 inch = 7 / (720 × 4) inch, “(1/720 inch) × (1/4) unit” is obtained, as shown in FIG. In addition, the timing generated by the timing pattern generation 1 unit 82-1, the timing generated by the timing pattern generation 2 unit 82-2, the timing generated by the timing pattern generation 3 unit 82-3, and the timing pattern generation 4 unit 82 The basic print timing and the print timing of each pin are generated at the timing of “(1/720 inch) × (1/4) unit” generated in -4.

さらに200DPIの場合は、3.6/720インチ=18/(720×5)インチなので、「(1/720インチ)×(1/5)単位」となり、図27(d)に示すように、タイミングパターン生成1部82−1で生成するタイミングと、タイミングパターン生成2部82−2で生成するタイミングと、タイミングパターン生成3部82−3で生成するタイミングと、タイミングパターン生成4部82−4で生成するタイミングと、タイミングパターン生成5部で生成した「(1/720インチ)×(1/5)単位」のタイミングで基本印字タイミングと各ピンの印字タイミングを生成する。 Furthermore, in the case of 200 DPI, since 3.6 / 720 inch = 18 / (720 × 5) inch, it becomes “(1/720 inch) × (1/5) unit”, and as shown in FIG. Timing generated by the timing pattern generation 1 unit 82-1, timing generated by the timing pattern generation 2 unit 82-2, timing generated by the timing pattern generation 3 unit 82-3, and timing pattern generation 4 unit 82-4 The basic print timing and the print timing of each pin are generated at the timing generated in step 5 and the timing of “(1/720 inch) × (1/5) unit” generated by the timing pattern generation 5 section.

以上のように、「(1/720インチ)×(1/1)単位」の印字DPIではない印字DPIの場合も各ピンの印字タイミングを生成する。このように、第7の実施の形態では、基本となる(1/720)インチ単位のタイミングからその「1/1」、「1/2」、・・、「1/N」のタイミングを生成することにより、(1/720)インチ単位以外の印字DPIの印字タイミングを正確に生成することができる。 As described above, the print timing of each pin is also generated for a print DPI that is not a print DPI of “(1/720 inch) × (1/1) unit”. As described above, in the seventh embodiment, the timing of “1/1”, “1/2”,..., “1 / N” is generated from the basic (1/720) inch unit timing. By doing so, it is possible to accurately generate the print timing of the print DPI other than (1/720) inch units.

次に第8の実施の形態を説明する。図28は第8の実施の形態の印刷装置を示す制御ブロック図である。第8の実施の形態の印刷装置91には、ディレイ方向選択部92、ディレイ基本クロック選択部93、ディレイ量設定部94が設けられている。その他の構成は第7の実施の形態と同様である。 Next, an eighth embodiment will be described. FIG. 28 is a control block diagram illustrating a printing apparatus according to the eighth embodiment. The printing apparatus 91 according to the eighth embodiment includes a delay direction selection unit 92, a delay basic clock selection unit 93, and a delay amount setting unit 94. Other configurations are the same as those of the seventh embodiment.

印字ヘッド2をスペーシング移動させる駆動源としてステッピングモータ等のオープンループ制御を行う場合で、印字ヘッド2の移動速度にばらつきが発生することが予め分かっている場合や、加速印字または減速印字を行っている場合などは、速度のばらつきが発生する箇所や加速・減速を行っている箇所に印字位置ズレが発生することがある。その場合、印字品位を低下させないために印字位置の補正を行う。 When performing open-loop control such as a stepping motor as a drive source for moving the print head 2 and when it is known in advance that the moving speed of the print head 2 varies, acceleration printing or deceleration printing is performed. In such a case, a print position shift may occur at a position where speed variation occurs or where acceleration / deceleration is performed. In that case, the print position is corrected so as not to deteriorate the print quality.

例えば、加速印字を行っている箇所について、図29により説明する。図29において、実線aは制御カーブ(理論カーブ)であり、実線bは印字ヘッドの実際の速度を示す。図に示すように、制御カーブaと実測値bは一致していない。そのため例えば区間Aにおいては、理論速度が実測速度より大きいので、印字タイミングの間隔(印字DPIのドット間隔)は、正常な場合より狭くなる。また区間Bのように理論速度が実測速度より小さい場合は、印字タイミングの間隔は広くなる。 For example, a location where accelerated printing is performed will be described with reference to FIG. In FIG. 29, a solid line a is a control curve (theoretical curve), and a solid line b indicates an actual speed of the print head. As shown in the figure, the control curve a and the actual measurement value b do not match. Therefore, for example, in section A, the theoretical speed is larger than the actually measured speed, so the print timing interval (print DPI dot interval) is narrower than in the normal case. When the theoretical speed is smaller than the actually measured speed as in section B, the print timing interval is widened.

図30は印字領域とステッピングモータの速度の関係を示す説明図である。図30において、点線で囲む印字領域は、フォワード方向の印字時はステッピングモータの加速時の印字であり、リバース方向の印字時はステッピングモータの定速時の印字領域である。図29の上段は、図30の点線で囲んだ部分における印字タイミングの位置を示したものである。 FIG. 30 is an explanatory diagram showing the relationship between the printing area and the speed of the stepping motor. In FIG. 30, a print area surrounded by a dotted line is a print area when the stepping motor is accelerated when printing in the forward direction, and a print area when the stepping motor is at a constant speed when printing in the reverse direction. The upper part of FIG. 29 shows the position of the print timing in the part surrounded by the dotted line in FIG.

図29において、太線は印字タイミング位置を示し、上段の太線はフォワード方向移動時の印字タイミング位置で、下段の太線はリバース方向移動時の印字タイミング位置を示す。また矢印はフォワード時とリバース時の印字タイミングのズレ量を示す。図に示すように、加速時であるフォワード時は、定速時であるリバース時に対して印字タイミング位置が左側にずれる。 In FIG. 29, the thick line indicates the printing timing position, the upper thick line indicates the printing timing position when moving in the forward direction, and the lower thick line indicates the printing timing position when moving in the reverse direction. The arrow indicates the amount of deviation in printing timing between forward and reverse. As shown in the drawing, at the time of forward that is acceleration, the print timing position is shifted to the left side with respect to the time of reverse that is constant speed.

このように印字位置がずれる原因としては、印字ヘッドを移動させる駆動源としてステッピングモータ等のオープンループ制御を行っている場合は、ステッピングモータを制御するファームプログラムは、実際の印字ヘッドの挙動がどうであろうとその挙動を検出する手段を持っていないので、印字ヘッドの理論的な移動速度と実際の印字ヘッドの移動速度に違いが生じ、印字位置ズレが発生した場合でもそのズレを補正することができない。移動速度が違うと理論的な累積移動距離と実際の累積移動距離が異なってくるので、ズレを補正する必要がある。 The reason why the print position is shifted in this way is that when open loop control of a stepping motor or the like is performed as a drive source for moving the print head, the firm program for controlling the stepping motor does not show the actual behavior of the print head. However, since there is no means to detect the behavior, there is a difference between the theoretical movement speed of the print head and the actual movement speed of the print head, and even if a print position deviation occurs, the deviation should be corrected. I can't. If the moving speed is different, the theoretical cumulative moving distance and the actual cumulative moving distance will be different, so it is necessary to correct the deviation.

補正の一つの方法として、印字ズレ量から補正値を決定し、決定した補正値を適用する方法がある。例えば、図31に示すように、まず補正を適用しない状態で印字ズレ量δを測定し、測定したズレ量δ分を補正値として適用することにより、印字位置ずれをなくす方法である。図31に示す印字タイミング位置は図29に示した例と同じものである。 As one method of correction, there is a method of determining a correction value from the amount of print misalignment and applying the determined correction value. For example, as shown in FIG. 31, first, a printing misregistration amount δ is measured in a state where no correction is applied, and the measured misregistration amount δ is applied as a correction value to eliminate a printing position deviation. The print timing position shown in FIG. 31 is the same as the example shown in FIG.

この方法を適用した従来の補正方法においては、図32に示すように、ステッピングモータ制御部から(1/720)インチタイミングのみを受け取り、そのタイミングに対してディレイをかけることにより印字タイミング位置を補正するようにしていた。即ち、“+側”にディレイをかける場合は、印字タイミングにディレイをかけたい時間を加えたタイミングに設定していた。 In the conventional correction method to which this method is applied, as shown in FIG. 32, only the (1/720) inch timing is received from the stepping motor control unit, and the print timing position is corrected by delaying the timing. I was trying to do it. That is, when the delay is applied to the “+ side”, the print timing is set to a timing obtained by adding the time to be delayed.

ここで、ディレイ時間が(1/720)インチタイミングを超える場合は、印字タイミングの次の(1/720)インチタイミングに、(1/720)インチタイミングを超えないディレイ時間を加えるように設定していた。例えば、120DPIの場合で、ディレイ時間が(1/720)インチタイミングを100μsだけ超える場合は、((6+1)/720インチのタイミング)+(ディレイをかけたい時間(100μs))を印字タイミングとしている。 Here, when the delay time exceeds (1/720) inch timing, the delay time not exceeding (1/720) inch timing is added to the next (1/720) inch timing of the print timing. It was. For example, in the case of 120 DPI, if the delay time exceeds (1/720) inch timing by 100 μs, the print timing is ((6 + 1) / 720 inch timing) + (time to apply delay (100 μs)). .

また“−側”にディレイをかける場合は、印字タイミングの前の(1/720)インチタイミングにディレイをかけたい時間を加えたタイミングに設定していた。ここで、ディレイ時間が(1/720)インチタイミングを超える場合は、さらにその前の(1/720)インチタイミングに、(1/720)インチタイミングを超えないディレイ時間を加えるように設定していた。例えば、120DPIの場合で、ディレイ時間が(1/720)インチタイミングを150μsだけ超える場合は、((6−2)/720インチのタイミング)+(ディレイをかけたい時間(150μs))を印字タイミングとしている。 In addition, when the delay is applied to the “−” side, the timing is set to the (1/720) inch timing before the print timing plus the time to apply the delay. Here, when the delay time exceeds (1/720) inch timing, the delay time not exceeding (1/720) inch timing is added to the previous (1/720) inch timing. It was. For example, in the case of 120 DPI, if the delay time exceeds (1/720) inch timing by 150 μs, ((6-2) / 720 inch timing) + (time to delay (150 μs)) is the print timing. It is said.

しかしながら上記の従来の補正方法においては、“−側”にディレイをかけた場合に、ディレイ時間が(1/720)インチタイミングより大きい場合は、(1/720)インチタイミングがなくなるという問題が発生する。図32で説明すると、“−側”に(1/720)インチタイミングより大きいディレイをかけた場合、(4/720)インチタイミングの後で、(5/720)インチタイミング(点線で囲むタイミング)より先に印字タイミングが発生する。この場合、点線で囲む(5/720)インチタイミングがなくなり、このタイミングで印字すべきデータがリセットされるので印字できなくなり、脱ドットが発生するという問題が発生する。 However, in the above-described conventional correction method, when the delay is applied to the “−” side, if the delay time is longer than (1/720) inch timing, there is a problem that (1/720) inch timing is lost. To do. Referring to FIG. 32, when a delay larger than (1/720) inch timing is applied to the “− side”, (5/720) inch timing (timing surrounded by a dotted line) after (4/720) inch timing. The print timing occurs earlier. In this case, there is no (5/720) inch timing surrounded by a dotted line, and data to be printed is reset at this timing, so that printing cannot be performed, and a problem arises that dedotting occurs.

第8の実施の形態はこの脱ドットを発生させることなく印字位置ズレを補正することを図ったものである。図28において、図示しないステッピングモータ制御部から「(1/720)インチタイミング」を受け取るのではなく、「(1/720)インチ生成タイマ値」を受け取る。そして受け取ったタイマ値に対して、ディレイ方向選択部92、ディレイ基本クロック選択部93およびディレイ量設定部94にそれぞれの設定値を与えることによりディレイをかける。 In the eighth embodiment, the print position deviation is corrected without causing the dot removal. In FIG. 28, instead of receiving “(1/720) inch timing” from a stepping motor control unit (not shown), “(1/720) inch generation timer value” is received. The received timer value is delayed by giving respective set values to the delay direction selection unit 92, the delay basic clock selection unit 93, and the delay amount setting unit 94.

ディレイ方向選択部92には、“+側”にディレイをかけるのか、“−側”にディレイをかけるのかを選択し設定する。ディレイ基本クロック選択部93には、ディレイ量の最小単位(ディレイ設定値=1の場合に適用される量(時間))を“大”にするのか、あるいは“小”にするのかを選択し設定する。例えば、印字ヘッド2の移動速度が遅い場合に、最小単位を“小”にしてディレイ設定値(時間)=1と設定した場合には、進む程度が少なくて補正の効果が顕現しない場合がある。その場合には最小単位を“大”に設定することで補正の効果が現れるようにすることができる。また印字ヘッド2の移動速度が速い場合に、最小単位を“大”にしてディレイ設定値(時間)=1と設定した場合には、進む程度が大きすぎて補正の意味がなくなってしまう場合がある。その場合には最小単位を“小”に設定することで補正の効果が適正に現れるようにすることができる。またディレイ量設定部94には、かけたいディレイ量(時間)が設定される。 The delay direction selection unit 92 selects and sets whether to apply a delay to the “+ side” or to apply a delay to the “− side”. The basic delay clock selection unit 93 selects and sets whether the minimum unit of the delay amount (amount (time) applied when the delay setting value = 1) is “large” or “small”. To do. For example, when the moving speed of the print head 2 is slow, if the minimum unit is set to “small” and the delay set value (time) = 1 is set, there is a case where the degree of advance is small and the effect of correction is not manifested. . In that case, the effect of correction can be made to appear by setting the minimum unit to “large”. Further, when the moving speed of the print head 2 is fast, if the minimum unit is set to “Large” and the delay set value (time) = 1 is set, the degree of advance may be too large and the meaning of correction may be lost. is there. In that case, the effect of the correction can be appropriately exhibited by setting the minimum unit to “small”. The delay amount setting unit 94 is set with a delay amount (time) to be applied.

図33は第8の実施の形態の動作を示すタイミングチャートで、120DPIの場合を示す。図33において、1/180インチ周期のタイマレジスタ設定値からデクリメントカウントしてカウント値が“0”になった時点でタイミング信号を発生する。このタイミング信号の間隔は(1/720)インチタイミングに相当する。補正をしない場合は、(6/720)インチタイミングで印字タイミングとなる。 FIG. 33 is a timing chart showing the operation of the eighth embodiment, and shows the case of 120 DPI. In FIG. 33, the timing signal is generated when the count value becomes “0” after decrement counting from the timer register set value having a 1/180 inch cycle. The timing signal interval corresponds to (1/720) inch timing. If correction is not performed, the print timing is (6/720) inch timing.

図33に示すように、“+側”にディレイをかける場合、まずタイマカウンタで(1/720)インチのタイミングの分だけカウントした後、さらにディレイ分のタイマカウント値をカウントする。そしてそのカウントが終了した時点から、再び(1/720)インチのタイミングの分だけカウントし、さらにディレイ分のタイマカウント値をカウントする。これを6回繰り返すことにより、ディレイ分だけ間隔の長い印字タイミングを得る。 As shown in FIG. 33, when the delay is applied to the “+ side”, first, the timer counter counts by the timing of (1/720) inch, and then the timer count value for the delay is further counted. Then, from the point of time when the counting is completed, the counting is again performed for the timing of (1/720) inch, and the timer count value for the delay is counted. By repeating this six times, a print timing having a longer interval by the delay is obtained.

また“−側”にディレイをかける場合は、まずタイマカウンタで(1/720)インチのタイミングの分だけカウントした後、“−側”にディレイ分のタイマカウント値をカウントする。そしてそのカウントが終了した時点から、再び“+側”に(1/720)インチのタイミングの分だけカウントし、さらに“−側”にディレイ分のタイマカウント値をカウントする。これを6回繰り返すことにより、ディレイ分だけ間隔の短い印字タイミングを得る。このとき、基本となる(1/720)インチのタイミングを6回カウントするので、(1/720)インチタイミングの抜けがなくなることはない。 When delaying to the “− side”, first, the timer counter counts by the timing of (1/720) inch, and then the timer count value for the delay is counted to the “− side”. Then, from the point of time when the counting is completed, the timer counts again to the “+ side” by the timing of (1/720) inch, and further, the timer count value for the delay is counted to the “− side”. By repeating this six times, a printing timing having a short interval corresponding to the delay is obtained. At this time, the basic (1/720) inch timing is counted six times, so that the (1/720) inch timing is not lost.

以上のように第8の実施の形態によれば、基本となる(1/720)インチのタイミングのタイマ値をカウントすることにより、(1/720)インチタイミングの抜けがなくなることなく、印字位置ズレの補正をすることが可能となり、良好な印字品位を保つことが可能となる。 As described above, according to the eighth embodiment, by counting the timer value of the basic (1/720) inch timing, the print position is not lost without missing the (1/720) inch timing. It is possible to correct misalignment and maintain good print quality.

次に第9の実施の形態を説明する。図34は第9の実施の形態の印刷装置を示す制御ブロック図である。図34において、第9の実施の形態の印刷装置101には、第3の実施の形態と同様に、印字品位検出部42と印字品位調整部43が設けられている。印字品位検出部42は、ファームウェアで認識している印字ヘッド2の位置と実際の印字ヘッド2の位置との差異が所定の印字品位を満足する程度のものであるか否かを検出するもので、所定の印字品位を満足しないと判断した場合にはアラーム信号を印字品位調整部43に対して出力する。印字品位調整部43は、印字品位検出部42からアラーム信号を入力すると、印字品位を調整するための調整値を算出し、算出した調整値をディレイ方向選択部92、ディレイ基本クロック選択部93、ディレイ量設定部94に送る。その他の構成は前記第8の実施の形態と同様である。 Next, a ninth embodiment will be described. FIG. 34 is a control block diagram illustrating a printing apparatus according to the ninth embodiment. In FIG. 34, the printing apparatus 101 of the ninth embodiment is provided with a print quality detection unit 42 and a print quality adjustment unit 43, as in the third embodiment. The print quality detection unit 42 detects whether or not the difference between the position of the print head 2 recognized by the firmware and the actual position of the print head 2 satisfies a predetermined print quality. When it is determined that the predetermined print quality is not satisfied, an alarm signal is output to the print quality adjustment unit 43. When an alarm signal is input from the print quality detection unit 42, the print quality adjustment unit 43 calculates an adjustment value for adjusting the print quality, and the calculated adjustment value is used as a delay direction selection unit 92, a delay basic clock selection unit 93, This is sent to the delay amount setting unit 94. Other configurations are the same as those in the eighth embodiment.

印字品位検出部42は、図9に示す位置検出機構44に接続されている。印字ヘッド2をスペーシング移動させるスペーシングモータとしてステッピングモータを使用している場合において、印字ヘッド2の実際の位置を検出する機構を持たない場合は、ファームウェアで認識している印字ヘッド2の位置と実際の印字ヘッド2の位置が異なった場合、スペーシング方向の印字ズレを修正することができず、印字品位が悪くなる。   The print quality detection unit 42 is connected to a position detection mechanism 44 shown in FIG. When a stepping motor is used as a spacing motor that moves the print head 2 and there is no mechanism for detecting the actual position of the print head 2, the position of the print head 2 recognized by the firmware If the actual position of the print head 2 is different, the printing deviation in the spacing direction cannot be corrected, and the print quality deteriorates.

そこで上記のような印字ヘッド2の位置を検出する機構を設けることにより、実際の印字ヘッド2の位置を検出し、ファームウェアで認識している印字ヘッド2の位置と実際の印字ヘッド2の位置との差異を印字品位補正値として適用することが可能になる。具体的には、イニシャル動作時に、印字品位検出部42で、ファームウェアで認識している印字ヘッド2の位置と実際の印字ヘッド2の位置との差異を検出し、印字品位調整部43で、その差異をディレイ補正値としてディレイ方向選択部92、ディレイ基本クロック選択部93、ディレイ量設定部94にそれぞれ設定することにより、第8の実施の形態で説明したように、印字位置ズレの補正を行う。 Therefore, by providing a mechanism for detecting the position of the print head 2 as described above, the actual position of the print head 2 is detected, and the position of the print head 2 recognized by the firmware and the actual position of the print head 2 are determined. This difference can be applied as a print quality correction value. Specifically, during the initial operation, the print quality detection unit 42 detects the difference between the print head 2 position recognized by the firmware and the actual print head 2 position, and the print quality adjustment unit 43 detects the difference. The difference is set as a delay correction value in the delay direction selection unit 92, the delay basic clock selection unit 93, and the delay amount setting unit 94, thereby correcting the printing position deviation as described in the eighth embodiment. .

以上のように第9の実施の形態によれば、ファームウェアで認識している印字ヘッド2の位置と実際の印字ヘッド2の位置との差異を検出し、この差異からディレイ補正値を求めるようにしたので、第8の実施の形態の有する効果に加えて、ディレイ補正値の算出が容易になるという効果を奏する。   As described above, according to the ninth embodiment, the difference between the position of the print head 2 recognized by the firmware and the actual position of the print head 2 is detected, and the delay correction value is obtained from this difference. As a result, in addition to the effect of the eighth embodiment, the delay correction value can be easily calculated.

上記各実施の形態では、印刷装置としてドットインパクトプリンタを例にして説明したが、これに限らず、印字ヘッドがドット単位であるインクジェットプリンタにも本発明は適用可能である。   In each of the above-described embodiments, the dot impact printer has been described as an example of the printing apparatus. However, the present invention is not limited to this, and the present invention can also be applied to an inkjet printer having a print head in units of dots.

第1の実施の形態の印刷装置を示す制御ブロック図である。It is a control block diagram which shows the printing apparatus of 1st Embodiment. 第1の実施の形態の印字動作を示すフローチャートである。It is a flowchart which shows the printing operation of 1st Embodiment. ピンのレイアウト情報の設定を示す説明図である。It is explanatory drawing which shows the setting of the layout information of a pin. タイミングカウンタの生成を示す説明図である。It is explanatory drawing which shows the production | generation of a timing counter. インパクトタイミングのディレイ量の求め方を示す説明図である。It is explanatory drawing which shows how to obtain | require the delay amount of an impact timing. 第2の実施の形態の印刷装置を示す制御ブロック図である。It is a control block diagram which shows the printing apparatus of 2nd Embodiment. 第2の実施の形態の印字動作を示すフローチャートである。It is a flowchart which shows the printing operation of 2nd Embodiment. 第3の実施の形態の印刷装置を示す制御ブロック図である。It is a control block diagram which shows the printing apparatus of 3rd Embodiment. 位置検出機構を示す機構図である。It is a mechanism figure which shows a position detection mechanism. 第3の実施の形態の動作を示すフローチャートである。It is a flowchart which shows operation | movement of 3rd Embodiment. 第3の実施の形態の動作を示すフローチャートである。It is a flowchart which shows operation | movement of 3rd Embodiment. 印字ヘッドの位置ずれを検出するための説明図である。FIG. 6 is an explanatory diagram for detecting a positional deviation of a print head. 調整値によるピンレイアウトの補正を示す説明図である。It is explanatory drawing which shows correction | amendment of the pin layout by an adjustment value. 第4の実施の形態の印刷装置を示す制御ブロック図である。It is a control block diagram which shows the printing apparatus of 4th Embodiment. 第4の実施の形態の印字動作を示すフローチャートである。It is a flowchart which shows the printing operation of 4th Embodiment. 印字ヘッドピンレイアウト情報設定範囲の走査を示す動作説明図である。FIG. 10 is an operation explanatory diagram illustrating scanning of a print head pin layout information setting range. 印字ヘッドピンレイアウト情報設定範囲の走査を示す動作説明図である。FIG. 10 is an operation explanatory diagram illustrating scanning of a print head pin layout information setting range. 印字ヘッドピンレイアウト情報設定範囲の走査を示す動作説明図である。FIG. 10 is an operation explanatory diagram illustrating scanning of a print head pin layout information setting range. 印字ヘッドピンレイアウト情報設定範囲の走査を示す動作説明図である。FIG. 10 is an operation explanatory diagram illustrating scanning of a print head pin layout information setting range. 印字ヘッドピンレイアウト情報設定範囲の走査を示す動作説明図である。FIG. 10 is an operation explanatory diagram illustrating scanning of a print head pin layout information setting range. 印字ヘッドピンレイアウト情報設定範囲の走査を示す動作説明図である。FIG. 10 is an operation explanatory diagram illustrating scanning of a print head pin layout information setting range. 印字ヘッドピンレイアウト情報設定範囲の走査を示す動作説明図である。FIG. 10 is an operation explanatory diagram illustrating scanning of a print head pin layout information setting range. 印字ヘッドピンレイアウト情報設定範囲の走査を示す動作説明図である。FIG. 10 is an operation explanatory diagram illustrating scanning of a print head pin layout information setting range. 印字ヘッドピンレイアウト情報設定範囲の走査を示す説明図である。FIG. 10 is an explanatory diagram illustrating scanning of a print head pin layout information setting range. 印字ヘッドピンレイアウト情報設定範囲の走査を示す説明図である。FIG. 10 is an explanatory diagram illustrating scanning of a print head pin layout information setting range. 印字ヘッドピンレイアウト情報設定範囲の走査を示す説明図である。FIG. 10 is an explanatory diagram illustrating scanning of a print head pin layout information setting range. 9ピン系傾斜配列型のピンレイアウトを示す説明図である。It is explanatory drawing which shows the pin layout of 9 pin system inclination array type. 印字ヘッドピンレイアウト情報設定範囲の走査を示す説明図である。FIG. 10 is an explanatory diagram illustrating scanning of a print head pin layout information setting range. 印字ヘッドピンレイアウト情報設定範囲の走査を示す説明図である。FIG. 10 is an explanatory diagram illustrating scanning of a print head pin layout information setting range. 第5の実施の形態の印刷装置を示す制御ブロック図である。It is a control block diagram which shows the printing apparatus of 5th Embodiment. 同時駆動ピンを示す説明図である。It is explanatory drawing which shows a simultaneous drive pin. 同時ピン設定レジスタ部の設定例を示す説明図である。It is explanatory drawing which shows the example of a setting of a simultaneous pin setting register part. 第6の実施の形態の印刷装置を示す制御ブロック図である。It is a control block diagram which shows the printing apparatus of 6th Embodiment. 第7の実施の形態の印刷装置を示す制御ブロック図である。It is a control block diagram which shows the printing apparatus of 7th Embodiment. 印字タイミングの生成を示すタイムチャートである。It is a time chart which shows the production | generation of printing timing. 第8の実施の形態の印刷装置を示す制御ブロック図である。It is a control block diagram which shows the printing apparatus of 8th Embodiment. 印字位置ズレを示す説明図である。It is explanatory drawing which shows printing position shift. 印字領域とステッピングモータの速度の関係を示す説明図である。It is explanatory drawing which shows the relationship between the printing area | region and the speed of a stepping motor. 印字位置ズレ量を示す説明図である。It is explanatory drawing which shows the printing position shift amount. 従来の印字位置ズレ補正方法を示すタイムチャートである。It is a time chart which shows the conventional printing position shift correction method. 第8の実施の形態の動作を示すタイミングチャートである。It is a timing chart which shows operation | movement of 8th Embodiment. 第9の実施の形態の印刷装置を示す制御ブロック図である。It is a control block diagram which shows the printing apparatus of 9th Embodiment. 従来の印刷装置の制御ブロックを示すブロック図である。It is a block diagram which shows the control block of the conventional printing apparatus. 従来の印刷装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the conventional printing apparatus. 印字ヘッドのピンレイアウトを示す説明図である。It is explanatory drawing which shows the pin layout of a print head. ピンのグループ分けを示す説明図である。It is explanatory drawing which shows grouping of a pin. 印字データの変換を示す説明図である。It is explanatory drawing which shows conversion of print data. 従来のインパクトタイミングを示すタイムチャートである。It is a time chart which shows the conventional impact timing.

符号の説明Explanation of symbols

2 印字ヘッド
21、31、41、51、61、71、81,91、101 印刷装置
22 レイアウト情報設定レジスタ部
22a レイアウト情報設定レジスタA部
22b レイアウト情報設定レジスタB部
23 印字DPI設定レジスタ部
25、82 タイミングカウンタ部
32、72 不揮発性メモリ
42 印字品位検出部
43 印字品位調整部
62、75 同時ピン設定レジスタ部
73 レイアウト情報格納部
74 印字DPI情報格納部
83 印字DPI分別部
84 タイミング選択部
94 ディレイ量設定部
2 Print heads 21, 31, 41, 51, 61, 71, 81, 91, 101 Printing device 22 Layout information setting register unit 22a Layout information setting register A unit 22b Layout information setting register B unit 23 Print DPI setting register unit 25, 82 Timing counter unit 32, 72 Non-volatile memory 42 Print quality detection unit 43 Print quality adjustment unit 62, 75 Simultaneous pin setting register unit 73 Layout information storage unit 74 Print DPI information storage unit 83 Print DPI sorting unit 84 Timing selection unit 94 Delay Volume setting section

Claims (9)

印字ヘッドによりドット単位で印刷を行う印刷装置において、
使用する印字ヘッドが備える複数の印字素子のレイアウト情報を、前記印刷装置の操作部または上位装置から送信される所定のコマンドデータにより、印字素子毎に入力設定可能なレイアウト入力設定手段と、
前記レイアウト入力設定手段により入力設定された前記レイアウト情報に基づいて前記印字素子毎の印字すべきタイミングを生成するタイミング生成手段とを設けたことを特徴とする印刷装置。
In a printing device that prints in dot units with a print head,
Layout input setting means capable of inputting and setting layout information of a plurality of printing elements included in a printing head to be used for each printing element by predetermined command data transmitted from an operation unit of the printing apparatus or a host device ;
A printing apparatus comprising: a timing generation unit configured to generate a timing for printing for each printing element based on the layout information input and set by the layout input setting unit.
印字ヘッドのスペーシング方向の位置を検出する位置検出手段と、
前記位置検出手段により検出した印字ヘッドのスペーシング方向の実際の位置と、ファームウェア上で認識した印字ヘッドのスペーシング方向の位置との差異を検出する印字品位検出手段と、
前記印字品位検出手段により検出された差異に基づいて前記レイアウト入力設定手段に設定される前記レイアウト情報を調整する印字品位調整手段とを設けた請求項1記載の印刷装置。
Position detecting means for detecting the position of the print head in the spacing direction;
A print quality detection means for detecting a difference between an actual position in the spacing direction of the print head detected by the position detection means and a position in the spacing direction of the print head recognized on the firmware;
The printing apparatus according to claim 1, further comprising: a print quality adjustment unit that adjusts the layout information set in the layout input setting unit based on a difference detected by the print quality detection unit.
前記印字品位検出手段は、前記位置検出手段により検出した印字ヘッドのスペーシング方向の位置とファームウェア上で認識した印字ヘッドのスペーシング方向の位置との差異が印字品位を低下すると判断した場合にアラーム信号を前記印字品位調整手段に送出し、
前記印字品位調整手段は、前記印字品位検出手段から前記アラーム信号を受信した場合に、前記印字品位検出手段から送られた差異に基づいて前記レイアウト情報を調整する請求項記載の印刷装置。
The print quality detection means alarms when a difference between the print head spacing direction position detected by the position detection means and the print head spacing direction position recognized by the firmware lowers the print quality. Send a signal to the print quality adjustment means,
The printing apparatus according to claim 2 , wherein the print quality adjustment unit adjusts the layout information based on a difference sent from the print quality detection unit when the alarm signal is received from the print quality detection unit.
印字密度情報を入力設定する印字密度入力設定手段を有し、
前記レイアウト入力設定手段は、前記印字密度入力設定手段の印字密度情報に基づいてカラム単位で各印字素子のレイアウト情報を設定する第1のレイアウト設定手段と、前記印字密度入力設定手段の印字密度情報に基づいてカラム以下の単位で各印字素子のレイアウト情報を設定する第2のレイアウト設定手段とにより構成される請求項1記載の印刷装置。
Having print density input setting means for inputting and setting print density information;
The layout input setting means includes a first layout setting means for setting layout information of each printing element in units of columns based on the print density information of the print density input setting means, and the print density information of the print density input setting means. The printing apparatus according to claim 1, further comprising: a second layout setting unit that sets layout information of each printing element in units of columns or less based on the above.
使用する印字ヘッドが備える印字素子のレイアウト情報と印字密度情報に基づいて同時に駆動される複数の印字素子の組み合わせの情報を設定する同時印字素子情報設定手段を設けた請求項1記載の印刷装置。   The printing apparatus according to claim 1, further comprising a simultaneous printing element information setting unit configured to set information on a combination of a plurality of printing elements driven simultaneously based on layout information and printing density information of a printing element included in a printing head to be used. 前記レイアウト入力設定手段と、印字密度情報を入力設定する印字密度入力設定手段と、前記同時印字素子情報設定手段を印字ヘッドに設けた請求項記載の印刷装置。 6. The printing apparatus according to claim 5, wherein the layout input setting means, the print density input setting means for inputting and setting print density information, and the simultaneous printing element information setting means are provided in a print head. 前記タイミング生成手段は、基本印字タイミングで印字タイミングを生成する基本タイミング生成部と、基本印字タイミングの1/Nの印字タイミングを生成する複数の1/Nタイミング生成手段を有し、
前記印字密度入力設定手段の印字密度情報に基づいて、前記基本タイミング生成部または前記1/Nタイミング生成部のいずれかを選択するタイミング選択手段を有し、
基本タイミング生成部と1/Nタイミング生成部を組み合わせることにより、基本印字タイミングをN等分した印字密度の印字タイミングを得る請求項記載の印刷装置。
The timing generator includes a basic timing generator that generates a print timing at a basic print timing, and a plurality of 1 / N timing generators that generate a print timing that is 1 / N of the basic print timing.
Timing selection means for selecting either the basic timing generation unit or the 1 / N timing generation unit based on the print density information of the print density input setting unit;
The printing apparatus according to claim 4, wherein a printing timing having a printing density obtained by dividing the basic printing timing into N equal parts is obtained by combining the basic timing generation unit and the 1 / N timing generation unit.
ディレイ量を設定するディレイ量設定手段と、
基本印字タイミングに相当するカウント値と前記ディレイ量設定手段に設定されたディレイ量に装置するカウント値をカウントするカウント手段を設け、
前記カウント手段は、基本印字タイミングに相当するカウント値をカウントする度に前記ディレイ量に相当するカウント値をカウントすることにより印字密度に対応する印字タイミングを得る請求項記載の印刷装置。
A delay amount setting means for setting a delay amount;
A counting means for counting the count value corresponding to the basic print timing and the count value set in the delay amount set in the delay amount setting means;
8. The printing apparatus according to claim 7 , wherein the counting unit obtains a print timing corresponding to a print density by counting a count value corresponding to the delay amount every time a count value corresponding to a basic print timing is counted.
印字ヘッドのスペーシング方向の位置を検出する位置検出手段と、
前記位置検出手段により検出した印字ヘッドのスペーシング方向の実際の位置と、ファームウェア上で認識した印字ヘッドのスペーシング方向の位置との差異を検出する印字品位検出手段と、
前記印字品位検出手段により検出された差異に基づいて前記レイアウト入力設定手段に設定される前記レイアウト情報を調整する印字品位調整手段とを設けた請求項記載の印刷装置。
Position detecting means for detecting the position of the print head in the spacing direction;
A print quality detection means for detecting a difference between an actual position in the spacing direction of the print head detected by the position detection means and a position in the spacing direction of the print head recognized on the firmware;
The printing apparatus according to claim 8, further comprising: a print quality adjustment unit that adjusts the layout information set in the layout input setting unit based on the difference detected by the print quality detection unit.
JP2007164828A 2006-12-26 2007-06-22 Printing device Expired - Fee Related JP5166784B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007164828A JP5166784B2 (en) 2006-12-26 2007-06-22 Printing device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2006350662 2006-12-26
JP2006350662 2006-12-26
JP2007164828A JP5166784B2 (en) 2006-12-26 2007-06-22 Printing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2012235970A Division JP2013014147A (en) 2006-12-26 2012-10-25 Printer

Publications (2)

Publication Number Publication Date
JP2008179123A JP2008179123A (en) 2008-08-07
JP5166784B2 true JP5166784B2 (en) 2013-03-21

Family

ID=39723386

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2007164828A Expired - Fee Related JP5166784B2 (en) 2006-12-26 2007-06-22 Printing device
JP2012235970A Pending JP2013014147A (en) 2006-12-26 2012-10-25 Printer

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2012235970A Pending JP2013014147A (en) 2006-12-26 2012-10-25 Printer

Country Status (1)

Country Link
JP (2) JP5166784B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0299339A (en) * 1988-10-07 1990-04-11 Canon Inc Data recording apparatus
JP3277264B2 (en) * 1993-08-19 2002-04-22 沖電気工業株式会社 Dot print head and print control method thereof
JP2002001936A (en) * 2000-06-20 2002-01-08 Noritsu Koki Co Ltd Printer device
JP4484328B2 (en) * 2000-07-17 2010-06-16 東芝テック株式会社 Wire dot printer head and wire dot printer
JP4736475B2 (en) * 2005-03-03 2011-07-27 コニカミノルタホールディングス株式会社 Droplet discharge device

Also Published As

Publication number Publication date
JP2013014147A (en) 2013-01-24
JP2008179123A (en) 2008-08-07

Similar Documents

Publication Publication Date Title
US7628465B2 (en) Image recording apparatus and image recording method
US7810901B2 (en) Driving apparatus
GB2115353A (en) Hammer bank assemblies
JP5166784B2 (en) Printing device
WO2004022346A1 (en) Liquid ejecting device, computer system, and liquid ejecting method
JP4770256B2 (en) Recording head tilt correction method
US7524012B2 (en) Printing method, test pattern, method of producing test pattern, and printing apparatus
JP6836146B2 (en) Dot impact printer
JP3330342B2 (en) Dot printer and control method of dot printer
JP4604570B2 (en) Adjustment pattern forming method, adjustment pattern, printing method, and printing apparatus
JP2004202963A (en) Inkjet printer
JP3714422B2 (en) Inkjet printer
US10493771B2 (en) Dot impact printing head and printing apparatus
JP5076445B2 (en) Printing apparatus and printing control method therefor
JP2007015324A (en) Liquid discharging device and the liquid discharging method
KR100210353B1 (en) Precision printing control apparatus of printer
JP2007057453A (en) Positional information generation system, printer, and positional information generation method
JP2006096010A (en) Printer, printing method, program, and printing system
JPH07323609A (en) Image forming apparatus and method
JP5093416B2 (en) Liquid ejection device and liquid ejection method
JP2006110775A (en) Method for evaluating characteristic of liquid discharging head, and liquid discharging recorder
JP2004154947A (en) Image recorder
JP2006095761A (en) Printer, printing method, program, and printing system
JP2000127509A (en) Printing control device for dot line printer
JPH0911572A (en) Recording apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091207

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20110131

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120424

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120619

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121002

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121025

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121204

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121221

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151228

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5166784

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees