JP2004185645A - Paper feed/discharge control method of printing paper and printing system - Google Patents

Paper feed/discharge control method of printing paper and printing system Download PDF

Info

Publication number
JP2004185645A
JP2004185645A JP2004060274A JP2004060274A JP2004185645A JP 2004185645 A JP2004185645 A JP 2004185645A JP 2004060274 A JP2004060274 A JP 2004060274A JP 2004060274 A JP2004060274 A JP 2004060274A JP 2004185645 A JP2004185645 A JP 2004185645A
Authority
JP
Japan
Prior art keywords
page
image data
printing
intermediate code
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.)
Withdrawn
Application number
JP2004060274A
Other languages
Japanese (ja)
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 JP2004060274A priority Critical patent/JP2004185645A/en
Publication of JP2004185645A publication Critical patent/JP2004185645A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a print control device enabling an efficient continuous printing. <P>SOLUTION: Data based on a printing request are converted to intermediate codes in terms of pages by an intermediate code generation part 11 and retained in an intermediate code file 12. A page information management part 13 detects the presence/absence of the following page for the individual intermediate codes. When the following page is present, page information showing the presence of the following page is added, when the page concerned is developed to actual image data in an actual image data generation part 14, to the front area of the actual image data, and accumulated in a spool file 15. The actual image data with the page information are transmitted to a printer, whereby the paper discharge control processing of the preceding page and the paper feed control processing of the following page are simultaneously performed in the printer. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

本発明は、例えば印刷用紙の給排紙制御を同時期に行って印刷処理の高速化を図る印刷システム及びその構成装置に関する。   The present invention relates to a printing system and a component device thereof, for example, in which printing paper supply / discharge control is performed at the same time to speed up printing processing.

近年、印刷装置は、コストを問わずに高機能化を図る傾向と、機能をある程度抑えて低廉化を図る傾向とが顕著である。後者の場合は、ハードウエアの削減化を図るのが通常であり、印刷データを記憶しておくためのバッファも極力低容量化される。印刷データを記憶するためのバッファの容量がページ単位に満たない従来の印刷装置では、給紙後に印刷データに基づく印刷を実行し、印刷終了後に排紙制御を行い、排紙が完了した時点で次ページ用の印刷用紙の給紙を行っていた。   2. Description of the Related Art In recent years, there has been a remarkable tendency to increase the functionality of a printing apparatus regardless of the cost and to reduce the cost by suppressing 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 performed after paper feeding, and discharge control is performed after printing is completed. Paper for the next page was being fed.

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

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

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

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

本発明の他の給排紙制御方法は、印刷要求に基づくデータをページ単位に中間コードに変換して保持するとともに前記中間コードを読み出して印刷対象となる実画像データに展開する処理を前提とする。そして前記中間コードが複数ページ分にわたることを検知した場合に、先行するページについての実画像データの展開時に当該ページの後続ページが存在することを表すページ情報を当該実画像データに付加してスプールしておく。先行ページの印刷処理時に前記スプールされた実画像データのページ情報を参照して後続ページの有無を判別し、後続ページが存在するときは、先行ページについての印刷用紙の排紙制御処理と前記後続ページの印刷用紙の給紙制御処理とを同時期に行う。   Another paper supply / discharge control method according to the present invention is based on the premise that data based on a print request is converted into an intermediate code for each page and held, and the intermediate code is read and expanded into actual image data to be printed. I do. 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 real image data. If there is a succeeding page, the print sheet discharge control process for the preceding page and the succeeding page The page print sheet feed control process is performed at the same time.

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

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

本発明の印刷制御装置は、印刷要求に基づくデータをページ単位に中間コードに変換して保持するとともに前記中間コードを読み出して印刷対象となる実画像データに展開する画像処理手段と、前記変換された個々の中間コードについて後続ページについての中間コードが存在するか否かを検出し、後続ページが存在する場合に当該ページについての実画像データの展開時に前記後続ページが存在することを表すページ情報を当該実画像データの前領域に付加するページ情報付加手段とを備え、前記ページ情報が付加された実画像データを印刷装置宛に送出することで、当該実画像データに基づく排紙制御処理と前記後続ページに基づく給紙制御処理とを前記印刷装置に同時期に行わせるものである。   The print control apparatus according to the present invention includes: an image processing unit that converts data based on a print request into an intermediate code for each page, holds the converted code, reads the intermediate code, and expands the intermediate code into actual image data to be printed, Page information that indicates whether or not an intermediate code for a subsequent page exists for each of the intermediate codes, and indicates that the subsequent page exists when the actual image data for the page is expanded when the subsequent page exists. And a page information adding means for adding the page information to the preceding area of the real 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 printing apparatus performs the paper feed control process based on the subsequent page at the same time.

本発明の印刷装置は、上記印刷制御装置から前記実画像データを取得して保持するデータ保持手段と、前記保持された実画像データから前記ページ情報を検出して後続ページの有無を判別する情報解読手段と、後続ページが存在するときは先行ページについての印刷用紙の排紙制御処理と前記後続ページの印刷用紙の給紙制御処理とを同時期に行う制御手段とを備えたものである。   The printing apparatus of the present invention includes a data holding unit that obtains and holds the real image data from the print control device, and information that detects the page information from the held real image data and determines whether there is a subsequent page. A decoding unit and a control unit that, when there is a succeeding page, perform a discharge control process of the print sheet for the preceding page and a feed control process of the print sheet of the succeeding page at the same time.

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

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

(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
(2) a process of detecting whether or not an intermediate code for a subsequent page exists for each of the converted intermediate codes;
(3) a process of adding page information indicating that the subsequent page exists to the previous area of the actual image data when the actual image data for the page is expanded when the subsequent page exists in each page;
(4) Processing for sending the actual image data to which the page information has been added to a printing apparatus.

以上の説明から明らかなように、本発明によれば、先行ページの印刷用紙の排紙と同時に次ページの印刷用紙の給紙がなされるので、効率的に連続印刷を行うことが可能になり、印刷所用時間を短縮化できるという特有の効果を奏する。   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 can be performed efficiently. This has a specific effect that the time for a printing shop can be reduced.

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

この印刷システムは、ホストコンピュータ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 apparatus 2 forms an image on printing paper by executing a predetermined printing process 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.

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

ホストコンピュータ1には、また、モニタ画面を具備した表示装置4、各種設定情報を入力するためのデータ入力装置5、CD−ROMドライブ及びFDDを含むメディア読取装置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 media reading device 6 including a CD-ROM drive and an FDD, and a connection interface with a private network. Communication control device 7 is connected. The display device 4 is configured to display a predetermined dialog window in response to an instruction from 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.

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

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

この印刷制御装置10は、図2に示すように、中間コード生成部11、ページ情報管理部13、実画像データ生成部14の各機能ブロックを有している。また、図示しないメモリ部に形成される中間コードファイル12及びスプールファイル15を備えている。なお、図2は、本発明を実施する上で必要な構成要素のみを掲げてある。   As shown in FIG. 2, the print control device 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 carrying out the present invention.

中間コード生成部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 the 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.

実画像データ生成部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. .

ページ情報管理部13は、中間コードファイル12中の中間コードの蓄積及び読み出し状況を監視し、最初のページの中間コードか否か、及び個々の中間コードにそれぞれ後続ページについての中間コードが存在するか否かを検出する。最初のページの中間コードの場合は、その旨を表すプレローディングコマンドを当該ページについての実画像データの展開時に当該実画像データの前領域に付加する。また、後続ページが存在する場合はその旨を表すページ情報を生成し、これを当該ページについての実画像データの展開時にプレローディングコマンドの後領域でかつ当該実画像データの前領域に付加する。これは、中間コードへの変換は実画像データへの展開よりも処理が比較的軽く、実画像データを展開する時点では、次のページについての中間コードがあるかどうかがわかる点に着目した処理であり、AP側へは、中間コードへの変換時点で印刷終了通知を行う。このときにキャンセルされない場合は、そのまま実画像データの展開へ自動的に処理を移す。   The page information management unit 13 monitors the accumulation and readout status of the intermediate code in the intermediate code file 12, and determines whether or not the intermediate code is the first page, and that each intermediate code has an intermediate code for a 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 printing end notification is sent 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.

なお、ページ情報管理部13は、APから後続ページについての印刷要求がキャンセルされたことを検知できるようになっている。後続ページがキャンセルされた場合は、該当するページの中間コードを削除するとともに、キャンセルされた旨を表示装置4に表示させる。また、排紙コマンドの前領域にデータクリアを指示するためのキャンセルコマンドを挿入する。   The page information management unit 13 can detect that the print request for the subsequent 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.

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

この印刷装置2は、プリンタ本体20に給紙トレイ21と排紙トレイ22とを装着して使用される。給紙トレイ21の装着口付近にはASF(オートシートフィーダ)モータ23が設けられ、このASFモータの駆動によって印刷用紙Sが印刷機構24の所定位置に案内される。排紙トレイ22の装着口付近にはPF(ペーパフィード)モータ25が設けられており、このPFモータ25が駆動されることにより、印刷用紙が排紙口方向に搬送され、その際、印刷機構24で印刷される。印刷後は排紙トレイ22に排紙される。印刷装置20は、また、印刷用紙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. A PF (paper feed) motor 25 is provided in the vicinity of the mounting opening of the paper discharge tray 22, and when the PF motor 25 is driven, the printing paper is conveyed in the direction of the paper discharge opening. Printed at 24. After printing, the paper is discharged to the paper discharge tray 22. The printing device 20 also includes a sensor 27 for detecting the lower end of the printing paper S, so that 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. Has become. The output of the sensor 27 is notified to the control unit 26.

ASFモータ23,印刷機構24,及びPFモータ25は、その動作が制御部26によって制御される。制御部26は、ホストコンピュータからの印刷データ(実画像データ)からページ情報を検出して後続ページの有無を判別する印刷データ管理部261と、印刷機構24や各モータ23,25の動作制御を行う機構制御部262を備えている。印刷データ管理部261は、1ページに満たないデータ容量をもつバッファを保有し、このバッファに格納された印刷データの先頭部分を参照することによりページ情報を検出する。   The operations of the ASF motor 23, the printing mechanism 24, and the PF motor 25 are 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 or 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 has a buffer having a data capacity of less than one page, and detects page information by referring to the head of the print data stored in this buffer.

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

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

印刷制御装置10は、APからの連続印刷要求の受信を契機に、印刷要求に基づくデータをページ単位に中間コードに変換して中間コードファイル12に蓄積する(ステップS101:Yes、S102、S103)。少なくとも1ページ分の中間コードの蓄積が終了した場合は、実画像データへの展開を開始する(ステップS104)。このとき、ページ情報管理部13は、中間コードファイル12内の中間コードが最初のページものかどうかを判別し、最初のものである場合は実画像データの前領域にプレローディングコマンドを付加する(ステップS105:Yes、S106)。また、後続ページについての中間コードが存在することを検知したときはページ情報を作成し、これを実画像データの前領域(プレローディングコマンドの後領域)に付加する(ステップS107:Yes、S108)。ページ情報は、後続の1ページが存在する旨の情報であってもよく、あるいは少なくとも数ページ分の中間コードが存在するときはそのページ数を表す情報であってもよい。   Upon receiving a continuous print request from the AP, the print control device 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, S103). . 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 page, 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.

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

図5は、後続ページについての印刷要求がキャンセルされた場合、すなわちAPからキャンセルコマンドが送出された場合の印刷制御装置10の処理手順を示した図である。印刷制御装置10は、キャンセルコマンドを受信すると先行ページの印刷が終了しているかどうかを調べる(ステップS201,S202)。先行ページの印刷が終了していない場合は、先行ページの実画像データの最終列の後領域にキャンセルコマンドを挿入し(ステップS202:Yes、S203)、さらにその後領域に排紙コマンドを挿入する(ステップS204)。その後、この実画像データをスプールファイル15に再蓄積する(ステップS205)。APからのキャンセルコマンドを受信した時点で先行ページの印刷が終了している場合は、以上の処理は無視される(ステップS202:Yes)。   FIG. 5 is a diagram illustrating 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 transmitted from the AP. Upon receiving the cancel command, the print control device 10 checks whether 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 in the area after the last column of the actual image data of the preceding page (Step S202: Yes, S203), and further, a paper ejection command is inserted in the area thereafter (Step S202). Step S204). Thereafter, the actual image data is stored again in the spool file 15 (step S205). If 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).

このようにしてスプールファイル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 the case where the print request is canceled from the AP before the printing of the second page is completed.

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

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

プレローディングコマンドが検出されたときはASFモータ23を駆動して印刷用紙Sの給紙を開始する(ステップS302)。また、ページ情報が検出されたときはページ情報を図示しない補助メモリにセットする(ステップS303:Yes、S304)。その後、PFモータ25を駆動して印刷用紙Sを印刷機構24の所定位置にセットするとともに(ステップS305)、バッファから実画像データを読み出して印刷処理を実行する(ステップS306)。センサ27によって用紙下端が検出されたときは(ステップS307:Yes)、後続ページがあるかどうかを、予めセットされたページ情報をもとに調べる。後続ページがある場合は(ステップS308:Yes)、PFモータ25を駆動した状態でASFモータ23をも駆動し、後続ページ用の給紙を開始させる(ステップS309)。
その後、セットされたページ情報を更新し、ステップS305以降の処理を後続ページがなくなるまで繰り返す(ステップS308: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). Thereafter, the PF motor 25 is driven to set the printing paper S at a predetermined position of the printing mechanism 24 (step S305), and the actual image data is read from the buffer to execute the printing process (step S306). When the lower end of the sheet is detected by the sensor 27 (step S307: Yes), it is checked 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 S308: No).

なお、図7の例では、ページ情報をセットしてこれを順次更新する場合の例を示したが、その都度、バッファ内のページ情報を読み出して後続ページが存在するかどうかを調べるようにしてもよい。   Although the example of FIG. 7 shows a case where page information is set and sequentially updated, each time the page information in the buffer is read to check whether a subsequent page exists or not. Is also good.

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

本発明が適用される印刷システムの全体構成図。1 is an overall configuration diagram of a printing system to which the present invention is applied. 本実施形態による印刷制御装置の機能ブロック構成図。FIG. 2 is a functional block configuration diagram of the print control apparatus according to the embodiment. 本実施形態による印刷装置の要部構成図。FIG. 1 is a configuration diagram of a main part of a printing apparatus according to an embodiment. 連続印刷要求が出された場合の印刷制御装置の処理手順説明図。FIG. 9 is an explanatory diagram of a processing procedure of the print control device when a continuous printing request is issued. 後続ページについての印刷要求がキャンセルされた場合の印刷制御装置の処理手順説明図。FIG. 9 is an explanatory diagram of a processing procedure of the print control apparatus when a print request for a subsequent page is canceled. スプールファイルに蓄積される実画像データの構造例を示した図で、(a)は最初のページ、同(b)は2ページ目、(c)は、2ページ目の印刷終了前に印刷要求がキャンセルされた場合の例である。FIGS. 4A and 4B are diagrams showing an example of the structure of actual image data stored in a spool file. FIG. 4A shows a first page, FIG. 4B shows a second page, and FIG. Is an example in the case where is canceled. 連続印刷要求を受けた場合の印刷装置側の処理手順説明図。FIG. 9 is an explanatory diagram of a processing procedure on the printing apparatus side when a continuous printing request is received.

符号の説明Explanation of reference numerals

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)

連続印刷を行うときの印刷用紙の給排紙制御を行う方法であって、印刷対象となるデータが複数ページにわたる場合に、先行するページについての前記データの前領域に後続ページが存在することを表すページ情報を付加してスプールしておき、先行ページの印刷処理時に前記スプールされたデータのページ情報を参照して後続ページの有無を判別し、後続ページが存在するときは先行ページについての印刷用紙の排紙制御処理と前記後続ページの印刷用紙の給紙制御処理とを同時期に行うことを特徴とする給排紙制御方法。   A method for controlling the supply and discharge of printing paper when performing continuous printing, wherein when data to be printed extends over a plurality of pages, it is determined that a succeeding page exists in a preceding area of the data for a preceding page. The page information is added and spooled, and during the printing process of the preceding page, the presence or absence of the subsequent page is determined by referring to the page information of the spooled data. A sheet supply / discharge control method, wherein a sheet discharge control process of a sheet and a sheet feed control process of a print sheet of the subsequent page are performed at the same time. 印刷要求に基づくデータをページ単位に中間コードに変換して保持するとともに前記中間コードを読み出して印刷対象となる実画像データに展開する際に、前記中間コードが複数ページ分にわたることを検知した場合に、先行するページについての実画像データの展開時に当該ページの後続ページが存在することを表すページ情報を当該実画像データに付加してスプールしておき、先行ページの印刷処理時に前記スプールされた実画像データのページ情報を参照して後続ページの有無を判別し、後続ページが存在するときは先行ページについての印刷用紙の排紙制御処理と前記後続ページの印刷用紙の給紙制御処理とを同時期に行うことを特徴とする給排紙制御方法。   When the data based on the print request is converted into an intermediate code on a page basis and held, and when the intermediate code is read and expanded into actual image data to be printed, when the intermediate code is detected as extending over a plurality of pages. In addition, 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. The presence / absence of a succeeding page is determined by referring to the page information of the actual image data. If there is a succeeding page, the process of controlling the discharge of the printing paper for the preceding page and the process of controlling the feeding of the printing paper of the subsequent page are performed. A sheet supply / discharge control method which is performed at the same time. 前記後続ページの印刷指示がキャンセルされた場合、前記先行ページの排紙制御処理前に前記ページ情報を消去することを特徴とする請求項1または2記載の給排紙制御方法。   3. The paper supply / discharge control method according to claim 1, wherein when the print instruction of the subsequent page is canceled, the page information is deleted before the paper discharge control processing of the preceding page. 印刷要求に基づくデータをページ単位に中間コードに変換して保持するとともに前記中間コードを読み出して印刷対象となる実画像データに展開する画像処理手段と、
前記変換された個々の中間コードについて後続ページについての中間コードが存在するか否かを検出し、後続ページが存在する場合に当該ページについての実画像データの展開時に前記後続ページが存在することを表すページ情報を当該実画像データの前領域に付加するページ情報付加手段とを備え、
前記ページ情報が付加された実画像データを印刷装置宛に送出することで、当該実画像データに基づく排紙制御処理と前記後続ページに基づく給紙制御処理とを前記印刷装置に同時期に行わせることを特徴とする印刷制御装置。
Image processing means for converting the data based on the 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,
It is detected whether or not an intermediate code for a subsequent page exists for each of the converted intermediate codes, and if 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,
By sending the real image data to which the page information is added to the printing device, the paper ejection control process based on the real image data and the paper feed control process based on the succeeding page are simultaneously performed by the printing device. A print control device characterized in that the print control is performed.
前記ページ情報付加手段は、前記後続ページについての印刷指示がキャンセルされた場合に、前記先行するページに対する排紙コマンドの前領域に前記後続ページについてのページ情報の消去指示コマンドを挿入することを特徴とする請求項4記載の印刷制御装置。   When the print instruction for the subsequent page is canceled, the page information adding means inserts a page information deletion instruction command for the subsequent page into an area before a discharge command for the preceding page. The print control device according to claim 4, wherein 請求項4または5記載の印刷制御装置から前記実画像データを取得して保持するデータ保持手段と、
前記保持された実画像データから前記ページ情報を検出して後続ページの有無を判別する情報解読手段と、
後続ページが存在するときは先行ページについての印刷用紙の排紙制御処理と前記後続ページの印刷用紙の給紙制御処理とを同時期に行う制御手段とを備えて成る印刷装置。
A data holding unit that acquires and holds the actual image data from the print control device according to claim 4 or 5,
Information decoding means for detecting the page information from the held real image data to determine the presence or absence of a subsequent page,
A printing apparatus comprising: a control unit that performs, at the same time, a print sheet discharge control process for a preceding page and a print sheet feed control process for the subsequent page when a subsequent page exists.
印刷中の用紙の後端を検出する後端検出センサをさらに備え、前記制御手段は、前記後続ページが存在するときに前記先行ページについての印刷中の用紙の後端を検出した時点で前記後続ページを印刷するための用紙の給紙制御処理を開始することを特徴とする請求項6記載の印刷装置。   A trailing edge detection sensor for detecting a trailing edge of the sheet being printed; wherein the control unit detects the trailing edge of the sheet being printed for the preceding page when the trailing page is present; 7. The printing apparatus according to claim 6, wherein a sheet feeding control process for printing a page is started. 印刷要求に基づくデータをページ単位に中間コードに変換して保持するとともに前記中間コードを読み出して印刷対象となる実画像データに展開する処理、
前記変換された個々の中間コードについて後続ページについての中間コードが存在するか否かを検出する処理、
個々のページに後続ページが存在する場合に当該ページについての実画像データの展開時に前記後続ページが存在することを表すページ情報を当該実画像データの前領域に付加する処理、
前記ページ情報が付加された実画像データを印刷装置宛に送出する処理、
をコンピュータに実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体。
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;
A process of detecting whether or not an intermediate code for a subsequent page exists for each of the converted intermediate codes;
A process of adding page information indicating that the subsequent page exists to the previous area of the real image data when the real image data for the page is expanded when the subsequent page exists in each page;
Sending the real image data to which the page information is added to a printing device;
Computer-readable recording medium on which a program for causing a computer to execute the program is recorded.
請求項6または7記載の印刷装置と、請求項8記載の記録媒体から前記プログラムを読み込んだコンピュータとを含み、先行ページの実画像データに基づく排紙制御処理と前記後続ページに基づく給紙制御処理とを同時期に行うことを特徴とする印刷システム。
A paper ejection control process based on actual image data of a preceding page and a paper feed control based on the succeeding page, comprising a printing device according to claim 6 or 7, and a computer reading the program from the recording medium according to claim 8. A printing system wherein the processing is performed at the same time.
JP2004060274A 2004-03-04 2004-03-04 Paper feed/discharge control method of printing paper and printing system Withdrawn JP2004185645A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004060274A JP2004185645A (en) 2004-03-04 2004-03-04 Paper feed/discharge control method of printing paper and printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004060274A JP2004185645A (en) 2004-03-04 2004-03-04 Paper feed/discharge control method of printing paper and printing system

Related Parent Applications (1)

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

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2005015166A Division JP4007371B2 (en) 2005-01-24 2005-01-24 Printing paper supply / discharge control method and printing system
JP2005015165A Division JP4007370B2 (en) 2005-01-24 2005-01-24 Printing paper supply / discharge control method and printing system

Publications (1)

Publication Number Publication Date
JP2004185645A true JP2004185645A (en) 2004-07-02

Family

ID=32768258

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004060274A Withdrawn JP2004185645A (en) 2004-03-04 2004-03-04 Paper feed/discharge control method of printing paper and printing system

Country Status (1)

Country Link
JP (1) JP2004185645A (en)

Similar Documents

Publication Publication Date Title
US20090066989A1 (en) Image forming apparatus and method, computer program product, and image forming system
JP4543945B2 (en) Printing system, control method therefor, and print management program
JP4174476B2 (en) Data processing apparatus, data processing method, printer driver program, print control apparatus, print control method, and printing system
US20110273740A1 (en) Preview screen display control apparatus and preview screen display control program
JP4534713B2 (en) Printing apparatus and program
JP4532993B2 (en) Printing system and control method thereof, printing method, host device, and printer
US8045205B2 (en) Image forming device, and method and computer readable medium therefor
JP3575265B2 (en) Printing paper supply / discharge control method and printing system
JP4007371B2 (en) Printing paper supply / discharge control method and printing system
JP4449367B2 (en) Printer
JP4007370B2 (en) Printing paper supply / discharge control method and printing system
JP2004185645A (en) Paper feed/discharge control method of printing paper and printing system
US20120033256A1 (en) Information processing apparatus, job processing system, job transmission path control method, and storage medium storing control program therefor
EP1835713A1 (en) Image forming system, image forming apparatus, and image forming method
JP2007130850A (en) Image forming apparatus, its control method, and program
EP1041508B1 (en) Image forming apparatus having data compression/decompression system
US8531715B2 (en) Method and system for forming image, and external device
JPH11161585A (en) Communication terminal equipment and storage medium
JP2007323363A (en) Printing system, printing apparatus, printing control method, program, and storage medium
JP2009151697A (en) Printing system and server device
JP2008027217A (en) Printing system with information processor and printing apparatus
JP2000222309A (en) Communication terminal device and storage medium
JP2008073901A (en) Image forming apparatus, image forming control program, and recording medium
JP4095296B2 (en) Printing apparatus and printing control method therefor
JP2008250435A (en) Printing system, and prn file generation method in printing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050124

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20060213