JPS59123987A - Print data developing method of image memory - Google Patents

Print data developing method of image memory

Info

Publication number
JPS59123987A
JPS59123987A JP57232792A JP23279282A JPS59123987A JP S59123987 A JPS59123987 A JP S59123987A JP 57232792 A JP57232792 A JP 57232792A JP 23279282 A JP23279282 A JP 23279282A JP S59123987 A JPS59123987 A JP S59123987A
Authority
JP
Japan
Prior art keywords
image memory
processor
dma
memory
data
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
JP57232792A
Other languages
Japanese (ja)
Inventor
Kazutoshi Asahi
朝日 一利
Tomonari Adachi
足立 具成
Hisashi Tanaka
尚志 田中
Yutaka Watanabe
裕 渡辺
Toshiharu Oshima
大島 俊春
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 JP57232792A priority Critical patent/JPS59123987A/en
Publication of JPS59123987A publication Critical patent/JPS59123987A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/10Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers by matrix printers

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)

Abstract

PURPOSE:To shorten the idle time of a processor and to improve an eutire processing speed by allowing the processor to develop the next page data in a memory in a dot pattern form while a dot data in an image memory is transferred on DMA basis. CONSTITUTION:A host CPU1 and a mechanism having a printer are connected to the image memory IM through the processor 4, and the channel 2 of the CPU1 is connected to a main storage MS. Then, DMA subchannels 7 and 7' and a DMA controller 6 are provided between the channel 2 and main storage MS, and memory IM and a printer interface 5. While the dot data as the 1st page in the memory IM is transferred on DMA basis to a printer by the subchannel 7', the subchannel 7 develops the dot data as the next page in the memory IM under the control of the processor 4, thus increasing the entire processing speed.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、イメージ・メモリを用いるプリンタにおける
イメージ−メモリのプリント・データ展開方法に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an image-memory print data expansion method in a printer using an image memory.

〔従来技術と問題点〕[Prior art and problems]

第1図はイメージ・メモリのプリント・データ展開方法
の従来例を示すものであって、IMはイメージ・メモリ
、番はドツトの縦方向アドレス、jはドツトの横方向ア
ドレスをそれぞれ示す。従来方法では、イメージ・メモ
リIMを使用してプリンタで印刷する場合、以下の手順
でプリント・データの展開を行っていた。
FIG. 1 shows a conventional method for developing print data in an image memory, where IM indicates the image memory, number indicates the vertical address of a dot, and j indicates the horizontal address of the dot. In the conventional method, when printing with a printer using the image memory IM, print data was developed in the following procedure.

(11第1図(alに示すように、プロセッサの制御に
より、1画面分のイメージ・メモリIMにプリントした
い1ページ目の図形をドツト・パターンでライトする。
(11) As shown in FIG. 1 (al), under the control of the processor, the figure of the first page to be printed is written in the image memory IM for one screen in a dot pattern.

(2)第1図(blに示すように、(1)の処理を行っ
た後、DMAによりイメージ・メモリI Mをスキャン
し、その結果リードされた論理「iJp  rOJの信
号なビテオ・データとしてプリンタのメカ部(機構部)
に送出する。
(2) As shown in Figure 1 (bl), after performing the processing in (1), the image memory IM is scanned by DMA, and the read logic ``iJp rOJ signal'' is processed as video data. Mechanical part of the printer (mechanical part)
Send to.

(3)第1図IC)に示すように上記(1)の処理に戻
り、2ページ目のページ・データをドツト・パターン化
してイメージ・メモリIMにライトする。
(3) As shown in FIG. 1 (IC), the process returns to step (1) above, and the page data of the second page is converted into a dot pattern and written into the image memory IM.

第1図に示すような従来方法は、プロセッサによって図
形をドツト・パターンの形でライトした後KDMA転送
によりイメージ・メモリの内容ヲプリンタ側に送出して
いるので、全体としての処理時間が長くなるという欠点
があり、また、DMA転送中はプロセッサは遊んでいる
ので、プロセッサの使用効率も悪いという欠点を有して
いる。
In the conventional method shown in Figure 1, the processor writes the graphics in the form of a dot pattern and then sends the contents of the image memory to the printer using KDMA transfer, which increases the overall processing time. Furthermore, since the processor is idle during DMA transfer, the processor is not used efficiently.

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

本発明は、上記の考察に基づくものであって、プロセッ
サを効率よく使用して全体としての処理速度を向上でき
るようにしたイメージ・メモリのプリント・データ展開
方法を提供することを目的としている。
The present invention is based on the above consideration, and an object of the present invention is to provide a method for expanding print data in an image memory, which makes it possible to efficiently use a processor and improve overall processing speed.

〔発明の構成〕[Structure of the invention]

そしてそのため、本発明のイメージ・メモリのプリント
・データ展開方法は、イメージ・メモリを用いたプリン
タにおいて、1画面分の大きさをもつイメージ・メモリ
内のドツト・データをダイレクト・メモリ・アクセスで
プリンタ側に転送している期間中に、同一のイメージ・
メモリに対してこのダイレクト・メモリ舎アクセスによ
る転送を追いかける形で次ページのコードデータをドツ
ト・パターン化して展開することを特徴とするものであ
る。
For this reason, the image memory print data expansion method of the present invention allows dot data in the image memory, which has the size of one screen, to be transferred to the printer using direct memory access in a printer using the image memory. During the period of transfer to the side, the same image
This system is characterized by developing the code data of the next page into a dot pattern in the form of following the transfer to the memory by this direct memory access.

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

以下、本発明を図面を参照しつつ説明する。 Hereinafter, the present invention will be explained with reference to the drawings.

第2図は本発明によるイメージ・メモリの内容の変化を
示す図、第3図は本発明を実施するためのハードウェア
構成の1例を示す図、第4図はDMA転送によりイメー
ジ・メモリの内容をプリンタに送出する動作を説明する
ための図、第5図は本発明で使用されるプロセッサの処
理を説明するだめのフローチャートである。
FIG. 2 is a diagram showing changes in the contents of the image memory according to the present invention, FIG. 3 is a diagram showing an example of a hardware configuration for implementing the present invention, and FIG. 4 is a diagram showing changes in the contents of the image memory by DMA transfer. FIG. 5 is a flowchart for explaining the processing of the processor used in the present invention.

イメージ・メモリIMの内容は、第2図(a)、 (b
)。
The contents of the image memory IM are shown in Figure 2 (a) and (b).
).

(C)、 (d)のように変化する。第2図(a)、 
(b)、 (C)、 (d)は下記のような状態を示し
ている。
It changes as shown in (C) and (d). Figure 2(a),
(b), (C), and (d) show the following states.

第2図(a) 1ページ目のページ・データがドツト・パターン化され
てイメージ・メモリに展開されている第2図(bl この図は、アの部分が15@c D M A転送によっ
て既にプリントされてしまっているので、プロセッサに
よって2ぺ・−ジ目のページ・データの前半がドツト・
パターン化されてイメージ・メモリIMのアの部分に展
開されている。
Figure 2 (a) Figure 2 (bl) in which the page data of the first page is converted into a dot pattern and expanded into the image memory. Since the data has already been printed, the first half of the second page data is converted into dots by the processor.
It is patterned and developed in part A of the image memory IM.

第2図(cl 1ページ目のプリントが全て終っており、その後、プロ
セッサによって2ページ目のページ・データが全てドツ
ト・パターン化されてイメージ・メモリIMに展開され
ている。
FIG. 2 (cl) All printing of the first page has been completed, and then all the page data of the second page is converted into a dot pattern by the processor and developed in the image memory IM.

第2図(di 2ページ目のドツト・データのDMA転送が始っておυ
、残るはオの部分のみである。工の部分には3ページ目
のページ・データの一部がプロセッサによってドツト・
パターン化され既に書かれている。
Figure 2 (di) The DMA transfer of the dot data on the second page has started.
, only the part O remains. In the processing part, part of the page data of the third page is written as a dot by the processor.
It has been patterned and already written.

これ以後のイメージ・メモリの内容の変化は容易に推測
できるものであると思われるので、その説明は省略する
It seems that the changes in the contents of the image memory after this point can be easily guessed, so the explanation thereof will be omitted.

第3図は本発明を実施するだめのハードウェア構成の1
例を示す図である。第3図において、CGは文字発生器
、MSは主記憶、1はホス)CPU。
Figure 3 shows one of the hardware configurations for implementing the present invention.
It is a figure which shows an example. In FIG. 3, CG is a character generator, MS is a main memory, and 1 is a CPU (host).

2はチャネル、3は対ホス)CPUインタフェース、4
はプロセッサ、5は対プリンタ・インタフェース、6は
DMAコントローラ、7と71はDMAサブチャネルで
ある。8〜11及び8/〜、11ノは各サブチャネルの
内容を示し、8と8/はiアドレス・レジスタ、9と9
/はjアドレス・レジスタ、10と10/はバイト響カ
ウンタ、11と11/はモード/ステータス・レジスタ
をそれぞれ示している。また、細線は制御の流れを示し
、太線はDMA転送によるデータの流れを示す。DMA
サブチャネル7は、iアドレス・レジスタ8、jアドレ
ス・レジスタ9、 バイト・カウンタ10およびモード
/ステータス・レジスタ11などを有している。DMA
サブチャネル7/も同様な構成を有している。DMAコ
ントローラ6はこれらのレジスタを参照してメモリ・ア
クセスを行う。DMAコントローラ6およびDMAサブ
チャネル7は、ホストCPU側と主記憶MSとの間のデ
ータ転送を行うためのものである。DMAコントローラ
6パおよびDMAサブチャネル7′は、イメージ・メモ
リIMのドツト・データをプリンタへ転送するためのも
のである。
2 is the channel, 3 is the host (to host) CPU interface, 4
5 is a printer interface, 6 is a DMA controller, and 7 and 71 are DMA subchannels. 8 to 11 and 8/ to 11 indicate the contents of each subchannel, 8 and 8/ are i address registers, and 9 and 9.
/ indicates the j address register, 10 and 10/ indicate the byte counter, and 11 and 11/ indicate the mode/status register, respectively. Further, thin lines indicate the flow of control, and thick lines indicate the flow of data by DMA transfer. D.M.A.
Subchannel 7 includes an i-address register 8, a j-address register 9, a byte counter 10, a mode/status register 11, and the like. D.M.A.
Subchannel 7/ also has a similar configuration. The DMA controller 6 performs memory access by referring to these registers. The DMA controller 6 and the DMA subchannel 7 are for transferring data between the host CPU side and the main memory MS. The DMA controller 6 and DMA subchannel 7' are for transferring dot data in the image memory IM to the printer.

ホストCPU1側に存在するコードの形のページ・デー
タは、ホストCPU側のDMAコントローラ6およびD
MAサブチャネル7によって主F憶MSにライトされる
。プロセッサ4は、主記憶MSに格納されているコード
の形のページ・f −夕を文字発生器CGi用いてドツ
ト・パターンの形のデータに変換して、イメージ・メモ
リIMにライトする。イメージ・メモリIMの中のドツ
ト・データは、DMAコントローラ6′およびDMAサ
ブチャネル7′によってプリンタのメカ側に送られる。
Page data in the form of code existing on the host CPU 1 side is transferred to the DMA controller 6 and D on the host CPU side.
Written to the main memory MS by MA subchannel 7. The processor 4 uses a character generator CGi to convert page f in the form of a code stored in the main memory MS into data in the form of a dot pattern and writes it into the image memory IM. The dot data in the image memory IM is sent to the mechanical side of the printer by a DMA controller 6' and a DMA subchannel 7'.

第4図はDMA転送によりイメージ・メモリの内容をプ
リンタに送出する動作を説明するための図であり、同図
において12と13はインクリメンタをそれぞれ示して
いる。jアドレス・レジスタ9′の内容はインクリメン
タ13によって逐次増加され、イメージ・メモリIMは
jアドレス増加方向にスキャンされ、バイト・カウンタ
10/の内容が逐次減じられて、その値がOになると、
−回のDMA転送が終了し、プロセッサ4の制御によっ
てtアドレス・レジスタ81がインクリメントされ、次
のスキャン(DMA転送)が開始される。
FIG. 4 is a diagram for explaining the operation of sending the contents of the image memory to the printer by DMA transfer, and in the figure, 12 and 13 indicate incrementers, respectively. The contents of the j address register 9' are sequentially incremented by the incrementer 13, the image memory IM is scanned in the direction of incrementing the j address, and the contents of the byte counter 10/ are sequentially decremented until the value reaches O.
- times of DMA transfer is completed, the t address register 81 is incremented under the control of the processor 4, and the next scan (DMA transfer) is started.

DMAサブチャネル7/ノ各レジスタ8’、 9’、 
10’。
DMA subchannel 7/each register 8', 9',
10'.

11/は、常にプロセッサ4によりリード可能である。11/ is always readable by processor 4.

第5図は本発明で使用されるプロセッサの処理を説明す
るためのフローチャートである。なお、点線で示される
範囲はプロセッサとDMAとが同時動作する範囲を示す
FIG. 5 is a flowchart for explaining the processing of the processor used in the present invention. Note that the range indicated by the dotted line indicates the range in which the processor and DMA operate simultaneously.

■ 最初のページのデータを解析し、イメージ・メモリ
IM上に展開する。
■ Analyze the first page data and expand it on the image memory IM.

■ DMAサブチャネル7′の設定を行う。■ Set up the DMA subchannel 7'.

■ DMAコントローラ6を起動する。■ Start up the DMA controller 6.

■ ホス)CPUに対して次のページ・データを要求し
、ホストCPUから送られて来た次のページ・データを
受信し、解析する。
■ Requests the next page data from the host CPU, receives and analyzes the next page data sent from the host CPU.

■ DMAのtアドレス・レジスタ8′をリードする。■ Read the DMA t address register 8'.

■ DMAのtアドレス・レジスタ8′の内容が1ペ一
ジ分の終了を示しているか、否かを調べる。Yesのと
きは■の処理を行い、Noのときは■の処理を行う。
(2) Check whether the contents of the DMA t address register 8' indicate the end of one page. If Yes, process (2) is performed, and if No, process (2) is performed.

■ iアドレス・レジスタ8′の内容が所定量増加した
か、否かを調べる。Yesの場合には■の処理を行い、
Noのときは■の処理に戻る。
■ Check whether the contents of the i-address register 8' have increased by a predetermined amount. If Yes, perform the process of ■,
When the answer is No, the process returns to step (■).

■ 次のページ・データの一部をイメージ・メモリIM
上に展開する。
■ Part of the next page data is transferred to image memory IM.
Expand on top.

■ 次のページ・データの残り全てをイメージ・メモリ
IM上に展開する。
■ Expand all remaining next page data onto the image memory IM.

T) E N D割込み(1ライン転送終了)が発生し
た場合には、[相]、■、0の処理が行われる。
T) When an END interrupt (one line transfer end) occurs, the processes of [phase], ■, and 0 are performed.

[相] DMAサブチャネル71頓アi゛レスφレジス
タ8′の内容を+1する。
[Phase] The contents of the DMA subchannel 71 address φ register 8' are incremented by 1.

■ 1ペ一ジ分終了か否かを調べ、Yesのときは元の
プログラムにリターンし、 Noの場合には0の処理を
行う。
■ Check whether one page has been completed, and if yes, return to the original program; if no, perform 0 processing.

Q  DMAコントローラ6′を起動し、元のプログラ
ムに戻る。
Q Start the DMA controller 6' and return to the original program.

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

以上の説明から明らかなように1本発明によれば、イメ
ージ・メモリのドツト・データをDMA転送を行ってい
る間にプロセッサが次のページ・データをイメージ・メ
モリ上にドツト・パターンの形で展開しているので、プ
ロセッサの遊休時間を少なくシ、全体の処理速度を向上
させることが出来る。
As is clear from the above description, according to the present invention, while performing DMA transfer of dot data in the image memory, the processor transfers the next page data onto the image memory in the form of a dot pattern. Since the processor is expanded, the idle time of the processor can be reduced and the overall processing speed can be improved.

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

第1図はイメージ・メモリのプリント・データ展開方法
の従来例を示す図、第2図は本発明によるイメージ・メ
モリの内容の変化を示す図、第3図は本発明を実施する
ためのハードウェア構成の1例を示す図、第4図はDM
A転送によりイメージ・メモリの内容をプリンタに〜送
出する動作を説明するための図、第5図は本発明で使用
されるプロセッサの処理を説明するためのフローチャー
トである。 IM・・・イメージ・メモリ、CG・・・文字発生器、
MS・・・主記憶、1・・・ホストCPU、2・・・チ
ャネル、3・・・対ホス)CPUインタフェース、4・
・・プロセッサ、5・・・対プリンタQインタフェース
、6・・・DMAコントローラ、7と7′・・・DMA
サブチャネル、8ト8/・・・tアドレス・レジスタ、
9と9′・・・jアドレス・レジスタ、10と10′・
・・バイト・カウンタ、11と11′・・・モード/ス
テータス・レジスタ。 特許出願人 富士通株式会社 代理人弁理士 京 谷 四 部
FIG. 1 is a diagram showing a conventional example of a method for developing print data in an image memory, FIG. 2 is a diagram showing changes in the contents of an image memory according to the present invention, and FIG. 3 is a diagram showing a hardware for implementing the present invention. A diagram showing an example of the software configuration, Figure 4 is DM
FIG. 5 is a flowchart for explaining the processing of the processor used in the present invention. IM...image memory, CG...character generator,
MS...Main memory, 1...Host CPU, 2...Channel, 3...CPU interface to host, 4...
... Processor, 5... Printer Q interface, 6... DMA controller, 7 and 7'... DMA
Subchannel, 8t8/...t address register,
9 and 9'...j address register, 10 and 10'...
...Byte counter, 11 and 11'...Mode/Status register. Patent Applicant: Fujitsu Limited Representative Patent Attorney Yotsube Kyotani

Claims (1)

【特許請求の範囲】[Claims] イメージ・メモリを用いたプリンタにおいて、1画面分
の大きさをもつイメージ・メモリ内のドツト・データを
ダイレクト・メモリ・アクセスでプリンタ側に転送して
いる最中に、それを追いかける形で同一のイメージ・メ
モリに対して次ページのコードデータをドツト・パター
ン化して展開することを特徴とするイメージ・メモリの
プリント・データ展開方法。
In a printer using image memory, while dot data in the image memory with the size of one screen is being transferred to the printer using direct memory access, the same A method for developing print data in an image memory, which is characterized in that code data of the next page is converted into a dot pattern and developed in the image memory.
JP57232792A 1982-12-29 1982-12-29 Print data developing method of image memory Pending JPS59123987A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57232792A JPS59123987A (en) 1982-12-29 1982-12-29 Print data developing method of image memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57232792A JPS59123987A (en) 1982-12-29 1982-12-29 Print data developing method of image memory

Publications (1)

Publication Number Publication Date
JPS59123987A true JPS59123987A (en) 1984-07-17

Family

ID=16944820

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57232792A Pending JPS59123987A (en) 1982-12-29 1982-12-29 Print data developing method of image memory

Country Status (1)

Country Link
JP (1) JPS59123987A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61252173A (en) * 1985-04-30 1986-11-10 Fujitsu Ltd Printer-controlling system
JPH0248966A (en) * 1988-08-11 1990-02-19 Ricoh Co Ltd Image drawing processing system of page printing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61252173A (en) * 1985-04-30 1986-11-10 Fujitsu Ltd Printer-controlling system
JPH0248966A (en) * 1988-08-11 1990-02-19 Ricoh Co Ltd Image drawing processing system of page printing device

Similar Documents

Publication Publication Date Title
JPH04259028A (en) Scaling system for pcl vertical graphics in macro use
JPS59123987A (en) Print data developing method of image memory
JPS6126132A (en) Picture data transfer system
JPS61177067A (en) Printing system
JP2739481B2 (en) Page printer
JP3168853B2 (en) Print data control method
JP3506335B2 (en) Control method
JPH0462080A (en) Printing device
JPH0467964A (en) Page printer printing control method
JPS63278851A (en) Magnification printing system of laser beam printer
JPH07125336A (en) Printing apparatus
JP3210598B2 (en) Print control device and print control method
JPH0432748B2 (en)
JP3143118B2 (en) Printer and print image pattern development method
JPH06149735A (en) Data reception controller
JPH0361562A (en) Printer
JPH1063250A (en) Character processing device
JPH06238950A (en) Controller of page printer
JPH07160443A (en) Printer and its state informing method
JPH1049316A (en) Image forming device and its host device, and print system including the same
JPH04130945A (en) Information processor
JPH02286359A (en) Printer controller
JPH07242030A (en) Perfecting press
JPH0615908A (en) Printing control apparatus
JPH02260025A (en) Printer control system