JPH02294724A - Image data printing system - Google Patents
Image data printing systemInfo
- Publication number
- JPH02294724A JPH02294724A JP1114946A JP11494689A JPH02294724A JP H02294724 A JPH02294724 A JP H02294724A JP 1114946 A JP1114946 A JP 1114946A JP 11494689 A JP11494689 A JP 11494689A JP H02294724 A JPH02294724 A JP H02294724A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- printer
- sent
- printing
- control mechanism
- 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
Links
- 238000007639 printing Methods 0.000 title claims abstract description 25
- 238000000034 method Methods 0.000 claims description 11
- 238000006243 chemical reaction Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004904 shortening Methods 0.000 description 2
- 235000007575 Calluna vulgaris Nutrition 0.000 description 1
- 101100063942 Neurospora crassa (strain ATCC 24698 / 74-OR23-1A / CBS 708.71 / DSM 1257 / FGSC 987) dot-1 gene Proteins 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013144 data compression Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、データ処理装置に係り、特にイメージデータ
の印字速度を向上させるのに好適なイメージデータ印刷
方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data processing device, and particularly to an image data printing method suitable for improving the printing speed of image data.
イメージスキャナ等から読み取られたイメージデータは
、文字コードで表現されるコードデータに比べてデータ
量が膨大に増加している。このためイメージデータの処
理速度は速いものが要求されている.特開昭63−26
779号公報はデータ圧縮を行うことにより、イメージ
データのデータ量を減らして処理速度の向上を図ったも
のである。また,特開昭63−10274号公報は中央
処理装置内のシステムバスとは別なデータパスを設けて
処理速度の向上を図ったものである。The amount of image data read from an image scanner or the like has increased enormously compared to code data expressed by character codes. For this reason, there is a need for fast image data processing speed. JP-A-63-26
No. 779 aims at improving processing speed by reducing the amount of image data by performing data compression. Furthermore, Japanese Patent Application Laid-open No. 10274/1986 aims to improve processing speed by providing a data path separate from the system bus within the central processing unit.
これらの方式は、イメージデータの処理速度向上のため
にそれぞれ専用のハードウェアを必要とするものであり
、ソフトウェア処理のみで実現する方式ではない.また
、イメーシデータの印字速度向上については特に述べら
れていない。Each of these methods requires dedicated hardware to improve the processing speed of image data, and is not a method that can be realized only by software processing. Further, there is no particular mention of improving the printing speed of image data.
上記従来技術では、イメージデータの印字速度について
は言及されておらず,中央処理装置内のイメージデータ
の処理速度向上という形でしかなかった。イメージデー
タの処理速度向上に伴ない印字に到るまでの時間は短縮
することができるが印字出力時間そのものの短縮につい
て解決するものではなかった。The above-mentioned conventional technology does not mention the printing speed of image data, and only improves the processing speed of image data within the central processing unit. As the processing speed of image data increases, the time required for printing can be shortened, but this does not solve the problem of shortening the print output time itself.
本発明の目的は,従来技術の問題点を解決して、特別な
ハートウェア無しでイメージデータの印字速度を向上さ
せることにある。SUMMARY OF THE INVENTION An object of the present invention is to solve the problems of the prior art and to improve the printing speed of image data without special hardware.
上記目的は中央処理装置から送られたイメージデータを
プリンタ制御機構でプリンタへ出力する単位に分割し、
行内に含まれる余白部分を印字位置変更情報に変換する
ことにより、プリンタへ送るイメージデータ量を減らし
て、データ転送時間を短くすることにより達成される。The above purpose is to divide the image data sent from the central processing unit into units to be output to the printer by the printer control mechanism.
This is achieved by converting the blank space included in the line into print position change information, thereby reducing the amount of image data sent to the printer and shortening the data transfer time.
プリント制御機構からプリンタへ送られるビッh II
O I+の連続する余白は連続した所定数のビット+
1 0 11ではなく印字位置変更情報の形式で送られ
るため、データ量が削減さ九、印字速度の向上が達成さ
れる.
〔実施例〕
以下,本発明の一実施例について図面を用いて説即する
6
データ処理装置1は、中央処理装置2と記憶装置3を備
え、プログラムにより制御される。入出力バス4を介し
てイメージスキャナ9を制御するイメージスキャナ制御
機構8、およびプリンタ7を制御するプリンタ制御機構
5が中央処理装置に接続される。Bit II sent from the print control mechanism to the printer
O The consecutive margins of I+ are a predetermined number of consecutive bits+
Since the information is sent in the format of print position change information rather than 1011, the amount of data is reduced and printing speed is improved. [Embodiment] An embodiment of the present invention will be explained below with reference to the drawings.6 A data processing device 1 includes a central processing unit 2 and a storage device 3, and is controlled by a program. An image scanner control mechanism 8 that controls the image scanner 9 and a printer control mechanism 5 that controls the printer 7 are connected to the central processing unit via the input/output bus 4.
イメージスキャナ9からプリンタ7へのイメージデータ
の転送は次のようにして行われる。イメージスキャナ9
から読み取られたイメージデータはイメージスキャナ制
御機構8から入出力バス4を経由して一旦、記憶装置3
に格納される。その後,そのままの形あるいはドッ1・
密度変換等の加工がプログラム制御によって行ねオして
からプリンタ制御機構5を経由してプリンタフに送られ
、印字される。Image data is transferred from the image scanner 9 to the printer 7 as follows. image scanner 9
The image data read from the image scanner control mechanism 8 is sent via the input/output bus 4 to the storage device 3.
is stored in After that, leave it in the same shape or dot 1.
After processing such as density conversion is performed under program control, it is sent to the printer via the printer control mechanism 5 and printed.
イメージスキャナ9より読み取ったイメージデータは通
常第2図(a)のイメージ入力データ21に示すように
いたる所に空白部分を含んでいる。The image data read by the image scanner 9 usually contains blank parts everywhere, as shown in the image input data 21 of FIG. 2(a).
このイメージ入力データ21をそのまま出力するまでイ
メージデータとしてプリンタへ送られてしまうため、空
白部分のイメージデータ転送時間が無駄になる。通常プ
リンタは文字を構成する樅ドット数(例えば24ドット
)に対応したデータフォーマットでイメージデータを受
信し、印字する機能を持っている。このため、プリンタ
制御機構5は中央処理装置2から送られたイメージデー
タを第2図(b)に示すようにプリンタに出力する単位
縦ドット数をもったイメージデータ22に分割し編集す
る必要がある。Since this image input data 21 is sent to the printer as image data until it is output as it is, time for transferring image data in blank areas is wasted. Normally, a printer has a function of receiving and printing image data in a data format corresponding to the number of dots (for example, 24 dots) constituting a character. Therefore, the printer control mechanism 5 needs to edit the image data sent from the central processing unit 2 by dividing it into image data 22 each having the number of vertical dots to be output to the printer, as shown in FIG. 2(b). be.
イメージデータはビット単位に表現されるが、実際にプ
リンタで印字を行なうときには,イメージデータ中のビ
ット゛′1′″で表呪される画素のみが印字動作を伴な
う。つまり,イメージデータ中のビットLL O I+
で表現される画素は実際に印字動作を伴なわず印字位置
を更新することにのみ使用される.
ここで、イメージデータ中のある一定数以上連続したI
t O I1を余白と呼ぶことにする。余白の定義をイ
メージデータ中のある一定数以上連続した′″0″とし
たのは,この余白を印字位置変更情報に変換した場合に
プリンタ7へ送るイメージデータ量が減り、データ転送
の短縮につながる境界値があるためである。Image data is expressed in bits, but when actually printing with a printer, only the pixels marked by bits ``'1'''' in the image data are involved in the printing operation.In other words, the pixels in the image data Bit LL O I+
The pixels represented by are used only to update the print position without actually printing. Here, a certain number or more consecutive I in the image data
t O I1 will be called a margin. The reason why the margin is defined as a certain number or more consecutive ``0'' in the image data is that if this margin is converted into print position change information, the amount of image data sent to the printer 7 will be reduced, which will shorten the data transfer. This is because there is a boundary value that connects them.
プリンタにおけるイメージデータの印字方式を24ピン
の印字ヘッドを持つドットインパクト方式の漢字シリア
ルプリンタを例にとって説明する。The printing method of image data in a printer will be explained using a dot impact type Kanji serial printer with a 24-pin print head as an example.
プリンタはイメージデータを印字するとき,イメージデ
ータ中のビット“1″の部分に着目し、指定された位置
に印字ヘッドを移動させ,印字を行なう。ビット゛′0
″′の部分については,印字する必要が無いため、印字
ヘッドを移動させるためにのみ使用する。しかし、イメ
ージデータ中のビットrr O hで示される部分は,
イメージデータ全部をチェックしないと把握することが
できない。これに対して、印字位置変更制御コード31
による印字位置の変更は、第3図に示すように,制御コ
ード中に印字位置の移動汝の絶対値が指定されているた
め、イメージデータのときのように全てのデータをチェ
ックしなくても良い.nは移動量指?( h h. L
L )のバイト数である。また、チェックするイメー
ジデータ自身もプリンタ7へ転送する必要が無い。When printing image data, the printer focuses on the bit "1" in the image data, moves the print head to a designated position, and prints. Bit ''0
The part ``'' does not need to be printed, so it is used only to move the print head. However, the part indicated by bit rr Oh h in the image data is
It is impossible to understand unless all image data is checked. In contrast, the print position change control code 31
As shown in Figure 3, when changing the print position, the absolute value of the print position movement is specified in the control code, so there is no need to check all the data as in the case of image data. good. Is n the movement amount finger? (h h. L
L ) is the number of bytes. Furthermore, there is no need to transfer the image data itself to be checked to the printer 7.
第4図を用いて行内全てのデータが余白のもの41と行
内に3つの余白42を含むもの42を例にとり変換過程
を説明する。The conversion process will be explained using FIG. 4, taking as examples 41 where all the data in the line is blank and 42 where the line includes three blank spaces 42.
第5図はプリンタ制御機楕5の靖成を示したものである
。プリンタ制$4機構5は、中央処理装置2から送られ
たイメージデータをデータ入出力制御部53を経由して
メモリ54に取り込む.中央処理装置2から送られたイ
メージデータフォーマット62は横スキャン方式である
。これに対してプリンタのイメージデータ受信フォーマ
ット63は縦スキャン方式である。プリンタ7へイメー
ジデータを送るには、横スキャン方式から縦スキャン方
式に変換しなくてはならない。この変換は、縦横変換回
路55を使用して行なわれる.マイクロプロセッS2は
、縦横変換したイメージデータの中に(oO)■6が横
方向に30回以上連続している部分を検索し、(00)
.,が連続している回数に応じて印字位置変更制御コー
ド31の移動景をセットする。このようにして印字位置
変更制御コードに変換されたイメージデータは印字デー
タから除かれる.
以上により残ったイメージデータと印字位置変更制御コ
ードは順にメモリ54に格納され、プリンタ制御部56
を介してプリンタ7へ出力される。FIG. 5 shows the construction of the printer controller 5. The printer system $4 mechanism 5 takes in the image data sent from the central processing unit 2 into the memory 54 via the data input/output control section 53. The image data format 62 sent from the central processing unit 2 is a horizontal scanning format. On the other hand, the image data reception format 63 of the printer is a vertical scanning format. In order to send image data to the printer 7, it is necessary to convert from the horizontal scanning method to the vertical scanning method. This conversion is performed using the vertical/horizontal conversion circuit 55. The microprocessor S2 searches the vertically and horizontally converted image data for a part where (oO)■6 is consecutive 30 times or more in the horizontal direction, and converts it to (00).
.. The moving scene of the print position change control code 31 is set according to the number of consecutive times. The image data converted into the print position change control code in this way is removed from the print data. The image data and print position change control code remaining as described above are sequentially stored in the memory 54, and are stored in the printer control unit 56.
It is output to the printer 7 via.
以上の処理により、イメージデータは印字を行うのに最
低限必要なものだけとなる。余白として取り除いたイメ
ージデータは印字位置変更の制御コードとなるため、余
白部分をイメージデータで送っていたときと比べ、プリ
ンタ7へ送るデータ量は大幅に低減することができる。Through the above processing, the image data becomes only the minimum necessary for printing. Since the image data removed as a margin becomes a control code for changing the print position, the amount of data sent to the printer 7 can be significantly reduced compared to when the margin was sent as image data.
通常,データ処理装置内におけるデータ転送速度は、シ
リアル転送されるプリンタ制御機構5とプリンタ7との
間が一番遅いため、ここを転送するデータ量を減らすこ
とは印字速度の向上に非常に効果がある。Normally, the data transfer speed within a data processing device is slowest between the printer control mechanism 5 and the printer 7, which are serially transferred, so reducing the amount of data transferred here is very effective in improving printing speed. There is.
本発明によれば、イメージ入力を行なって、種々の編集
処理を施して印刷するデータ処理装置において,新たな
ハードウエアを追加することなくイメージデータの印字
速度を向上することができる.According to the present invention, it is possible to improve the printing speed of image data without adding new hardware in a data processing device that inputs an image, performs various editing processes, and prints the data.
第1図は本発明の一実施例を示す構成図,第2図は一般
的なイメージデータを表わした図,第3図は印字位置変
更制御コードを示した図,第4図はイメージデータの最
適化の過程を示す図、第5図はプリンタ制御機構5の構
成図、第6図は中央処理装置から送られるイメージデー
タフォーマットとプリンタのイメージデータ受信フォー
マットを示した図である。
2・・・中央処理装置、 3・・・記憶装置,5・
・・プリンタ制御機構、 7・・・プリンタ、31・
・・印字位置変更制御コード、
6l・・・イメージデータ,
62・・・中央処理装置から送られるイメージデータフ
ォーマット,
63・・・プリンタのイメージデータ受信フォーマット
、Jll1・訛
ば21μ
靖4四
一一/
集1図
真2 図
(b)
ロ7=====ニコ
嶌
図
纂
杢
図
匡亘司コ=■コ]ゴ】]]一一卯専ホ1置変更一希1御
ゴード↓
↓
で2L浜力
第
S
図Figure 1 is a block diagram showing an embodiment of the present invention, Figure 2 is a diagram showing general image data, Figure 3 is a diagram showing a print position change control code, and Figure 4 is a diagram showing image data. FIG. 5 is a diagram showing the optimization process, FIG. 5 is a block diagram of the printer control mechanism 5, and FIG. 6 is a diagram showing the image data format sent from the central processing unit and the image data reception format of the printer. 2...Central processing unit, 3...Storage device, 5.
...Printer control mechanism, 7...Printer, 31.
...Print position change control code, 6l...Image data, 62...Image data format sent from the central processing unit, 63...Printer's image data reception format, Jll1/Accent 21μ Yasushi 4411 / Collection 1 figure Shin 2 figure (b) 7 ===== Nikoshima figure series heather figure Masashi Wataruji ko=■ko]]]] 11 Usenho 1 change Kazuki 1 Gogordo ↓ ↓ 2L Hamariki Figure S
Claims (1)
タ制御機構を介してプリンタに出力するイメージデータ
印刷方式において、前記プリンタ制御機構は前記イメー
ジデータの余白部分を印字位置変更情報に変換して前記
プリンタへ送り、前記プリンタは前記印字位置変更情報
に基づいて印字ヘッドを移動させることを特徴とするイ
メージデータ印刷方式。1. In an image data printing method in which image data sent from a central processing unit is output to a printer via a printer control mechanism, the printer control mechanism converts the margin portion of the image data into printing position change information and outputs it to the printer. The image data printing method is characterized in that the printer moves a print head based on the print position change information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1114946A JPH02294724A (en) | 1989-05-10 | 1989-05-10 | Image data printing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1114946A JPH02294724A (en) | 1989-05-10 | 1989-05-10 | Image data printing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02294724A true JPH02294724A (en) | 1990-12-05 |
Family
ID=14650571
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1114946A Pending JPH02294724A (en) | 1989-05-10 | 1989-05-10 | Image data printing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02294724A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5354908A (en) * | 1976-10-28 | 1978-05-18 | Nec Corp | Dot pattern data transmission system |
JPS5745637A (en) * | 1980-08-30 | 1982-03-15 | Fujitsu Ltd | Picture plane transmission system |
JPH0295A (en) * | 1987-07-10 | 1990-01-05 | Honeywell Bull Inc | Method and apparatus for reducing full page graphics image display data |
-
1989
- 1989-05-10 JP JP1114946A patent/JPH02294724A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5354908A (en) * | 1976-10-28 | 1978-05-18 | Nec Corp | Dot pattern data transmission system |
JPS5745637A (en) * | 1980-08-30 | 1982-03-15 | Fujitsu Ltd | Picture plane transmission system |
JPH0295A (en) * | 1987-07-10 | 1990-01-05 | Honeywell Bull Inc | Method and apparatus for reducing full page graphics image display data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
GB1558458A (en) | Raster printing system | |
US5205660A (en) | Printer capable of generating reduced width bold characters | |
US4607138A (en) | Method of controlling a printing apparatus | |
JP2008030253A (en) | Printer | |
JPH02294724A (en) | Image data printing system | |
JPS6361690B2 (en) | ||
JPS5931751B2 (en) | Dot printing device | |
JPH10337907A (en) | Printing data-processing apparatus | |
JPS6049958A (en) | Kanji printer | |
JPS5871184A (en) | Control system for serial printer | |
JP3003266B2 (en) | Serial printer | |
JPS5941276A (en) | Dot-matrix type serial printer | |
JP3222971B2 (en) | Serial dot printer | |
JPS63125370A (en) | Printer | |
JP3145460B2 (en) | Print data transfer control method | |
JPS6228252A (en) | Dot-matrix printer | |
JPH04344269A (en) | Printer device | |
JPH0542723A (en) | Image printer control | |
JPH0276757A (en) | Dot control system | |
JPS6367167A (en) | Pi character processing of printer | |
JPH0419167A (en) | Printer | |
JPS61225063A (en) | Printing apparatus | |
JPH0490368A (en) | Printing device | |
JPS5899890A (en) | Printer controlling system | |
JPS63203354A (en) | Character pattern editing control system |