JPS62146644A - Serial dot printer - Google Patents

Serial dot printer

Info

Publication number
JPS62146644A
JPS62146644A JP28771385A JP28771385A JPS62146644A JP S62146644 A JPS62146644 A JP S62146644A JP 28771385 A JP28771385 A JP 28771385A JP 28771385 A JP28771385 A JP 28771385A JP S62146644 A JPS62146644 A JP S62146644A
Authority
JP
Japan
Prior art keywords
printing
control
dot
data
print head
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP28771385A
Other languages
Japanese (ja)
Inventor
Tetsuo Okuhara
奥原 哲雄
Hisao Sugawara
菅原 尚雄
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP28771385A priority Critical patent/JPS62146644A/en
Publication of JPS62146644A publication Critical patent/JPS62146644A/en
Pending legal-status Critical Current

Links

Landscapes

  • Impact Printers (AREA)
  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To make the mounting of the printing head of a different dot pitch possible, by a method wherein the dot pitch of a printing head is detected and printing control parameters such as a printing data buffer size, a dot line number, a carrier travelling velocity, etc. are altered. CONSTITUTION:The printing data and the control code from a higher order apparatus 24 are received at an input processor 18 and the printing data is developed in a printing head drive pattern via a character generator 19 to be stored in a line buffer 4. When the control code becoming an initializer for printing is received, or otherwise the filling of an entire line buffer is detected, a motor control 22 and a printing head control 23 are started by adding the printing start position, an end position, and a line feed data for executing printing. Thereby, the printing head control 23 successively takes out the data of the line buffer 4 synchronizing with the rotation of a carrier motor 13 and outputs it to a printing head 12. A printing control 20 waits until the printing is accomplished and when completed, it starts the input processor 18 up again. By the repetition of above-mentioned operation, the printing is continued.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は印字ヘッドにより行単位の印字を行ういわゆる
シリアルドツトプリンタ(以下、単に「プリンタ」とい
う)に関し、特にドツトピッチの異なる印字ヘッドを実
装可能としたプリンタに関するものである。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a so-called serial dot printer (hereinafter simply referred to as a "printer") that performs line-by-line printing using a print head. It is related to printers.

〔発明の背景〕[Background of the invention]

従来から、1個の印字ヘッドを用いて、キャリア速度と
印字ヘッドの駆動タイミングを変化させることにより、
横方向(印字ヘッド移動方向)のドツトピッチを変化さ
せ、任意のドツトピッチを作り出し、拡大または縮小印
字を行うプリンタは、例えば、特開昭58−6’206
8号公報等にも開示されている如く、良く知られている
Conventionally, by using one print head and changing the carrier speed and print head drive timing,
A printer that changes the dot pitch in the horizontal direction (print head movement direction) to create an arbitrary dot pitch and prints enlarged or reduced printing is disclosed in, for example, Japanese Patent Laid-Open No. 58-6'206.
This is well known as disclosed in Publication No. 8 and the like.

しかしながら、これと直角の方向、すなわち縦方向(印
字ヘッド移動方向と直角の方向)のドツトピッチを変化
させ、任意のドツトピッチを作り出す技術は知られてい
なかった。これは、縦方向のドツトピッチは、本質的に
は、印字ヘッドの物理的な寸法によって決まるため、こ
れを制御することができないという理由によるものであ
るが、こ九では、自由な文字デザインの印字ができない
という重大な問題があった。
However, there has been no known technique for creating an arbitrary dot pitch by changing the dot pitch in a direction perpendicular to this, that is, in the vertical direction (direction perpendicular to the print head movement direction). This is because the vertical dot pitch is essentially determined by the physical dimensions of the print head and cannot be controlled. There was a serious problem that it was not possible.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、□従来のプリンタにおける上述の如き
問題を解消し、ドツトピッチの異なる複数の印字ヘッド
の使用を可能にして、縦横比を白山に選択できるように
したプリンタを提供することにある。
An object of the present invention is to provide a printer that eliminates the above-mentioned problems with conventional printers, makes it possible to use a plurality of print heads with different dot pitches, and allows the aspect ratio to be freely selected. .

〔発明の概要〕[Summary of the invention]

本発明の上記目的は、印字ヘッドにより行単位に印字を
行うプリンタにおいて、印字ヘッドのドツトピッチを検
知する手段と、該検知手段からの信号により印字データ
バッファサイズ、文字を構成するドツト列数、キャリヤ
走行速度等の印字制御パラメータを変更する手段とを設
け、ドツトピッチの異なる印字ヘッドを実装可能とした
ことを特徴とするプリンタによって達成される。
The above-mentioned object of the present invention is to provide a means for detecting the dot pitch of the print head in a printer that prints line by line using the print head, and to detect the print data buffer size, the number of dot rows constituting a character, and the carrier number based on a signal from the detection means. This is achieved by a printer characterized in that it is equipped with means for changing print control parameters such as running speed, and is capable of mounting print heads with different dot pitches.

以下、本発明の実施例を図面に基づいて詳細に説明する
Embodiments of the present invention will be described in detail below with reference to the drawings.

〔発明の実施例〕[Embodiments of the invention]

第1図は本発明の一実施例を示すハードウェアのブロッ
ク構成図である。本実施例に示すプリンタはマイクロプ
ロセッサ1により制御され、パスライン2を介して接続
される下記の各手段、すなわち、プログラムを格納して
いるROM3.RAM4、印字ヘッド12の各ワイヤに
対応したドツトパターンを保持する■/○ボート5A、
2つのパルスモータ13.1/lの進相データを保持す
るとともに、スイッチ、センサ等15の状態を入力する
ための■/○ポート5B、上位装置24と印字データの
送受信を行うとともに、操作パネル16とのインタフェ
ース制御を行う■/○ポート5C、ドライバ8〜10と
レシーバ11.パルスモータの進相タイミングと印字ヘ
ッドの駆動タイミングを作るためのタイマ17より構成
されている。
FIG. 1 is a block diagram of hardware showing an embodiment of the present invention. The printer shown in this embodiment is controlled by a microprocessor 1, and includes the following means connected via a path line 2: a ROM 3. RAM 4, ■/○ boat 5A that holds dot patterns corresponding to each wire of the print head 12;
■/○ port 5B for holding the phase advance data of the two pulse motors 13.1/l and inputting the status of switches, sensors, etc. 15, transmitting and receiving print data with the host device 24, and operating panel ■/○ port 5C, which controls the interface with 16, drivers 8 to 10 and receiver 11. It consists of a timer 17 for setting the phase advance timing of the pulse motor and the drive timing of the print head.

第2図は2つの異なった特性を有する印字ヘッド12A
、12Bの違いを、マイクロプロセッサ1が検知する手
段の一例を示すものである。印字ヘッド12A、12B
には、それぞれ、プリント配線基板ゝに設けられている
如き接栓12a、 12bが設けられており、この結線
状態を信号として取出しレシーバ11を介して、I10
ポート5Bに接続している。
FIG. 2 shows a print head 12A with two different characteristics.
, 12B. Print head 12A, 12B
are respectively provided with plugs 12a and 12b such as those provided on a printed wiring board, and the connection state is taken out as a signal and sent via the receiver 11 to the I10.
Connected to port 5B.

マイクロプロセッサ1は上記I10ポート5Bの内容を
読取ることによって、印字ヘッドの種別を知ることがで
きる。
The microprocessor 1 can know the type of print head by reading the contents of the I10 port 5B.

第2図において、12Aは1/l60インチ、12Bは
1/l80インチのドツトピッチに対応するものであり
、マイクロプロセッサlは、例えば、印字ヘッド12A
のときは信号レベルLoty、印字ヘッド12Bのとき
は信号レベルHighとして識別することができる。
In FIG. 2, 12A corresponds to a dot pitch of 1/160 inch, and 12B corresponds to a dot pitch of 1/180 inch.
When the print head 12B is used, the signal level can be identified as Loty, and when the print head 12B is used, the signal level can be identified as High.

第3図は上記2種類の印字ヘッドのドツトピッチの相違
に対応する制御の相違を示す図である。
FIG. 3 is a diagram showing differences in control corresponding to differences in dot pitch between the two types of print heads.

これらの制御の切替えを前述のドツトピッチ信号により
行うことで、所望の印字が実現できる。
By switching these controls using the aforementioned dot pitch signal, desired printing can be achieved.

以下、第3図に示した各項目についてその実現方法を示
す。
A method for realizing each item shown in FIG. 3 will be described below.

まず1行バッファサイズであるが、第4図を参照された
い。図において、4は行バッファ、6は印字面を、また
、C1,C2,・・・・Cnは印字文字、CPはそのピ
ッチを、DI、D2.・・・・Dnはドツト列、DPは
そのピッチを、それぞれ示している。
First, please refer to FIG. 4 for the one-line buffer size. In the figure, 4 is a line buffer, 6 is a printing surface, C1, C2, . . . Cn are printed characters, CP is their pitch, DI, D2, . ...Dn indicates a dot row, and DP indicates its pitch.

本実施例においては、第4図に示す如く、印字面6をド
ツト列数に換算した形、すなわち、印字面長をドツトピ
ッチで割った数だけのバッファ数を有している。例えば
、印字幅が13.2インチの場合、ドツトピッチが1 
/ 160インチであれば2112ドツト列となり、ド
ツトピッチが1/l80インチであれば2376ドツト
列となる。
In this embodiment, as shown in FIG. 4, the number of buffers is equal to the number of dot rows in the printing surface 6, that is, the number of buffers equal to the number of printing surface length divided by the dot pitch. For example, if the printing width is 13.2 inches, the dot pitch is 1
/160 inch, there will be 2112 dot rows, and if the dot pitch is 1/180 inch, there will be 2376 dot rows.

従って、ドツトピッチが変化することにより、プリンタ
内のバッファサイズが変化することになり、これは受信
できるデータ数、すなわち、バップア満杯を判別するた
めのデータ格納上限値を変化させることにより実現され
る。
Therefore, as the dot pitch changes, the buffer size within the printer changes, and this is achieved by changing the number of data that can be received, that is, the data storage upper limit for determining whether the buffer is full.

第2項目の文字を構成するドツト列数については第5図
により説明する。ドツトピッチが変化すると文字を構成
するドツト列数が変化する。これは文字の大きさが決ま
っているためで、第5図はこの様子を示すものである。
The number of dot rows constituting the characters of the second item will be explained with reference to FIG. When the dot pitch changes, the number of dot rows that make up a character changes. This is because the size of the characters is fixed, and FIG. 5 shows this situation.

図において、(A)は1 / 160インチ、CB)は
1/l80インチの各ドツトピッチに対して、アルファ
ニューメリック(ANK)文字(大きさ1/l0インチ
)と漢字(同3720インチ)の構成ドツト数を示すも
ので、縦は印字ヘッドの24本のワイヤに対応し、横は
構成ドツト列数に対応している。なお、X印はスペース
を示す。
In the figure, (A) is 1/160 inch, CB) is 1/180 inch, and the constituent dots of alphanumeric (ANK) characters (1/10 inch) and Kanji (3720 inch) are shown. The numbers are shown; the vertical axis corresponds to the 24 wires of the print head, and the horizontal axis corresponds to the number of constituent dot rows. Note that the X mark indicates a space.

このようにドツトピッチに対応したドツト列数を作り出
すための処理のブローチヤードを第6図に示した。第6
図に示した処理では、一般的に用いられている文字量余
白を変化させる方法を示している。
FIG. 6 shows a brochure of processing for creating the number of dot rows corresponding to the dot pitch in this manner. 6th
The process shown in the figure shows a commonly used method of changing the character amount margin.

第3項目のキャリヤの走行速度については、前述の方法
と同様にドツトピッチの変化に従って変化させることが
可能であるが、印字ヘソ、ドの要求性能という観点から
みると、ドツトピッチを小さくする程同−印字速度を得
るための単位時間当りのストローク数が増加することに
なり、高性能な印字ヘッドが要求されることになる。
Regarding the third item, the traveling speed of the carrier, it is possible to change it according to the change in dot pitch, as in the method described above, but from the viewpoint of the required performance of the printing dots, the smaller the dot pitch, the better. The number of strokes per unit time to obtain printing speed increases, and a high-performance print head is required.

従って、ドツトピッチが変化しても、単位時間当りのス
トローク数が同一となるよう、キャリヤの走行速度を変
化させる必要が生じて来るにれは第3図に示す如く、キ
ャリヤの走行速度を求め当該速度でモータを回転させる
ことにより実現できる。
Therefore, when it becomes necessary to change the traveling speed of the carrier so that the number of strokes per unit time remains the same even if the dot pitch changes, the traveling speed of the carrier is determined as shown in Figure 3. This can be achieved by rotating a motor at a certain speed.

上記切替えに伴なう具体的な制御は、プリンタ内部のプ
ログラムによって行われる。第7図に本実施例のプリン
タの制御プログラムのブロック構成図を示す。各ブロッ
クの機能の詳報を、以下説明する。
The specific control associated with the above switching is performed by a program inside the printer. FIG. 7 shows a block diagram of the control program for the printer of this embodiment. Detailed information on the functions of each block will be explained below.

(1)入力処理(18) :上位装置24より印字デー
タを受取り、行バッファに格納する。また、プリンタの
ステーチスを上位装置24に報告する。
(1) Input processing (18): Receive print data from the host device 24 and store it in the line buffer. It also reports the status of the printer to the host device 24.

(2)キャラクタジェネレータ(19) :文字コート
に対応した文字デザイン(ドツト列データ)テーブルを
有する。
(2) Character generator (19): Has a character design (dot string data) table corresponding to the character coat.

(3)印字制御(20) :入力処理(18)で受取っ
た印字指令を基に、モータ制御、印字ヘッド制御−を起
動する。
(3) Print control (20): Starts motor control and print head control based on the print command received in input processing (18).

(4)イニシャライザ(21) :電源投入時に、リセ
ット指示により、プリンタの状態やプログラムの状態を
初期状態に戻す。
(4) Initializer (21): When the power is turned on, a reset instruction returns the printer state and program state to the initial state.

(5)モータ制御(22) :印字制御(20)からの
指示により、キャリヤモータ、改行モータの回転を制御
する。
(5) Motor control (22): Controls the rotation of the carrier motor and line feed motor according to instructions from the print control (20).

(6)印字ヘッド制御(23) :モータの回転と同期
して、行バッファの内容を印字ヘッドに出力する。
(6) Print head control (23): Outputs the contents of the line buffer to the print head in synchronization with the rotation of the motor.

(7)状態制御(25) :操作パネル16.スイッチ
、センサ15等の各信号を読取り、プリンタの状態を制
御する。
(7) Status control (25): Operation panel 16. It reads each signal from the switch, sensor 15, etc. and controls the state of the printer.

以下、第7図に従って、本実施例のプリンタの動作の概
要を説明する。
An overview of the operation of the printer of this embodiment will be described below with reference to FIG.

上位装置24からの印字データや制御コードは入力処理
18で受信され、印字データはキャラクタジェネレータ
19を介して印字ヘッド駆動パターンに展開され、行バ
ッファ(RAM)4に格納される。
Print data and control codes from the host device 24 are received by the input processing 18, and the print data is developed into a print head drive pattern via the character generator 19 and stored in the line buffer (RAM) 4.

印字契機となる制御コードを受信するか上記行バッファ
の満杯を検知すると、印字を行うための印字開始位置、
終了位置と改行データを付加してモータ制御22.印字
ヘッド制御23が起動される。
When receiving a control code that triggers printing or detecting that the line buffer is full, the print start position for printing,
Motor control with end position and line feed data added 22. Print head control 23 is activated.

これにより、キャリヤモータ13の回転と同期して印字
ヘッド制御23は、行バッファ4のデータを順次取出し
て印字ヘッド12に供給する。
Thereby, in synchronization with the rotation of the carrier motor 13, the print head control 23 sequentially takes out data from the row buffer 4 and supplies it to the print head 12.

印字制御20は印字が完了するまで待ち、完了すると再
度入力処理18を起動する。
The print control 20 waits until printing is completed, and when it is completed, starts the input processing 18 again.

以上の動作を繰返すことにより、印字が継続される。Printing is continued by repeating the above operations.

本実施例に示したプリンタにおいては1以上述べた如き
構成および制御動作により、ドラ1−ピッチの異なる複
数の印字ヘッドが実装可能なプリンタを実現することが
できる。
In the printer shown in this embodiment, by using the configuration and control operations as described above, it is possible to realize a printer in which a plurality of print heads having different pitches can be mounted on one drive.

また、前記印字ヘッドの種類の検知結果を上位装置に報
告する如く構成することにより、上位装置がプリンタの
ドツトピッチを認識することができ、上位装置&′よこ
れに対応したプリンタの制御が可能になる。これは1、
例えば、グラフィックプリンタにおいては、データ編集
に際して極めて重要なことである。
Furthermore, by configuring the printer to report the detection result of the type of print head to the host device, the host device can recognize the dot pitch of the printer, and the host device can control the printer accordingly. Become. This is 1,
For example, in a graphic printer, this is extremely important when editing data.

〔発明の効果〕〔Effect of the invention〕

以上述べた如く1本発明によれば、オペレータが印字ヘ
ッドを交換することにより、所望のドツトピッチの印字
が可能となることから、複数のドツトピッチを必要とす
るシステムでも、1つのプリンタで対応が可能となるた
め、システムの簡単化ひいては、システムの価格低下に
効果がある。
As described above, according to the present invention, it is possible to print at a desired dot pitch by allowing the operator to replace the print head, so even systems that require multiple dot pitches can be handled with one printer. Therefore, it is effective in simplifying the system and lowering the price of the system.

また、ドツトピッチを上位装置に知らせる手段を設けた
場合には、上位装置がドツトピッチを確認できることか
らより細かい制御が可能となり、性能向上が期待できる
。このことは、グラフィックプリンタには、必須の事項
である。
Furthermore, if a means for notifying the dot pitch to the higher-level device is provided, the higher-level device can check the dot pitch, allowing more detailed control, and improving performance can be expected. This is essential for graphic printers.

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

第1図は本発明の一実施例を示す構成図、第2図は2つ
の異なる印字ヘッドの相違を検知する方法を説明するた
めの図、第3図はドツトピッチの相違に対する制御の相
違を説明するための図、第4図は行バッファの構成を示
す図、第5図はドツトピッチの相違による文字の構成の
相違を説明するための図、第6図はドツトピッチに対応
するドツト列数を作る処理のフローチャート、第7図は
制御プログラムの構成例を示す図である。 l:マイクロプロセッサ、3:ROM、4:RAM、5
A、5B、5C: I/○ボート、8〜10:ドライバ
、11:レシーバ、12:印字ヘッド、18二人力処理
、19:キャラクタジェネレータ、20:印字制御、2
2:モータ制御、23:印字ヘッド制御、第     
1     図 第2図 第     3     図 第     Φ     図 第     5     図 第     7     図
Fig. 1 is a configuration diagram showing an embodiment of the present invention, Fig. 2 is an illustration for explaining a method of detecting a difference between two different print heads, and Fig. 3 is an illustration for explaining a difference in control for a difference in dot pitch. Figure 4 is a diagram showing the configuration of the line buffer, Figure 5 is a diagram to explain the difference in character configuration due to differences in dot pitch, and Figure 6 is a diagram to create the number of dot columns corresponding to the dot pitch. The flowchart of the process, FIG. 7, is a diagram showing an example of the configuration of the control program. l: Microprocessor, 3: ROM, 4: RAM, 5
A, 5B, 5C: I/○ boat, 8-10: Driver, 11: Receiver, 12: Print head, 18 Two-man processing, 19: Character generator, 20: Print control, 2
2: Motor control, 23: Print head control, No.
1 Figure 2 Figure 3 Figure Φ Figure 5 Figure 7

Claims (1)

【特許請求の範囲】[Claims] (1)印字ヘッドにより行単位に印字を行うシリアルド
ットプリンタにおいて、印字ヘッドのドットピッチを検
知する手段と、該検知手段からの信号により印字データ
バッファサイズ、文字を構成するドット列数、キャリヤ
走行速度等の印字制御パラメータを変更する手段とを設
け、ドットピッチの異なる印字ヘッドを実装可能とした
ことを特徴とするシリアルドットプリンタ。
(1) In a serial dot printer that prints line by line using a print head, there is a means for detecting the dot pitch of the print head, and a signal from the detecting means to determine the print data buffer size, the number of dot rows constituting a character, and the carrier travel. A serial dot printer characterized in that it is provided with means for changing print control parameters such as speed, and is capable of mounting print heads with different dot pitches.
JP28771385A 1985-12-23 1985-12-23 Serial dot printer Pending JPS62146644A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28771385A JPS62146644A (en) 1985-12-23 1985-12-23 Serial dot printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28771385A JPS62146644A (en) 1985-12-23 1985-12-23 Serial dot printer

Publications (1)

Publication Number Publication Date
JPS62146644A true JPS62146644A (en) 1987-06-30

Family

ID=17720771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28771385A Pending JPS62146644A (en) 1985-12-23 1985-12-23 Serial dot printer

Country Status (1)

Country Link
JP (1) JPS62146644A (en)

Similar Documents

Publication Publication Date Title
JPS62249748A (en) Method of calming operation of dot printer
EP0160318B1 (en) Printing system for dot-matrix printer
EP0114989B1 (en) Thermal printerand thermal-printingmethod
EP0720918B1 (en) Edge insensitive pixel deletion method for printing high resolution image
EP0533049A2 (en) Printer for printing bold characters
US5995713A (en) Method of printing patterns for vertically aligning a print cartridge in an image printing apparatus
JPS62146644A (en) Serial dot printer
JPS6142633B2 (en)
WO2001013328A1 (en) Print engine control system
JPS6151363A (en) Composite printer
JPH0647290B2 (en) Printer
JP2624744B2 (en) How to set character width of printing machine
US5037221A (en) Emphasized character dot-matrix printer having two groups of dot-forming elements
JPS60143988A (en) Underline-printing method for dot printer
JP3003266B2 (en) Serial printer
JP2872136B2 (en) Serial dot printer
JPH0225344B2 (en)
JPS5945166A (en) Printing mode for serial printer
JPH0588675B2 (en)
JPH0829614B2 (en) Printer
JPH06126991A (en) Recording method and device
JPS59120466A (en) Printer
JPS6160121A (en) Graphic print processing system
JPH02190344A (en) Printing control system
JPH08290593A (en) Print head temperature alarm and print control method