JP2001043049A - Printer drive, electronic computer, print information setting method, and recording medium - Google Patents

Printer drive, electronic computer, print information setting method, and recording medium

Info

Publication number
JP2001043049A
JP2001043049A JP11212500A JP21250099A JP2001043049A JP 2001043049 A JP2001043049 A JP 2001043049A JP 11212500 A JP11212500 A JP 11212500A JP 21250099 A JP21250099 A JP 21250099A JP 2001043049 A JP2001043049 A JP 2001043049A
Authority
JP
Japan
Prior art keywords
print
print information
document
printer driver
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP11212500A
Other languages
Japanese (ja)
Other versions
JP3711795B2 (en
Inventor
Akihiko Kobayashi
昭彦 小林
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 JP21250099A priority Critical patent/JP3711795B2/en
Publication of JP2001043049A publication Critical patent/JP2001043049A/en
Application granted granted Critical
Publication of JP3711795B2 publication Critical patent/JP3711795B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To display a document in almost the same layout in an environment where a different printer driver is selected as an effective printer driver. SOLUTION: When the setting of print information of a document 140 is requested from an application 130 and print information 114 at that time point is not one of support print information supported by a present printer driver 120, a print information setting part 121 of the printer driver 120 prepares dummy support print information having a print area equal to a print area shown by the print information 114 and updates the print information 114 to this dummy information.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、電子計算機におい
て、プリンタへの印刷を制御するプリンタドライバに関
し、特に、印刷用紙や印刷領域の設定の技術に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer driver for controlling printing on a printer in an electronic computer, and more particularly to a technique for setting a printing paper and a printing area.

【0002】[0002]

【従来の技術】従来の電子計算機のオペレーティングシ
ステム上で稼働するアプリケーションが作成、編集する
ドキュメントには、その印刷や、WYSIWYG、すなわち、
ユーザがモニタ上で見ているままのものを印刷する機能
を満足する表示を可能とするために、必ず、印刷を行う
用紙である印刷用紙のサイズや、印刷用紙上の印刷を行
う領域である印刷領域などの印刷情報をドキュメントに
対して設定しなければならない。そして、ドキュメント
の印刷は、電子計算機上においてプリンタへの印刷を制
御するプリンタドライバが、そのドキュメントに対して
設定された印刷情報に従って、印刷情報で示されるサイ
ズの印刷用紙上の印刷情報で示される印刷領域に、ドキ
ュメントの内容を印刷するようプリンタを制御すること
により行われる。一方、アプリケーションは、ドキュメ
ントに印刷領域が設定されると、そのドキュメントに対
して設定された印刷情報に従って、そのドキュメントが
印刷された場合と同じレイアウトで、ドキュメントを表
示する。
2. Description of the Related Art Documents created and edited by an application running on a conventional computer operating system include printing, WYSIWYG,
In order to enable a display that satisfies the function of printing what the user sees on the monitor, the size of the printing paper, which is the printing paper, and the area on which printing is performed on the printing paper are always required. Print information such as the print area must be set for the document. The printing of the document is indicated by print information on a print sheet of the size indicated by the print information according to the print information set for the document by the printer driver that controls printing on the printer on the electronic computer. This is done by controlling the printer to print the contents of the document in the print area. On the other hand, when the print area is set in the document, the application displays the document in the same layout as when the document is printed, according to the print information set for the document.

【0003】さて、ドキュメントに設定できる印刷情報
は、印刷情報設定時に、利用可能なプリンタドライバと
して選択されているプリンタドライバに依存する。たと
えば、あるプリンタドライバがサポートできる印刷用紙
サイズが、他のプリンタドライバがサポートしていない
場合があり、この場合、この印刷用紙サイズを指定する
印刷情報は、印刷用紙サイズをサポートするプリンタド
ライバが選択されている場合にのみ設定可能である。ま
た、たとえば、同じA4の用紙に対する印刷情報であって
も、プリンタドライバに対応するプリンタなどに応じ
て、印刷可能な領域の大きさ、逆に言えば、印刷できな
いマージンの大きさが異なるため、その印刷情報は異な
るものになることが一般的である。
[0005] Print information that can be set in a document depends on a printer driver selected as an available printer driver when setting print information. For example, one printer driver may support a print paper size that another printer driver does not support. In this case, the print information specifying this print paper size is selected by a printer driver that supports the print paper size. It can be set only when it is set. Also, for example, even for print information on the same A4 paper, the size of the printable area, or conversely, the size of the unprintable margin differs depending on the printer that supports the printer driver, etc. Generally, the print information is different.

【0004】[0004]

【発明が解決しようとする課題】さて、前述のように印
刷情報は、プリンタドライバに依存して異なるものとな
るため、第1のプリンタドライバが選択されているとき
に印刷情報が設定されたドキュメントを、第2のプリン
タドライバが選択されている環境で、編集する場合、そ
のドキュメントの第2のプリンタドライバによる印刷に
先立ち、印刷情報を設定しなおさなければならない。ま
た、印刷を行わない場合でもドキュメントの印刷情報を
第2のプリンタドライバに整合するように自動的に設定
し直し、常にまたはドキュメントを開いたときに、ドキ
ュメントの印刷情報を現在選択されているプリンタドラ
イバに整合させるものもある。
As described above, since the print information differs depending on the printer driver, the document in which the print information is set when the first printer driver is selected. If the document is edited in an environment where the second printer driver is selected, the print information must be reset before the document is printed by the second printer driver. Also, even when printing is not performed, the print information of the document is automatically reset so as to match the second printer driver, and the print information of the document is always or when the document is opened. Some are matched to the driver.

【0005】さて、印刷情報が設定し直されると、前述
したように、モニタに表示されるドキュメントのレイア
ウトも、印刷情報にあわせて変更されることになる。
When the print information is reset, as described above, the layout of the document displayed on the monitor is also changed in accordance with the print information.

【0006】このために、たとえば、第1のユーザが第
1の電子計算機上のUSレターサイズの用紙をサポートす
る第1のプリンタドライバが選択されている環境で作成
した、USレターサイズの印刷用紙サイズが印刷情報とし
て設定されているドキュメントを、第2のユーザに渡
し、第2のユーザが第2の電子計算機上で、USレターサ
イズの用紙をサポートしていない第2のプリンタドライ
バが選択されている環境で利用するようなときに、ドキ
ュメントの印刷情報が第2のプリンタドライバがサポー
トするものに整合するように変更されることがあり、こ
の場合、第2のユーザは、第1のユーザが意図したレイ
アウトでドキュメントを表示したり印刷したりすること
ができなくなってしまう。
For this purpose, for example, US letter size printing paper created by a first user in an environment in which a first printer driver that supports US letter size paper on a first computer is selected. A document whose size is set as print information is passed to a second user, and the second user selects, on a second computer, a second printer driver that does not support US letter size paper. In some environments, such as when used in an environment, the print information of the document may be changed to match that supported by the second printer driver, in which case the second user may be changed to the first user Cannot display or print the document in the intended layout.

【0007】また、最終的に出力を予定しているプリン
タのプリンタドライバである第1のプリンタドライバが
選択されている環境で作成し、第1のプリンタドライバ
がサポートする印刷情報が設定されているドキュメント
を、一時的に、第2のプリンタドライバが選択されてい
る環境で利用するようなときに、ドキュメントの印刷情
報が元のものとは異なる、第2のプリンタドライバがサ
ポートするものに整合するように変更されることがあ
り、この場合、ユーザは、最終的に第1のプリンタドラ
イバを用いて出力しようとするレイアウトでドキュメン
トを表示したり印刷したりすることができなくなってし
まう。
Further, the printer is created in an environment in which the first printer driver, which is the printer driver of the printer to be finally output, is selected, and print information supported by the first printer driver is set. When the document is temporarily used in an environment in which the second printer driver is selected, the print information of the document is different from the original, and matches the print information supported by the second printer driver. In this case, the user will not be able to display or print the document in the layout to be output finally using the first printer driver.

【0008】そこで、本発明は、異なるプリンタドライ
バが有効なプリンタドライバとして選択されている環境
化で、ドキュメントを同じレイアウトで利用可能とする
ことを課題とする。
Accordingly, an object of the present invention is to make it possible to use documents with the same layout in an environment where different printer drivers are selected as valid printer drivers.

【0009】より具体的には、異なるプリンタドライバ
が有効なプリンタドライバとして選択されている環境化
で、ドキュメントをほぼ同じレイアウトで表示すること
を課題とする。また、異なるプリンタドライバが有効な
プリンタドライバとして選択されている環境化で、ドキ
ュメントを、同じレイアウトを確認可能な形態で印刷す
ることを課題とする。
More specifically, it is an object of the present invention to display documents in substantially the same layout in an environment where different printer drivers are selected as valid printer drivers. Another object is to print a document in a form in which the same layout can be confirmed in an environment where different printer drivers are selected as valid printer drivers.

【0010】[0010]

【課題を解決するための手段】本発明は、前記課題達成
のために、印刷用紙サイズと印刷領域を指定する印刷情
報に従ったレイアウトで表示される、前記印刷情報が設
定されたドキュメントの印刷を制御するプリンタドライ
バであって、ドキュメントの印刷情報の設定を要求され
た場合に、当該ドキュメントに対して設定されている印
刷情報が、当該印刷情報に従って自プリンタドライバが
印刷を制御できるものであるかどうかを判定する判定手
段と、当該ドキュメントに対して設定されている印刷情
報が、当該印刷情報に従って自プリンタドライバが印刷
を制御できるものでないと判定された場合に、当該ドキ
ュメントに対して設定されている印刷情報が示す印刷領
域と等しい印刷領域と、当該印刷領域の大きさ以上の印
刷用紙サイズを指定する印刷情報であって、当該印刷情
報に従って自プリンタ装置が印刷を制御できない印刷情
報であるダミーの印刷情報をドキュメントに対して設定
するダミー印刷情報設定手段とを有することを特徴とす
るプリンタドライバを提供する。
In order to achieve the above object, the present invention provides a method for printing a document in which the print information is set and which is displayed in a layout according to print information for specifying a print paper size and a print area. Is a printer driver that controls the printing of a document when the setting of the print information of the document is requested and the print information set for the document is controlled according to the print information. A determining unit for determining whether the print information set for the document is not one that can control the printing by the own printer driver according to the print information; Specify a print area equal to the print area indicated by the print information and a print paper size larger than the size of the print area. A print driver that sets dummy print information for the document, the print information being print information that cannot be controlled by the printer in accordance with the print information. provide.

【0011】このようなプリンタドライバによれば、印
刷領域をドキュメントに設定されている印刷領域の大き
さと等しい大きさの印刷領域とすると、プリンタドライ
バが印刷を制御できなくなる場合であっても、ダミーの
印刷情報として、この印刷領域を指定する印刷情報を設
定することにより、異なるプリンタドライバが有効なプ
リンタドライバとして選択されている環境化で、ドキュ
メントをほぼ同じレイアウトで表示することができるよ
うになる。
According to such a printer driver, if the print area is a print area having a size equal to the size of the print area set in the document, even if the printer driver cannot control printing, a dummy By setting the print information that specifies the print area as the print information, the document can be displayed with almost the same layout in an environment where different printer drivers are selected as valid printer drivers. .

【0012】また、さらに、ドキュメントの印刷を要求
された場合に、当該ドキュメントに前記ダミーの印刷情
報が設定されているときには、自プリンタドライバが印
刷を制御できる特定の印刷用紙サイズと印刷領域を選択
し、印刷用紙の選択した印刷領域内に、ドキュメント
の、ダミーの印刷情報が示す印刷領域内の内容が印刷さ
れるよう、ドキュメントの印刷を制御する印刷処理手段
を備えれば、このようなダミーの印刷情報を設定した場
合でも、そのドキュメントを印刷することができるよう
になる。
Further, when the printing of the document is requested and the dummy printing information is set in the document, a specific printing paper size and a printing area in which the own printer driver can control the printing are selected. If the print processing means for controlling the printing of the document is provided so that the contents of the print area indicated by the dummy print information of the document are printed in the selected print area of the printing paper, Even if the print information is set, the document can be printed.

【0013】また、この際において、前記印刷処理手段
が、ドキュメントの、ダミーの印刷情報が示す印刷領域
内の内容が、その縦横の比率が変わることなく印刷用紙
の選択した印刷領域内に収まる最大の大きさに拡大もし
くは縮小されて、印刷用紙の選択した印刷領域内に印刷
されるよう、ドキュメントの印刷を制御するようにすれ
ば、拡大もしくは縮小されることはあっても、ドキュメ
ントを、異なるプリンタドライバが有効なプリンタドラ
イバとして選択されている環境化で相似のレイアウトで
印刷することができる。
In this case, the print processing means may determine that the content in the print area indicated by the dummy print information of the document is within the selected print area of the printing paper without changing the aspect ratio. By controlling the printing of the document so that it is enlarged or reduced to the size of and printed in the selected print area of the printing paper, the document may be enlarged or reduced, Printing can be performed with a similar layout in an environment where the printer driver is selected as an effective printer driver.

【0014】したがって、異なるプリンタドライバが有
効なプリンタドライバとして選択されている環境化で、
ドキュメントを、同じレイアウトを確認可能な形態で印
刷することができる。
Therefore, in an environment where different printer drivers are selected as valid printer drivers,
Documents can be printed in a form that allows the same layout to be checked.

【0015】また、前記課題達成のために、本発明は、
印刷用紙サイズと印刷領域を指定する印刷情報に従った
レイアウトで表示される、前記印刷情報が設定されたド
キュメントの印刷を制御するプリンタドライバであっ
て、自プリンタドライバが印刷を制御できる、印刷用紙
サイズと印刷領域の組の集合を記憶するサポート印刷情
報記憶手段と、ドキュメントの印刷情報の設定を要求さ
れた場合に、当該ドキュメントに対して設定されている
印刷情報が示す印刷用紙サイズと印刷領域の組が、前記
集合に含まれるものであるかどうか判定する判定手段
と、当該ドキュメントに対して設定されている印刷情報
が示す印刷用紙サイズと印刷領域の組が、前記集合に含
まれないと判定された場合に、当該ドキュメントに対し
て設定されている印刷情報が示す印刷領域と等しい印刷
領域と、当該印刷領域の大きさ以上の印刷用紙サイズの
組を作成して、作成した組の印刷用紙サイズと印刷領域
を指定する印刷情報を、当該ドキュメントに対して設定
する印刷情報設定手段とを有することを特徴とするプリ
ンタドライバを提供する。
[0015] To achieve the above object, the present invention provides:
A printer driver for controlling printing of a document in which the print information is set, the printer driver being displayed in a layout according to print information for specifying a print paper size and a print area, wherein the own printer driver can control printing. A support print information storage unit for storing a set of a set of a size and a print area; and a print paper size and a print area indicated by the print information set for the document when the setting of the print information of the document is requested. Is determined to be included in the set, and a set of print paper size and print area indicated by print information set for the document is not included in the set. If determined, the print area equal to the print area indicated by the print information set for the document, and the print area A print information setting unit that creates a set of print paper sizes equal to or larger than the size, and sets print information specifying the print paper size and print area of the created set for the document. Provide a printer driver.

【0016】このようなプリンタドライバによれば、選
択されているプリンタドライバが、その時点でサポート
していない印刷情報が設定されている、すなわち異なる
プリンタドライバが選択されている環境下で印刷情報が
設定されたドキュメントに対しては、設定されている印
刷領域の大きさと等しい大きさの印刷領域を有する印刷
情報を設定する。ここで、ドキュメントの内容は基本的
に印刷領域内に配置されるので、印刷領域が等しけれ
ば、レイアウトは基本的に変更されることはない。した
がって、異なるプリンタドライバが有効なプリンタドラ
イバとして選択されている環境化で、ドキュメントをほ
ぼ同じレイアウトで表示することができる。
According to such a printer driver, print information that is not supported by the selected printer driver at that time is set, that is, the print information is set in an environment where a different printer driver is selected. For the set document, print information having a print area of the same size as the set print area is set. Here, since the contents of the document are basically arranged in the print area, if the print areas are equal, the layout is not basically changed. Therefore, the document can be displayed with substantially the same layout in an environment where different printer drivers are selected as valid printer drivers.

【0017】[0017]

【発明の実施の形態】以下、本発明の実施形態について
説明する。
Embodiments of the present invention will be described below.

【0018】図1に、本実施形態に係る電子計算機の機
能構成を示す。
FIG. 1 shows a functional configuration of a computer according to the present embodiment.

【0019】図中、100が電子計算機、200がプリ
ンタである。
In the figure, 100 is an electronic computer, and 200 is a printer.

【0020】図示するように、電子計算機100は、オ
ペレーティングシステム110と、オペレーティングシ
ステム110上で稼働し、ドキュメント140の作成、
編集を行うアプリケーション130、1または複数のプ
リンタドライバ120を有している。ドキュメント14
0には、そのドキュメント140に対して設定された印
刷情報の内容を示す印刷パラメータが含まれる。
As shown in the figure, the computer 100 operates on an operating system 110, creates a document 140,
It has an application 130 for editing and one or more printer drivers 120. Document 14
“0” includes a print parameter indicating the content of print information set for the document 140.

【0021】また、オペレーティングシステム110
は、プリンタドライバ管理部111と、プリンタ200
との間でデータを送受するシリアルドライバ112と有
し、利用中のドキュメント140の印刷情報114の群
113を管理している。
The operating system 110
Are the printer driver management unit 111 and the printer 200
And a serial driver 112 for transmitting and receiving data to and from the printer, and manages a group 113 of print information 114 of the document 140 being used.

【0022】次に、図2に、各プリンタドライバ120
の内部構成を示す。
Next, FIG. 2 shows each printer driver 120.
2 shows the internal configuration of FIG.

【0023】図示するように、プリンタドライバ120
は、印刷情報設定処理部121、印刷設定処理部12
2、印刷制御部123を有している。また、図中12
5、126は、プリンタドライバ120がモニタに表示
させるダイアログボックスを示している。
As shown, the printer driver 120
Are the print information setting processing unit 121 and the print setting processing unit 12
2. It has a print control unit 123. Also, in the figure, 12
Reference numerals 5 and 126 denote dialog boxes displayed by the printer driver 120 on the monitor.

【0024】また、プリンタドライバ120には、その
プリンタドライバ120が初期から標準的にサポートす
る1または複数のサポート印刷情報が登録された標準印
刷情報リスト127、後にユーザの指定によって作成し
た1または複数のサポート印刷情報が登録されたカスタ
ム標準印刷情報リスト128が付随している。また、標
準印刷情報リスト127の特定の一つのサポート印刷情
報は、デフォルトのサポート印刷情報として予め設定さ
れている。また、各サポート印刷情報には、名称が与え
られており、たとえば、A4に対応する標準印刷情報リス
ト中のサポート印刷情報には、A4との名称が与えられて
いる。
The printer driver 120 includes a standard print information list 127 in which one or a plurality of support print information which the printer driver 120 normally supports from the beginning is registered. Is attached with a custom standard print information list 128 in which support print information is registered. One specific support print information of the standard print information list 127 is set in advance as default support print information. Further, each support print information is given a name. For example, the support print information in the standard print information list corresponding to A4 is given a name of A4.

【0025】さて、ここで、一つのドキュメント140
中の印刷情報パラメータ141、オペレーティングシス
テム110が管理する一つの印刷情報114、プリンタ
ドライバ120に付随する標準印刷情報リスト127と
カスタム標準印刷情報リスト128中の一つのサポート
印刷情報は、それぞれ、一組の印刷用紙サイズと、印刷
領域を指定するものである。ただし、これらは、解像度
とドット数によって指定されるものであってもよい。
Now, here, one document 140
Each of the print information parameters 141, one print information 114 managed by the operating system 110, and one support print information in the standard print information list 127 and the custom standard print information list 128 attached to the printer driver 120 is a set. The print paper size and the print area are designated. However, these may be specified by the resolution and the number of dots.

【0026】なお、この標準印刷情報リスト127とカ
スタム標準印刷情報リスト128に登録されている印刷
情報が、このプリンタドライバ120がサポートする印
刷情報となる。
The print information registered in the standard print information list 127 and the custom standard print information list 128 is the print information supported by the printer driver 120.

【0027】ここで、図3に本実施形態に係る電子計算
機のハードウエア構成例を示しておく。
FIG. 3 shows an example of the hardware configuration of the computer according to the present embodiment.

【0028】図示するように、本電子計算機のハードウ
エア構成としては、CPU301や、主記憶302、ハ
ードディスク装置である外部記憶装置303a、他の外
部記憶装置である303b、キーボードやポインティン
グデバイスなどの入力装置305、表示装置などの出力
装置306、各種インタフェース304などを備えた、
一般的な電子計算機のハードウエア構成を用いることが
できる。
As shown in the figure, the hardware configuration of the computer includes a CPU 301, a main memory 302, an external storage device 303a as a hard disk device, an external storage device 303b, and an input device such as a keyboard and a pointing device. Device 305, an output device 306 such as a display device, various interfaces 304, etc.
A general computer hardware configuration can be used.

【0029】この場合、図1に示したオペレーティング
システム110、アプリケーション130、プリンタド
ライバ120などは、CPU301が主記憶302にロ
ードされたプログラムを実行することにより電子計算機
上に具現化されるプロセスとして実現される。
In this case, the operating system 110, the application 130, the printer driver 120, etc. shown in FIG. 1 are realized as processes embodied on the computer by the CPU 301 executing the program loaded in the main memory 302. Is done.

【0030】この主記憶302にロードされCPU30
1によって実行されるプログラムは、予め、外部記憶装
置303aに記憶され、必要に応じて主記憶302にロ
ードされ、CPU301によって実行される。または、
可搬型の記憶媒体307、たとえば、CD-ROMを扱う外部
記憶装置303bを介して、直接、必要に応じて、可搬
型の記憶媒体307から主記憶302にロードされ、C
PU301によって実行される。もしくは、一旦、可搬
型の記憶媒体を扱う外部記憶装置303bを介して、可
搬型の記憶媒体307から、ハードディスク装置などの
外部記憶装置303a上にインストールされた後、必要
に応じて主記憶302にロードされ、CPU301によ
って実行される。
The CPU 30 is loaded into the main memory 302 and
1 is stored in the external storage device 303a in advance, loaded into the main storage 302 as needed, and executed by the CPU 301. Or
The data is directly loaded from the portable storage medium 307 to the main storage 302 as needed via the portable storage medium 307, for example, the external storage device 303b that handles a CD-ROM, and
This is executed by the PU 301. Alternatively, once installed on the external storage device 303a such as a hard disk device from the portable storage medium 307 via the external storage device 303b that handles the portable storage medium, the main storage 302 may be installed as necessary. It is loaded and executed by the CPU 301.

【0031】以下、このような電子計算機の動作につい
て説明する。
The operation of such a computer will be described below.

【0032】まず、新規ドキュメント作成時における印
刷情報設定の動作について説明する。
First, the operation of setting print information when creating a new document will be described.

【0033】アプリケーション130は、新規ドキュメ
ント140を作成すると、オペレーティングシステム1
10に、このドキュメント140に対する印刷情報11
4の作成を要求し、オペレーティングシステム110
が、このドキュメント140に対する印刷情報114を
作成する。そして、アプリケーションから印刷情報の設
定の要求があると、プリンタドライバ管理部111を介
して、その時点で選択されているプリンタドライバ12
0に印刷情報設定要求を送る。ここで、アプリケーショ
ン130は、ユーザが、所定のメニュー(一般的には用
紙設定/ページ設定/page setupで示される)を選択し
たとき、もしくは、新規ドキュメントを作成したとき
に、印刷情報の設定の要求をオペレーティングシステム
110に発行する。
When the application 130 creates a new document 140, the operating system 1
10, print information 11 for this document 140
4 and the operating system 110
Creates print information 114 for the document 140. When a request for setting print information is received from the application, the currently selected printer driver 12 is transmitted via the printer driver management unit 111.
0, and sends a print information setting request. Here, when the user selects a predetermined menu (generally indicated by paper setting / page setting / page setup) or when a new document is created, the application 130 sets the print information. Issues a request to operating system 110.

【0034】さて、印刷情報設定要求を受け取ったプリ
ンタドライバ120の印刷情報設定部121は、印刷情
報の設定を行うドキュメントの印刷情報114を参照
し、この時点では、印刷情報114には何も設定されて
いないので、標準印刷情報リスト125中のデフォルト
のサポート印刷情報を選択し、その名称を用紙選択フィ
ールド401中に表示した、図4に示す印刷情報設定ダ
イアログ400をオペレーティングシステム110を介
して表示する。
Upon receiving the print information setting request, the print information setting section 121 of the printer driver 120 refers to the print information 114 of the document for which the print information is to be set. Since the default support print information is selected in the standard print information list 125 and its name is displayed in the paper selection field 401, a print information setting dialog 400 shown in FIG. 4 is displayed via the operating system 110. I do.

【0035】そして、そのままユーザによってOKボタン
402が押された場合には、このドキュメント140の
印刷情報114に、デフォルトのサポート印刷情報をオ
ペレーティングシステム110を介して書き込む。ま
た、ユーザによって用紙選択フィールド401が選択さ
れた場合には、標準印刷情報リスト125、カスタム印
刷情報リスト126に登録された各サポート印刷情報の
名称のリストをポップアップ形式により表示し、そのう
ちの一つの選択をユーザより受け付ける。そして、その
後、ユーザによってOKボタン402が押された場合に
は、このドキュメント140の印刷情報114に、選択
された名称のサポート印刷情報をオペレーティングシス
テム110を介して書き込む。
When the user presses the OK button 402 as it is, the default support print information is written into the print information 114 of the document 140 via the operating system 110. When the paper selection field 401 is selected by the user, a list of the names of the support print information registered in the standard print information list 125 and the custom print information list 126 is displayed in a pop-up format. Accept the selection from the user. Then, when the user presses the OK button 402, the support print information of the selected name is written to the print information 114 of the document 140 via the operating system 110.

【0036】さて、このようにして書き込まれた印刷情
報114は、その後、アプリケーション130にも渡さ
れ、ドキュメント140中に、印刷情報パラメータ14
1として含められ、ドキュメント140の保存時には共
に保存される。
The print information 114 written in this way is then also passed to the application 130, and the print information parameter 14
1 when the document 140 is saved.

【0037】次に、既に印刷情報が設定されたことのあ
るドキュメントに対する印刷情報更新の動作について説
明する。
Next, the operation of updating print information for a document for which print information has already been set will be described.

【0038】ここで、印刷情報が設定されたことのある
ドキュメントに対する印刷情報の場合は、常に、最後に
ドキュメントに設定された印刷情報が設定されている状
態となる。
Here, in the case of print information for a document in which print information has been set, the print information set in the last document is always set.

【0039】さて、このような状態において、アプリケ
ーションから印刷情報の設定の要求があると、プリンタ
ドライバ管理部111を介して、その時点で選択されて
いるプリンタドライバ120に印刷情報設定要求を送
る。
In such a state, when there is a request for setting print information from the application, a print information setting request is sent to the currently selected printer driver 120 via the printer driver management unit 111.

【0040】印刷情報設定要求を受け取ったプリンタド
ライバ120の印刷情報設定部121は、印刷情報の設
定を行うドキュメントの印刷情報114を参照し、その
印刷情報114が、自身のサポートする印刷情報である
かどうかを判定し、サポートするものであれば対応する
サポート印刷情報の名称を用紙選択フィールド401中
に表示した、図4に示す印刷情報設定ダイアログ400
をオペレーティングシステム110を介して表示する。
以降は、前述した新規ドキュメント作成時の印刷情報設
定の動作と同様に処理する。
Upon receiving the print information setting request, the print information setting unit 121 of the printer driver 120 refers to the print information 114 of the document for which the print information is to be set, and the print information 114 is the print information supported by itself. A print information setting dialog 400 shown in FIG. 4 is displayed in which the name of the corresponding support print information is displayed in the paper selection field 401 if it is supported.
Is displayed via the operating system 110.
Thereafter, processing is performed in the same manner as the above-described print information setting operation when creating a new document.

【0041】一方、サポートする印刷情報でなければ、
「テンポラリ用紙」との名称を与えた印刷情報を作成す
る。
On the other hand, if the print information is not supported,
Create print information given the name "temporary paper".

【0042】ここで、テンポラリ用紙の印刷情報が示す
印刷用紙サイズと、印刷領域は図5に示すように決定す
る。
Here, the print paper size indicated by the print information of the temporary paper and the print area are determined as shown in FIG.

【0043】すなわち、元の印刷情報114が示す印刷
用紙サイズ、印刷領域がaに示すものであるとすると、
このaの印刷領域501の大きさX1、Y1を、bに示す
ように、そのままテンポラリ用紙の印刷情報が示す印刷
領域502の大きさとして決定し、この上下左右に自プ
リンタドライバ120が制御するプリンタ200に必要
な最小マージンを加えたものを印刷用紙イメージとし
て、テンポラリ用紙の印刷情報が示す印刷用紙サイズX
2、Y2と、印刷用紙中の印刷領域502を求める。た
だし、プリンタドライバ120の内部処理において、マ
ージン無しとしても支障ないのであれば、印刷領域50
2をそのまま印刷用紙イメージとして、すなわち、印刷
領域の大きさを印刷用紙サイズとして、印刷用紙サイズ
と印刷領域を求めるようにしてもよい。また、プリンタ
200に必要な最小マージンではなく適当な大きさや、
元の印刷情報のマージンを印刷領域に加えたものを印刷
用紙イメージとして、印刷用紙サイズと印刷領域を求め
るようにしてもよい。なお、元の印刷情報のマージンを
印刷領域に加えたものを印刷用紙イメージとして、印刷
用紙サイズと印刷領域を求めた場合、これは元の印刷情
報と同じものとなるので、元の印刷情報をそのままテン
ポラリ用紙の印刷情報に流用するようにしてもよい。
That is, assuming that the print paper size and print area indicated by the original print information 114 are those indicated by a.
The sizes X1 and Y1 of the print area 501 of "a" are directly determined as the size of the print area 502 indicated by the print information of the temporary paper as shown in "b". The print paper size X indicated by the print information of the temporary paper is defined as a print paper image obtained by adding a minimum margin required to the print paper 200.
2, Y2 and the print area 502 in the print paper are obtained. However, if there is no problem even if there is no margin in the internal processing of the printer driver 120, the print area 50
The print paper size and the print area may be obtained by using the print paper size 2 as it is as the print paper image, that is, using the size of the print area as the print paper size. Also, instead of the minimum margin required for the printer 200, an appropriate size,
The print paper size and the print area may be obtained by using the print area obtained by adding the margin of the original print information to the print area as the print paper image. When the print paper size and the print area are obtained by adding the margin of the original print information to the print area as the print paper image, this becomes the same as the original print information. The print information of the temporary paper may be used as it is.

【0044】さて、このようにして、テンポラリ用紙の
印刷情報を作成したら、このテンポラリ用紙の印刷情報
の名称を用紙選択フィールド401中に表示した、図4
に示す印刷情報設定ダイアログ400をオペレーティン
グシステム110を介して表示する。
When the print information of the temporary paper is created in this way, the name of the print information of the temporary paper is displayed in the paper selection field 401, as shown in FIG.
Is displayed via the operating system 110.

【0045】そして、そのままユーザによってOKボタン
402が押された場合には、このドキュメント140の
印刷情報114に、テンポラリ用紙の印刷情報をオペレ
ーティングシステム110を介して書き込む。また、ユ
ーザによって用紙選択フィールド401が選択された場
合には、先ほどと同様に、標準印刷情報リスト125、
カスタム印刷情報リスト126に登録された各サポート
印刷情報の名称をリストをポップアップ形式により表示
し、そのうちの一つの選択をユーザより受け付ける。そ
して、その後、ユーザによってOKボタン402が押され
た場合には、このドキュメント140の印刷情報114
に、選択された名称のサポート印刷情報をオペレーティ
ングシステム110を介して書き込む。
When the user presses the OK button 402 as it is, the print information of the temporary paper is written into the print information 114 of the document 140 via the operating system 110. When the paper selection field 401 is selected by the user, the standard print information list 125,
A list of the names of the support print information registered in the custom print information list 126 is displayed in a pop-up format, and one of them is received from the user. Then, when the user presses the OK button 402, the print information 114 of the document 140 is displayed.
Then, the support print information of the selected name is written via the operating system 110.

【0046】なお、少なくとも印刷情報114が変更さ
れた場合には、常に、その後、印刷情報がアプリケーシ
ョン130にも渡され、ドキュメント140中の印刷情
報パラメータ141も書き換えられる。
When the print information 114 is changed at least, the print information is always passed to the application 130 and the print information parameter 141 in the document 140 is rewritten.

【0047】以上の動作により、ドキュメント140に
設定されている印刷情報を、その時点で選択されている
プリンタドライバ120がサポートしていない場合に
は、ドキュメント140に設定されている印刷情報が示
す印刷領域と同じ領域を印刷領域とするテンポラリ用紙
の印刷情報が作成され、このテンポラリ用紙の印刷情報
に、ユーザの明示的もしくは黙示的な指示により、ドキ
ュメントの印刷情報が更新されることになる。
According to the above operation, if the print information set in the document 140 is not supported by the currently selected printer driver 120, the print information indicated by the print information set in the document 140 is displayed. The print information of the temporary paper having the same area as the print area as the print area is created, and the print information of the temporary paper is updated by the explicit or implicit instruction of the user in the print information of the document.

【0048】ここで、更新前の印刷情報が示す印刷領域
と更新後の印刷情報が示す印刷領域は等しい。したがっ
て、この印刷領域の中にのみアプリケーション130に
よって配置されるドキュメント中の文字や図形や画像の
レイアウトは、印刷情報の更新の前後で変化しない。し
たがって、本実施形態によれば、異なるプリンタドライ
バが有効なプリンタドライバとして選択されている環境
化で、ドキュメントをほぼ同じレイアウトで表示するこ
とができる。
Here, the print area indicated by the print information before update is equal to the print area indicated by the print information after update. Therefore, the layout of characters, figures, and images in the document arranged by the application 130 only in this print area does not change before and after the update of the print information. Therefore, according to the present embodiment, a document can be displayed with almost the same layout in an environment where different printer drivers are selected as valid printer drivers.

【0049】以下、ドキュメント140の印刷の動作に
ついて説明する。
Hereinafter, the printing operation of the document 140 will be described.

【0050】ユーザの印刷メニューの選択などに従っ
て、アプリケーション130からドキュメント140の
印刷要求が、オペレーティングシステム110に発行さ
れると、プリンタドライバ管理部111を介して、その
時点で選択されているプリンタドライバ120に印刷要
求が送られる。印刷要求を受け取ったプリンタドライバ
120の印刷設定処理部122は、ドキュメントの印刷
情報114を参照し、その印刷情報114が、自身のサ
ポート印刷情報に対応する印刷情報であれば、図6に示
す印刷ダイアログボックス600を、オペレーティング
システム110を介して表示し、このダイアログボック
ス600中のフィールド601、602で印刷の部数と
ページ範囲などを受け付け、印刷603ボタンが押され
たならば、受け付けた内容と共に、印刷制御部123に
印刷を指示する。
When a print request for a document 140 is issued from the application 130 to the operating system 110 in accordance with the user's selection of the print menu, the currently selected printer driver 120 is transmitted via the printer driver management unit 111. Is sent a print request. Upon receiving the print request, the print setting processing unit 122 of the printer driver 120 refers to the print information 114 of the document, and if the print information 114 is print information corresponding to its own support print information, the print setting shown in FIG. A dialog box 600 is displayed via the operating system 110, and the number of copies to be printed and the page range are received in fields 601 and 602 in the dialog box 600. If the print 603 button is pressed, the received contents are displayed together with the received contents. The print control unit 123 is instructed to print.

【0051】その後、印刷制御部123は、アプリケー
ション130から、プリンタドライバ管理部111を介
して、ドキュメントの内容を受け取ると、これを、適
宜、オペレーティングシステム110の機能を利用しな
がら、印刷情報114に応じて定まる印刷サイズとなる
画像に展開し、プリンタ200に必要な画像処理を施
し、印刷情報114と受け付けた印刷部数ページ数など
に従って、プリンタ200を制御し、ドキュメント14
0の画像を印刷する。
After that, when the print control unit 123 receives the contents of the document from the application 130 via the printer driver management unit 111, the print control unit 123 converts this into the print information 114 while appropriately using the function of the operating system 110. The image is developed into an image having a print size determined in accordance with the image, the image processing is performed on the printer 200, and the printer 200 is controlled in accordance with the print information 114 and the number of received print copies.
Print the 0 image.

【0052】一方、印刷要求を受け取ったプリンタドラ
イバ120の印刷設定処理部122は、ドキュメント1
40の印刷情報114が、自身のサポート印刷情報に対
応する印刷情報でない印刷情報(「テンポラリ用紙」の
印刷情報を含む)であれば、まず、図7に示すメッセー
ジボックス700をオペレーティングシステム110を
介して表示し、ユーザに、デフォルトのサポート印刷情
報が示す印刷用紙サイズ、印刷領域で、ドキュメント1
40のレイアウトをデフォルトのサポート印刷情報が示
す印刷領域にフィットするように拡大もしくは縮小して
印刷することを示すメッセージ、あるいは、デフォルト
のサポート印刷情報以外の、プリンタドライバ120が
サポートする印刷情報に従った印刷を行いたい場合に
は、出力印刷用紙の選択を行うべきことを示すメッセー
ジを表示し、OKボタンが押されたならば、図6に示す印
刷ダイアログボックス600を表示する。
On the other hand, the print setting processing unit 122 of the printer driver 120 that has received the print request
If the print information 114 of 40 is print information that is not print information corresponding to its own support print information (including print information of “temporary paper”), first, a message box 700 shown in FIG. The document 1 is displayed to the user with the print paper size and print area indicated by the default support print information.
According to a message indicating that the layout of the layout 40 is enlarged or reduced so as to fit the print area indicated by the default support print information, or according to print information supported by the printer driver 120 other than the default support print information. When the user wants to perform the printing, a message indicating that the output print paper should be selected is displayed. When the OK button is pressed, a print dialog box 600 shown in FIG. 6 is displayed.

【0053】そして、フィールド601、602で印刷
の部数とページ範囲などを受け付け、出力印刷用紙選択
ボタン604が押されることなく、そのまま印刷ダイア
ログボックス600の印刷ボタン603が押されたなら
ば、その拡大または縮小率で拡大もしくは縮小した場合
に、印刷情報114が示す印刷領域の大きさが、デフォ
ルトのサポート印刷情報が示す印刷領域の大きさ以下の
最大の大きさとなる拡大または縮小率を、ドキュメント
140の印刷情報114とデフォルトのサポート印刷情
報より計算し、受け付けた内容と、計算した拡大または
縮小率の指定と共に、印刷制御部123に印刷を指示す
る。
The fields 601 and 602 accept the number of copies to be printed and the page range. If the print button 603 of the print dialog box 600 is pressed without pressing the output print paper selection button 604, the enlargement is performed. Alternatively, when the image is enlarged or reduced at the reduction rate, the enlargement or reduction rate at which the size of the print area indicated by the print information 114 becomes the maximum size equal to or smaller than the size of the print area indicated by the default support print information is set to the document 140. The print control unit 123 instructs the print control unit 123 to perform printing together with the contents received and calculated based on the print information 114 and the default support print information and the calculated enlargement or reduction ratio.

【0054】印刷制御部123は、アプリケーション1
30から、プリンタドライバ管理部111を介して、ド
キュメントの印刷内容を受け取ると、これを、適宜、オ
ペレーティングシステム110の機能を利用しながら、
指定された拡大または縮小率に従って、印刷情報114
に応じて定まる印刷サイズより拡大、縮小した印刷サイ
ズとなる画像に展開し、プリンタ200に必要な画像処
理を施し、印刷情報114と受け付けた印刷部数、ペー
ジ数などに従って、プリンタ200を制御し、ドキュメ
ント140の画像を印刷する。
The print control unit 123 includes the application 1
When the document print content is received from the printer 30 via the printer driver management unit 111, the document print content is appropriately transmitted while using the functions of the operating system 110.
The print information 114 according to the designated enlargement or reduction ratio
Expands into an image having a print size that is larger or smaller than the print size determined according to, performs necessary image processing on the printer 200, and controls the printer 200 according to the print information 114 and the number of received print copies, the number of pages, and the like. The image of the document 140 is printed.

【0055】この結果、印刷されるものは、図5cに示
すように、モニタに表示されるドキュメントのレイアウ
トすなわち「テンポラリ用紙」の印刷領域中502のレ
イアウト、もしくは、自身のサポート印刷情報に対応し
ない「テンポラリ用紙」以外の印刷情報が規定する印刷
領域中のレイアウトが、その相似性を保ったまま、デフ
ォルトのサポート印刷情報が示す印刷領域(実際の印刷
用紙の印刷領域)503内に可能な限り大きな大きさで
印刷されたものとなる。
As a result, as shown in FIG. 5C, the printout does not correspond to the layout of the document displayed on the monitor, that is, the layout of the print area 502 of "temporary paper", or the own support print information. The layout in the print area defined by the print information other than “temporary paper” is as much as possible within the print area (actual print paper print area) 503 indicated by the default support print information while maintaining the similarity. It is printed in a large size.

【0056】一方、図6に示す印刷ダイアログボックス
600において、出力印刷用紙選択ボタン604が押さ
れた場合には、図8に示す出力印刷用紙選択ダイアログ
ボックス800を示す、フィールド801で印刷に用い
る印刷情報の名称の選択を受け付け、チェックボックス
802でレイアウトのフィットを行うかどうかの指定を
受け付け、OKボタン803が押されたならば、出力印刷
用紙選択ダイアログボックス800を閉じる。
On the other hand, when the output print paper selection button 604 is pressed in the print dialog box 600 shown in FIG. 6, the print used for printing in the field 801 is shown in the output print paper selection dialog box 800 shown in FIG. The selection of the name of the information is accepted, the designation of whether or not to fit the layout is accepted by the check box 802, and when the OK button 803 is pressed, the output print paper selection dialog box 800 is closed.

【0057】その後、図6の印刷ダイアログボックス6
00で、印刷ボタン603が押されたならば、出力印刷
用紙選択ダイアログボックス800のフィールド802
でフィットがチェックされていれば、その拡大または縮
小率で拡大もしくは縮小した場合に、印刷情報114が
示す印刷領域の大きさが、出力印刷用紙選択ダイアログ
ボックス800のフィールド801で名称を受け付けた
印刷情報が示す印刷領域の大きさ以下の最大の大きさと
なる拡大または縮小率を計算し、受け付けた内容と、計
算した拡大または縮小率の指定と共に、印刷制御部12
3に印刷を指示する。
Thereafter, a print dialog box 6 shown in FIG.
00, if the print button 603 is pressed, a field 802 of the output print paper selection dialog box 800 is displayed.
If the fit is checked, the size of the print area indicated by the print information 114 is changed to the size of the print area whose name is accepted in the field 801 of the output print paper selection dialog box 800 when the size is enlarged or reduced at the enlargement or reduction rate. The print control unit 12 calculates the enlargement or reduction ratio that is the maximum size equal to or smaller than the size of the print area indicated by the information, and specifies the received content and the calculated enlargement or reduction ratio.
3 is instructed to print.

【0058】印刷制御部123は、アプリケーション1
30から、プリンタドライバ管理部111を介して、ド
キュメントの印刷内容を受け取ると、これを、適宜、オ
ペレーティングシステム110の機能を利用しながら、
指定された拡大または縮小率に従って印刷情報114に
応じて定まる印刷サイズより拡大、縮小した印刷サイズ
となる画像に展開し、プリンタ200に必要な画像処理
を施し、印刷情報114と受け付けた印刷部数、ページ
数などに従って、プリンタ200を制御し、ドキュメン
ト140の画像を印刷する。
The print control unit 123 includes the application 1
When the document print content is received from the printer 30 via the printer driver management unit 111, the document print content is appropriately transmitted while using the functions of the operating system 110.
The image is expanded into an image having a print size that is larger or smaller than the print size determined according to the print information 114 according to the specified enlargement or reduction ratio, and the printer 200 performs necessary image processing. The printer 200 is controlled according to the number of pages, and the image of the document 140 is printed.

【0059】この結果、印刷されるものは、図5cと同
様に、モニタに表示されるドキュメントのレイアウト
が、その相似性を保ったまま、出力印刷用紙として選択
された印刷情報が示す印刷領域(実際の印刷用紙の印刷
領域)503内に可能な限り大きな大きさで印刷された
ものとなる。
As a result, as in the case of FIG. 5C, the layout of the document displayed on the monitor is the print area (print area) indicated by the print information selected as the output print paper while maintaining the similarity. It is printed in a size as large as possible in an actual printing area (printing area of printing paper) 503.

【0060】一方、印刷設定処理部は、出力印刷用紙選
択ダイアログボックス800のフィールド802でフィ
ットしないがチェックされていれば、拡大率、縮小率は
計算、指示せずに、受け付けた部数、ページ数などの内
容と共に、印刷制御部123に印刷を指示する。
On the other hand, if the print setting processing unit does not fit in the field 802 of the output print paper selection dialog box 800 but is checked, the enlargement ratio and reduction ratio are not calculated and instructed, and the number of accepted copies and the number of pages The print control unit 123 is instructed to perform printing together with the contents such as.

【0061】印刷制御部123は、アプリケーション1
30から、プリンタドライバ管理部111を介して、ド
キュメントの印刷内容を受け取ると、これを、適宜、オ
ペレーティングシステム110の機能を利用しながら、
印刷情報114に応じて定まる印刷サイズの画像に展開
し、プリンタ200に必要な画像処理を施し、印刷情報
114と受け付けた印刷部数、ページ数などに従って、
プリンタ200を制御し、ドキュメント140の画像を
印刷する。
The print control unit 123 controls the application 1
When the document print content is received from the printer 30 via the printer driver management unit 111, the document print content is appropriately transmitted while using the functions of the operating system 110.
The image is developed into an image of a print size determined according to the print information 114, necessary image processing is performed on the printer 200, and according to the print information 114 and the number of received print copies and the number of pages,
The printer 200 is controlled to print an image of the document 140.

【0062】この結果、印刷されるものは、モニタに表
示されるドキュメントのレイアウトの方が、選択された
名称のサポート印刷情報が示す印刷領域より小さな場合
には、そのレイアウトがそのまま用紙の印刷領域の一部
に印刷されたものとなるが、モニタに表示されるドキュ
メントのレイアウトの方が、選択された名称のサポート
印刷情報が示す印刷領域より大きな場合には、レイアウ
トのうちサポート印刷情報が示す印刷領域に収まる部分
のみが1枚の用紙に印刷されたものとなる。
As a result, if the layout of the document displayed on the monitor is smaller than the print area indicated by the support print information of the selected name, the layout is printed as it is on the paper. If the layout of the document displayed on the monitor is larger than the print area indicated by the support print information of the selected name, the support print information of the layout indicates Only the portion that fits in the print area is printed on one sheet.

【0063】以上のような動作によれば、異なるプリン
タドライバが有効なプリンタドライバとして選択されて
いる環境化で、ドキュメントを、拡大、縮小されている
ことを除き相似なレイアウトで印刷することができる。
したがって、異なるプリンタドライバが有効なプリンタ
ドライバとして選択されている環境化で、ドキュメント
を同じレイアウトを確認可能な形態で印刷することがで
きる。
According to the above-described operation, a document can be printed in a similar layout except that the document is enlarged or reduced in an environment where different printer drivers are selected as valid printer drivers. .
Therefore, in an environment where different printer drivers are selected as valid printer drivers, a document can be printed in a form in which the same layout can be confirmed.

【0064】以上、本発明の一実施形態を説明した。The embodiment of the present invention has been described.

【0065】なお、以上の実施形態では、印刷に用いる
印刷情報を、まず、デフォルトの印刷情報とし、さらに
ユーザが手動で印刷に用いる印刷情報を変更できるよう
にしたが、これは、テンポラリ用紙の印刷情報に応じ
て、この印刷情報に最も近いサポート印刷情報もしく
は、この印刷情報が示す印刷領域より大きな印刷領域の
うち、最小の印刷領域を示すサポート印刷情報をプリン
タドライバにおいて自動的に選択するようにしてもよ
い。
In the above embodiment, the print information used for printing is first set as default print information, and the user can manually change the print information used for printing. According to the print information, the printer driver automatically selects the support print information closest to the print information or the support print information indicating the minimum print area from the print areas larger than the print area indicated by the print information. It may be.

【0066】[0066]

【発明の効果】以上のように、本発明によれば、異なる
プリンタドライバが有効なプリンタドライバとして選択
されている環境化で、ドキュメントを同じレイアウトで
利用可能とすることができる。
As described above, according to the present invention, documents can be used with the same layout in an environment where different printer drivers are selected as valid printer drivers.

【0067】より具体的には、異なるプリンタドライバ
が有効なプリンタドライバとして選択されている環境化
で、ドキュメントをほぼ同じレイアウトで表示すること
ができる。また、異なるプリンタドライバが有効なプリ
ンタドライバとして選択されている環境化で、ドキュメ
ントを、同じレイアウトを確認可能な形態で印刷するこ
とができる。
More specifically, in an environment where different printer drivers are selected as valid printer drivers, documents can be displayed with almost the same layout. In an environment where different printer drivers are selected as valid printer drivers, a document can be printed in a form in which the same layout can be confirmed.

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

【図1】本発明の実施形態に係る電子計算機の機能構成
を示したブロック図である。
FIG. 1 is a block diagram showing a functional configuration of a computer according to an embodiment of the present invention.

【図2】本発明の実施形態に係るプリンタドライバの機
能構成を示したブロック図である。
FIG. 2 is a block diagram showing a functional configuration of a printer driver according to the embodiment of the present invention.

【図3】本発明の実施形態に係る電子計算機のハードウ
エア構成を示したブロック図である。
FIG. 3 is a block diagram showing a hardware configuration of a computer according to the embodiment of the present invention.

【図4】本発明の実施形態に係る印刷情報設定ダイアロ
グを示す図である。
FIG. 4 is a view showing a print information setting dialog according to the embodiment of the present invention.

【図5】本発明の実施形態に係る印刷用紙サイズ、印刷
領域の関係を示した図である。
FIG. 5 is a diagram illustrating a relationship between a print paper size and a print area according to the embodiment of the present invention.

【図6】本発明の実施形態に係る印刷設定ダイアログを
示す図である。
FIG. 6 is a view showing a print setting dialog according to the embodiment of the present invention.

【図7】本発明の実施形態に係るメッセージボックスを
示す図である。
FIG. 7 is a diagram showing a message box according to the embodiment of the present invention.

【図8】本発明の実施形態に係る出力印刷用紙選択ダイ
アログボックスを示す図である。
FIG. 8 is a diagram illustrating an output print paper selection dialog box according to the embodiment of the present invention.

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

100:電子計算機 110:オペレーティングシステム 111:プリンタドライバ管理部 112:シリアルドライバ 120:プリンタドライバ 121:印刷情報設定処理部 122:印刷設定処理部 123:印刷制御部 130:アプリケーション 140:ドキュメント 141:印刷情報パラメータ 200:プリンタ 100: Computer 110: Operating system 111: Printer driver management unit 112: Serial driver 120: Printer driver 121: Print information setting processing unit 122: Print setting processing unit 123: Print control unit 130: Application 140: Document 141: Print information Parameter 200: Printer

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 印刷用紙サイズと印刷領域を指定する印
刷情報に従ったレイアウトで表示される、前記印刷情報
が設定されたドキュメントの印刷を制御するプリンタド
ライバであって、 ドキュメントの印刷情報の設定を要求された場合に、当
該ドキュメントに対して設定されている印刷情報が、当
該印刷情報に従って自プリンタドライバが印刷を制御で
きるものであるかどうかを判定する判定手段と、 当該ドキュメントに対して設定されている印刷情報が、
当該印刷情報に従って自プリンタドライバが印刷を制御
できるものでないと判定された場合に、当該ドキュメン
トに対して設定されている印刷情報が示す印刷領域の大
きさと等しい大きさの印刷領域と当該印刷領域の大きさ
以上の印刷用紙サイズを指定する印刷情報であって、当
該印刷情報に従って自プリンタ装置が印刷を制御できな
い印刷情報であるダミーの印刷情報をドキュメントに対
して設定するダミー印刷情報設定手段とを有することを
特徴とするプリンタドライバ。
1. A printer driver for controlling printing of a document in which print information is set, the printer driver being displayed in a layout according to print information for specifying a print paper size and a print area, comprising: Requesting the printer driver to determine whether or not the print information set for the document can control printing by the own printer driver according to the print information. Print information is
If it is determined that the own printer driver cannot control printing according to the print information, a print area having a size equal to the size of the print area indicated by the print information set for the document and the print area Dummy print information setting means for setting, for a document, dummy print information that is print information that specifies a print paper size that is equal to or larger than the size, and that is print information for which the own printer device cannot control printing in accordance with the print information. A printer driver, comprising:
【請求項2】 請求項1記載のプリンタドライバであっ
て、 ドキュメントの印刷を要求された場合に、当該ドキュメ
ントに前記ダミーの印刷情報が設定されているときに
は、自プリンタドライバが印刷を制御できる特定の印刷
用紙サイズと印刷領域を選択し、印刷用紙の選択した印
刷領域内に、ドキュメントの、ダミーの印刷情報が示す
印刷領域内の内容が印刷されるよう、ドキュメントの印
刷を制御する印刷処理手段を有することを特徴とするプ
リンタドライバ。
2. The printer driver according to claim 1, wherein when printing of the document is requested, when the dummy print information is set in the document, the printer driver can control the printing. Print processing means for selecting the print paper size and print area of the document, and controlling the printing of the document such that the contents of the print area indicated by the dummy print information of the document are printed in the selected print area of the print paper. A printer driver comprising:
【請求項3】 請求項2記載のプリンタドライバであっ
て、 前記印刷処理手段は、ドキュメントの、ダミーの印刷情
報が示す印刷領域内の内容が、その縦横の比率が変わる
ことなく印刷用紙の選択した印刷領域内に収まる最大の
大きさに拡大もしくは縮小されて、印刷用紙の選択した
印刷領域内に印刷されるよう、ドキュメントの印刷を制
御することを特徴とするプリンタドライバ。
3. The printer driver according to claim 2, wherein the print processing unit selects a print sheet without changing the aspect ratio of the contents of the document in the print area indicated by the dummy print information. A printer driver for controlling printing of a document such that the document is enlarged or reduced to a maximum size that can be accommodated in the selected print area and is printed in the selected print area of the printing paper.
【請求項4】 請求項1、2または3記載のプリンタド
ライバであって、 前記ダミーの印刷情報は、ドキュメントに対して設定さ
れている印刷情報が示す印刷領域の大きさと等しい大き
さの印刷領域と、当該印刷領域に自プリンタドライバが
印刷を制御できる最小のマージンを加えた大きさの印刷
用紙サイズを指定するものであることを特徴とするプリ
ンタドライバ。
4. The printer driver according to claim 1, wherein the dummy print information has a print area having a size equal to a size of a print area indicated by print information set for a document. A print paper size of a size obtained by adding a minimum margin in which the printer driver can control printing to the print area.
【請求項5】 印刷用紙サイズと印刷領域を指定する印
刷情報に従ったレイアウトで表示される、前記印刷情報
が設定されたドキュメントの印刷を制御するプリンタド
ライバであって、 自プリンタドライバが印刷を制御できる、印刷用紙サイ
ズと印刷領域の組の集合を記憶するサポート印刷情報記
憶手段と、 ドキュメントの印刷情報の設定を要求された場合に、当
該ドキュメントに対して設定されている印刷情報が示す
印刷用紙サイズと印刷領域の組が、前記集合に含まれる
ものであるかどうか判定する判定手段と、 当該ドキュメントに対して設定されている印刷情報が示
す印刷用紙サイズと印刷領域の組が、前記集合に含まれ
ないと判定された場合に、当該ドキュメントに対して設
定されている印刷情報が示す印刷領域の大きさと等しい
大きさの印刷領域と当該印刷領域の大きさ以上の印刷用
紙サイズの組を作成して、作成した組の印刷用紙サイズ
と印刷領域を指定する印刷情報を、当該ドキュメントに
対して設定する印刷情報設定手段とを有することを特徴
とするプリンタドライバ。
5. A printer driver for controlling printing of a document in which the print information is set, the printer driver being displayed in a layout according to print information specifying a print paper size and a print area, wherein the own printer driver performs printing. A controllable print information storage unit for storing a set of print paper sizes and print areas that can be controlled, and a print indicated by the print information set for the document when the setting of the print information of the document is requested Determining means for determining whether a set of paper size and print area is included in the set; and a set of print paper size and print area indicated by print information set for the document, If it is determined that the size is not included in the document, the size is equal to the size of the print area indicated by the print information set for the document. Print information that specifies the print area and print area of the created print area, and sets print information that specifies the print area and print area of the created set. A printer driver comprising setting means.
【請求項6】 印刷用紙サイズと印刷領域を指定する印
刷情報に従ったレイアウトで、前記印刷情報が設定され
たドキュメントを表示するドキュメント処理部と、前記
ドキュメントの印刷を制御するプリンタドライバとを有
する電子計算機であって、 前記プリンタドライバは、 前記ドキュメント処理部から、ドキュメントの印刷情報
の設定を要求された場合に、当該ドキュメントに対して
設定されている印刷情報が、当該印刷情報に従って自プ
リンタドライバが印刷を制御できるものであるかどうか
を判定する判定手段と、 当該ドキュメントに対して設定されている印刷情報が、
当該印刷情報に従って自プリンタドライバが印刷を制御
できるものでないと判定された場合に、当該ドキュメン
トに対して設定されている印刷情報が示す印刷領域の大
きさと等しい大きさの印刷領域と、当該印刷領域の大き
さ以上の印刷用紙サイズを指定する印刷情報であって、
当該印刷情報に従って自プリンタ装置が印刷を制御でき
ない印刷情報であるダミーの印刷情報をドキュメントに
対して設定するダミー印刷情報設定手段とを有すること
を特徴とする電子計算機。
6. A document processing unit for displaying a document in which the print information is set in a layout according to print information for specifying a print paper size and a print area, and a printer driver for controlling printing of the document. An electronic computer, wherein the printer driver, when requested to set print information of the document from the document processing unit, print information set for the document according to the print information; Determining means for determining whether or not the document can control printing; and printing information set for the document,
If it is determined that the own printer driver cannot control printing according to the print information, a print area having the same size as the print area indicated by the print information set for the document; Print information that specifies a print paper size that is equal to or larger than
An electronic computer, comprising: dummy print information setting means for setting, for a document, dummy print information that is print information for which the own printer device cannot control printing according to the print information.
【請求項7】 印刷用紙サイズと印刷領域を指定する印
刷情報に従ったレイアウトで表示される、前記印刷情報
が設定されたドキュメントの印刷を制御するプリンタド
ライバにおいて、前記印刷情報をドキュメントに設定す
る方法であって、 ドキュメントの印刷情報の設定を要求された場合に、当
該ドキュメントに対して設定されている印刷情報が、当
該印刷情報に従って自プリンタドライバが印刷を制御で
きるものであるかどうかを判定するステップと、 当該ドキュメントに対して設定されている印刷情報が、
当該印刷情報に従って自プリンタドライバが印刷を制御
できるものでないと判定された場合に、当該ドキュメン
トに対して設定されている印刷情報が示す印刷領域と等
しい印刷領域と、当該印刷領域の大きさ以上の印刷用紙
サイズを指定する印刷情報であって、当該印刷情報に従
って自プリンタ装置が印刷を制御できない印刷情報であ
るダミーの印刷情報をドキュメントに対して設定するス
テップとを有することを特徴とする印刷情報設定方法。
7. A printer driver for controlling printing of a document in which the print information is set, which is displayed in a layout according to print information specifying a print paper size and a print area, sets the print information in the document. Determining whether print information set for the document can be controlled by the own printer driver in accordance with the print information, in response to a request for setting print information of the document. And print information set for the document,
If it is determined that the own printer driver cannot control printing according to the print information, a print area equal to the print area indicated by the print information set for the document and a print area equal to or larger than the size of the print area Setting dummy print information for the document, the print information being print information for specifying a print paper size, wherein the print information cannot be controlled by the printer device according to the print information. Setting method.
【請求項8】 印刷用紙サイズと印刷領域を指定する印
刷情報に従ったレイアウトで、前記印刷情報が設定され
たドキュメントを表示するドキュメント処理部が稼働す
る電子計算機によって読み取られ実行されるプログラム
を記憶した記録媒体であって、 ドキュメントの印刷を、電子計算機上で制御するプリン
タドライバであって、 ドキュメントの印刷情報の設定を要求された場合に、当
該ドキュメントに対して設定されている印刷情報が、当
該印刷情報に従って自プリンタドライバが印刷を制御で
きるものであるかどうかを判定する判定手段と、 当該ドキュメントに対して設定されている印刷情報が、
当該印刷情報に従って自プリンタドライバが印刷を制御
できるものでないと判定された場合に、当該ドキュメン
トに対して設定されている印刷情報が示す印刷領域と等
しい印刷領域と、当該印刷領域の大きさ以上の印刷用紙
サイズを指定する印刷情報であって、当該印刷情報に従
って自プリンタ装置が印刷を制御できない印刷情報であ
るダミーの印刷情報をドキュメントに対して設定するダ
ミー印刷情報設定手段とを有することを特徴とするプリ
ンタドライバを形成することを特徴とする記録媒体。
8. A program which is read and executed by a computer running a document processing unit for displaying a document in which the print information is set, in a layout according to print information designating a print paper size and a print area. A print driver that controls printing of a document on a computer, and when a request is made to set print information of the document, the print information set for the document is Determining means for determining whether or not the own printer driver can control printing according to the print information; and print information set for the document,
If it is determined that the own printer driver cannot control printing according to the print information, a print area equal to the print area indicated by the print information set for the document and a print area equal to or larger than the size of the print area Dummy print information setting means for setting, for a document, dummy print information that is print information for specifying a print paper size and is print information for which the own printer device cannot control printing according to the print information. A recording medium characterized by forming a printer driver.
【請求項9】 印刷用紙サイズと印刷領域を指定する印
刷情報に従ったレイアウトで表示される、前記印刷情報
が設定されたドキュメントの印刷を制御するプリンタド
ライバであって、 ドキュメントの印刷を要求された場合に、当該ドキュメ
ントに対して設定されている印刷情報が、当該印刷情報
に従って自プリンタドライバが印刷を制御できるもので
あるかどうかを判定する判定手段と、 当該ドキュメントに対して設定されている印刷情報が、
当該印刷情報に従って自プリンタドライバが印刷を制御
できるものでないと判定された場合に、自プリンタドラ
イバが印刷を制御できる特定の印刷用紙サイズと印刷領
域を選択し、印刷用紙の選択した印刷領域内に、ドキュ
メントの印刷情報が示す印刷領域内の内容が印刷される
よう、ドキュメントの印刷を制御する印刷処理手段を有
することを特徴とするプリンタドライバ。
9. A printer driver for controlling printing of a document in which the print information is set, the printer driver being displayed in a layout according to print information designating a print paper size and a print area, wherein the print of the document is requested. A determination unit that determines whether the print information set for the document can control printing by the own printer driver according to the print information. The print information is
If it is determined that the own printer driver cannot control printing according to the print information, the printer driver selects a specific print paper size and print area that can control printing, and sets the print paper within the selected print area. A print driver for controlling printing of the document so that the contents in the print area indicated by the print information of the document are printed.
JP21250099A 1999-07-27 1999-07-27 Printer driver, electronic computer, print information setting method, and recording medium Expired - Fee Related JP3711795B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21250099A JP3711795B2 (en) 1999-07-27 1999-07-27 Printer driver, electronic computer, print information setting method, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21250099A JP3711795B2 (en) 1999-07-27 1999-07-27 Printer driver, electronic computer, print information setting method, and recording medium

Publications (2)

Publication Number Publication Date
JP2001043049A true JP2001043049A (en) 2001-02-16
JP3711795B2 JP3711795B2 (en) 2005-11-02

Family

ID=16623703

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21250099A Expired - Fee Related JP3711795B2 (en) 1999-07-27 1999-07-27 Printer driver, electronic computer, print information setting method, and recording medium

Country Status (1)

Country Link
JP (1) JP3711795B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007047984A (en) * 2005-08-09 2007-02-22 Seiko Epson Corp Printer driver and controller
US8049905B2 (en) 2002-05-27 2011-11-01 Minolta Co., Ltd. Computer readable recording medium bearing a printer driver program and print data processing apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8049905B2 (en) 2002-05-27 2011-11-01 Minolta Co., Ltd. Computer readable recording medium bearing a printer driver program and print data processing apparatus
JP2007047984A (en) * 2005-08-09 2007-02-22 Seiko Epson Corp Printer driver and controller
JP4581899B2 (en) * 2005-08-09 2010-11-17 セイコーエプソン株式会社 Printer driver and control device

Also Published As

Publication number Publication date
JP3711795B2 (en) 2005-11-02

Similar Documents

Publication Publication Date Title
US7057747B1 (en) Management of printer settings
US8300245B2 (en) Device to edit documents for printout and method thereof
JP2000222156A (en) Device and method for print output control, and computer-readable recording medium where program having print output control function is recorded
US7203898B2 (en) Document processing method and apparatus
JP2007334791A (en) Image output controller, output image information generator, and program
US8856637B2 (en) Applying borders to each page in N-up printing
US20040036903A1 (en) Printing apparatus
JP2002014797A (en) Information processor, print controller and its control method, and storage medium and its control program
JP2002014786A (en) Printing control system and method, and storage medium
JP2004058500A (en) Image formation device
JP3711795B2 (en) Printer driver, electronic computer, print information setting method, and recording medium
JP2020009055A (en) Information processing device and program
US20050134878A1 (en) Printing system, print data generating method, and program
US9430446B2 (en) Information processing apparatus, method and storage medium including a function for establishing exceptions applied to print settings when specified conditions are met
JP3709696B2 (en) Printing system, printer server apparatus, printer server processing method, and recording medium on which printer server processing program is recorded
JP3897539B2 (en) Print data generation method and apparatus
JP2003044240A (en) Printer driver, information processor, printing system, printing device and storage medium
JP2000185445A (en) Method and apparatus for printing control
JP3161744B2 (en) Information processing device
JP2003256169A (en) Printer driver
JP2000172461A (en) File print control method and program recording medium
JP2003323270A (en) Print system
JP4545903B2 (en) Information processing apparatus, information processing method, and storage medium
JP2008276470A (en) Information processor, printer, print processing method, storage medium and program
JP2011081785A (en) Information processor, printer, program and computer readable recording medium

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041101

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041109

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050111

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050808

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090826

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090826

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100826

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110826

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120826

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130826

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees