JP2000187567A - Method and device for printing control - Google Patents

Method and device for printing control

Info

Publication number
JP2000187567A
JP2000187567A JP10365728A JP36572898A JP2000187567A JP 2000187567 A JP2000187567 A JP 2000187567A JP 10365728 A JP10365728 A JP 10365728A JP 36572898 A JP36572898 A JP 36572898A JP 2000187567 A JP2000187567 A JP 2000187567A
Authority
JP
Japan
Prior art keywords
storage unit
print data
buffer
free area
allocating
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.)
Withdrawn
Application number
JP10365728A
Other languages
Japanese (ja)
Inventor
Yutaka Tokura
豊 戸倉
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP10365728A priority Critical patent/JP2000187567A/en
Publication of JP2000187567A publication Critical patent/JP2000187567A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To generate image data with designated resolution regardless of print data quantity when a host generates image data. SOLUTION: When data is fetched from a spool file, whether a buffer is full is judged (S302), and when it is full, fetching spool data is stopped and free capacity in a RAM is detected (S305). When there is space in the RAM, a buffer is added to the RAM (S307), and when there is no space, a buffer is added to an HDD (S309). Subsequently, image data are generated by using the added buffer.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、たとえば印刷デー
タから生成した画像データを印刷装置に送信して印刷さ
せる印刷制御方法及び装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a printing control method and apparatus for transmitting image data generated from print data to a printing apparatus for printing.

【0002】[0002]

【従来の技術】従来、ホストコンピュータ等により作成
した画像データを印刷するためには、ホストコンピュー
タ上の画像処理や文書処理のアプリケーションプログラ
ムにより作成した画像は、プリンタで解釈可能な命令及
びパラメータを含むPDLデータにいったん変換され
る。このPDLデータはプリンタに送信されて、プリン
タを制御するプリンタコントローラによりあらかじめ設
定されている記憶領域に格納される。プリンタコントロ
ーラは受信したPDLデータを基にしてドットイメージ
データを作成し、画像信号としてレーザビーム方式など
のプリンタエンジンに送信して画像を印刷させる。
2. Description of the Related Art Conventionally, in order to print image data created by a host computer or the like, an image created by an application program for image processing or document processing on the host computer includes instructions and parameters that can be interpreted by a printer. Once converted to PDL data. The PDL data is transmitted to the printer and stored in a storage area set in advance by a printer controller that controls the printer. The printer controller creates dot image data based on the received PDL data, transmits the dot image data to a printer engine such as a laser beam system as an image signal, and prints the image.

【0003】この場合、プリンタコントローラ内の記憶
領域が不足すると、プリンタコントローラは、解像度低
下の処理を実行し印刷を行う。また、解像度低下の処理
を行ってもなおもプリンタコントローラの記憶領域が不
足した場合、印字不可能である旨のオペレータ表示を行
う。
In this case, if the storage area in the printer controller is insufficient, the printer controller executes a process of lowering the resolution and performs printing. If the storage area of the printer controller is still insufficient even after performing the process of lowering the resolution, an operator display indicating that printing is not possible is performed.

【0004】また、ホストコンピュータで画像データを
生成し、画像データをプリンタに送信して印刷させる方
式もある。この場合には、アプリケーションにより作成
された画像データはいったんPDLデータ等の印刷デー
タに変換されてスプールされ、プリンタはスプールされ
た印刷データをバッファに読み出して画像データを生成
する。
There is also a method in which image data is generated by a host computer, and the image data is transmitted to a printer for printing. In this case, the image data created by the application is once converted into print data such as PDL data and spooled, and the printer reads the spooled print data into a buffer to generate image data.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記従
来例では、プリンタで画像データを生成する場合には、
印刷データの容量によっては、オペレータが指示した解
像度での印刷が出力されない問題があった。また、解像
度低下の処理を行ってもなおも印刷されない問題があっ
た。これは、プリンタコントローラの記憶領域の容量不
足が主な原因である。唯一の回避策は記憶領域を拡張す
ることであった。
However, in the above conventional example, when image data is generated by a printer,
There is a problem that printing at the resolution designated by the operator is not output depending on the size of the print data. Further, there is a problem that printing is not performed even after performing the process of lowering the resolution. This is mainly due to a shortage of the storage area of the printer controller. The only workaround was to expand the storage space.

【0006】また、ホストコンピュータで画像データを
生成する場合にも、印刷データを取り出すためのバッフ
ァの容量が不足すると、プリンタで画像データを生成す
る場合と同様に解像度を低下させたり、あるいは印刷そ
のものを停止しなければならなかった。
[0006] Also, when image data is generated by a host computer, if the capacity of a buffer for extracting print data is insufficient, the resolution may be reduced as in the case of generating image data by a printer, or the printing itself may be reduced. Had to stop.

【0007】本発明は上記従来例に鑑みてなされたもの
で、印刷データの量に関わらず、一定容量のバッファを
用いてオペレータが指示した解像度で印刷を遂行できる
印刷制御方法及び装置を提供することを目的とする。
The present invention has been made in view of the above conventional example, and provides a print control method and apparatus capable of performing printing at a resolution designated by an operator using a buffer of a fixed capacity regardless of the amount of print data. The purpose is to:

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に本発明は次のような構成からなる。すなわち、印刷装
置に画像データを供給する印刷制御方法であって、画像
データ生成処理のための印刷データを取り込み、バッフ
ァに格納する格納工程と、前記バッファの使用されてい
る記憶容量を検出する検出工程と、前記バッファの使用
されている記憶容量が所定量に達した場合、印刷データ
の取り込みを中断して記憶ユニットの空き領域を検出
し、空き領域がある場合、該記憶ユニットに新たなバッ
ファを割り当てる割り当て工程とを備え、前記割当て工
程により割り当てられたバッファに、前記格納工程によ
り印刷データを格納し、必要な印刷データの格納が完了
したなら、画像データを生成して印刷装置に送信する。
To achieve the above object, the present invention has the following arrangement. That is, a printing control method for supplying image data to a printing apparatus, comprising: a storage step of fetching print data for image data generation processing and storing the print data in a buffer; and a detection step of detecting a used storage capacity of the buffer. And when the used storage capacity of the buffer reaches a predetermined amount, interrupting the acquisition of print data to detect a free area of the storage unit, and if there is a free area, a new buffer is stored in the storage unit. Allocating the print data to the buffer allocated by the allocating step, storing the print data in the storing step, and, when the necessary print data is completely stored, generating image data and transmitting the generated image data to the printing apparatus. .

【0009】また好ましくは、前記割り当て工程は、前
記記憶ユニットとしてRAMの空き領域を検出し、空き
領域がある場合、RAMに新たなバッファを割り当て
る。
Preferably, in the allocating step, a free area of the RAM is detected as the storage unit, and if there is a free area, a new buffer is allocated to the RAM.

【0010】また好ましくは、前記割り当て工程は、前
記記憶ユニットとして外部記憶ユニットの空き領域を検
出し、空き領域がある場合、外部記憶ユニットに新たな
バッファを割り当てる。
Preferably, in the allocating step, a free area of an external storage unit is detected as the storage unit, and if there is a free area, a new buffer is allocated to the external storage unit.

【0011】また好ましくは、前記割り当て工程は、前
記記憶ユニットとしてまずRAMの空き領域を検出し、
空き領域がある場合、RAMに新たなバッファを割り当
て、空き領域がない場合には、前記記憶ユニットとして
外部記憶ユニットの空き領域を検出し、空き領域がある
場合、外部記憶ユニットに新たなバッファを割り当て
る。
Preferably, the allocating step first detects a free area of a RAM as the storage unit,
If there is a free area, a new buffer is allocated to the RAM. If there is no free area, a free area of the external storage unit is detected as the storage unit. If there is a free area, a new buffer is stored in the external storage unit. assign.

【0012】また好ましくは、前記割り当て工程は、前
記記憶ユニットに新たなバッファを確保できないと判定
された場合、前記記憶ユニットの空き領域を拡大するよ
うオペレータに促す表示を行う工程を有する。
Preferably, the allocating step includes a step of, when it is determined that a new buffer cannot be secured in the storage unit, prompting an operator to enlarge a free area of the storage unit.

【0013】[0013]

【発明の実施の形態】以下、添付図面に従って本発明に
係わる実施例を詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

【0014】図1は、本実施形態の印刷システムの構成
を示すブロック図である。本システムは、印刷データを
生成するホストコンピュータ101と、セントロニクス
インターフェース等所定のインターフェースを介して前
記ホストコンピュータ101に接続されたプリンタ10
2とから構成されている。ホストコンピュータ101
は、システム全体を制御するCPUと、CPUにより実
行されるプログラムやデータを格納するとともに、バッ
ファ領域としても使用されるメモリと、プリンタと接続
するための通信インターフェースと、スプール領域や後
述するバッファ領域が確保されたり、あるいは後述する
フローチャートに沿ったプログラムファイルなどを格納
する磁気ディスクドライブ(HDD)と、後述するフロ
ーチャートに沿ったプログラムファイルなどを格納した
媒体からデータの読み出しあるいは書き込みを行うため
のフロッピディスクドライブ(FDD)等を含む。
FIG. 1 is a block diagram showing the configuration of a printing system according to this embodiment. The system includes a host computer 101 for generating print data, and a printer 10 connected to the host computer 101 via a predetermined interface such as a Centronics interface.
And 2. Host computer 101
Is a CPU that controls the entire system, a memory that stores programs and data executed by the CPU and is also used as a buffer area, a communication interface for connecting to a printer, a spool area and a buffer area to be described later. Or a magnetic disk drive (HDD) for storing a program file according to a flowchart described later, and a floppy disk for reading or writing data from a medium storing the program file according to a flowchart described later. Includes a disk drive (FDD) and the like.

【0015】プリンタ102は、ホストコンピュータ1
01から送られてきた画像データを受信するとともにプ
リンタ102を制御するビデオコントローラ103と、
帯電、露光、現像、転写、定着及び紙搬送等の電子写真
プロセスを制御するプリンタエンジン104とを備え、
プリンタエンジン104とビデオコントローラ103と
はビデオインターフェースを介して相互に通信が可能と
されている。
The printer 102 is connected to the host computer 1
A video controller 103 which receives the image data sent from the printer 01 and controls the printer 102;
A printer engine 104 for controlling electrophotographic processes such as charging, exposure, development, transfer, fixing and paper conveyance,
The printer engine 104 and the video controller 103 can communicate with each other via a video interface.

【0016】ビデオコントローラ103は、予め設定さ
れている記憶作業領域(不図示)にホストコンピュータ
101から受信した画像データを、給紙口、用紙サイズ
等の情報とともにプリンタエンジン104に送出する。
The video controller 103 sends the image data received from the host computer 101 to a printer engine 104 together with information such as a paper feed port and a paper size in a preset storage work area (not shown).

【0017】プリンタエンジン104は、電子写真プロ
セスを制御し、前記画像データに基づいて印刷処理を行
う。また、ビデオコントローラ103は、プリンタエン
ジン104からプリンタ102の状態を検出し、エンジ
ンステータスとしてホストコンピュータ101に送出す
る。
The printer engine 104 controls an electrophotographic process and performs a printing process based on the image data. Further, the video controller 103 detects the state of the printer 102 from the printer engine 104 and sends it to the host computer 101 as an engine status.

【0018】図2は、図1におけるホストコンピュータ
の構成を機能的なブロックで示したブロック図である。
図示されたブロックのうち、スプール領域203及びバ
ッファ205,213,214はメモリやHDDにより
実現され、その他のブロックはCPUによりプログラム
を実行することで実現される。
FIG. 2 is a block diagram showing the configuration of the host computer in FIG. 1 by functional blocks.
Of the illustrated blocks, the spool area 203 and the buffers 205, 213, and 214 are realized by a memory or an HDD, and the other blocks are realized by executing a program by a CPU.

【0019】オペレータがアプリケーション使用中に印
刷処理を実行させたとき、ホストコンピュータ上のアプ
リケーション201からプリンタドライバ202へ印刷
データが送出される。この間のデータのやり取りは、ア
プリケーション201とプリンタドライバ202が互い
に認識可能な形式で行われる。
When an operator executes a printing process while using an application, print data is sent from the application 201 on the host computer to the printer driver 202. Data exchange during this time is performed in a format that allows the application 201 and the printer driver 202 to recognize each other.

【0020】プリンタドライバ202は、受信した印刷
データを本システムで処理可能な形式の印刷データに変
換する。変換後の印刷データは、ホストコンピュータ内
のスプール領域203に格納される。
The printer driver 202 converts the received print data into print data in a format that can be processed by the present system. The converted print data is stored in the spool area 203 in the host computer.

【0021】プリンタドライバ202によって生成され
た印刷データには、給紙口、用紙サイズ、印刷濃度、印
刷面、部数、印刷方向等の印刷環境情報と、描画コード
やビットマップデータ等のページ情報が含まれる。
The print data generated by the printer driver 202 includes print environment information such as a paper feed port, paper size, print density, print surface, number of copies, print direction, and page information such as drawing code and bitmap data. included.

【0022】リソースコントローラ204は、スプール
領域203に存在する印刷データの取り込みを一定量ず
つ行う。例えば、4KB単位や16KB単位で取り込む
といった具合である。最初の印刷データの取り込み時、
ページコントローラ206を起動し、印刷環境情報をペ
ージコントローラ206に送出する。ページ情報は印刷
データバッファ205に格納される。また、リソースコ
ントローラ204は、印刷データの取り込みが完了する
たびに印刷データバッファ205の容量の状態を検出す
る。この時、印刷データバッファ205がフルの状態で
あれば、RAM領域やハードディスク領域の空きを検出
し、RAM領域やハードディスク領域に追加印刷データ
バッファの確保を行う。そして、画像データの生成とプ
リンタへの転送後、追加印刷データバッファの解放を行
う。
The resource controller 204 fetches print data existing in the spool area 203 by a fixed amount. For example, the data may be captured in units of 4 KB or 16 KB. When importing the first print data,
The page controller 206 is activated and print environment information is sent to the page controller 206. The page information is stored in the print data buffer 205. The resource controller 204 detects the state of the capacity of the print data buffer 205 every time the capture of the print data is completed. At this time, if the print data buffer 205 is in a full state, a free space in the RAM area or the hard disk area is detected, and an additional print data buffer is secured in the RAM area or the hard disk area. Then, after the image data is generated and transferred to the printer, the additional print data buffer is released.

【0023】ページコントローラ206は、リソースコ
ントローラ204から受信した印刷環境情報をエンジン
コントローラ208に送出する。そして、レンダリング
コントローラ207に対して、印刷するページを指定す
る。レンダリングコントローラ207による画像データ
生成処理の終了後、エンジンコントローラ208に対し
て、印刷開始の命令、画像データの送出を行う。
The page controller 206 sends the print environment information received from the resource controller 204 to the engine controller 208. Then, a page to be printed is specified to the rendering controller 207. After the image data generation processing by the rendering controller 207 is completed, a print start command and image data are sent to the engine controller 208.

【0024】レンダリングコントローラ207は、ペー
ジコントローラ206によって指定されたページの情報
を印刷データバッファの中から抽出する。そして、印刷
データを画像データに変換する。
The rendering controller 207 extracts information of the page specified by the page controller 206 from the print data buffer. Then, the print data is converted into image data.

【0025】エンジンコントローラ208は、ページコ
ントローラ206から受信した印刷環境情報と画像デー
タを通信コントローラ209に送出する。また、プリン
タ102の状態を検出する。印刷の開始および画像デー
タの送出は、プリンタ102の状態と同期して行われ
る。
The engine controller 208 sends the print environment information and the image data received from the page controller 206 to the communication controller 209. Further, the state of the printer 102 is detected. The start of printing and the transmission of image data are performed in synchronization with the state of the printer 102.

【0026】通信コントローラ209は、ホストコンピ
ュータ101とプリンタ102との通信を制御する。パ
ラレルポート、シリアルポート等の入出力デバイスイン
ターフェース部である。
The communication controller 209 controls communication between the host computer 101 and the printer 102. It is an input / output device interface unit such as a parallel port and a serial port.

【0027】プリンタ102は、ビデオコントローラ1
03とプリンタエンジン104に分けられる。ビデオコ
ントローラ103は、ホストコンピュータから指定され
た印刷命令をプリンタエンジン104に送出するととも
に、プリンタエンジン104の状態をホストコンピュー
タ101に送出する。また、受信した画像データをプリ
ンタエンジン104の処理に同期してビデオ信号として
送出する。
The printer 102 includes a video controller 1
03 and the printer engine 104. The video controller 103 sends a print command specified by the host computer to the printer engine 104, and sends the status of the printer engine 104 to the host computer 101. Further, the received image data is transmitted as a video signal in synchronization with the processing of the printer engine 104.

【0028】次に、前述の構成を備える本実施例におけ
る処理動作の手順を、図3のフローチャートを参照して
以下に説明する。なお、印刷データバッファ205は、
本印刷システムが起動された時に使用可能なRAM容量
の内の一定量があらかじめ確保されるものとする。例え
ば、使用可能なRAM容量が40MBあったとして、そ
のうちの5%、つまり、2MBを印刷データバッファと
して確保するような具合である。
Next, the procedure of the processing operation in the present embodiment having the above configuration will be described below with reference to the flowchart of FIG. Note that the print data buffer 205
It is assumed that a certain amount of the available RAM capacity when the printing system is started is secured in advance. For example, assuming that the available RAM capacity is 40 MB, 5% of the available RAM capacity, that is, 2 MB, is secured as a print data buffer.

【0029】まず、ユーザがアプリケーション201に
対して印刷を指定したものとする。それによりアプリケ
ーション201からプリンタドライバ202へ印刷デー
タが送出される。プリンタドライバ202は、受信した
印刷データを本システムで処理可能な形式の印刷データ
に変換する。変換後の印刷データは、ホストコンピュー
タ内のスプール領域203に格納される。図3の手順は
この時点から示されている。
First, it is assumed that the user has designated the application 201 for printing. As a result, print data is sent from the application 201 to the printer driver 202. The printer driver 202 converts the received print data into print data in a format that can be processed by the present system. The converted print data is stored in the spool area 203 in the host computer. The procedure of FIG. 3 is shown from this point.

【0030】リソースコントローラ204は、スプール
領域203に存在する印刷データを取り出し、印刷デー
タバッファ205にページ情報を格納する(S30
1)。そして、印刷データバッファ205の容量の状態
を検出する(S302)。
The resource controller 204 extracts the print data existing in the spool area 203 and stores the page information in the print data buffer 205 (S30).
1). Then, the state of the capacity of the print data buffer 205 is detected (S302).

【0031】印刷データバッファ205の容量がフル状
態でないと検知した場合、スプール領域203から全て
の印刷データの取り込みが完了したかを判定する(S3
03)。全ての印刷データの取り込みが完了していない
と判定した場合、スプール領域203から印刷データの
取り込みを再開し、印刷データバッファ203、追加印
刷データバッファ213、印刷データバッファ214に
格納する。なお、追加印刷データバッファ213、印刷
データバッファ214への印刷データへの格納は、ハー
ドディスクやRAMに領域を確保している場合のみであ
る。
If it is detected that the capacity of the print data buffer 205 is not full, it is determined whether all the print data has been taken in from the spool area 203 (S3).
03). If it is determined that the capture of all print data has not been completed, the capture of the print data is restarted from the spool area 203 and stored in the print data buffer 203, the additional print data buffer 213, and the print data buffer 214. The storage of the print data in the additional print data buffer 213 and the print data buffer 214 is performed only when an area is secured in the hard disk or the RAM.

【0032】印刷データバッファ205の容量がフル状
態であると検知した場合、スプール領域203から印刷
データの取り込みを中断する(S304)。そして、ホ
ストコンピュータ内のRAM領域の空きを検出する(S
305)。さらに、ホストコンピュータ内のRAM領域
に追加印刷データバッファを確保可能か判定する(S3
06)。追加印刷データバッファ213を確保可能であ
ると判定した場合、ホストコンピュータ内のRAM領域
に追加印刷データバッファ213を確保する(S30
7)。そして、スプール領域203から印刷データの取
り込みを再開し、追加印刷データバッファ213に格納
する。
If it is detected that the capacity of the print data buffer 205 is full, the capture of the print data from the spool area 203 is interrupted (S304). Then, a free space in the RAM area in the host computer is detected (S
305). Further, it is determined whether an additional print data buffer can be secured in the RAM area in the host computer (S3).
06). If it is determined that the additional print data buffer 213 can be reserved, the additional print data buffer 213 is reserved in the RAM area in the host computer (S30).
7). Then, the capture of the print data from the spool area 203 is resumed, and the print data is stored in the additional print data buffer 213.

【0033】ホストコンピュータ内のRAM領域に追加
印刷データバッファを確保可能か判定する場合、他のア
プリケーションが使用することを考慮しなければならな
い。そこで、使用可能な容量の20%を追加印刷データ
バッファに使用するといった具合に基準値を予め決めて
おく。また、最大値、最小値も予め決めておく。例え
ば、最大値が4MB、最小値が512KBであったとす
る。使用可能な容量が10MBであった場合、追加印刷
データバッファとして2MB確保できる。使用可能な容
量が30MBであった場合、追加印刷データバッファと
して4MB確保できる。使用可能な容量が2MBであっ
た場合、追加印刷データバッファは確保できない。
When determining whether or not an additional print data buffer can be secured in the RAM area in the host computer, consideration must be given to use by other applications. Therefore, the reference value is determined in advance such that 20% of the available capacity is used for the additional print data buffer. The maximum value and the minimum value are also determined in advance. For example, it is assumed that the maximum value is 4 MB and the minimum value is 512 KB. If the usable capacity is 10 MB, 2 MB can be secured as an additional print data buffer. If the usable capacity is 30 MB, 4 MB can be secured as an additional print data buffer. If the usable capacity is 2 MB, an additional print data buffer cannot be secured.

【0034】ホストコンピュータ内のRAM領域に追加
印刷データバッファ213を確保できないと判定した場
合、ホストコンピュータ内のハードディスク領域の空き
を検出する(S308)。さらに、ホストコンピュータ
内のハードディスク領域に追加印刷データバッファ21
4を確保可能か判定する(S309)。追加印刷データ
バッファ214を確保可能であると判定した場合、追加
印刷データバッファ214を確保する(S307)。そ
して、スプール領域203から印刷データの取り込みを
再開し、追加印刷データバッファ214に格納する。
If it is determined that the additional print data buffer 213 cannot be secured in the RAM area in the host computer, a free space in the hard disk area in the host computer is detected (S308). Further, an additional print data buffer 21 is provided in a hard disk area in the host computer.
It is determined whether or not No. 4 can be secured (S309). If it is determined that the additional print data buffer 214 can be reserved, the additional print data buffer 214 is reserved (S307). Then, the capture of the print data from the spool area 203 is resumed, and the print data is stored in the additional print data buffer 214.

【0035】ホストコンピュータ内のハードディスク領
域に追加印刷データバッファを確保可能か判定する場
合、RAM領域に追加印刷データバッファを確保可能か
判定する場合と同様な処理を行う。
When it is determined whether or not an additional print data buffer can be secured in the hard disk area in the host computer, the same processing is performed as when it is determined whether or not the additional print data buffer can be secured in the RAM area.

【0036】全ての印刷データの取り込みが完了したと
判定した場合、画像データを生成し、プリンタに転送す
る(S311)。そして、ホストコンピュータ内のRA
M領域あるいはハードディスク領域に追加印刷データバ
ッファを確保しているかを判定する(S312)。追加
印刷データバッファを確保していると判定した場合、ホ
ストコンピュータ内のRAM領域あるいはハードディス
ク領域にある追加印刷バッファを解放する(S31
3)。
If it is determined that the capture of all print data has been completed, image data is generated and transferred to the printer (S311). And RA in the host computer
It is determined whether an additional print data buffer is secured in the M area or the hard disk area (S312). If it is determined that the additional print data buffer is reserved, the additional print buffer in the RAM area or the hard disk area in the host computer is released (S31).
3).

【0037】また、ホストコンピュータ内のハードディ
スク領域に追加印刷データバッファ214を確保できな
いと判定した場合、RAMの追加およびハードディスク
の空き領域を拡大するようオペレータに促す表示を行う
(S310)。
If it is determined that the additional print data buffer 214 cannot be secured in the hard disk area in the host computer, a display prompting the operator to add a RAM and enlarge the free area of the hard disk is displayed (S310).

【0038】以上の構成及び手順によって、スプールフ
ァイルから印刷データを取り込むためのバッファの空き
が不足した場合、RAMあるいはハードディスクに追加
のバッファ領域を確保することで、バッファのためのR
AMを増設しなくとも、バッファが不足する事態を防止
でき、指定した解像度で画像データを生成することがで
きる。
According to the above configuration and procedure, if there is not enough space in the buffer for taking in the print data from the spool file, an additional buffer area is secured in the RAM or the hard disk so that the R for the buffer can be obtained.
Even without adding an AM, it is possible to prevent a shortage of buffers and generate image data at a specified resolution.

【0039】[0039]

【他の実施形態】なお、本発明は、複数の機器(例えば
ホストコンピュータ,インタフェイス機器,リーダ,プ
リンタなど)から構成されるシステムに適用しても、一
つの機器からなる装置(例えば、複写機,ファクシミリ
装置など)に適用してもよい。
[Other Embodiments] Even if the present invention is applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), an apparatus (for example, a copying machine) Machine, facsimile machine, etc.).

【0040】また、本発明の目的は、前述した実施形態
の機能を実現する図3の手順のプログラムコードを記録
した記憶媒体を、システムあるいは装置に供給し、その
システムあるいは装置のコンピュータ(またはCPUや
MPU)が記憶媒体に格納されたプログラムコードを読
出し実行することによっても、達成される。
An object of the present invention is to provide a system or an apparatus with a storage medium storing the program code of the procedure of FIG. 3 for realizing the functions of the above-described embodiment, and to provide a computer (or CPU) of the system or the apparatus. Or MPU) reads and executes the program code stored in the storage medium.

【0041】この場合、記憶媒体から読出されたプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコードを記憶した記憶媒体は
本発明を構成することになる。
In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.

【0042】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピディスク,ハードディス
ク,光ディスク,光磁気ディスク,CD−ROM,CD
−R,磁気テープ,不揮発性のメモリカード,ROMな
どを用いることができる。
As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD
-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

【0043】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼働しているOS(オペレ
ーティングシステム)などが実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれる。
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. ) Performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0044】さらに、記憶媒体から読出されたプログラ
ムコードが、コンピュータに挿入された機能拡張ボード
やコンピュータに接続された機能拡張ユニットに備わる
メモリに書込まれた後、そのプログラムコードの指示に
基づき、その機能拡張ボードや機能拡張ユニットに備わ
るCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれる。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the program code is read based on the instruction of the program code. The case where the CPU of the function expansion board or the function expansion unit performs part or all of the actual processing, and the function of the above-described embodiment is realized by the processing.

【0045】[0045]

【発明の効果】以上説明したように、本発明によれば、
印刷データの量に左右されることなく、オペレータが指
示した解像度での印刷を保証することができる。
As described above, according to the present invention,
Printing at the resolution specified by the operator can be guaranteed without being affected by the amount of print data.

【0046】また、画像データの生成をホストで行うこ
とにより、プリンタのコストダウンを実現し、かつ、オ
ペレータが指示した解像度での印刷を保証できる効果が
ある。
Further, by generating the image data by the host, the cost of the printer can be reduced and the printing at the resolution specified by the operator can be guaranteed.

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

【図1】印刷システムの概略を示すブロック構成図であ
る。
FIG. 1 is a block diagram schematically showing a printing system.

【図2】印刷システムの構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of a printing system.

【図3】ホストコンピュータの処理動作を示すフローチ
ャートである。
FIG. 3 is a flowchart showing a processing operation of a host computer.

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 印刷装置に画像データを供給する印刷制
御方法であって、 画像データ生成処理のための印刷データを取り込み、バ
ッファに格納する格納工程と、 前記バッファの使用されている記憶容量を検出する検出
工程と、 前記バッファの使用されている記憶容量が所定量に達し
た場合、印刷データの取り込みを中断して記憶ユニット
の空き領域を検出し、空き領域がある場合、該記憶ユニ
ットに新たなバッファを割り当てる割り当て工程とを備
え、前記割当て工程により割り当てられたバッファに、
前記格納工程により印刷データを格納し、必要な印刷デ
ータの格納が完了したなら、画像データを生成して印刷
装置に送信することを特徴とする印刷制御方法。
1. A printing control method for supplying image data to a printing apparatus, comprising the steps of: fetching print data for image data generation processing and storing the print data in a buffer; A detecting step of detecting, when the used storage capacity of the buffer reaches a predetermined amount, interrupts the capture of print data to detect a free area of the storage unit, and when there is a free area, Allocating a new buffer, comprising:
A print control method, wherein print data is stored in the storing step, and when storage of necessary print data is completed, image data is generated and transmitted to a printing apparatus.
【請求項2】 前記割り当て工程は、前記記憶ユニット
としてRAMの空き領域を検出し、空き領域がある場
合、RAMに新たなバッファを割り当てることを特徴と
する請求項1に記載の印刷制御方法。
2. The print control method according to claim 1, wherein the allocating step detects a free space in the RAM as the storage unit, and if there is a free space, allocates a new buffer to the RAM.
【請求項3】 前記割り当て工程は、前記記憶ユニット
として外部記憶ユニットの空き領域を検出し、空き領域
がある場合、外部記憶ユニットに新たなバッファを割り
当てることを特徴とする請求項1に記載の印刷制御方
法。
3. The method according to claim 1, wherein in the allocating step, a free area of an external storage unit is detected as the storage unit, and if there is a free area, a new buffer is allocated to the external storage unit. Print control method.
【請求項4】 前記割り当て工程は、前記記憶ユニット
としてまずRAMの空き領域を検出し、空き領域がある
場合、RAMに新たなバッファを割り当て、空き領域が
ない場合には、前記記憶ユニットとして外部記憶ユニッ
トの空き領域を検出し、空き領域がある場合、外部記憶
ユニットに新たなバッファを割り当てることを特徴とす
る請求項1に記載の印刷制御方法。
4. The allocating step includes: first detecting a free space in a RAM as the storage unit; if there is a free space, a new buffer is allocated to the RAM; 2. The print control method according to claim 1, wherein a free area of the storage unit is detected, and if there is a free area, a new buffer is allocated to the external storage unit.
【請求項5】 前記割り当て工程は、前記記憶ユニット
に新たなバッファを確保できないと判定された場合、前
記記憶ユニットの空き領域を拡大するようオペレータに
促す表示を行う工程を有することを特徴とする請求項1
に記載の印刷制御方法。
5. The method according to claim 1, wherein the allocating step includes a step of, when it is determined that a new buffer cannot be secured in the storage unit, prompting an operator to enlarge a free area of the storage unit. Claim 1
3. The printing control method according to 1.
【請求項6】 印刷装置に画像データを供給する印刷制
御装置であって、 画像データ生成処理のための印刷データを取り込み、バ
ッファに格納する格納手段と、 前記バッファの使用されている記憶容量を検出する検出
手段と、 前記バッファの使用されている記憶容量が所定量に達し
た場合、印刷データの取り込みを中断して記憶ユニット
の空き領域を検出し、空き領域がある場合、該記憶ユニ
ットに新たなバッファを割り当てる割り当て手段とを備
え、前記割当て手段により割り当てられたバッファに、
前記格納手段により印刷データを格納し、必要な印刷デ
ータの格納が完了したなら、画像データを生成して印刷
装置に送信することを特徴とする印刷制御装置。
6. A printing control apparatus for supplying image data to a printing apparatus, comprising: a storage unit for fetching print data for image data generation processing and storing the fetched print data in a buffer; Detecting means for detecting, when the used storage capacity of the buffer reaches a predetermined amount, interrupts the acquisition of print data to detect a free area of the storage unit; Allocating means for allocating a new buffer, wherein the buffer allocated by the allocating means comprises:
A print control device, wherein print data is stored by the storage means, and when storage of necessary print data is completed, image data is generated and transmitted to a printing device.
【請求項7】 前記割り当て手段は、前記記憶ユニット
としてRAMの空き領域を検出し、空き領域がある場
合、RAMに新たなバッファを割り当てることを特徴と
する請求項6に記載の印刷制御装置。
7. The print control apparatus according to claim 6, wherein the allocating unit detects a free area of the RAM as the storage unit and, if there is a free area, allocates a new buffer to the RAM.
【請求項8】 前記割り当て手段は、前記記憶ユニット
として外部記憶ユニットの空き領域を検出し、空き領域
がある場合、外部記憶ユニットに新たなバッファを割り
当てることを特徴とする請求項6に記載の印刷制御装
置。
8. The apparatus according to claim 6, wherein the allocating unit detects a free area of an external storage unit as the storage unit, and allocates a new buffer to the external storage unit when there is a free area. Print control device.
【請求項9】 前記割り当て手段は、前記記憶ユニット
としてまずRAMの空き領域を検出し、空き領域がある
場合、RAMに新たなバッファを割り当て、空き領域が
ない場合には、前記記憶ユニットとして外部記憶ユニッ
トの空き領域を検出し、空き領域がある場合、外部記憶
ユニットに新たなバッファを割り当てることを特徴とす
る請求項6に記載の印刷制御装置。
9. The allocating means first detects a free area of a RAM as the storage unit, and if there is a free area, allocates a new buffer to the RAM. 7. The print control apparatus according to claim 6, wherein a free area of the storage unit is detected, and if there is a free area, a new buffer is allocated to the external storage unit.
【請求項10】 前記割り当て手段は、前記記憶ユニッ
トに新たなバッファを確保できないと判定された場合、
前記記憶ユニットの空き領域を拡大するようオペレータ
に促す表示を行う手段を有することを特徴とする請求項
6に記載の印刷制御装置。
10. The method according to claim 1, wherein the allocating unit determines that a new buffer cannot be secured in the storage unit.
7. The printing control apparatus according to claim 6, further comprising: means for performing a display prompting an operator to enlarge an empty area of the storage unit.
【請求項11】 コンピュータにより、 画像データ生成処理のための印刷データを取り込み、バ
ッファに格納する格納手段と、 前記バッファの使用されている記憶容量を検出する検出
手段と、 前記バッファの使用されている記憶容量が所定量に達し
た場合、印刷データの取り込みを中断して記憶ユニット
の空き領域を検出し、空き領域がある場合、該記憶ユニ
ットに新たなバッファを割り当てる割り当て手段と、 前記割当て手段に必要な印刷データの格納が完了したな
ら、画像データを生成して印刷装置に送信する送信手段
とを実現するためのプログラムを格納することを特徴と
する記憶媒体。
11. A storage means for fetching print data for image data generation processing by a computer and storing the print data in a buffer; a detection means for detecting a used storage capacity of the buffer; Allocating means for allocating a new buffer to the storage unit when the storage capacity of the storage unit reaches a predetermined amount, interrupting the acquisition of print data and detecting a free area of the storage unit, and when there is a free area, A storage medium for storing a program for realizing transmission means for generating image data and transmitting the generated image data to a printing apparatus when storage of print data necessary for the printer is completed.
JP10365728A 1998-12-22 1998-12-22 Method and device for printing control Withdrawn JP2000187567A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10365728A JP2000187567A (en) 1998-12-22 1998-12-22 Method and device for printing control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10365728A JP2000187567A (en) 1998-12-22 1998-12-22 Method and device for printing control

Publications (1)

Publication Number Publication Date
JP2000187567A true JP2000187567A (en) 2000-07-04

Family

ID=18484972

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10365728A Withdrawn JP2000187567A (en) 1998-12-22 1998-12-22 Method and device for printing control

Country Status (1)

Country Link
JP (1) JP2000187567A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014029474A (en) * 2012-06-26 2014-02-13 Sharp Corp Image display device, image display system including the device, and control method thereof
JP2019180004A (en) * 2018-03-30 2019-10-17 キヤノン株式会社 Recording apparatus, recording method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014029474A (en) * 2012-06-26 2014-02-13 Sharp Corp Image display device, image display system including the device, and control method thereof
JP2019180004A (en) * 2018-03-30 2019-10-17 キヤノン株式会社 Recording apparatus, recording method, and program

Similar Documents

Publication Publication Date Title
US7626716B2 (en) Recording apparatus and recording control method for executing recording according to setting of print parameters by wireless device
JP2008030287A (en) Printing apparatus, printing system and program
US8199352B2 (en) Image forming apparatus and control method therefor
JP2013082130A (en) Image forming apparatus, image formation control method, and image formation control program
JP4532993B2 (en) Printing system and control method thereof, printing method, host device, and printer
JPH11331529A (en) Image processor and its data processing method and storage medium storing computer readable program
JP2002019236A (en) Image processor and method of controlling the same and storage medium
JP2000187567A (en) Method and device for printing control
JP4854144B2 (en) Printing system, management method, and printing apparatus
JP2009093502A (en) Information processing apparatus and control method thereof
JP2005028687A (en) Image processor, information processor, and memory disk managing method
JP3209911B2 (en) Print control device and data processing method of print control device
JP2001243026A (en) Image forming device, system and method for transferring image data and storage medium
US8531715B2 (en) Method and system for forming image, and external device
JPH10171617A (en) Printing controller, data processing method therefor and storage medium storing computer readable program
JP5062750B2 (en) Image forming apparatus
JP3827966B2 (en) Image forming apparatus
JP3715765B2 (en) Band memory size determination method and recording medium
JP2008262439A (en) Information processor, print document adjustment processing program and storage medium
JPH09254485A (en) Image forming apparatus
JP2000263873A (en) Printing method and apparatus and memory medium
JP2006195888A (en) Print system
JP3037537B2 (en) Printing system and printing device used in the printing system
JP2000276311A (en) Device and method for outputting network information
JP2002086815A (en) Apparatus and method for imaging, and recording medium with control program for imaging recorded therein

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060307