JP4072423B2 - Printing apparatus and control method thereof, and host computer and control method thereof - Google Patents

Printing apparatus and control method thereof, and host computer and control method thereof Download PDF

Info

Publication number
JP4072423B2
JP4072423B2 JP2002342721A JP2002342721A JP4072423B2 JP 4072423 B2 JP4072423 B2 JP 4072423B2 JP 2002342721 A JP2002342721 A JP 2002342721A JP 2002342721 A JP2002342721 A JP 2002342721A JP 4072423 B2 JP4072423 B2 JP 4072423B2
Authority
JP
Japan
Prior art keywords
printing
page
tab
unit
printed
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 - Fee Related
Application number
JP2002342721A
Other languages
Japanese (ja)
Other versions
JP2004174852A5 (en
JP2004174852A (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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2002342721A priority Critical patent/JP4072423B2/en
Publication of JP2004174852A publication Critical patent/JP2004174852A/en
Publication of JP2004174852A5 publication Critical patent/JP2004174852A5/ja
Application granted granted Critical
Publication of JP4072423B2 publication Critical patent/JP4072423B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、タブ紙のタブ領域への印刷機能を有する印刷装置の制御技術に関する。
【0002】
【従来の技術】
従来より、タブ紙(インデックス用紙)のタブ領域(インデックス領域)に文字等を印刷することができる印刷システムが知られている。従来のタブ紙への印刷処理およびその後処理は一般に、次のような手順で行われていた。
【0003】
(1) アプリケーションプログラム上で、タブ領域に印刷する文字列を入力あるいは選択する。
(2) アプリケーションプログラム上でタブ紙のタブ領域に印刷する文字列の体裁加工(文字サイズ、フォント等の設定)を行い、このタブ紙のためのページを作成する。
(3) あらかじめタブ紙のみの印刷を行い、その後、本文ドキュメントの章毎あるいはセクション毎にタブ紙を挿入する。
【0004】
【特許文献1】
特開2001−358932号公報
【0005】
【発明が解決しようとする課題】
しかしながら、上記した方法では、以下に示すような問題があった。
【0006】
(1) 各タブ紙毎に、本文ドキュメントの構成に合わせてタブ紙挿入位置を設定し、タブ領域への文字列印刷のための体裁加工などを行う必要があり、操作が煩雑であった。
(2) ユーザが、本文ドキュメントの内容に合わせてタブ領域に印刷する文字列を決定する必要があり、タブ領域に印刷する文字列の決定に時間がかかっていた。
(3) 本文ドキュメントの印刷と、タブ紙の印刷とは別のジョブで行う必要があり、1回のジョブ実行によって所望の位置にタブ紙が挿入された印刷結果を得ることができず、作業効率が悪かった。
【0007】
そこで、本発明は、タブ紙挿入およびタブ領域の印刷に係る設定を簡単に行うことができ、なおかつ、1回の印刷ジョブで所望の位置にタブ紙が挿入された印刷結果を得ることができるようにすることを目的とする。
【0008】
【課題を解決するための手段】
本発明の一側面は、第1の記録媒体に印刷を行う第1の印刷手段と、タブ領域を有する第2の記録媒体における当該タブ領域に印刷を行う第2の印刷手段とを備えた印刷装置の制御方法に係り、印刷対象のドキュメントデータの少なくとも1ページ分を記憶する記憶手段から入力される該ドキュメントデータのページ単位に、予め定められた区切り位置が含まれるか否かを判断する判断ステップと、前記判断ステップで前記区切り位置が含まれると判断されたときは、そのページを前記第1の印刷手段により印刷させる前に、その区切り位置において前記ページのドキュメントデータの中から予めユーザが設定した条件で抽出される文字列を前記第2の印刷手段により印刷させ、前記判断ステップで前記区切り位置が含まれないと判断されたときは、前記ページを前記第1の印刷手段により印刷させるよう制御する制御ステップとを有することを特徴とする。
【0009】
【発明の実施の形態】
以下、図面を参照して本発明の好適な実施形態について詳細に説明する。
【0010】
図2は、実施形態における印刷システムの構成を示す図である。図示のように本システムは、ホストコンピュータ200とプリンタ212とが接続された構成である。
【0011】
まず、ホストコンピュータ200の構成を説明する。
【0012】
204は装置全体の動作をつかさどるCPU、205は種々の基本プログラムを格納するROM、206は主記憶装置として機能するRAMである。
【0013】
201はキーボードで、このキーボードからの入力に応じた割り込み信号はキーボードコントローラ207によって生成される。202はディスプレイで、ディスプレイ202への表示出力はディスプレイ・コントローラ208によって制御される。203はハードディスク装置(HDD)であり、このHDD203への入出力はハードディスク・コントローラ209によって制御される。210はプリンタ212との通信を行うための通信インタフェース(I/F)である。また、211は各構成要素を接続するCPUバスである。
【0014】
HDD203には、図示のように、オペレーティング・システム(OS)をはじめ、文書/画像データを作成するためのアプリケーションプログラム、OSやアプリケーションプログラムによって作成されたデータに基づいてプリンタ212に対するプリントデータを生成するプリンタドライバが格納されている。
【0015】
次に、プリンタ212の構成を説明する。
【0016】
214はプリンタ全体の動作を統括的に制御するCPU、215は、プリンタを動作させるための制御プログラムや各種データなどを格納したROM、216はCPU 214が各種プログラムを実行するための作業領域として用いられるRAMである。
【0017】
217は、ホストコンピュータ200と通信を行うための通信インタフェースである。218は、ハードディスク213への入出力を制御するハードディスク・コントローラである。219は、機構的にパターン出力を行うビデオインタフェースで、印刷装置駆動系(エンジン部)221とのデータおよび信号のやり取りを行う入出力インターフェースを備えるエンジン制御処理部として機能する。220は、各構成要素を接続するCPUバスである。
【0018】
このプリンタ212は、図示は省略するが、第1の記録媒体としての通常の印刷用紙を載置する用紙カセットの他、第2の記録媒体としてのタブ紙を載置するオプションカセットを有し、ホストコンピュータ200からの制御指令に従いエンジン部221に用紙を供給するカセットを選択しつつ印刷処理を行う。
【0019】
プリンタ212における印刷処理の概要は次のとおりである。
【0020】
まず、ホストコンピュータ200内のプリンタドライバから送信されてくるプリンタを初期化するための制御命令を受信し、それに基づいて初期化処理を行う。続いて、ホストコンピュータ200から、プリンタ212に印刷を行わせるために送信されてくるプリンタ印刷制御命令を入力し、入力したプリンタ印刷制御命令および各種設定パラメータなどを解析する。次に、印刷制御命令および制御設定パラメータに基づいてビットマップデータを生成し、ビデオインタフェース219を介して印刷装置駆動系(エンジン部)221に、生成したビットマップデータを送信して、タブ紙挿入およびタブ領域印字を含むドキュメントの出力を行う(図2の222)。
【0021】
図3および図4のフローチャートを用いて、実施形態におけるホストコンピュータ200による印刷制御処理を詳しく説明する。この制御処理に対応するプログラムが上記のプリンタドライバであり、RAM206にロードされてCPU204によって実行される。このプリンタドライバは、アプリケーションプログラムによるドキュメント作成および印刷出力のための各種初期化処理を行う過程で、OSを介して起動する。
【0022】
図4は、実施形態におけるプリンタドライバによる印刷制御処理の概要を示すフローチャートである。
【0023】
まず、ステップS401で、各種印刷属性設定パラメータおよび、アプリケーションから印刷指示されたドキュメントを構成する文字/図形/イメージデータを入力する。本実施形態では、ここで、本文ドキュメント中の所定の区切り位置(例えば、章毎あるいはセクション毎)において、タブ紙の挿入指示、およびタブ領域への印刷指示を行うことができる。これらの指示がなされた場合の制御処理については、図3を用いて後述する。
【0024】
次に、ステップS402で、これら入力されたパラメータおよびデータを解析する。
【0025】
次に、ステップS403で、ステップS402の解析結果より、用紙サイズ、印刷方向、描画解像度設定、座標系の単位設定など印刷の準備をするため、プリンタに対する各設定パラメータをプリンタ制御命令に変換・生成し、送信してプリンタの初期化処理を行う。
【0026】
ステップS404およびステップS406は、ステップS402で解析処理されたパラメータ及びデータを、文字データ、図形データ及びイメージデータに分離してそれぞれに対応する処理を行わせるための分岐である。ステップS404およびステップS406で分離された文字データ、図形データおよびイメージデータはそれぞれ、ステップS405、ステップS407およびステップS408で、文字印字制御処理、図形描画制御処理およびイメージ描画制御処理が施される。
【0027】
ステップS409では、ステップS405、ステップS407およびステップS408の文字印字、図形描画およびイメージ描画の制御処理に基づき、描画出力属性、サイズ計算、描画出力位置などパターンの出力形態を決定し、プリンタの出力ページに配置するドキュメント構成制御処理を行う。
【0028】
次に、ステップS410で、ステップS409で構成されたドキュメント出力の制御データを、印刷制御命令生成処理として、プリンタにドキュメントを出力するためにプリンタの印刷制御命令に変換・生成する。
【0029】
次に、ステップS411で、プリンタへの出力送信処理として、プリンタ212に対して、ステップS410で生成された印刷制御命令を送信する。これによって、プリンタ212からドキュメントが印刷されることになる(ステップS412)。
【0030】
図3は、上記ステップS401においてタブ紙の挿入およびタブ領域への印刷指示があった場合の印刷制御処理を示すフローチャートである。
【0031】
まず、ステップS301で、タブ紙のタブ領域に印刷する文字列の決定条件を設定する。この設定は例えば、プリンタドライバが提供するユーザインタフェース(ディスプレイ202に表示される)を介して、決定条件の候補をユーザに選択させることで行われる。決定条件の候補としては、例えば、ページ先頭から、(1)1単語、(2)所定文字数、(3)NULLなどの文字終端コードが出現するまでの範囲、(4)改行コードが出現するまでの範囲、(5)同一ベースライン(同一行)上に印字される文字列、などが考えられる。
【0032】
あるいは、タブ領域に印刷する文字列として、あらかじめ用意した文字列、例えば、(6)「第1章、第2章、・・・」、(7)「Section 1, Section 2, ・・・」といった特定の文字列を選択させるようにしてもよいし、さらに、タブ領域に印刷する文字列として、ユーザが任意の文字列を入力できるようにしてもよい。
【0033】
また、このとき決定された文字列について、文字書体(フォント)や、縦書き/横書きの印刷方向などの属性を設定することもできる。
【0034】
次に、ステップS302で、アプリケーションプログラムから本文ドキュメントデータを入力する。入力された本文ドキュメントデータはRAM206またはHDD203に記憶され、本実施形態では、1ページ分のデータ入力が完了したところで次のステップS303に進む。
【0035】
ステップS303では、そのページが所定の区切り位置を含むか否かを判断する。具体的には、例えば、そのページが本文ドキュメントの章あるいはセクションの開始位置を含むか否かを判断する。例えば、ページの先頭において、通常本文で使用される書体属性、文字修飾属性、文字サイズ属性と異なる属性で印字される文字列が存在する場合などにセクション開始ありと判断する。
【0036】
章あるいはセクション開始であると判断された場合にはステップS304に進み、ステップS301で設定されたタブ領域に印刷する文字列の決定条件に基づき、ステップS302で入力した本文ドキュメントデータからタブ紙のタブ領域に印刷する文字列を抽出し、いったんRAM206に記憶する。
【0037】
次に、ステップS305において、ステップS301で設定された文字書体指定、横書き/縦書きの印字方向指定などの印字形態を示す属性設定に基づき、ステップS304で抜き出した文字列の文字サイズ調整、文字列回転配置、文字印字位置調整などの印字体裁・加工を施す各種印字制御処理を行い、本文ドキュメント中へのタブ紙挿入指示およびタブ領域への印刷指示を行う。これにより、タブ領域に印字がされたタブ紙が排出される。
【0038】
図1は、アプリケーションプログラムにより作成されたドキュメントの一例を示している。ここで、101に示される“A Tradition of Excellence”および103に示される“Point-and-click Operation”はそれぞれ、章またはセクションの表題を表している。この場合、例えばステップS301で、タブ領域に印刷する文字列の決定条件を「ページ先頭の同一ベースラインに存在する文字列」に設定しておくと、102および104に示すように、それぞれの表題が抽出されタブ領域に印刷される。
【0039】
続いて、ステップS306の本文ドキュメント印刷処理に移行し、印刷が行われ、印刷済みの用紙が排出される。
【0040】
一方、ステップS303の判断分岐で、章あるいはセクションの開始ではない、すなわち章あるいはセクションの途中のドキュメントページと判断された場合には、タブ紙挿入指示およびタブ領域への印刷指示を行うことなく、そのままステップS306の本文ドキュメント印刷処理に移行し、印刷が行われる。
【0041】
その後、ステップS307で、全ドキュメントデータが終了したかどうかを判断する。全ドキュメントデータは終了ではない、すなわちドキュメントが次ページ以降に続くと判断された場合には、ステップS302に戻って、次ページの印刷処理を継続する。
【0042】
一方、全ドキュメントデータが終了した、すなわち全ページ印刷完了と判断された場合には、ジョブ終了処理に移行し、この印刷制御処理を終了する。
【0043】
上記した制御処理の場合、ステップS302〜S307の処理を本文ドキュメントのページ単位に行うことによって、その結果として本文ドキュメントの所定の区切り位置(章またはセクションの開始位置)でタブ領域に印字がされたタブ紙が中差しされることになる。
【0044】
このように本実施形態によれば、タブ紙のタブ領域への印刷を含むタブ紙作成および本文ドキュメント中へのタブ紙挿入の処理が、プリンタドライバによって自動的に行われる。したがって、ユーザは、各タブ紙毎に、本文ドキュメントの構成に合わせてタブ紙に印刷する文字列の決定、タブ紙挿入位置の設定、タブ領域への文字列印刷のための体裁加工などを行う必要がなくなるので、タブ紙印刷のための煩雑な操作が不要になる。さらに、本文ドキュメントのページ単位にタブ領域への文字列印刷の実行が制御されるので、本文ドキュメントの印刷と、タブ紙の印刷とは別のジョブで行う必要がなくなり、1回のジョブ印刷実行によって所望の位置にタブ紙が挿入された印刷結果を得ることができる。これにより、操作性に優れ、かつ効率的、簡便かつ運用性の高い印刷システムを提供することが可能となる。
【0045】
(他の実施形態)
以上、本発明の実施形態を詳述したが、本発明は、例えばシステム、装置、方法、プログラムもしくは記憶媒体等としての実施態様をとることが可能である。また、本発明は、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用してもよい。
【0046】
なお、本発明は、前述した実施形態の機能を実現するソフトウェアのプログラム(図3,4に示すフローチャートに対応したプログラム)を、システムあるいは装置に直接あるいは遠隔から供給し、そのシステムあるいは装置のコンピュータがその供給されたプログラムコードを読み出して実行することによっても達成される場合を含む。その場合、プログラムの機能を有していれば、その形態はプログラムである必要はない。
【0047】
従って、本発明の機能処理をコンピュータで実現するために、そのコンピュータにインストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明の特許請求の範囲には、本発明の機能処理を実現するためのコンピュータプログラム自体も含まれる。
【0048】
その場合、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等、プログラムの形態を問わない。
【0049】
プログラムを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、MO、CD−ROM、CD−R、CD−RW、磁気テープ、不揮発性のメモリカード、ROM、DVD(DVD−ROM,DVD−R)などがある。
【0050】
その他、プログラムの供給方法としては、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続し、そのホームページから本発明のコンピュータプログラムそのもの、もしくは圧縮され自動インストール機能を含むファイルをハードディスク等の記録媒体にダウンロードすることによっても供給できる。また、本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり、本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバも、本発明のクレームに含まれるものである。
【0051】
また、本発明のプログラムを暗号化してCD−ROM等の記憶媒体に格納してユーザに配布し、所定の条件をクリアしたユーザに対し、インターネットを介してホームページから暗号化を解く鍵情報をダウンロードさせ、その鍵情報を使用することにより暗号化されたプログラムを実行してコンピュータにインストールさせて実現することも可能である。
【0052】
また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される他、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどが、実際の処理の一部または全部を行い、その処理によっても前述した実施形態の機能が実現され得る。
【0053】
さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によっても前述した実施形態の機能が実現される。
【0054】
【発明の効果】
本発明によれば、タブ紙挿入およびタブ領域の印刷に係る設定を簡単に行うことができ、なおかつ、1回の印刷ジョブで所望の位置にタブ紙が挿入された印刷結果を得ることができるようにすることができる。
【図面の簡単な説明】
【図1】実施形態におけるタブ領域への文字列印刷を説明する図である。
【図2】実施形態における印刷システムの構成を示す図である。
【図3】実施形態における、タブ紙の挿入およびタブ領域への印刷指示があった場合の印刷制御処理を示すフローチャートである。
【図4】実施形態におけるプリンタドライバによる印刷制御処理の概要を示すフローチャートである。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a control technology for a printing apparatus having a printing function for a tab area of a tab sheet.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, a printing system that can print characters or the like on a tab area (index area) of a tab sheet (index sheet) is known. Conventional printing on tab paper and subsequent processing are generally performed in the following procedure.
[0003]
(1) Enter or select a character string to be printed in the tab area on the application program.
(2) The character string to be printed in the tab area of the tab sheet is processed on the application program (setting of character size, font, etc.), and a page for the tab sheet is created.
(3) Print the tab sheet only in advance, and then insert the tab sheet for each chapter or section of the body document.
[0004]
[Patent Document 1]
Japanese Patent Laid-Open No. 2001-358932
[Problems to be solved by the invention]
However, the above method has the following problems.
[0006]
(1) For each tab sheet, it is necessary to set a tab sheet insertion position in accordance with the configuration of the text document, and to perform appearance processing for printing a character string in the tab area, which is complicated.
(2) It is necessary for the user to determine a character string to be printed in the tab area in accordance with the content of the text document, and it takes time to determine a character string to be printed in the tab area.
(3) It is necessary to print the main body document and the tab paper separately in a job, and it is impossible to obtain a print result in which the tab paper is inserted at a desired position by executing the job once. Inefficient.
[0007]
Therefore, according to the present invention, it is possible to easily perform settings related to tab sheet insertion and tab area printing, and it is possible to obtain a print result in which tab sheets are inserted at desired positions in one print job. The purpose is to do so.
[0008]
[Means for Solving the Problems]
One aspect of the present invention is a printing comprising: a first printing unit that performs printing on a first recording medium; and a second printing unit that performs printing on the tab area in a second recording medium having a tab area. Determining whether or not a predetermined delimiter position is included in a page unit of document data input from a storage unit that stores at least one page of document data to be printed , according to an apparatus control method a step, when it is determined to include the delimiter position in the determination step, the page prior to printing by the first printing unit, in advance the user from the document data of the page in its separator position the string that is extracted to the settings is printed by the second printing means, it is determined that the no contain the delimiter position in the determination step It can is characterized by a control step of so that controlling the page is printed by the first printing unit.
[0009]
DETAILED DESCRIPTION OF THE INVENTION
DESCRIPTION OF EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.
[0010]
FIG. 2 is a diagram illustrating a configuration of a printing system according to the embodiment. As shown in the figure, this system has a configuration in which a host computer 200 and a printer 212 are connected.
[0011]
First, the configuration of the host computer 200 will be described.
[0012]
A CPU 204 controls the operation of the entire apparatus, a ROM 205 stores various basic programs, and a RAM 206 functions as a main storage device.
[0013]
Reference numeral 201 denotes a keyboard, and an interrupt signal corresponding to an input from the keyboard is generated by the keyboard controller 207. Reference numeral 202 denotes a display, and display output to the display 202 is controlled by a display controller 208. Reference numeral 203 denotes a hard disk device (HDD), and input / output to the HDD 203 is controlled by a hard disk controller 209. Reference numeral 210 denotes a communication interface (I / F) for performing communication with the printer 212. Reference numeral 211 denotes a CPU bus for connecting each component.
[0014]
As shown in the figure, the HDD 203 generates an operating system (OS), an application program for creating document / image data, and print data for the printer 212 based on data created by the OS and application programs. Stores the printer driver.
[0015]
Next, the configuration of the printer 212 will be described.
[0016]
A CPU 214 controls the overall operation of the printer, 215 a ROM storing a control program and various data for operating the printer, and 216 is used as a work area for the CPU 214 to execute various programs. RAM.
[0017]
Reference numeral 217 denotes a communication interface for communicating with the host computer 200. A hard disk controller 218 controls input / output to / from the hard disk 213. A video interface 219 mechanically outputs a pattern, and functions as an engine control processing unit including an input / output interface that exchanges data and signals with the printing apparatus drive system (engine unit) 221. Reference numeral 220 denotes a CPU bus that connects each component.
[0018]
Although not shown, the printer 212 has an optional cassette for placing tab paper as a second recording medium in addition to a paper cassette for placing ordinary printing paper as a first recording medium. In accordance with a control command from the host computer 200, printing processing is performed while selecting a cassette for supplying paper to the engine unit 221.
[0019]
The outline of the printing process in the printer 212 is as follows.
[0020]
First, a control command for initializing a printer transmitted from a printer driver in the host computer 200 is received, and initialization processing is performed based on the control command. Subsequently, a printer print control command transmitted from the host computer 200 to cause the printer 212 to perform printing is input, and the input printer print control command and various setting parameters are analyzed. Next, bitmap data is generated based on the print control command and control setting parameters, and the generated bitmap data is transmitted to the printing apparatus drive system (engine unit) 221 via the video interface 219 to insert a tab sheet. The document including the tab area printing is output (222 in FIG. 2).
[0021]
The print control processing by the host computer 200 in the embodiment will be described in detail with reference to the flowcharts of FIGS. A program corresponding to this control process is the above-described printer driver, which is loaded into the RAM 206 and executed by the CPU 204. This printer driver is activated via the OS in the process of performing various initialization processes for document creation and print output by an application program.
[0022]
FIG. 4 is a flowchart illustrating an outline of print control processing by the printer driver in the embodiment.
[0023]
First, in step S401, various print attribute setting parameters and character / graphic / image data constituting a document instructed to be printed by an application are input. In the present embodiment, an instruction to insert a tab sheet and an instruction to print in the tab area can be given at a predetermined break position (for example, for each chapter or each section) in the text document. The control process when these instructions are given will be described later with reference to FIG.
[0024]
Next, in step S402, these input parameters and data are analyzed.
[0025]
Next, in step S403, from the analysis result of step S402, in order to prepare for printing such as paper size, printing direction, drawing resolution setting, coordinate system unit setting, etc., each setting parameter for the printer is converted and generated into a printer control command. The printer is then sent to initialize the printer.
[0026]
Steps S404 and S406 are branches for separating the parameters and data analyzed in step S402 into character data, graphic data, and image data and performing corresponding processing. The character data, graphic data, and image data separated in step S404 and step S406 are subjected to character printing control processing, graphic drawing control processing, and image drawing control processing in step S405, step S407, and step S408, respectively.
[0027]
In step S409, based on the character printing, graphic drawing, and image drawing control processes in steps S405, S407, and S408, pattern output forms such as drawing output attributes, size calculation, and drawing output position are determined, and the printer output page The document configuration control processing to be arranged in is performed.
[0028]
In step S410, the document output control data configured in step S409 is converted and generated as a print control command for the printer to output the document to the printer as a print control command generation process.
[0029]
Next, in step S411, the print control command generated in step S410 is transmitted to the printer 212 as output transmission processing to the printer. As a result, the document is printed from the printer 212 (step S412).
[0030]
FIG. 3 is a flowchart showing a print control process when there is an instruction to insert a tab sheet and print a tab area in step S401.
[0031]
First, in step S301, a character string determination condition to be printed in the tab area of the tab sheet is set. This setting is performed, for example, by allowing the user to select candidate determination conditions via a user interface (displayed on the display 202) provided by the printer driver. As the determination condition candidates, for example, from the top of the page, (1) one word, (2) a predetermined number of characters, (3) a range until a character end code such as NULL appears, (4) until a line feed code appears And (5) character strings printed on the same baseline (same line).
[0032]
Alternatively, a character string prepared in advance as a character string to be printed in the tab area, for example, (6) “Chapter 1, Chapter 2,...”, (7) “Section 1, Section 2,. A specific character string such as the above may be selected, and a user may input an arbitrary character string as a character string to be printed in the tab area.
[0033]
Further, with respect to the character string determined at this time, attributes such as a character font (font) and a vertical / horizontal writing direction can be set.
[0034]
In step S302, text document data is input from the application program. The input text document data is stored in the RAM 206 or the HDD 203, and in this embodiment, when the data input for one page is completed, the process proceeds to the next step S303.
[0035]
In step S303, it is determined whether or not the page includes a predetermined break position. Specifically, for example, it is determined whether or not the page includes the start position of the chapter or section of the text document. For example, when there is a character string printed with an attribute different from the typeface attribute, character modification attribute, and character size attribute normally used in the text at the top of the page, it is determined that there is a section start.
[0036]
If it is determined that the chapter or section is started, the process proceeds to step S304, and the tab sheet tab is determined from the text document data input in step S302 based on the character string determination conditions to be printed in the tab area set in step S301. A character string to be printed in the area is extracted and temporarily stored in the RAM 206.
[0037]
Next, in step S305, the character size adjustment of the character string extracted in step S304, the character string, based on the attribute setting indicating the print mode such as the character font designation and the horizontal / vertical writing direction designation set in step S301. Various print control processes for performing print appearance and processing such as rotational arrangement and character print position adjustment are performed, and a tab sheet insertion instruction in the body document and a print instruction in the tab area are performed. Thereby, the tab sheet printed in the tab area is discharged.
[0038]
FIG. 1 shows an example of a document created by an application program. Here, “A Tradition of Excellence” shown in 101 and “Point-and-click Operation” shown in 103 each represent the title of a chapter or section. In this case, for example, in step S301, if the determination condition for the character string to be printed in the tab area is set to “character string existing in the same baseline at the top of the page”, the respective titles are displayed as shown in 102 and 104, respectively. Is extracted and printed in the tab area.
[0039]
Subsequently, the process proceeds to a text document printing process in step S306, printing is performed, and printed paper is discharged.
[0040]
On the other hand, if it is determined in step S303 that it is not the start of a chapter or section, that is, a document page in the middle of a chapter or section, a tab sheet insertion instruction and a print instruction to the tab area are not performed. The process directly proceeds to the text document printing process in step S306, and printing is performed.
[0041]
Thereafter, in step S307, it is determined whether or not all document data has been completed. If it is determined that the entire document data is not complete, that is, the document continues on and after the next page, the process returns to step S302 and the printing process for the next page is continued.
[0042]
On the other hand, when it is determined that all document data has been completed, that is, all pages have been printed, the process proceeds to a job end process, and this print control process ends.
[0043]
In the case of the control process described above, the processes in steps S302 to S307 are performed for each page of the text document, and as a result, the tab area is printed at a predetermined break position (chapter or section start position) of the text document. Tab paper will be inserted.
[0044]
As described above, according to the present embodiment, the tab driver creation including the tab sheet printing on the tab sheet and the tab sheet insertion process in the body document are automatically performed by the printer driver. Therefore, for each tab sheet, the user determines the character string to be printed on the tab sheet in accordance with the configuration of the body document, sets the tab sheet insertion position, and performs the appearance processing for character string printing on the tab area. This eliminates the need for complicated operations for tab sheet printing. Furthermore, since the execution of character string printing in the tab area is controlled for each page of the body document, it is not necessary to perform separate jobs for printing the body document and printing the tab sheet. Thus, it is possible to obtain a printing result in which the tab sheet is inserted at a desired position. As a result, it is possible to provide a printing system that is excellent in operability, efficient, simple, and highly operable.
[0045]
(Other embodiments)
The embodiment of the present invention has been described in detail above. However, the present invention can take an embodiment as a system, apparatus, method, program, storage medium, or the like. In addition, the present invention may be applied to a system composed of a plurality of devices, or may be applied to an apparatus composed of a single device.
[0046]
In the present invention, a software program (a program corresponding to the flowcharts shown in FIGS. 3 and 4) for realizing the functions of the above-described embodiments is directly or remotely supplied to the system or apparatus, and the computer of the system or apparatus is provided. Is also achieved by reading and executing the supplied program code. In that case, as long as it has the function of a program, the form does not need to be a program.
[0047]
Accordingly, since the functions of the present invention are implemented by computer, the program code installed in the computer also implements the present invention. That is, the scope of the claims of the present invention includes the computer program itself for realizing the functional processing of the present invention.
[0048]
In this case, the program may be in any form as long as it has a program function, such as an object code, a program executed by an interpreter, or script data supplied to the OS.
[0049]
As a recording medium for supplying the program, for example, flexible disk, hard disk, optical disk, magneto-optical disk, MO, CD-ROM, CD-R, CD-RW, magnetic tape, nonvolatile memory card, ROM, DVD (DVD-ROM, DVD-R).
[0050]
As another program supply method, a client computer browser is used to connect to an Internet homepage, and the computer program itself of the present invention or a compressed file including an automatic installation function is downloaded from the homepage to a recording medium such as a hard disk. Can also be supplied. It can also be realized by dividing the program code constituting the program of the present invention into a plurality of files and downloading each file from a different homepage. That is, a WWW server that allows a plurality of users to download a program file for realizing the functional processing of the present invention on a computer is also included in the claims of the present invention.
[0051]
In addition, the program of the present invention is encrypted, stored in a storage medium such as a CD-ROM, distributed to users, and key information for decryption is downloaded from a homepage via the Internet to users who have cleared predetermined conditions. It is also possible to execute the encrypted program by using the key information and install the program on a computer.
[0052]
In addition to the functions of the above-described embodiments being realized by the computer executing the read program, the OS running on the computer based on the instruction of the program is a part of the actual processing. Alternatively, the functions of the above-described embodiment can be realized by performing all of the processes.
[0053]
Furthermore, after the program read from the recording medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion board or The CPU or the like provided in the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.
[0054]
【The invention's effect】
According to the present invention, settings relating to tab sheet insertion and tab area printing can be easily performed, and a print result in which a tab sheet is inserted at a desired position in one print job can be obtained. Can be.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating character string printing in a tab area according to an embodiment.
FIG. 2 is a diagram illustrating a configuration of a printing system according to the embodiment.
FIG. 3 is a flowchart illustrating print control processing when there is an instruction to insert a tab sheet and print a tab area in the embodiment.
FIG. 4 is a flowchart illustrating an outline of print control processing by a printer driver in the embodiment.

Claims (6)

第1の記録媒体に印刷を行う第1の印刷手段と、タブ領域を有する第2の記録媒体における当該タブ領域に印刷を行う第2の印刷手段とを備えた印刷装置の制御方法であって、
印刷対象のドキュメントデータの少なくとも1ページ分を記憶する記憶手段から入力される該ドキュメントデータのページ単位に、予め定められた区切り位置が含まれるか否かを判断する判断ステップと、
前記判断ステップで前記区切り位置が含まれると判断されたときは、そのページを前記第1の印刷手段により印刷させる前に、その区切り位置において前記ページのドキュメントデータの中から予めユーザが設定した条件で抽出される文字列を前記第2の印刷手段により印刷させ、前記判断ステップで前記区切り位置が含まれないと判断されたときは、前記ページを前記第1の印刷手段により印刷させるよう制御する制御ステップと、
を有することを特徴とする印刷装置の制御方法。
A control method for a printing apparatus, comprising: a first printing unit that performs printing on a first recording medium; and a second printing unit that performs printing on the tab area in a second recording medium having a tab area. ,
A determination step of determining whether or not a predetermined break position is included in a page unit of the document data input from a storage unit that stores at least one page of document data to be printed ;
Condition when it is determined to include the delimiter position in the determination step, that the page prior to printing by the first printing unit, a preset user from the document data of the page in its separator position in the string to be extracted is printed by the second printing means, said when the it is determined that the separated position is not included in the determination step, so that the control is printed by the said page first printing means A control step to
A control method for a printing apparatus, comprising:
第1の記録媒体に印刷を行う第1の印刷手段と、タブ領域を有する第2の記録媒体における当該タブ領域に印刷を行う第2の印刷手段とを備えた印刷装置であって、
印刷対象のドキュメントデータの少なくとも1ページ分を記憶する記憶手段と、
前記記憶手段に記憶されたドキュメントデータのページ単位に、予め定められた区切り位置が含まれるか否かを判断する判断手段と、
前記判断手段により前記区切り位置が含まれると判断されたときは、そのページを前記第1の印刷手段により印刷させる前に、その区切り位置において前記ページのドキュメントデータの中から予めユーザが設定した条件で抽出される文字列を前記第2の印刷手段により印刷させ、前記判断手段により前記区切り位置が含まれないと判断されたときは、前記ページを前記第1の印刷手段により印刷させるよう制御する制御手段と、
を有することを特徴とする印刷装置。
A printing apparatus comprising: a first printing unit that performs printing on a first recording medium; and a second printing unit that performs printing on the tab area in a second recording medium having a tab area,
Storage means for storing at least one page of document data to be printed;
Determination means for determining whether or not a predetermined break position is included in a page unit of document data stored in the storage means ;
Condition when it is determined to include the separated position by the determining means, for the page prior to printing by the first printing unit, a preset user from the document data of the page in its separator position in the string to be extracted is printed by the second printing means, wherein, when it is determined that does not contain the delimiting position by determining means, so that the control is printed by the said page first printing means Control means to
A printing apparatus comprising:
供給された印刷データに基づいて、ドキュメントの印刷中にタブ紙を挿入するとともにタブ領域への印刷を行うタブ紙挿入印刷が可能に構成された印刷装置に接続され、該印刷装置に前記印刷データを送信するホストコンピュータであって、
印刷対象のドキュメントデータの少なくとも1ページ分を記憶する記憶手段と、
前記記憶手段に記憶されたドキュメントデータのページ単位に、予め定められた区切り位置が含まれるか否かを判断する判断手段と、
前記判断手段により前記区切り位置が含まれると判断されたときは、前記ページ単位のドキュメントデータの中から予めユーザが設定した条件で抽出される文字列をタブ領域印刷用データとして前記記憶手段に記憶させ、前記記憶手段に記憶された前記タブ領域印刷用データに基づくタブ紙データを、前記判断手段により前記区切り位置が含まれると判断されたページの前に挿入した印刷データを生成する印刷データ生成手段と、
を有することを特徴とするホストコンピュータ。
Based on the supplied print data, it is connected to a printing apparatus configured to be able to insert tab paper during printing of a document and print on the tab area and to print the tab area, and the print data is connected to the printing apparatus. A host computer that sends
Storage means for storing at least one page of document data to be printed;
Determination means for determining whether or not a predetermined break position is included in a page unit of document data stored in the storage means ;
Wherein when it is determined to include the separated position by determining means, said storage means stores a character string to be extracted in advance by conditions set by the user from the document data of the page unit as a tab area print data is allowed, the tab sheet data based on said tab area print data stored in the storage means, print data generation for generating print data inserted before the page that is determined to include the separated position by the determining means Means,
A host computer characterized by comprising:
供給された印刷データに基づいて、ドキュメントの印刷中にタブ紙を挿入するとともにタブ領域への印刷を行うタブ紙挿入印刷が可能に構成された印刷装置に接続され、該印刷装置に前記印刷データを送信するホストコンピュータの制御方法であって、
印刷対象のドキュメントデータの少なくとも1ページ分を記憶する記憶手段から入力される該ドキュメントデータのページ単位に、予め定められた区切り位置が含まれるか否かを判断する判断ステップと、
前記判断ステップで前記区切り位置が含まれると判断されたときは、前記ページ単位のドキュメントデータの中から予めユーザが設定した条件で抽出される文字列をタブ領域印刷用データとして前記記憶手段に記憶する記憶ステップと、
前記記憶ステップにおいて前記記憶手段に記憶された前記タブ領域印刷用データに基づくタブ紙データを、前記判断ステップで前記区切り位置が含まれると判断されたページの前に挿入した印刷データを生成する印刷データ生成ステップと、
を有することを特徴とするホストコンピュータの制御方法。
Based on the supplied print data, it is connected to a printing apparatus configured to be able to insert tab paper during printing of a document and print on the tab area and to print the tab area, and the print data is connected to the printing apparatus. A method of controlling a host computer that transmits
A determination step of determining whether or not a predetermined break position is included in a page unit of the document data input from a storage unit that stores at least one page of document data to be printed ;
Wherein when it is determined to include the delimiter position in the determination step, the storage means stores a character string to be extracted in advance by conditions set by the user from the document data of the page unit as a tab area print data A memory step to
Printing to generate print data to which the tab paper data based on said tab area print data stored in said storage means in the storage step was inserted before the page that is determined to include the delimiter position in the determining step A data generation step;
A method for controlling a host computer, comprising:
請求項1または4に記載の制御方法をコンピュータで実行させるためのプログラム。  A program for causing a computer to execute the control method according to claim 1. 請求項5に記載のプログラムを格納したコンピュータで読み取り可能な記憶媒体。  A computer-readable storage medium storing the program according to claim 5.
JP2002342721A 2002-11-26 2002-11-26 Printing apparatus and control method thereof, and host computer and control method thereof Expired - Fee Related JP4072423B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002342721A JP4072423B2 (en) 2002-11-26 2002-11-26 Printing apparatus and control method thereof, and host computer and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002342721A JP4072423B2 (en) 2002-11-26 2002-11-26 Printing apparatus and control method thereof, and host computer and control method thereof

Publications (3)

Publication Number Publication Date
JP2004174852A JP2004174852A (en) 2004-06-24
JP2004174852A5 JP2004174852A5 (en) 2005-10-13
JP4072423B2 true JP4072423B2 (en) 2008-04-09

Family

ID=32704701

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002342721A Expired - Fee Related JP4072423B2 (en) 2002-11-26 2002-11-26 Printing apparatus and control method thereof, and host computer and control method thereof

Country Status (1)

Country Link
JP (1) JP4072423B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013107360A (en) * 2011-11-24 2013-06-06 Fuji Xerox Co Ltd Image forming apparatus and program

Also Published As

Publication number Publication date
JP2004174852A (en) 2004-06-24

Similar Documents

Publication Publication Date Title
US6433882B1 (en) Device for processing intermediate files in printer control system
US7839531B2 (en) Printing control method
JP2004050722A (en) Printer
JP2023178377A (en) Program and control method
JP4109920B2 (en) Image processing apparatus, image processing method, program, and storage medium
JP4235441B2 (en) Document processing program, document processing method and apparatus
US20050254079A1 (en) Printing apparatus and method enabled to save print option and print document file
US7957033B2 (en) Print control operations
JP4072423B2 (en) Printing apparatus and control method thereof, and host computer and control method thereof
JP2009003712A (en) Printing system and control method
JP2008165467A (en) Printing system, printing method, program and computer-readable recording medium
JP4313974B2 (en) Print control program, print control method, and information processing apparatus
JP2002254774A (en) Printing control method, printing information generation device, printing control device, printing control system, and medium to provide control program
JP4412232B2 (en) Image forming apparatus and control program
JP3709695B2 (en) Printing system, printer server apparatus used in printing system, printer server processing method, and recording medium on which printer server processing program is recorded
JP3817512B2 (en) Information processing apparatus, control method therefor, and program
JP3330855B2 (en) Printer system, printer operation control method, and recording medium
JP2002335393A (en) Print data generating method and its print system
US20070024873A1 (en) Image forming apparatus, program for printing with marks added, and method for printing with marks added
JPH05143250A (en) Printer
JP2006128821A (en) Printer and print method
JP2006085529A (en) Application program, information processing device, and information processing method
JP4402681B2 (en) Image processing apparatus, image processing method, program, and storage medium
JP2006343877A (en) Print system, control method and program
JP2005159764A (en) Recording method, apparatus, program, and storage medium

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050602

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050602

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060406

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060414

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060613

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061110

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070109

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070330

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070529

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080121

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4072423

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110125

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120125

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130125

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140125

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees