JPH11105370A - Print controller, print control method and memory medium - Google Patents

Print controller, print control method and memory medium

Info

Publication number
JPH11105370A
JPH11105370A JP9269896A JP26989697A JPH11105370A JP H11105370 A JPH11105370 A JP H11105370A JP 9269896 A JP9269896 A JP 9269896A JP 26989697 A JP26989697 A JP 26989697A JP H11105370 A JPH11105370 A JP H11105370A
Authority
JP
Japan
Prior art keywords
print
area
printable area
target data
printing
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
JP9269896A
Other languages
Japanese (ja)
Inventor
Megumi Yoshimura
めぐみ 吉村
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 JP9269896A priority Critical patent/JPH11105370A/en
Publication of JPH11105370A publication Critical patent/JPH11105370A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To print a data as it is without delivering any alarm when the data to be printed deviates only slightly from a printable area. SOLUTION: A temporary printable area is set slightly larger than the printable area of a printer 8 and compared with the area of a data to be printed stored in an RAM 3. An alarm is delivered if the latter is larger, and the data is printed without delivering any alarm if the former is larger.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、文字や図形、画像
などをメモリ上に展開してそのデータを印刷する際の印
刷制御方法及びその装置及び記憶媒体に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a print control method, a device, and a storage medium for printing characters, figures, images, and the like on a memory and printing the data.

【0002】[0002]

【従来の技術】従来、文字や図形、画像などのデータを
印刷する場合でそのデータがプリンタの印字可能領域か
らわずかでもはみ出す場合、その旨を示す警告を行な
い、そのまま印刷する(はみ出す部分は印刷されない)
か、印刷を取り消すかをユーザに選択させていた。とこ
ろが印刷結果を見ても本当にはみ出した部分があったの
かどうか分からないくらいわずかなはみ出しの量でも警
告が出されたため、この警告に対して処理を続けてよい
のか取り消した方が良いのか、ユーザがとまどうことが
多かった。
2. Description of the Related Art Conventionally, when printing data such as characters, figures, and images, if the data slightly protrudes from a printable area of a printer, a warning to that effect is issued, and printing is performed as it is (the protruding portion is printed). Not done)
The user has to select whether to cancel printing or not. However, a warning was issued even if the amount of protrusion was so small that it was impossible to tell whether there was any part that really protruded from the printed result, so the user was asked whether to continue processing or to cancel this warning. There were many things.

【0003】[0003]

【発明が解決しようとする課題】本発明は上記問題点を
解決するためになされたもので、印刷対象データがプリ
ンタの印字可能領域から、印字結果に影響がでない程度
にわずかにはみ出す場合には、その旨を示す警告を出さ
ずにそのまま印刷するように制御を行う印刷制御方法及
びその装置及び記憶媒体を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in order to solve the above-mentioned problem, and is intended for a case where data to be printed slightly protrudes from a printable area of a printer to such an extent that a print result is not affected. It is another object of the present invention to provide a print control method, apparatus, and storage medium for performing control so that printing is performed as it is without issuing a warning indicating that.

【0004】[0004]

【課題を解決するための手段】上記問題を解決するため
に、本発明に係る印刷制御方法は、印刷手段の印字可能
領域より僅かに大きい仮の印字可能領域を設定する設定
工程と、前記設定工程において設定された仮の印字可能
領域と、記憶手段に記憶された印刷対象データの領域と
を比較する比較工程と、前記比較工程における比較の結
果、前記印刷対象データの領域が前記仮の印字可能領域
よりも大きい場合に、その旨を警告する警告工程と、前
記比較工程における比較の結果、前記印刷対象データの
領域が前記仮の印字可能領域よりも小さい場合に、前記
印刷対象データを印刷する印刷工程とを設けた。
In order to solve the above problems, a print control method according to the present invention comprises a setting step of setting a temporary printable area slightly larger than a printable area of a printing means; A comparison step of comparing the provisional printable area set in the step with the area of the print target data stored in the storage unit; and, as a result of the comparison in the comparison step, the area of the print target data has the temporary print. If the area of the print target data is smaller than the temporary printable area as a result of the comparison in the warning step and the comparison step, the print target data is printed. Printing process.

【0005】また好ましくは、前記設定工程において、
前記印字可能領域の高さ及び幅の値に対する加算値に基
づいて、前記仮の印字可能領域を設定する。
Preferably, in the setting step,
The provisional printable area is set based on a value added to the height and width values of the printable area.

【0006】また好ましくは、前記設定工程において、
前記印字可能領域の高さ及び幅の値の増加率に基づい
て、前記仮の印字可能領域を設定する。
Preferably, in the setting step,
The provisional printable area is set based on the rate of increase in the height and width values of the printable area.

【0007】また好ましくは、前記印刷工程において、
前記印刷対象データの領域が前記印字可能領域よりも小
さい場合に、前記印刷対象データ全体を印刷し、前記印
刷対象データの領域が前記印字可能領域よりも大きく前
記仮の印字可能領域よりも小さい場合に、前記印刷対象
データの中で前記印字可能領域内にある部分を印刷す
る。
Preferably, in the printing step,
When the area of the print target data is smaller than the printable area, the entire print target data is printed, and when the area of the print target data is larger than the printable area and smaller than the temporary printable area. Then, a portion in the printable area in the print target data is printed.

【0008】また好ましくは、前記印刷対象データの領
域と前記印字可能領域との位置関係を設定する位置関係
設定工程を更に有する。
Preferably, the method further includes a positional relationship setting step of setting a positional relationship between the area of the print target data and the printable area.

【0009】また好ましくは、第1の印刷モードと第2
の印刷モードを有し、前記設定工程における設定処理、
前記比較工程における比較処理、前記警告工程における
警告処理、及び前記印刷工程における印刷処理は、前記
第1の印刷モードと前記第2の印刷モードとのどちらか
一方の印刷モードで実行される。
Preferably, the first print mode and the second print mode
Setting process in the setting step,
The comparison process in the comparison process, the warning process in the warning process, and the printing process in the printing process are executed in one of the first printing mode and the second printing mode.

【0010】また、上記問題を解決するために、本発明
に係る印刷制御装置は、印刷対象データを記憶する記憶
手段と、前記記憶手段に記憶された印刷対象データを印
刷する印刷手段と、前記印刷手段の印字可能領域より僅
かに大きい仮の印字可能領域を設定する設定手段と、前
記設定手段により設定された仮の印字可能領域と、前記
記憶手段に記憶された印刷対象データの領域とを比較す
る比較手段と、前記比較手段による比較の結果、前記印
刷対象データの領域が前記仮の印字可能領域よりも大き
い場合に、その旨を警告する警告手段と、前記比較工程
による比較の結果、前記印刷対象データの領域が前記仮
の印字可能領域よりも小さい場合に、前記印刷対象デー
タを印刷するように制御する印刷制御手段とを設けた。
According to another aspect of the present invention, there is provided a print control apparatus comprising: a storage unit for storing print target data; a print unit for printing the print target data stored in the storage unit; Setting means for setting a temporary printable area slightly larger than the printable area of the printing means; a temporary printable area set by the setting means; and an area of print target data stored in the storage means. A comparison unit to compare, as a result of the comparison by the comparison unit, when the area of the print target data is larger than the temporary printable area, a warning unit to warn the user, and a result of the comparison by the comparison step, When the area of the print target data is smaller than the provisional printable area, a print control unit that controls to print the print target data is provided.

【0011】また好ましくは、前記印字可能領域の高さ
及び幅の値に対する加算値を格納する格納手段を有し、
前記設定手段は、前記印字可能領域の高さ及び幅の値に
対する加算値に基づいて、前記仮の印字可能領域を設定
する。
Preferably, the apparatus further comprises storage means for storing an added value to the height and width values of the printable area,
The setting unit sets the temporary printable area based on an added value to the height and width values of the printable area.

【0012】また好ましくは、前記印字可能領域の高さ
及び幅の値の増加率を格納する格納手段を有し、前記設
定手段は、前記印字可能領域の高さ及び幅の値の増加率
に基づいて、前記仮の印字可能領域を設定する。
Preferably, the apparatus further comprises storage means for storing an increase rate of the height and width values of the printable area, and the setting means stores the increase rate of the height and width values of the printable area. The temporary printable area is set based on the temporary printable area.

【0013】また好ましくは、前記印刷制御手段は、前
記印刷対象データの領域が前記印字可能領域よりも小さ
い場合に、前記印刷対象データ全体を印刷し、前記印刷
対象データの領域が前記印字可能領域よりも大きく前記
仮の印字可能領域よりも小さい場合に、前記印刷対象デ
ータの中で前記印字可能領域内にある部分を印刷するよ
うに制御する。
Preferably, the print control means prints the entire print target data when the print target data area is smaller than the printable area, and sets the print target data area to the printable area. If it is larger than the temporary printable area and smaller than the temporary printable area, control is performed so that a portion of the print target data that is within the printable area is printed.

【0014】また好ましくは、前記印刷対象データの領
域と前記印字可能領域との位置関係を設定する位置関係
設定手段を更に有する。
[0014] Preferably, the apparatus further comprises a positional relationship setting means for setting a positional relationship between the print target data area and the printable area.

【0015】また好ましくは、第1の印刷モードと第2
の印刷モードを有し、前記設定手段による設定処理、前
記比較手段による比較処理、前記警告手段による警告処
理、及び前記印刷手段による印刷処理は、前記第1の印
刷モードと前記第2の印刷モードとのどちらか一方の印
刷モードで実行される。
Preferably, the first print mode and the second print mode
Wherein the setting process by the setting unit, the comparing process by the comparing unit, the warning process by the warning unit, and the printing process by the printing unit include the first print mode and the second print mode. Is executed in one of the print modes.

【0016】上記問題を解決するために、本発明に係る
記憶媒体は、印刷手段の印字可能領域より僅かに大きい
仮の印字可能領域を設定するための設定モジュールと、
前記設定された仮の印字可能領域と、記憶手段に記憶さ
れた印刷対象データの領域とを比較するための比較モジ
ュールと、前記比較の結果、前記印刷対象データの領域
が前記仮の印字可能領域よりも大きい場合に、その旨を
警告するための警告モジュールと、前記比較の結果、前
記印刷対象データの領域が前記仮の印字可能領域よりも
小さい場合に、前記印刷対象データを印刷するための印
刷モジュールとからなるコンピュータプログラムを格納
した、コンピュータより読み取り可能なものである。
In order to solve the above problem, a storage medium according to the present invention comprises a setting module for setting a temporary printable area slightly larger than a printable area of a printing unit;
A comparison module for comparing the set temporary printable area with an area of the print target data stored in the storage unit; and, as a result of the comparison, the print target data area is the temporary printable area. A warning module to warn of the fact when it is larger than the above, and as a result of the comparison, when the area of the print target data is smaller than the temporary printable area, the warning module for printing the print target data It is a computer-readable one that stores a computer program including a print module.

【0017】[0017]

【発明の実施の形態】以下、図面を参照しながら、本発
明の実施形態を説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0018】図1は、本発明の一実施形態に係るデータ
処理装置の概略構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a data processing device according to one embodiment of the present invention.

【0019】本実施例に係るデータ処理装置は、CPU
(中央処理装置)1、ROM(リードオンリメモリ)
2、RAM(ランダムアクセスメモリ)3、キーボード
4、マウス5、表示器6、外部記憶装置7、およびプリ
ンタ8により構成され、これら各構成要素はバスライン
9により互いに接続されている。なお、システム構成に
よっては、後述するシステムプログラムやアプリケーシ
ョンプログラムなどは、ROM2のかわりにハードディ
スクなどのような外部記憶装置に格納されていてもよ
い。
The data processing device according to this embodiment has a CPU
(Central Processing Unit) 1, ROM (Read Only Memory)
2, a RAM (random access memory) 3, a keyboard 4, a mouse 5, a display 6, an external storage device 7, and a printer 8. These components are connected to each other by a bus line 9. Note that, depending on the system configuration, system programs and application programs described later may be stored in an external storage device such as a hard disk instead of the ROM 2.

【0020】CPU1は、例えばマイクロプロセッサ形
態であり、本装置各部の動作を制御する。ROM2は、
システムプログラム2a、並びに本発明に係る印刷制御
処理プログラムを含む、各種処理を行うためのアプリケ
ーションプログラム2bを格納する。
The CPU 1 is, for example, in the form of a microprocessor, and controls the operation of each section of the apparatus. ROM2 is
The application program 2b for performing various processes, including the system program 2a and the print control processing program according to the present invention, is stored.

【0021】RAM3は、文字や図形、画像などから構
成される印刷対象データを格納する、印刷対象データ領
域3a、印刷を行なう用紙に対してプリンタ8が印字可
能な範囲(余白部分を除く領域)の情報を格納する、プ
リンタ印字可能範囲領域3b、印刷対象データがその印
字可能な範囲からはみ出した場合でも、そのまま印刷し
て構わないとする範囲の情報を格納する、印字可能と仮
にみなす印刷範囲領域3c、また、その他、データを管
理したり、ワーク用に使用するための、その他の管理・
ワーク領域3fからなる。
The RAM 3 stores print target data composed of characters, figures, images, and the like. A print target data area 3a, a printable area on the paper to be printed by the printer 8 (an area excluding a blank portion). Printable range area 3b, which stores information on a range in which print data can be printed as it is even if it goes outside the printable range, and a print range temporarily assumed to be printable Area 3c, and other management / management for data management and use for work.
It consists of a work area 3f.

【0022】印刷対象データ領域3aに格納されるデー
タは、例えばそれが画像データであれば、2次元のビッ
トマップで表されている。ビットマップデータは、ドッ
ト数と解像度とからそのデータの幅・高さを求めること
ができる。本実施形態では、印刷しようとしている対象
データを、画像データとして説明するが、それは画像デ
ータ以外の文字データや図形データであったり、それら
が混在したデータであっても構わない。その場合、その
データの幅や高さは、それぞれのデータに応じた方式で
求めることができるものとする。
The data stored in the print target data area 3a is represented by a two-dimensional bit map if the data is, for example, image data. For bitmap data, the width and height of the data can be obtained from the number of dots and the resolution. In the present embodiment, the target data to be printed is described as image data. However, the target data may be character data or graphic data other than image data, or may be data in which both are mixed. In that case, it is assumed that the width and height of the data can be obtained by a method corresponding to each data.

【0023】プリンタ印字可能範囲領域3bには、あら
かじめ印刷可能な幅・高さの値が格納されている。もち
ろん、あらかじめ値を格納しておかなくても、アプリケ
ーションの起動時や印刷機能が選択された場合などに、
RAM3の他の領域や外部記憶装置7などに格納されて
いる、対応するデータを呼び出したり参照したりしもよ
い。プリンタ8の種類や用紙の種類によってその領域が
異なる場合、それらを網羅したテーブルの形をとってい
てもよい。
In the printer printable area 3b, printable width and height values are stored in advance. Of course, even if you do not store the value in advance, when starting the application or when the print function is selected,
The corresponding data stored in another area of the RAM 3 or the external storage device 7 may be called or referred to. When the area differs depending on the type of the printer 8 and the type of paper, a table covering the area may be used.

【0024】印加可能と仮にみなす印刷範囲領域3cの
値は、例えば上記プリンタ印字可能範囲領域3bの値に
対して一定の値を加えたものであったり、一定のパーセ
ンテージの量を加えたものである。プリンタ印字可能範
囲領域3bの値が、プリンタの種類や用紙の種類毎にテ
ーブルとして定義されている場合は、同様にそれぞれの
値に対して、印字可能と仮にみなす印刷範囲3cの値を
テーブルと定義してもよいが、その他の方法として、印
字可能と仮にみなす印刷範囲3cには、プリンタ印字可
能範囲3bの値に対する一定の加算値や一定のパーセン
テージを格納しておき、実際の処理の流れでこの値が必
要になった時にその都度計算してもよい。
The value of the print range area 3c temporarily assumed to be applicable is, for example, a value obtained by adding a fixed value to the value of the printer printable range area 3b, or a value obtained by adding a fixed percentage. is there. If the values of the printer printable range area 3b are defined as a table for each type of printer or paper type, the values of the print range 3c that is temporarily assumed to be printable for each value are stored in the table. As another method, a fixed addition value or a fixed percentage with respect to the value of the printer printable range 3b is stored in the print range 3c temporarily assumed to be printable, and the actual process flow is performed. The value may be calculated each time the value is needed.

【0025】キーボード4は、ユーザが文字・数字・記
号等のデータの入力、及びCPU1に対する各種指示を
行なうためのものである。マウス5は、表示器6上に表
示されている各種情報を指示することにより、CPU1
に対して各種指示を行なう。マウスの代わりにトラック
ボール、ペン、またはタッチパネル等の方式を用いても
良い。表示器6は、LCD等により構成され、CPU1
の制御により各種データの表示を行なう。外部記憶装置
7は、例えばフロッピーディスクやハードディスク等の
メディアからなり、該外部記憶装置7からCPU1の制
御により読み出された各種データは、バスライン8を介
してRAM3上に展開される。
The keyboard 4 is for the user to input data such as characters, numbers, and symbols, and to give various instructions to the CPU 1. The mouse 5 is used to indicate various types of information displayed on the display unit 6 so that the CPU 1
To give various instructions. A method such as a trackball, a pen, or a touch panel may be used instead of the mouse. The display 6 is composed of an LCD or the like, and has a CPU 1
Various data are displayed under the control of. The external storage device 7 is composed of a medium such as a floppy disk or a hard disk, and various data read from the external storage device 7 under the control of the CPU 1 are developed on the RAM 3 via the bus line 8.

【0026】以上の構成に基づき、本発明の実施形態の
動作を、図3のフローチャートと図2の印刷対象データ
及び印字可能領域の例を利用して説明する。
Based on the above configuration, the operation of the embodiment of the present invention will be described with reference to the flowchart of FIG. 3 and examples of print target data and printable area of FIG.

【0027】図2は、本実施形態における、印刷対象デ
ータ及び印字可能領域を示す概略図である。
FIG. 2 is a schematic diagram showing print target data and a printable area in the present embodiment.

【0028】同図の左に示すような100.mm×14
8.0mmの用紙に対して、印刷を行なうプリンタの印
字可能領域が90.0mm×128.0mmの場合、同
図の右に示す印刷対象データ1のように印字可能領域に
印刷対象データが完全に入ってしまう場合は、問題なく
希望通りの印刷が可能であるので、そのまま印刷処理を
実行する。また、印刷対象データ3のようにデータの幅
が印字可能領域の幅を大きく越えている場合は、そのま
ま印刷すると印刷できない部分の範囲が広いために、希
望する印刷結果を得られない。このため、このように印
字可能領域を大きく越える場合は、例えば「画像が印字
可能領域を越えているため、印刷できない部分がありま
す。このまま印刷してもいいですか。」というような警
告アラートを表示し、ユーザに印刷を実行するか否かを
選択させる。それに対して、印刷対象データ2は、幅が
印字可能領域の幅よりも0.4mm越えているが、この
程度のはみ出し方は、実際にこのまま印刷したとして
も、はみ出して印刷できなかった部分があることが、肉
眼ではほとんど分からない程度のものである。このよう
な場合には、本来は上記警告アラートを表示するところ
を、本実施形態では表示せずにただちに印刷処理を実行
する。
As shown on the left side of FIG. mm × 14
If the printable area of the printer that performs printing on 8.0 mm paper is 90.0 mm x 128.0 mm, the printable data is completely contained in the printable area as shown in the printable data 1 shown on the right side of FIG. If it does, printing can be performed as desired without any problem, and the printing process is executed as it is. If the width of the data greatly exceeds the width of the printable area, such as the print target data 3, a desired print result cannot be obtained because the range of the portion that cannot be printed if printed as it is is wide. For this reason, if the area greatly exceeds the printable area, a warning alert such as "There is a part that cannot be printed because the image is beyond the printable area. Can I print as it is?" Is displayed and the user is allowed to select whether to execute printing. On the other hand, although the width of the print target data 2 exceeds the width of the printable area by 0.4 mm, even if the printing is performed as it is, even if the printing is actually performed as it is, the portion that cannot be printed. Something is barely visible to the naked eye. In such a case, the printing process is immediately executed without displaying the warning alert in the present embodiment.

【0029】以下、図3のフローチャートを用いて、図
2の説明で触れた印刷制御処理の詳細な流れについて説
明する。ただし、アプリケーションを起動し、各種初期
処理を行なうフローチャートや、データを呼び出したり
する処理のフローチャートなどは、図3のフローチャー
トでは省略する。
Hereinafter, the detailed flow of the print control process mentioned in the description of FIG. 2 will be described with reference to the flowchart of FIG. However, a flowchart for starting the application and performing various initial processes, a flowchart for processing for calling data, and the like are omitted in the flowchart of FIG.

【0030】まず、アプリケーションが起動されると、
ROM2から本実施形態に係る処理を含むアプリケーシ
ョンプログラム2bが読み出される。本実施形態の処理
で必要となる各種情報や領域などは、RAM3上に確保
されるが、それぞれが必要となった時点でRAM3上に
確保するようにすれば、無駄な領域を使わないため、R
AM3の領域を使用する他の処理を行なう際などには効
果的である。もちろん、その他の管理・ワーク領域3f
も、アプリケーション起動前にあらかじめ確保しておい
ても、必要となった時に確保しても良い。
First, when the application is started,
The application program 2b including the processing according to the present embodiment is read from the ROM 2. Various information and areas required in the processing of the present embodiment are secured on the RAM 3. However, if they are secured on the RAM 3 when they are needed, unnecessary areas are not used. R
This is effective when performing other processing using the area of AM3. Of course, other management / work area 3f
May be secured in advance before the application is started, or may be secured when needed.

【0031】印刷したいデータを呼び出したり、編集を
行なったりする処理は、ユーザからの指示に基づいてア
プリケーションプログラム2bやシステムプログラム2
aが制御することによって行なう。ユーザから印刷の指
示を受け取ると、アプリケーションプログラム2bは、
図3のフローチャートに示す処理に進む。まず、ステッ
プS1で、その他の管理・ワーク領域3f内の変数m
に、警告を行なわずに印刷する最大値(幅)を、印字可
能と仮にみなす印刷範囲領域3cから取得してセットす
る。ただし、ここで変数にセットせずに、次に示すステ
ップS2における比較処理で、印字可能と仮にみなす印
刷範囲領域3cから、直接その値を読み出してもよい。
また、前述したように、印字可能と仮にみなす印刷範囲
領域3cに実際の幅や高さでなく、印字可能範囲に加え
る一定の幅・高さの値やパーセンテージが格納されてい
る場合は、その値とプリンタ印字可能範囲領域3bの値
を使用して警告を行なわずに印刷する最大値を計算し、
mにセットしてもよい。例えば印字可能と仮にみなす印
刷範囲を、印字可能領域+1.0mmとして、印字可能
と仮にみなす印刷範囲領域3cに格納しておけば、警告
を行なわずに印刷する最大値は(印字可能領域+1.
0)mmとなり、印字可能と仮にみなす印刷範囲を、印
字可能領域よりも1%広い範囲として、印刷可能と仮に
みなす印刷範囲領域3cに格納しておけば、警告を行な
わずに印刷する最大値は(印字可能領域×1.01)m
mとなる。
The process of calling or editing data to be printed is performed by the application program 2b or the system program 2b based on an instruction from the user.
The control is performed by a. Upon receiving a print instruction from the user, the application program 2b
The process proceeds to the process shown in the flowchart of FIG. First, in step S1, a variable m in the other management / work area 3f is set.
Then, the maximum value (width) to be printed without warning is acquired from the print range area 3c temporarily assumed to be printable and set. However, instead of setting the variable here, the value may be directly read from the print range area 3c temporarily assumed to be printable in the comparison processing in step S2 described below.
In addition, as described above, when the print range area 3c temporarily assumed to be printable stores not the actual width and height but a fixed width / height value or percentage to be added to the printable range, such a value is stored. Using the value and the value of the printer printable area 3b, calculate the maximum value to be printed without warning,
m. For example, if the print range temporarily assumed to be printable is stored as the printable area +1.0 mm in the print range area 3c temporarily assumed to be printable, the maximum value to be printed without warning is (printable area + 1.
0) mm, and if the print range temporarily assumed to be printable is set as a range 1% wider than the printable area and stored in the print range area 3c temporarily assumed to be printable, the maximum value to be printed without warning Is (printable area x 1.01) m
m.

【0032】次に、ステップS2では、ステップS1で
mにセットした値と印刷対象データの幅を比較する。印
刷対象データの幅は、前述したように、例えばそのデー
タが画像であればそのドット数と解像度から求めること
ができる。画像データ以外のデータであっても、それぞ
れのデータに応じた方法で幅を求めることができる。こ
こでデータ幅がmよりも大きければ、印刷対象データの
幅が印字可能領域の幅よりもかなり大きいということを
意味するので、ステップS3でその旨を示す警告を行な
う。例えば、図2の説明において述べたように、アラー
トを表示して、ステップS4でユーザの指示を待つ。ス
テップS4で、ユーザから印刷する旨の指示を受ける
と、ステップS7の印刷処理に移り、印刷しない旨の指
示を受けると、そのまま処理を終了する。
Next, in step S2, the value set for m in step S1 is compared with the width of the print target data. As described above, for example, if the data is an image, the width of the print target data can be obtained from the number of dots and the resolution. Even for data other than image data, the width can be obtained by a method corresponding to each data. Here, if the data width is larger than m, it means that the width of the print target data is considerably larger than the width of the printable area, and a warning to that effect is issued in step S3. For example, as described in the description of FIG. 2, an alert is displayed, and the process waits for a user instruction in step S4. In step S4, when an instruction to print is received from the user, the process proceeds to the printing process in step S7, and when an instruction to not print is received, the process ends.

【0033】また、ステップS2でデータ幅がm以下で
あれば、印刷対処データの幅が印字可能領域の幅以下で
あるか、または、印字可能領域の幅を越えていても、そ
のまま印刷してもほとんど影響が分からない程度である
ので、ステップS5以降の印刷を行なうための処理を続
けることになる。
If the data width is equal to or less than m in step S2, even if the width of the print handling data is equal to or less than the width of the printable area or exceeds the width of the printable area, printing is performed as it is. Since the influence is hardly recognized, the process for performing printing after step S5 is continued.

【0034】次に、ステップS5、ステップS6では、
ステップS1、ステップS2と同様の処理をデータの高
さに対しても行なう。同じように、印刷対象データの高
さが印字可能領域の高さ以下であるか、または印字可能
領域の高さを越えていても、そのまま印刷してもほとん
ど影響が分からない程度であるので、ステップS7では
実際の印刷の処理に移り、その他の印刷に必要な処理を
行なったり実際の印刷を行なったりする処理を行なう。
Next, in steps S5 and S6,
The same processing as in steps S1 and S2 is performed on the data height. Similarly, even if the height of the print target data is equal to or less than the height of the printable area, or exceeds the height of the printable area, it is almost insignificant if printed as it is, In step S7, the process proceeds to the actual printing process, and other processes necessary for printing or actual printing are performed.

【0035】なお、実際の印刷処理では、印刷対象デー
タが印字可能領域に完全に含まれている場合はそのまま
印刷対象データ全体を印刷するが、印字可能領域から印
刷対象データが多少なりともはみ出す場合は、はみ出す
部分は印刷せず、印字可能領域に含まれる部分だけを印
刷することになる。もちろん、印刷対象データを印字可
能領域に合わせて縮小することもできる。ただし、そう
した場合には、わずかではあるが、印刷対象データに間
引かれる部分があるなど、劣化することがありうる。
In the actual printing process, when the print target data is completely included in the printable area, the entire print target data is printed as it is, but when the print target data slightly protrudes from the printable area. Means that the protruding part is not printed, and only the part included in the printable area is printed. Of course, the print target data can be reduced in accordance with the printable area. However, in such a case, although slight, the data to be printed may be degraded, for example, by thinning out parts.

【0036】また、印刷対象データを配置する基準点
(例えば、横方向の幅が印字可能領域を越える場合、印
字可能領域の左右の中心に印刷対象データを配置する、
つまり、はみ出す領域を左右に分配するか、または、印
字可能領域の左端に印刷対象データの左端を合わせて印
刷する、つまり、はみ出す領域を印刷対象データの右側
に限る、など)は、あらかじめ固定しておいてもよい
が、印刷対象データを用紙のどの位置に配置するかによ
って変えられるようにしてもよい。
Further, a reference point for arranging the print target data (for example, when the width in the horizontal direction exceeds the printable area, the print target data is arranged at the left and right centers of the printable area.
That is, the protruding area is distributed to the left and right, or printing is performed with the left end of the print target data aligned with the left end of the printable area, that is, the protruding area is limited to the right side of the print target data. Alternatively, the print data may be changed depending on the position of the print target data on the paper.

【0037】このようにして、印刷結果に影響がほとん
どない程度の印字可能領域からのはみ出しの場合は、警
告を表示してユーザによる次の処理を待つといった流れ
を省略し、効率的な操作性を得ることができる。具体的
には、図2に示すように、印字可能領域が90.0mm
×128.0mmの用紙に対して、デジタルカメラから
取り込んだ画像データ(標準モード90dpiで320
×240ドット、ファインモード180dpiで640
×480ドット;90.4mm×67.8mm)を印刷
する場合に非常に有効である。
In this manner, when the print data is out of the printable area where the print result is hardly affected, the flow of displaying a warning and waiting for the next process by the user is omitted, and efficient operability is achieved. Can be obtained. Specifically, as shown in FIG. 2, the printable area is 90.0 mm
× 128.0 mm paper, image data taken from a digital camera (320 dpi in standard mode 90 dpi)
× 240 dots, 640 at 180 dpi in fine mode
X480 dots; 90.4 mm x 67.8 mm).

【0038】本実施形態で説明した印刷制御処理は、こ
の処理が含まれるアプリケーションで印刷処理が選択さ
れた場合に常に行なうようにしてもよいが、そのアプリ
ケーションの中の特定の印刷機能(印刷モード)が選択
された場合のみにこの処理を行ない、その他の印刷機能
が選択された場合には、従来通りわずかでも印刷対象デ
ータの幅や高さが印字可能領域のそれを越えたら警告を
行なうようにしてもよい。例えば、アプリケーションが
年賀状などのハガキ印刷に特化したアプリケーションで
ある場合、印刷機能の中に「ハガキ印刷」と「その他の
印刷」の機能があるので、「ハガキ印刷」が選択された
場合にだけ本実施形態で説明した印刷制御処理を行なう
ようにすれば、より少ない手順で印刷を実行することが
できる。またハガキ以外の用紙に印刷したい場合には、
「その他の印刷」を選択することにより、わずかのはみ
出しも見逃さない正確な印刷結果を得ることができる。
The print control process described in the present embodiment may be always performed when a print process is selected in an application including this process. However, a specific print function (print mode ) Is performed only when) is selected, and when other printing functions are selected, a warning is issued if the width or height of the print target data slightly exceeds the printable area as before. It may be. For example, if the application is an application that specializes in postcard printing such as New Year's cards, the printing functions include "postcard printing" and "other printing", so only when "postcard printing" is selected If the print control processing described in the present embodiment is performed, printing can be performed with fewer procedures. If you want to print on paper other than postcards,
By selecting "other printing", it is possible to obtain an accurate printing result without overlooking even a slight protrusion.

【0039】[0039]

【発明の効果】以上説明したように、本発明によれば、
印刷しようとしているデータが印刷可能領域を印刷結果
に影響がでない程度にわずかにはみ出している場合、警
告を行なわずにそのまま印刷を行なうことができるの
で、ユーザにとっては、操作が簡略化されると共に、印
刷結果を見て本当に画像がはみ出していたのかと困惑す
る必要がなくなるという効果を得ることができる。
As described above, according to the present invention,
If the data to be printed is slightly outside the printable area so as not to affect the printing result, the printing can be performed without warning and the operation is simplified for the user. In addition, it is possible to obtain an effect that the user does not need to be confused as to whether the image actually protrudes from the printed result.

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

【図1】本発明の一実施形態に係るデータ処理装置の概
略構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a schematic configuration of a data processing device according to an embodiment of the present invention.

【図2】本実施形態で扱う印刷対象データ及び印字可能
領域の例を示す図である。
FIG. 2 is a diagram illustrating an example of print target data and a printable area handled in the present embodiment.

【図3】本実施形態における処理の動作を説明するため
のフローチャートである。
FIG. 3 is a flowchart illustrating an operation of a process according to the embodiment.

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

1 CPU 2 ROM 3 RAM 4 キーボード 5 マウス 6 表示器 7 外部記憶装置 8 プリンタ 9 バスライン DESCRIPTION OF SYMBOLS 1 CPU 2 ROM 3 RAM 4 Keyboard 5 Mouse 6 Display 7 External storage device 8 Printer 9 Bus line

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】 印刷手段の印字可能領域より僅かに大き
い仮の印字可能領域を設定する設定工程と、 前記設定工程において設定された仮の印字可能領域と、
記憶手段に記憶された印刷対象データの領域とを比較す
る比較工程と、 前記比較工程における比較の結果、前記印刷対象データ
の領域が前記仮の印字可能領域よりも大きい場合に、そ
の旨を警告する警告工程と、 前記比較工程における比較の結果、前記印刷対象データ
の領域が前記仮の印字可能領域よりも小さい場合に、前
記印刷対象データを印刷する印刷工程とを具備したこと
を特徴とする印刷制御方法。
A setting step of setting a temporary printable area slightly larger than a printable area of a printing unit; a temporary printable area set in the setting step;
A comparison step of comparing the area of the print target data stored in the storage means; and, if the result of the comparison in the comparison step is that the area of the print target data is larger than the temporary printable area, a warning is given. And a printing step of printing the print target data when the area of the print target data is smaller than the provisional printable area as a result of the comparison in the comparison step. Print control method.
【請求項2】 前記設定工程において、前記印字可能領
域の高さ及び幅の値に対する加算値に基づいて、前記仮
の印字可能領域を設定することを特徴とする請求項1記
載の印刷制御方法。
2. The print control method according to claim 1, wherein in the setting step, the temporary printable area is set based on an added value to a height and a width of the printable area. .
【請求項3】 前記設定工程において、前記印字可能領
域の高さ及び幅の値の増加率に基づいて、前記仮の印字
可能領域を設定することを特徴とする請求項1記載の印
刷制御方法。
3. The print control method according to claim 1, wherein, in the setting step, the temporary printable area is set based on an increase rate of a height and a width of the printable area. .
【請求項4】 前記印刷工程において、前記印刷対象デ
ータの領域が前記印字可能領域よりも小さい場合に、前
記印刷対象データ全体を印刷し、前記印刷対象データの
領域が前記印字可能領域よりも大きく前記仮の印字可能
領域よりも小さい場合に、前記印刷対象データの中で前
記印字可能領域内にある部分を印刷することを特徴とす
る請求項1記載の印刷制御方法。
4. In the printing step, when the area of the print target data is smaller than the printable area, the entire print target data is printed, and the area of the print target data is larger than the printable area. 2. The print control method according to claim 1, further comprising: printing a portion of the print target data within the printable area when the area is smaller than the temporary printable area.
【請求項5】 前記印刷対象データの領域と前記印字可
能領域との位置関係を設定する位置関係設定工程を更に
有することを特徴とする請求項4記載の印刷制御方法。
5. The print control method according to claim 4, further comprising a positional relationship setting step of setting a positional relationship between an area of the print target data and the printable area.
【請求項6】 第1の印刷モードと第2の印刷モードを
有し、前記設定工程における設定処理、前記比較工程に
おける比較処理、前記警告工程における警告処理、及び
前記印刷工程における印刷処理は、前記第1の印刷モー
ドと前記第2の印刷モードとのどちらか一方の印刷モー
ドで実行されることを特徴とする請求項1記載の印刷制
御方法。
6. A printing apparatus having a first printing mode and a second printing mode, wherein: a setting process in the setting process, a comparing process in the comparing process, a warning process in the warning process, and a printing process in the printing process, The print control method according to claim 1, wherein the print control method is executed in one of the first print mode and the second print mode.
【請求項7】 前記印刷対象データは、デジタルカメラ
から取り込んだ画像データであることを特徴とする請求
項1記載の印刷制御方法。
7. The print control method according to claim 1, wherein the print target data is image data captured from a digital camera.
【請求項8】 印刷対象データを記憶する記憶手段と、 前記記憶手段に記憶された印刷対象データを印刷する印
刷手段と、 前記印刷手段の印字可能領域より僅かに大きい仮の印字
可能領域を設定する設定手段と、 前記設定手段により設定された仮の印字可能領域と、前
記記憶手段に記憶された印刷対象データの領域とを比較
する比較手段と、 前記比較手段による比較の結果、前記印刷対象データの
領域が前記仮の印字可能領域よりも大きい場合に、その
旨を警告する警告手段と、 前記比較工程による比較の結果、前記印刷対象データの
領域が前記仮の印字可能領域よりも小さい場合に、前記
印刷対象データを印刷するように制御する印刷制御手段
とを具備したことを特徴とする印刷制御装置。
8. A storage unit for storing print target data, a print unit for printing the print target data stored in the storage unit, and a temporary printable area slightly larger than a printable area of the print unit. A comparing unit that compares the provisional printable area set by the setting unit with the area of the print target data stored in the storage unit; A warning unit that warns when the data area is larger than the temporary printable area; and as a result of the comparison in the comparison step, when the print target data area is smaller than the temporary printable area. And a print control unit for controlling the print target data to be printed.
【請求項9】 前記印字可能領域の高さ及び幅の値に対
する加算値を格納する格納手段を有し、 前記設定手段は、前記印字可能領域の高さ及び幅の値に
対する加算値に基づいて、前記仮の印字可能領域を設定
することを特徴とする請求項8記載の印刷制御装置。
9. A storage unit for storing an added value to a value of a height and a width of the printable area, wherein the setting unit is configured to store, based on the added value to a value of a height and a width of the printable area. 9. The print control apparatus according to claim 8, wherein the temporary printable area is set.
【請求項10】 前記印字可能領域の高さ及び幅の値の
増加率を格納する格納手段を有し、 前記設定手段は、前記印字可能領域の高さ及び幅の値の
増加率に基づいて、前記仮の印字可能領域を設定するこ
とを特徴とする請求項7記載の印刷制御装置。
10. A storage unit for storing an increase rate of a value of a height and a width of the printable area, wherein the setting unit is configured to store an increase rate of a value of a height and a width of the printable area based on the increase rate. 8. The print control apparatus according to claim 7, wherein the temporary printable area is set.
【請求項11】 前記印刷制御手段は、前記印刷対象デ
ータの領域が前記印字可能領域よりも小さい場合に、前
記印刷対象データ全体を印刷し、前記印刷対象データの
領域が前記印字可能領域よりも大きく前記仮の印字可能
領域よりも小さい場合に、前記印刷対象データの中で前
記印字可能領域内にある部分を印刷するように制御する
ことを特徴とする請求項8記載の印刷制御装置。
11. The print control unit prints the entire print target data when the print target data area is smaller than the printable area, and sets the print target data area to be smaller than the printable area. 9. The printing control apparatus according to claim 8, wherein when the size is smaller than the temporary printable area, control is performed so as to print a portion of the print target data within the printable area.
【請求項12】 前記印刷対象データの領域と前記印字
可能領域との位置関係を設定する位置関係設定手段を更
に有することを特徴とする請求項11記載の印刷制御装
置。
12. The print control apparatus according to claim 11, further comprising a positional relationship setting unit that sets a positional relationship between the print target data area and the printable area.
【請求項13】 第1の印刷モードと第2の印刷モード
を有し、前記設定手段による設定処理、前記比較手段に
よる比較処理、前記警告手段による警告処理、及び前記
印刷手段による印刷処理は、前記第1の印刷モードと前
記第2の印刷モードとのどちらか一方の印刷モードで実
行されることを特徴とする請求項8記載の印刷制御装
置。
13. A printing apparatus having a first print mode and a second print mode, wherein a setting process by the setting unit, a comparing process by the comparing unit, a warning process by the warning unit, and a printing process by the printing unit, 9. The print control apparatus according to claim 8, wherein the print control is executed in one of the first print mode and the second print mode.
【請求項14】 前記印刷対象データは、デジタルカメ
ラから取り込んだ画像データであることを特徴とする請
求項8記載の印刷制御装置。
14. The print control apparatus according to claim 8, wherein the print target data is image data taken from a digital camera.
【請求項15】 印刷手段の印字可能領域より僅かに大
きい仮の印字可能領域を設定するための設定モジュール
と、 前記設定された仮の印字可能領域と、記憶手段に記憶さ
れた印刷対象データの領域とを比較するための比較モジ
ュールと、 前記比較の結果、前記印刷対象データの領域が前記仮の
印字可能領域よりも大きい場合に、その旨を警告するた
めの警告モジュールと、 前記比較の結果、前記印刷対象データの領域が前記仮の
印字可能領域よりも小さい場合に、前記印刷対象データ
を印刷するための印刷モジュールとからなるコンピュー
タプログラムを格納した、コンピュータより読み取り可
能な記憶媒体。
15. A setting module for setting a temporary printable area that is slightly larger than a printable area of a printing unit, the set temporary printable area, and a print target data stored in a storage unit. A comparison module for comparing the area with the area; a warning module for warning when the area of the print target data is larger than the temporary printable area as a result of the comparison; and a result of the comparison. And a computer-readable storage medium storing a computer program including a print module for printing the print target data when an area of the print target data is smaller than the provisional printable area.
JP9269896A 1997-10-02 1997-10-02 Print controller, print control method and memory medium Pending JPH11105370A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9269896A JPH11105370A (en) 1997-10-02 1997-10-02 Print controller, print control method and memory medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9269896A JPH11105370A (en) 1997-10-02 1997-10-02 Print controller, print control method and memory medium

Publications (1)

Publication Number Publication Date
JPH11105370A true JPH11105370A (en) 1999-04-20

Family

ID=17478737

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9269896A Pending JPH11105370A (en) 1997-10-02 1997-10-02 Print controller, print control method and memory medium

Country Status (1)

Country Link
JP (1) JPH11105370A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2608516A2 (en) 2011-12-20 2013-06-26 Canon Kabushiki Kaisha Image processing apparatus, method for controlling image processing apparatus, and storage medium
JP2020013218A (en) * 2018-07-13 2020-01-23 株式会社リコー Information processing apparatus, protrusion determination method, and program
JP2020075423A (en) * 2018-11-08 2020-05-21 京セラドキュメントソリューションズ株式会社 Image formation device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2608516A2 (en) 2011-12-20 2013-06-26 Canon Kabushiki Kaisha Image processing apparatus, method for controlling image processing apparatus, and storage medium
US8934111B2 (en) 2011-12-20 2015-01-13 Canon Kabushiki Kaisha Image processing apparatus, method for controlling image processing apparatus, and storage medium
JP2020013218A (en) * 2018-07-13 2020-01-23 株式会社リコー Information processing apparatus, protrusion determination method, and program
JP2020075423A (en) * 2018-11-08 2020-05-21 京セラドキュメントソリューションズ株式会社 Image formation device

Similar Documents

Publication Publication Date Title
JP2796628B2 (en) Printing device
JPH11105370A (en) Print controller, print control method and memory medium
JPH07177348A (en) Printer device
JP2964469B2 (en) Printing device
JP4612231B2 (en) Printing system
JP2003150339A (en) Printer driver and driving method thereof
JPS59165187A (en) Optical character reader
JPH07314843A (en) Printing system, and print control method thereof
JP3118310B2 (en) Print processing method of page printer
JP2897987B2 (en) Printing control device
JP2003308187A (en) Print system
JP2687478B2 (en) Printing device
JP2839139B2 (en) Document processing method
JP2553809B2 (en) Document processing device
JPH0793076A (en) Printer device
JP3119094B2 (en) Character output device
JPH079742A (en) Page printer
JPH10250160A (en) Printer apparatus
JP2001229002A (en) Printer system
JP3598728B2 (en) PRINTING SYSTEM, PRINTING METHOD, COMPUTER-READABLE RECORDING MEDIUM CONTAINING PRINT CONTROL PROGRAM, PRINT CONTROL DEVICE USED FOR PRINT SYSTEM, AND PRINT CONTROL METHOD
JP2001251493A (en) Apparatus, method and system for image processing and recording medium
JPH0790656B2 (en) Document processing method
JPH03244573A (en) Printer
JPH1027261A (en) Image formation device
JPH11129569A (en) Printer apparatus

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071204

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080401