JPH0683823A - Data output device - Google Patents

Data output device

Info

Publication number
JPH0683823A
JPH0683823A JP4257605A JP25760592A JPH0683823A JP H0683823 A JPH0683823 A JP H0683823A JP 4257605 A JP4257605 A JP 4257605A JP 25760592 A JP25760592 A JP 25760592A JP H0683823 A JPH0683823 A JP H0683823A
Authority
JP
Japan
Prior art keywords
blank
line
image data
blank line
bit
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
JP4257605A
Other languages
Japanese (ja)
Inventor
Morio Yamauchi
労雄 山内
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP4257605A priority Critical patent/JPH0683823A/en
Publication of JPH0683823A publication Critical patent/JPH0683823A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)
  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To output expanded image data while efficiently excluding blank lines from them by detecting the blank lines from the bit image data and excluding the blank lines based on previously set rules. CONSTITUTION:When a printing instruction is inputted from a keyboard 3, a CPU 1 reads bit image data in a main RAM 10 and transfers them to a blank line detection part 11. The blank line detection part 11 checks whether over one bit of on dots to be printed for each dot sequence of one bit width parallel to the scanning direction of a serial printer 5 are existent in these bit image data or not and when over one bit of on dots are existent in the line as a result, data on this line are dispatched to a printer control part 8 as they are and printed from the serial printer 5. When only one bit of on dots are not existent on the line, however, the line is regarded as the blank line and handled as it is absent.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、ワードプロセッサ、
ファクシミリ、パーソナルコンピュータ等およびそれら
の複合型電子機器において、出力イメージに展開された
展開イメージデータを出力するデータ出力装置に関す
る。
BACKGROUND OF THE INVENTION The present invention relates to a word processor,
The present invention relates to a data output device for outputting expanded image data expanded into an output image in a facsimile, a personal computer, etc. and a composite electronic device thereof.

【0002】[0002]

【従来の技術】従来、パーソナルコンピュータにおい
て、ビットイメージデータを印刷するビットイメージデ
ータ出力装置は図6に示す如く構成されていた。即ち、
CPU1はROM2内に格納されている各種プログラム
にしたがってこのパーソナルコンピュータの全体動作を
制御するもので、このCPU1にはその周辺デバイスと
してのキーボード3、表示部4およびシリアルプリンタ
5が夫々キーボードコントローラ6、表示制御部7およ
びプリンタ制御部8を介して接続されており、それらの
入力出動作を制御する。ここで、キーボードコントロー
ラ6はキーボード3に対してキーサンプリング動作を行
い、操作キーに対応するキーコードをCPU1に与え
る。表示制御部7はビデオRAM9に対して画像データ
の書き込み/読み出し動作を制御するもので、ビデオR
AM9から読み出した画像データを表示部4から表示出
力させる。CPU1はキーボード3からの印刷命令に応
答してメインRAM10内のビットイメージデータをプ
リンタ制御部8に与える。プリンタ制御部8はメインR
AM10から読み出されたビットイメージデータをパラ
レル/シリアル変換したり、シリアルプリンタ5のモー
タを駆動させる等の動作を行う。また、メインRAM1
0内に格納されているビットイメージデータは印刷対象
の1ページ分のデータがビットマップトイメージで展開
されたもので、印刷データの1ドットとメインRAM1
0の1ビットとが1:1に対応している。ここで、キー
ボード3から印刷命令が与えられるとCPU1はメイン
RAM10内のビットイメージデータを読み出してプリ
ンタ制御部8に与え、シリアルプリンタ5から出力させ
る。
2. Description of the Related Art Conventionally, in a personal computer, a bit image data output device for printing bit image data has been constructed as shown in FIG. That is,
The CPU 1 controls the overall operation of the personal computer in accordance with various programs stored in the ROM 2, and the CPU 1 has a keyboard 3, a display unit 4 and a serial printer 5 as its peripheral devices, a keyboard controller 6, They are connected via the display control unit 7 and the printer control unit 8 and control their input / output operations. Here, the keyboard controller 6 performs a key sampling operation on the keyboard 3 and gives the CPU 1 a key code corresponding to the operation key. The display control unit 7 controls the writing / reading operation of the image data with respect to the video RAM 9, and the video R
The image data read from the AM 9 is displayed and output from the display unit 4. The CPU 1 gives the bit image data in the main RAM 10 to the printer controller 8 in response to the print command from the keyboard 3. The printer controller 8 is the main R
The bit image data read from the AM 10 is converted into parallel / serial data, and the motor of the serial printer 5 is driven. In addition, the main RAM1
The bit image data stored in 0 is data for one page to be printed, which is developed as a bitmap image. One dot of the print data and the main RAM 1
1 bit of 0 corresponds to 1: 1. Here, when a print command is given from the keyboard 3, the CPU 1 reads out the bit image data in the main RAM 10, gives it to the printer controller 8, and causes the serial printer 5 to output it.

【0003】[0003]

【発明が解決しようとする課題】このように構成された
ビットイメージ出力装置においては、印刷対象であるビ
ットイメージデータの中に空白行、広い行間、空きスペ
ース等が存在していても、それを忠実に再現して印刷出
力させる為、印刷対象のデータ内容によっては空白行等
によりペーパーフィードの回数が多くなり、またロール
紙を使用するものにおいてはロール紙が無駄に消費さ
れ、更に熱転写インクリボンを使用するものにおいては
キャリッジの走査回数が増えてインクリボンの使用量が
多くなるという欠点があった。そこで、従来において
は、ファクシミリ装置において、文字を縦方向(用紙の
紙送り方向)に1/2圧縮して印刷することによりロー
ル紙を通常の約半分に節約するようにしたペーパーセー
ブ機能を備えたものが知られているが、この種のものは
文字を圧縮する為、文書が読み難くなるという欠点があ
った。この発明の課題は、出力イメージに展開された展
開イメージデータの中から空白ラインを効果的に取り除
いて出力できるようにすることである。
In the bit image output device configured as described above, even if the bit image data to be printed has a blank line, a wide line space, a vacant space, etc. Since it is faithfully reproduced and printed out, the number of paper feeds increases due to blank lines depending on the data content to be printed, and in the case of using roll paper, the roll paper is wasted and the thermal transfer ink ribbon However, there is a drawback that the number of carriage scans increases and the amount of ink ribbon used increases. Therefore, conventionally, a facsimile apparatus is provided with a paper save function that saves the roll paper to about half of the normal size by printing by compressing characters in the vertical direction (paper feed direction) by half. It is known that this type compresses characters, which makes the document difficult to read. An object of the present invention is to effectively remove a blank line from the expanded image data expanded into an output image so that it can be output.

【0004】[0004]

【課題を解決するための手段】第1の発明の手段は次の
通りである。空白ライン検出手段は出力イメージに展開
された展開イメージデータの中から空白ラインを検出す
るもので、展開イメージデータとは例えば印刷イメージ
に展開されたビットマップイメージデータ等である。ま
た、空白ラインは例えばシリアルプリントであればその
走査方向に平行な1ドット幅のドット列に相当するライ
ン上においてオンドット(表示または印刷されるドッ
ト)が存在しないラインを空白ラインとして定義する
が、空白ラインのドット幅やドット列の大きさは任意で
ある。空白ライン除去手段はこの空白ライン検出手段に
よって検出された空白ラインを展開イメージデータの中
から取り除くもので、空白ラインの除去は出力動作時に
それに並行して行っても出力動作を開始する前に行って
もよい。出力手段はこの空白ライン除去手段によって空
白ラインが取り除かれた展開イメージデータを出力する
表示装置や印刷装置等である。第2の発明の手段は次の
通りである。空白ライン検出手段は出力イメージに展開
された展開イメージデータの中から空白ラインを検出す
る。規則設定手段は展開イメージデータの中から空白ラ
インを取り除く際の規則を設定するもので、例えば広い
行間の空白ラインに対してどの程度の割合で空白ライン
を取り除くかを示すデータを設定する。空白ライン除去
手段は前記空白ライン検出手段によって検出された空白
ラインを前記規則設定手段によって設定された規則にし
たがって取り除く。出力手段はこの空白ライン除去手段
によって空白ラインが取り除かれた展開イメージデータ
を出力する表示装置や印刷装置等である。
Means for Solving the Problems The means of the first invention is as follows. The blank line detection means detects a blank line from the expanded image data expanded into the output image, and the expanded image data is, for example, bitmap image data expanded into a print image. Further, for example, in the case of serial printing, the blank line is defined as a blank line in which on-dots (dots to be displayed or printed) do not exist on a line corresponding to a dot row having a 1-dot width parallel to the scanning direction. , The dot width of the blank line and the size of the dot row are arbitrary. The blank line removing means removes the blank line detected by the blank line detecting means from the developed image data.Even if the blank line is removed in parallel with the output operation, it is performed before the output operation is started. May be. The output means is a display device, a printing device or the like that outputs the expanded image data from which the blank lines have been removed by the blank line removal means. The means of the second invention is as follows. The blank line detecting means detects a blank line from the expanded image data expanded in the output image. The rule setting means sets a rule for removing blank lines from the developed image data, for example, sets data indicating at what ratio the blank lines are removed with respect to the blank lines between wide lines. The blank line removing means removes the blank line detected by the blank line detecting means in accordance with the rule set by the rule setting means. The output means is a display device, a printing device or the like that outputs the expanded image data from which the blank lines have been removed by the blank line removal means.

【0005】[0005]

【作用】第1の発明の手段の作用は次の通りである。い
ま、ビットイメージデータを印刷する場合に、このイメ
ージデータの中に空白ラインが存在していれば、空白ラ
イン検出手段はこのビットイメージデータの中から空白
ラインを検出する。すると、空白ライン除去手段はこの
空白ラインをビットイメージデータの中から取り除き、
出力手段は空白ラインが取り除かれたビットイメージデ
ータを出力する。第2の発明の手段の作用は次の通りで
ある。いま、ビットイメージデータを印刷する場合に、
このイメージデータの中に空白ラインが存在していれ
ば、空白ライン検出手段はこのビットイメージデータの
中から空白ラインを検出する。すると、空白ライン除去
手段は検出された空白ラインを予め設定されている規則
(例えば割合)に基づいて取り除き、出力手段はこれに
よって空白が取り除かれたビットイメージデータを出力
する。したがって、出力イメージに展開された展開イメ
ージデータの中から空白ラインを取り除いて出力するこ
とができる。
The operation of the means of the first invention is as follows. When printing bit image data, if a blank line exists in the image data, the blank line detecting means detects the blank line in the bit image data. Then, the blank line removing means removes this blank line from the bit image data,
The output means outputs the bit image data from which the blank line has been removed. The operation of the means of the second invention is as follows. Now, when printing bit image data,
If a blank line exists in this image data, the blank line detection means detects a blank line in this bit image data. Then, the blank line removing means removes the detected blank line based on a preset rule (for example, a ratio), and the output means outputs the bit image data from which the blank has been removed. Therefore, it is possible to remove the blank line from the expanded image data expanded to the output image and output it.

【0006】[0006]

【第1実施例】以下、図1、および図2を参照して第1
実施例を説明する。図1はパーソナルコンピュータにお
けるビットイメージ出力装置を示したブロック構成図で
ある。ここで、本実施例のビットイメージ出力装置は図
6で示した従来の構成例に比べ、空白ライン検出部11
を付加したもので、その他は同様に構成されている為、
名称的に同一のものは同一符号をもって示し、その説明
は省略するものとする。CPU1はキーボード3から印
刷命令が入力されると、メインRAM10内のビットイ
メージデータを読み出して空白ライン検出部11に転送
する。空白ライン検出部11はこのビットイメージデー
タの中にシリアルプリンタ5の走査方向に平行な1ドッ
ト幅のドット列毎に印刷されるオンドットが1ドット以
上存在するか否かをチェックし、その結果、オンドット
が1ドット以上存在するラインであれば、このライン上
のデータをそのままプリンタ制御部8に渡してシリアル
プリンタ5から印字出力させるが、ライン上にオンドッ
トが1ドットも存在していなければ、そのラインを空白
ラインとしてみなし、そのラインが無かったものとして
取り扱うようにしている。
[First Embodiment] A first embodiment will be described below with reference to FIGS. 1 and 2.
An example will be described. FIG. 1 is a block diagram showing a bit image output device in a personal computer. Here, the bit image output device of the present embodiment is different from the conventional configuration example shown in FIG.
Is added, and the others are configured in the same way,
Those having the same name are denoted by the same reference numeral, and the description thereof will be omitted. When the print command is input from the keyboard 3, the CPU 1 reads the bit image data in the main RAM 10 and transfers it to the blank line detection unit 11. The blank line detection unit 11 checks whether or not there is one or more on-dots to be printed for each dot row of 1-dot width parallel to the scanning direction of the serial printer 5 in this bit image data. If the line has one or more on-dots, the data on this line is passed to the printer control unit 8 as it is and printed out from the serial printer 5, but there must be one dot on the line. For example, the line is regarded as a blank line and is treated as if the line did not exist.

【0007】このように構成された本実施例において、
空白ライン検出部11は印刷対象のビットイメージデー
タのうちシリアルプリンタ5の走査方向に平行な1ドッ
ト幅のドット列を1ラインとして扱い、その先頭ライン
から順に空白ラインか否かをチェックする動作を全ライ
ンについて行う。ここで、印刷されるオンドットが1ラ
イン上に1ドットも存在していなければ、それを空白ラ
インとして検出し、この空白ラインのデータをプリンタ
制御部8に与えず、このラインのデータが無かったもの
とする。この結果、ビットイメージデータの中から空白
ラインが全て取り除かれて印刷されることになる。
In this embodiment having the above configuration,
The blank line detection unit 11 handles a dot row having a 1-dot width parallel to the scanning direction of the serial printer 5 as one line in the bit image data to be printed, and performs an operation of checking whether or not it is a blank line in order from the head line. Do this for all lines. Here, if there is no one dot on one line to be printed, it is detected as a blank line, and the data of this blank line is not given to the printer control unit 8, and there is no data of this line. It is assumed that As a result, all blank lines are removed from the bit image data and printed.

【0008】図2の(B)はこの場合の印刷例を示し、
図2の(A)は印刷を行う前のビットイメージデータを
示し、このビットイメージデータから空白ラインが全て
取り除かれて印刷されると、図2の(B)に示す様な印
刷内容となり、行間、空白が除去され、印刷データのみ
が行方向に近接した状態で印刷されたことになる。この
結果、図2の(A)に比べ図2の(B)は行方向におい
て、略2/3に圧縮した形で印刷されたものとなる。
FIG. 2B shows a printing example in this case,
FIG. 2A shows the bit image data before printing. When all blank lines are removed from the bit image data and printed, the print content becomes as shown in FIG. , The blanks are removed, and only the print data is printed in the state of being close to each other in the row direction. As a result, as compared with FIG. 2A, FIG. 2B is printed in a shape compressed to approximately 2/3 in the row direction.

【0009】[0009]

【第2実施例】以下、図3〜図5を参照して第2実施例
を説明する。図3はビットイメージ出力装置のブロック
構成図である。ここで、本実施例のビットイメージ出力
装置は図6で示した従来例に比べ、空白ライン検出・取
捨選択部21、取捨選択ルール記憶部22を付加したも
ので、その他は同様に構成されている為、名称的に同一
のものは同一符号をもって示し、その説明は省略する。
なお、上記第1実施例は空白ラインを検出する毎にビッ
トイメージデータの中から空白ラインを全て取り除くよ
うにしたが、本実施例はどのような規則で空白ラインを
印刷対象から取り除くかを記憶する取捨選択ルール記憶
部22を設け、この規則にしたがって空白ライン検出・
取捨選択部21がビットイメージデータの中から空白ラ
インを除去するようにしたものである。
[Second Embodiment] A second embodiment will be described below with reference to FIGS. FIG. 3 is a block diagram of the bit image output device. Here, the bit image output device of the present embodiment is different from the conventional example shown in FIG. 6 in that a blank line detection / selection / selection unit 21 and a selection / selection rule storage unit 22 are added, and the other configurations are the same. Therefore, the same components are designated by the same reference numerals, and the description thereof will be omitted.
In the first embodiment, every time a blank line is detected, all the blank lines are removed from the bit image data. However, the present embodiment stores the rule of removing the blank line from the print target. The selection / selection rule storage unit 22 is provided to detect blank lines according to this rule.
The sorting / selecting unit 21 removes blank lines from the bit image data.

【0010】即ち、取捨選択ルール記憶部22は連続的
に複数本の空白ラインが存在する場合、このN本の空白
ラインをどの位の割合で除去するかを示す規則データが
予め設定されるもので、空白ライン検出・取捨選択部2
1は連続するN本の空白ラインを検出した場合に、この
N本の空白ラインの中から取捨選択ルール記憶部22に
設定されている割合データに基づいて空白ラインを何パ
ーセント取り除くかを決定し、それに応じて空白ライン
の印刷数を制御する。次に、本実施例の動作を図4およ
び図5に示すフローチャートを参照して説明する。
That is, in the selection rule storage unit 22, when a plurality of blank lines exist continuously, rule data indicating at what rate the N blank lines are removed is set in advance. Then, the blank line detection / selection section 2
In the case where 1 consecutive N blank lines are detected, 1 determines the percentage of blank lines to be removed from the N blank lines based on the ratio data set in the selection rule storage unit 22. , And control the number of blank lines printed accordingly. Next, the operation of this embodiment will be described with reference to the flowcharts shown in FIGS.

【0011】図4は空白ラインを除去する割合を設定す
る際の動作を示したフローチャートである。先ず、表示
部4のガイダンス表示域には空白ラインを何パーセント
減らすかを問い合せるメッセージデータが表示出力され
る(ステップA1)。この状態において、キーボード3
上のテンキー「1」〜「9」のうちいずれかのキーを操
作するが、この場合、テンキーは連続するN本の空白ラ
インのうち空白ラインを何割減らすかを示す割合を入力
指定するキーとして機能する。即ち、キー「1」は「1
0%」、キー「2」は「20%」……キー「9」は「9
0%」に対応付けられている。そして、ステップA2で
はテンキーが操作されるまで待機状態となっており、テ
ンキーのうちそのいずれか1つが操作されると、操作キ
ーに対応する割合データが設定データとして入力され、
取捨選択ルール記憶部22に記憶される(ステップA
3)。
FIG. 4 is a flow chart showing the operation when setting the ratio of blank line removal. First, in the guidance display area of the display unit 4, message data for inquiring what percentage the blank line is reduced is displayed and output (step A1). In this state, the keyboard 3
Any one of the above numeric keys “1” to “9” is operated. In this case, the numeric keypad is a key for inputting and designating a ratio indicating the percentage of blank lines to be reduced among N consecutive blank lines. Function as. That is, the key "1" is "1".
0% ", key" 2 "is" 20% "... key" 9 "is" 9 "
0% ”. Then, in step A2, it is in a standby state until the ten key is operated, and when any one of the ten keys is operated, the ratio data corresponding to the operation key is input as the setting data,
It is stored in the sorting rule storage unit 22 (step A
3).

【0012】図5はビットイメージデータを印刷する際
の動作を示したフローチャートである。いま、キーボー
ド3から印刷命令が入力されると、メインRAM10内
のビットイメージデータが読み出されて空白ライン検出
・取捨選択部21に転送される。この状態において、空
白ライン検出・取捨選択部21は内蔵されている空白ラ
インカウンタ(図示せず)をリセットする(ステップB
1)。そして、ビットイメージデータの中からまず、先
頭の1ライン分のデータを抽出し(ステップB2)、そ
のラインが空白ラインか否かを上記第1実施例と同様の
方法でチェックする(ステップB3)。ここで、空白ラ
インでなければ、つまり、1ドット以上のオンドットが
含まれているラインであれば、この1ライン分のデータ
をプリンタ制御部8に転送する(ステップB4)。そし
て、次のステップB5では全ライン分の処理を終了した
かを調べ、終了していなければ、ステップB2に戻り、
以下、同様に次の1ライン分のデータを抽出し、空白ラ
インでなければ、この1ライン分のデータをプリンタ制
御部8に転送する(ステップB4)。
FIG. 5 is a flowchart showing the operation when printing the bit image data. Now, when a print command is input from the keyboard 3, the bit image data in the main RAM 10 is read and transferred to the blank line detection / sorting selection unit 21. In this state, the blank line detection / sorting section 21 resets a built-in blank line counter (not shown) (step B).
1). Then, from the bit image data, first, the data for the first line is extracted (step B2), and whether the line is a blank line or not is checked by the same method as in the first embodiment (step B3). . Here, if it is not a blank line, that is, if it is a line including one or more on-dots, the data for this one line is transferred to the printer control unit 8 (step B4). Then, in the next step B5, it is checked whether or not the processing for all lines is completed. If not completed, the process returns to step B2,
Thereafter, similarly, the data for the next one line is extracted, and if it is not a blank line, the data for one line is transferred to the printer control unit 8 (step B4).

【0013】いま、空白ラインが検出されると、連続す
る空白ライン数を検出する為にステップB6に進み、先
ず、空白ラインカウンタに「1」を加算するインクリメ
ント処理を行う。そして、次の1ライン分のデータを抽
出し(ステップB7)、空白ラインか否かをチェックす
る(ステップB8)。ここで、空白ラインが連続してい
れば、ステップB6に戻り、再び空白ラインカウンタの
値をインクリメントする。このような動作を空白ライン
が検出される毎に繰り返される結果、空白ラインカウン
タの値は連続する空白ライン数となる。
Now, when a blank line is detected, the process proceeds to step B6 to detect the number of consecutive blank lines, and first, an increment process for adding "1" to the blank line counter is performed. Then, the data for the next one line is extracted (step B7), and it is checked whether or not it is a blank line (step B8). If the blank lines are continuous, the process returns to step B6 and the value of the blank line counter is incremented again. As a result of repeating such an operation every time a blank line is detected, the value of the blank line counter becomes the number of consecutive blank lines.

【0014】このようにして連続する空白ライン数を求
めたらステップB9に進み、空白ライン検出・取捨選択
部21は空白ラインカウンタ内の連続する空白ライン数
と取捨選択ルール記憶部22に設定されている割合デー
タとに基づいて比率計算を行い、その結果、空白ライン
カウンタ値からその割合だけ減らした空白ラインを印刷
対象のデータとしてプリンタ制御部8に転送する。そし
て、ステップB10に進み、空白ラインカウンタをリセ
ットしておき、以下、ステップB5に進み、全行分の処
理が終了するまで上述の動作を繰り返す。
When the number of consecutive blank lines is obtained in this way, the process proceeds to step B9, where the blank line detecting / sorting selection unit 21 is set in the number of consecutive blank lines in the blank line counter and the sorting selection rule storage unit 22. The ratio is calculated based on the existing ratio data, and as a result, the blank line reduced by the ratio of the blank line counter value is transferred to the printer control unit 8 as the print target data. Then, the process proceeds to step B10, the blank line counter is reset, and then the process proceeds to step B5 to repeat the above operation until the processing for all rows is completed.

【0015】このように本実施例においては連続する空
白ラインが検出された場合、その空白ライン数を予め設
定されている割合データに応じて減らすようにしたもの
で、例えば、空白ライン数が10本で割合データが「2
0%」であれば、8本の空白ラインが印刷対象となる。
なお、空白ラインが1本である場合に、割合データが
「50%以下」であれば、空白ラインの除去は行わず、
「60%以上」であることを条件にその1本の空白ライ
ンを除去する。また、例えば空白ライン数が6本で割合
データが「30%」のように空白ラインを除去する数に
端数が生じた場合にはそれを四捨五入することによって
空白ラインを除去する数を求める。
As described above, in this embodiment, when continuous blank lines are detected, the number of blank lines is reduced according to preset ratio data. For example, the number of blank lines is 10. Percentage data for books is "2
If it is "0%", eight blank lines are to be printed.
If there is only one blank line and the ratio data is "50% or less", the blank line is not removed,
The one blank line is removed on condition that it is “60% or more”. In addition, for example, when the number of blank lines is 6 and the ratio data is "30%" and a fractional number occurs in the number of blank line removal, the number is removed by rounding off to obtain the number of blank line removal.

【0016】なお、上記各実施例はシリアルプリンタを
例に挙げたが、これをラインプリンタとしてもよく、し
かもビットイメージデータを印刷する場合に限らず、こ
れを表示出力する場合であってもよい。また、上記各実
施例は1ドット幅の1ドット列毎に空白ラインを検出す
るようにしたが、そのドット幅は任意である。また、上
記各実施例はビットイメージデータをメインRAM10
に記憶させておいたが、外部記憶装置あるいはファクシ
ミリ等のように通信データを受信することによってビッ
トイメージデータを得るようにしてもよい。更に、ファ
クシミリ装置によって受け取るCCITT(国際電信電
話諮問委員会)のT4勧告にしたがったデータはMHま
たはMRで符号化され、この符号化の性質としてビット
イメージデータに符号化しなくても空白ラインの検出を
容易に行うことができるので、空白ラインの検出はビッ
トイメージデータに符号化する前に行ってもよい。ま
た、上記第2実施例は取捨選択ルール記憶部22に空白
ラインを除去する割合データを設定するようにしたが、
本数を設定するようにしてもよい。即ち、空白ラインが
3本以上連続した場合に、3本目以降の空白ラインを取
り除くようにその本数として「3」を設定するようにし
てもよい。その他、取捨選択ルール記憶部22に設定す
る内容は任意であり、この設定内容にしたがって空白ラ
インを取り除くようにすればよい。
In the above embodiments, the serial printer is taken as an example. However, this may be used as a line printer, and not only the case of printing bit image data but also the case of displaying and outputting it. . Further, in each of the above-described embodiments, the blank line is detected for each dot row of 1 dot width, but the dot width is arbitrary. In each of the above embodiments, bit image data is transferred to the main RAM 10.
However, the bit image data may be obtained by receiving communication data as in an external storage device or a facsimile. Further, the data received by the facsimile device according to the CCITT (International Telegraph and Telephone Advisory Committee) T4 recommendation is coded by MH or MR, and the nature of this coding is to detect a blank line even if it is not coded into bit image data. Therefore, the detection of the blank line may be performed before encoding the bit image data. Further, in the second embodiment described above, the ratio data for removing blank lines is set in the selection rule storage unit 22,
You may make it set the number. That is, when three or more blank lines are continuous, the number of blank lines after the third blank line may be set to "3" so as to be removed. In addition, the content set in the selection rule storage unit 22 is arbitrary, and the blank line may be removed according to the setting content.

【0017】[0017]

【発明の効果】この発明によれば、出力イメージに展開
された展開イメージデータの中から空白ラインを効果的
に取り除いて出力することができるので、ペーパーフィ
ードの回数を減らすことが可能となり、ロール紙の使用
量を節減でき、またインクリボンの使用量も少なくな
る。
According to the present invention, since blank lines can be effectively removed from the expanded image data expanded into the output image and then output, it is possible to reduce the number of paper feeds and to roll the paper. The amount of paper used can be reduced, and the amount of ink ribbon used also decreases.

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

【図1】第1実施例を示したビットイメージ出力装置の
ブロック構成図。
FIG. 1 is a block configuration diagram of a bit image output device showing a first embodiment.

【図2】第1実施例の印刷例を示し、(B)は(A)に
示すビットイメージデータから空白部分を取り除いた状
態で印刷した場合の印刷例を示した図。
FIG. 2 is a diagram showing a printing example of the first embodiment, and FIG. 2B is a diagram showing a printing example when printing is performed in a state where a blank portion is removed from the bit image data shown in FIG.

【図3】第2実施例を示したビットイメージ出力装置の
ブロック構成図。
FIG. 3 is a block configuration diagram of a bit image output device showing a second embodiment.

【図4】第2実施例において取捨選択ルール記憶部22
への設定動作を示したフローチャート。
FIG. 4 is a selection rule storage unit 22 in the second embodiment.
6 is a flowchart showing the setting operation for the.

【図5】第2実施例において、ビットイメージデータの
印刷動作を示したフローチャート。
FIG. 5 is a flowchart showing a bit image data printing operation in the second embodiment.

【図6】従来のビットイメージ出力装置のブロック構成
図。
FIG. 6 is a block configuration diagram of a conventional bit image output device.

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

1 CPU 2 ROM 5 シリアルプリンタ 8 プリンタ制御部 10 メインRAM 11 空白ライン検出部 21 空白ライン検出・取捨選択部 22 取捨選択ルール記憶部 1 CPU 2 ROM 5 Serial Printer 8 Printer Control Unit 10 Main RAM 11 Blank Line Detection Unit 21 Blank Line Detection / Random Selection Unit 22 Random Selection Rule Storage Unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】出力イメージに展開された展開イメージデ
ータの中から空白ラインを検出する空白ライン検出手段
と、 この空白ライン検出手段によって検出された空白ライン
を展開イメージデータの中から取り除く空白ライン除去
手段と、 この空白ライン除去手段によって空白ラインが取り除か
れた展開イメージデータを出力する出力手段と、 を具備したことを特徴とするデータ出力装置。
1. A blank line detecting means for detecting a blank line in the developed image data developed in an output image, and a blank line removal for removing the blank line detected by the blank line detecting means from the developed image data. A data output device comprising: a means and an output means for outputting the developed image data from which the blank line has been removed by the blank line removal means.
【請求項2】出力イメージに展開された展開イメージデ
ータの中から空白ラインを検出する空白ライン検出手段
と、 展開イメージデータの中から空白ラインを取り除く際の
規則を設定する規則設定手段と、 前記空白ライン検出手段によって検出された空白ライン
を前記規則設定手段によって設定された規則にしたがっ
て取り除く空白ライン除去手段と、 この空白ライン除去手段によって空白ラインが取り除か
れた展開イメージデータを出力する出力手段と、 を具備したことを特徴とするデータ出力装置。
2. A blank line detecting means for detecting a blank line in the expanded image data expanded into an output image, and a rule setting means for setting a rule for removing a blank line from the expanded image data, Blank line removal means for removing the blank line detected by the blank line detection means according to the rule set by the rule setting means, and output means for outputting the developed image data from which the blank line has been removed by the blank line removal means. A data output device comprising:
JP4257605A 1992-09-02 1992-09-02 Data output device Pending JPH0683823A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4257605A JPH0683823A (en) 1992-09-02 1992-09-02 Data output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4257605A JPH0683823A (en) 1992-09-02 1992-09-02 Data output device

Publications (1)

Publication Number Publication Date
JPH0683823A true JPH0683823A (en) 1994-03-25

Family

ID=17308593

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4257605A Pending JPH0683823A (en) 1992-09-02 1992-09-02 Data output device

Country Status (1)

Country Link
JP (1) JPH0683823A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010064433A (en) * 2008-09-12 2010-03-25 Ricoh Co Ltd Image formation device, image formation control method, image formation control program, and recording medium
US8432566B2 (en) 2008-04-17 2013-04-30 Seiko Epson Corporation Printer driver and method of printing print data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8432566B2 (en) 2008-04-17 2013-04-30 Seiko Epson Corporation Printer driver and method of printing print data
JP2010064433A (en) * 2008-09-12 2010-03-25 Ricoh Co Ltd Image formation device, image formation control method, image formation control program, and recording medium

Similar Documents

Publication Publication Date Title
US5563986A (en) Image processing system
EP0478304B1 (en) Character output device
EP0407154B1 (en) Printers
CN1741566B (en) Method, apparatus for processing image data for rendering an image on a device
JPH0683823A (en) Data output device
US5345518A (en) Pattern generator
JPH04230172A (en) Facsimile data processor
JPH09168092A (en) Image processing unit
JP2972466B2 (en) Dot pattern compression method and apparatus and output method and apparatus
JP3108936B2 (en) Document processing device
JP3226600B2 (en) Image processing device
JP2660127B2 (en) Print density conversion method for page printer
JP3249647B2 (en) Image processing device
JP3033731B2 (en) Ruled line processing device, ruled line processing method, and recording medium for recording program
JPS6316766A (en) Printing device
JP3657081B2 (en) Printer controller
JPH08132684A (en) Braille block copy output system and braille block copy outputting method
JPH01271276A (en) Printing apparatus
JP2000078404A (en) Image processor
JPH05108893A (en) Printer
JPH04196977A (en) Facsimile device
JPH0888764A (en) Facsimile equipment
JPH04349779A (en) Facsimile equipment
JPH09238211A (en) Image processing method
JPH04309053A (en) Facsimile equipment