JP2868413B2 - Printer device - Google Patents

Printer device

Info

Publication number
JP2868413B2
JP2868413B2 JP6163531A JP16353194A JP2868413B2 JP 2868413 B2 JP2868413 B2 JP 2868413B2 JP 6163531 A JP6163531 A JP 6163531A JP 16353194 A JP16353194 A JP 16353194A JP 2868413 B2 JP2868413 B2 JP 2868413B2
Authority
JP
Japan
Prior art keywords
print
head
speed
printing
printer device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP6163531A
Other languages
Japanese (ja)
Other versions
JPH0825765A (en
Inventor
義治 池田
聡 由雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
PII EFU YUU KK
Original Assignee
PII EFU YUU KK
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 PII EFU YUU KK filed Critical PII EFU YUU KK
Priority to JP6163531A priority Critical patent/JP2868413B2/en
Publication of JPH0825765A publication Critical patent/JPH0825765A/en
Application granted granted Critical
Publication of JP2868413B2 publication Critical patent/JP2868413B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は,プリンタ装置,特に桁
方向に印字ヘッドを移動させながら印字を行うプリンタ
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer device, and more particularly to a printer device that performs printing while moving a print head in a digit direction.

【0002】[0002]

【従来の技術】インパクトドットプリンタ装置などの桁
方向に印字ヘッドを移動させながら印字を行うプリンタ
装置の印字動作の診断には,従来,主として次の方法が
採られていた。
2. Description of the Related Art Conventionally, the following methods have been mainly used for diagnosing a printing operation of a printer device such as an impact dot printer device which performs printing while moving a print head in a digit direction.

【0003】 印字ヘッドの実際の動きを目視によっ
て確認し,その場で診断する。 印字ヘッドの実際の動きをビデオ撮影しておき,後
刻一括して診断する。 ロジックアナライザを用いて,印字機構制御部や論
理部の解析を行う。
[0003] The actual movement of the print head is visually confirmed and diagnosed on the spot. The actual movement of the print head is video-recorded and diagnosed collectively later. The logic analyzer is used to analyze the printing mechanism control unit and the logic unit.

【0004】[0004]

【発明が解決しようとする課題】従来の印字動作の診断
方法のうちおよびの方法には,既に成された印刷結
果だけに基づいて診断が行われるので,正常に最適の印
字動作が行われていたかどうかを把握することが困難で
ある,という問題があった。
Among the conventional methods for diagnosing printing operations, the other methods perform diagnosis based on only the printing result already performed, so that the optimum printing operation is normally performed. There was a problem that it was difficult to ascertain whether or not it was.

【0005】また,前記の方法には,印字機構そのも
のの不良と,印字機構制御部や論理部の不良とを明確に
区別して診断することが困難である,という問題があっ
た。本発明は,これらの問題点を解決して,印字ヘッド
の移動軌跡を簡単に確認できるようにして,特別な測定
装置などを使用しなくとも印字動作の診断を容易に行え
るようにした,プリンタ装置,特に桁方向に印字ヘッド
を移動させながら印字を行うプリンタ装置を提供するこ
とを目的とする。
In addition, the above-described method has a problem that it is difficult to make a clear distinction between a failure in the printing mechanism itself and a failure in the printing mechanism control unit and the logic unit and diagnose the failure. The present invention solves these problems and makes it possible to easily confirm the movement trajectory of the print head, and to easily perform a diagnosis of a printing operation without using a special measuring device. It is an object of the present invention to provide a device, particularly a printer device that performs printing while moving a print head in a digit direction.

【0006】[0006]

【課題を解決するための手段】上記の目的を達成するた
めに,本発明は,次のように構成する。 (1)桁方向に印字ヘッドを移動させながら印字を行う
プリンタ装置において,ホストコンピュータから転送さ
れた印字データを格納する印字データ格納手段と,該印
字データ格納手段が保持する印字データを印字ライン単
位に展開し,その結果を保持するライン展開手段と,該
ライン展開手段が保持するデータに基づいて,印字ライ
ン単位に印字の開始位置および終了位置,並びに印字ヘ
ッドの速度を算出し,その結果を保持する開始/終了位
置・ヘッド速度算出・保持手段と,該開始/終了位置・
ヘッド速度算出・保持手段が保持するデータに基づい
て,印字ヘッドの移動軌跡を,速度情報と共に作成して
保持するヘッド移動軌跡作成・保持手段と,該ヘッド移
動軌跡作成・保持手段が保持するデータに基づいて,印
字ヘッドの移動軌跡を表示するヘッド移動軌跡表示手段
とを備えるように構成する。
In order to achieve the above object, the present invention is configured as follows. (1) In a printer device which performs printing while moving a print head in the digit direction, a print data storage means for storing print data transferred from a host computer, and print data held by the print data storage means in print line units. And a line developing means for storing the result, and a print start position and an end position, and a print head speed are calculated for each print line based on the data held by the line developing means. The start / end position to be held, the head speed calculation / holding means, and the start / end position
Head movement trajectory creation / holding means for creating and holding a movement trajectory of a print head along with speed information based on data held by the head speed calculation / holding means, and data held by the head movement trajectory creation / holding means And a head movement trajectory display means for displaying the movement trajectory of the print head based on the above.

【0007】(2)前記(1)において,ヘッド移動軌
跡表示手段として,プリンタ装置に内蔵された印字機構
を用い,印字ヘッドの移動軌跡をプリンタ用紙に印刷し
て表示するように構成する。
(2) In the above (1), a print mechanism built in the printer is used as the head movement locus display means, and the movement locus of the print head is printed and displayed on printer paper.

【0008】(3)前記(1)において,前記ヘッド移
動軌跡作成・保持手段が保持するデータをインタフェー
スを介してホストコンピュータへ転送し,ヘッド移動軌
跡表示手段として,ホストコンピュータ側のディスプレ
イを用い,該ディスプレイ上に印字ヘッドの移動軌跡を
表示するように構成する。
(3) In the above (1), the data held by the head movement locus creating / holding means is transferred to a host computer via an interface, and a display on the host computer side is used as the head movement locus display means. The moving track of the print head is displayed on the display.

【0009】(4)前記(2)または(3)において,
印字ヘッドの移動軌跡を,印字データが存在する印字部
と,印字データが存在しないスペース部とに区別して表
示するように構成する。
(4) In the above (2) or (3),
The movement trajectory of the print head is displayed so as to be distinguished between a print portion where print data exists and a space portion where print data does not exist.

【0010】(5)前記(2)または(3)において,
印字ヘッドの移動軌跡がプリンタ用紙の印字可能領域を
はみ出す場合,桁方向の幅を縮小して印字ヘッドの移動
軌跡を表示するように構成する。
(5) In the above (2) or (3),
When the movement locus of the print head extends outside the printable area of the printer paper, the width in the digit direction is reduced to display the movement locus of the print head.

【0011】(6)前記(2)または(3)において,
印字ヘッドの移動軌跡を,印字データが存在する印字部
と,印字データが存在しないスペース部とに区別して表
示すると共に,印字部におけるヘッド速度およびスペー
ス部におけるヘッド速度を合わせて表示するように構成
する。
(6) In the above (2) or (3),
The movement trajectory of the print head is displayed separately for the print section where print data exists and the space section where print data does not exist, and the head speed in the print section and the head speed in the space section are displayed together. I do.

【0012】図1は,本発明の基本構成を示す図であ
る。同図において,1は本発明に係るプリンタ装置,2
はMPU,3はROM,4は印字機構,5はRAM,6
は印字データ格納手段,7はライン展開手段,8は開始
/終了位置・ヘッド速度算出・保持手段,9はヘッド移
動軌跡作成・保持手段,10はインタフェース,11は
ホストコンピュータである。
FIG. 1 is a diagram showing a basic configuration of the present invention. In the figure, reference numeral 1 denotes a printer according to the present invention, 2
Is MPU, 3 is ROM, 4 is printing mechanism, 5 is RAM, 6
Is print data storage means, 7 is line development means, 8 is start / end position / head speed calculation / holding means, 9 is head movement trajectory creation / holding means, 10 is an interface, and 11 is a host computer.

【0013】MPU2は,プリンタ装置1の各部を制御
すると共に,インタフェース10を介してホストコンピ
ュータ11から転送された命令や印字データの処理を行
う。ROM3には,MPU2が実行する各種の命令が格
納されている。
The MPU 2 controls each part of the printer device 1 and processes commands and print data transferred from the host computer 11 via the interface 10. The ROM 3 stores various instructions executed by the MPU 2.

【0014】印字機構4は,実際に印字を行うメカニズ
ムであり,印字ヘッド,キャリアモータ,および改行モ
ータ,並びにそれらを制御するドライバ制御部などから
構成されている。
The printing mechanism 4 is a mechanism for actually performing printing, and includes a print head, a carrier motor, a line feed motor, and a driver control unit for controlling them.

【0015】RAM5は,MPU2が実行する各種の命
令やデータを格納しておく作業領域であり,本発明の特
徴を成す,印字データ格納手段6,ライン展開手段7,
開始/終了位置・ヘッド速度算出・保持手段8,および
ヘッド移動軌跡作成・保持手段9は,この領域に設定さ
れている。
The RAM 5 is a work area for storing various instructions and data to be executed by the MPU 2, and is a feature of the present invention.
The start / end position / head speed calculation / holding means 8 and the head movement trajectory creation / holding means 9 are set in this area.

【0016】[0016]

【作用】本発明の基本構成を示す図1を用いて,本発明
の作用を説明する。ホストコンピュータ11から転送さ
れた印字データは,印字データ格納手段6に格納され
る。
The operation of the present invention will be described with reference to FIG. 1 showing the basic configuration of the present invention. The print data transferred from the host computer 11 is stored in the print data storage 6.

【0017】印字データ格納手段6が格納している印字
データは,ライン展開手段7が印字ライン単位に展開
し,その結果を保持する。開始/終了位置・ヘッド速度
算出・保持手段8は,ライン展開手段7が保持するデー
タに基づいて,印字ライン単位に印字の開始位置および
終了位置,並びに印字ヘッドの速度を算出し,その結果
を保持する。
The print data stored in the print data storage means 6 is developed by the line developing means 7 in print line units, and the result is held. The start / end position / head speed calculation / holding unit 8 calculates the print start position and print end position and the print head speed for each print line based on the data held by the line developing unit 7, and calculates the result. Hold.

【0018】ヘッド移動軌跡作成・保持手段9は,開始
/終了位置・ヘッド速度算出・保持手段8が保持するデ
ータに基づいて,印字ヘッドの移動軌跡を,速度情報と
共に作成して保持する。
The head movement trajectory creating / holding means 9 creates and holds the movement trajectory of the print head together with the speed information based on the data held by the start / end position / head speed calculation / holding means 8.

【0019】印字ヘッドの移動軌跡の表示は,ヘッド移
動軌跡作成・保持手段9が保持するデータに基づいて,
ヘッド移動軌跡表示手段が行う。ヘッド移動軌跡表示手
段には,次の2つがある。すなわち, ヘッド移動軌跡表示手段として,プリンタ装置に内
蔵された印字機構4を用い,印字ヘッドの移動軌跡をプ
リンタ用紙に印刷して表示する。
The movement locus of the print head is displayed based on the data held by the head movement locus creating / holding means 9.
This is performed by the head movement trajectory display means. There are the following two head movement locus display means. That is, the print mechanism 4 built in the printer is used as the head movement path display means, and the movement path of the print head is printed on printer paper and displayed.

【0020】 ヘッド移動軌跡作成・保持手段9が保
持するデータをインタフェース10を介してホストコン
ピュータ11へ転送し,ヘッド移動軌跡表示手段とし
て,ホストコンピュータ11側のディスプレイを用い,
ディスプレイ上に印字ヘッドの移動軌跡を表示する。
The data held by the head movement trajectory creating / holding means 9 is transferred to the host computer 11 via the interface 10, and a display of the host computer 11 is used as the head movement trajectory display means.
The movement locus of the print head is displayed on the display.

【0021】以上のように,本発明では,印字ヘッドの
移動軌跡が,プリンタ用紙上あるいはディスプレイ上に
表示されるので,次の効果が実現する。 印字ヘッドの移動軌跡が具体的に分かるので,印字
動作が最適になっている否かを容易に確認することがで
きる。
As described above, according to the present invention, the movement locus of the print head is displayed on the printer paper or on the display, so that the following effects are realized. Since the movement trajectory of the print head is specifically known, it can be easily confirmed whether or not the printing operation is optimal.

【0022】 片方向印字であるか,両方向印字であ
るかが一目で分かる。 印字ヘッドが移動する際のスピードアップやスピー
ドダウンの変化が分かる。これにより,印字ヘッドが連
帳の縦横ミシン目やスプロケット近辺にどのような影響
を及ぼすかが分かる。
Whether the printing is one-way printing or two-way printing can be determined at a glance. Changes in speed up and speed down when the print head moves can be seen. This shows how the print head affects the vertical and horizontal perforations of the continuous form and the vicinity of the sprocket.

【0023】 実際に印字する以前に,印刷結果の良
否の予測ができるようになる。 印字異常が発生した場合,印字機構および印字機構
制御部の不良であるか,論理部の不良であるかの判別が
可能になる。
Before actual printing, it is possible to predict the quality of the printing result. When a printing error occurs, it is possible to determine whether the printing mechanism and the printing mechanism control unit are defective or the logic unit is defective.

【0024】[0024]

【実施例】図2は,本発明の一実施例構成を示す図であ
る。同図において,21は本発明に係るプリンタ装置,
22はMPU,23はROM,24は入出力ポート,2
5はドライバ制御部,26はオペレータパネル,27は
印字ヘッド,28はキャリアモータ,29は改行モー
タ,30はRAM,31はプリントバッファ,32は印
字バッファ,33は印字ブロックバッファ,34は速度
管理バッファ,35はヘッド移動軌跡バッファ,36は
インタフェース制御部,37はホストコンピュータであ
る。
FIG. 2 is a diagram showing the configuration of an embodiment of the present invention. In the figure, 21 is a printer device according to the present invention,
22 is an MPU, 23 is a ROM, 24 is an input / output port, 2
5 is a driver control unit, 26 is an operator panel, 27 is a print head, 28 is a carrier motor, 29 is a line feed motor, 30 is a RAM, 31 is a print buffer, 32 is a print buffer, 33 is a print block buffer, and 34 is speed management. A buffer, 35 is a head movement trajectory buffer, 36 is an interface control unit, and 37 is a host computer.

【0025】以下,図2を用いて,本発明の一実施例に
係るプリンタ装置の動作を説明する。まず,インタフェ
ース制御部36を介してホストコンピュータ37からコ
マンドを受信したMPU22が行う動作を説明する。
The operation of the printer according to one embodiment of the present invention will be described below with reference to FIG. First, an operation performed by the MPU 22 that has received a command from the host computer 37 via the interface control unit 36 will be described.

【0026】 コマンドの分析を行う。 分析の結果,印字データであれば,RAM30上
に,プリントバッファ31,印字バッファ32,および
印字ブロックバッファ33を作成する。各バッファは,
次のような内容を持っている。
The command is analyzed. As a result of the analysis, if the data is print data, a print buffer 31, a print buffer 32, and a print block buffer 33 are created on the RAM 30. Each buffer is
It has the following contents.

【0027】プリントバッファ31は,印字データを格
納し,ここで文字編集が行われる。印字バッファ32
は,プリントバッファ31に格納された印字データを印
字ライン単位に展開した印字データを保持する。
The print buffer 31 stores print data, where character editing is performed. Print buffer 32
Holds print data obtained by expanding the print data stored in the print buffer 31 in print line units.

【0028】印字ブロックバッファ33は,印字ライン
単位に展開した印字データの印字の開始位置と終了位置
とから成る位置情報,および印字ヘッドの速度情報を保
持する。
The print block buffer 33 holds position information including a print start position and an end position of print data expanded in print line units, and print head speed information.

【0029】コマンド分析の結果,文字修飾コマンドの
場合には,文字修飾に必要なフラグやレジスタのセット
を行う。コマンド分析の結果,印字起動コマンドの場合
には,印字を実行する。
As a result of the command analysis, in the case of a character modification command, flags and registers necessary for character modification are set. As a result of the command analysis, in the case of a print start command, printing is executed.

【0030】以上が,MPU22が行う動作である。次
に,プリンタ装置の動作を通常印字モード時およびヘッ
ド移動軌跡モード時に分けて説明する。
The operation performed by the MPU 22 has been described above. Next, the operation of the printer will be described separately for the normal printing mode and the head movement trajectory mode.

【0031】〔通常印字モード時の動作〕 MPU22が,インタフェース制御部36を介して
ホストコンピュータ37から,印字データを受信する。
[Operation in Normal Print Mode] The MPU 22 receives print data from the host computer 37 via the interface control unit 36.

【0032】 MPU22は,ホストコンピュータ3
7から転送されて来た印字データを,RAM30上のプ
リントバッファ31に格納する。 MPU22は,〜の動作を繰り返した後,印字
指令コマンドを受信すると,プリントバッファ31に格
納された印字データを基にして,文字編集を行う。プリ
ントバッファ31に格納された印字データを印字ライン
単位に展開し,印字バッファ32を作成する。
The MPU 22 is connected to the host computer 3
7 is stored in the print buffer 31 on the RAM 30. When the MPU 22 receives the print command command after repeating the above operations, the MPU 22 performs character editing based on the print data stored in the print buffer 31. The print data stored in the print buffer 31 is developed for each print line, and a print buffer 32 is created.

【0033】 ドライバ制御部25は,キャリアモー
タ28を停止待ちの状態にする。印字バッファ32が保
持する印字の開始位置と終了位置とから成る位置情報,
および印字ヘッドの速度情報を算出して印字ブロックバ
ッファ33を作成する。
The driver control unit 25 sets the carrier motor 28 in a state of waiting for a stop. Position information including a print start position and a print end position held by the print buffer 32,
Then, the printing block buffer 33 is created by calculating the speed information of the printing head.

【0034】 印字ブロックバッファ33が保持する
印字ライン単位に展開した印字データの印字の開始位置
情報と終了位置情報,および印字ヘッドの速度情報か
ら,1ライン分のヘッド速度制御情報を算出し,速度管
理バッファ34を作成する。
The head speed control information for one line is calculated from the print start position information and the end position information of the print data expanded in print line units held by the print block buffer 33 and the print head speed information. The management buffer 34 is created.

【0035】 ドライバ制御部25は,印字ヘッド2
7,キャリアモータ28,および改行モータ29などか
ら成る印字機構を起動して,1ラインの印字を実行す
る。 次ラインの印字のために,印字バッファ32,印字
ブロックバッファ33,および速度管理バッファ34を
クリアする。
The driver control unit 25 includes the print head 2
7. The printing mechanism including the carrier motor 28 and the line feed motor 29 is activated to execute one-line printing. The print buffer 32, print block buffer 33, and speed management buffer 34 are cleared for printing the next line.

【0036】 上記〜の動作を繰り返す。 〔ヘッド移動軌跡モード時の動作〕 MPU22が,オペレータパネル26から,または
インタフェース制御部36を介してホストコンピュータ
37から,ヘッド移動軌跡表示コマンドを受信する。
The above operations 1 to 5 are repeated. [Operation in Head Movement Trajectory Mode] The MPU 22 receives a head movement trajectory display command from the operator panel 26 or from the host computer 37 via the interface control unit 36.

【0037】 ヘッド移動軌跡表示コマンドを受信し
たMPU22は,ホストコンピュータ37から転送され
て来た印字データを,RAM30上のプリントバッファ
31に格納する。
The MPU 22 that has received the head movement locus display command stores the print data transferred from the host computer 37 in the print buffer 31 on the RAM 30.

【0038】 MPU22は,印字指令コマンドを受
信すると,プリントバッファ31に格納された印字デー
タを基にして,文字編集を行う。印字データは,例え
ば,「漢字」,「ANK」,および「イメージ」の3種
類に分けて簡略化する。
When receiving the print command command, the MPU 22 edits characters based on the print data stored in the print buffer 31. The print data is simplified by dividing it into, for example, three types of “kanji”, “ANK”, and “image”.

【0039】プリントバッファ31に格納された印字デ
ータを印字ライン単位に展開し,印字バッファ32を作
成する。 ドライバ制御部25は,キャリアモータ28を停止
待ちの状態にする。印字バッファ32が保持する印字の
開始位置と終了位置とから成る位置情報,および印字ヘ
ッドの速度情報を算出して印字ブロックバッファ33を
作成する。
The print data stored in the print buffer 31 is developed for each print line, and a print buffer 32 is created. The driver control unit 25 sets the carrier motor 28 in a state of waiting for a stop. The print block buffer 33 is created by calculating the position information including the print start position and the print end position held by the print buffer 32 and the print head speed information.

【0040】 印字ブロックバッファ33が保持する
印字ライン単位に展開した印字データの印字の開始位置
情報と終了位置情報,および印字ヘッドの速度情報か
ら,1ライン分のヘッド速度制御情報を算出し,速度管
理バッファ34を作成する。
The head speed control information for one line is calculated from the print start position information and the end position information of the print data expanded in print line units held by the print block buffer 33 and the print head speed information. The management buffer 34 is created.

【0041】 プリントバッファ31上の編集された
データを対象に,印字データが存在する印字部および印
字データの存在しないスペース部に印字ヘッド速度情報
を付加して,ヘッド移動軌跡バッファ35を作成する。
For the edited data on the print buffer 31, print head speed information is added to a print portion where print data exists and a space portion where print data does not exist, and a head movement trajectory buffer 35 is created.

【0042】 ヘッド移動軌跡バッファ35が保持す
るヘッド移動軌跡データのうちの1ライン分を印字する
ヘッド速度を決める速度管理バッファを作成する(これ
は,上記の速度管理バッファ34とは別のものであ
る)。
A speed management buffer that determines the head speed for printing one line of the head movement trajectory data held by the head movement trajectory buffer 35 is created (this is different from the speed management buffer 34 described above). is there).

【0043】 ドライバ制御部25は,印字ヘッド2
7,キャリアモータ28,および改行モータ29などか
ら成る印字機構を起動して,1ラインのヘッド移動軌跡
の印刷を実行する。
The driver control unit 25 controls the print head 2
7, a printing mechanism including the carrier motor 28 and the line feed motor 29 is activated to print one line of the head movement locus.

【0044】 次ラインの印字のために,印字バッフ
ァ32,印字ブロックバッファ33,および速度管理バ
ッファ34をクリアする。上記〜の動作を繰り返
す。
To print the next line, the print buffer 32, print block buffer 33, and speed management buffer 34 are cleared. The above-mentioned operations are repeated.

【0045】以上の説明では,においてヘッド移動軌
跡をプリンタ装置21が内蔵する印字機構を用いて印刷
する例を述べたが,のヘッド移動軌跡バッファ35が
保持するデータ,およびのヘッド移動軌跡データのう
ちの1ライン分を印字するヘッド速度を決める速度管理
バッファが保持するデータを,インタフェース制御部3
6を介してホストコンピュータ37に転送し,ホストコ
ンピュータ側のディスプレイ画面にヘッド移動軌跡を表
示させることもできる。
In the above description, an example in which the head movement locus is printed using the printing mechanism built in the printer device 21 has been described. However, the data held by the head movement locus buffer 35 and the head movement locus data The data stored in the speed management buffer for determining the head speed for printing one line is printed by the interface control unit 3.
6 to the host computer 37 to display the head movement locus on the display screen of the host computer.

【0046】次に,ヘッド速度の経時変化と軌跡モード
印刷との関係を示す図3を用いて,ヘッド移動軌跡の具
体的な印刷例を説明する。図3(a)は印刷例を示して
いる。すなわち,一例として,「漢字」「ANK」「T
AB(制御コード)」および「印字」という文字列を印
刷する例を示している。ただし,「TAB(制御コー
ド)」は,実際には印刷されない。
Next, a specific printing example of the head movement locus will be described with reference to FIG. 3 showing the relationship between the temporal change of the head speed and the locus mode printing. FIG. 3A shows a printing example. That is, as an example, “kanji”, “ANK”, “T
An example of printing character strings "AB (control code)" and "print" is shown. However, “TAB (control code)” is not actually printed.

【0047】図3(b)は,漢字,ANK,およびTA
Bの3種類のヘッド速度がある場合のヘッド速度の経時
変化およびヘッド移動軌跡を示している。時間軸より上
の曲線がヘッド速度の経時変化であり,下に示されてい
るものがヘッド移動軌跡である。ヘッド速度のうち,v
T はTAB速度,vA はANK速度,vK は漢字速度で
ある。図から分かるように,vT >vA >vK という関
係がある。
FIG. 3B shows kanji, ANK, and TA
FIG. 9 shows a temporal change of the head speed and a head movement locus when there are three types of head speeds B. FIG. The curve above the time axis is the change over time in the head speed, and the one shown below is the head movement trajectory. Of the head speed, v
T is TAB velocity, v A is ANK velocity, v K is a kanji speed. As can be seen, relation that v T> v A> v K .

【0048】ヘッド移動軌跡は,印字データが存在する
印字部は四角形で表示され,印字データが存在しないス
ペース部は直線で表示されている。また,印字部および
スペース部には,該当するヘッド速度が,TAB速度
(vT )はT,ANK速度(v A )はA,漢字速度(v
K )はKのように併せて表示されている。
The head movement locus includes print data.
The print area is displayed as a rectangle, indicating that there is no print data.
The pace part is indicated by a straight line. In addition, the printing section and
In the space, the corresponding head speed is the TAB speed
(VT) Is the T, ANK speed (v A) Is A, Kanji speed (v
K) Are also displayed as K.

【0049】図3(c)は,漢字,およびANKの2種
類のヘッド速度がある場合のヘッド速度の経時変化およ
びヘッド移動軌跡を示している。時間軸より上の曲線が
ヘッド速度の経時変化であり,下に示されているものが
ヘッド移動軌跡である。ヘッド速度のうち,vA はAN
K速度,vK は漢字速度である。図から分かるように,
A >vK という関係がある。
FIG. 3 (c) shows the temporal change of the head speed and the locus of the head movement when there are two types of head speeds of kanji and ANK. The curve above the time axis is the change over time in the head speed, and the one shown below is the head movement trajectory. Of the head speed, v A is AN
K velocity, v K is a kanji speed. As you can see from the figure,
relationship that v A> v K.

【0050】ヘッド移動軌跡は,印字データが存在する
印字部は四角形で表示され,印字データが存在しないス
ペース部は直線で表示されている。また,印字部および
スペース部には,該当するヘッド速度が,ANK速度
(vA )はA,漢字速度(vK)はKのように併せて表
示されている。
The head movement trajectory is indicated by a square in a print portion where print data exists, and a straight line in a space portion where no print data exists. In the printing portion and the space portion, the corresponding head speed is displayed together with the ANK speed (v A ) as A, and the kanji speed (v K ) as K.

【0051】図3(d)は,軌跡モード印刷の場合のヘ
ッド速度の経時変化を示している。同図から分かるよう
に,ヘッド移動軌跡を印刷する場合のヘッド速度は,一
定で,漢字速度(vK )またはANK速度(vA )に設
定される。この理由は,ヘッド移動軌跡印刷では実際に
漢字やANKを印字するのではなく,印字データが存在
する印字部を表す四角形および印字データが存在しない
スペース部を表す直線を印刷するだけだからである。
FIG. 3D shows a temporal change of the head speed in the case of the locus mode printing. As can be seen from the figure, the head speed when printing the head movement trajectory is constant and set to the kanji speed (v K ) or the ANK speed (v A ). The reason for this is that in printing the head movement trajectory, a kanji or ANK is not actually printed, but a rectangle representing a print portion where print data exists and a straight line representing a space portion where print data does not exist are printed.

【0052】次に,ヘッド移動軌跡印刷モードの例を示
す図4を用いて,本発明を実施することにより得られる
ヘッド移動軌跡印刷の具体例を説明する。図4(a)
は,印字部とスペース部とを区別してヘッド移動軌跡を
印刷するモードを示している。左側には実際の印字例が
示されており,右側にはヘッド移動軌跡印刷例が示され
ている。同図から分かるように,ヘッド移動軌跡は,印
字データが存在する印字部は四角形で表示され,印字デ
ータが存在しないスペース部は直線で表示されている。
Next, a specific example of head movement locus printing obtained by implementing the present invention will be described with reference to FIG. 4 showing an example of a head movement locus printing mode. FIG. 4 (a)
Indicates a mode in which the head movement trajectory is printed while distinguishing between the printing section and the space section. An actual print example is shown on the left side, and a head movement locus print example is shown on the right side. As can be seen from the figure, the head movement trajectory is represented by a square in a print portion where print data exists, and a straight line in a space portion where no print data exists.

【0053】図4(b)は,ヘッド移動軌跡を縮小して
印刷するモードを示している。左側には実際の印字例が
示されており,右側にはヘッド移動軌跡印刷例が示され
ている。同図から分かるように,左側に示す実際の印字
例では,点線で示すように印字ヘッドがプリンタ用紙の
有効印刷領域を桁方向にはみ出して移動している。この
ような印字は不適当であるので,このことを明示するた
めに,ヘッド移動軌跡印刷は桁方向を縮小して行う。し
たがって,印字データが存在する印字部を表す四角形は
桁方向に縮小されて表示され,印字データが存在しない
スペース部を表す直線は桁方向に縮小され,短く表示さ
れる。
FIG. 4B shows a mode in which printing is performed with the head movement locus reduced. An actual print example is shown on the left side, and a head movement locus print example is shown on the right side. As can be seen from the figure, in the actual print example shown on the left side, the print head moves out of the effective print area of the printer paper in the digit direction as shown by the dotted line. Since such printing is inappropriate, printing of the head movement trajectory is performed with the digit direction reduced in order to clearly show this fact. Therefore, the rectangle representing the print portion where the print data exists is reduced in the digit direction and displayed, and the straight line representing the space portion where the print data does not exist is reduced in the digit direction and displayed short.

【0054】図4(c)は,印字部およびスペース部の
各部におけるヘッド速度を記録するモードを示してい
る。上側には実際の印字例が示されており,下側にはヘ
ッド移動軌跡印刷例が示されている。同図から分かるよ
うに,ヘッド移動軌跡は,印字データが存在する印字部
は四角形で表示され,印字データが存在しないスペース
部は直線で表示されている。そして,印字部を表す四角
形の中およびスペース部を表す直線の該当する位置に,
TAB速度を表すT,ANK速度を表すA,漢字速度を
表すKが表示されている。
FIG. 4C shows a mode for recording the head speed in each of the printing section and the space section. The upper part shows an actual print example, and the lower part shows a print example of head movement locus. As can be seen from the figure, the head movement trajectory is represented by a square in a print portion where print data exists, and a straight line in a space portion where no print data exists. Then, in the corresponding position of the square representing the print part and the straight line representing the space part,
T representing TAB speed, A representing ANK speed, and K representing Kanji speed are displayed.

【0055】以上,各種のモードを用いてヘッド移動軌
跡を印刷する例を説明したが,図2に示す本発明の一実
施例に係るプリンタ装置において,ヘッド移動軌跡バッ
ファ35が保持するデータ,およびヘッド移動軌跡デー
タのうちの1ライン分を印字するヘッド速度を決める速
度管理バッファが保持するデータを,インタフェース制
御部36を介してホストコンピュータ37に転送し,ホ
ストコンピュータ側のディスプレイ画面に,図4
(a),(b),および(c)に示したものと同じヘッ
ド移動軌跡を表示させることができる。こうすることに
より,ホストコンピュータ側でプリンタ装置の診断を行
うことが可能になる。
The example of printing the head movement locus using various modes has been described above. In the printer apparatus according to the embodiment of the present invention shown in FIG. The data stored in the speed management buffer that determines the head speed for printing one line of the head movement trajectory data is transferred to the host computer 37 via the interface control unit 36, and is displayed on the display screen of the host computer as shown in FIG.
The same head movement locus as that shown in (a), (b), and (c) can be displayed. This makes it possible for the host computer to diagnose the printer device.

【0056】[0056]

【発明の効果】本発明によれば,プリンタ装置,特に桁
方向に印字ヘッドを移動させながら印字を行うプリンタ
装置において,次の効果が得られる。
According to the present invention, the following effects can be obtained in a printer device, particularly in a printer device which performs printing while moving a print head in the digit direction.

【0057】 印字ヘッドの移動軌跡が具体的に分か
るので,印字動作が最適になっている否かを容易に確認
することができる。 片方向印字であるか,両方向印字であるかが一目で
分かる。
Since the movement locus of the print head is specifically known, it can be easily confirmed whether or not the printing operation is optimal. At a glance, it can be determined whether the printing is one-way printing or two-way printing.

【0058】 印字ヘッドが移動する際のスピードア
ップやスピードダウンの変化が分かる。これにより,印
字ヘッドが連帳の縦横ミシン目やスプロケット近辺にど
のような影響を及ぼすかが分かる。
The change in speed-up or speed-down when the print head moves can be seen. This shows how the print head affects the vertical and horizontal perforations of the continuous form and the vicinity of the sprocket.

【0059】 実際に印字する以前に,印刷結果の良
否の予測ができるようになる。 印字異常が発生した場合,印字機構および印字機構
制御部の不良であるか,論理部の不良であるかの判別が
可能になる。
Before actual printing, it is possible to predict the quality of the printing result. When a printing error occurs, it is possible to determine whether the printing mechanism and the printing mechanism control unit are defective or the logic unit is defective.

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

【図1】本発明の基本構成を示す図である。FIG. 1 is a diagram showing a basic configuration of the present invention.

【図2】本発明の一実施例構成を示す図である。FIG. 2 is a diagram showing a configuration of an embodiment of the present invention.

【図3】ヘッド速度の経時変化と軌跡モード印刷との関
係を示す図である。
FIG. 3 is a diagram illustrating a relationship between a temporal change of a head speed and trajectory mode printing.

【図4】ヘッド移動軌跡印刷モードの例を示す図であ
る。
FIG. 4 is a diagram illustrating an example of a head movement locus print mode.

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

1 プリンタ装置 2 MPU 3 ROM 4 印字機構 5 RAM 6 印字データ格納手段 7 ライン展開手段 8 開始/終了位置・ヘッド速度算出・保持手段 9 ヘッド移動軌跡作成・保持手段 10 インタフェース 11 ホストコンピュータ DESCRIPTION OF SYMBOLS 1 Printer apparatus 2 MPU 3 ROM 4 Printing mechanism 5 RAM 6 Print data storage means 7 Line development means 8 Start / end position / head speed calculation / holding means 9 Head movement locus creation / holding means 10 Interface 11 Host computer

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) B41J 29/42 B41J 19/18 B41J 29/46 ──────────────────────────────────────────────────続 き Continued on the front page (58) Fields surveyed (Int.Cl. 6 , DB name) B41J 29/42 B41J 19/18 B41J 29/46

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 桁方向に印字ヘッドを移動させながら印
字を行うプリンタ装置において,ホストコンピュータか
ら転送された印字データを格納する印字データ格納手段
と,該印字データ格納手段が保持する印字データを印字
ライン単位に展開し,その結果を保持するライン展開手
段と,該ライン展開手段が保持するデータに基づいて,
印字ライン単位に印字の開始位置および終了位置,並び
に印字ヘッドの速度を算出し,その結果を保持する開始
/終了位置・ヘッド速度算出・保持手段と,該開始/終
了位置・ヘッド速度算出・保持手段が保持するデータに
基づいて,印字ヘッドの移動軌跡を,速度情報と共に作
成して保持するヘッド移動軌跡作成・保持手段と,該ヘ
ッド移動軌跡作成・保持手段が保持するデータに基づい
て,印字ヘッドの移動軌跡を表示するヘッド移動軌跡表
示手段とを備えたことを特徴とするプリンタ装置。
In a printer device for performing printing while moving a print head in a digit direction, a print data storage means for storing print data transferred from a host computer, and print data stored in the print data storage means are printed. Based on line expansion means for expanding the data in line units and holding the results, and data held by the line expansion means,
Start / end position / head speed calculation / holding means for calculating print start position and end position and print head speed for each print line, and holding the results, and start / end position / head speed calculation / hold A head movement trajectory creating / holding means for creating and holding a movement trajectory of a print head along with speed information based on data held by the means, and a printing operation based on data held by the head movement trajectory creation / holding means; A printer device comprising: a head movement trajectory display unit for displaying a head movement trajectory.
【請求項2】 請求項1において,ヘッド移動軌跡表示
手段として,プリンタ装置に内蔵された印字機構を用
い,印字ヘッドの移動軌跡をプリンタ用紙に印刷して表
示することを特徴とするプリンタ装置。
2. The printer device according to claim 1, wherein a print mechanism incorporated in the printer device is used as head movement trace display means, and the movement trace of the print head is printed on printer paper and displayed.
【請求項3】 請求項1において,前記ヘッド移動軌跡
作成・保持手段が保持するデータをインタフェースを介
してホストコンピュータへ転送し,ヘッド移動軌跡表示
手段として,ホストコンピュータ側のディスプレイを用
い,該ディスプレイ上に印字ヘッドの移動軌跡を表示す
ることを特徴とするプリンタ装置。
3. The head moving trajectory creating / holding means according to claim 1, wherein the data held by said head moving trajectory creating / holding means is transferred to a host computer via an interface, and a display of the host computer is used as the head moving trajectory display means. A printer device for displaying a movement locus of a print head on the top.
【請求項4】 請求項2または3において,印字ヘッド
の移動軌跡を,印字データが存在する印字部と,印字デ
ータが存在しないスペース部とに区別して表示すること
を特徴とするプリンタ装置。
4. The printer device according to claim 2, wherein the movement trajectory of the print head is displayed separately in a print portion where print data exists and a space portion where print data does not exist.
【請求項5】 請求項2または3において,印字ヘッド
の移動軌跡がプリンタ用紙の印字可能領域をはみ出す場
合,桁方向の幅を縮小して印字ヘッドの移動軌跡を表示
することを特徴とするプリンタ装置。
5. The printer according to claim 2, wherein, when the movement locus of the print head extends beyond the printable area of the printer paper, the width in the digit direction is reduced to display the movement locus of the print head. apparatus.
【請求項6】 請求項2または3において,印字ヘッド
の移動軌跡を,印字データが存在する印字部と,印字デ
ータが存在しないスペース部とに区別して表示すると共
に,印字部におけるヘッド速度およびスペース部におけ
るヘッド速度を合わせて表示することを特徴とするプリ
ンタ装置。
6. A print head according to claim 2, wherein the movement trajectory of the print head is displayed separately in a print portion where print data exists and a space portion where print data does not exist, and the head speed and space in the print portion are displayed. A printer device for displaying the head speed in a unit in accordance with the head speed.
JP6163531A 1994-07-15 1994-07-15 Printer device Expired - Lifetime JP2868413B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6163531A JP2868413B2 (en) 1994-07-15 1994-07-15 Printer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6163531A JP2868413B2 (en) 1994-07-15 1994-07-15 Printer device

Publications (2)

Publication Number Publication Date
JPH0825765A JPH0825765A (en) 1996-01-30
JP2868413B2 true JP2868413B2 (en) 1999-03-10

Family

ID=15775651

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6163531A Expired - Lifetime JP2868413B2 (en) 1994-07-15 1994-07-15 Printer device

Country Status (1)

Country Link
JP (1) JP2868413B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100420603B1 (en) * 1997-05-24 2004-04-21 삼성전자주식회사 Device for controlling printer engine and method for displaying information on printer engine

Also Published As

Publication number Publication date
JPH0825765A (en) 1996-01-30

Similar Documents

Publication Publication Date Title
KR100516613B1 (en) Character printer
JP2868413B2 (en) Printer device
JPS6118033A (en) Print processor
JPH07319868A (en) Text editing processor
JPH08160934A (en) Character information processor
JPS63128972A (en) Recorder
JP3098632B2 (en) Print image display apparatus and method, and tape printing apparatus
JPH0647290B2 (en) Printer
EP0268470B1 (en) Character erasable printing apparatus
JP2943929B2 (en) Character processor
JPS609316B2 (en) printer device
JPH0315584A (en) Recording apparatus
JPH09263018A (en) Apparatus for forming and printing document
JPH02194986A (en) Recorder
JPS61280979A (en) Ribbon control system
JP2001096810A (en) Printing apparatus, control method thereof and recording medium
JPS63131259A (en) Data processor
JPH06126991A (en) Recording method and device
JPH04341878A (en) Recording method and device
JPS6387274A (en) Dot matrix printer
JPS63141779A (en) Printer
JPH06219018A (en) Printer
JPH05193202A (en) Printer
JPH0683429A (en) Tool path display device
JPH04103381A (en) Document editing device