JPH0327956A - Printing control device - Google Patents

Printing control device

Info

Publication number
JPH0327956A
JPH0327956A JP1164690A JP16469089A JPH0327956A JP H0327956 A JPH0327956 A JP H0327956A JP 1164690 A JP1164690 A JP 1164690A JP 16469089 A JP16469089 A JP 16469089A JP H0327956 A JPH0327956 A JP H0327956A
Authority
JP
Japan
Prior art keywords
data
memory
printing
section
rotation
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
JP1164690A
Other languages
Japanese (ja)
Inventor
Osamu Takahashi
治 高橋
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP1164690A priority Critical patent/JPH0327956A/en
Publication of JPH0327956A publication Critical patent/JPH0327956A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make unnecessary an area for printing data after 90 deg. rotation in memory and processing time for extra 90 deg. rotation by providing a system in which printing data can be printed as it is rotated 90 deg.. CONSTITUTION:Memory in which bit map-like printing data is stored and a device which rotates 90 deg. while sad is data is transferred to a printing device are provided. That is, a two-dimensional DMA mechanism 31, a printing data buffer 34 and a switching mechanism 35 are provided and these devices transfer printing data from memory. The printing data can be rotated 90 deg. while it is sent from memory to the printing device 1. Thus an area for printing data after 90 deg. rotation is no longer required in memory and also no processing time for an extra 90 deg. rotation is required.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、光ファイルシステム、ノくソコンなと、OA
システムなどで使用する印刷制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention is applicable to optical file systems, computer computers, OA
It relates to printing control devices used in systems, etc.

従来の技術 従来、この種の印刷制御装置では、ビ・ソトマ・ソプ状
のデータを90度回転し印刷する必要がある場合、メモ
リ内に90度回転した印刷用データを準備してから印刷
装置にデータを送出しなければならなかった。例えば、
第4図において、メモリ12にある90度回転前のビッ
トマップ状のデータがあるとする。これを90度回転し
印刷する場合、そのメそり12からこのデータを読みだ
し、90度回転部13により、これを90度回転し、メ
モリ12内の空いているエリアに書き込む。このデータ
をDMAC部14などにより印刷制御部l5へ送出し、
印刷装置16で印刷する。という手順を踏む必要があっ
た。なお、11はCPU部、17は制御バスである。
BACKGROUND ART Conventionally, in this type of printing control device, when it is necessary to print data rotated by 90 degrees, the print control device prepares the print data rotated by 90 degrees in memory before printing the data. data had to be sent to. for example,
In FIG. 4, it is assumed that there is bitmap data in the memory 12 before rotation by 90 degrees. When printing this by rotating it by 90 degrees, this data is read from the mesh 12, rotated by 90 degrees by the 90 degree rotation unit 13, and written into a vacant area in the memory 12. This data is sent to the print control unit l5 by the DMAC unit 14 or the like,
The printing device 16 prints. It was necessary to take this step. Note that 11 is a CPU section and 17 is a control bus.

発明が解決しようとする課題 このため、メモリ内に90度回転する前のデータエリア
と同一の大きさの90度回転後の印刷用データのための
エリア、および、90度回転するための処理時間を必要
とした。
Problems to be Solved by the Invention For this reason, an area for print data after rotation by 90 degrees and a processing time for rotation by 90 degrees is required in memory, which is the same size as the data area before rotation by 90 degrees. required.

本発明では、この2点の問題を解決するためのものであ
り、メモリ内に90度回転後の印刷用データのためのエ
リア、および余分な90回転するための処理時間を不要
とする、優れた印刷制御装置を提供することを目的とす
るものである。
The present invention is intended to solve these two problems, and is an excellent method that eliminates the need for an area in memory for print data after rotation by 90 degrees and processing time for extra 90 rotations. The object of the present invention is to provide a print control device that provides a print control device with a high level of performance.

課題を解決するための手段 本発明では、上記目的を達戊するために、メモリから印
刷用データを二次元DMA機構、印刷データ用バッファ
、スイッチ機構を設け、メモリから印刷装置に印刷デー
タを送出する間に、印刷用データを90度回転できるよ
うにしたものである。
Means for Solving the Problems In order to achieve the above object, the present invention provides a two-dimensional DMA mechanism, a print data buffer, and a switch mechanism to send print data from the memory to a printing device. The print data can be rotated 90 degrees during the printing process.

作用 したがって、本発明によれば、メモリから印刷装置に印
刷データを送出する間に、印刷用データを90度回転で
きるようにすることにより、メモリ内に90度回転後の
印刷用データのためのエリアおよび余分な90度回転す
るための処理時間を不要とするという効果を有するもの
である。
Therefore, according to the present invention, by enabling the print data to be rotated by 90 degrees while sending the print data from the memory to the printing device, the print data after being rotated by 90 degrees is stored in the memory. This has the effect of eliminating the need for area and processing time for extra 90 degree rotation.

実施例 第1図は本発明の一実施例のブロック図を示す。ただし
、印刷データの流れに必要なブロックを示し、実際印刷
制御するブロックは省略している。また第2図は、これ
に基づく、印刷時の印刷データの90度回転のデータフ
ローの例を示す。
Embodiment FIG. 1 shows a block diagram of an embodiment of the present invention. However, blocks necessary for the flow of print data are shown, and blocks that actually control printing are omitted. Further, FIG. 2 shows an example of a data flow for rotating print data by 90 degrees during printing based on this.

第3図は90度回転し印刷する例を示すものである。FIG. 3 shows an example of printing after rotating 90 degrees.

第3図に示すように22のデータを90度回転し印刷す
る場合、印刷されたものは22または23の場合がある
。この図で示す矢印は、データの読み出し順、または、
印刷順を示す。ここでは、21のデータを23のように
印刷する場合を例に取り説明する。また、22のように
印刷する場合も同様な動作で行うことができる。
As shown in FIG. 3, when data 22 is rotated 90 degrees and printed, the printed data may be 22 or 23. The arrows shown in this figure indicate the data read order or
Indicates the printing order. Here, the case where data 21 is printed as 23 will be explained as an example. Further, when printing as shown in 22, the same operation can be performed.

第l図において、l1はCPU部で、制御バス17を通
じ、各ブロックを制御する。12は印刷用データが準備
されたメモリ部で、このデータは、2次元DMAC部3
1と書き込み制御部34により、バソファ部32に書き
込まれる。このデータは順次読み出し制御部34により
バッファ部32より読み出され、スイッチ制御部35に
制御されるスイッチ部33を通り印刷装置16に送られ
、印刷をする。
In FIG. 1, 11 is a CPU unit that controls each block through a control bus 17. In FIG. Reference numeral 12 denotes a memory section in which print data is prepared, and this data is stored in the two-dimensional DMAC section 3.
1 and is written into the bath sofa section 32 by the write control section 34. This data is sequentially read out from the buffer section 32 by the readout control section 34, sent to the printing device 16 through the switch section 33 controlled by the switch control section 35, and printed.

次に印刷用データがメモリ部12から読み出され、印刷
装置16で印刷されるまでにデータを90度回転する動
作を第2図に従い説明する。メモリ部12に準備された
印刷用データは、mxnワードから構成されているとす
る。メモリ部l2は一次元メモリで、データは、m−1
, ・・・・・・,21.1−1,m−2,・・・・・
・,m−n,2−n,1−nの順に格納されているとす
る。これを二次元DMAC部31により1−1.1−2
,・・・・・・1−n,2−1,・・・・・・ m−1
  ・・・・・・ m−nの順に読み出され、バッファ
部32に書き込まれる。一度に読み出されるビット長を
L+1とすると、各ビット単位で順に図に示すようにバ
ッファ部32に書き込む。各ビット用のバッファの深さ
はnである。読み出し制御部34によりバソファ部32
から印刷用データが読み出され、スイノチ部33を通じ
シリアルまたはパラレルデータで印刷装置へ送出される
。スイッチ制御部35は、bitoから順にn長ぶんデ
ータが読み出されては、スイッチ部33をきりかえる。
Next, referring to FIG. 2, an explanation will be given of the operation of reading printing data from the memory section 12 and rotating the data by 90 degrees before being printed by the printing device 16. It is assumed that the print data prepared in the memory section 12 is composed of mxn words. The memory section l2 is a one-dimensional memory, and the data is m-1
, ......, 21.1-1, m-2, ...
, m-n, 2-n, and 1-n. The two-dimensional DMAC unit 31 converts this into 1-1.1-2
,...1-n,2-1,... m-1
. . . They are read out in the order of m−n and written to the buffer section 32. Assuming that the bit length read at one time is L+1, each bit is sequentially written to the buffer unit 32 as shown in the figure. The depth of the buffer for each bit is n. The readout control unit 34 controls the bath sofa unit 32.
Printing data is read out from the printer 33 and sent to the printing device in the form of serial or parallel data through the input unit 33. The switch control unit 35 switches the switch unit 33 after n lengths of data are read out from bito in order.

バッファ部32はダブルバソファ構成し、21からのデ
ータをバッファ部32に書き込むのと、バンファ部32
から読み出すのを並行して行うようにする。このように
して、メモリ部12にある21のデータは、22のよう
な状態で90度回転され印刷装置で印刷される。
The buffer section 32 has a double bath sofa configuration, and the data from 21 is written to the buffer section 32, and the buffer section 32
Read from in parallel. In this way, the data 21 in the memory unit 12 is rotated 90 degrees as shown in 22 and printed by the printing device.

発明の効果 本発明は、上記実施例より明らかなように、印刷用デー
タを90度回転しなから印刷できるようにすることによ
り、メモリ内に90度回転後の印刷用データのためのエ
リアおよび余分な90度回転するための処理時間を不要
とするという効果を有する。
Effects of the Invention As is clear from the above-mentioned embodiments, the present invention allows printing data to be printed without rotating it by 90 degrees, thereby creating an area for the print data after rotation by 90 degrees in the memory. This has the effect of eliminating the need for processing time for extra 90 degree rotation.

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

第1図は本発明の一実施例による印刷制御装置のブロッ
ク図、第2図はそのデータフロー図、第3図は印刷例を
示す図、第4図は従来の90度回転し印刷するための印
刷制御装置のブロック図である。 11・・・・・・CPU部、12・・・・・・メモリ部
、13・・・・・・90°回転部、14・・・・・・D
MAC部、15・・・・・・印刷制御部、16・・・・
・・印刷装置、17・・・・・・制御バス、21・・・
・・・90°回転前のデータ、22.23・・・・・・
90°回転後の印刷データの例、31・・・・・二次元
DMAC部、34・・・・・・バッファ部、33・・・
・・・スイッチ部、34・・・・・・バッファの書込み
部/読み出し部、35・・・・・・スイッチ制御部。
FIG. 1 is a block diagram of a printing control device according to an embodiment of the present invention, FIG. 2 is a data flow diagram thereof, FIG. 3 is a diagram showing a printing example, and FIG. FIG. 2 is a block diagram of a print control device of FIG. 11...CPU section, 12...Memory section, 13...90° rotation section, 14...D
MAC section, 15...Print control section, 16...
...Printing device, 17...Control bus, 21...
...Data before 90° rotation, 22.23...
Example of print data after 90° rotation, 31... Two-dimensional DMAC section, 34... Buffer section, 33...
. . . switch section, 34 . . . buffer writing section/reading section, 35 . . . switch control section.

Claims (1)

【特許請求の範囲】[Claims] ビットマップ状の印刷用データ記憶したメモリと、この
データを印刷装置に転送する間に90度回転する手段を
備えた印刷制御装置。
A printing control device that includes a memory that stores print data in the form of a bitmap, and means for rotating the data by 90 degrees while transferring this data to a printing device.
JP1164690A 1989-06-27 1989-06-27 Printing control device Pending JPH0327956A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1164690A JPH0327956A (en) 1989-06-27 1989-06-27 Printing control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1164690A JPH0327956A (en) 1989-06-27 1989-06-27 Printing control device

Publications (1)

Publication Number Publication Date
JPH0327956A true JPH0327956A (en) 1991-02-06

Family

ID=15798008

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1164690A Pending JPH0327956A (en) 1989-06-27 1989-06-27 Printing control device

Country Status (1)

Country Link
JP (1) JPH0327956A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04276468A (en) * 1991-03-05 1992-10-01 Sharp Corp Pattern forming apparatus
JPH05114024A (en) * 1991-06-17 1993-05-07 Oki Electric Ind Co Ltd Method for vertical/horizontal conversion of image data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57130144A (en) * 1981-02-05 1982-08-12 Mitsubishi Electric Corp Image data rotating circuit
JPS5889373A (en) * 1981-11-20 1983-05-27 Ricoh Co Ltd Printer
JPS60123165A (en) * 1983-12-07 1985-07-01 Ricoh Co Ltd Memory control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57130144A (en) * 1981-02-05 1982-08-12 Mitsubishi Electric Corp Image data rotating circuit
JPS5889373A (en) * 1981-11-20 1983-05-27 Ricoh Co Ltd Printer
JPS60123165A (en) * 1983-12-07 1985-07-01 Ricoh Co Ltd Memory control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04276468A (en) * 1991-03-05 1992-10-01 Sharp Corp Pattern forming apparatus
JPH05114024A (en) * 1991-06-17 1993-05-07 Oki Electric Ind Co Ltd Method for vertical/horizontal conversion of image data

Similar Documents

Publication Publication Date Title
CN100555257C (en) The memory controller of the dma operation between the processing page replicative phase and method
JP2862242B2 (en) Image reading device
JPH0327956A (en) Printing control device
JP2001186328A (en) Picture processor, its control method and picture processing system
US6434635B1 (en) Methods, apparatus, and computer program product for data transfer using a scatter-gather list
JP2005258783A (en) Data transfer device, data transfer method, image forming apparatus, and option board
JP2526712B2 (en) Program printout method in programming device
JPH08152977A (en) Method and system for image rotation printing processing
JP2002215562A (en) Unit and method for dma control
JP2687716B2 (en) Information processing device
JP2003241918A (en) Mechanism using printer for quickly transferring image data and method corresponding thereto
JP3153257B2 (en) Facsimile machine
JPH05120210A (en) Microcomputer
JPH08123749A (en) Bus controller
JPH03163621A (en) Page printer
JPS6371766A (en) Buffer transferring system
JPS63184601A (en) Data processor
JPH0516452A (en) Printer
JPH0971011A (en) Printing control device
JPH03144779A (en) Image processing system
JPH03121526A (en) Printing controller
JPH09259039A (en) Method and device for controlling initialization for electronic computer system
JPH07262082A (en) Memory controller
JPS6232543A (en) Task communication system
JPS61285566A (en) Input and output controller