[go: up one dir, main page]

JPH11232065A - Printing paper supply / discharge control method and printing system - Google Patents

Printing paper supply / discharge control method and printing system

Info

Publication number
JPH11232065A
JPH11232065A JP10028020A JP2802098A JPH11232065A JP H11232065 A JPH11232065 A JP H11232065A JP 10028020 A JP10028020 A JP 10028020A JP 2802098 A JP2802098 A JP 2802098A JP H11232065 A JPH11232065 A JP H11232065A
Authority
JP
Japan
Prior art keywords
page
image data
intermediate code
printing
print
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.)
Granted
Application number
JP10028020A
Other languages
Japanese (ja)
Other versions
JP3575265B2 (en
Inventor
Masumi Yoshino
真澄 吉野
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP02802098A priority Critical patent/JP3575265B2/en
Publication of JPH11232065A publication Critical patent/JPH11232065A/en
Application granted granted Critical
Publication of JP3575265B2 publication Critical patent/JP3575265B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

(57)【要約】 【課題】 効率的に連続印刷できるようにする印刷制御
装置を提供する。 【解決手段】 印刷要求に基づくデータを中間コード生
成部11でページ単位に中間コードに変換して中間コー
ドファイル12に保持する。ページ情報管理部13は、
個々の中間コードについて後続ページのものが存在する
か否かを検出し、存在する場合は当該ページについて実
画像データ生成部14で実画像データに展開するとき
に、後続ページが存在することを表すページ情報を当該
実画像データの前領域に付加してスプールファイル15
に蓄積する。このページ情報が付加された実画像データ
を印刷装置宛に送出することで、先行ページの排紙制御
処理と後続ページの給紙制御処理とを印刷装置に同時期
に行わせるようにした。
(57) [Problem] To provide a print control device that enables efficient continuous printing. SOLUTION: Data based on a print request is converted into an intermediate code in a page unit by an intermediate code generation unit 11 and stored in an intermediate code file 12. The page information management unit 13
It is detected whether or not there is a succeeding page for each intermediate code, and if it exists, it indicates that there is a succeeding page when the page is expanded into real image data by the real image data generation unit 14. The page information is added to the previous area of the actual image data and the spool file 15 is added.
To accumulate. By sending the actual image data to which the page information is added to the printing apparatus, the printing apparatus performs the discharge control processing of the preceding page and the paper supply control processing of the subsequent page at the same time.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えば印刷用紙の
給排紙制御を同時期に行って印刷処理の高速化を図る印
刷システム及びその構成装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a printing system and its component devices, for example, which perform printing paper supply / discharge control at the same time to speed up printing processing.

【0002】[0002]

【従来の技術】近年、印刷装置は、コストを問わずに高
機能化を図る傾向と、機能をある程度抑えて低廉化を図
る傾向とが顕著である。後者の場合は、ハードウエアの
削減化を図るのが通常であり、印刷データを記憶してお
くためのバッファも極力低容量化される。印刷データを
記憶するためのバッファの容量がページ単位に満たない
従来の印刷装置では、給紙後に印刷データに基づく印刷
を実行し、印刷終了後に排紙制御を行い、排紙が完了し
た時点で次ページ用の印刷用紙の給紙を行っていた。
2. Description of the Related Art In recent years, there has been a remarkable tendency to increase the functions of printing apparatuses regardless of the cost and to reduce the cost by suppressing the functions to some extent. In the latter case, the hardware is usually reduced, and the buffer for storing print data is also reduced in capacity as much as possible. In a conventional printing apparatus in which the capacity of a buffer for storing print data is less than a page unit, printing based on print data is executed after feeding, and discharge control is performed after printing is completed. Paper for the next page was being fed.

【0003】[0003]

【発明が解決しようとする課題】上述のように、バッフ
ァの容量が少ない印刷装置では、前ページの印刷用紙の
排紙が完了した時点で次ページ用の印刷用紙の給紙を行
っているため、印刷用紙給紙が完了するまで印刷データ
の受付やその解析処理を保留しておかなければならない
という問題があった。また、排紙や給紙はハードウエア
によって実現されるため時間がかかり、それが印刷所要
時間を長引かせるという問題もあった。
As described above, in a printing apparatus having a small buffer capacity, the printing paper for the next page is fed when the discharge of the printing paper for the previous page is completed. However, there is a problem that the reception of the print data and the analysis processing thereof must be suspended until the printing paper feeding is completed. In addition, there is a problem in that paper ejection and paper feeding take time since they are realized by hardware, which prolongs the time required for printing.

【0004】本発明は、かかる問題点を解決するために
なされたもので、バッファの容量が1ページに満たない
場合であっても効率的に連続印刷できるようにする、改
良された印刷制御方法を提供することにある。
The present invention has been made to solve such a problem, and has an improved print control method that enables efficient continuous printing even when the buffer capacity is less than one page. Is to provide.

【0005】本発明の他の課題は、上記印刷制御方法の
実施に適した印刷システム及びその構成装置を提供する
ことにある。
Another object of the present invention is to provide a printing system suitable for implementing the above-described printing control method and a component device thereof.

【0006】[0006]

【課題を解決するための手段】上記課題を解決する本発
明の給排紙制御方法は、連続印刷を行うときの印刷用紙
の給排紙制御を行う方法であって、印刷対象となるデー
タが複数ページにわたる場合に、先行するページについ
ての前記データの前領域に後続ページが存在することを
表すページ情報を付加してスプールしておき、先行ペー
ジの印刷処理時に前記スプールされたデータのページ情
報を参照して後続ページの有無を判別し、後続ページが
存在するときは先行ページについての印刷用紙の排紙制
御処理と前記後続ページの印刷用紙の給紙制御処理とを
同時期に行うことを特徴とする。
A paper supply / discharge control method according to the present invention for solving the above-mentioned problems is a method for controlling the supply / discharge of printing paper when performing continuous printing. In the case of a plurality of pages, page information indicating that a succeeding page exists in the preceding area of the data of the preceding page is spooled, and page information of the spooled data is printed at the time of printing the preceding page. To determine the presence or absence of a subsequent page, and when a subsequent page exists, it is necessary to perform the discharge control processing of the print paper for the preceding page and the paper feed control processing of the print paper of the subsequent page at the same time. Features.

【0007】本発明の他の給排紙制御方法は、印刷要求
に基づくデータをページ単位に中間コードに変換して保
持するとともに前記中間コードを読み出して印刷対象と
なる実画像データに展開する処理を前提とする。そして
前記中間コードが複数ページ分にわたることを検知した
場合に、先行するページについての実画像データの展開
時に当該ページの後続ページが存在することを表すペー
ジ情報を当該実画像データに付加してスプールしてお
く。先行ページの印刷処理時に前記スプールされた実画
像データのページ情報を参照して後続ページの有無を判
別し、後続ページが存在するときは、先行ページについ
ての印刷用紙の排紙制御処理と前記後続ページの印刷用
紙の給紙制御処理とを同時期に行う。
Another method of controlling paper supply and discharge according to the present invention is a process for converting data based on a print request into an intermediate code for each page and holding the same, reading the intermediate code, and developing the intermediate code into actual image data to be printed. Is assumed. When it is detected that the intermediate code extends over a plurality of pages, when the real image data for the preceding page is expanded, page information indicating that a subsequent page of the page exists is added to the real image data and spooled. Keep it. During the printing process of the preceding page, the presence / absence of a succeeding page is determined by referring to the page information of the spooled actual image data. The sheet feed control process for the page printing paper is performed at the same time.

【0008】なお、各給排紙制御方法において、前記後
続ページの印刷指示がキャンセルされた場合は、前記先
行ページの排紙制御処理前に前記ページ情報を消去す
る。
In each of the paper supply / discharge control methods, if the print instruction for the subsequent page is canceled, the page information is erased before the paper discharge control process for the preceding page.

【0009】本発明は、また、印刷制御装置と印刷装
置、あるいは印刷制御機能をコンピュータに付与する記
録媒体を提供する。
The present invention also provides a printing control device and a printing device, or a recording medium for giving a printing control function to a computer.

【0010】本発明の印刷制御装置は、印刷要求に基づ
くデータをページ単位に中間コードに変換して保持する
とともに前記中間コードを読み出して印刷対象となる実
画像データに展開する画像処理手段と、前記変換された
個々の中間コードについて後続ページについての中間コ
ードが存在するか否かを検出し、後続ページが存在する
場合に当該ページについての実画像データの展開時に前
記後続ページが存在することを表すページ情報を当該実
画像データの前領域に付加するページ情報付加手段とを
備え、前記ページ情報が付加された実画像データを印刷
装置宛に送出することで、当該実画像データに基づく排
紙制御処理と前記後続ページに基づく給紙制御処理とを
前記印刷装置に同時期に行わせるものである。
[0010] The print control apparatus of the present invention comprises an image processing means for converting data based on a print request into an intermediate code for each page and holding the same, reading the intermediate code, and developing the intermediate code into real image data to be printed; It is detected whether or not an intermediate code for a subsequent page exists for each of the converted intermediate codes, and when a subsequent page exists, it is determined that the subsequent page exists when the actual image data for the page is expanded. Page information adding means for adding the page information to be added to the previous area of the real image data, and sending the real image data to which the page information has been added to a printing apparatus, thereby discharging the paper based on the real image data. The control device and the paper feed control process based on the subsequent page are performed by the printing apparatus at the same time.

【0011】本発明の印刷装置は、上記印刷制御装置か
ら前記実画像データを取得して保持するデータ保持手段
と、前記保持された実画像データから前記ページ情報を
検出して後続ページの有無を判別する情報解読手段と、
後続ページが存在するときは先行ページについての印刷
用紙の排紙制御処理と前記後続ページの印刷用紙の給紙
制御処理とを同時期に行う制御手段とを備えたものであ
る。
The printing apparatus according to the present invention comprises a data holding means for acquiring and holding the real image data from the print control apparatus, and detecting the page information from the held real image data to determine whether or not a subsequent page exists. Information decoding means for determining,
When there is a subsequent page, a control unit is provided for performing the discharge control process of the printing paper for the preceding page and the paper feeding control process of the printing paper for the subsequent page at the same time.

【0012】なお、印刷装置は、印刷中の用紙の後端を
検出する後端検出センサをさらに備えるようにする。こ
の場合、前記制御手段は、前記後続ページが存在すると
きに前記先行ページについての印刷中の用紙の後端を検
出した時点で前記後続ページを印刷するための用紙の給
紙制御処理を開始するように構成する。
The printing apparatus may further include a trailing edge detection sensor for detecting the trailing edge of the sheet being printed. In this case, when the trailing edge of the sheet being printed on the preceding page is detected when the succeeding page is present, the control unit starts sheet feeding control processing for printing the succeeding page. The configuration is as follows.

【0013】本発明の記録媒体は、下記の処理をコンピ
ュータに実行させるためのプログラムを記録したコンピ
ュータ読み取り可能な記録媒体である。
The recording medium of the present invention is a computer-readable recording medium on which a program for causing a computer to execute the following processing is recorded.

【0014】(1)印刷要求に基づくデータをページ単
位に中間コードに変換して保持するとともに前記中間コ
ードを読み出して印刷対象となる実画像データに展開す
る処理、(2)前記変換された個々の中間コードについ
て後続ページについての中間コードが存在するか否かを
検出する処理、(3)個々のページに後続ページが存在
する場合に当該ページについての実画像データの展開時
に前記後続ページが存在することを表すページ情報を当
該実画像データの前領域に付加する処理、(4)前記ペ
ージ情報が付加された実画像データを印刷装置宛に送出
する処理。
(1) a process of converting data based on a print request into an intermediate code for each page and holding the same, reading the intermediate code, and developing the intermediate code into actual image data to be printed; (3) processing for detecting whether or not an intermediate code for a subsequent page exists in the intermediate code of (3), when a subsequent page exists for each page, the subsequent page exists when the actual image data for that page is expanded And (4) sending the real image data to which the page information has been added to a printing apparatus.

【0015】[0015]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して説明する。まず、本発明が適用される印刷シ
ステムの一例を図1に示す。
Embodiments of the present invention will be described below with reference to the drawings. First, an example of a printing system to which the present invention is applied is shown in FIG.

【0016】この印刷システムは、ホストコンピュータ
1と印刷装置2とをプリンタケーブルを介して接続して
構成される。印刷装置2は、ホストコンピュータ1から
印刷データ及びそれに付随する書式情報を受信したとき
に、所定の印刷プロセスを実行して印刷用紙に画像を形
成するものである。本実施形態では、印刷装置2は、バ
ッファ容量の小さい低廉なシリアルプリンタを想定して
いる。但し、他の高級なプリンタでの実施が不可能にな
るものではない。ホストコンピュータ1との接続形態
も、スタンドアロン状態、ネットワーク接続状態のいず
れであってもよい。
This printing system is configured by connecting a host computer 1 and a printing device 2 via a printer cable. The printing device 2 executes a predetermined printing process to form an image on a printing sheet when receiving printing data and accompanying format information from the host computer 1. In the present embodiment, the printing apparatus 2 is assumed to be an inexpensive serial printer with a small buffer capacity. However, this does not make it impossible to use another high-end printer. The connection form with the host computer 1 may be either a stand-alone state or a network connection state.

【0017】ホストコンピュータ1は所定のシステムプ
ログラムを通じてプログラムの実行、その制御及び監視
を行うものである。具体的には、図示しないシステムボ
ード上に配置されたCPU(Central processing Uni
t),RAM(Randum Access Memory),ROM(Read
Only Memory)と、内蔵又は外付けのハードディスク
(HD)3とを具備し、CPUが所要のプログラムを適
宜HD3から読み出して所要の処理を実行するようにな
っている。HD3には、印刷対象データや書式情報を生
成するアプリケーションプログラム(以下、AP)と、
本発明の印刷制御装置を実現するための印刷制御プログ
ラム(プリンタドライバ)等が記録されている。
The host computer 1 executes, controls and monitors a program through a predetermined system program. Specifically, a CPU (Central processing Uniform) arranged on a system board (not shown)
t), RAM (Randum Access Memory), ROM (Read
Only Memory) and a built-in or external hard disk (HD) 3, and the CPU appropriately reads a required program from the HD 3 and executes a required process. The HD 3 includes an application program (hereinafter, AP) for generating print target data and format information,
A print control program (printer driver) for realizing the print control apparatus of the present invention is recorded.

【0018】ホストコンピュータ1には、また、モニタ
画面を具備した表示装置4、各種設定情報を入力するた
めのデータ入力装置5、CD−ROMドライブ及びFD
Dを含むメディア読取装置6、構内ネットワークとの接
続インタフェースとなる通信制御装置7とが接続されて
いる。表示装置4は、システムプログラム、AP、ある
いは印刷制御プログラム等の指示に呼応して所定のダイ
アログウインドウを表示するように構成されている。デ
ータ入力装置5は、キーボード、マウスその他のポイン
ティングデバイスである。
The host computer 1 also includes a display device 4 having a monitor screen, a data input device 5 for inputting various setting information, a CD-ROM drive, and an FD.
A media reading device 6 including the communication device D and a communication control device 7 serving as a connection interface with a private network are connected. The display device 4 is configured to display a predetermined dialog window in response to an instruction of a system program, an AP, a print control program, or the like. The data input device 5 is a keyboard, mouse, or other pointing device.

【0019】なお、上記印刷制御プログラムは、通常、
印刷装置2の製造メーカにおいて開発され、フレキシブ
ルディスク(FD)やCD−ROMに、ホストコンピュ
ータ1が読み取り可能な形態で記録されて流通し、印刷
装置2を使用する際に、メディア読取装置6、あるいは
通信制御装置7を通じてホストコンピュータ1が読み取
ることで上記HD3にインストールされるものである。
The print control program is usually
It is developed by a manufacturer of the printing apparatus 2 and is recorded in a form readable by the host computer 1 on a flexible disk (FD) or a CD-ROM, distributed and used when the printing apparatus 2 is used. Alternatively, it is installed in the HD 3 by being read by the host computer 1 through the communication control device 7.

【0020】次に、上記ホストコンピュータ1が上記印
刷制御プログラムを読み込むことによって実現される印
刷制御装置の実施の形態を説明する。
Next, an embodiment of a print control apparatus realized by the host computer 1 reading the print control program will be described.

【0021】この印刷制御装置10は、図2に示すよう
に、中間コード生成部11、ページ情報管理部13、実
画像データ生成部14の各機能ブロックを有している。
また、図示しないメモリ部に形成される中間コードファ
イル12及びスプールファイル15を備えている。な
お、図2は、本発明を実施する上で必要な構成要素のみ
を掲げてある。
As shown in FIG. 2, the print control apparatus 10 has functional blocks of an intermediate code generation unit 11, a page information management unit 13, and a real image data generation unit 14.
Further, an intermediate code file 12 and a spool file 15 formed in a memory unit (not shown) are provided. FIG. 2 shows only the components necessary for implementing the present invention.

【0022】中間コード生成部11は、アプリケーショ
ン部(AP)からの印刷要求に基づくデータをページ単
位に中間コードに変換して中間コードファイル12に蓄
積するものである。中間コードは、例えばページ単位の
データに対する位置情報と、その位置における画像情
報、すなわち文字であればビットマップデータ、図形で
あれば形状データ、写真等の多値画像であればイメージ
データとで構成される。印刷指示要求に基づくデータを
一旦中間コードに変換するのは、データを直接実画像デ
ータに変換すると処理が複雑になるし、また、直接実画
像データに変換するよりも一旦中間コードに変換した方
がデータサイズが小さくなるのが一般的だからである。
The intermediate code generation unit 11 converts data based on a print request from the application unit (AP) into an intermediate code for each page and stores the intermediate code in the intermediate code file 12. The intermediate code is composed of, for example, position information for data in page units and image information at that position, that is, bitmap data for characters, shape data for graphics, and image data for multi-valued images such as photographs. Is done. Converting data based on a print instruction request to intermediate code once requires complicated processing if the data is directly converted to real image data. This is because the data size is generally small.

【0023】実画像データ生成部14は、印刷装置2に
よる印刷処理の実行状況に応じて中間コードファイルか
ら順次中間コードを読み出して印刷対象となる実画像デ
ータに展開してスプールファイル15に蓄積するもので
ある。
The real image data generation unit 14 sequentially reads out intermediate codes from the intermediate code file according to the execution status of the printing process by the printing apparatus 2, develops the intermediate codes into real image data to be printed, and accumulates them in the spool file 15. Things.

【0024】ページ情報管理部13は、中間コードファ
イル12中の中間コードの蓄積及び読み出し状況を監視
し、最初のページの中間コードか否か、及び個々の中間
コードにそれぞれ後続ページについての中間コードが存
在するか否かを検出する。最初のページの中間コードの
場合は、その旨を表すプレローディングコマンドを当該
ページについての実画像データの展開時に当該実画像デ
ータの前領域に付加する。また、後続ページが存在する
場合はその旨を表すページ情報を生成し、これを当該ペ
ージについての実画像データの展開時にプレローディン
グコマンドの後領域でかつ当該実画像データの前領域に
付加する。これは、中間コードへの変換は実画像データ
への展開よりも処理が比較的軽く、実画像データを展開
する時点では、次のページについての中間コードがある
かどうかがわかる点に着目した処理であり、AP側へ
は、中間コードへの変換時点で印刷終了通知を行う。こ
のときにキャンセルされない場合は、そのまま実画像デ
ータの展開へ自動的に処理を移す。
The page information management unit 13 monitors the storage and readout status of the intermediate code in the intermediate code file 12, and determines whether the intermediate code is the intermediate code of the first page, and stores each intermediate code in the intermediate code for the subsequent page. Is detected. In the case of the intermediate code of the first page, a preloading command indicating this is added to the area before the real image data when the real image data for the page is expanded. If there is a subsequent page, page information indicating that fact is generated, and this is added to the area after the preloading command and the area before the real image data when the real image data for the page is expanded. This is a process that focuses on the fact that conversion to intermediate code is relatively lighter than expansion to real image data, and at the time of expansion of real image data, it is possible to determine whether there is an intermediate code for the next page. The end of printing is notified to the AP at the time of conversion into the intermediate code. If it is not canceled at this time, the processing automatically shifts to the actual image data development.

【0025】なお、ページ情報管理部13は、APから
後続ページについての印刷要求がキャンセルされたこと
を検知できるようになっている。後続ページがキャンセ
ルされた場合は、該当するページの中間コードを削除す
るとともに、キャンセルされた旨を表示装置4に表示さ
せる。また、排紙コマンドの前領域にデータクリアを指
示するためのキャンセルコマンドを挿入する。
The page information management section 13 can detect that the print request for the succeeding page has been canceled from the AP. When the succeeding page is canceled, the intermediate code of the corresponding page is deleted, and the fact that the page is canceled is displayed on the display device 4. Also, a cancel command for instructing data clear is inserted in the area before the paper ejection command.

【0026】図3は、本実施形態による印刷装置2の要
部構成図である。
FIG. 3 is a configuration diagram of a main part of the printing apparatus 2 according to the present embodiment.

【0027】この印刷装置2は、プリンタ本体20に給
紙トレイ21と排紙トレイ22とを装着して使用され
る。給紙トレイ21の装着口付近にはASF(オートシ
ートフィーダ)モータ23が設けられ、このASFモー
タの駆動によって印刷用紙Sが印刷機構24の所定位置
に案内される。排紙トレイ22の装着口付近にはPF
(ペーパフィード)モータ25が設けられており、この
PFモータ25が駆動されることにより、印刷用紙が排
紙口方向に搬送され、その際、印刷機構24で印刷され
る。印刷後は排紙トレイ22に排紙される。印刷装置2
0は、また、印刷用紙Sの下端を検出するためのセンサ
27を備えており、印刷用紙SがPFモータ25で搬送
されて印刷処理を終了したことをこのセンサ27で検出
できるようになっている。このセンサ27の出力は制御
部26に通知される。
The printing apparatus 2 is used by mounting a paper feed tray 21 and a paper discharge tray 22 on a printer body 20. An ASF (auto sheet feeder) motor 23 is provided near the mounting opening of the paper feed tray 21, and the printing paper S is guided to a predetermined position of the printing mechanism 24 by driving the ASF motor. The PF is located near the mounting opening of the paper discharge tray 22.
A (paper feed) motor 25 is provided, and when the PF motor 25 is driven, the printing paper is conveyed in the direction of the paper discharge port, and at this time, printing is performed by the printing mechanism 24. After printing, the paper is discharged to the paper discharge tray 22. Printing device 2
0 further includes a sensor 27 for detecting the lower end of the printing paper S, and the sensor 27 can detect that the printing paper S has been conveyed by the PF motor 25 and the printing process has been completed. I have. The output of the sensor 27 is notified to the control unit 26.

【0028】ASFモータ23,印刷機構24,及びP
Fモータ25は、その動作が制御部26によって制御さ
れる。制御部26は、ホストコンピュータからの印刷デ
ータ(実画像データ)からページ情報を検出して後続ペ
ージの有無を判別する印刷データ管理部261と、印刷
機構24や各モータ23,25の動作制御を行う機構制
御部262を備えている。印刷データ管理部261は、
1ページに満たないデータ容量をもつバッファを保有
し、このバッファに格納された印刷データの先頭部分を
参照することによりページ情報を検出する。
ASF motor 23, printing mechanism 24, and P
The operation of the F motor 25 is controlled by the control unit 26. The control unit 26 detects the page information from the print data (actual image data) from the host computer and determines the presence / absence of a subsequent page. The print data management unit 261 also controls the operation of the printing mechanism 24 and the motors 23 and 25. A mechanism control unit 262 for performing the operation is provided. The print data management unit 261
A buffer having a data capacity of less than one page is held, and page information is detected by referring to the head of the print data stored in the buffer.

【0029】次に、上記印刷システムを用いた給排紙制
御方法を説明する。
Next, a paper supply / discharge control method using the above printing system will be described.

【0030】図4及び図5は、印刷制御装置10におけ
る処理手順図である。
FIG. 4 and FIG. 5 are processing procedure diagrams in the print control apparatus 10.

【0031】印刷制御装置10は、APからの連続印刷
要求の受信を契機に、印刷要求に基づくデータをページ
単位に中間コードに変換して中間コードファイル12に
蓄積する(ステップS101:Yes、S102、S10
3)。少なくとも1ページ分の中間コードの蓄積が終了
した場合は、実画像データへの展開を開始する(ステッ
プS104)。このとき、ページ情報管理部13は、中
間コードファイル12内の中間コードが最初のページも
のかどうかを判別し、最初のものである場合は実画像デ
ータの前領域にプレローディングコマンドを付加する
(ステップS105:Yes、S106)。また、後続ペ
ージについての中間コードが存在することを検知したと
きはページ情報を作成し、これを実画像データの前領域
(プレローディングコマンドの後領域)に付加する(ス
テップS107:Yes、S108)。ページ情報は、後
続の1ページが存在する旨の情報であってもよく、ある
いは少なくとも数ページ分の中間コードが存在するとき
はそのページ数を表す情報であってもよい。
Upon reception of a continuous print request from the AP, the print control apparatus 10 converts data based on the print request into an intermediate code in page units and stores the intermediate code in the intermediate code file 12 (step S101: Yes, S102). , S10
3). When the storage of the intermediate code for at least one page is completed, the development to the actual image data is started (step S104). At this time, the page information management unit 13 determines whether the intermediate code in the intermediate code file 12 is the first page, and if it is the first, adds a preloading command to the previous area of the actual image data ( Step S105: Yes, S106). When it is detected that an intermediate code exists for the succeeding page, page information is created and added to the area before the actual image data (the area after the preloading command) (step S107: Yes, S108). . The page information may be information indicating that one succeeding page exists, or may be information indicating the number of pages when intermediate codes for at least several pages exist.

【0032】ページ情報が付加された実画像データは、
スプールファイル15へ蓄積され(ステップS10
9)、送出タイミングに達した時点で読み出されて印刷
装置2へ送信される(ステップS110:Yes、S11
1)。
The actual image data to which the page information is added is
Stored in the spool file 15 (step S10
9), is read out and transmitted to the printing apparatus 2 when the transmission timing is reached (Step S110: Yes, S11)
1).

【0033】図5は、後続ページについての印刷要求が
キャンセルされた場合、すなわちAPからキャンセルコ
マンドが送出された場合の印刷制御装置10の処理手順
を示した図である。印刷制御装置10は、キャンセルコ
マンドを受信すると先行ページの印刷が終了しているか
どうかを調べる(ステップS201,S202)。先行
ページの印刷が終了していない場合は、先行ページの実
画像データの最終列の後領域にキャンセルコマンドを挿
入し(ステップS202:Yes、S203)、さらにそ
の後領域に排紙コマンドを挿入する(ステップS20
4)。その後、この実画像データをスプールファイル1
5に再蓄積する(ステップS205)。APからのキャ
ンセルコマンドを受信した時点で先行ページの印刷が終
了している場合は、以上の処理は無視される(ステップ
S202:Yes)。
FIG. 5 is a diagram showing a processing procedure of the print control device 10 when the print request for the subsequent page is canceled, that is, when the cancel command is sent from the AP. Upon receiving the cancel command, the print control device 10 checks whether the printing of the preceding page has been completed (steps S201 and S202). If the printing of the preceding page has not been completed, a cancel command is inserted into the area after the last column of the actual image data of the preceding page (step S202: Yes, S203), and further, a paper discharge command is inserted into the subsequent area (step S202). Step S20
4). Then, the actual image data is transferred to the spool file 1
5 (step S205). If the printing of the preceding page has been completed when the cancel command is received from the AP, the above processing is ignored (step S202: Yes).

【0034】このようにしてスプールファイル15に蓄
積される実画像データの構造例を示したのが図6であ
る。図6(a)は最初のページについてのデータの構
造、同(b)は2ページ目についてのデータの構造であ
る。同(c)は、2ページ目の印刷終了前にAPから印
刷要求がキャンセルされた場合のデータの構造である。
FIG. 6 shows an example of the structure of the actual image data stored in the spool file 15 in this manner. FIG. 6A shows the data structure of the first page, and FIG. 6B shows the data structure of the second page. FIG. 9C shows the data structure in a case where the print request is canceled from the AP before the printing of the second page is completed.

【0035】次に、印刷装置2側の処理手順を図7を参
照して説明する。
Next, a processing procedure on the printing apparatus 2 side will be described with reference to FIG.

【0036】印刷装置2では、まず受信した印刷データ
(必要に応じてページ情報等が付加された実画像デー
タ)を解析する(ステップS301)。
The printing apparatus 2 first analyzes the received print data (actual image data to which page information and the like are added as necessary) (step S301).

【0037】プレローディングコマンドが検出されたと
きはASFモータ23を駆動して印刷用紙Sの給紙を開
始する(ステップS302)。また、ページ情報が検出
されたときはページ情報を図示しない補助メモリにセッ
トする(ステップS303:Yes、S304)。その
後、PFモータ25を駆動して印刷用紙Sを印刷機構2
4の所定位置にセットするとともに(ステップS30
5)、バッファから実画像データを読み出して印刷処理
を実行する(ステップS306)。センサ27によって
用紙下端が検出されたときは(ステップS307:Ye
s)、後続ページがあるかどうかを、予めセットされた
ページ情報をもとに調べる。後続ページがある場合は
(ステップS308:Yes)、PFモータ25を駆動し
た状態でASFモータ23をも駆動し、後続ページ用の
給紙を開始させる(ステップS309)。その後、セッ
トされたページ情報を更新し、ステップS305以降の
処理を後続ページがなくなるまで繰り返す(ステップS
308:No)。
When the preloading command is detected, the ASF motor 23 is driven to start feeding the printing paper S (step S302). When page information is detected, the page information is set in an auxiliary memory (not shown) (step S303: Yes, S304). After that, the PF motor 25 is driven to print the printing paper S on the printing mechanism 2.
4 at a predetermined position (step S30).
5) Read the actual image data from the buffer and execute the printing process (step S306). When the lower end of the sheet is detected by the sensor 27 (step S307: Ye
s) Check whether there is a subsequent page based on the page information set in advance. If there is a subsequent page (step S308: Yes), the ASF motor 23 is also driven while the PF motor 25 is driven, and sheet feeding for the subsequent page is started (step S309). Thereafter, the set page information is updated, and the processing from step S305 is repeated until there is no subsequent page (step S305).
308: No).

【0038】なお、図7の例では、ページ情報をセット
してこれを順次更新する場合の例を示したが、その都
度、バッファ内のページ情報を読み出して後続ページが
存在するかどうかを調べるようにしてもよい。
In the example shown in FIG. 7, an example is shown in which page information is set and sequentially updated, but each time the page information in the buffer is read to check whether a subsequent page exists. You may do so.

【0039】このように、本実施形態の通信システムで
は、印刷対象となるデータが複数ページにわたる場合
に、先行するページについての実画像データの前領域に
ページ情報を付加してスプールしておき、先行ページの
印刷処理時にスプールされたデータのページ情報を参照
して後続ページの有無を判別し、後続ページが存在する
ときは先行ページについての印刷用紙の排紙制御処理と
後続ページの印刷用紙の給紙制御処理とを同時期に行う
ようにしたので、バッファ容量が1ページに満たない廉
価な印刷装置であっても、連続印刷の際の印刷所要時間
を長引かせることがなくなる。
As described above, in the communication system according to the present embodiment, when data to be printed extends over a plurality of pages, spooling is performed by adding page information to the area preceding the actual image data of the preceding page. The presence / absence of a subsequent page is determined by referring to the page information of the spooled data at the time of the preceding page print processing. If there is a subsequent page, the print sheet discharge control processing for the preceding page and the subsequent page Since the paper feed control process is performed at the same time, even a low-cost printing apparatus having a buffer capacity of less than one page does not prolong the time required for continuous printing.

【0040】[0040]

【発明の効果】以上の説明から明らかなように、本発明
によれば、先行ページの印刷用紙の排紙と同時に次ペー
ジの印刷用紙の給紙がなされるので、効率的に連続印刷
を行うことが可能になり、印刷所用時間を短縮化できる
という特有の効果を奏する。
As is apparent from the above description, according to the present invention, since the printing paper for the next page is fed simultaneously with the discharge of the printing paper for the preceding page, continuous printing is efficiently performed. This makes it possible to shorten the time required for the printing shop.

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

【図1】本発明が適用される印刷システムの全体構成
図。
FIG. 1 is an overall configuration diagram of a printing system to which the present invention is applied.

【図2】本実施形態による印刷制御装置の機能ブロック
構成図。
FIG. 2 is a functional block configuration diagram of the print control apparatus according to the embodiment.

【図3】本実施形態による印刷装置の要部構成図。FIG. 3 is a configuration diagram of a main part of the printing apparatus according to the embodiment.

【図4】連続印刷要求が出された場合の印刷制御装置の
処理手順説明図。
FIG. 4 is an explanatory diagram of a processing procedure of a print control device when a continuous print request is issued.

【図5】後続ページについての印刷要求がキャンセルさ
れた場合の印刷制御装置の処理手順説明図。
FIG. 5 is an explanatory diagram of a processing procedure of the print control apparatus when a print request for a subsequent page is canceled.

【図6】スプールファイルに蓄積される実画像データの
構造例を示した図で、(a)は最初のページ、同(b)
は2ページ目、(c)は、2ページ目の印刷終了前に印
刷要求がキャンセルされた場合の例である。
FIGS. 6A and 6B are diagrams showing an example of the structure of actual image data stored in a spool file, wherein FIG.
FIG. 7C shows an example in which the print request is canceled before the printing of the second page is completed.

【図7】連続印刷要求を受けた場合の印刷装置側の処理
手順説明図。
FIG. 7 is an explanatory diagram of a processing procedure on the printing apparatus side when a continuous printing request is received.

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

1 ホストコンピュータ 2 印刷装置 10 印刷制御装置 11 中間コード生成部 12 中間コードファイル 13 ページ情報管理部 14 実画像データ生成部 15 スプールファイル 20 プリンタ本体 23 ASFモータ 24 印刷機構 25 PFモータ 26 制御部 261 印刷データ管理部 262 機構制御部 27 用紙下端検出用のセンサ S 印刷用紙 DESCRIPTION OF SYMBOLS 1 Host computer 2 Printing device 10 Printing control device 11 Intermediate code generation part 12 Intermediate code file 13 Page information management part 14 Real image data generation part 15 Spool file 20 Printer main body 23 ASF motor 24 Printing mechanism 25 PF motor 26 Control part 261 Printing Data management unit 262 Mechanism control unit 27 Sensor for detecting lower edge of paper S Printing paper

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 連続印刷を行うときの印刷用紙の給排紙
制御を行う方法であって、印刷対象となるデータが複数
ページにわたる場合に、先行するページについての前記
データの前領域に後続ページが存在することを表すペー
ジ情報を付加してスプールしておき、先行ページの印刷
処理時に前記スプールされたデータのページ情報を参照
して後続ページの有無を判別し、後続ページが存在する
ときは先行ページについての印刷用紙の排紙制御処理と
前記後続ページの印刷用紙の給紙制御処理とを同時期に
行うことを特徴とする給排紙制御方法。
1. A method for controlling supply / discharge of printing paper when performing continuous printing, wherein when data to be printed extends over a plurality of pages, a succeeding page is added to a preceding area of the data for the preceding page. Is spooled with page information indicating the existence of a subsequent page, and the presence or absence of a subsequent page is determined by referring to the page information of the spooled data at the time of print processing of the preceding page. A paper supply / discharge control method, wherein the paper discharge control process for a preceding page and the paper feed control process for the subsequent page are performed simultaneously.
【請求項2】 印刷要求に基づくデータをページ単位に
中間コードに変換して保持するとともに前記中間コード
を読み出して印刷対象となる実画像データに展開する際
に、前記中間コードが複数ページ分にわたることを検知
した場合に、先行するページについての実画像データの
展開時に当該ページの後続ページが存在することを表す
ページ情報を当該実画像データに付加してスプールして
おき、先行ページの印刷処理時に前記スプールされた実
画像データのページ情報を参照して後続ページの有無を
判別し、後続ページが存在するときは先行ページについ
ての印刷用紙の排紙制御処理と前記後続ページの印刷用
紙の給紙制御処理とを同時期に行うことを特徴とする給
排紙制御方法。
2. The method according to claim 1, further comprising: converting the data based on the print request into an intermediate code for each page, holding the converted intermediate code, and developing the intermediate code into actual image data to be printed, the intermediate code covering a plurality of pages. When it is detected, when the real image data of the preceding page is expanded, page information indicating that a subsequent page of the page exists is added to the real image data and spooled, and the printing process of the preceding page is performed. Sometimes, the presence or absence of a subsequent page is determined by referring to the page information of the spooled real image data. If there is a subsequent page, the print sheet discharge control process for the preceding page and the supply of the print sheet for the subsequent page are performed. A paper supply / discharge control method, wherein a paper control process is performed at the same time.
【請求項3】 前記後続ページの印刷指示がキャンセル
された場合、前記先行ページの排紙制御処理前に前記ペ
ージ情報を消去することを特徴とする請求項1または2
記載の給排紙制御方法。
3. The method according to claim 1, wherein when the print instruction for the subsequent page is canceled, the page information is erased before the discharge control processing of the preceding page.
Paper supply / discharge control method described in the above.
【請求項4】 印刷要求に基づくデータをページ単位に
中間コードに変換して保持するとともに前記中間コード
を読み出して印刷対象となる実画像データに展開する画
像処理手段と、 前記変換された個々の中間コードについて後続ページに
ついての中間コードが存在するか否かを検出し、後続ペ
ージが存在する場合に当該ページについての実画像デー
タの展開時に前記後続ページが存在することを表すペー
ジ情報を当該実画像データの前領域に付加するページ情
報付加手段とを備え、 前記ページ情報が付加された実画像データを印刷装置宛
に送出することで、当該実画像データに基づく排紙制御
処理と前記後続ページに基づく給紙制御処理とを前記印
刷装置に同時期に行わせることを特徴とする印刷制御装
置。
4. An image processing means for converting data based on a print request into an intermediate code for each page, holding the converted code, reading the intermediate code, and expanding the intermediate code into actual image data to be printed, and It is detected whether or not the intermediate code of the succeeding page exists for the intermediate code, and when the succeeding page exists, the page information indicating that the succeeding page exists exists when the actual image data of the page is expanded. A page information adding means for adding the page information to a preceding area of the image data, and by sending the real image data to which the page information is added to a printing apparatus, a discharge control process based on the real image data and the subsequent page A printing control apparatus that causes the printing apparatus to perform a paper feed control process based on the print control at the same time.
【請求項5】 前記ページ情報付加手段は、前記後続ペ
ージについての印刷指示がキャンセルされた場合に、前
記先行するページに対する排紙コマンドの前領域に前記
後続ページについてのページ情報の消去指示コマンドを
挿入することを特徴とする請求項4記載の印刷制御装
置。
5. The page information adding means, when a print instruction for the subsequent page is canceled, sends a page information erase instruction command for the succeeding page in an area before the discharge command for the preceding page. The print control device according to claim 4, wherein the print control device is inserted.
【請求項6】 請求項4または5記載の印刷制御装置か
ら前記実画像データを取得して保持するデータ保持手段
と、 前記保持された実画像データから前記ページ情報を検出
して後続ページの有無を判別する情報解読手段と、 後続ページが存在するときは先行ページについての印刷
用紙の排紙制御処理と前記後続ページの印刷用紙の給紙
制御処理とを同時期に行う制御手段とを備えて成る印刷
装置。
6. A data holding unit for acquiring and holding the real image data from the print control device according to claim 4 or not, and detecting the page information from the held real image data to determine whether there is a subsequent page. And information control means for performing, at the same time, a discharge control process of the print sheet for the preceding page and a feed control process of the print sheet for the subsequent page when the subsequent page exists. Printing device.
【請求項7】 印刷中の用紙の後端を検出する後端検出
センサをさらに備え、前記制御手段は、前記後続ページ
が存在するときに前記先行ページについての印刷中の用
紙の後端を検出した時点で前記後続ページを印刷するた
めの用紙の給紙制御処理を開始することを特徴とする請
求項6記載の印刷装置。
7. A printer according to claim 1, further comprising a trailing edge detection sensor for detecting a trailing edge of the sheet being printed, wherein said control means detects a trailing edge of the sheet being printed for said preceding page when said succeeding page exists. 7. The printing apparatus according to claim 6, wherein a paper feed control process for printing the subsequent page is started at the point of time.
【請求項8】 印刷要求に基づくデータをページ単位に
中間コードに変換して保持するとともに前記中間コード
を読み出して印刷対象となる実画像データに展開する処
理、 前記変換された個々の中間コードについて後続ページに
ついての中間コードが存在するか否かを検出する処理、 個々のページに後続ページが存在する場合に当該ページ
についての実画像データの展開時に前記後続ページが存
在することを表すページ情報を当該実画像データの前領
域に付加する処理、 前記ページ情報が付加された実画像データを印刷装置宛
に送出する処理、をコンピュータに実行させるためのプ
ログラムを記録したコンピュータ読み取り可能な記録媒
体。
8. A process of converting data based on a print request into an intermediate code for each page, holding the converted intermediate code, and developing the intermediate code into actual image data to be printed. A process of detecting whether or not an intermediate code exists for a subsequent page, and, when a subsequent page exists in each page, a page information indicating that the subsequent page exists when the actual image data for the page is expanded. A computer-readable recording medium in which a program for causing a computer to execute a process of adding the real image data with the page information added to a previous area of the real image data and a process of sending the real image data to which the page information is added to a printing apparatus is recorded.
【請求項9】 請求項6または7記載の印刷装置と、請
求項8記載の記録媒体から前記プログラムを読み込んだ
コンピュータとを含み、先行ページの実画像データに基
づく排紙制御処理と前記後続ページに基づく給紙制御処
理とを同時期に行うことを特徴とする印刷システム。
9. A paper ejection control process based on actual image data of a preceding page, comprising: a printing device according to claim 6; and a computer reading the program from the recording medium according to claim 8. And a paper feed control process based on the image data at the same time.
JP02802098A 1998-02-10 1998-02-10 Printing paper supply / discharge control method and printing system Expired - Lifetime JP3575265B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02802098A JP3575265B2 (en) 1998-02-10 1998-02-10 Printing paper supply / discharge control method and printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02802098A JP3575265B2 (en) 1998-02-10 1998-02-10 Printing paper supply / discharge control method and printing system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2004060274A Division JP2004185645A (en) 2004-03-04 2004-03-04 Printing paper supply / discharge control method and printing system

Publications (2)

Publication Number Publication Date
JPH11232065A true JPH11232065A (en) 1999-08-27
JP3575265B2 JP3575265B2 (en) 2004-10-13

Family

ID=12237082

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02802098A Expired - Lifetime JP3575265B2 (en) 1998-02-10 1998-02-10 Printing paper supply / discharge control method and printing system

Country Status (1)

Country Link
JP (1) JP3575265B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007283553A (en) * 2006-04-13 2007-11-01 Seiko Epson Corp Control method for print medium processing apparatus and print medium processing apparatus
US20080024829A1 (en) * 2006-07-27 2008-01-31 Seiko Epson Corporation Printer and method of controlling the same

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007283553A (en) * 2006-04-13 2007-11-01 Seiko Epson Corp Control method for print medium processing apparatus and print medium processing apparatus
US8264699B2 (en) 2006-04-13 2012-09-11 Seiko Epson Corporation Apparatus and methods for converting print data supplied from a host computer to a print media processing apparatus into print image data before a print command is asserted
US20080024829A1 (en) * 2006-07-27 2008-01-31 Seiko Epson Corporation Printer and method of controlling the same
JP2008030270A (en) * 2006-07-27 2008-02-14 Seiko Epson Corp Printer and printer control method
US8576421B2 (en) 2006-07-27 2013-11-05 Seiko Epson Corporation Printer and method of controlling the same

Also Published As

Publication number Publication date
JP3575265B2 (en) 2004-10-13

Similar Documents

Publication Publication Date Title
US7515286B2 (en) Printer, control method for the same, and control device
JPH09265362A (en) Print control apparatus and method
JPH082068A (en) Printer with facsimile
JP3814585B2 (en) Image processing apparatus, image processing method, program, and storage medium
JP4534713B2 (en) Printing apparatus and program
JP2005202912A (en) Printing system and control method thereof, printing method, host device, and printer
JP3575265B2 (en) Printing paper supply / discharge control method and printing system
JP4007371B2 (en) Printing paper supply / discharge control method and printing system
JP4007370B2 (en) Printing paper supply / discharge control method and printing system
JP2004185645A (en) Printing paper supply / discharge control method and printing system
JPH11161585A (en) Communication terminal device and storage medium
JP2000222309A (en) Communication terminal device and storage medium
US8531715B2 (en) Method and system for forming image, and external device
JPH10187385A (en) Print control apparatus, print control method, and storage medium storing computer-readable program
JP2007130850A (en) Image forming apparatus, its control method, and program
JP3402892B2 (en) Print control device and data processing method of print control device
JPH0764735A (en) Printer
JPH09188041A (en) Output device
JP2000187567A (en) Print control method and apparatus
JPH1175052A (en) Image processing apparatus and image processing method
KR20010026821A (en) Method for reprinting of document error occurred
JPH1173282A (en) Printer device, scanner device, reply data creation method, and storage medium
JPH07137237A (en) Printer device and printer control device
JPH08101801A (en) Peripheral device and communication mode processing method of peripheral device
JP2004042437A (en) Printing recording device and printing recording system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20031216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040106

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040304

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20040304

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040615

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040628

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080716

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090716

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100716

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110716

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110716

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120716

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120716

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130716

Year of fee payment: 9

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term