JPS61195080A - Image data printing system - Google Patents

Image data printing system

Info

Publication number
JPS61195080A
JPS61195080A JP60035478A JP3547885A JPS61195080A JP S61195080 A JPS61195080 A JP S61195080A JP 60035478 A JP60035478 A JP 60035478A JP 3547885 A JP3547885 A JP 3547885A JP S61195080 A JPS61195080 A JP S61195080A
Authority
JP
Japan
Prior art keywords
circuit
line
data
line buffer
printing
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.)
Granted
Application number
JP60035478A
Other languages
Japanese (ja)
Other versions
JPH0636546B2 (en
Inventor
Katsuyasu Fujii
克泰 藤井
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60035478A priority Critical patent/JPH0636546B2/en
Publication of JPS61195080A publication Critical patent/JPS61195080A/en
Publication of JPH0636546B2 publication Critical patent/JPH0636546B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)
  • Facsimile Scanning Arrangements (AREA)
  • Fax Reproducing Arrangements (AREA)

Abstract

PURPOSE:To increase the efficiency of printing by providing a circuit to decide whether to print or not a datum that is stored in a line buffer and abbreviating a space operation when the datum is not necessary to be printed. CONSTITUTION:A processor 1 writes a printed datum in a line buffer 21, for example, in one unit of bite and also reads the datum and transmits it to a discrimination circuit 4. The circuit 4 compares it with a level of '1' which is inputted from a terminal A by AND circuits 13-15. When all of the data outputted from the buffer 21 are '0's, outputs from the circuits 13-15 are also '0's and when even oe bit is '1', the output of a responded circuit out of circuits 13-15 becomes '1'. The output of the circuits 13-15 is transmitted to the processor 1 through an OR circuit 16 and it is decided that the printing is necessary when even one '1' presents. When no printing is necessary, the space operation is abbreviated. Also, the life of a space mechanism is prolonged.

Description

【発明の詳細な説明】 〔概要〕 シリアルプリンタでイメージデータを印刷する場合、一
行分空白で印刷するデータが無い時、無駄なスペース動
作を省略するため、一行分のデータを格納するラインバ
ッファ上に印刷するビットがあるか無いかを検出する手
段を設けた。
[Detailed Description of the Invention] [Summary] When printing image data with a serial printer, when there is no data to print with one line blank, in order to omit wasted space operations, a line buffer is used to store one line of data. A means for detecting whether or not there is a bit to be printed is provided.

〔産業上の利用分野〕[Industrial application field]

本発明はイメージデータの印刷が可能なシリアルプリン
タに係り、特に一行分の印刷データをラインバッファに
格納し、このラインバッファの内容を読出して印刷する
場合、ラインバッファに印刷すべきデータが格納されな
かった時、スペース動作を省略して印刷効率を高めるイ
メージデータ印刷方式に関する。
The present invention relates to a serial printer capable of printing image data, and in particular, when one line of print data is stored in a line buffer and the contents of this line buffer are read and printed, the data to be printed is stored in the line buffer. The present invention relates to an image data printing method that improves printing efficiency by omitting space operations when there is no space available.

近年、情報処理装置の普及に伴い、各種プリンタが開発
され、実用化されているが、印字ヘッドに通電し、文字
及びイメージデータ等を印刷するシリアルプリンタが多
(用いられている。
In recent years, with the spread of information processing devices, various printers have been developed and put into practical use. Serial printers, which print characters, image data, etc. by energizing a print head, are often used.

このシリアルプリンタは通常一行分のイメージデータを
ラインバッファに格納し、このラインバッファに格納し
たデータを読出して、印字ヘッドを移動しつつ一行分を
印刷する。即ちスペース動性を行って印刷するが、この
スペース動作は通常ラインバッファに一行分のデータが
格納されると、スペースモータが起動されて実行される
This serial printer normally stores one line of image data in a line buffer, reads out the data stored in the line buffer, and prints one line while moving the print head. That is, printing is performed by performing space movement, and this space operation is normally executed by starting the space motor when one line of data is stored in the line buffer.

ところで、イメージデータは文字と異なり、印刷面に空
白が存在する。従ってラインバッファの一行分が全゛く
印刷されないデータ、即ち総て“0”が格納されること
がある。この場合スペース動作は印刷動作を伴わず、無
駄であるため省略出来ることが望ましい。
By the way, unlike characters, image data has blank spaces on the printed surface. Therefore, one line of the line buffer may store data that is not completely printed, that is, all "0"s. In this case, the space operation does not involve the printing operation and is wasteful, so it is desirable to be able to omit it.

〔従来の技術〕[Conventional technology]

第4図は従来のシリアルプリンタの一例を示す回路のブ
ロック図で、第5図は第4図の動作を説明するフローチ
ャートである。
FIG. 4 is a block diagram of a circuit showing an example of a conventional serial printer, and FIG. 5 is a flowchart explaining the operation of FIG. 4.

プロセッサ1はROM3に格納されているプログラムを
読出して動作する。上位装置からインタフェース回路6
を経て印字データやイメージデータが送られてくる。プ
ロセッサ1はこのデータを第5図受信に示す如(受信し
、RAM2に一旦格納する。
The processor 1 reads a program stored in the ROM 3 and operates. Interface circuit 6 from host device
Print data and image data are sent through the . The processor 1 receives this data as shown in FIG. 5 and temporarily stores it in the RAM 2.

プロセッサ1は受信したデータが一行分受信したかどう
か調べ、一行分受信するまで上記動作を継続し、一行分
受信すると、イメージデータならばRAM2の領域内に
あるラインバッファ21に展開する。印字データならば
印字データから文字コードを抽出して、該当する文字パ
ターンを文字発生回路5から読出し、ラインバッファ2
1に展開する。
The processor 1 checks whether one line of received data has been received, continues the above operation until one line has been received, and when the data is image data, it is expanded into the line buffer 21 in the RAM 2 area. If it is print data, the character code is extracted from the print data, the corresponding character pattern is read from the character generation circuit 5, and the line buffer 2
Expand to 1.

プロセッサ1はラインバッファ21に一行分のデータを
展開すると、スペース制御回路9を制御してスペースモ
ータ10を駆動し、印字ヘッド8を印字位置に位置付け
するため、印字ヘッド8を搭載するキャリッジを加速す
る。印字ヘッド8が定速に達すると、プロセッサ1は印
字ヘッド制御回路7を制御して、ラインバッファ21の
データを読出させ、印字ヘッド8に送って印刷させる。
When the processor 1 expands one line of data into the line buffer 21, the processor 1 controls the space control circuit 9 to drive the space motor 10 and accelerate the carriage on which the print head 8 is mounted in order to position the print head 8 at the printing position. do. When the print head 8 reaches a constant speed, the processor 1 controls the print head control circuit 7 to read the data from the line buffer 21 and send it to the print head 8 for printing.

プロセラ°す1は一行分の印刷が完了すると印字へラド
8を減速させ、停止させると共に、改行制御回路11を
制御して改行モータ12を駆動し、紙送りを行わせる。
When the printing for one line is completed, the processor 1 decelerates and stops the printing radar 8, and also controls the line feed control circuit 11 to drive the line feed motor 12 to feed the paper.

プロセッサ1は続いて次の行を印刷するため、第5図に
示すスタートに戻り、又上位装置からデータの受信を開
始する。
In order to print the next line, the processor 1 returns to the start shown in FIG. 5 and starts receiving data from the host device again.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記の如く、従来のシリアルプリンタは、ラインバッフ
ァに一行分のデータが格納されると、スペースモータを
駆動して印字ヘッドを移動させる、所謂スペース動作を
行う。
As described above, when one line of data is stored in the line buffer, the conventional serial printer drives the space motor to move the print head, which is a so-called space operation.

従ってイメージデータに含まれる空白部分、即ちライン
バッファに総て“0”が書込まれた場合もスペース動作
を行う。
Therefore, the space operation is performed even when all "0"s are written in the blank part included in the image data, that is, in the line buffer.

このため、スペースモータに無駄な電力を消費させ、ス
ペース機構の寿命も縮めると共に、印刷効率を高めるこ
とが出来ないという問題がある。
For this reason, there are problems in that the space motor wastes power, the life of the space mechanism is shortened, and printing efficiency cannot be improved.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理ブロック図で、第2図は第1図の
動作を説明するフローチャートである。
FIG. 1 is a block diagram of the principle of the present invention, and FIG. 2 is a flowchart explaining the operation of FIG. 1.

第1図は第4図に判別回路4を違加したもので、第2図
に示す如くラインバッファ21に一行分のデータが展開
された時、プロセッサ1は判別回路4の出力から、ライ
ンバッファ21のデータを印刷する必要があるか否かを
知る。
FIG. 1 is a diagram in which a discrimination circuit 4 is added to FIG. 4. When one line of data is developed in the line buffer 21 as shown in FIG. It is known whether or not it is necessary to print the data of 21.

即ちラインバッファ21の総てのデータが“0”である
場合、判別回路4の出力は“0”であり、印刷する必要
が無いことを示し、ラインバッファ21のデータ中に1
ビツトでも“1”があれば判別回路4の出力には“1”
が送出され、印刷する必要があることを示す。
That is, when all the data in the line buffer 21 is "0", the output of the discrimination circuit 4 is "0", indicating that there is no need to print, and if all the data in the line buffer 21 is "0",
If the bit is “1”, the output of the discrimination circuit 4 is “1”.
is sent and should be printed.

プロセッサ1は印刷する必要が無ければ改行制御回路1
1を制御して改行モータ12を駆動し、紙送りを行わせ
ると共にスタートに戻って受信を開始し、印刷する必要
がある場合は、スペース制御回路9を制御し、スペース
モータ10を駆動して印字ヘッド8を加速する。
Processor 1 uses line feed control circuit 1 if there is no need to print.
1 to drive the line feed motor 12 to feed the paper, return to the start, start receiving, and if it is necessary to print, control the space control circuit 9 and drive the space motor 10. Accelerate print head 8.

〔作用〕[Effect]

ラインバッファ21に書込まれるデータは、印刷される
ビットは“1”であり、印刷されないビットは“0”で
ある。従ってラインバッファ21の総てのビットが“0
”か、1ビツトでも′1”が含まれているかを判定する
ことで、ラインバッファ21に格納されたデータを印刷
するか否かを判定出来る。
In the data written to the line buffer 21, the bits to be printed are "1" and the bits not to be printed are "0". Therefore, all bits of the line buffer 21 are “0”.
By determining whether at least one bit of '1' is included, it is possible to determine whether or not the data stored in the line buffer 21 is to be printed.

従って判定回路4でラインバッファ21のデータ中に′
1”のビットが有るか否かを判定させ、その結果により
プロセッサ1がスペース動作を省略するか否かを判定す
る。
Therefore, in the judgment circuit 4, the data in the line buffer 21 is
It is determined whether or not there is a 1'' bit, and based on the result, the processor 1 determines whether or not to omit the space operation.

このようにすることで、無駄なスペース動作を省略する
ことが可能となり、印刷効率を高め、消費電力を節減す
ると共に、スペース機構の寿命を延ばすことが出来る。
By doing so, it becomes possible to omit unnecessary space operations, improve printing efficiency, reduce power consumption, and extend the life of the space mechanism.

〔実施例〕〔Example〕

第3図は本発明の一実施例を示す回路のブロック図であ
る。
FIG. 3 is a block diagram of a circuit showing one embodiment of the present invention.

プロセッサ1はラインバッファ21に例えば1バイト単
位で印刷データを書込むと共に、このデータを続出して
判別回路4に送出する0判別回路4はAND回路13,
14.・・−915により、端子Aから入る“11のレ
ベルと比較する。
The processor 1 writes print data in the line buffer 21 in units of, for example, 1 byte, and the 0 discrimination circuit 4 that successively outputs this data and sends it to the discrimination circuit 4 includes an AND circuit 13,
14. ... -915 is compared with the level of "11" input from terminal A.

ラインバッファ21から読出されたデータが総て“0”
であれば、AND回路13〜15の出力は常に“0゛で
あり、1ビツトでも“1”が有ればそのビットに対応し
たAND回路の出力が“1”となる。
All data read from line buffer 21 is “0”
If so, the outputs of the AND circuits 13 to 15 are always "0", and if even one bit is "1", the output of the AND circuit corresponding to that bit becomes "1".

AND回路13〜15の出力はOR回路16を経てプロ
セッサ1に送出される。従ってプロセッサ1はラインバ
ッファ21に一行分の印刷データを格納し終わった時点
で、OR回路16の出力に“1”が−回でも出現した場
合は、印刷する必要があると判定し、無ければ印刷する
必要が無いと判定する。
The outputs of the AND circuits 13 to 15 are sent to the processor 1 via an OR circuit 16. Therefore, when the processor 1 finishes storing one line of print data in the line buffer 21, if "1" appears even - times in the output of the OR circuit 16, it determines that it is necessary to print; It is determined that there is no need to print.

尚、印刷が不要と判定した時は、プロセッサ1は印刷動
作を行うことなく、上位装置に対してマシンレディ信号
を送出し、次の行のイメージデータ受信の準備態勢を整
える。
Incidentally, when it is determined that printing is not necessary, the processor 1 sends a machine ready signal to the host device without performing a printing operation, and prepares to receive the next row of image data.

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

以上説明した如く、本発明は印刷する必要の無い空白部
分のイメージデータに対するスペース動作を省略するこ
とが出来る。
As described above, the present invention can omit the space operation for image data in blank areas that do not need to be printed.

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

第1図は本発明の原理ブロック図、 第2図は第1図の動作を説明するフローチャート、第3
図は本発明の一実施例を示す回路のブロック図、 第4図は従来のシリアルプリンタの一例を示す回路のブ
ロック図、 第5図は第4図の動作を説明するフローチャートである
。 図において、 1はプロセッサ、   2はRAM。 3はROM、     4は判別回路、5は文字発生回
路、  6はインタフェース回路、7は印字ヘッド制御
回路、 8は印字ヘッド、   9はスペース制御回路、10は
スペースモータ、 11は改行制御回路、12は改行モ
ータ、   13〜15はAND回路、16はOR回路
である。 岸勢谷明めX理ブロッ2図 ¥ 1 口 娃のシリアル2°1ル2e−4列5慣V“′ロック閾竿
4.口
Figure 1 is a block diagram of the principle of the present invention, Figure 2 is a flowchart explaining the operation of Figure 1, and Figure 3 is a flowchart explaining the operation of Figure 1.
4 is a block diagram of a circuit showing an example of a conventional serial printer. FIG. 5 is a flowchart explaining the operation of FIG. 4. In the figure, 1 is a processor and 2 is a RAM. 3 is a ROM, 4 is a discrimination circuit, 5 is a character generation circuit, 6 is an interface circuit, 7 is a print head control circuit, 8 is a print head, 9 is a space control circuit, 10 is a space motor, 11 is a line feed control circuit, 12 1 is a line feed motor, 13 to 15 are AND circuits, and 16 is an OR circuit. Kishiseya Akime

Claims (1)

【特許請求の範囲】 ラインバッファ(21)に一行分のイメージデータを格
納してから読出して印刷するシリアルプリンタにおいて
、 ラインバッファ(21)に格納されるデータを印刷する
必要があるか否かを判定する判別回路(4)を設け、 該判別回路(4)の判定結果に基づき印刷する必要が無
い場合、スペース動作を省略することを特徴とするイメ
ージデータ印刷方式。
[Claims] In a serial printer that stores one line of image data in a line buffer (21) and then reads and prints it, it is determined whether or not it is necessary to print the data stored in the line buffer (21). An image data printing method characterized in that a discriminating circuit (4) for making a determination is provided, and if there is no need to print based on the determination result of the discriminating circuit (4), a space operation is omitted.
JP60035478A 1985-02-25 1985-02-25 Serial printer Expired - Lifetime JPH0636546B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60035478A JPH0636546B2 (en) 1985-02-25 1985-02-25 Serial printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60035478A JPH0636546B2 (en) 1985-02-25 1985-02-25 Serial printer

Publications (2)

Publication Number Publication Date
JPS61195080A true JPS61195080A (en) 1986-08-29
JPH0636546B2 JPH0636546B2 (en) 1994-05-11

Family

ID=12442870

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60035478A Expired - Lifetime JPH0636546B2 (en) 1985-02-25 1985-02-25 Serial printer

Country Status (1)

Country Link
JP (1) JPH0636546B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS649765A (en) * 1987-07-03 1989-01-13 Canon Kk Printer
US5877865A (en) * 1993-10-26 1999-03-02 Canon Kabushiki Kaisha Image processing apparatus and method for printing data described in a page description language

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52123134A (en) * 1976-04-09 1977-10-17 Mitsubishi Electric Corp Printer unit
JPS5543631A (en) * 1978-09-22 1980-03-27 Toshiba Corp Printer
JPS569836A (en) * 1979-07-06 1981-01-31 Hitachi Ltd Hardcopy control system
JPS5647886A (en) * 1979-09-27 1981-04-30 Ricoh Co Ltd Hard copy control system of display
JPS57106992A (en) * 1980-12-24 1982-07-03 Omron Tateisi Electronics Co Printing system
JPS59224364A (en) * 1983-05-27 1984-12-17 Fujitsu Ltd Printing system of dot impact printer
JPS60149475A (en) * 1984-01-14 1985-08-06 Brother Ind Ltd Data printing device
JPS61100829A (en) * 1984-10-22 1986-05-19 Mitsubishi Electric Corp Display device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52123134A (en) * 1976-04-09 1977-10-17 Mitsubishi Electric Corp Printer unit
JPS5543631A (en) * 1978-09-22 1980-03-27 Toshiba Corp Printer
JPS569836A (en) * 1979-07-06 1981-01-31 Hitachi Ltd Hardcopy control system
JPS5647886A (en) * 1979-09-27 1981-04-30 Ricoh Co Ltd Hard copy control system of display
JPS57106992A (en) * 1980-12-24 1982-07-03 Omron Tateisi Electronics Co Printing system
JPS59224364A (en) * 1983-05-27 1984-12-17 Fujitsu Ltd Printing system of dot impact printer
JPS60149475A (en) * 1984-01-14 1985-08-06 Brother Ind Ltd Data printing device
JPS61100829A (en) * 1984-10-22 1986-05-19 Mitsubishi Electric Corp Display device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS649765A (en) * 1987-07-03 1989-01-13 Canon Kk Printer
US5877865A (en) * 1993-10-26 1999-03-02 Canon Kabushiki Kaisha Image processing apparatus and method for printing data described in a page description language

Also Published As

Publication number Publication date
JPH0636546B2 (en) 1994-05-11

Similar Documents

Publication Publication Date Title
JPS61195080A (en) Image data printing system
JPS6159920B2 (en)
US5666478A (en) Method and apparatus for processing characters based on previously- used scalable font data
JPS62216029A (en) Graphic print control system
JP2744025B2 (en) Printing control device
JP3083251B2 (en) Page printer
JP2713707B2 (en) Character output device
JP3890087B2 (en) System, printing apparatus and display method
JP3326042B2 (en) Printing system
JP3195097B2 (en) Output control method and device
JP2871981B2 (en) Printing apparatus and control method thereof
JPS6149871A (en) Printing-controlling method for page printer
JPH07186466A (en) Printer and controlling method therefor
JPH05212916A (en) Printer device
JPH09188041A (en) Output device
JPS631614B2 (en)
JPH04220365A (en) Printer
JPH111048A (en) Printing control method and printing apparatus
JPH09274545A (en) Printing controller, printing control method and storage medium storing control program
JPH10326166A (en) Printer device
JPS6096478A (en) Shortest-range printing system for printer
JPH0691955A (en) Ic card attachable printer and data controlling method using the printer
JPH0695814A (en) Printing data transfer system
JPS62257867A (en) Printer
JPH01214460A (en) Page output detection system of printer