JP2001010170A - Method and apparatus for controlling printing and storage medium - Google Patents

Method and apparatus for controlling printing and storage medium

Info

Publication number
JP2001010170A
JP2001010170A JP11182417A JP18241799A JP2001010170A JP 2001010170 A JP2001010170 A JP 2001010170A JP 11182417 A JP11182417 A JP 11182417A JP 18241799 A JP18241799 A JP 18241799A JP 2001010170 A JP2001010170 A JP 2001010170A
Authority
JP
Japan
Prior art keywords
information
margin
margin information
storing
paper size
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.)
Pending
Application number
JP11182417A
Other languages
Japanese (ja)
Other versions
JP2001010170A5 (en
Inventor
Takeshi Matsushita
剛 松下
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 JP11182417A priority Critical patent/JP2001010170A/en
Priority to US09/597,403 priority patent/US7268897B1/en
Priority to EP00305360A priority patent/EP1067764A3/en
Publication of JP2001010170A publication Critical patent/JP2001010170A/en
Publication of JP2001010170A5 publication Critical patent/JP2001010170A5/ja
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To facilitate the addition and change of a paper size by providing a storage means for storing discrimination information for discriminating printing conditions and a parameter of each paper size based on the discrimination information, retrieving the discrimination information and the parameter according to printing information, and producing concerning margin information. SOLUTION: When a printer driver 12 provides margin information to an application program 11, a margin information providing part 13 is called by the printer driver 12 to acquire the margin information. The part 13 is composed of a margin information producing part 13-1 for producing a left margin, an upper margin, and a horizontal printable area value and a margin information table 13-2 in which data necessary for producing the margin information is stored in the form of a table. According to the setting of the printer driver, the necessary ID of a data table is acquired from an index table, and the data table assigned by the ID is retrieved to obtain the margin information.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は印刷制御のためにマ
ージン情報を提供する印刷制御装置、印刷制御方法、そ
の方法をコンピュータで実行するためのプログラムを格
納した記憶媒体に関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to a print control apparatus for providing margin information for print control, a print control method, and a storage medium storing a program for executing the method by a computer.

【0002】[0002]

【従来の技術】マージン情報提供処理は通常プリンタド
ライバ内のプログラムやライブラリとして存在し、その
処理情報はプリンタドライバを通じてアプリケーション
へ提供される。マージン情報提供処理は入力として、用
紙の縦横のサイズと用紙サイズ名称等のマージン計算に
必要な条件が入り、左マージン、上マージン、縦横の印
刷可能領域値を結果として出力する。
2. Description of the Related Art Margin information providing processing usually exists as a program or library in a printer driver, and the processing information is provided to an application through the printer driver. The margin information provision processing includes, as inputs, conditions necessary for margin calculation such as the vertical and horizontal sizes of paper and the paper size name, and outputs a left margin, an upper margin, and vertical and horizontal printable area values as a result.

【0003】従来のマージン情報提供処理においては、
各マージンは用紙のサイズ毎に決まっており、そのサイ
ズにより処理を切り替えなければならなかった。例え
ば、A4サイズでは、左マージンは3.4mmであるが、封筒
では、6.4mmとなる。またユーザ定義サイズの場合は、
与えられた用紙サイズと一定の計算式からマージンの計
算を行っていた。
In the conventional margin information providing process,
Each margin is determined for each paper size, and the processing must be switched according to the size. For example, in A4 size, the left margin is 3.4 mm, but in an envelope it is 6.4 mm. In the case of a user-defined size,
The margin was calculated from the given paper size and a fixed formula.

【0004】[0004]

【発明が解決しようとする課題】従来の方法では、マー
ジン情報の提供にかかる計算処理はプログラムとしてハ
ードコーディングされているため、用紙サイズが増加す
るたびに、システム自身を更新する必要がある。
In the conventional method, since the calculation processing for providing the margin information is hard-coded as a program, the system itself needs to be updated every time the paper size increases.

【0005】さらに、プリンタの機種により印刷可能な
用紙サイズも異なるため、機種毎に、マージン情報提供
システムも開発しなければならない。さらに、マージン
の計算方法も、用紙のサイズのみで変化するのではな
く、上下マージンのない連続紙タイプの用紙や、ミシン
目入りの用紙などへの対応により、複雑な条件で変化す
るようになってきている。これにより、複雑な条件判断
を含んだマージン提供システムを、プリンタの機種にあ
わせて開発しなければならない。
Further, since the printable paper size differs depending on the printer model, a margin information providing system must be developed for each model. Furthermore, the method of calculating the margin does not change only with the size of the paper, but also changes under complicated conditions by supporting continuous paper type paper without top and bottom margins and perforated paper. Is coming. As a result, a margin providing system including complicated condition judgment must be developed according to the printer model.

【0006】こういったことにより、マージン情報提供
システムの開発効率低下およびプログラムの複雑化にお
ける品質の低下が発生しやすい状況となってきている。
[0006] As a result, a situation has arisen in which the development efficiency of the margin information providing system is reduced and the quality is reduced due to the complexity of the program.

【0007】[0007]

【課題を解決するための手段】上記課題を解決するべ
く、本発明にかかる印刷制御装置、印刷制御方法、記憶
媒体は以下の構成からなることを特徴とする。
Means for Solving the Problems In order to solve the above problems, a print control apparatus, a print control method, and a storage medium according to the present invention are characterized by having the following configurations.

【0008】すなわち、印刷制御装置は印刷条件を識別
するための識別情報と、前記識別情報に基づく用紙サイ
ズ別のパラメータとを格納する格納手段と、印刷情報に
従い、前記格納されている識別情報とパラメータとを検
索し、該当するマージン情報を生成するためのマージン
情報生成手段とを備える。
[0008] That is, the print control device stores identification information for identifying printing conditions and parameters for each paper size based on the identification information, and stores the stored identification information in accordance with the print information. Margin information generating means for searching for the parameter and generating the corresponding margin information.

【0009】また、前記印刷制御装置において、前記格
納手段は、印刷条件別に識別されるID番号を格納した
インデックステーブルと、前記ID番号ごとに用紙サイ
ズ別のマージン情報を格納したデータテーブルとを有す
る。
Further, in the printing control apparatus, the storage means has an index table storing ID numbers identified according to printing conditions, and a data table storing margin information for each paper size for each ID number. .

【0010】また、前記印刷制御装置において、前記マ
ージン情報生成手段は、前記印刷情報においてユーザ定
義の用紙が指定されている場合は、縦方向及び横方向の
印刷可能領域を算出する。
In the printing control apparatus, the margin information generating means calculates printable areas in the vertical and horizontal directions when a user-defined sheet is specified in the print information.

【0011】更に、印刷制御方法は、印刷条件を識別す
るための識別情報と、前記識別情報に基づく用紙サイズ
別のパラメータとをメモリに格納する格納工程と、印刷
情報に従い、前記メモリに格納されている識別情報とパ
ラメータとを検索し、該当するマージン情報を生成する
ためのマージン情報生成工程とを備える。
Further, the print control method includes a step of storing in a memory identification information for identifying printing conditions and a parameter for each paper size based on the identification information, and storing the identification information in the memory in accordance with the print information. Margin information generating step for searching for the identification information and the parameters which are present and generating the corresponding margin information.

【0012】また、前記印刷制御方法において、前記格
納工程は、印刷条件別に識別されるID番号を格納する
インデックステーブルと、前記ID番号ごとに用紙サイ
ズ別のマージン情報を格納するデータテーブルとをメモ
リに格納する。
In the printing control method, the storing step includes storing an index table for storing ID numbers identified for each printing condition, and a data table for storing margin information for each paper size for each of the ID numbers. To be stored.

【0013】また、前記印刷制御方法において、前記マ
ージン情報生成工程は、前記印刷情報においてユーザ定
義の用紙が指定されている場合は、縦方向及び横方向の
印刷可能領域を算出する。
In the printing control method, the margin information generating step calculates a printable area in a vertical direction and a horizontal direction when a user-defined sheet is specified in the print information.

【0014】更に、印刷制御用のマージン情報を提供す
るためのプログラムを格納した記憶媒体であって、該プ
ログラムが、印刷条件を識別するための識別情報と、前
記識別情報に基づく用紙サイズ別のパラメータとをメモ
リに格納する格納工程のコードと、印刷情報に従い、前
記メモリに格納されている識別情報とパラメータとを検
索し、該当するマージン情報を生成するためのマージン
情報生成工程のコードとを備える。
Further, the present invention is a storage medium storing a program for providing margin information for print control, the program comprising identification information for identifying printing conditions, and a sheet size for each paper size based on the identification information. The code of the storing step of storing the parameter in the memory and the code of the margin information generating step for generating the corresponding margin information by searching the identification information and the parameter stored in the memory in accordance with the print information. Prepare.

【0015】[0015]

【発明の実施の形態】個人が利用するオペレーティング
システム(OS)上で、文章や画像をプリンタに出力する
ときには、そのプリンタ機種に合致したプリンタドライ
バを使用しなければならない。プリンタドライバは、そ
の対応プリンタに対する様々な固有情報やデータ変換機
能を呼び出し側であるOSやアプリケーションへ提供す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS When outputting texts and images to a printer on an operating system (OS) used by an individual, a printer driver suitable for the printer model must be used. The printer driver provides various kinds of unique information and data conversion functions for the corresponding printer to the OS or application that is the calling side.

【0016】その中の1つの情報として、用紙のマージ
ン情報がある。用紙のマージン情報とは、主に、図5に
示すような左マージン、上マージン、横印刷可能領域
値、縦印刷可能領域値の4つである。左マージンとは、
用紙の左端から実際に印刷をさせたい領域の左端までの
距離である。上マージンとは、用紙の上端から実際に印
刷させたい領域の上端までの距離である。横印刷可能領
域値、縦印刷可能領域値は、それぞれ実際に印刷可能な
横、縦の長さである。これら4つの情報をアプリケーシ
ョンはドライバから受け取ることにより、特定のプリン
タ機種に対して、両端のデータが切れたりするようなこ
とのない、正確な印刷データの生成が可能となる。
One of the information is paper margin information. The paper margin information is mainly four information such as a left margin, an upper margin, a horizontal printable area value, and a vertical printable area value as shown in FIG. The left margin is
This is the distance from the left edge of the sheet to the left edge of the area where printing is actually desired. The upper margin is a distance from the upper end of the sheet to the upper end of the area to be actually printed. The horizontal printable area value and the vertical printable area value are respectively the horizontal and vertical lengths that can be actually printed. By receiving these four pieces of information from the driver, the application can generate accurate print data for a specific printer model without cutting off data at both ends.

【0017】次に本発明にかかるマージン情報提供シス
テムについて図面を参照して説明を行う。
Next, a margin information providing system according to the present invention will be described with reference to the drawings.

【0018】図1は本発明の実施形態の構成を示すもの
である。図1は、一般的なOS上での印刷処理時における
マージン設定に関連する部分を抜き出して示してある。
11は、ワードプロセッサや描画ソフトなどのアプリケ
ーションプログラムであり、12はプリンタドライバで
ある。プリンタドライバ12は、アプリケーションプロ
グラムに対してプリンタ固有の情報の1つとしてマージ
ン情報を提供する。13は本発明であるマージン情報提
供部である。
FIG. 1 shows the configuration of an embodiment of the present invention. FIG. 1 shows a portion related to margin setting at the time of print processing on a general OS.
Reference numeral 11 denotes an application program such as a word processor or drawing software, and reference numeral 12 denotes a printer driver. The printer driver 12 provides margin information to the application program as one of printer-specific information. Reference numeral 13 denotes a margin information providing unit according to the present invention.

【0019】プリンタドライバ12がアプリケーション
プログラム11に対してマージン情報を提供する時に
は、プリンタドライバ12自身はこのマージン情報提供
部13を呼び出して、その情報を取得しているものとす
る。
When the printer driver 12 provides margin information to the application program 11, it is assumed that the printer driver 12 itself has called the margin information providing unit 13 and has acquired the information.

【0020】このマージン情報提供部13は、マージン
情報生成部(13-1)とマージン情報テーブル(13-2)の
2つの部分により構成される。マージン情報生成部13-1
は、左マージン、上マージン、縦横の印刷可能領域値の
生成を行う。マージン情報テーブル13-2は、マージン情
報生成部13-1がマージン情報を生成するのに必要なデー
タがテーブル形式で格納されている。
The margin information providing unit 13 is composed of two parts, a margin information generation unit (13-1) and a margin information table (13-2). Margin information generator 13-1
Generates a left margin, an upper margin, and printable area values in the vertical and horizontal directions. The margin information table 13-2 stores data necessary for the margin information generation unit 13-1 to generate margin information in a table format.

【0021】テーブルは、通常ファイル形式で格納され
ており、インデックステーブルとデータテーブルの2種
類が存在する。データテーブルは、用紙サイズとそれに
対応する各種マージンの値が格納されている。インデッ
クステーブルには、プリンタドライバの設定条件とそれ
に適合するマージン情報が入っているデータテーブルの
IDが格納されている。マージン情報生成部は、まずプリ
ンタドライバの設定に従い、インデックステーブルから
必要なデータテーブルのIDを獲得し、さらにそのIDで指
定されたデータテーブルを検索することで、マージン情
報を獲得する。
The tables are usually stored in a file format, and there are two types of tables, index tables and data tables. The data table stores paper sizes and various margin values corresponding thereto. The index table contains the setting conditions of the printer driver and the data table that contains margin information that matches the setting conditions.
ID is stored. The margin information generation unit first obtains a required data table ID from the index table according to the settings of the printer driver, and further retrieves the data table specified by the ID to obtain margin information.

【0022】また、本実施形態でのプリンタおよびプリ
ンタドライバ12は、用紙サイズA4,A5,B5,封筒,はがき
サイズをサポートし、またユーザはドライバ上のユーザ
インターフェイスから特殊機能である連続用紙のON/OF
F、ミシン目入り用紙のON/OFFを選択可能とする。「連
続用紙」とは、一定サイズの紙が連続してつながった用
紙であり、上下マージンが0mmとなる特殊形体の用紙の
ことである。「ミシン目入り用紙」は、用紙の上下左右
の端にミシン目が入り、ミシン目の内側いっぱいに印刷
した後にミシン目を切り離すことにより用紙サイズいっ
ぱいに印刷を行うこと目的とした特殊用紙サイズであ
る。連続用紙の設定がONと選択されると、ミシン目入り
用紙の設定は、選択不可能になり、連続用紙専用のマー
ジンの値が、各用紙サイズに設定される。同様に、ミシ
ン目入り用紙が選択でき、かつONの設定を行ったときに
は、ミシン目入り用紙専用のマージンの値が各用紙サイ
ズについて設定される。このように、ユーザの選択した
設定により、マージンの設定が変化する。
The printer and the printer driver 12 according to the present embodiment support paper sizes A4, A5, B5, envelope, and postcard size, and the user can turn on continuous paper as a special function from the user interface on the driver. / OF
F, ON / OFF of perforated paper can be selected. “Continuous paper” is paper in which paper of a certain size is continuously connected, and is a specially-shaped paper having a vertical margin of 0 mm. `` Perforated paper '' is a special paper size intended to print at the full size of the paper by perforating the top, bottom, left and right edges of the paper, cutting the perforation after printing the entire inside of the perforation is there. When the setting of the continuous paper is selected to be ON, the setting of the perforated paper cannot be selected, and the value of the margin dedicated to the continuous paper is set for each paper size. Similarly, when perforated paper can be selected and ON is set, a margin value dedicated to perforated paper is set for each paper size. As described above, the setting of the margin changes according to the setting selected by the user.

【0023】図2に本発明にかかるマージン情報の提供
処理の流れを示す。
FIG. 2 shows a flow of a margin information providing process according to the present invention.

【0024】ステップS21において、呼び出し側(本
実施形態では、プリンタドライバ)からのパラメータを
受け取る。パラメータには、縦横の用紙サイズ、用紙サ
イズをコード化した用紙サイズコード、さらに、印刷条
件である連続用紙のON/OFF、ミシン目入り用紙のON/OFF
の情報を受け取る。
In step S21, parameters are received from a calling side (in the present embodiment, a printer driver). Parameters include vertical and horizontal paper size, paper size code that encodes paper size, and ON / OFF of continuous paper and ON / OFF of perforated paper, which are printing conditions.
Receive information on.

【0025】次に、ステップS22に処理を進め、イン
デックステーブルをマージン情報テーブル部からメモリ
へ読み込む。ここで、インデックステーブルの構造は図
3に示すとうりである。このテーブルには、プリンタド
ライバの設定値とそれに対応するマージン情報が格納さ
れたデータテーブルのIDが格納されている。図3では、
連続用紙の設定がONの時はID=100のデータテーブル
を参照し、連続用紙がOFFでかつミシン目入り用紙の設
定がONの時はID=110を、連続用紙、ミシン目入り用紙
がともにOFFの場合はID=120を参照することを意味して
いる。なお図中のALLはすべての状態にマッチすること
を意味している。インデックステーブルには、すべての
マージン設定に関わる条件が記述され、どのような設定
でも適合するテーブルIDが1つ存在するように作られて
いる。
Next, the process proceeds to step S22, in which the index table is read from the margin information table to the memory. Here, the structure of the index table is as shown in FIG. This table stores the ID of a data table in which printer driver setting values and corresponding margin information are stored. In FIG.
When the continuous paper setting is ON, refer to the data table with ID = 100. When the continuous paper is OFF and the perforated paper setting is ON, ID = 110, and both the continuous paper and the perforated paper are used. When it is OFF, it means that ID = 120 is referred to. Note that ALL in the figure means that all states are matched. The index table describes conditions relating to all margin settings, and is prepared so that there is one table ID suitable for any setting.

【0026】ステップS23において、メモリ中にロー
ドされたインデックステーブルを、ステップ21で得た
印刷条件の項目をもとに検索を行い、印刷条件にマッチ
するデータテーブルのIDを獲得する。
In step S23, the index table loaded in the memory is searched based on the print condition items obtained in step 21, and an ID of a data table matching the print conditions is obtained.

【0027】次に、ステップS24において、ステップ
S23で獲得したIDのデータテーブルをメモリにロード
する。テーブルID別のそれぞれのデータテーブルは図
4(a),(b),(c)のような構造となっている。
なお、マージンの値の単位は1/100mmである。データテ
ーブルには各用紙サイズとそのサイズに対応した左マー
ジン、上マージン、縦横の印刷可能領域値が入ってい
る。例えば、ID=100のテーブルでは、A4サイズの用
紙では、左マージンが340、上マージンが0、横印刷可能
領域値が20320、縦印刷可能領域値が29700である。ただ
し、ユーザ定義サイズの場合は、横印刷可能領域値の代
わりに最大横印刷可能領域値、縦印刷可能領域値のかわ
りに下マージンの値が入っている。
Next, in step S24, the data table of the ID acquired in step S23 is loaded into the memory. Each data table for each table ID has a structure as shown in FIGS. 4 (a), (b) and (c).
The unit of the value of the margin is 1/100 mm. The data table contains each paper size, and a left margin, an upper margin, and a vertical and horizontal printable area value corresponding to the size. For example, in the table of ID = 100, for A4 size paper, the left margin is 340, the upper margin is 0, the horizontal printable area value is 20320, and the vertical printable area value is 29700. However, in the case of the user-defined size, the value of the maximum marginal printable area is set instead of the value of the horizontal printable area, and the value of the lower margin is set instead of the value of the vertical printable area.

【0028】次に、ステップS25に処理を進め、ステ
ップS24でメモリ中にロードしたデータテーブルをス
テップS21で取得した用紙サイズコードをもとに検索
を行い、上マージン、左マージン、縦横の印刷可能領域
値を得る。ただし、ユーザ定義サイズの場合のみ、縦横
の印刷可能領域値のかわりに、最大横印刷領域値、下マ
ージン値を得る。
Next, the process proceeds to step S25, in which the data table loaded in the memory in step S24 is searched based on the paper size code obtained in step S21, and the upper margin, the left margin, and the vertical and horizontal printing are possible. Get the region value. However, only in the case of the user-defined size, the maximum horizontal print area value and the lower margin value are obtained instead of the vertical and horizontal printable area values.

【0029】ステップS26では、ステップS21で得
た用紙サイズコードがユーザ定義サイズを意味するか否
かを判断し、ユーザ定義サイズである場合(S26−Y
es)は、処理をステップS27に進め、ユーザ定義サ
イズ以外の場合(S26−No)は処理をステップS2
8へ進める。
In step S26, it is determined whether or not the paper size code obtained in step S21 means a user-defined size, and if it is a user-defined size (S26-Y).
es) advances the process to step S27. If the size is other than the user-defined size (S26-No), the process proceeds to step S2.
Proceed to 8.

【0030】ステップS27において、ユーザ定義サイ
ズの場合の各マージン値の計算を行う。これは、ユーザ
定義サイズの場合だけは、縦横の印刷可能領域値は、ス
テップ21で得た実サイズの値に応じて変化するため、
計算で求めなければならないためである。縦横の印刷可
能領域値はステップS25で得た値を利用し次の式で求
める。
In step S27, each margin value for the user-defined size is calculated. This is because only in the case of the user-defined size, the printable area value in the vertical and horizontal directions changes according to the value of the actual size obtained in step 21.
This is because it must be calculated. The printable area values in the vertical and horizontal directions are obtained by the following equations using the values obtained in step S25.

【0031】横印刷可能領域値=用紙の横サイズ―(左
マージン値)×2 ただし、横印刷可能領域値 > 最大印刷可能領域値な
らば、最大印刷可能領域が横印刷可能領域値となる。
Horizontal printable area value = paper horizontal size− (left margin value) × 2 However, if horizontal printable area value> maximum printable area value, the maximum printable area is the horizontal printable area value.

【0032】縦印刷可能領域値=用紙の縦サイズ―(上
マージン値)―(下マージン値)ステップS28では呼
び出し側に、ステップS25またはステップS27で決
定した、左マージン、上マージン、縦横の印刷可能領域
値を呼び出し側へ返し処理を終了する。
Vertical printable area value = vertical size of paper- (upper margin value)-(lower margin value) In step S28, the calling side is notified of the left margin, upper margin, and vertical and horizontal printing determined in step S25 or step S27. Return the possible area value to the caller and end the process.

【0033】以上のような処理により、マージン情報の
提供をプリンタドライバに行う。
With the above processing, the margin information is provided to the printer driver.

【0034】なお、本実施形態では、テーブルをファイ
ルシステムを用いて格納しているが、テーブルとプログ
ラムとが分離されてさえいれば、その実現方法は限定さ
れない。また、プログラム部がROM等に書き込まれハー
ドウエア化されても発明の効果は変わらないため、プロ
グラムの形式には限定されない。
In the present embodiment, the tables are stored using the file system, but the method of realizing the tables is not limited as long as the tables and programs are separated. Further, the effect of the invention is not changed even if the program section is written in a ROM or the like and is made into hardware, so that the program format is not limited.

【0035】[0035]

【他の実施形態】なお、本発明は、複数の機器(例えば
ホストコンピュータ、インタフェイス機器、リーダ、プ
リンタなど)から構成されるシステムに適用しても、一
つの機器からなる装置(例えば、複写機、ファクシミリ
装置など)に適用してもよい。
[Other Embodiments] Even if the present invention is applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), an apparatus (for example, a copying machine) Machine, facsimile machine, etc.).

【0036】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウェアのプログラムコードを記
録した記憶媒体(または記録媒体)を、システムあるい
は装置に供給し、そのシステムあるいは装置のコンピュ
ータ(またはCPUやMPU)が記憶媒体に格納されたプログ
ラムコードを読み出し実行することによっても、達成さ
れることは言うまでもない。この場合、記憶媒体から読
み出されたプログラムコード自体が前述した実施形態の
機能を実現することになり、そのプログラムコードを記
憶した記憶媒体は本発明を構成することになる。また、
コンピュータが読み出したプログラムコードを実行する
ことにより、前述した実施形態の機能が実現されるだけ
でなく、そのプログラムコードの指示に基づき、コンピ
ュータ上で稼働しているオペレーティングシステム(OS)
などが実際の処理の一部または全部を行い、その処理に
よって前述した実施形態の機能が実現される場合も含ま
れることは言うまでもない。
Further, an object of the present invention is to provide a storage medium (or a recording medium) recording a program code of software for realizing the functions of the above-described embodiments to a system or an apparatus, and to provide a computer (a computer) of the system or the apparatus. It is needless to say that the present invention can also be achieved by a CPU or an MPU) reading and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium implements the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention. Also,
When the computer executes the readout program code, not only the functions of the above-described embodiments are realized, but also the operating system (OS) running on the computer based on the instructions of the program code.
It goes without saying that a case where the functions of the above-described embodiments are implemented by performing some or all of the actual processing, and the processing performs the functions of the above-described embodiments.

【0037】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張カー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書込まれた後、そのプログラムコードの指示
に基づき、その機能拡張カードや機能拡張ユニットに備
わるCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, the program code is read based on the instruction of the program code. Needless to say, the CPU included in the function expansion card or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0038】本発明を上記記憶媒体に適用する場合、そ
の記憶媒体には、先に説明した(図2に示す)フローチ
ャートに対応するプログラムコードが格納されることに
なる。
When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the above-described flowchart (shown in FIG. 2).

【0039】[0039]

【発明の効果】以上、説明したように、マージン情報を
テーブルファイルに格納し、マージン情報生成手段のプ
ログラム部とデータ部との分離を行い、そのプログラム
部の共通化を図ることで、用紙サイズの追加、変更が容
易となる。
As described above, the margin information is stored in the table file, the program section and the data section of the margin information generating means are separated from each other, and the program section is made common, whereby the paper size is reduced. Can be easily added and changed.

【0040】各プリンタに対しては、テーブルファイル
のみをその機種用に作成することで対応が可能となり、
開発効率の向上が図れる。
It is possible to deal with each printer by creating only a table file for the model.
Development efficiency can be improved.

【0041】また、インデックステーブルとデータテー
ブルの2種類のテーブルを利用することにより、複雑な
条件が与えられた場合でもマージン情報生成手段のプロ
グラム修正を必要とせず容易な検索、マージン情報の生
成が可能となる。
Further, by using two types of tables, an index table and a data table, even when complicated conditions are given, it is possible to easily search and generate margin information without requiring a program modification of the margin information generating means. It becomes possible.

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

【図1】システム構成を説明するブロック図である。FIG. 1 is a block diagram illustrating a system configuration.

【図2】マージン情報の提供処理の流れを示す図であ
る。
FIG. 2 is a diagram showing a flow of a process of providing margin information.

【図3】インデックステーブルの構成例を示す図であ
る。
FIG. 3 is a diagram illustrating a configuration example of an index table.

【図4】テーブルID別のデータテーブルの構成例を示
す図である。
FIG. 4 is a diagram showing a configuration example of a data table for each table ID.

【図5】マージン情報を説明する図である。FIG. 5 is a diagram illustrating margin information.

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

11 アプリケーションプログラム 12 プリンタドライバ 13 マージン情報提供部 13−1 マージン情報生成部 13−2 マージン情報テーブル 11 Application Program 12 Printer Driver 13 Margin Information Providing Unit 13-1 Margin Information Generating Unit 13-2 Margin Information Table

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G06F 3/12 G06F 3/12 M E ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) G06F 3/12 G06F 3/12 ME

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 印刷条件を識別するための識別情報と、
前記識別情報に基づく用紙サイズ別のパラメータとを格
納する格納手段と、 印刷情報に従い、前記格納されている識別情報とパラメ
ータとを検索し、該当するマージン情報を生成するため
のマージン情報生成手段と、 を備えることを特徴とする印刷制御装置。
1. An identification information for identifying a printing condition,
Storage means for storing parameters for each paper size based on the identification information, and margin information generating means for searching for the stored identification information and parameters according to print information and generating corresponding margin information; A print control device, comprising:
【請求項2】 前記格納手段は、印刷条件別に識別され
るID番号を格納したインデックステーブルと、前記I
D番号ごとに用紙サイズ別のマージン情報を格納したデ
ータテーブルと、を有することを特徴とする請求項1に
記載の印刷制御装置。
2. The image processing apparatus according to claim 1, wherein the storage unit stores an index table storing an ID number identified for each printing condition.
The print control apparatus according to claim 1, further comprising a data table storing margin information for each paper size for each D number.
【請求項3】 前記マージン情報生成手段は、前記印刷
情報においてユーザ定義の用紙が指定されている場合
は、縦方向及び横方向の印刷可能領域を算出することを
特徴とする請求項1に記載の印刷制御装置。
3. The apparatus according to claim 1, wherein the margin information generating unit calculates a printable area in a vertical direction and a horizontal direction when a user-defined sheet is specified in the print information. Print control device.
【請求項4】 印刷条件を識別するための識別情報と、
前記識別情報に基づく用紙サイズ別のパラメータとをメ
モリに格納する格納工程と、 印刷情報に従い、前記メモリに格納されている識別情報
とパラメータとを検索し、該当するマージン情報を生成
するためのマージン情報生成工程と、 を備えることを特徴とする印刷制御方法。
4. An identification information for identifying a printing condition,
A storage step of storing parameters for each paper size based on the identification information in a memory; and a margin for searching the identification information and the parameters stored in the memory in accordance with print information and generating corresponding margin information. An information generating step; and a print control method.
【請求項5】 前記格納工程は、印刷条件別に識別され
るID番号を格納するインデックステーブルと、前記I
D番号ごとに用紙サイズ別のマージン情報を格納するデ
ータテーブルと、をメモリに格納することを特徴とする
請求項4に記載の印刷制御方法。
5. The storage step includes: an index table for storing an ID number identified for each printing condition;
5. The print control method according to claim 4, wherein a data table storing margin information for each paper size for each D number is stored in a memory.
【請求項6】 前記マージン情報生成工程は、前記印刷
情報においてユーザ定義の用紙が指定されている場合
は、縦方向及び横方向の印刷可能領域を算出することを
特徴とする請求項4に記載の印刷制御方法。
6. The margin information generating step according to claim 4, wherein a printable area in a vertical direction and a horizontal direction is calculated when a user-defined sheet is specified in the print information. Print control method.
【請求項7】 印刷制御用のマージン情報を提供するた
めのプログラムを格納した記憶媒体であって、該プログ
ラムが、 印刷条件を識別するための識別情報と、前記識別情報に
基づく用紙サイズ別のパラメータとをメモリに格納する
格納工程のコードと、 印刷情報に従い、前記メモリに格納されている識別情報
とパラメータとを検索し、該当するマージン情報を生成
するためのマージン情報生成工程のコードと、 を備えることを特徴とする記憶媒体。
7. A storage medium storing a program for providing margin information for print control, the program comprising: identification information for identifying printing conditions; and a paper size for each paper size based on the identification information. A code of a storing step of storing the parameter in the memory, and a code of a margin information generating step for searching the identification information and the parameter stored in the memory according to the print information and generating corresponding margin information; A storage medium comprising:
JP11182417A 1999-06-28 1999-06-28 Method and apparatus for controlling printing and storage medium Pending JP2001010170A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP11182417A JP2001010170A (en) 1999-06-28 1999-06-28 Method and apparatus for controlling printing and storage medium
US09/597,403 US7268897B1 (en) 1999-06-28 2000-06-21 Print control apparatus and method
EP00305360A EP1067764A3 (en) 1999-06-28 2000-06-26 Print control apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11182417A JP2001010170A (en) 1999-06-28 1999-06-28 Method and apparatus for controlling printing and storage medium

Publications (2)

Publication Number Publication Date
JP2001010170A true JP2001010170A (en) 2001-01-16
JP2001010170A5 JP2001010170A5 (en) 2006-08-03

Family

ID=16117932

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11182417A Pending JP2001010170A (en) 1999-06-28 1999-06-28 Method and apparatus for controlling printing and storage medium

Country Status (1)

Country Link
JP (1) JP2001010170A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7484263B2 (en) 2020-03-18 2024-05-16 ブラザー工業株式会社 Image recording device, system and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7484263B2 (en) 2020-03-18 2024-05-16 ブラザー工業株式会社 Image recording device, system and program

Similar Documents

Publication Publication Date Title
US20090013243A1 (en) Method and apparatus for creating document
JP2001010170A (en) Method and apparatus for controlling printing and storage medium
JP2001092610A (en) Printer device, data processor, printer system, printing method and storage medium storing computer readable program
JP3246142B2 (en) Printing control device
JP3897539B2 (en) Print data generation method and apparatus
JP7314627B2 (en) CONTROL DEVICE, IMAGE FORMING APPARATUS, CONTROL METHOD AND CONTROL PROGRAM
JP5594028B2 (en) Print data generation apparatus and program
JP5825941B2 (en) Printing apparatus, printing method, and program
JP2006165863A (en) Information processing system
JP2002211071A (en) Image printer, apparatus and method for processing image, and storage medium
JP2004025576A (en) Image processor, image processing method, and storage medium and program readable by computer
JP2005092426A (en) Printer and printer job generation program
JP2595978B2 (en) Font management device
JP3483468B2 (en) Information processing method and apparatus, and storage medium
JP2005109681A (en) Printer and printing program
JPH06251014A (en) Document printing method
JP3161744B2 (en) Information processing device
JPH11185019A (en) Device and method for processing image
JP2000200270A (en) Method and device for document processing
JPH0216068A (en) Image forming device
JPH07144444A (en) Communication controller
JP4541735B2 (en) Information processing apparatus, information processing method, program, and storage medium
JP2006128821A (en) Printer and print method
JP2003266811A (en) Printer system
JPH09218741A (en) Information controller and its control method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060615

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060615

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060615

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080730

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080807

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090703

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090901

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091023

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091222

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100122