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

Printing paper supply / discharge control method and printing system Download PDF

Info

Publication number
JP4007370B2
JP4007370B2 JP2005015165A JP2005015165A JP4007370B2 JP 4007370 B2 JP4007370 B2 JP 4007370B2 JP 2005015165 A JP2005015165 A JP 2005015165A JP 2005015165 A JP2005015165 A JP 2005015165A JP 4007370 B2 JP4007370 B2 JP 4007370B2
Authority
JP
Japan
Prior art keywords
page
image data
actual image
printing
intermediate code
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.)
Expired - Lifetime
Application number
JP2005015165A
Other languages
Japanese (ja)
Other versions
JP2005125801A (en
JP2005125801A5 (en
Inventor
真澄 吉野
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 JP2005015165A priority Critical patent/JP4007370B2/en
Publication of JP2005125801A publication Critical patent/JP2005125801A/en
Publication of JP2005125801A5 publication Critical patent/JP2005125801A5/ja
Application granted granted Critical
Publication of JP4007370B2 publication Critical patent/JP4007370B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

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

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

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

本発明は、かかる問題点を解決するためになされたもので、バッファの容量が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. There is.

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

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

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

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

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

本発明の印刷制御装置は、印刷要求に基づくデータをページ単位に中間コードに変換して保持するとともに前記中間コードを読み出して印刷対象となる実画像データに展開する画像処理手段と、前記変換された個々の中間コードについて後続ページについての中間コードが存在するか否かを検出し、後続ページが存在する場合に当該ページについての実画像データの展開時に前記後続ページが存在することを表すページ情報を当該実画像データの前領域に付加するページ情報付加手段とを備え、前記ページ情報が付加された実画像データを印刷装置宛に送出することで、当該実画像データに基づく排紙制御処理と前記後続ページに基づく給紙制御処理とを前記印刷装置に同時期に行わせるものである。   The print control apparatus of the present invention converts the data based on the print request into an intermediate code for each page and holds it, reads the intermediate code and develops it into actual image data to be printed, and the converted For each individual intermediate code, it is detected whether there is an intermediate code for the subsequent page. If there is a subsequent page, page information indicating that the subsequent page exists when the actual image data for the page is expanded. A page information adding means for adding to the previous area of the actual image data, and sending out the actual image data with the page information to the printing apparatus, thereby enabling a paper discharge control process based on the actual image data; The sheet feeding control process based on the succeeding page is performed at the same time by the printing apparatus.

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

なお、印刷装置は、印刷中の用紙の後端を検出する後端検出センサをさらに備えるようにする。この場合、前記制御手段は、前記後続ページが存在するときに前記先行ページについての印刷中の用紙の後端を検出した時点で前記後続ページを印刷するための用紙の給紙制御処理を開始するように構成する。   Note that 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 for the preceding page is detected when the succeeding page exists. Configure as follows.

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

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

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

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

この印刷システムは、ホストコンピュータ1と印刷装置2とをプリンタケーブルを介して接続して構成される。印刷装置2は、ホストコンピュータ1から印刷データ及びそれに付随する書式情報を受信したときに、所定の印刷プロセスを実行して印刷用紙に画像を形成するものである。本実施形態では、印刷装置2は、バッファ容量の小さい低廉なシリアルプリンタを想定している。但し、他の高級なプリンタでの実施が不可能になるものではない。ホストコンピュータ1との接続形態も、スタンドアロン状態、ネットワーク接続状態のいずれであってもよい。   This printing system is configured by connecting a host computer 1 and a printing apparatus 2 via a printer cable. When the printing apparatus 2 receives print data and accompanying format information from the host computer 1, the printing apparatus 2 executes a predetermined printing process to form an image on printing paper. In the present embodiment, the printing apparatus 2 is assumed to be an inexpensive serial printer with a small buffer capacity. However, implementation with other high-quality printers is not impossible. 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, controls and monitors the program through a predetermined system program. Specifically, a CPU (Central Processing Unit), a RAM (Randum Access Memory), a ROM (Read Only Memory), and a built-in or external hard disk (HD) 3 arranged on a system board (not shown) are provided. The CPU reads out the required program from the HD 3 as appropriate and executes the required processing. The HD 3 stores an application program (hereinafter referred to as AP) that generates print target data and format information, a print control program (printer driver) for realizing the print control apparatus 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 local network. The 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, AP, 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 the manufacturer of the printing apparatus 2 and is recorded and distributed in a form readable by the host computer 1 on a flexible disk (FD) or CD-ROM. When used, the host computer 1 reads through the media reading device 6 or the communication control device 7 and is installed in the HD 3.

次に、上記ホストコンピュータ1が上記印刷制御プログラムを読み込むことによって実現される印刷制御装置の実施の形態を説明する。   Next, an embodiment of a print control apparatus 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 apparatus 10 includes functional blocks of an intermediate code generation unit 11, a page information management unit 13, and an actual image data generation unit 14. In addition, 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 it 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 figures, and image data for multi-valued images such as photographs. Is done.
Converting data based on a print instruction request to intermediate code once is complicated if the data is converted directly to actual image data, and is also converted to intermediate code rather than directly converting to actual image data This is because the data size is generally small.

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

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

なお、ページ情報管理部13は、APから後続ページについての印刷要求がキャンセルされたことを検知できるようになっている。後続ページがキャンセルされた場合は、該当するページの中間コードを削除するとともに、キャンセルされた旨を表示装置4に表示させる。また、排紙コマンドの前領域にデータクリアを指示するためのキャンセルコマンドを挿入する。   Note that the page information management unit 13 can detect that the print request for the subsequent page from the AP has been canceled. When the subsequent page is canceled, the intermediate code of the corresponding page is deleted, and the display device 4 displays that the cancellation has been made. Also, a cancel command for instructing data clear is inserted in the area before the paper discharge 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 main body 20. An ASF (auto sheet feeder) motor 23 is provided near the loading 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 the printing paper is conveyed toward the paper discharge opening by driving the PF motor 25. 24. After printing, the paper is discharged to a paper discharge tray 22. The printing apparatus 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 transported by the PF motor 25 and the printing process has been completed. It 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 controls the operation of the print data management unit 261 that detects page information from print data (actual image data) from the host computer and determines whether there is a subsequent page, and the printing mechanism 24 and the motors 23 and 25. A mechanism control unit 262 is provided. The print data management unit 261 has a buffer having a data capacity less than one page, and detects page information by referring to the head portion 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における処理手順図である。   4 and 5 are process procedure diagrams in the print control apparatus 10.

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

ページ情報が付加された実画像データは、スプールファイル15へ蓄積され(ステップS109)、送出タイミングに達した時点で読み出されて印刷装置2へ送信される(ステップS110:Yes、S111)。   The actual image data to which the page information is added is accumulated in the spool file 15 (step S109), and is read and transmitted to the printing apparatus 2 when the sending timing is reached (steps 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 apparatus 10 when a print request for a subsequent page is canceled, that is, when a cancel command is transmitted from the AP. When receiving the cancel command, the print control apparatus 10 checks whether printing of the preceding page has been completed (steps S201 and S202). If printing of the preceding page is not completed, a cancel command is inserted in the area after the last row of the actual image data of the preceding page (step S202: Yes, S203), and a paper discharge command is inserted in the subsequent area (step S202: Yes). Step S204). Thereafter, the actual image data is re-accumulated 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 actual image data stored in the spool file 15 in this way. FIG. 6A shows the data structure for the first page, and FIG. 6B shows the data structure for the second page. (C) shows the data structure when the print request is canceled from the AP before the second page is printed.

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

印刷装置2では、まず受信した印刷データ(必要に応じてページ情報等が付加された実画像データ)を解析する(ステップS301)。   The printing apparatus 2 first analyzes the received print data (actual image data to which page information or the like is added if 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 and the printing process is executed (step S306). When the lower end of the sheet is detected by the sensor 27 (step S307: Yes), whether or not there is a subsequent page is checked based on preset page information. If there is a subsequent page (step S308: Yes), the ASF motor 23 is also driven in a state where the PF motor 25 is driven, and feeding of the subsequent page is started (step S309).
Thereafter, the set page information is updated, and the processes after step S305 are repeated until there is no subsequent page (step S308: No).

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

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

本発明が適用される印刷システムの全体構成図。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 a printing control apparatus according to the present embodiment. 本実施形態による印刷装置の要部構成図。FIG. 2 is a main part configuration diagram of the printing apparatus according to the present embodiment. 連続印刷要求が出された場合の印刷制御装置の処理手順説明図。Explanatory drawing of the processing procedure of the printing control apparatus when a continuous printing request is issued. 後続ページについての印刷要求がキャンセルされた場合の印刷制御装置の処理手順説明図。Explanatory drawing of the processing procedure of a printing control apparatus when the printing request about a subsequent page is canceled. スプールファイルに蓄積される実画像データの構造例を示した図で、(a)は最初のページ、同(b)は2ページ目、(c)は、2ページ目の印刷終了前に印刷要求がキャンセルされた場合の例である。FIG. 5 is a diagram illustrating an example of the structure of actual image data stored in a spool file, where (a) is the first page, (b) is the second page, and (c) is a print request before the second page is printed. This is an example when is canceled. 連続印刷要求を受けた場合の印刷装置側の処理手順説明図。FIG. 6 is a processing procedure explanatory diagram on the printing apparatus side when a continuous print 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 apparatus 10 Print control apparatus 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 bottom edge of paper S Printing paper

Claims (5)

印刷要求に基づくデータをページ単位に中間コードに変換して保持するとともに前記中間コードを読み出して印刷対象となる実画像データに展開する際に、
前記中間コードが複数ページ分にわたることを検知した場合に、先行するページについての実画像データの展開時に当該ページの後続ページが存在することを表すページ情報を先行ページの当該実画像データに付加してスプールしておき、
先行ページの印刷終了前に印刷キャンセル要求を受け付けた場合に、先行ページの実画像データの最終列の後領域にキャンセルコマンドを挿入し、再スプールすることを特徴とする排紙制御方法。
When data based on a print request is converted into an intermediate code for each page and held, and when the intermediate code is read and developed into actual image data to be printed,
When it is detected that the intermediate code covers a plurality of pages, page information indicating that there is a subsequent page of the page when the actual image data for the preceding page is expanded is added to the actual image data of the preceding page. Spool it,
A paper discharge control method, wherein when a print cancel request is received before printing of the preceding page is completed, a cancel command is inserted in the area after the last column of the actual image data of the preceding page and respooling is performed.
前記先行ページの印刷終了前に印刷キャンセル要求を受け付けた場合に、排紙コマンドを前記キャンセルコマンドの後領域に挿入することを特徴とする請求項1に記載の排紙制御方法。   2. The paper discharge control method according to claim 1, wherein when a print cancel request is received before the printing of the preceding page is completed, a paper discharge command is inserted in a region after the cancel command. 印刷要求に基づくデータをページ単位に中間コードに変換して保持するとともに前記中間コードを読み出して印刷対象となる実画像データに展開してスプールする画像処理手段と、
前記変換された個々の中間コードについて後続ページについての中間コードが存在するか否かを検出し、後続ページが存在する場合に当該ページについての実画像データの展開時に前記後続ページが存在することを表すページ情報を先行ページの当該実画像データの前領域に付加するページ情報付加手段とを備え、
前記ページ情報付加手段は、先行ページの印刷終了前に印刷キャンセル要求を受け付けた場合に、先行ページの実画像データの最終列の後領域にキャンセルコマンドを挿入し、再スプールすることを特徴とする印刷制御装置。
Image processing means for converting and holding data based on a print request into an intermediate code for each page, reading the intermediate code, developing it into actual image data to be printed, and spooling it;
For each of the converted intermediate codes, it is detected whether there is an intermediate code for the subsequent page. If there is a subsequent page, it is determined that the subsequent page exists when the actual image data for the page is expanded. Page information adding means for adding page information representing the previous area of the actual image data of the preceding page ,
The page information adding means inserts a cancel command into the rear area of the last column of the actual image data of the preceding page and respools when a print cancel request is received before the printing of the preceding page is completed. Print control device.
前記ページ情報付加手段は、前記先行ページの印刷終了前に印刷キャンセル要求を受け付けた場合に、排紙コマンドを前記キャンセルコマンドの後領域に挿入することを特徴とする請求項3に記載の印刷制御装置。   4. The print control according to claim 3, wherein the page information adding unit inserts a paper discharge command in an area after the cancel command when a print cancel request is received before the preceding page is printed. 5. apparatus. 印刷要求に基づくデータをページ単位に中間コードに変換して保持するとともに前記中間コードを読み出して印刷対象となる実画像データに展開してスプールする処理と、
前記変換された個々の中間コードについて後続ページについての中間コードが存在するか否かを検出し、後続ページが存在する場合に当該ページについての実画像データの展開時に前記後続ページが存在することを表すページ情報を先行ページの当該実画像の前領域に付加する処理と、
先行ページの印刷終了前に印刷キャンセル要求を受け付けた場合に、先行ページの実画像データの最終列の後領域にキャンセルコマンドを挿入し、再スプールする処理とをコンピュータに実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体。
A process of converting and holding data based on a print request into an intermediate code for each page, reading the intermediate code, developing it into actual image data to be printed, and spooling it;
For each of the converted intermediate codes, it is detected whether there is an intermediate code for the subsequent page. If there is a subsequent page, it is determined that the subsequent page exists when the actual image data for the page is expanded. A process of adding page information to the front area of the actual image of the preceding page ;
When a print cancel request is received before printing of the preceding page is completed, a program for inserting a cancel command into the area after the last column of the actual image data of the preceding page and respooling is recorded. Computer-readable recording medium.
JP2005015165A 2005-01-24 2005-01-24 Printing paper supply / discharge control method and printing system Expired - Lifetime JP4007370B2 (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Related Parent Applications (1)

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

Publications (3)

Publication Number Publication Date
JP2005125801A JP2005125801A (en) 2005-05-19
JP2005125801A5 JP2005125801A5 (en) 2005-09-02
JP4007370B2 true JP4007370B2 (en) 2007-11-14

Family

ID=34651120

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP4007370B2 (en)

Also Published As

Publication number Publication date
JP2005125801A (en) 2005-05-19

Similar Documents

Publication Publication Date Title
US7515286B2 (en) Printer, control method for the same, and control device
JP2004130784A (en) Printer
JP5845776B2 (en) Control device, control method of control device for controlling multifunction device, and program
US6676309B2 (en) Printer having function of administrating print job and method for administrating print job
US20110273740A1 (en) Preview screen display control apparatus and preview screen display control program
JP4532993B2 (en) Printing system and control method thereof, printing method, host device, and printer
JP4534713B2 (en) Printing apparatus and program
JP4007371B2 (en) Printing paper supply / discharge control method and printing system
JP4007370B2 (en) Printing paper supply / discharge control method and printing system
JP4449367B2 (en) Printer
JP3575265B2 (en) Printing paper supply / discharge control method and printing system
US20090009800A1 (en) Image forming apparatus and image forming method
JP3604776B2 (en) Printer control device and method
JP2004185645A (en) Paper feed/discharge control method of printing paper and printing system
JP4923899B2 (en) Printer driver program
JP2007233781A (en) Image output device and image output program
JP2008073901A (en) Image forming apparatus, image forming control program, and recording medium
JP4461825B2 (en) Cut sheet reading processing system, cut sheet reading apparatus, and combined processing apparatus
JP2007323363A (en) Printing system, printing apparatus, printing control method, program, and storage medium
US8531715B2 (en) Method and system for forming image, and external device
JP2005047029A (en) Recorder
JP3780223B2 (en) Multifunction device, image data transfer method, program, and storage medium
JP2006072525A (en) Recording system, recording device, and management method of external memory of recording device
JP2006159518A (en) Image forming device, its controlling method, image forming system, its controlling method, controlling program and storage medium
JP3711796B2 (en) Copy system, server, and storage medium storing operation program of server

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050510

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070508

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070709

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: 20070807

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070820

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

Free format text: PAYMENT UNTIL: 20100907

Year of fee payment: 3

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: 20100907

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110907

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120907

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130907

Year of fee payment: 6

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