JP2001331299A - Printing controller and printing control method and storage medium - Google Patents

Printing controller and printing control method and storage medium

Info

Publication number
JP2001331299A
JP2001331299A JP2000148208A JP2000148208A JP2001331299A JP 2001331299 A JP2001331299 A JP 2001331299A JP 2000148208 A JP2000148208 A JP 2000148208A JP 2000148208 A JP2000148208 A JP 2000148208A JP 2001331299 A JP2001331299 A JP 2001331299A
Authority
JP
Japan
Prior art keywords
paper
image data
printer
status
predetermined
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
JP2000148208A
Other languages
Japanese (ja)
Inventor
Yoichi Sakamoto
陽一 坂本
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 JP2000148208A priority Critical patent/JP2001331299A/en
Publication of JP2001331299A publication Critical patent/JP2001331299A/en
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 obtain a normal printed result without interrupting any printing processing when sheets whose sizes are the same and whose feeding directions are different can be fed even in the case of transition to a state that the printer runs short of sheets to be fed during the printing processing. SOLUTION: When the run-out of any prescribed sheet is indicated by the state of a printer, a printer driver 4 designates switching to another sheet size, and when the direction of encoded picture data to be transmitted is different from the direction of the designated sheets, picture data obtained by decoding the transmitted encoded picture data are rotated and encoded.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ホストコンピュー
タから画像データを受信して印刷するプリンタを制御す
る印刷制御装置および印刷制御方法および記憶媒体に関
するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to a print control device, a print control method, and a storage medium for controlling a printer that receives and prints image data from a host computer.

【0002】[0002]

【従来の技術】従来、ホストコンピュータとプリンタと
を接続して、プリンタに対して印刷要求を実行した場合
に、例えば所定の用紙がなかった場合、他のサイズの用
紙に出力することが可能であった。
2. Description of the Related Art Conventionally, when a host computer is connected to a printer and a print request is made to the printer, for example, when a predetermined sheet is not present, it is possible to output to a sheet of another size. there were.

【0003】しかしながら所定の用紙と向きの異なる用
紙に出力する場合、いったん画像データを形成してしま
うと向きを変えることができなかった。
However, in the case of outputting to a sheet having a different orientation from a predetermined sheet, once the image data is formed, the orientation cannot be changed.

【0004】また、所定の用紙と大きさの異なる用紙に
出力する場合、あらかじめ設定されている固定の方法で
しか出力すべき画像の配置を行えなかった。
Further, when outputting to a sheet having a size different from a predetermined sheet, an image to be output can be arranged only by a preset fixed method.

【0005】[0005]

【発明が解決しようとする課題】このため、例えば印刷
の途中に、選択していた用紙がなくなって向きの異なる
用紙に出力する場合は、新しい用紙の向きにあわせて出
力することができず、画像が欠けるという問題点があっ
た。
For this reason, for example, when the selected paper is lost during printing and the paper is output to a paper having a different orientation, the output cannot be performed in accordance with the new paper orientation. There was a problem that images were missing.

【0006】また、大きさの異なる用紙に出力する場合
には、印刷の目的に応じて用紙の端に寄せて印刷した
り、中央に印刷したり、拡大縮小して印刷するなどの配
置方法を選択することができなかった。
Further, when outputting to paper of different sizes, an arrangement method such as printing near the edge of the paper, printing at the center, or printing with enlargement / reduction according to the purpose of printing is adopted. Could not choose.

【0007】本発明は、上記の問題点を解決するために
なされたもので、本発明の第1の目的は、取得されたプ
リンタの状態が所定の用紙がないことを示しているとき
に他の用紙サイズに切り替えることを指定し、該指定に
基づき、送信される符号化画像データの向きが指定され
た用紙の向きと異なる場合に、送信される符号化画像デ
ータを復号して得られた画像データを回転して符号化す
ることにより、あるいは、取得されたプリンタの状態が
所定の給紙口に所定の用紙がないことを示しているとき
に給紙口を指定し、該指定に基づき送信される符号化画
像データの向きが指定された給紙口にある用紙の向きと
異なる場合に、送信される符号化画像データを復号して
得られた画像データを回転して符号化することにより、
印刷処理中に、給紙すべき用紙がなくなる状態に遷移し
ても、同サイズで給紙向きの異なる用紙が給紙可能であ
れば印刷処理を中断することなく、正常な印刷結果を得
ることができる印刷制御装置および印刷制御方法および
記憶媒体を提供することである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and a first object of the present invention is to provide an image processing apparatus in which the status of an acquired printer indicates that a predetermined sheet is not present. To be switched to the paper size of, and when the direction of the encoded image data to be transmitted is different from the direction of the designated sheet based on the designation, the transmitted encoded image data is obtained by decoding. By rotating and encoding the image data, or when the acquired printer state indicates that there is no predetermined paper in the predetermined paper feed port, the paper feed port is specified, and based on the specification, When the direction of the encoded image data to be transmitted is different from the direction of the sheet in the designated paper feed port, the image data obtained by decoding the encoded image data to be transmitted is rotated and encoded. By
Even if the printer shifts to a state where there is no more paper to be fed during the printing process, if the same size paper with different feeding directions can be fed, the normal printing result can be obtained without interrupting the printing process. It is an object of the present invention to provide a print control device, a print control method, and a storage medium that can perform the printing.

【0008】本発明の第2の目的は、取得されたプリン
タの状態が所定の用紙がないことを示しているときに、
他の用紙サイズに切り替えることを指定し、該指定に基
づき送信される符号化画像データの大きさが指定された
用紙の大きさと異なる場合に複数の配置方法のうちの1
つを指定し、該指定に基づき複数の配置方法のうちの1
つにより、送信される符号化画像データを配置すること
により、あるいは、取得されたプリンタの状態が所定の
給紙口に所定の用紙がないことを示しているときに給紙
口を指定し、該指定に基づき送信される符号化画像デー
タの大きさが前記給紙口指定手段により指定された給紙
口にある用紙の大きさと異なる場合に、複数の配置方法
のうちの1つを指定し、該指定に基づき複数の配置方法
のうちの1つにより、送信される符号化画像データを配
置することにより、印刷処理中に、給紙すべき用紙がな
くなる状態に遷移しても、異なるサイズの用紙が給紙可
能であれば印刷処理を中断することなく、オリジナル画
像を異なるサイズの用紙内にユーザが意図する配置で納
めた印刷結果を得ることができる印刷制御装置および印
刷制御方法および記憶媒体を提供することである。
[0008] A second object of the present invention is to provide an image processing system in which the acquired printer state indicates that there is no predetermined sheet.
When switching to another paper size is specified and the size of the encoded image data transmitted based on the specification is different from the specified paper size, one of a plurality of layout methods is selected.
One of a plurality of placement methods based on the designation.
By arranging the encoded image data to be transmitted, or specifying the paper feed port when the acquired printer state indicates that the predetermined paper is not present in the predetermined paper feed port, If the size of the coded image data transmitted based on the designation is different from the size of the paper in the paper feed port designated by the paper feed port designating means, one of a plurality of arrangement methods is designated. By arranging the coded image data to be transmitted by one of a plurality of arranging methods based on the designation, even if the state shifts to a state where there is no more paper to be fed during the printing process, a different size is set. Print control apparatus and print control method capable of obtaining a print result in which an original image is stored in a paper sheet of a different size in a layout intended by the user without interrupting the printing process if the paper can be supplied. To provide a 憶媒 body.

【0009】[0009]

【課題を解決するための手段】本発明に係る第1の発明
は、プリンタと通信可能な印刷制御装置であって、前記
プリンタに符号化画像データを送信する画像データ送信
手段(図1に示す通信ドライバ6に相当)と、前記プリ
ンタの状態を取得する状態取得手段(図1に示すステー
タスモニタ5に相当)と、前記状態取得手段により取得
されたプリンタの状態が所定の用紙がないことを示して
いるときに所定の用紙がないことを操作者に通知する紙
なし通知手段(図1に示すプリンタドライバ4に相当)
と、前記状態取得手段により取得されたプリンタの状態
が所定の用紙がないことを示しているときに他の用紙サ
イズに切り替えることを指定する用紙サイズ切替指定手
段(図1に示すプリンタドライバ4に相当)と、前記用
紙サイズ切替指定手段により用紙サイズの切替が指定さ
れたときに、前記画像データ送信手段により送信される
符号化画像データの向きが前記用紙サイズ切替指定手段
により指定された用紙の向きと異なる場合に、前記画像
データ送信手段により送信される符号化画像データを復
号して得られた画像データを回転して符号化する画像デ
ータ回転手段(図1に示すプリンタドライバ4に相当)
とを備えたものである。
According to a first aspect of the present invention, there is provided a print control apparatus capable of communicating with a printer, comprising image data transmitting means for transmitting encoded image data to the printer (see FIG. 1). A status driver for acquiring the status of the printer (corresponding to the status monitor 5 shown in FIG. 1), and a status that the printer status acquired by the status acquisition device does not include a predetermined sheet. A paper-out notification unit for notifying the operator that there is no predetermined paper when indicated (corresponding to the printer driver 4 shown in FIG. 1)
And a paper size switching designating unit (designated by the printer driver 4 shown in FIG. 1) for designating switching to another paper size when the status of the printer acquired by the status acquiring unit indicates that there is no predetermined paper. And the direction of the encoded image data transmitted by the image data transmitting means when the paper size switching is specified by the paper size switching specifying means. Image data rotating means for rotating and encoding image data obtained by decoding the encoded image data transmitted by the image data transmitting means when the orientation is different (corresponding to the printer driver 4 shown in FIG. 1)
It is provided with.

【0010】本発明に係る第2の発明は、プリンタと通
信可能な印刷制御装置であって、前記プリンタに符号化
画像データを送信する画像データ送信手段(図1に示す
通信ドライバ6に相当)と、前記プリンタの状態を取得
する状態取得手段(図1に示すステータスモニタ5に相
当)と、前記状態取得手段により取得されたプリンタの
状態が所定の給紙口に所定の用紙がないことを示してい
るときに所定の給紙口に所定の用紙がないことを操作者
に通知する紙なし通知手段(図1に示すプリンタドライ
バ4に相当)と、前記状態取得手段により取得されたプ
リンタの状態が所定の給紙口に所定の用紙がないことを
示しているときに給紙口を指定する給紙口指定手段(図
1に示すプリンタドライバ4に相当)と、前記給紙口指
定手段により給紙口が指定されたときに前記画像データ
送信手段により送信される符号化画像データの向きが前
記給紙口指定手段により指定された給紙口にある用紙の
向きと異なる場合に、前記画像データ送信手段により送
信される符号化画像データを復号して得られた画像デー
タを回転して符号化する画像データ回転手段(図1に示
すプリンタドライバ4に相当)とを備えたものである。
[0010] A second invention according to the present invention is a print control device capable of communicating with a printer, and image data transmitting means (corresponding to the communication driver 6 shown in FIG. 1) for transmitting encoded image data to the printer. Status acquisition means for acquiring the status of the printer (corresponding to the status monitor 5 shown in FIG. 1); and the printer status acquired by the status acquisition means confirming that there is no predetermined paper in a predetermined paper feed port. A paper-out notification means (corresponding to the printer driver 4 shown in FIG. 1) for notifying the operator that there is no predetermined paper in a predetermined paper feed port when the Paper supply port designating means (corresponding to printer driver 4 shown in FIG. 1) for designating a paper supply port when the state indicates that predetermined paper does not exist in the prescribed paper supply port; Feed by When the direction of the encoded image data transmitted by the image data transmitting means when the direction of the paper is different from the direction of the paper in the paper feed port designated by the paper feed port designating means, And image data rotating means (corresponding to the printer driver 4 shown in FIG. 1) for rotating and encoding the image data obtained by decoding the encoded image data transmitted by (1).

【0011】本発明に係る第3の発明は、プリンタと通
信可能な印刷制御装置であって、前記プリンタに符号化
画像データを送信する画像データ送信手段(図1に示す
通信ドライバ6に相当)と、前記プリンタの状態を取得
する状態取得手段(図1に示すステータスモニタ5に相
当)と、前記状態取得手段により取得されたプリンタの
状態が所定の用紙がないことを示しているときに所定の
用紙がないことを操作者に通知する紙なし通知手段(図
1に示すプリンタドライバ4に相当)と、前記状態取得
手段により取得されたプリンタの状態が所定の用紙がな
いことを示しているときに、他の用紙サイズに切り替え
ることを指定する用紙サイズ切替指定手段(図1に示す
プリンタドライバ4に相当)と、前記用紙サイズ切替指
定手段により用紙サイズの切替が指定されたときに前記
画像データ送信手段により送信される符号化画像データ
の大きさが前記用紙サイズ切替指定手段により指定され
た用紙の大きさと異なる場合に複数の配置方法のうちの
1つを指定する画像配置指定手段(図1に示すプリンタ
ドライバ4に相当)と、前記画像配置指定手段により指
定された、複数の配置方法のうちの1つにより、前記デ
ータ送信手段により送信される符号化画像データを配置
する画像データ配置手段(図1に示すプリンタドライバ
4に相当)とを備えたものである。
A third invention according to the present invention is a printing control device capable of communicating with a printer, and image data transmitting means for transmitting encoded image data to the printer (corresponding to the communication driver 6 shown in FIG. 1). Status acquisition means (corresponding to the status monitor 5 shown in FIG. 1) for acquiring the status of the printer; and a predetermined status when the status of the printer obtained by the status acquisition means indicates that there is no predetermined paper. No-paper notification means (corresponding to the printer driver 4 shown in FIG. 1) for notifying the operator that there is no paper, and the status of the printer acquired by the status acquisition means indicates that there is no predetermined paper. At this time, a paper size switching designation unit (corresponding to the printer driver 4 shown in FIG. 1) for designating switching to another paper size, and a paper size switching designation unit When the size of the coded image data transmitted by the image data transmitting means when the size switching is specified is different from the size of the paper specified by the paper size switching specifying means, An image layout designating means (corresponding to the printer driver 4 shown in FIG. 1) for designating one of the plurality of layout methods specified by the image layout designating means is transmitted by the data transmitting means. Image data arranging means (corresponding to the printer driver 4 shown in FIG. 1) for arranging encoded image data.

【0012】本発明に係る第4の発明は、プリンタと通
信可能な印刷制御装置であって、前記プリンタに符号化
画像データを送信する画像データ送信手段(図1に示す
通信ドライバ6に相当)と、前記プリンタの状態を取得
する状態取得手段(図1に示すステータスモニタ5に相
当)と、前記状態取得手段により取得されたプリンタの
状態が所定の給紙口に所定の用紙がないことを示してい
るときに所定の給紙口に所定の用紙がないことを操作者
に通知する紙なし通知手段(図1に示すプリンタドライ
バ4に相当)と、前記状態取得手段により取得されたプ
リンタの状態が所定の給紙口に所定の用紙がないことを
示しているときに給紙口を指定する給紙口指定手段(図
1に示すプリンタドライバ4に相当)と、前記給紙口指
定手段により給紙口が指定されたときに、前記画像デー
タ送信手段により送信される符号化画像データの大きさ
が前記給紙口指定手段により指定された給紙口にある用
紙の大きさと異なる場合に、複数の配置方法のうちの1
つを指定する画像配置指定手段(図1に示すプリンタド
ライバ4に相当)と、前記画像配置指定手段により指定
された、複数の配置方法のうちの1つにより、前記デー
タ送信手段により送信される符号化画像データを配置す
る画像データ配置手段(図1に示すプリンタドライバ4
に相当)とを備えたものである。
A fourth invention according to the present invention is a print control device capable of communicating with a printer, and image data transmitting means for transmitting encoded image data to the printer (corresponding to the communication driver 6 shown in FIG. 1). Status acquisition means for acquiring the status of the printer (corresponding to the status monitor 5 shown in FIG. 1); and the printer status acquired by the status acquisition means confirming that there is no predetermined paper in a predetermined paper feed port. A paper-out notification means (corresponding to the printer driver 4 shown in FIG. 1) for notifying the operator that there is no predetermined paper in a predetermined paper feed port when the Paper supply port designating means (corresponding to printer driver 4 shown in FIG. 1) for designating a paper supply port when the state indicates that predetermined paper does not exist in the prescribed paper supply port; Feed by When the size of the coded image data transmitted by the image data transmitting means is different from the size of the paper in the paper feed port designated by the paper feed port designating means when One of the methods
One of a plurality of arrangement methods designated by the image arrangement designating means (corresponding to the printer driver 4 shown in FIG. 1) for designating one of the images and transmitted by the data transmitting means. Image data arranging means for arranging encoded image data (the printer driver 4 shown in FIG. 1)
).

【0013】本発明に係る第5の発明は、プリンタと通
信可能な印刷制御装置における印刷制御方法であって、
前記プリンタに符号化画像データを送信する画像データ
送信工程(図8に示すステップS7)と、前記プリンタ
の状態を取得する状態取得工程(図8に示すステップS
3,S9,S32,図9に示すステップS20)と、前
記状態取得工程により取得されたプリンタの状態が所定
の用紙がないことを示しているときに所定の用紙がない
ことを操作者に通知する紙なし通知工程(図8に示すス
テップS8)と、前記状態取得工程により取得されたプ
リンタの状態が所定の用紙がないことを示しているとき
に他の用紙サイズに切り替えることを指定する用紙サイ
ズ切替指定工程(図8に示すステップS16)と、前記
用紙サイズ切替指定工程により用紙サイズの切替が指定
されたときに、前記画像データ送信工程により送信され
る符号化画像データの向きが前記用紙サイズ切替指定工
程により指定された用紙の向きと異なる場合に、前記画
像データ送信工程により送信される符号化画像データを
復号して得られた画像データを回転して符号化する画像
データ回転工程(図8に示すステップS17)とを備え
たものである。
A fifth invention according to the present invention is a print control method in a print control device capable of communicating with a printer,
An image data transmitting step of transmitting encoded image data to the printer (step S7 shown in FIG. 8) and a state obtaining step of obtaining the state of the printer (step S7 shown in FIG. 8)
3, S9, S32, step S20 shown in FIG. 9), and when the status of the printer obtained in the status obtaining step indicates that there is no predetermined paper, the operator is notified that there is no predetermined paper. A paper-out notification step (step S8 shown in FIG. 8), and a sheet for designating switching to another paper size when the printer status acquired in the status acquisition step indicates that there is no predetermined paper. The size of the coded image data transmitted by the image data transmitting step when the paper size switching is specified by the size switching specifying step (step S16 shown in FIG. 8) and the paper size switching specifying step is the paper When the orientation of the paper designated by the size switching designation step is different, the encoded image data transmitted by the image data transmission step is obtained by decoding. It is obtained by an image data rotation process of encoding (step S17 shown in FIG. 8) by rotating the image data.

【0014】本発明に係る第6の発明は、プリンタと通
信可能な印刷制御装置における印刷制御方法であって、
前記プリンタに符号化画像データを送信する画像データ
送信工程(図8に示すステップS7)と、前記プリンタ
の状態を取得する状態取得工程(図8に示すステップS
3,S9,S32,図9に示すステップS20)と、前
記状態取得工程により取得されたプリンタの状態が所定
の給紙口に所定の用紙がないことを示しているときに所
定の給紙口に所定の用紙がないことを操作者に通知する
紙なし通知工程(図9に示すステップS19)と、前記
状態取得工程により取得されたプリンタの状態が所定の
給紙口に所定の用紙がないことを示しているときに給紙
口を指定する給紙口指定工程(図9に示すステップS2
9)と、前記給紙口指定工程により給紙口が指定された
ときに前記画像データ送信工程により送信される符号化
画像データの向きが前記給紙口指定工程により指定され
た給紙口にある用紙の向きと異なる場合に、前記画像デ
ータ送信工程により送信される符号化画像データを復号
して得られた画像データを回転して符号化する画像デー
タ回転工程(図8に示すステップS17)とを備えたも
のである。
A sixth invention according to the present invention is a print control method in a print control device capable of communicating with a printer,
An image data transmitting step of transmitting encoded image data to the printer (step S7 shown in FIG. 8) and a state obtaining step of obtaining the state of the printer (step S7 shown in FIG. 8)
3, S9, S32, step S20 shown in FIG. 9), and when the printer status acquired in the status acquisition step indicates that there is no predetermined paper in the predetermined paper feed port, the predetermined paper feed port Notification step (step S19 shown in FIG. 9) for notifying the operator that there is no predetermined paper in the printer, and the state of the printer acquired in the state acquisition step indicates that there is no predetermined paper in a predetermined paper feed port. Indicates a paper feed port, the paper feed port specifying step (step S2 shown in FIG. 9).
9) and the direction of the encoded image data transmitted by the image data transmitting step when the paper supply port is designated by the paper supply port designation step is set to the paper supply port designated by the paper supply port designation step. An image data rotating step of rotating and encoding image data obtained by decoding the encoded image data transmitted in the image data transmitting step when the orientation is different from the direction of a certain sheet (step S17 shown in FIG. 8). It is provided with.

【0015】本発明に係る第7の発明は、プリンタと通
信可能な印刷制御装置における印刷制御方法であって、
前記プリンタに符号化画像データを送信する画像データ
送信工程(図8に示すステップS7)と、前記プリンタ
の状態を取得する状態取得工程(図8に示すステップS
3,S9,S32,図9に示すステップS20)と、前
記状態取得工程により取得されたプリンタの状態が所定
の用紙がないことを示しているときに所定の用紙がない
ことを操作者に通知する紙なし通知工程(図9に示すス
テップS8)と、前記状態取得工程により取得されたプ
リンタの状態が所定の用紙がないことを示しているとき
に、他の用紙サイズに切り替えることを指定する用紙サ
イズ切替指定工程(図8に示すステップS16)と、前
記用紙サイズ切替指定工程により用紙サイズの切替が指
定されたときに前記画像データ送信工程により送信され
る符号化画像データの大きさが前記用紙サイズ切替指定
工程により指定された用紙の大きさと異なる場合に複数
の配置方法のうちの1つを指定する画像配置指定工程
(図10に示すステップS51)と、前記画像配置指定
工程により指定された、複数の配置方法のうちの1つに
より、前記データ送信工程により送信される符号化画像
データを配置する画像データ配置工程(図8に示すステ
ップS17)とを備えたものである。
A seventh invention according to the present invention is a print control method in a print control device capable of communicating with a printer,
An image data transmitting step of transmitting encoded image data to the printer (step S7 shown in FIG. 8) and a state obtaining step of obtaining the state of the printer (step S7 shown in FIG. 8)
3, S9, S32, step S20 shown in FIG. 9), and when the status of the printer obtained in the status obtaining step indicates that there is no predetermined paper, the operator is notified that there is no predetermined paper. When the status of the printer acquired in the status acquisition process indicates that there is no predetermined paper, it is designated to switch to another paper size. The paper size switching designation step (Step S16 shown in FIG. 8) and the size of the encoded image data transmitted by the image data transmission step when the paper size switching is designated by the paper size switching designation step An image placement specifying step (step shown in FIG. 10) for specifying one of a plurality of placement methods when the paper size is different from the paper size specified in the paper size switching specifying step. Step S51) and an image data arranging step of arranging the coded image data transmitted in the data transmitting step by one of a plurality of arrangement methods specified in the image arrangement specifying step (see FIG. 8). Step S17).

【0016】本発明に係る第8の発明は、プリンタと通
信可能な印刷制御装置における印刷制御方法であって、
前記プリンタに符号化画像データを送信する画像データ
送信工程(図8に示すステップS7)と、前記プリンタ
の状態を取得する状態取得工程(図8に示すステップS
3,S9,S32,図9に示すステップS20)と、前
記状態取得工程により取得されたプリンタの状態が所定
の給紙口に所定の用紙がないことを示しているときに所
定の給紙口に所定の用紙がないことを操作者に通知する
紙なし通知工程(図9に示すステップS19)と、前記
状態取得工程により取得されたプリンタの状態が所定の
給紙口に所定の用紙がないことを示しているときに給紙
口を指定する給紙口指定工程(図9に示すステップS2
5)と、前記給紙口指定工程により給紙口が指定された
ときに、前記画像データ送信工程により送信される符号
化画像データの大きさが前記給紙口指定手段により指定
された給紙口にある用紙の大きさと異なる場合に、複数
の配置方法のうちの1つを指定する画像配置指定工程
(図10に示すステップS51)と、前記画像配置指定
工程により指定された、複数の配置方法のうちの1つに
より、前記データ送信工程により送信される符号化画像
データを配置する画像データ配置工程(図8に示すステ
ップS17)とを備えたものである。
An eighth invention according to the present invention is a print control method in a print control device capable of communicating with a printer,
An image data transmitting step of transmitting encoded image data to the printer (step S7 shown in FIG. 8) and a state obtaining step of obtaining the state of the printer (step S7 shown in FIG. 8)
3, S9, S32, step S20 shown in FIG. 9), and when the printer status acquired in the status acquisition step indicates that there is no predetermined paper in the predetermined paper feed port, the predetermined paper feed port Notification step (step S19 shown in FIG. 9) for notifying the operator that there is no predetermined paper in the printer, and the state of the printer acquired in the state acquisition step indicates that there is no predetermined paper in a predetermined paper feed port. Indicates a paper feed port, the paper feed port specifying step (step S2 shown in FIG. 9).
5) When the paper feed port is specified in the paper feed port specifying step, the size of the encoded image data transmitted in the image data transmitting step is specified by the paper feed port specifying means. When the size is different from the size of the paper in the mouth, an image arrangement designating step (step S51 shown in FIG. 10) for designating one of a plurality of arrangement methods, and a plurality of arrangements designated by the image arrangement designating step. According to one of the methods, an image data arranging step (step S17 shown in FIG. 8) of arranging the encoded image data transmitted by the data transmitting step is provided.

【0017】本発明に係る第9の発明は、プリンタと通
信可能な印刷制御装置に、前記プリンタに符号化画像デ
ータを送信する画像データ送信工程(図8に示すステッ
プS7)と、前記プリンタの状態を取得する状態取得工
程(図8に示すステップS3,S9,S32,図9に示
すステップS20)と、前記状態取得工程により取得さ
れたプリンタの状態が所定の用紙がないことを示してい
るときに所定の用紙がないことを操作者に通知する紙な
し通知工程(図8に示すステップS8)と、前記状態取
得工程により取得されたプリンタの状態が所定の用紙が
ないことを示しているときに他の用紙サイズに切り替え
ることを指定する用紙サイズ切替指定工程(図8に示す
ステップS16)と、前記用紙サイズ切替指定工程によ
り用紙サイズの切替が指定されたときに、前記画像デー
タ送信工程により送信される符号化画像データの向きが
前記用紙サイズ切替指定工程により指定された用紙の向
きと異なる場合に、前記画像データ送信工程により送信
される符号化画像データを復号して得られた画像データ
を回転して符号化する画像データ回転工程(図8に示す
ステップS17)とを実行させるためのプログラムをコ
ンピュータが読み取り可能な記憶媒体に記録したもので
ある。
According to a ninth aspect of the present invention, there is provided an image data transmitting step (step S7 shown in FIG. 8) for transmitting encoded image data to the printer to a print control device capable of communicating with the printer. The state acquisition step of acquiring the state (steps S3, S9, S32 shown in FIG. 8, step S20 shown in FIG. 9) and the state of the printer acquired in the state acquisition step indicate that there is no predetermined sheet. A paper-out notification step (step S8 shown in FIG. 8) for notifying the operator that there is no predetermined paper, and the printer status acquired in the status acquisition step indicates that the predetermined paper is not present. A paper size switching designation step (step S16 shown in FIG. 8) for designating occasionally switching to another paper size, and cutting of the paper size by the paper size switching designation step. Is transmitted by the image data transmitting step when the direction of the encoded image data transmitted by the image data transmitting step is different from the direction of the sheet specified by the sheet size switching specifying step. A program for executing an image data rotation step (step S17 shown in FIG. 8) of rotating and encoding the image data obtained by decoding the encoded image data is recorded on a computer-readable storage medium. Things.

【0018】本発明に係る第10の発明は、プリンタと
通信可能な印刷制御装置に、前記プリンタに符号化画像
データを送信する画像データ送信工程(図8に示すステ
ップS7)と、前記プリンタの状態を取得する状態取得
工程(図8に示すステップS3,S9,S32,図9に
示すステップS20)と、前記状態取得工程により取得
されたプリンタの状態が所定の給紙口に所定の用紙がな
いことを示しているときに所定の給紙口に所定の用紙が
ないことを操作者に通知する紙なし通知工程(図9に示
すステップS19)と、前記状態取得工程により取得さ
れたプリンタの状態が所定の給紙口に所定の用紙がない
ことを示しているときに給紙口を指定する給紙口指定工
程(図9に示すステップS29)と、前記給紙口指定工
程により給紙口が指定されたときに前記画像データ送信
工程により送信される符号化画像データの向きが前記給
紙口指定工程により指定された給紙口にある用紙の向き
と異なる場合に、前記画像データ送信工程により送信さ
れる符号化画像データを復号して得られた画像データを
回転して符号化する画像データ回転工程(図8に示すス
テップS17)とを実行させるためのプログラムをコン
ピュータが読み取り可能な記憶媒体に記録したものであ
る。
According to a tenth aspect of the present invention, there is provided an image data transmitting step (step S7 shown in FIG. 8) for transmitting encoded image data to the printer to a print control device capable of communicating with the printer. A state acquisition step (steps S3, S9, S32, and S20 shown in FIG. 8 and step S20 shown in FIG. 9) for acquiring a state, and the state of the printer acquired in the state acquisition step is such that a predetermined sheet is supplied to a predetermined paper supply port. When there is no paper, a paper-out notification step (step S19 shown in FIG. 9) for notifying the operator that there is no predetermined paper in the predetermined paper feed port; When the state indicates that the predetermined paper is not present in the predetermined paper feed port, a paper feed port designating step (step S29 shown in FIG. 9) for designating the paper feed port; Mouth When the direction of the encoded image data transmitted by the image data transmitting step when the orientation is different from the direction of the paper in the paper supply port designated by the paper supply port designation step, the image data transmission step A computer-readable storage medium for executing a program for executing an image data rotation step (step S17 shown in FIG. 8) of rotating and encoding image data obtained by decoding encoded image data to be transmitted; It is recorded in.

【0019】本発明に係る第11の発明は、プリンタと
通信可能な印刷制御装置に、前記プリンタに符号化画像
データを送信する画像データ送信工程(図8に示すステ
ップS7)と、前記プリンタの状態を取得する状態取得
工程(図8に示すステップS3,S9,S32,図9に
示すステップS20)と、前記状態取得工程により取得
されたプリンタの状態が所定の用紙がないことを示して
いるときに所定の用紙がないことを操作者に通知する紙
なし通知工程(図9に示すステップS8)と、前記状態
取得工程により取得されたプリンタの状態が所定の用紙
がないことを示しているときに、他の用紙サイズに切り
替えることを指定する用紙サイズ切替指定工程(図8に
示すステップS16)と、前記用紙サイズ切替指定工程
により用紙サイズの切替が指定されたときに前記画像デ
ータ送信工程により送信される符号化画像データの大き
さが前記用紙サイズ切替指定工程により指定された用紙
の大きさと異なる場合に複数の配置方法のうちの1つを
指定する画像配置指定工程(図10に示すステップS5
1)と、前記画像配置指定工程により指定された、複数
の配置方法のうちの1つにより、前記データ送信工程に
より送信される符号化画像データを配置する画像データ
配置工程(図8に示すステップS17)とを実行させる
ためのプログラムをコンピュータが読み取り可能な記憶
媒体に記録したものである。
According to an eleventh aspect of the present invention, there is provided an image data transmitting step (step S7 shown in FIG. 8) for transmitting encoded image data to the printer to a print control device capable of communicating with the printer. The state acquisition step of acquiring the state (steps S3, S9, S32 shown in FIG. 8, step S20 shown in FIG. 9) and the state of the printer acquired in the state acquisition step indicate that there is no predetermined sheet. A paper-out notification step (step S8 shown in FIG. 9) for notifying the operator that there is no predetermined paper, and the printer status acquired in the status acquisition step indicates that the predetermined paper is not present. At this time, the paper size switching designation step (step S16 shown in FIG. 8) for designating switching to another paper size, and the paper size switching designation step One of a plurality of arrangement methods when the size of the encoded image data transmitted by the image data transmitting step when the switching is specified is different from the size of the sheet specified by the sheet size switching specifying step (Step S5 shown in FIG. 10)
1) and an image data arranging step of arranging encoded image data transmitted by the data transmitting step by one of a plurality of arranging methods designated by the image arrangement specifying step (step shown in FIG. 8) And S17) are recorded on a computer-readable storage medium.

【0020】本発明に係る第12の発明は、プリンタと
通信可能な印刷制御装置に、前記プリンタに符号化画像
データを送信する画像データ送信工程(図8に示すステ
ップS7)と、前記プリンタの状態を取得する状態取得
工程(図8に示すステップS3,S9,S32,図9に
示すステップS20)と、前記状態取得工程により取得
されたプリンタの状態が所定の給紙口に所定の用紙がな
いことを示しているときに所定の給紙口に所定の用紙が
ないことを操作者に通知する紙なし通知工程(図9に示
すステップS19)と、前記状態取得工程により取得さ
れたプリンタの状態が所定の給紙口に所定の用紙がない
ことを示しているときに給紙口を指定する給紙口指定工
程(図9に示すステップS25)と、前記給紙口指定工
程により給紙口が指定されたときに、前記画像データ送
信工程により送信される符号化画像データの大きさが前
記給紙口指定手段により指定された給紙口にある用紙の
大きさと異なる場合に、複数の配置方法のうちの1つを
指定する画像配置指定工程(図10に示すステップS5
1)と、前記画像配置指定工程により指定された、複数
の配置方法のうちの1つにより、前記データ送信工程に
より送信される符号化画像データを配置する画像データ
配置工程(図8に示すステップS17)とを実行させる
ためのプログラムをコンピュータが読み取り可能な記憶
媒体に記録したものである。
According to a twelfth aspect of the present invention, there is provided an image data transmitting step (step S7 shown in FIG. 8) for transmitting encoded image data to the printer to a print control device capable of communicating with the printer. A state acquisition step (steps S3, S9, S32, and S20 shown in FIG. 8 and step S20 shown in FIG. 9) for acquiring a state, and the state of the printer acquired in the state acquisition step is such that a predetermined sheet is supplied to a predetermined paper supply port. When there is no paper, a paper-out notification step (step S19 shown in FIG. 9) for notifying the operator that there is no predetermined paper in the predetermined paper feed port; When the state indicates that the predetermined paper is not present in the predetermined paper supply port, a paper supply port designation step (step S25 shown in FIG. 9) for designating the paper supply port, Mouth When the size of the coded image data transmitted in the image data transmitting step is different from the size of the paper in the paper feed port designated by the paper feed port designating means, Image arrangement designating step (step S5 shown in FIG. 10)
1) and an image data arranging step of arranging encoded image data transmitted by the data transmitting step by one of a plurality of arranging methods designated by the image arrangement specifying step (step shown in FIG. 8) And S17) are recorded on a computer-readable storage medium.

【0021】[0021]

【発明の実施の形態】〔第1実施形態〕図1は、本発明
の第1実施形態を示す印刷制御装置の構成を説明するブ
ロック図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS [First Embodiment] FIG. 1 is a block diagram illustrating the configuration of a print control apparatus according to a first embodiment of the present invention.

【0022】図1において、1はホストコンピュータで
あり、図示はしてないが、CPU、メモリ、ディスプレ
イ、キーボード、マウスおよびパラレルポート7、その
他のハードウェアを有し、アプリケーション2、オペレ
ーティングシステム3、プリンタドライバ4、ステータ
スモニタ5、通信ドライバ6等のソフトウェアが動作す
る。
In FIG. 1, reference numeral 1 denotes a host computer, not shown, which has a CPU, a memory, a display, a keyboard, a mouse and a parallel port 7, and other hardware, and has an application 2, an operating system 3, Software such as the printer driver 4, status monitor 5, and communication driver 6 operates.

【0023】2はアプリケーションであり、操作者の指
示に従って印刷指令を発行する。3はオペレーティング
システムであり、アプリケーション2が発行した印刷指
令をプリンタドライバ4に渡すとともに、プリンタドラ
イバ4が生成した印刷データをステータスモニタ5に渡
す。
Reference numeral 2 denotes an application, which issues a print command in accordance with an instruction from an operator. Reference numeral 3 denotes an operating system, which transfers a print command issued by the application 2 to the printer driver 4 and transfers print data generated by the printer driver 4 to the status monitor 5.

【0024】4はプリンタドライバであり、アプリケー
ション2が発行した印刷指令をオペレーティングシステ
ム3から受け取ると、プリンタ8が印刷可能な印刷デー
タに変換し、オペレーティングシステム3に返す。5は
ステータスモニタで、プリンタドライバ4が生成した印
刷データを、オペレーティングシステム3から受け取る
と、通信ドライバ6、パラレルポート7を経由してプリ
ンタ8に送るとともに、通信ドライバ6、パラレルポー
ト7を経由してプリンタ8のステータスを取得し、エラ
ーなど操作者の介入が必要になった場合に、画面表示を
行ってプリンタの状態を操作者に通知するとともに、必
要に応じて給紙口の切替などの操作を行える手段を提供
する。
A printer driver 4 receives a print command issued by the application 2 from the operating system 3, converts the print command into print data printable by the printer 8, and returns the print data to the operating system 3. Reference numeral 5 denotes a status monitor, which receives print data generated by the printer driver 4 from the operating system 3, sends the print data to the printer 8 via the communication driver 6 and the parallel port 7, and transmits the print data via the communication driver 6 and the parallel port 7. To obtain the status of the printer 8 and, when an operator's intervention such as an error is required, display a screen to notify the operator of the status of the printer and, if necessary, switch the paper feed port. Provides means for performing operations.

【0025】通信ドライバ6は、パラレルポート7を経
由して、ステータスモニタ5から渡された印刷データを
プリンタ8に送るとともに、プリンタ8のステータスを
取得してステータスモニタ5に渡す。
The communication driver 6 sends the print data passed from the status monitor 5 to the printer 8 via the parallel port 7, acquires the status of the printer 8, and passes the status to the status monitor 5.

【0026】7はパラレルポートであり、IEEE規格
「IEEE Std 1284−1994」に規定され
るECPモードで、プリンタ8への送信、およびプリン
タ8からの受信を行う。8はプリンタであり、パラレル
ポート7から、印刷データを受け取るとこれを印刷する
とともに、通信ドライバ6よりステータスが要求された
場合には、プリンタ8のステータスを送信する。
Reference numeral 7 denotes a parallel port, which performs transmission to the printer 8 and reception from the printer 8 in an ECP mode defined by the IEEE standard "IEEE Std 1284-1994". Reference numeral 8 denotes a printer, which receives print data from the parallel port 7 and prints it, and transmits a status of the printer 8 when a status is requested by the communication driver 6.

【0027】次に、プリンタドライバ4が生成し、プリ
ンタ8が受信する印刷データの形式を説明する。
Next, the format of print data generated by the printer driver 4 and received by the printer 8 will be described.

【0028】印刷データの各ページは、印刷パラメタコ
マンド、画像データコマンド、ページ終了コマンドから
構成される。印刷パラメタコマンドには、用紙サイズ、
画像幅W、画像高さH、左マージンL、上マージンT、
用紙幅PW、用紙高さPH、給紙口、および給紙口自動
選択フラグにより構成される。給紙口自動選択フラグが
0である場合は、プリンタドライバ4が生成した給紙口
の指定が有効である。給紙口自動選択フラグが1である
場合は、プリンタドライバ4が生成した給紙口の指定は
無効であり、ステータスモニタ5が、プリンタ8から取
得したステータスを参照し、給紙口を選択して、印刷パ
ラメタコマンドの給紙口に設定する。プリンタ8は、給
紙口自動選択フラグの値にかかわらず、指定された給紙
口を使用して印刷を行う。
Each page of the print data is composed of a print parameter command, an image data command, and a page end command. Print parameter commands include paper size,
Image width W, image height H, left margin L, upper margin T,
It is configured by a paper width PW, a paper height PH, a paper feed port, and a paper feed port automatic selection flag. When the paper feed port automatic selection flag is 0, the specification of the paper feed port generated by the printer driver 4 is effective. When the paper feed port automatic selection flag is 1, the specification of the paper feed port generated by the printer driver 4 is invalid, and the status monitor 5 selects the paper feed port by referring to the status acquired from the printer 8. And set it to the paper feed port of the print parameter command. The printer 8 performs printing using the specified paper feed port regardless of the value of the paper feed port automatic selection flag.

【0029】画像データコマンドは、符号化された画像
データのサイズと、符号化された画像データにより構成
される。プリンタ8は、符号化された画像データを復号
してこれを印刷する。ページ終了コマンドは、ページが
終了したことを示す。
The image data command includes the size of the encoded image data and the encoded image data. The printer 8 decodes the encoded image data and prints it. The page end command indicates that the page has ended.

【0030】次にプリンタ8が生成し、ステータスモニ
タ5が受信するプリンタステータスについて説明する。
Next, the printer status generated by the printer 8 and received by the status monitor 5 will be described.

【0031】プリンタ8はカセット1、カセット2、お
よびカセット3の3つの給紙口を有する。プリンタステ
ータスは、各々の給紙口の用紙の有無、および用紙があ
る場合にはセットされている用紙サイズの情報を含む。
The printer 8 has three paper feed ports, a cassette 1, a cassette 2, and a cassette 3. The printer status includes information on the presence / absence of paper in each paper feed port, and information on the size of paper that is set if paper is present.

【0032】上記のように構成された印刷制御装置にお
いて、ホストコンピュータ1は、ステータスモニタ5に
より取得されたプリンタ8の状態が所定の用紙がないこ
とを示しているときに、プリンタドライバ4が他の用紙
サイズに切り替えることを指定し、該指定に基づき、送
信される符号化画像データの向きが指定された用紙の向
きと異なる場合に、送信される符号化画像データを復号
して得られた画像データを回転して符号化することによ
り、あるいは、取得されたプリンタの状態が所定の給紙
口に所定の用紙がないことを示しているときに給紙口を
指定し、該指定に基づき送信される符号化画像データの
向きが指定された給紙口にある用紙の向きと異なる場合
に、送信される符号化画像データを復号して得られた画
像データを回転して符号化することにより、印刷処理中
に、給紙すべき用紙がなくなる状態に遷移しても、同サ
イズで給紙向きの異なる用紙が給紙可能であれば印刷処
理を中断することなく、正常な印刷結果を得る。
In the printing control device configured as described above, when the status of the printer 8 obtained by the status monitor 5 indicates that there is no predetermined paper, the host computer 1 To be switched to the paper size of, and when the direction of the encoded image data to be transmitted is different from the direction of the designated sheet based on the designation, the transmitted encoded image data is obtained by decoding. By rotating and encoding the image data, or when the acquired printer state indicates that there is no predetermined paper in the predetermined paper feed port, the paper feed port is specified, and based on the specification, When the direction of the encoded image data to be transmitted is different from the direction of the sheet in the designated paper feed port, the image data obtained by decoding the encoded image data to be transmitted is rotated. By encoding, even if there is no paper to be fed during the printing process, if the paper of the same size but in the different feeding direction can be fed, the printing process is not interrupted. Obtain a good print result.

【0033】また、上記のように構成された印刷制御装
置において、ホストコンピュータ1は、ステータスモニ
タ5により取得されたプリンタ8の状態が所定の用紙が
ないことを示しているときに、プリンタドライバ4が他
の用紙サイズに切り替えることを指定し、該指定に基づ
き送信される符号化画像データの大きさが指定された用
紙の大きさと異なる場合に複数の配置方法のうちの1つ
を指定し、該指定に基づき複数の配置方法のうちの1つ
により、送信される符号化画像データを配置することに
より、あるいは、取得されたプリンタの状態が所定の給
紙口に所定の用紙がないことを示しているときに給紙口
を指定し、該指定に基づき送信される符号化画像データ
の大きさが指定された給紙口にある用紙の大きさと異な
る場合に、複数の配置方法のうちの1つを指定し、該指
定に基づき複数の配置方法のうちの1つにより、送信さ
れる符号化画像データを配置することにより、印刷処理
中に、給紙すべき用紙がなくなる状態に遷移しても、異
なるサイズの用紙が給紙可能であれば印刷処理を中断す
ることなく、オリジナル画像を異なるサイズの用紙内に
ユーザが意図する配置で納めた印刷結果を得る。
In the printing control apparatus having the above-described configuration, when the status of the printer 8 acquired by the status monitor 5 indicates that there is no predetermined paper, the host computer 1 executes Specifies to switch to another paper size, and specifies one of a plurality of arrangement methods when the size of the encoded image data transmitted based on the specification is different from the specified paper size, By arranging the coded image data to be transmitted by one of a plurality of arranging methods based on the designation, or by making sure that the acquired printer state does not have a predetermined sheet in a predetermined sheet feeding port. When the size of the encoded image data transmitted based on the designation is different from the size of the paper in the designated By specifying one of the placement methods and arranging the encoded image data to be transmitted by one of the plurality of placement methods based on the designation, the paper to be fed during the printing process is Even if the state shifts to the disappearance state, if a sheet of a different size can be fed, a print result in which the original image is stored in a sheet of a different size in a layout intended by the user is obtained without interrupting the printing process.

【0034】次に図2および図3を参照し、ステータス
モニタ5が表示する画面について具体的に説明する。
Next, a screen displayed by the status monitor 5 will be specifically described with reference to FIGS.

【0035】図2は、図1に示したホストコンピュータ
1のディスプレイに表示される印刷設定画面の一例を示
す図であり、印刷中表示される画面である。
FIG. 2 is a view showing an example of a print setting screen displayed on the display of the host computer 1 shown in FIG. 1, and is a screen displayed during printing.

【0036】図2において、上半部はメッセージ領域で
あり、エラーが発生した場合にはエラーメッセージを表
示する。下半部は各給紙口の用紙の有無および用紙サイ
ズを表示し、給紙口あるいは用紙サイズを変更する場合
には、給紙口を選択して変更ボタンを押すことにより給
紙口あるいは用紙サイズの変更を指示することができ
る。
In FIG. 2, the upper half is a message area, and when an error occurs, an error message is displayed. The lower half displays the presence or absence of paper in each paper slot and the paper size.To change the paper slot or paper size, select the paper slot and press the change button to change the paper slot or paper size. You can instruct to change the size.

【0037】図3は、図1に示したホストコンピュータ
1のディスプレイに表示されるダイアログ画面の一例を
示す図である。
FIG. 3 is a diagram showing an example of a dialog screen displayed on the display of the host computer 1 shown in FIG.

【0038】図3において、ホストコンピュータ1のデ
ィスプレイに表示される用紙サイズが変更された際に表
示されるダイアログでは、「サイズを変えずに左上に配
置」、「サイズを変えずに中央に配置」および「サイズ
を変えて中央に配置」のいずれかを選択してOKボタン
を押すことにより、画像データの配置方法を指定でき
る。また、キャンセルボタンを押すことにより、用紙サ
イズの変更が取り消されるように構成されている。
In FIG. 3, when the paper size displayed on the display of the host computer 1 is changed, the dialogue displayed includes “place at the upper left without changing the size” and “place at the center without changing the size”. "And changing the size and arranging in the center" and pressing the OK button, the arrangement method of the image data can be designated. Further, by pressing the cancel button, the change of the paper size is canceled.

【0039】次に、図4、図5、図6および図7を参照
し、画像の配置方法について説明する。
Next, an image arranging method will be described with reference to FIG. 4, FIG. 5, FIG. 6, and FIG.

【0040】図4〜図7は、本発明に係る印刷制御装置
における出力画像配置処理状態を説明するための模式図
である。
FIGS. 4 to 7 are schematic diagrams for explaining an output image arrangement processing state in the print control apparatus according to the present invention.

【0041】図4は、用紙の向きが異なる場合の画像の
配置方法を示す。例えばA4のごとき、横長の用紙にあ
わせて形成された画像を、A4Rのごとき、縦長の用紙
に形成する場合、図4に示すように、画像を左回転する
と同時に、印刷パラメタを、後述する第(1)式から第
(4)式に示すごとく調整する。
FIG. 4 shows an image arranging method when the paper orientation is different. For example, when forming an image formed on a horizontally long sheet such as A4R on a vertically long sheet such as A4R, as shown in FIG. The adjustment is made as shown in the equations (1) to (4).

【0042】L2=T ……(1),T2=PW−W−
L……(2),W2=H……(3),H2=W……
(4) ここでW、H、L、T、PW、PHは横長の用紙のとき
のそれぞれ画像幅、画像高さ、左マージン、上マージ
ン、用紙幅、用紙高さを示す。
L2 = T (1), T2 = PW-W-
L ... (2), W2 = H ... (3), H2 = W ...
(4) Here, W, H, L, T, PW, and PH indicate an image width, an image height, a left margin, an upper margin, a sheet width, and a sheet height, respectively, for a horizontally long sheet.

【0043】また、W2、H2、L2、T2、PW2、
PH2は縦長の用紙のときのそれぞれ画像幅、画像高
さ、左マージン、上マージン、用紙幅、用紙高さを示
す。
Also, W2, H2, L2, T2, PW2,
PH2 indicates an image width, an image height, a left margin, an upper margin, a sheet width, and a sheet height, respectively, for a vertically long sheet.

【0044】A4Rのごとき、縦長の用紙にあわせて形
成された画像を、A4のごとき、横長の用紙に形成する
場合、図4に示すように、画像を右回転すると同時に、
印刷パラメタを、後述する第(5)式から第(8)式に
示すごとく調整する。
When an image formed on a vertically long sheet such as A4R is formed on a horizontally long sheet such as A4, the image is rotated rightward as shown in FIG.
The printing parameters are adjusted as shown in equations (5) to (8), which will be described later.

【0045】L=PH2−H2−T2 ……(5),T
=L2 ……(6),W=H2 ……(7), H=W
2……(8) ここで、W、H、L、T、PW、PHは横長の用紙のと
きのそれぞれ画像幅、画像高さ、左マージン、上マージ
ン、用紙幅、用紙高さを示す。またW2、H2、L2、
T2、PW2、PH2は縦長の用紙のときのそれぞれ画
像幅、画像高さ、左マージン、上マージン、用紙幅、用
紙高さを示す。
L = PH2-H2-T2 (5), T
= L2 (6), W = H2 (7), H = W
2 (8) Here, W, H, L, T, PW, and PH indicate an image width, an image height, a left margin, an upper margin, a sheet width, and a sheet height, respectively, for a horizontally long sheet. W2, H2, L2,
T2, PW2, and PH2 indicate an image width, an image height, a left margin, an upper margin, a paper width, and a paper height, respectively, when the paper is vertically long.

【0046】図5は、「サイズを変えずに左上に配置」
が指定されたときの、画像の配置方法を示す。この場
合、図5に示すように、新旧双方の用紙の左上隅が一致
するように画像を配置する。新しい用紙の印刷可能領域
をはみだした画像は、図5に示すようにクリップされ
る。同時に、印刷パラメータを、後述する第(9)式〜
第(14)式示すごとく調整する。
FIG. 5 shows “arranged at the upper left without changing the size”.
Indicates the method of arranging images when is specified. In this case, as shown in FIG. 5, the images are arranged so that the upper left corners of both the new and old sheets coincide. The image that extends beyond the printable area of the new paper is clipped as shown in FIG. At the same time, the print parameters are set in the following equations (9) to (9).
The adjustment is made as shown in Expression (14).

【0047】L2=L ……(9),T2=T ……
(10),R2=min(L+W,PW2−m) ……
(11),B2=min(T+H,PH2−m) ……
(12),W2=R2−L2 ……(13),H2=B
2−T2 ……(14) ここで、W、H、L、T、PW、PHは元の用紙のとき
のそれぞれ画像幅、画像高さ、左マージン、上マージ
ン、用紙幅、用紙高さを示す。また、W2、H2、L
2、T2、PW2、PH2は新しいの用紙のときのそれ
ぞれ画像幅、画像高さ、左マージン、上マージン、用紙
幅、用紙高さを示す。
L2 = L (9), T2 = T ...
(10), R2 = min (L + W, PW2-m) ...
(11), B2 = min (T + H, PH2-m) ...
(12), W2 = R2-L2 (13), H2 = B
2-T2 (14) Here, W, H, L, T, PW, and PH represent the image width, image height, left margin, upper margin, paper width, and paper height of the original paper, respectively. Show. W2, H2, L
2, T2, PW2, and PH2 indicate the image width, the image height, the left margin, the upper margin, the sheet width, and the sheet height, respectively, for a new sheet.

【0048】また、R2、B2はそれぞれL2+W2、
T2+H2を示す。また、mは印刷不可能幅を示す。な
お、プリンタ8の印刷不可能幅は、用紙サイズおよび上
下左右によらず、一定である。
R2 and B2 are respectively L2 + W2,
Shows T2 + H2. In addition, m indicates an unprintable width. The non-printable width of the printer 8 is constant irrespective of the paper size and the top, bottom, left and right.

【0049】図6は、「サイズを変えずに中央に配置」
が指定されたときの、画像の配置方法を示す。この場
合、図6に示すように、新旧双方の用紙の中央が一致す
るように画像を配置する。新しい用紙の印刷可能領域を
はみだした画像は、図6に示すようにクリップされる。
同時に、印刷パラメータを、後述する第(15)式〜第
(20)式に示すごとく調整する。
FIG. 6 shows the arrangement at the center without changing the size.
Indicates the method of arranging images when is specified. In this case, as shown in FIG. 6, the images are arranged such that the centers of both the new and old sheets coincide. The image that extends beyond the printable area of the new paper is clipped as shown in FIG.
At the same time, the printing parameters are adjusted as shown in equations (15) to (20) described below.

【0050】L2=max(L+(PW2−PW)/
2,m) ……(15),T2=max(T+(PH2
−PH)/2,m) ……(16),R2=min(L
+W,PW2−PW)/2,PW2−m) ……(1
7),B2=min(T+H,PH2−PH)/2,P
H2−m) ……(18),W2=R2−L2 ……
(19),H2=B2−T2 ……(20) ここで、W、H、L、T、PW、PHは元の用紙のとき
のそれぞれ画像幅、画像高さ、左マージン、上マージ
ン、用紙幅、用紙高さを示す。またW2、H2、L2、
T2、PW2、PH2は新しいの用紙のときのそれぞれ
画像幅、画像高さ、左マージン、上マージン、用紙幅、
用紙高さを示す。
L2 = max (L + (PW2-PW) /
2, m) (15), T2 = max (T + (PH2
−PH) / 2, m) (16), R2 = min (L
+ W, PW2-PW) / 2, PW2-m) (1)
7), B2 = min (T + H, PH2-PH) / 2, P
H2-m) (18), W2 = R2-L2.
(19), H2 = B2-T2 (20) Here, W, H, L, T, PW, and PH are the image width, image height, left margin, upper margin, and paper of the original paper, respectively. Indicates width and paper height. W2, H2, L2,
T2, PW2, PH2 are the image width, image height, left margin, top margin, paper width,
Indicates the paper height.

【0051】また、R2、B2はそれぞれL2+W2、
T2+H2を示す。また、mは印刷不可能幅を示す。
R2 and B2 are respectively L2 + W2,
Shows T2 + H2. In addition, m indicates an unprintable width.

【0052】図7は、「サイズを変えて中央に配置」が
指定されたときの、画像の配置方法を示す。この場合、
図7に示すように、画像を変倍して新しい用紙の印刷可
能領域をはみでない範囲でできるだけ大きくなるように
変倍し、また画像の中央が新しい用紙の中央と一致する
ように画像を配置すると同時に、印刷パラメータを、前
述した第(21)式から第(25)式に示すごとく調整
する。
FIG. 7 shows an image arranging method when "change the size and arrange at the center" is designated. in this case,
As shown in FIG. 7, the image is scaled so that the printable area of the new sheet is as large as possible without exceeding the area, and the image is adjusted so that the center of the image matches the center of the new sheet. Simultaneously with the arrangement, the print parameters are adjusted as shown in the above-described equations (21) to (25).

【0053】N=min(PW2−2*m)/W),
(PH2−2*m)/H) ……(21),L2=(P
W2−N*W)/2 ……(22),T2=(PH2−
N*H)/2 ……(23),W2=N*W ……(2
4),H2=N*H ……(25) ここで、Nは変倍率を示す。またW、H、L、T、P
W、PHは元の用紙のときのそれぞれ画像幅、画像高
さ、左マージン、上マージン、用紙幅、用紙高さを示
す。またW2、H2、L2、T2、PW2、PH2は新
しいの用紙のときのそれぞれ画像幅、画像高さ、左マー
ジン、上マージン、用紙幅、用紙高さを示す。また、m
は印刷不可能幅を示す。
N = min (PW2-2 * m) / W),
(PH2-2 * m) / H) (21), L2 = (P
W2-N * W) / 2 (22), T2 = (PH2-
N * H) / 2 (23), W2 = N * W (2)
4), H2 = N * H (25) Here, N indicates a magnification. W, H, L, T, P
W and PH indicate an image width, an image height, a left margin, an upper margin, a sheet width, and a sheet height of the original sheet, respectively. W2, H2, L2, T2, PW2, and PH2 indicate an image width, an image height, a left margin, an upper margin, a sheet width, and a sheet height, respectively, for a new sheet. Also, m
Indicates a non-printable width.

【0054】次に、図8および図9に示すフローチャー
トを参照し、図1に示したホストコンピュータ1内のス
テータスモニタ5の処理の詳細を説明する。
Next, details of the processing of the status monitor 5 in the host computer 1 shown in FIG. 1 will be described with reference to the flowcharts shown in FIGS.

【0055】図8,図9は、本発明に係る印刷制御装置
における第1のデータ処理手順の一例を示すフローチャ
ートであり、ステータスモニタ5による印刷ジョブが渡
されたときの処理手順に対応する。なお、S1〜S34
は各ステップを示す。
FIGS. 8 and 9 are flowcharts showing an example of a first data processing procedure in the print control apparatus according to the present invention, and correspond to a processing procedure when a print job is passed by the status monitor 5. Note that S1 to S34
Indicates each step.

【0056】まず、印刷ジョブが起動されると、ステッ
プS1にてジョブの全てのページを処理したか判定す
る。全てのページの処理を終了した場合は処理を終了
し、復帰する。
First, when a print job is started, it is determined in step S1 whether all pages of the job have been processed. When the processing for all pages is completed, the processing is terminated and the process returns.

【0057】一方、ステップS1で、全てのページの処
理を終了していないと判定した場合は、ステップS2に
てメッセージ領域をクリアする。
On the other hand, if it is determined in step S1 that the processing of all pages has not been completed, the message area is cleared in step S2.

【0058】次に、ステップS3にて、プリンタからス
テータスを取得する。次に、ステップS4にて、取得し
たステータス中の現在のページの給紙口自動選択フラグ
が「1」であるか判定し、給紙口自動選択フラグが
「1」であると判定した場合は、ステップS5にて、い
ずれかの給紙口に、現在のページの用紙サイズと一致す
る用紙がセットされているか判定し、いずれかの給紙口
に、現在のページの用紙サイズと一致する用紙がセット
されていると判定した場合は、ステップS6にて現在の
ページの用紙サイズと一致する用紙がセットされている
給紙口のうち一つを、現在のページの給紙口にセットす
る。
Next, in step S3, the status is obtained from the printer. Next, in step S4, it is determined whether the paper feed port automatic selection flag of the current page in the acquired status is “1”, and if it is determined that the paper feed port automatic selection flag is “1”, In step S5, it is determined whether a sheet matching the sheet size of the current page is set in any one of the sheet feeding ports, and a sheet matching the sheet size of the current page is set in any one of the sheet feeding ports. Is set, in step S6, one of the paper feed ports in which the paper size matching the paper size of the current page is set is set to the paper feed port of the current page.

【0059】次に、ステップS7にて、現在のページの
データを全てプリンタに転送し、正常に印刷された場合
には現在のページを破棄した上で、ステップS1に戻
る。なお、印刷中にエラーが発生した場合は、データ転
送処理の中で必要な回復処理を行う。
Next, in step S7, all the data of the current page is transferred to the printer. If the data is printed normally, the current page is discarded, and the process returns to step S1. If an error occurs during printing, a necessary recovery process is performed in the data transfer process.

【0060】一方、ステップS5にて、いずれの給紙口
にも、現在のページの用紙サイズと一致する用紙がセッ
トされていないと判定した場合は、ステップS8にて、
メッセージ領域に、例えば「A4をいずれかのカセット
にセットしてください または 給紙方法を変更してく
ださい」のごときメッセージを表示し、ステップS9に
てプリンタのステータスを取得する。
On the other hand, if it is determined in step S5 that no paper that matches the paper size of the current page is set in any of the paper feed ports, then in step S8,
In the message area, for example, a message such as "Please set A4 in one of the cassettes or change the paper feeding method" is displayed, and the printer status is obtained in step S9.

【0061】次に、ステップS10にて、用紙のステー
タスに変更があったかどうかを判定し、用紙のステータ
スに変更があったと判定した場合は、ステップS2に戻
り、新しい用紙のステータスに基づいて上述の処理をや
り直す。
Next, at step S10, it is determined whether or not the status of the paper has been changed. If it is determined that the status of the paper has been changed, the process returns to step S2, and the above-mentioned status is determined based on the status of the new paper. Redo the process.

【0062】一方、ステップS10で、用紙のステータ
スに変更がなかったと判定した場合は、ステップS11
にて変更ボタンが押されたか判定し、変更ボタンが押さ
れなかったと判定した場合は、ステップS9に戻り、用
紙のステータスが変化するか、変更ボタンが押されるま
で上述の処理を繰り返す。
On the other hand, if it is determined in step S10 that the status of the sheet has not been changed, the process proceeds to step S11.
It is determined whether or not the change button has been pressed, and if it is determined that the change button has not been pressed, the process returns to step S9, and the above processing is repeated until the status of the paper changes or the change button is pressed.

【0063】一方、ステップS11で、変更ボタンが押
されたと判定した場合は、ステップS12にて、指定さ
れた給紙口に用紙があるか判定し、指定された給紙口に
用紙がないと判定した場合には、ステップS9に戻る。
On the other hand, if it is determined in step S11 that the change button has been pressed, it is determined in step S12 whether there is any paper in the specified paper supply port. If it is determined, the process returns to step S9.

【0064】一方、ステップS12で、指定された給紙
口に用紙があると判定した場合には、ステップS13に
て、指定された給紙口に、現在のページの用紙サイズと
同じ大きさで向きが違う用紙がセットされているか判定
し、指定された給紙口に、現在のページの用紙サイズと
同じ大きさで向きが違う用紙がセットされていると判定
した場合は、ステップS16に進む。
On the other hand, if it is determined in step S12 that there is paper in the designated paper feed port, then in step S13, the designated paper feed port is set to the same size as the paper size of the current page. It is determined whether sheets of different orientations have been set, and if it is determined that sheets of the same size as the current page and of different orientations have been set in the designated paper feed slot, the process proceeds to step S16. .

【0065】一方、ステップS13で、指定された給紙
口に、現在のページの用紙サイズと同じ大きさで向きが
違う用紙以外の用紙がセットされている場合は、ステッ
プS14にてダイアログを表示し、次に、ステップS1
5にてボタン押下を待ち、押されたボタンがキャンセル
ボタンであると判定した場合には、ステップS2に戻
り、上述の処理をやり直す。この場合、用紙のステータ
スに変更がなければ、同じステップを経由して、ステッ
プS8にて再度メッセージが表示される。
On the other hand, if it is determined in step S13 that a sheet other than paper having the same size as the current page and having a different orientation is set in the designated paper feed port, a dialog is displayed in step S14. And then step S1
At 5, the user waits for the button to be pressed. If it is determined that the pressed button is the cancel button, the process returns to step S2, and the above-described processing is performed again. In this case, if there is no change in the status of the sheet, a message is displayed again in step S8 via the same step.

【0066】一方、ステップS15で、押されたボタン
がOKボタンであると判定した場合には、ステップS1
6に進み、現在のページの用紙サイズを、指定された給
紙口にセットされている用紙サイズに変更し、また現在
のページの用紙幅、用紙高さを変更し、ステップS17
にて用紙サイズ変更に伴う画像調整処理を行い、ステッ
プS2に戻る。
On the other hand, if it is determined in step S15 that the pressed button is the OK button, the process proceeds to step S1.
The process proceeds to step S17, where the paper size of the current page is changed to the paper size set in the specified paper feed port, and the paper width and the paper height of the current page are changed.
Performs the image adjustment processing accompanying the paper size change, and returns to step S2.

【0067】一方、ステップS4にて、現在のページの
給紙口自動選択フラグが「0」であると判定した場合
は、ステップS18にて、現在のページの給紙口に用紙
があるかどうか判定し、現在のページの給紙口に用紙が
ないと判定した場合は、ステップS19にて、メッセー
ジ領域に、例えば「A4をカセット1にセットしてくだ
さい または 給紙方法を変更してください」のごとき
メッセージを表示し、ステップS20にて、プリンタの
ステータスを取得する。
On the other hand, if it is determined in step S4 that the paper feed port automatic selection flag of the current page is "0", it is determined in step S18 whether paper is present in the paper feed port of the current page. If it is determined that there is no paper in the paper feeding port of the current page, in step S19, for example, "Please set A4 in cassette 1 or change the paper feeding method" in the message area. Is displayed, and in step S20, the status of the printer is obtained.

【0068】次に、ステップS21にて、用紙のステー
タスに変更があったかどうかを判定し、用紙のステータ
スに変更があったと判定した場合は、ステップS2に戻
り、新しい用紙のステータスに基づいて上述の処理をや
り直す。
Next, in step S21, it is determined whether or not the status of the paper has been changed. If it is determined that the status of the paper has been changed, the process returns to step S2, and the above-mentioned status is determined based on the status of the new paper. Redo the process.

【0069】一方、ステップS21で、用紙のステータ
スに変更がなかった場合は、ステップS22にて変更ボ
タンが押されたかどうかを判定し、変更ボタンが押され
なかったと判定した場合は、ステップS20に戻り、用
紙のステータスが変化するか、変更ボタンが押されるま
で上述の処理を繰り返す。
On the other hand, if the status of the paper has not been changed in step S21, it is determined whether or not the change button has been pressed in step S22. If it is determined that the change button has not been pressed, the process proceeds to step S20. Returning, the above process is repeated until the status of the sheet changes or the change button is pressed.

【0070】一方、ステップS22で、変更ボタンが押
されたと判定した場合は、ステップS23にて、指定さ
れた給紙口に用紙があるか判定し、指定された給紙口に
用紙がないと判定した場合には、ステップS25にて、
現在のページの給紙口を指定された給紙口に変更し、ス
テップS2に戻る。この場合、用紙のステータスに変更
がなければ、同じステップを経由して、ステップS19
にて再度メッセージが表示される。
On the other hand, if it is determined in step S22 that the change button has been pressed, it is determined in step S23 whether or not there is a sheet in the specified sheet supply port. If determined, in step S25,
The paper feed port of the current page is changed to the specified paper feed port, and the process returns to step S2. In this case, if there is no change in the status of the sheet, the process goes through the same step to step S19
Displays the message again.

【0071】一方、ステップS23にて、指定された給
紙口に用紙があると判定された場合には、ステップS2
4にて、指定された給紙口に、現在のページの用紙サイ
ズと同じ大きさで同じ向きの用紙がセットされているか
判定し、指定された給紙口に、現在のページの用紙サイ
ズと同じ大きさで同じ向きの用紙がセットされていると
判定した場合は、ステップS25にて、現在のページの
給紙口を、指定された給紙口に変更し、ステップS2に
戻る。
On the other hand, if it is determined in step S23 that there is a sheet in the designated sheet feed port, step S2
In step 4, it is determined whether paper of the same size and in the same direction as the paper size of the current page is set in the designated paper feed port. If it is determined that sheets of the same size and the same direction are set, in step S25, the paper feed port of the current page is changed to the specified paper feed port, and the process returns to step S2.

【0072】一方、ステップS24にて、指定された給
紙口に、現在のページの用紙サイズと同じ大きさで同じ
向きの用紙がセットされていないと判定した場合は、ス
テップS26にて、指定された給紙口に、現在のページ
の用紙サイズと同じ大きさで向きが違う用紙がセットさ
れているか判定し、指定された給紙口に、現在のページ
の用紙サイズと同じ大きさで向きが違う用紙がセットさ
れていると判定した場合は、ステップS29に進む。
On the other hand, if it is determined in step S24 that a sheet having the same size and the same direction as the sheet size of the current page is not set in the designated sheet feeding port, the process proceeds to step S26. Determines whether paper of the same size as the current page and of a different orientation is set in the specified paper slot, and the specified paper slot is set to the same size as the current page. If it is determined that a different sheet is set, the process proceeds to step S29.

【0073】一方、ステップS26で、指定された給紙
口に、現在のページの用紙サイズと同じ大きさで向きが
違う用紙以外の用紙がセットされていると判定した場合
は、ステップS27にてダイアログを表示し、次に、ス
テップS28にて、ボタン押下を待つ。そして、押され
たボタンがキャンセルボタンであると判定した場合に
は、ステップS2に戻り、上述の処理をやり直す。この
場合、用紙のステータスに変更がなければ、同じステッ
プを経由して、ステップS19にて再度メッセージが表
示される。
On the other hand, if it is determined in step S26 that paper other than paper having the same size as the current page and having a different orientation is set in the designated paper feed port, the flow advances to step S27. A dialog is displayed, and then, in step S28, a button press is waited. If it is determined that the pressed button is the cancel button, the process returns to step S2, and the above-described processing is performed again. In this case, if there is no change in the status of the sheet, a message is displayed again in step S19 via the same step.

【0074】一方、ステップS28で、押されたボタン
がOKボタンであると判定した場合には、ステップS2
9に進み、ステップS29にて、現在のページの給紙口
を、指定された給紙口に変更し、ステップS16にて、
現在のページの用紙サイズを、指定された給紙口にセッ
トされている用紙サイズに変更し、ステップS17にて
用紙サイズ変更に伴う画像調整処理を行い、ステップS
2に戻る。
On the other hand, if it is determined in step S28 that the pressed button is the OK button, the process proceeds to step S2.
In step S29, the paper feed port of the current page is changed to the specified paper feed port, and in step S16,
The paper size of the current page is changed to the paper size set in the specified paper feed port, and image adjustment processing accompanying the paper size change is performed in step S17.
Return to 2.

【0075】一方、ステップS18にて、現在のページ
の給紙口に用紙があると判定した場合は、ステップS3
0にて、現在のページの用紙サイズと、現在のページの
給紙口にセットされている用紙サイズが一致するか判定
し、現在のページの用紙サイズと、現在のページの給紙
口にセットされている用紙サイズが一致する場合は、ス
テップS7にて、現在のページのデータを全てプリンタ
に転送する。
On the other hand, if it is determined in step S18 that there is a sheet in the sheet feeding port of the current page, the process proceeds to step S3.
At 0, it is determined whether the paper size of the current page matches the paper size set in the paper feed port of the current page, and the paper size of the current page is set in the paper feed port of the current page. If the paper sizes match, the data of the current page is all transferred to the printer in step S7.

【0076】一方、ステップS30にて、現在のページ
の用紙サイズと、現在のページの給紙口にセットされて
いる用紙サイズが一致しないと判定した場合は、ステッ
プS31にて、メッセージ領域に、例えば「A4をカセ
ット1にセットしてくださいまたは 給紙方法を変更し
てください」のごときメッセージを表示し、ステップS
32にて、プリンタのステータスを取得する。
On the other hand, if it is determined in step S30 that the paper size of the current page does not match the paper size set in the paper feed port of the current page, in step S31, For example, a message such as "Please set A4 in cassette 1 or change the paper feeding method" is displayed and step S
At 32, the status of the printer is obtained.

【0077】次に、ステップS33にて、取得したステ
ータス中の用紙のステータスに変更があったかどうかを
判定し、用紙のステータスに変更があったと判定した場
合は、ステップS2に戻り、新しい用紙のステータスに
基づいて上述の処理をやり直す。
Next, in step S33, it is determined whether or not the status of the paper in the acquired status has been changed. If it is determined that the status of the paper has been changed, the process returns to step S2 to return to the status of the new paper. The above-mentioned processing is redone based on.

【0078】一方、ステップS33で、用紙のステータ
スに変更がなかったと判定した場合は、ステップS34
に進み、変更ボタンが押下されたかどうかを判断し、Y
ESならステップS23に進み、NOならばステップS
32へ戻る。
On the other hand, if it is determined in step S33 that the status of the sheet has not been changed, the process proceeds to step S34.
To determine whether the change button has been pressed, and
If ES, proceed to step S23, if NO, step S23
Return to 32.

【0079】図10,図11は、本発明に係る印刷制御
装置における第2のデータ処理手順の一例を示すフロー
チャートであり、図8に示したステップ17の画像調整
処理の詳細手順に対応する。なお、S51〜S71は各
ステップを示す。
FIGS. 10 and 11 are flowcharts showing an example of the second data processing procedure in the print control apparatus according to the present invention, and correspond to the detailed procedure of the image adjustment processing in step 17 shown in FIG. Note that S51 to S71 indicate each step.

【0080】画像調整処理が呼び出されると、ステップ
S51にて回転が必要か判定する。古い用紙サイズと、
新しい用紙サイズの、用紙の向きが、例えばA3とA4
Rのように、同じである場合、回転は不要なので、ステ
ップS52にて、変倍が必要か判定する。古い用紙サイ
ズと、新しい用紙サイズの、用紙の大きさが同じで向き
が異なる場合、あるいは図8に示すステップS14また
は図9に示すステップS27にて表示されるダイアログ
にて、「サイズを変えずに左上に配置」または「サイズ
を変えずに中央に配置」が選択された場合には、変倍は
不要であるので、ステップS53にて、画像全体が印刷
可能であるか、すなわち画像が新しい用紙の印刷可能領
域に納まるかを判定する。
When the image adjustment processing is called, it is determined in step S51 whether rotation is necessary. Old paper size,
The paper orientation of the new paper size is, for example, A3 and A4
If they are the same, as in R, no rotation is required, so it is determined in step S52 whether magnification is required. When the old paper size and the new paper size have the same paper size but different orientations, or in the dialog displayed in step S14 shown in FIG. 8 or step S27 shown in FIG. In the case where “place in the upper left corner” or “place in the center without changing the size” is selected, no scaling is necessary, and in step S53, whether the entire image can be printed, that is, if the image is new It is determined whether or not it fits in the printable area of the paper.

【0081】具体的には、図5または図6に示す式によ
り計算されるW2、H2がそれぞれW、Hと等しい場合
に画像全体を印刷可能である。
Specifically, when W2 and H2 calculated by the equations shown in FIG. 5 or FIG. 6 are equal to W and H, respectively, the entire image can be printed.

【0082】一方、ステップS53にて、画像が新しい
用紙の印刷可能領域に納まると判定した場合には、ステ
ップS54にて、中央に配置するか判定する。図8に示
すステップS14または図9に示すステップS27にて
表示されるダイアログにて、「サイズを変えずに中央に
配置」が選択されていないと判定した場合は、中央に配
置しない場合なので、ステップS55にて、図5に示し
た式にしたがって印刷パラメータの調整を行い、復帰す
る。
On the other hand, if it is determined in step S53 that the image fits in the printable area of the new sheet, it is determined in step S54 whether the image is to be placed at the center. If it is determined in the dialog displayed in step S14 shown in FIG. 8 or step S27 shown in FIG. 9 that “place at center without changing size” is not selected, it means that the image is not placed at the center. In step S55, the print parameters are adjusted according to the formula shown in FIG. 5, and the process returns.

【0083】一方、ステップS54にて、図8に示すス
テップS14または図9に示したステップS27にて表
示されるダイアログにて、「サイズを変えずに中央に配
置」が選択されていると判定した場合は、中央に配置す
る場合なので、ステップS56にて、図6に示した式に
したがって印刷パラメータの調整を行い、復帰する。
On the other hand, in step S 54, it is determined that “place at center without changing size” is selected in the dialog displayed in step S 14 shown in FIG. 8 or step S 27 shown in FIG. In this case, the print parameters are adjusted in accordance with the formula shown in FIG. 6 in step S56, and the process returns.

【0084】一方、ステップS53にて、画像が新しい
用紙の印刷可能領域に納まらないと判定した場合には、
画像をクリップする必要があるので、ステップS57に
て画像データを復号し、ステップS58にて、中央に配
置するか判定する。図8に示すステップS14または図
9に示すステップS27にて表示されるダイアログに
て、「サイズを変えずに中央に配置」が選択されていな
いと判定した場合は、中央に配置しない場合なので、ス
テップS59にて、画像データを符号化する。この際、
クリップされる画像があればそれを除外して符号化を行
う。
On the other hand, if it is determined in step S53 that the image does not fit in the printable area of the new paper,
Since the image needs to be clipped, the image data is decoded in step S57, and in step S58, it is determined whether the image is to be arranged at the center. If it is determined in the dialog displayed in step S14 shown in FIG. 8 or step S27 shown in FIG. 9 that “place at center without changing size” is not selected, it means that the image is not placed at the center. In step S59, the image data is encoded. On this occasion,
If there is an image to be clipped, it is excluded and encoding is performed.

【0085】次に、ステップS55にて、図5に示した
式にしたがって印刷パラメータの調整を行い、復帰す
る。
Next, in step S55, the print parameters are adjusted in accordance with the equations shown in FIG. 5, and the process returns.

【0086】一方、ステップS58にて、図8に示すス
テップS14または図9に示したステップS27にて表
示されるダイアログにて、「サイズを変えずに中央に配
置」が選択されていると判定した場合は、中央に配置す
る場合なので、ステップS60にて、画像データを符号
化する。この際、クリップされる画像があればそれを除
外して符号化を行う。
On the other hand, in step S58, it is determined that "place center without changing size" is selected in the dialog displayed in step S14 shown in FIG. 8 or step S27 shown in FIG. In this case, the image data is encoded in step S60 because the image data is arranged at the center. At this time, encoding is performed excluding any clipped images.

【0087】次に、ステップS56にて、図6に示す式
にしたがって印刷パラメータの調整を行い、復帰する。
Next, in step S56, the print parameters are adjusted according to the equations shown in FIG. 6, and the process returns.

【0088】一方、ステップS52にて、図8に示すス
テップS14または図9に示したステップS27にて表
示されるダイアログにて、「サイズを変えて中央に配
置」が選択されたと判定した場合には、変倍が必要であ
るので、ステップS61にて画像データを復号する。
On the other hand, if it is determined in step S52 that “change the size and place in the center” is selected in the dialog displayed in step S14 shown in FIG. 8 or step S27 shown in FIG. Needs to be scaled, the image data is decoded in step S61.

【0089】次に、ステップS62にて図7に示す式に
したがって画像を変倍する。次に、ステップS63にて
画像データを符号化する。次に、ステップS64にて、
図7に示す式にしたがって印刷パラメータの調整を行
い、復帰する。
Next, in step S62, the image is scaled according to the formula shown in FIG. Next, image data is encoded in step S63. Next, in step S64,
The print parameters are adjusted according to the formula shown in FIG.

【0090】一方、ステップS51にて、古い用紙サイ
ズが縦長で、新しい用紙サイズが横長の場合、右回転が
必要なので、ステップS65にて画像データを復号す
る。
On the other hand, if the old paper size is portrait and the new paper size is landscape in step S51, clockwise rotation is necessary, so image data is decoded in step S65.

【0091】次にステップS66にて、画像データを右
回転する。次に、ステップS67にて、図4に示した第
(5)式〜第(8)式に示すように印刷パラメータを調
整する。
Next, in step S66, the image data is rotated right. Next, in step S67, the print parameters are adjusted as shown in equations (5) to (8) shown in FIG.

【0092】次に、ステップS68にて、変倍が必要か
判定する。古い用紙サイズと、新しい用紙サイズの、用
紙の大きさが同じで向きが異なる場合、あるいは図8に
示すステップS14または図9に示したステップS27
にて表示されるダイアログにて、「サイズを変えずに左
上に配置」または「サイズを変えずに中央に配置」が選
択されたと判定した場合には、変倍は不要であるので、
ステップS58に進み、以下上述と同様に処理が進む。
Next, in step S68, it is determined whether or not zooming is necessary. If the old paper size and the new paper size have the same paper size but different orientations, or step S14 shown in FIG. 8 or step S27 shown in FIG.
If it is determined that “Place at the upper left without changing the size” or “Place at the center without changing the size” is selected in the dialog displayed at, no scaling is required,
Proceeding to step S58, the process proceeds as described above.

【0093】一方、ステップS68にて、図8に示すス
テップS14または図9に示したステップS27にて表
示されるダイアログにて、「サイズを変えて中央に配
置」が選択された場合には、変倍が必要であるので、ス
テップS62に進み、以下上述と同様に処理が進む。
On the other hand, in step S68, if "change the size and arrange in the center" is selected in the dialog displayed in step S14 shown in FIG. 8 or step S27 shown in FIG. Since scaling is required, the process proceeds to step S62, and the process proceeds as described above.

【0094】一方、ステップS51にて、古い用紙サイ
ズが横長で、新しい用紙サイズが縦長の場合、左回転が
必要なので、ステップS69にて画像データを復号す
る。
On the other hand, if the old paper size is horizontal and the new paper size is vertical in step S51, the image data is decoded in step S69 because a left rotation is necessary.

【0095】次に、ステップS70にて画像データを左
回転する。次に、ステップS71にて、図4に示した第
(1)式〜第(4)式に示すように印刷パラメータを調
整する。次にステップS68に進み、以下上述と同様に
処理が進む。〔他の実施形態〕なお、上記実施形態で
は、給紙口自動選択フラグが「1」の場合に、給紙口を
指定することにより間接的に用紙サイズの指定を行って
いたが、これに代えて他の手段、例えばプリンタがサポ
ートする全ての用紙サイズのリストから選択する、ある
いは現在いずれかの給紙口にセットされている用紙のリ
ストから選択するようにしてもよい。
Next, in step S70, the image data is rotated to the left. Next, in step S71, the print parameters are adjusted as shown in equations (1) to (4) shown in FIG. Next, the process proceeds to step S68, and the process proceeds as described above. [Other Embodiments] In the above embodiment, when the paper feed port automatic selection flag is "1", the paper size is indirectly specified by specifying the paper feed port. Alternatively, other means, such as selecting from a list of all paper sizes supported by the printer, or selecting from a list of papers currently set in any of the paper feed ports, may be used.

【0096】上記実施形態によれば、既に開始した印刷
の途中に用紙がなくなって、向きの異なる用紙に出力す
る場合でも、印刷の直前に実際の用紙の向きに合わせて
画像を回転するため、画像が欠けることなく印刷を継続
して行うことができる。
According to the above-described embodiment, even when the paper has run out in the middle of the printing that has already been started and the paper is output on a paper having a different orientation, the image is rotated in accordance with the actual paper orientation immediately before the printing. Printing can be performed continuously without missing images.

【0097】また、出力しようとした大きさの用紙がな
いために、大きさの異なる用紙に出力する場合に、印刷
の目的に応じて画像の配置方法を選択することができる
ので、ユーザの利便性が向上する。
Further, since there is no paper of the size to be output, when outputting to paper of different sizes, the method of arranging images can be selected according to the purpose of printing. The performance is improved.

【0098】以下、図12に示すメモリマップを参照し
て本発明に係る印刷制御装置を適用可能な印刷システム
で読み出し可能なデータ処理プログラムの構成について
説明する。
Hereinafter, the configuration of a data processing program readable by a printing system to which the print control apparatus according to the present invention can be applied will be described with reference to a memory map shown in FIG.

【0099】図12は、本発明に係る印刷制御装置を適
用可能な印刷システムで読み出し可能な各種データ処理
プログラムを格納する記憶媒体のメモリマップを説明す
る図である。
FIG. 12 is a diagram illustrating a memory map of a storage medium for storing various data processing programs that can be read by a printing system to which the print control device according to the present invention can be applied.

【0100】なお、特に図示しないが、記憶媒体に記憶
されるプログラム群を管理する情報、例えばバージョン
情報,作成者等も記憶され、かつ、プログラム読み出し
側のOS等に依存する情報、例えばプログラムを識別表
示するアイコン等も記憶される場合もある。
Although not shown, information for managing a group of programs stored in the storage medium, for example, version information, a creator, etc. are also stored, and information dependent on the OS or the like on the program reading side, for example, An icon or the like for identification display may also be stored.

【0101】さらに、各種プログラムに従属するデータ
も上記ディレクトリに管理されている。また、各種プロ
グラムをコンピュータにインストールするためのプログ
ラムや、インストールするプログラムが圧縮されている
場合に、解凍するプログラム等も記憶される場合もあ
る。
Further, data dependent on various programs is also managed in the directory. In addition, a program for installing various programs on a computer or a program for decompressing a program to be installed when the program to be installed is compressed may be stored.

【0102】本実施形態における図8〜図11に示す機
能が外部からインストールされるプログラムによって、
ホストコンピュータにより遂行されていてもよい。そし
て、その場合、CD−ROMやフラッシュメモリやFD
等の記憶媒体により、あるいはネットワークを介して外
部の記憶媒体から、プログラムを含む情報群を出力装置
に供給される場合でも本発明は適用されるものである。
The functions shown in FIGS. 8 to 11 in this embodiment are executed by a program installed from the outside.
It may be performed by a host computer. And in that case, CD-ROM, flash memory, FD
The present invention can be applied to a case in which a group of information including a program is supplied to an output device from a storage medium such as the above or from an external storage medium via a network.

【0103】以上のように、前述した実施形態の機能を
実現するソフトウエアのプログラムコードを記録した記
憶媒体を、システムあるいは装置に供給し、そのシステ
ムあるいは装置のコンピュータ(またはCPUやMP
U)が記憶媒体に格納されたプログラムコードを読出し
実行することによっても、本発明の目的が達成されるこ
とは言うまでもない。
As described above, the storage medium storing the program codes of the software for realizing the functions of the above-described embodiments is supplied to the system or the apparatus, and the computer (or CPU or MP) of the system or the apparatus is supplied.
It goes without saying that the object of the present invention is also achieved when U) reads and executes the program code stored in the storage medium.

【0104】この場合、記憶媒体から読み出されたプロ
グラムコード自体が本発明の新規な機能を実現すること
になり、そのプログラムコードを記憶した記憶媒体は本
発明を構成することになる。
In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.

【0105】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピー(登録商標)ディス
ク,ハードディスク,光ディスク,光磁気ディスク,C
D−ROM,CD−R,磁気テープ,不揮発性のメモリ
カード,ROM,EEPROM等を用いることができ
る。
As a storage medium for supplying the program code, for example, a floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, C
D-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, EEPROM, etc. can be used.

【0106】また、コンピュータが読み出したプログラ
ムコードを実行することにより、前述した実施形態の機
能が実現されるだけでなく、そのプログラムコードの指
示に基づき、コンピュータ上で稼働しているOS(オペ
レーティングシステム)等が実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれることは言うまでもない。
The functions of the above-described embodiments are implemented when the computer executes the readout program codes, and the OS (Operating System) running on the computer is executed based on the instructions of the program codes. ) And the like perform part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0107】さらに、記憶媒体から読み出されたプログ
ラムコードが、コンピュータに挿入された機能拡張ボー
ドやコンピュータに接続された機能拡張ユニットに備わ
るメモリに書き込まれた後、そのプログラムコードの指
示に基づき、その機能拡張ボードや機能拡張ユニットに
備わるCPU等が実際の処理の一部または全部を行い、
その処理によって前述した実施形態の機能が実現される
場合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board 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. The CPU provided in the function expansion board or function expansion unit performs part or all of the actual processing,
It goes without saying that a case where the function of the above-described embodiment is realized by the processing is also included.

【0108】[0108]

【発明の効果】以上説明したように、本発明に係る第
1,第2,第5,第6,第9,第10の発明によれば、
取得されたプリンタの状態が所定の用紙がないことを示
しているときに他の用紙サイズに切り替えることを指定
し、該指定に基づき、送信される符号化画像データの向
きが指定された用紙の向きと異なる場合に、送信される
符号化画像データを復号して得られた画像データを回転
して符号化するので、あるいは、取得されたプリンタの
状態が所定の給紙口に所定の用紙がないことを示してい
るときに給紙口を指定し、該指定に基づき送信される符
号化画像データの向きが指定された給紙口にある用紙の
向きと異なる場合に、送信される符号化画像データを復
号して得られた画像データを回転して符号化するので、
印刷処理中に、給紙すべき用紙がなくなる状態に遷移し
ても、同サイズで給紙向きの異なる用紙が給紙可能であ
れば印刷処理を中断することなく、正常な印刷結果を得
ることができる印刷制御装置および印刷制御方法および
記憶媒体を提供することである。
As described above, according to the first, second, fifth, sixth, ninth and tenth aspects of the present invention,
When the acquired state of the printer indicates that there is no predetermined paper, it is designated to switch to another paper size, and based on the designation, the direction of the encoded image data to be transmitted is specified for the designated paper. When the orientation is different, the image data obtained by decoding the transmitted encoded image data is rotated and encoded. Indicates that there is no paper feed port, and if the direction of the encoded image data transmitted based on the specification is different from the direction of the paper in the specified paper feed port, the encoding to be transmitted is performed. Since the image data obtained by decoding the image data is rotated and encoded,
Even if the printer shifts to a state where there is no more paper to be fed during the printing process, if the same size paper with different feeding directions can be fed, the normal printing result can be obtained without interrupting the printing process. It is an object of the present invention to provide a print control device, a print control method, and a storage medium that can perform the printing.

【0109】本発明の第3,第4,第7,第8,第1
1,第12の発明によれば、取得されたプリンタの状態
が所定の用紙がないことを示しているときに、他の用紙
サイズに切り替えることを指定し、該指定に基づき送信
される符号化画像データの大きさが指定された用紙の大
きさと異なる場合に複数の配置方法のうちの1つを指定
し、該指定に基づき複数の配置方法のうちの1つによ
り、送信される符号化画像データを配置するので、ある
いは、取得されたプリンタの状態が所定の給紙口に所定
の用紙がないことを示しているときに給紙口を指定し、
該指定に基づき送信される符号化画像データの大きさが
指定された給紙口にある用紙の大きさと異なる場合に、
複数の配置方法のうちの1つを指定し、該指定に基づき
複数の配置方法のうちの1つにより、送信される符号化
画像データを配置するので、印刷処理中に、給紙すべき
用紙がなくなる状態に遷移しても、異なるサイズの用紙
が給紙可能であれば印刷処理を中断することなく、オリ
ジナル画像を異なるサイズの用紙内にユーザが意図する
配置で納めた印刷結果を得ることができる等の効果を奏
する。
The third, fourth, seventh, eighth, and first aspects of the present invention
According to the twelfth aspect, when the acquired state of the printer indicates that there is no predetermined paper, it is designated to switch to another paper size, and the encoding transmitted based on the designation is performed. When the size of the image data is different from the specified paper size, one of a plurality of arrangement methods is designated, and the encoded image transmitted by one of the plurality of arrangement methods based on the designation. Since the data is arranged, or when the acquired printer state indicates that the predetermined paper is not present in the predetermined paper supply port, the paper supply port is designated,
If the size of the encoded image data transmitted based on the designation is different from the size of the paper at the designated paper feed port,
One of the plurality of arrangement methods is designated, and the encoded image data to be transmitted is arranged by one of the plurality of arrangement methods based on the designation. Even if the printer has changed to a state where the printout has disappeared, if a different size of paper can be fed, the printing process can be performed without interrupting the printing process and the original image can be stored in the different size paper in the layout intended by the user. And the like.

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

【図1】本発明の第1実施形態を示す印刷制御装置の構
成を説明するブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a print control apparatus according to a first embodiment of the present invention.

【図2】図1に示したホストコンピュータ1のディスプ
レイに表示される印刷設定画面の一例を示す図である。
FIG. 2 is a diagram showing an example of a print setting screen displayed on a display of a host computer 1 shown in FIG.

【図3】図1に示したホストコンピュータのディスプレ
イに表示されるダイアログ画面の一例を示す図である。
FIG. 3 is a diagram illustrating an example of a dialog screen displayed on a display of the host computer illustrated in FIG. 1;

【図4】本発明に係る印刷制御装置における出力画像配
置処理状態を説明するための模式図である。
FIG. 4 is a schematic diagram for explaining an output image arrangement processing state in the print control apparatus according to the present invention.

【図5】本発明に係る印刷制御装置における出力画像配
置処理状態を説明するための模式図である。
FIG. 5 is a schematic diagram for explaining an output image arrangement processing state in the print control apparatus according to the present invention.

【図6】本発明に係る印刷制御装置における出力画像配
置処理状態を説明するための模式図である。
FIG. 6 is a schematic diagram for explaining an output image arrangement processing state in the print control apparatus according to the present invention.

【図7】本発明に係る印刷制御装置における出力画像配
置処理状態を説明するための模式図である。
FIG. 7 is a schematic diagram for explaining an output image arrangement processing state in the print control apparatus according to the present invention.

【図8】本発明に係る印刷制御装置における第1のデー
タ処理手順の一例を示すフローチャートである。
FIG. 8 is a flowchart illustrating an example of a first data processing procedure in the print control apparatus according to the present invention.

【図9】本発明に係る印刷制御装置における第1のデー
タ処理手順の一例を示すフローチャートである。
FIG. 9 is a flowchart illustrating an example of a first data processing procedure in the print control apparatus according to the present invention.

【図10】本発明に係る印刷制御装置における第2のデ
ータ処理手順の一例を示すフローチャートである。
FIG. 10 is a flowchart illustrating an example of a second data processing procedure in the print control apparatus according to the present invention.

【図11】本発明に係る印刷制御装置における第2のデ
ータ処理手順の一例を示すフローチャートである。
FIG. 11 is a flowchart illustrating an example of a second data processing procedure in the print control apparatus according to the present invention.

【図12】本発明に係る印刷制御装置を適用可能な印刷
システムで読み出し可能な各種データ処理プログラムを
格納する記憶媒体のメモリマップを説明する図である。
FIG. 12 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by a printing system to which the print control device according to the present invention can be applied.

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

1 ホストコンピュータ 2 アプリケーション 3 オペレーティングシステム 4 プリンタドライバ 5 ステータスモニタ 6 通信ドライバ 7 パラレルポート 8 プリンタ DESCRIPTION OF SYMBOLS 1 Host computer 2 Application 3 Operating system 4 Printer driver 5 Status monitor 6 Communication driver 7 Parallel port 8 Printer

フロントページの続き Fターム(参考) 2C061 AP01 HH03 HJ03 HJ06 HK16 HN27 HP08 HV11 HV12 HV32 HV51 2C087 AB05 BB01 BD01 BD24 BD46 CA03 CB03 DA07 DA17 5B021 AA01 BB04 CC02 KK01 KK02 KK03 LB01 Continued on the front page F term (reference) 2C061 AP01 HH03 HJ03 HJ06 HK16 HN27 HP08 HV11 HV12 HV32 HV51 2C087 AB05 BB01 BD01 BD24 BD46 CA03 CB03 DA07 DA17 5B021 AA01 BB04 CC02 KK01 KK02 KK03 LB01

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 プリンタと通信可能な印刷制御装置であ
って、 前記プリンタに符号化画像データを送信する画像データ
送信手段と、 前記プリンタの状態を取得する状態取得手段と、 前記状態取得手段により取得されたプリンタの状態が所
定の用紙がないことを示しているときに所定の用紙がな
いことを操作者に通知する紙なし通知手段と、 前記状態取得手段により取得されたプリンタの状態が所
定の用紙がないことを示しているときに他の用紙サイズ
に切り替えることを指定する用紙サイズ切替指定手段
と、 前記用紙サイズ切替指定手段により用紙サイズの切替が
指定されたときに、前記画像データ送信手段により送信
される符号化画像データの向きが前記用紙サイズ切替指
定手段により指定された用紙の向きと異なる場合に、前
記画像データ送信手段により送信される符号化画像デー
タを復号して得られた画像データを回転して符号化する
画像データ回転手段と、を備えたことを特徴とする印刷
制御装置。
1. A print control device capable of communicating with a printer, comprising: an image data transmitting unit that transmits encoded image data to the printer; a status obtaining unit that obtains a status of the printer; A paper-out notification unit that notifies an operator that the predetermined paper is not present when the acquired printer status indicates that the predetermined paper is not present; and that the printer status acquired by the status acquisition unit is a predetermined status. A paper size switching designating unit for designating switching to another paper size when it indicates that there is no paper, and transmitting the image data when a paper size switching is designated by the paper size switching designating unit. When the direction of the encoded image data transmitted by the means is different from the direction of the paper designated by the paper size switching designation means, Print control apparatus comprising: the image data rotation means for coding by rotating the image data obtained by decoding the encoded image data transmitted by the data transmitting means.
【請求項2】 プリンタと通信可能な印刷制御装置であ
って、 前記プリンタに符号化画像データを送信する画像データ
送信手段と、 前記プリンタの状態を取得する状態取得手段と、 前記状態取得手段により取得されたプリンタの状態が所
定の給紙口に所定の用紙がないことを示しているときに
所定の給紙口に所定の用紙がないことを操作者に通知す
る紙なし通知手段と、 前記状態取得手段により取得されたプリンタの状態が所
定の給紙口に所定の用紙がないことを示しているときに
給紙口を指定する給紙口指定手段と、 前記給紙口指定手段により給紙口が指定されたときに前
記画像データ送信手段により送信される符号化画像デー
タの向きが前記給紙口指定手段により指定された給紙口
にある用紙の向きと異なる場合に、前記画像データ送信
手段により送信される符号化画像データを復号して得ら
れた画像データを回転して符号化する画像データ回転手
段と、を備えたことを特徴とする印刷制御装置。
2. A print control device capable of communicating with a printer, comprising: an image data transmitting unit for transmitting encoded image data to the printer; a status obtaining unit for obtaining a status of the printer; and a status obtaining unit. A paper-out notification unit that notifies an operator that there is no predetermined paper in the predetermined paper supply port when the acquired printer state indicates that there is no predetermined paper in the predetermined paper supply port; Paper supply port designating means for designating a paper supply port when the status of the printer acquired by the status acquisition means indicates that predetermined paper is not present in the prescribed paper supply port; When the direction of the encoded image data transmitted by the image data transmitting means when the paper port is specified is different from the direction of the paper in the paper port specified by the paper port specifying means, the image data Sending Print control apparatus being characterized in that and an image data rotation means for coding by rotating the image data obtained by decoding the encoded image data transmitted by the unit.
【請求項3】 プリンタと通信可能な印刷制御装置であ
って、 前記プリンタに符号化画像データを送信する画像データ
送信手段と、 前記プリンタの状態を取得する状態取得手段と、 前記状態取得手段により取得されたプリンタの状態が所
定の用紙がないことを示しているときに所定の用紙がな
いことを操作者に通知する紙なし通知手段と、 前記状態取得手段により取得されたプリンタの状態が所
定の用紙がないことを示しているときに、他の用紙サイ
ズに切り替えることを指定する用紙サイズ切替指定手段
と、 前記用紙サイズ切替指定手段により用紙サイズの切替が
指定されたときに前記画像データ送信手段により送信さ
れる符号化画像データの大きさが前記用紙サイズ切替指
定手段により指定された用紙の大きさと異なる場合に複
数の配置方法のうちの1つを指定する画像配置指定手段
と、 前記画像配置指定手段により指定された、複数の配置方
法のうちの1つにより、前記データ送信手段により送信
される符号化画像データを配置する画像データ配置手段
と、を備えたことを特徴とする印刷制御装置。
3. A print control device capable of communicating with a printer, comprising: an image data transmission unit for transmitting encoded image data to the printer; a status acquisition unit for acquiring a status of the printer; and a status acquisition unit. A paper-out notification unit that notifies an operator that the predetermined paper is not present when the acquired printer status indicates that the predetermined paper is not present; and that the printer status acquired by the status acquisition unit is a predetermined status. Means for designating switching to another paper size when it indicates that there is no paper, and transmitting the image data when the paper size switching is designated by the paper size switch designating means. When the size of the coded image data transmitted by the means is different from the size of the paper designated by the paper size Image arrangement designating means for designating one of the methods; and arranging the encoded image data transmitted by the data transmitting means by one of a plurality of arrangement methods designated by the image arrangement designating means. A print control device comprising:
【請求項4】 プリンタと通信可能な印刷制御装置であ
って、 前記プリンタに符号化画像データを送信する画像データ
送信手段と、 前記プリンタの状態を取得する状態取得手段と、 前記状態取得手段により取得されたプリンタの状態が所
定の給紙口に所定の用紙がないことを示しているときに
所定の給紙口に所定の用紙がないことを操作者に通知す
る紙なし通知手段と、 前記状態取得手段により取得されたプリンタの状態が所
定の給紙口に所定の用紙がないことを示しているときに
給紙口を指定する給紙口指定手段と、 前記給紙口指定手段により給紙口が指定されたときに、
前記画像データ送信手段により送信される符号化画像デ
ータの大きさが前記給紙口指定手段により指定された給
紙口にある用紙の大きさと異なる場合に、複数の配置方
法のうちの1つを指定する画像配置指定手段と、 前記画像配置指定手段により指定された、複数の配置方
法のうちの1つにより、前記データ送信手段により送信
される符号化画像データを配置する画像データ配置手段
と、を備えたことを特徴とする印刷制御装置。
4. A print control device communicable with a printer, comprising: an image data transmitting unit for transmitting encoded image data to the printer; a status obtaining unit for obtaining a status of the printer; A paper-out notification unit that notifies an operator that there is no predetermined paper in the predetermined paper supply port when the acquired printer state indicates that there is no predetermined paper in the predetermined paper supply port; Paper supply port designating means for designating a paper supply port when the status of the printer acquired by the status acquisition means indicates that predetermined paper is not present in the prescribed paper supply port; When the paper port is specified,
When the size of the encoded image data transmitted by the image data transmitting unit is different from the size of the sheet in the paper feed port designated by the paper feed port designating unit, one of a plurality of arrangement methods is used. An image arrangement designating unit to designate, and an image data arranging unit for arranging encoded image data transmitted by the data transmitting unit by one of a plurality of arrangement methods, designated by the image arrangement designating unit; A print control device comprising:
【請求項5】 プリンタと通信可能な印刷制御装置にお
ける印刷制御方法であって、 前記プリンタに符号化画像データを送信する画像データ
送信工程と、 前記プリンタの状態を取得する状態取得工程と、 前記状態取得工程により取得されたプリンタの状態が所
定の用紙がないことを示しているときに所定の用紙がな
いことを操作者に通知する紙なし通知工程と、 前記状態取得工程により取得されたプリンタの状態が所
定の用紙がないことを示しているときに他の用紙サイズ
に切り替えることを指定する用紙サイズ切替指定工程
と、 前記用紙サイズ切替指定工程により用紙サイズの切替が
指定されたときに、前記画像データ送信工程により送信
される符号化画像データの向きが前記用紙サイズ切替指
定工程により指定された用紙の向きと異なる場合に、前
記画像データ送信工程により送信される符号化画像デー
タを復号して得られた画像データを回転して符号化する
画像データ回転工程と、を備えたことを特徴とする印刷
制御方法。
5. A print control method in a print control device capable of communicating with a printer, an image data transmitting step of transmitting encoded image data to the printer, a state obtaining step of obtaining a state of the printer, A paper out notification step of notifying an operator that there is no predetermined paper when the status of the printer obtained in the status obtaining step indicates that there is no predetermined paper; and a printer obtained in the status obtaining step. A paper size switching designation step of designating switching to another paper size when the state indicates that there is no predetermined paper, and when the paper size switching is designated by the paper size switching designation step, The direction of the encoded image data transmitted in the image data transmitting step is different from the direction of the sheet specified in the sheet size switching specifying step. If the print control method comprising the, image data rotation process of encoding by rotating the image data obtained by decoding the encoded image data transmitted by the image data transmission process.
【請求項6】 プリンタと通信可能な印刷制御装置にお
ける印刷制御方法であって、 前記プリンタに符号化画像データを送信する画像データ
送信工程と、 前記プリンタの状態を取得する状態取得工程と、 前記状態取得工程により取得されたプリンタの状態が所
定の給紙口に所定の用紙がないことを示しているときに
所定の給紙口に所定の用紙がないことを操作者に通知す
る紙なし通知工程と、 前記状態取得工程により取得されたプリンタの状態が所
定の給紙口に所定の用紙がないことを示しているときに
給紙口を指定する給紙口指定工程と、 前記給紙口指定工程により給紙口が指定されたときに前
記画像データ送信工程により送信される符号化画像デー
タの向きが前記給紙口指定工程により指定された給紙口
にある用紙の向きと異なる場合に、前記画像データ送信
工程により送信される符号化画像データを復号して得ら
れた画像データを回転して符号化する画像データ回転工
程と、を備えたことを特徴とする印刷制御方法。
6. A print control method in a print control device capable of communicating with a printer, comprising: an image data transmitting step of transmitting encoded image data to the printer; a state obtaining step of obtaining a state of the printer; When the status of the printer acquired in the status acquisition step indicates that there is no predetermined paper in the predetermined paper feed port, a paper-out notification that notifies the operator that there is no predetermined paper in the predetermined paper feed port. And a paper supply port designating step of designating a paper supply port when the status of the printer acquired in the status acquisition step indicates that there is no predetermined paper in a predetermined paper supply port. When the direction of the encoded image data transmitted by the image data transmitting step when the paper feed port is specified by the specifying step is different from the direction of the paper in the paper feed port specified by the paper feed port specifying step Print control method characterized by comprising a an image data rotation process of encoding by rotating the image data obtained by decoding the encoded image data transmitted by the image data transmission process.
【請求項7】 プリンタと通信可能な印刷制御装置にお
ける印刷制御方法であって、 前記プリンタに符号化画像データを送信する画像データ
送信工程と、 前記プリンタの状態を取得する状態取得工程と、 前記状態取得工程により取得されたプリンタの状態が所
定の用紙がないことを示しているときに所定の用紙がな
いことを操作者に通知する紙なし通知工程と、 前記状態取得工程により取得されたプリンタの状態が所
定の用紙がないことを示しているときに、他の用紙サイ
ズに切り替えることを指定する用紙サイズ切替指定工程
と、 前記用紙サイズ切替指定工程により用紙サイズの切替が
指定されたときに前記画像データ送信工程により送信さ
れる符号化画像データの大きさが前記用紙サイズ切替指
定工程により指定された用紙の大きさと異なる場合に複
数の配置方法のうちの1つを指定する画像配置指定工程
と、 前記画像配置指定工程により指定された、複数の配置方
法のうちの1つにより、前記データ送信工程により送信
される符号化画像データを配置する画像データ配置工程
と、を備えたことを特徴とする印刷制御方法。
7. A print control method in a print control device capable of communicating with a printer, comprising: an image data transmitting step of transmitting encoded image data to the printer; a state obtaining step of obtaining a state of the printer; A paper out notification step of notifying an operator that there is no predetermined paper when the status of the printer obtained in the status obtaining step indicates that there is no predetermined paper; and a printer obtained in the status obtaining step. A paper size switching designation step for designating switching to another paper size when the state indicates that there is no predetermined paper, and when a paper size switching is designated in the paper size switching designation step. The size of the encoded image data transmitted in the image data transmitting step is the same as the size of the sheet designated in the sheet size switching designation step. If so, an image arrangement specifying step of specifying one of a plurality of arrangement methods, and the data transmission step is performed by the one of the plurality of arrangement methods specified by the image arrangement specifying step. An image data arranging step of arranging encoded image data.
【請求項8】 プリンタと通信可能な印刷制御装置にお
ける印刷制御方法であって、 プリンタに符号化画像データを送信する画像データ送信
工程と、 プリンタの状態を取得する状態取得工程と、 前記状態取得工程により取得されたプリンタの状態が所
定の給紙口に所定の用紙がないことを示しているときに
所定の給紙口に所定の用紙がないことを操作者に通知す
る紙なし通知工程と、 前記状態取得工程により取得されたプリンタの状態が所
定の給紙口に所定の用紙がないことを示しているときに
給紙口を指定する給紙口指定工程と、 前記給紙口指定工程により給紙口が指定されたときに、
前記画像データ送信工程により送信される符号化画像デ
ータの大きさが前記給紙口指定手段により指定された給
紙口にある用紙の大きさと異なる場合に、複数の配置方
法のうちの1つを指定する画像配置指定工程と、 前記画像配置指定工程により指定された、複数の配置方
法のうちの1つにより、前記データ送信工程により送信
される符号化画像データを配置する画像データ配置工程
と、を備えたことを特徴とする印刷制御方法。
8. A print control method in a print control device communicable with a printer, comprising: an image data transmitting step of transmitting encoded image data to the printer; a state obtaining step of obtaining a state of the printer; A paper out notification step of notifying an operator that there is no predetermined paper in the predetermined paper supply port when the status of the printer acquired in the process indicates that there is no predetermined paper in the predetermined paper supply port; A paper supply port designation step of designating a paper supply port when the status of the printer acquired in the status acquisition step indicates that there is no predetermined paper in a predetermined paper supply port; When the paper feed port is specified by
When the size of the coded image data transmitted in the image data transmitting step is different from the size of the paper in the paper feed port designated by the paper feed port designating means, one of a plurality of arrangement methods is used. An image arrangement designating step of designating, and an image data arrangement step of arranging the encoded image data transmitted by the data transmission step by one of a plurality of arrangement methods, designated by the image arrangement designation step, A print control method comprising:
【請求項9】 プリンタと通信可能な印刷制御装置に、 前記プリンタに符号化画像データを送信する画像データ
送信工程と、 前記プリンタの状態を取得する状態取得工程と、 前記状態取得工程により取得されたプリンタの状態が所
定の用紙がないことを示しているときに所定の用紙がな
いことを操作者に通知する紙なし通知工程と、 前記状態取得工程により取得されたプリンタの状態が所
定の用紙がないことを示しているときに他の用紙サイズ
に切り替えることを指定する用紙サイズ切替指定工程
と、 前記用紙サイズ切替指定工程により用紙サイズの切替が
指定されたときに、前記画像データ送信工程により送信
される符号化画像データの向きが前記用紙サイズ切替指
定工程により指定された用紙の向きと異なる場合に、前
記画像データ送信工程により送信される符号化画像デー
タを復号して得られた画像データを回転して符号化する
画像データ回転工程とを実行させるためのプログラムを
記録したコンピュータが読み取り可能な記憶媒体。
9. A print control device capable of communicating with a printer, an image data transmitting step of transmitting encoded image data to the printer, a state obtaining step of obtaining a state of the printer, and a state obtaining step of obtaining the state of the printer. A paper-out notification step of notifying an operator that there is no predetermined paper when the status of the printer indicates that there is no predetermined paper; and A paper size switching designation step for designating switching to another paper size when it indicates that there is no paper size, and when the paper size switching is designated by the paper size switching designation step, the image data transmission step When the direction of the coded image data to be transmitted is different from the direction of the sheet designated in the sheet size switching designation step, the image data transmission is performed. Recorded computer-readable storage medium a program for implementing the image data rotation process of encoding by rotating the image data obtained by decoding the encoded image data transmitted by the process.
【請求項10】 プリンタと通信可能な印刷制御装置
に、 前記プリンタに符号化画像データを送信する画像データ
送信工程と、 前記プリンタの状態を取得する状態取得工程と、 前記状態取得工程により取得されたプリンタの状態が所
定の給紙口に所定の用紙がないことを示しているときに
所定の給紙口に所定の用紙がないことを操作者に通知す
る紙なし通知工程と、 前記状態取得工程により取得されたプリンタの状態が所
定の給紙口に所定の用紙がないことを示しているときに
給紙口を指定する給紙口指定工程と、 前記給紙口指定工程により給紙口が指定されたときに前
記画像データ送信工程により送信される符号化画像デー
タの向きが前記給紙口指定工程により指定された給紙口
にある用紙の向きと異なる場合に、前記画像データ送信
工程により送信される符号化画像データを復号して得ら
れた画像データを回転して符号化する画像データ回転工
程とを実行させるためのプログラムを記録したコンピュ
ータが読み取り可能な記憶媒体。
10. A print control device capable of communicating with a printer, an image data transmitting step of transmitting encoded image data to the printer, a state obtaining step of obtaining a state of the printer, and a state obtaining step of obtaining the state of the printer. A paper-out notification step of notifying an operator that there is no predetermined paper in the predetermined paper supply port when the state of the printer indicates that there is no predetermined paper in the predetermined paper supply port; and A paper supply port designating step for designating a paper supply port when the state of the printer obtained in the step indicates that there is no predetermined paper in the prescribed paper supply port; When the direction of the encoded image data transmitted in the image data transmitting step when is designated is different from the direction of the paper in the paper feed port designated in the paper port designating step, the image data transmitting step Recorded computer-readable storage medium storing a program for executing the image data rotation process of encoding by rotating the image data obtained by decoding the encoded image data transmitted by.
【請求項11】 プリンタと通信可能な印刷制御装置
に、 前記プリンタに符号化画像データを送信する画像データ
送信工程と、 前記プリンタの状態を取得する状態取得工程と、 前記状態取得工程により取得されたプリンタの状態が所
定の用紙がないことを示しているときに所定の用紙がな
いことを操作者に通知する紙なし通知工程と、 前記状態取得工程により取得されたプリンタの状態が所
定の用紙がないことを示しているときに、他の用紙サイ
ズに切り替えることを指定する用紙サイズ切替指定工程
と、 前記用紙サイズ切替指定工程により用紙サイズの切替が
指定されたときに前記画像データ送信工程により送信さ
れる符号化画像データの大きさが前記用紙サイズ切替指
定工程により指定された用紙の大きさと異なる場合に複
数の配置方法のうちの1つを指定する画像配置指定工程
と、 前記画像配置指定工程により指定された、複数の配置方
法のうちの1つにより、前記データ送信工程により送信
される符号化画像データを配置する画像データ配置工程
とを実行させるためのプログラムを記録したコンピュー
タが読み取り可能な記憶媒体。
An image data transmitting step of transmitting encoded image data to the printer; a state obtaining step of obtaining a state of the printer; and a state obtaining step of obtaining the state of the printer. A paper-out notification step of notifying an operator that there is no predetermined paper when the status of the printer indicates that there is no predetermined paper; and When there is no paper size, a paper size switching designation step for designating switching to another paper size, and the image data transmission step when the paper size switching is designated by the paper size switching designation step When the size of the coded image data to be transmitted is different from the size of the paper designated in the paper size switching designation process, a plurality of An image arrangement designating step of designating one of the following: and arranging the encoded image data transmitted by the data transmitting step by one of a plurality of arrangement methods designated by the image arrangement designating step. A computer-readable storage medium storing a program for executing the image data arranging step.
【請求項12】 プリンタと通信可能な印刷制御装置
に、 プリンタに符号化画像データを送信する画像データ送信
工程と、 プリンタの状態を取得する状態取得工程と、 前記状態取得工程により取得されたプリンタの状態が所
定の給紙口に所定の用紙がないことを示しているときに
所定の給紙口に所定の用紙がないことを操作者に通知す
る紙なし通知工程と、 前記状態取得工程により取得されたプリンタの状態が所
定の給紙口に所定の用紙がないことを示しているときに
給紙口を指定する給紙口指定工程と、 前記給紙口指定工程により給紙口が指定されたときに、
前記画像データ送信工程により送信される符号化画像デ
ータの大きさが前記給紙口指定手段により指定された給
紙口にある用紙の大きさと異なる場合に、複数の配置方
法のうちの1つを指定する画像配置指定工程と、 前記画像配置指定工程により指定された、複数の配置方
法のうちの1つにより、前記データ送信工程により送信
される符号化画像データを配置する画像データ配置工程
とを実行させるためのプログラムを記録したコンピュー
タが読み取り可能な記憶媒体。
12. A printing control device capable of communicating with a printer, an image data transmitting step of transmitting encoded image data to the printer, a state obtaining step of obtaining a state of the printer, and a printer obtained by the state obtaining step. When the status indicates that there is no predetermined paper in the predetermined paper feed port, a paper out notification step of notifying an operator that there is no predetermined paper in the predetermined paper feed port, and A paper supply port designating step for designating a paper supply port when the acquired printer state indicates that there is no predetermined paper in the prescribed paper supply port; and a paper supply port is designated by the paper supply port designation step. When done
When the size of the coded image data transmitted in the image data transmitting step is different from the size of the sheet in the paper feed port designated by the paper feed port designating means, one of a plurality of arrangement methods is used. An image arrangement designation step of designating, and an image data arrangement step of arranging the encoded image data transmitted by the data transmission step by one of a plurality of arrangement methods designated by the image arrangement designation step. A computer-readable storage medium that stores a program to be executed.
JP2000148208A 2000-05-19 2000-05-19 Printing controller and printing control method and storage medium Pending JP2001331299A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000148208A JP2001331299A (en) 2000-05-19 2000-05-19 Printing controller and printing control method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000148208A JP2001331299A (en) 2000-05-19 2000-05-19 Printing controller and printing control method and storage medium

Publications (1)

Publication Number Publication Date
JP2001331299A true JP2001331299A (en) 2001-11-30

Family

ID=18654277

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000148208A Pending JP2001331299A (en) 2000-05-19 2000-05-19 Printing controller and printing control method and storage medium

Country Status (1)

Country Link
JP (1) JP2001331299A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010102398A (en) * 2008-10-21 2010-05-06 Riso Kagaku Corp Printer driver program, printing controller and printing system
US7729547B2 (en) 2004-09-29 2010-06-01 Canon Kabushiki Kaisha Image forming apparatus and image forming method
US7916325B2 (en) 2004-06-30 2011-03-29 Canon Kabushiki Kaisha Printing system with tray selection substitution
US8102546B2 (en) 2007-01-29 2012-01-24 Canon Kabushiki Kaisha Information processing apparatus and information processing method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7916325B2 (en) 2004-06-30 2011-03-29 Canon Kabushiki Kaisha Printing system with tray selection substitution
US7729547B2 (en) 2004-09-29 2010-06-01 Canon Kabushiki Kaisha Image forming apparatus and image forming method
US8102546B2 (en) 2007-01-29 2012-01-24 Canon Kabushiki Kaisha Information processing apparatus and information processing method
JP2010102398A (en) * 2008-10-21 2010-05-06 Riso Kagaku Corp Printer driver program, printing controller and printing system

Similar Documents

Publication Publication Date Title
JP4208670B2 (en) Image processing method, information processing apparatus, and program
JP4359309B2 (en) Printing device
JP2003022176A (en) Printing controller, information processor, method for controlling printing, and method and program for information processor
US20120105873A1 (en) Information processing apparatus, information processing method and printing control method
US7907291B2 (en) Image supply device and control method of the same and printing system
US20100302565A1 (en) Information processing apparatus, control method, and computer-readable storage medium
US6385348B1 (en) Printing apparatus, information processing apparatus, and method of controlling them
US7916340B2 (en) Print system, an image supply apparatus and control methods thereof
JP4574282B2 (en) Image supply device, device control method, printing system, and print control method
US8289544B2 (en) Printing system and printing device for providing time designating function for executing printing operation
JP2000318270A (en) Imaging apparatus and imaging method
JP2001331299A (en) Printing controller and printing control method and storage medium
US8130406B2 (en) Recording apparatus image supply device and recording system and control method and program for image layout determination
US7639278B2 (en) Image supply device, recording system, and control method therefor
JP3854960B2 (en) Information processing apparatus and information processing method
JP2005031956A (en) Printing control method, printing control device, and printer
JP2002036679A (en) Imaging system and imaging method
JPH09330192A (en) Network printing device
JP2003348316A (en) Image processing apparatus, and image forming device
JPH10329382A (en) Information-processing apparatus, printing system, printing apparatus, and method for controlling them
JP2003266806A (en) Print controller, data processing method and storage medium
JP2005157941A (en) Print controller and program
JP2003058342A (en) Device and method for controlling printing, storage medium and program
JP2004157612A (en) Information processor, and its control method and program
JPH0713718A (en) Printer data output transmitting device