JP2011031431A - Image forming apparatus - Google Patents

Image forming apparatus Download PDF

Info

Publication number
JP2011031431A
JP2011031431A JP2009178189A JP2009178189A JP2011031431A JP 2011031431 A JP2011031431 A JP 2011031431A JP 2009178189 A JP2009178189 A JP 2009178189A JP 2009178189 A JP2009178189 A JP 2009178189A JP 2011031431 A JP2011031431 A JP 2011031431A
Authority
JP
Japan
Prior art keywords
tray
paper
medium
size
unit
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.)
Withdrawn
Application number
JP2009178189A
Other languages
Japanese (ja)
Inventor
Hisashi Iwai
寿 岩井
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.)
Oki Electric Industry Co Ltd
Oki Data Systems Co Ltd
Original Assignee
Oki Data Corp
Oki Data Systems Co Ltd
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 Oki Data Corp, Oki Data Systems Co Ltd filed Critical Oki Data Corp
Priority to JP2009178189A priority Critical patent/JP2011031431A/en
Publication of JP2011031431A publication Critical patent/JP2011031431A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Facsimiles In General (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To perform printing by feeding a medium from a multi-purpose medium storage section without inputting the medium size from an operation panel, while facilitating the operation and improving the user-friendliness. <P>SOLUTION: An image forming apparatus includes a storage section selection unit which compares the medium size information received at a receiving section with the medium size information stored in a first storage section and selects a multi-purpose medium storage section if they do not match each other, and a print control unit which rewrites the medium size information set for the multi-purpose medium storage section by the medium size information received at the receiving section, and performs printing by feeding a medium from the multi-purpose medium storage section. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、画像形成装置に関するものである。   The present invention relates to an image forming apparatus.

従来、プリンタ等の画像形成装置においては、連続するページの印刷中に用紙がなくなった場合、すなわち、印刷の実行中にペーパーエンドを検出した場合に、操作パネルの表示装置等に用紙なしエラーである旨を表示して、印刷を停止するようになっている(例えば、特許文献1参照。)。   Conventionally, in an image forming apparatus such as a printer, when there is no paper during printing of continuous pages, that is, when a paper end is detected during execution of printing, a paper out error is displayed on the display device of the operation panel. A message to that effect is displayed and printing is stopped (see, for example, Patent Document 1).

この場合、画像形成装置の給紙カセットに用紙を補充したり、残りの印刷データを削除、すなわち、印刷をキャンセルしたりしない限り、エラー状態が継続されるようになっている。   In this case, the error state continues unless paper is replenished to the paper feed cassette of the image forming apparatus or the remaining print data is deleted, that is, printing is cancelled.

特開平10−105352号公報JP-A-10-105352

このように、前記従来の画像形成装置においては、印刷中に用紙なしエラーで停止してしまった場合、続く印刷データの印刷をすることができなくなってしまい、用紙を補充するまで、印刷を再開することができなかった。   As described above, in the conventional image forming apparatus, if printing stops due to an out-of-paper error, printing of subsequent print data cannot be performed, and printing is resumed until the paper is replenished. I couldn't.

特に、前記画像形成装置がネットワークに接続された共有プリンタである場合には、用紙を補充するまで印刷を再開することができないので、他の人にも多大な迷惑をかけることになった。   In particular, when the image forming apparatus is a shared printer connected to a network, printing cannot be resumed until paper is replenished, which causes great inconvenience to other people.

本発明は、前記従来の画像形成装置の問題点を解決して、媒体収容部に指定されたサイズの媒体が収容されていない場合には多目的媒体収容部を選択し、該多目的媒体収容部の媒体サイズを前記指定されたサイズに書き換えて印刷を実行することによって、操作パネルから媒体サイズの入力を行うことなく、多目的媒体収容部から媒体を供給して印刷を行うことができ、操作が容易で、使い勝手の良好な画像形成装置を提供することを目的とする。   The present invention solves the problems of the conventional image forming apparatus, and selects a multipurpose medium storage unit when a medium of a specified size is not stored in the medium storage unit. By executing the printing by rewriting the medium size to the specified size, printing can be performed by supplying the medium from the multipurpose medium container without inputting the medium size from the operation panel. An object of the present invention is to provide an image forming apparatus that is easy to use.

そのために、本発明の画像形成装置においては、所定のサイズの媒体を収容する複数の媒体収容部と、手差しで給紙する媒体を載置する多目的媒体収容部と、媒体サイズ情報を含む印刷情報と印刷データとを受信する受信部と、前記複数の媒体収容部の各々に対して設定された媒体サイズ情報を格納する第1の格納部と、前記多目的媒体収容部に対して設定された媒体サイズ情報を格納する第2の格納部と、前記受信部が受信した媒体サイズ情報と第1の格納部が格納する媒体サイズ情報とを比較し、一致する媒体サイズ情報に対応する媒体収容部を選択するとともに、前記第1の格納部が格納する媒体サイズ情報のいずれもが前記受信部が受信した媒体サイズ情報と一致しない場合に前記多目的媒体収容部を選択する収容部選択部と、該収容部選択部が多目的媒体収容部を選択した場合、前記受信部が受信した媒体サイズ情報と第2の格納部が格納する媒体サイズ情報とが一致しないときに報知する報知部と、前記多目的媒体収容部に対して設定された媒体サイズ情報を前記受信部が受信した媒体サイズ情報で書き換えて、前記収容部選択部が選択した媒体収容部又は多目的媒体収容部から媒体を給紙して印刷を実行する印刷制御部とを有する。   For this purpose, in the image forming apparatus of the present invention, a plurality of medium storage units for storing a medium of a predetermined size, a multipurpose medium storage unit for mounting a manually fed medium, and print information including medium size information Receiving unit for receiving the print data, a first storage unit for storing medium size information set for each of the plurality of medium storage units, and a medium set for the multipurpose medium storage unit A second storage unit that stores size information; and a medium storage unit that compares the medium size information received by the receiving unit with the medium size information stored by the first storage unit, and that corresponds to the matching medium size information. A storage unit selection unit that selects the multipurpose medium storage unit when none of the medium size information stored in the first storage unit matches the medium size information received by the reception unit; A notification unit for notifying when the media size information received by the receiving unit and the medium size information stored in the second storage unit do not match when the unit selection unit selects the multi-purpose medium storage unit; The medium size information set for the copy unit is rewritten with the medium size information received by the reception unit, and the medium is fed from the medium storage unit selected by the storage unit selection unit or the multipurpose medium storage unit to execute printing. A printing control unit.

本発明によれば、画像形成装置は、媒体収容部に指定されたサイズの媒体が収容されていない場合には多目的媒体収容部を選択し、該多目的媒体収容部の媒体サイズを前記指定されたサイズに書き換えて印刷を実行する。これにより、操作パネルから媒体サイズの入力を行うことなく、多目的媒体収容部から媒体を供給して印刷を行うことができ、操作が容易となり、使い勝手が良好となる。   According to the present invention, the image forming apparatus selects a multipurpose medium storage unit when a medium of a specified size is not stored in the medium storage unit, and sets the medium size of the multipurpose medium storage unit as the specified size. Rewrite to size and execute printing. Thus, printing can be performed by supplying a medium from the multipurpose medium storage unit without inputting the medium size from the operation panel, which facilitates operation and improves usability.

本発明の第1の実施の形態における画像形成装置の構成を示す図である。1 is a diagram illustrating a configuration of an image forming apparatus according to a first embodiment of the present invention. 本発明の第1の実施の形態における画像形成装置の内部構成を示す模式断面図である。1 is a schematic cross-sectional view illustrating an internal configuration of an image forming apparatus according to a first embodiment of the present invention. 本発明の第1の実施の形態における画像形成装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an image forming apparatus according to a first embodiment of the present invention. 本発明の第1の実施の形態における操作パネルの構成を示す図である。It is a figure which shows the structure of the operation panel in the 1st Embodiment of this invention. 本発明の第1の実施の形態における操作パネルの表示部の表示例を示す図である。It is a figure which shows the example of a display of the display part of the operation panel in the 1st Embodiment of this invention. 本発明の第1の実施の形態における受信データのフォーマットを示す図である。It is a figure which shows the format of the reception data in the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるMPトレイ情報のフォーマットを示す図である。It is a figure which shows the format of MP tray information in the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるトレイ情報のフォーマットを示す図である。It is a figure which shows the format of the tray information in the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるメイン処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the main process in the 1st Embodiment of this invention. 本発明の第1の実施の形態における初期化処理のサブルーチンを示すフローチャートである。It is a flowchart which shows the subroutine of the initialization process in the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるデータ解析処理のサブルーチンを示すフローチャートである。It is a flowchart which shows the subroutine of the data analysis process in the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるトレイn指定印刷のサブルーチンを示すフローチャートである。It is a flowchart which shows the subroutine of tray n designation | designated printing in the 1st Embodiment of this invention. 本発明の第1の実施の形態におけるMPトレイ指定印刷のサブルーチンを示すフローチャートである。It is a flowchart which shows the subroutine of MP tray designation | designated printing in the 1st Embodiment of this invention. 本発明の第1の実施の形態における自動選択のサーチ順を示す図である。It is a figure which shows the search order of the automatic selection in the 1st Embodiment of this invention. 本発明の第1の実施の形態における自動選択指定印刷のサブルーチンを示すフローチャートである。It is a flowchart which shows the subroutine of the automatic selection designation | designated printing in the 1st Embodiment of this invention. 本発明の第1の実施の形態における印刷処理のサブルーチンを示すフローチャートである。3 is a flowchart illustrating a subroutine of print processing according to the first embodiment of the present invention. 本発明の第1の実施の形態におけるエンジンセンサ読み出し処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the engine sensor read-out process in the 1st Embodiment of this invention. 本発明の第2の実施の形態における受信データのフォーマットを示す図である。It is a figure which shows the format of the reception data in the 2nd Embodiment of this invention. 本発明の第2の実施の形態における印刷処理のサブルーチンを示すフローチャートである。It is a flowchart which shows the subroutine of the printing process in the 2nd Embodiment of this invention. 本発明の第2の実施の形態における継続されるトレイのサーチ順を示す図である。It is a figure which shows the search order of the tray continued in the 2nd Embodiment of this invention. 本発明の第2の実施の形態における自動トレイ切替処理を示すフローチャートである。It is a flowchart which shows the automatic tray switching process in the 2nd Embodiment of this invention.

以下、本発明の実施の形態について図面を参照しながら詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は本発明の第1の実施の形態における画像形成装置の構成を示す図、図2は本発明の第1の実施の形態における画像形成装置の内部構成を示す模式断面図である。   FIG. 1 is a diagram illustrating a configuration of an image forming apparatus according to a first embodiment of the present invention, and FIG. 2 is a schematic cross-sectional view illustrating an internal configuration of the image forming apparatus according to the first embodiment of the present invention.

図1において、20は本実施の形態における画像形成装置としてのプリンタであり、10は前記プリンタ20の上位装置であって印刷データを送信する装置としてのパーソナルコンピュータ(以下「PC」と称する。)である。また、前記プリンタ20とPC10とは、例えば、USB(Universal Serial Bus)ケーブル、セントロニクスインターフェイスケーブル等の双方向インターフェイスケーブルや、イントラネット、LAN(Local Area Network)等のネットワークから成る通信回路11によって接続されている。   In FIG. 1, reference numeral 20 denotes a printer as an image forming apparatus in the present embodiment, and reference numeral 10 denotes a personal computer (hereinafter referred to as “PC”) as an apparatus higher than the printer 20 for transmitting print data. It is. The printer 20 and the PC 10 are connected by a communication circuit 11 including a bidirectional interface cable such as a USB (Universal Serial Bus) cable or a Centronics interface cable, or a network such as an intranet or a LAN (Local Area Network). ing.

本実施の形態において、画像形成装置は、PC10から通信回路11を介して受信した印刷データを印刷する装置であれば、ファクシミリ装置、各種の機能を併せ持つ複合機等であってもよく、いかなる装置であってもよいが、ここでは、プリンタであるものとして説明する。なお、プリンタ20はインクジェット式、電子写真式、熱転写式等いかなる種類のものであってもよいが、ここでは、いわゆるタンデム方式のカラー電子写真式プリンタである場合について説明する。また、上位装置は、印刷データ、設定コマンド等を作成して通信回路11を介してプリンタ20に送信することができる装置であれば、いかなる装置であってもよいが、ここでは、パーソナルコンピュータ、すなわち、PCであるものとして説明する。   In the present embodiment, the image forming apparatus may be a facsimile machine, a multifunction machine having various functions, or the like as long as it prints print data received from the PC 10 via the communication circuit 11. However, it is assumed here that the printer is used. The printer 20 may be of any type such as an ink jet type, an electrophotographic type, or a thermal transfer type. Here, a case where it is a so-called tandem type color electrophotographic printer will be described. Further, the upper apparatus may be any apparatus as long as it can generate print data, setting commands, and the like and transmit them to the printer 20 via the communication circuit 11. Here, a personal computer, That is, it is assumed that it is a PC.

そして、前記プリンタ20は、図2に示されるように、プリンタ本体21と、該プリンタ本体21に実装された媒体収容部としてのトレイ22a、22b及び22cとを有する。なお、各トレイ22a、22b及び22cには、媒体としての用紙を収容するためのカセット23a、23b及び23cが、それぞれ、挿入されている。また、各トレイ22a、22b及び22cは、各カセット23a、23b及び23cの有無を検出するセンサとしてのカセット着脱センサ24a、24b及び24cと、各カセット23a、23b及び23c内の用紙の有無を検出するセンサとしての用紙有無センサ25a、25b及び25cとを有する。さらに、前記プリンタ20は、メニューの設定等の操作を行うための後述される操作パネル41を有する。   As shown in FIG. 2, the printer 20 includes a printer main body 21 and trays 22 a, 22 b, and 22 c as medium accommodating portions mounted on the printer main body 21. Note that cassettes 23a, 23b, and 23c for storing sheets as media are inserted into the trays 22a, 22b, and 22c, respectively. Each tray 22a, 22b, and 22c detects cassette presence / absence sensors 24a, 24b, and 24c as sensors for detecting the presence / absence of each cassette 23a, 23b, and 23c, and the presence / absence of paper in each cassette 23a, 23b, and 23c. The sheet presence / absence sensors 25a, 25b, and 25c are included as sensors that perform the above. Further, the printer 20 has an operation panel 41 to be described later for performing operations such as menu settings.

なお、本実施の形態において、トレイ22a、22b及び22c、カセット23a、23b及び23c、カセット着脱センサ24a、24b及び24c並びに用紙有無センサ25a、25b及び25cを統合的に説明する場合には、トレイ22、カセット23、カセット着脱センサ24及び用紙有無センサ25として説明する。さらに、本実施の形態においては、プリンタ20が3段トレイを有する場合、すなわち、トレイ22がトレイ22a、22b及び22cの3つである場合について説明するが、トレイ22の数は複数であればいくつであってもよく、適宜変更することができる。   In this embodiment, when the trays 22a, 22b and 22c, the cassettes 23a, 23b and 23c, the cassette attachment / detachment sensors 24a, 24b and 24c, and the paper presence / absence sensors 25a, 25b and 25c are described in an integrated manner, 22, the cassette 23, the cassette attachment / detachment sensor 24, and the paper presence / absence sensor 25 will be described. Furthermore, in this embodiment, a case where the printer 20 has a three-stage tray, that is, a case where the tray 22 has three trays 22a, 22b and 22c will be described. Any number can be used and can be changed as appropriate.

そして、前記用紙は、該用紙を収納する前記カセット23a、23b及び23cから1枚ずつ給紙され、ピックアップローラによって搬送経路に送り出され、搬送ベルトに吸着されて搬送経路に沿って搬送される。   The sheets are fed one by one from the cassettes 23a, 23b, and 23c that store the sheets, sent out to the transport path by pickup rollers, attracted to the transport belt, and transported along the transport path.

また、前記搬送ベルトに沿って、ブラック、イエロー、マゼンタ及びシアンの各色に対応する画像形成部が、用紙の搬送方向における上流から順に配設されている。そして、搬送ベルトによって搬送される用紙の上には、画像形成部によって形成されたブラック、イエロー、マゼンタ及びシアンの各色のトナー像が転写される。   An image forming unit corresponding to each color of black, yellow, magenta, and cyan is disposed in order from the upstream side in the sheet conveying direction along the conveying belt. Then, toner images of each color of black, yellow, magenta, and cyan formed by the image forming unit are transferred onto the sheet conveyed by the conveyance belt.

さらに、前記搬送経路における画像形成部の下流側には、定着器が配設されている。該定着器は、加熱及び加圧することによって、用紙の上に転写されたトナー像を定着させる。また、該トナー像が定着されて印刷の終了した用紙は、図示されない排出トレイ上に排出される。   Further, a fixing device is disposed on the downstream side of the image forming unit in the transport path. The fixing device fixes the toner image transferred onto the paper by heating and pressurizing. The paper on which the toner image is fixed and printing is finished is discharged onto a discharge tray (not shown).

なお、前記プリンタ本体21には、手差しで給紙する用紙を載置する多目的媒体収容部としてのMP(マルチパーパス)トレイ26が装着されている。さらに、該MPトレイ26上の用紙の有無を検出するセンサとしての用紙有無センサ25dも配設されている。そして、前記MPトレイ26上の用紙はピックアップローラによって搬送経路に送り出され、搬送ベルトに吸着されて搬送経路に沿って搬送される。   The printer main body 21 is equipped with an MP (multipurpose) tray 26 as a multi-purpose medium storage unit on which sheets to be manually fed are placed. Further, a sheet presence / absence sensor 25d as a sensor for detecting the presence / absence of a sheet on the MP tray 26 is also provided. Then, the paper on the MP tray 26 is sent out to the transport path by the pickup roller, is attracted to the transport belt, and is transported along the transport path.

次に、前記プリンタ20の制御系の構成について説明する。   Next, the configuration of the control system of the printer 20 will be described.

図3は本発明の第1の実施の形態における画像形成装置の構成を示すブロック図である。   FIG. 3 is a block diagram showing the configuration of the image forming apparatus according to the first embodiment of the present invention.

図に示されるように、プリンタ20は、該プリンタ20の各部の動作を制御する印刷制御部31、受信部32、データ解析部33、操作パネル41の動作を制御するパネル制御部34、記憶部としてのメモリ35、及び、画像形成部の動作を制御するエンジン制御部38を有する。そして、受信部32は、PC10から通信回路11を介して送信された印刷データを受信し、データ解析部33は、受信部32が受信した印刷データを解析し、エンジン制御部38は、解析された印刷データに基づいて印刷を行わせる。   As shown in the figure, the printer 20 includes a print control unit 31 that controls the operation of each unit of the printer 20, a reception unit 32, a data analysis unit 33, a panel control unit 34 that controls the operation of the operation panel 41, and a storage unit. And an engine control unit 38 that controls the operation of the image forming unit. The reception unit 32 receives the print data transmitted from the PC 10 via the communication circuit 11, the data analysis unit 33 analyzes the print data received by the reception unit 32, and the engine control unit 38 analyzes the print data. Printing based on the printed data.

なお、エンジン制御部38には、カセット着脱センサ24及び用紙有無センサ25が接続され、カセット23の着脱状態及び用紙の有無についての情報を取得する。また、前記メモリ35は、前記トレイ22a、22b及び22cの各々に設定された用紙のサイズのデータ、すなわち、媒体サイズ情報を含むトレイ情報37を格納する第1の格納部として機能するとともに、前記MPトレイ26に載置される用紙のサイズのデータ、すなわち、媒体サイズ情報を含むMPトレイ情報36を格納する第2の格納部として機能する。   The engine control unit 38 is connected to the cassette attachment / detachment sensor 24 and the paper presence / absence sensor 25, and acquires information about the attachment / detachment state of the cassette 23 and the presence / absence of paper. The memory 35 functions as a first storage unit that stores paper size data set in each of the trays 22a, 22b, and 22c, that is, tray information 37 including medium size information. It functions as a second storage unit that stores data on the size of paper placed on the MP tray 26, that is, MP tray information 36 including medium size information.

そして、前記印刷制御部31及びエンジン制御部38は、トレイ22又はMPトレイ26を選択する収容部選択部として機能し、前記パネル制御部34は報知部として機能し、また、前記印刷制御部31及びエンジン制御部38は、トレイ22又はMPトレイ26から用紙を給紙して印刷を実行する印刷制御部としても機能する。   The print control unit 31 and the engine control unit 38 function as a storage unit selection unit that selects the tray 22 or the MP tray 26, the panel control unit 34 functions as a notification unit, and the print control unit 31. The engine control unit 38 also functions as a print control unit that feeds paper from the tray 22 or the MP tray 26 and executes printing.

次に、前記操作パネル41の構成について説明する。   Next, the configuration of the operation panel 41 will be described.

図4は本発明の第1の実施の形態における操作パネルの構成を示す図、図5は本発明の第1の実施の形態における操作パネルの表示部の表示例を示す図である。   FIG. 4 is a diagram showing a configuration of the operation panel according to the first embodiment of the present invention, and FIG. 5 is a diagram showing a display example of the display unit of the operation panel according to the first embodiment of the present invention.

図4に示されるように、操作パネル41は、状態表示、メニューの設定等を表示する表示部42、印刷可能状態にあるか否かを示す警告灯43及びキー入力操作のための入力手段としてのSW(スイッチ)部44を有する。なお、該SW部44は、電源を投入するための電源ボタン、スタートボタン、数字ボタン、各種設定を切り替える機能ボタン等の各種の操作ボタンを備え、該操作ボタンの操作による操作信号は、操作パネル41からパネル制御部34に対して出力される。   As shown in FIG. 4, the operation panel 41 includes a display unit 42 for displaying status display, menu settings, etc., a warning lamp 43 indicating whether or not printing is possible, and input means for key input operation. SW (switch) unit 44. The SW unit 44 includes various operation buttons such as a power button for turning on the power, a start button, a numeric button, and a function button for switching various settings, and an operation signal generated by operating the operation button is displayed on an operation panel. 41 to the panel control unit 34.

そして、図5には、操作パネル41の表示部42に表示された表示画面の表示例が示されている。例えば、トレイnへの用紙補充要求である場合は、図5(a)に示されるように、「トレイ1 ヨウシナシ A4ヲ イレテクダサイ」と記載された表示画面42aが表示される。また、トレイnへの用紙入れ替え要求である場合は、図5(b)に示されるように、「トレイ1 ヨウシチガイ A4ニ イレカエテクダサイ」と記載された表示画面42bが表示される。さらに、MPトレイ26への用紙セット要求である場合は、図5(c)に示されるように、「MPトレイ ヨウシナシ A4ヲ イレテクダサイ」と記載された表示画面42cが表示される。さらに、MPトレイ26への用紙入れ替え要求である場合は、図5(d)に示されるように、「MPトレイ ヨウシチガイ A4ニ イレカエテクダサイ」と記載された表示画面42dが表示される。   FIG. 5 shows a display example of the display screen displayed on the display unit 42 of the operation panel 41. For example, in the case of a paper replenishment request to the tray n, as shown in FIG. 5A, a display screen 42a indicating “Tray 1 change A4 change” is displayed. In the case of a paper replacement request for tray n, as shown in FIG. 5B, a display screen 42b described as “Tray 1 A4 Nireka Eteca Die” is displayed. Further, in the case of a paper setting request to the MP tray 26, as shown in FIG. 5C, a display screen 42c described as “MP tray paper load A4 error” is displayed. Further, in the case of a paper replacement request to the MP tray 26, as shown in FIG. 5 (d), a display screen 42d in which “MP Tray A4 Nireka Ecter Size” is displayed is displayed.

次に、前記受信部32が受信するデータのフォーマットについて説明する。   Next, the format of data received by the receiving unit 32 will be described.

図6は本発明の第1の実施の形態における受信データのフォーマットを示す図である。   FIG. 6 is a diagram showing a format of received data in the first embodiment of the present invention.

受信部32がPC10から受信するデータは、印刷情報51と印刷データ54とを有する。前記印刷情報51は、印刷データ54が作成された用紙サイズを表す“印刷サイズ”52と、トレイn/MPトレイ/自動選択のいずれかを指定する“給紙方法”53と、自動選択指定の場合に一致する用紙がトレイ22になかったとき、MPトレイ26を使って印刷させるか、トレイ22の用紙を入れ替えて印刷させるかを指定する“同一サイズがないときの処置”とを含んでいる。   Data received by the receiving unit 32 from the PC 10 includes print information 51 and print data 54. The print information 51 includes a “print size” 52 indicating the paper size on which the print data 54 has been created, a “paper feeding method” 53 for specifying one of tray n / MP tray / automatic selection, and automatic selection designation. When there is no matching paper in the tray 22, it includes “treatment when there is no same size” that specifies whether to print using the MP tray 26 or to replace the paper in the tray 22. .

次に、前記MPトレイ情報36及びトレイ情報37について説明する。   Next, the MP tray information 36 and the tray information 37 will be described.

図7は本発明の第1の実施の形態におけるMPトレイ情報のフォーマットを示す図、図8は本発明の第1の実施の形態におけるトレイ情報のフォーマットを示す図である。   FIG. 7 is a diagram showing a format of MP tray information according to the first embodiment of the present invention, and FIG. 8 is a diagram showing a format of tray information according to the first embodiment of the present invention.

プリンタ20のメモリ35には、MPトレイ情報36として、なし、A4、A5、A6・・・B5、ハガキ、フウトウ等の媒体サイズ情報としての用紙サイズ61、及び、用紙の有無の情報62が、図7に示されるようなフォーマットで格納されている。   In the memory 35 of the printer 20, as MP tray information 36, paper size 61 as medium size information such as none, A4, A5, A6. It is stored in a format as shown in FIG.

また、前記メモリ35には、トレイ情報37として、各トレイ22に設定されているA4、A5、A6・・・B5等の媒体サイズ情報としての用紙サイズ71、カセット着脱72、及び、用紙の有無の情報73が、図8に示されるようなフォーマットで格納されている。   In the memory 35, as the tray information 37, the sheet size 71 as the medium size information set in each tray 22, such as A4, A5, A6. This information 73 is stored in a format as shown in FIG.

なお、用紙サイズ71の設定手段には、プリンタ20の構成によって、自動検出、ダイヤル設定、操作パネル41からサイズを入力する方法等があるが、本実施の形態においては、いずれの手段を用いてもよい。   Note that the paper size 71 setting means includes automatic detection, dial setting, and a method of inputting the size from the operation panel 41 depending on the configuration of the printer 20. In this embodiment, any means is used. Also good.

次に、前記構成のプリンタ20の動作について説明する。まず、全体的な動作であるメイン処理の動作について説明する。   Next, the operation of the printer 20 having the above configuration will be described. First, the operation of the main process that is the overall operation will be described.

図9は本発明の第1の実施の形態におけるメイン処理の動作を示すフローチャートである。   FIG. 9 is a flowchart showing the operation of the main process in the first embodiment of the present invention.

まず、電源が投入されて電源オンとなると、プリンタ20は、初期化処理を実行する。次に、プリンタ20は、PC10から通信回路11を介して送信された印刷データを受信する受信処理を実行する。次に、プリンタ20は、受信した印刷データを解析するデータ解析処理を実行する。次に、プリンタ20は、印刷データを加工し、印刷処理を実行して、受信処理に戻る。   First, when the power is turned on and the power is turned on, the printer 20 executes an initialization process. Next, the printer 20 executes a reception process for receiving print data transmitted from the PC 10 via the communication circuit 11. Next, the printer 20 executes a data analysis process for analyzing the received print data. Next, the printer 20 processes the print data, executes the printing process, and returns to the receiving process.

次に、フローチャートについて説明する。
ステップS1 初期化処理を実行する。
ステップS2 受信処理を実行する。
ステップS3 データ解析処理を実行する。
ステップS4 印刷処理を実行して、ステップS2に戻る。
Next, a flowchart will be described.
Step S1: An initialization process is executed.
Step S2: Receive processing is executed.
Step S3: Data analysis processing is executed.
Step S4: The printing process is executed, and the process returns to Step S2.

次に、前記メイン処理における初期化処理のサブルーチンについて説明する。   Next, an initialization process subroutine in the main process will be described.

図10は本発明の第1の実施の形態における初期化処理のサブルーチンを示すフローチャートである。   FIG. 10 is a flowchart showing a subroutine of initialization processing in the first embodiment of the present invention.

初期化処理において、プリンタ20は、まず、プリンタ本体21に実装されたトレイ22の数である実装トレイ数をLに設定する。図2に示される例においては、L=3である。続いて、プリンタ20は、カセット着脱センサ24、用紙有無センサ25等の各トレイ22のセンサから取得した情報によって、トレイ情報37を設定する。続いて、プリンタ20は、MPトレイ情報36の用紙サイズ61に、‘なし’を設定し、用紙有無センサ25dから取得した情報によって、用紙の有無を設定して、処理を終了する。   In the initialization process, the printer 20 first sets the number of mounted trays, which is the number of trays 22 mounted on the printer main body 21, to L. In the example shown in FIG. 2, L = 3. Subsequently, the printer 20 sets tray information 37 based on information acquired from the sensors of each tray 22 such as the cassette attachment / detachment sensor 24 and the paper presence / absence sensor 25. Subsequently, the printer 20 sets “None” in the paper size 61 of the MP tray information 36, sets the presence / absence of paper according to the information acquired from the paper presence / absence sensor 25d, and ends the process.

次に、フローチャートについて説明する。
ステップS1−1 実装トレイ数をLに設定する。
ステップS1−2 各トレイ22のセンサから取得した情報によって、トレイ情報37を設定する。
ステップS1−3 MPトレイ情報36の用紙サイズ61に、‘なし’を設定し、用紙有無センサ25dから取得した情報によって、用紙の有無を設定して、処理を終了する。
Next, a flowchart will be described.
Step S1-1: The number of mounted trays is set to L.
Step S1-2: The tray information 37 is set based on the information acquired from the sensor of each tray 22.
Step S1-3: “None” is set in the paper size 61 of the MP tray information 36, the presence / absence of paper is set according to the information acquired from the paper presence / absence sensor 25d, and the process is terminated.

次に、前記メイン処理におけるデータ解析処理のサブルーチンについて説明する。   Next, a subroutine for data analysis processing in the main processing will be described.

図11は本発明の第1の実施の形態におけるデータ解析処理のサブルーチンを示すフローチャートである。   FIG. 11 is a flowchart showing a subroutine of data analysis processing in the first embodiment of the present invention.

データ解析処理において、プリンタ20は、まず、PC10から受信したデータの印刷情報51における給紙方法53の指定によってトレイ22を選択する。すなわち、受信データフォーマットの給紙方法を取得し、これに従って分岐し、各印刷を実行する。具体的には、給紙方法53によって、n番目のトレイ22であるトレイnが指定された場合には、トレイn指定印刷を実行し、MPトレイ26が指定された場合にはMPトレイ指定印刷を実行し、自動選択が指定された場合には自動選択指定印刷を実行して、処理を終了する。   In the data analysis process, the printer 20 first selects the tray 22 by specifying the paper feed method 53 in the print information 51 of the data received from the PC 10. That is, the paper feed method of the received data format is acquired, and the process branches according to this to execute each printing. Specifically, when the n-th tray 22, which is the n-th tray 22, is designated by the paper feeding method 53, the tray n-designated printing is executed, and when the MP tray 26 is designated, the MP tray-designated printing is performed. If automatic selection is designated, automatic selection designation printing is executed, and the process ends.

次に、フローチャートについて説明する。
ステップS3−1 受信データフォーマットの給紙方法を取得する。
ステップS3−2 給紙方法に従って分岐し、各印刷を実行する。
ステップS3−3 トレイn指定印刷を実行して、処理を終了する。
ステップS3−4 MPトレイ指定印刷を実行して、処理を終了する。
ステップS3−5 自動選択指定印刷を実行して、処理を終了する。
Next, a flowchart will be described.
Step S3-1: Obtain the paper feed method of the received data format.
Step S3-2 Branches according to the paper feeding method and executes each printing.
Step S3-3: Tray n designation printing is executed, and the process is terminated.
Step S3-4: MP tray designation printing is executed, and the process is terminated.
Step S3-5: Automatic selection designation printing is executed, and the process is terminated.

次に、前記データ解析処理におけるトレイn指定印刷のサブルーチンについて説明する。   Next, a subroutine for tray n designation printing in the data analysis process will be described.

図12は本発明の第1の実施の形態におけるトレイn指定印刷のサブルーチンを示すフローチャートである。   FIG. 12 is a flowchart showing a subroutine of tray n designation printing in the first embodiment of the present invention.

まず、プリンタ20は、PC10から受信したデータの印刷情報51における印刷サイズを取得する。すなわち、受信データフォーマットから印刷サイズをGetする。続いて、プリンタ20は、メモリ35のトレイ情報37からトレイnに設定されている用紙サイズ71を取得する。すなわち、トレイ情報からトレイnの用紙サイズをGetする。   First, the printer 20 acquires the print size in the print information 51 of the data received from the PC 10. That is, the print size is obtained from the received data format. Subsequently, the printer 20 acquires the paper size 71 set for the tray n from the tray information 37 of the memory 35. That is, the paper size of tray n is obtained from the tray information.

続いて、プリンタ20は、受信データフォーマットからGetした印刷サイズとトレイ情報からGetしたトレイnの用紙サイズとを比較する。すなわち、印刷サイズとトレイnサイズとを比較する。   Subsequently, the printer 20 compares the print size obtained from the received data format with the paper size of the tray n obtained from the tray information. That is, the print size is compared with the tray n size.

そして、印刷サイズとトレイnサイズとが一致している場合、プリンタ20は、トレイnに用紙があるか否かを判断し、用紙がある場合には、処理を終了する。   If the print size and the tray n size match, the printer 20 determines whether or not there is a sheet in the tray n. If there is a sheet, the process ends.

また、トレイnに用紙がない場合には、操作パネル41の表示部42に、図5(a)に示されるようなトレイnの用紙補充要求を示す表示画面42aを表示し、すなわち、「トレイn用紙なし」を表示し、用紙が補充されるまで待機してから、処理を終了する。   When there is no paper in the tray n, a display screen 42a indicating a paper replenishment request for the tray n as shown in FIG. 5A is displayed on the display unit 42 of the operation panel 41. “No paper” is displayed, and the process is terminated after waiting until paper is replenished.

なお、印刷サイズとトレイnサイズとを比較してサイズが一致していない場合、プリンタ20は、操作パネル41の表示部42に、図5(b)に示されるようなトレイnの用紙入れ替え要求を示す表示画面42bを表示し、すなわち、「トレイn用紙入れ替え」を表示し、カセット23の抜き差しによって用紙の入れ替えが行われるまで待機してから、処理を終了する。   When the print size and the tray n size are compared and the sizes do not match, the printer 20 causes the display unit 42 of the operation panel 41 to request a paper replacement of the tray n as shown in FIG. Is displayed, that is, "Tray n paper replacement" is displayed, and the process is terminated after waiting until paper replacement is performed by inserting and removing the cassette 23.

次に、フローチャートについて説明する。
ステップS3−3−1 受信データフォーマットから印刷サイズをGetする。
ステップS3−3−2 トレイ情報からトレイnの用紙サイズをGetする。
ステップS3−3−3 印刷サイズとトレイnサイズとを比較する。印刷サイズとトレイnサイズとが一致している場合はステップS3−3−4に進み、印刷サイズとトレイnサイズとが一致していない場合はステップS3−3−7に進む。
ステップS3−3−4 トレイnに用紙があるか否かを判断する。トレイnに用紙がある場合は処理を終了し、トレイnに用紙がない場合はステップS3−3−5に進む。
ステップS3−3−5 表示部42に「トレイn用紙なし」を表示する。
ステップS3−3−6 用紙セット待ちであるか否かを判断する。用紙セット待ちである場合は用紙が補充されるまで待機し、用紙セット待ちでない場合は処理を終了する。
ステップS3−3−7 表示部42に「トレイn用紙入れ替え」を表示する。
ステップS3−3−8 カセット23の抜き差し待ちであるか否かを判断する。カセット23の抜き差し待ちである場合はカセット23の抜き差しによって用紙の入れ替えが行われるまで待機し、カセット23の抜き差し待ちでない場合は処理を終了する。
Next, a flowchart will be described.
Step S3-3-1 Get the print size from the received data format.
Step S3-3-2: Get the paper size of the tray n from the tray information.
Step S3-3-3: The print size is compared with the tray n size. If the print size matches the tray n size, the process proceeds to step S3-3-4. If the print size does not match the tray n size, the process proceeds to step S3-3-7.
Step S3-3-4: It is determined whether or not there is a sheet in the tray n. If there is a sheet in tray n, the process ends. If there is no sheet in tray n, the process proceeds to step S3-3-5.
Step S3-3-5: “No tray n paper” is displayed on the display unit 42.
Step S3-3-6: It is determined whether or not waiting for paper setting. When waiting for a paper set, the process waits until the paper is replenished, and when not waiting for a paper set, the process ends.
Step S3-3-7: “Tray n paper replacement” is displayed on the display unit 42.
Step S3-3-8: It is determined whether or not the cassette 23 is waiting for insertion / removal. When waiting for the insertion / removal of the cassette 23, the process waits until the paper is replaced by the insertion / removal of the cassette 23. When not waiting for the insertion / removal of the cassette 23, the process ends.

次に、前記データ解析処理におけるMPトレイ指定印刷のサブルーチンについて説明する。   Next, an MP tray designated printing subroutine in the data analysis process will be described.

図13は本発明の第1の実施の形態におけるMPトレイ指定印刷のサブルーチンを示すフローチャートである。   FIG. 13 is a flowchart showing a subroutine of MP tray designation printing in the first embodiment of the present invention.

まず、プリンタ20は、PC10から受信したデータの印刷情報51における印刷サイズを取得する。すなわち、受信データフォーマットから印刷サイズをGetする。続いて、プリンタ20は、メモリ35のMPトレイ情報36からMPトレイ26に設定されている用紙サイズ61を取得する。すなわち、MPトレイ情報からMPトレイ26の用紙サイズをGetする。続いて、プリンタ20は、MPトレイ26の用紙サイズが設定されているか否かを判断する。   First, the printer 20 acquires the print size in the print information 51 of the data received from the PC 10. That is, the print size is obtained from the received data format. Subsequently, the printer 20 acquires the paper size 61 set in the MP tray 26 from the MP tray information 36 in the memory 35. That is, the paper size of the MP tray 26 is obtained from the MP tray information. Subsequently, the printer 20 determines whether the paper size of the MP tray 26 is set.

そして、MPトレイ26の用紙サイズが設定されている場合、プリンタ20は、受信データフォーマットからGetした印刷サイズとMPトレイ情報からGetしたMPトレイ26の用紙サイズとを比較する。すなわち、印刷サイズとMPトレイサイズとを比較する。   When the paper size of the MP tray 26 is set, the printer 20 compares the print size obtained from the received data format with the paper size of the MP tray 26 obtained from the MP tray information. That is, the print size is compared with the MP tray size.

そして、印刷サイズとMPトレイサイズとが一致している場合、プリンタ20は、MPトレイ26に用紙があるか否かを判断し、用紙がある場合には、処理を終了する。   If the print size matches the MP tray size, the printer 20 determines whether or not there is a sheet in the MP tray 26. If there is a sheet, the process ends.

また、MPトレイ26に用紙がない場合には、操作パネル41の表示部42に、図5(c)に示されるようなMPトレイ26への用紙セット要求を示す表示画面42cを表示し、すなわち、「MPトレイ用紙セット」を表示し、用紙がセットされるまで待機してから、処理を終了する。   When there is no paper in the MP tray 26, a display screen 42c indicating a paper setting request to the MP tray 26 as shown in FIG. 5C is displayed on the display unit 42 of the operation panel 41. , “MP tray paper set” is displayed, and the process is terminated after waiting until paper is set.

なお、MPトレイ26の用紙サイズが設定されているか否かを判断して用紙サイズが設定されていない場合、及び、印刷サイズとMPトレイサイズとを比較してサイズが一致していない場合、プリンタ20は、MPトレイ26に用紙があるか否かを判断する。   It is determined whether the paper size of the MP tray 26 is set and the paper size is not set, and when the print size and the MP tray size are compared and the sizes do not match, the printer 20 determines whether or not there is a sheet in the MP tray 26.

そして、MPトレイ26に用紙がない場合には、操作パネル41の表示部42に、図5(c)に示されるようなMPトレイへの用紙セット要求を示す表示画面42cを表示し、すなわち、「MPトレイ用紙セット」を表示し、用紙がセットされるまで待機してから、MPトレイ情報36を印刷サイズに書き換えて、すなわち、MPトレイ情報36に印刷サイズを設定して処理を終了する。また、MPトレイ26に用紙がある場合には、操作パネル41の表示部42に、図5(d)に示されるようなMPトレイ26への用紙入れ替え要求を示す表示画面42dを表示し、すなわち、「MPトレイ用紙入れ替え」を表示し、オンラインSWによって用紙の入れ替えが行われるまで待機してから、MPトレイ情報36を印刷サイズに書き換えて、すなわち、MPトレイ情報36に印刷サイズを設定して処理を終了する。   When there is no paper in the MP tray 26, a display screen 42c indicating a paper setting request to the MP tray as shown in FIG. 5C is displayed on the display unit 42 of the operation panel 41, that is, After displaying “MP tray paper set” and waiting until paper is set, the MP tray information 36 is rewritten to the print size, that is, the print size is set in the MP tray information 36 and the process is terminated. When there is paper on the MP tray 26, a display screen 42d indicating a paper replacement request to the MP tray 26 as shown in FIG. 5D is displayed on the display unit 42 of the operation panel 41. , “MP tray paper replacement” is displayed, and it waits until the paper is replaced by online SW. Then, the MP tray information 36 is rewritten to the print size, that is, the print size is set in the MP tray information 36. The process ends.

次に、フローチャートについて説明する。
ステップS3−4−1 受信データフォーマットから印刷サイズをGetする。
ステップS3−4−2 MPトレイ情報からMPトレイ26の用紙サイズをGetする。
ステップS3−4−3 MPトレイ26の用紙サイズが設定されているか否かを判断する。MPトレイ26の用紙サイズが設定されている場合はステップS3−4−4に進み、MPトレイ26の用紙サイズが設定されていない場合はステップS3−4−8に進む。
ステップS3−4−4 印刷サイズとMPトレイサイズとを比較する。印刷サイズとMPトレイサイズとが一致している場合はステップS3−4−5に進み、印刷サイズとMPトレイサイズとが一致していない場合はステップS3−4−8に進む。
ステップS3−4−5 MPトレイ26に用紙があるか否かを判断する。MPトレイ26に用紙がある場合は処理を終了し、MPトレイ26に用紙がない場合はステップS3−4−6に進む。
ステップS3−4−6 表示部42に「MPトレイ用紙セット」を表示する。
ステップS3−4−7 用紙セット待ちであるか否かを判断する。用紙セット待ちである場合は用紙がセットされるまで待機し、用紙セット待ちでない場合は処理を終了する。
ステップS3−4−8 MPトレイ26に用紙があるか否かを判断する。MPトレイ26に用紙がある場合はステップS3−4−12に進み、MPトレイ26に用紙がない場合はステップS3−4−9に進む。
ステップS3−4−9 表示部42に「MPトレイ用紙セット」を表示する。
ステップS3−4−10 用紙セット待ちであるか否かを判断する。用紙セット待ちである場合は用紙がセットされるまで待機し、用紙セット待ちでない場合はステップS3−4−11に進む。
ステップS3−4−11 MPトレイ情報36に印刷サイズを設定して処理を終了する。
ステップS3−4−12 表示部42に「MPトレイ用紙入れ替え」を表示する。
ステップS3−4−13 オンラインSW待ちであるか否かを判断する。オンラインSW待ちである場合はオンラインSWによって用紙の入れ替えが行われるまで待機し、オンラインSW待ちでない場合はステップS3−4−11に戻る。
Next, a flowchart will be described.
Step S3-4-1 Gets the print size from the received data format.
Step S3-4-2: Get the paper size of the MP tray 26 from the MP tray information.
Step S3-4-3: It is determined whether or not the paper size of the MP tray 26 is set. If the paper size of the MP tray 26 is set, the process proceeds to step S3-4-4. If the paper size of the MP tray 26 is not set, the process proceeds to step S3-4-8.
Step S3-4-4: The print size is compared with the MP tray size. If the print size matches the MP tray size, the process proceeds to step S3-4-5. If the print size does not match the MP tray size, the process proceeds to step S3-4-8.
Step S3-4-5: It is determined whether or not there is a sheet in the MP tray 26. If there is paper on the MP tray 26, the process ends. If there is no paper on the MP tray 26, the process proceeds to step S3-4-6.
Step S3-4-6: “MP tray paper set” is displayed on the display unit 42.
Step S3-4-7: It is determined whether or not waiting for paper setting. If it is waiting for a paper set, it waits until a paper is set. If it is not waiting for a paper set, the process is terminated.
Step S3-4-8: It is determined whether or not there is paper on the MP tray 26. If there is paper in the MP tray 26, the process proceeds to step S3-4-12, and if there is no paper in the MP tray 26, the process proceeds to step S3-4-9.
Step S3-4-9 “MP tray paper set” is displayed on the display unit.
Step S3-4-10: It is determined whether or not waiting for paper setting. If it is waiting for paper, it waits until paper is set. If it is not waiting for paper, the process proceeds to step S3-4-11.
Step S3-4-11: The print size is set in the MP tray information 36, and the process ends.
Step S3-4-12 “MP tray paper replacement” is displayed on the display unit.
Step S3-4-13: It is determined whether or not waiting for online SW. If it is waiting for online SW, it waits until the paper is replaced by online SW. If it is not waiting for online SW, the process returns to step S3-4-11.

次に、前記データ解析処理における自動選択指定印刷のサブルーチンについて説明する。   Next, an automatic selection / designated printing subroutine in the data analysis process will be described.

図14は本発明の第1の実施の形態における自動選択のサーチ順を示す図、図15は本発明の第1の実施の形態における自動選択指定印刷のサブルーチンを示すフローチャートである。   FIG. 14 is a diagram showing the search order of automatic selection in the first embodiment of the present invention, and FIG. 15 is a flowchart showing a subroutine of automatic selection designation printing in the first embodiment of the present invention.

まず、プリンタ20は、PC10から受信したデータの印刷情報51における印刷サイズを取得する。すなわち、受信データフォーマットから印刷サイズをGetする。そして、カウンタnに1を代入する。   First, the printer 20 acquires the print size in the print information 51 of the data received from the PC 10. That is, the print size is obtained from the received data format. Then, 1 is assigned to the counter n.

続いて、プリンタ20は、メモリ35のトレイ情報37からトレイnに設定されている用紙サイズ71を取得する。すなわち、トレイ情報からトレイnの用紙サイズをGetする。   Subsequently, the printer 20 acquires the paper size 71 set for the tray n from the tray information 37 of the memory 35. That is, the paper size of tray n is obtained from the tray information.

続いて、プリンタ20は、受信データフォーマットからGetした印刷サイズとトレイ情報からGetしたトレイnの用紙サイズとを比較する。すなわち、印刷サイズとトレイnサイズとを比較する。そして、印刷サイズとトレイnサイズとが一致していない場合、プリンタ20は、カウンタnを更新し、nの値をインクリメントしてn+1にする。   Subsequently, the printer 20 compares the print size obtained from the received data format with the paper size of the tray n obtained from the tray information. That is, the print size is compared with the tray n size. If the print size and the tray n size do not match, the printer 20 updates the counter n and increments the value of n to n + 1.

続いて、プリンタ20は、nの値が実装トレイ数(L)を超えたか否かを判断する。そして、超えていない場合、再び、トレイ情報からトレイnの用紙サイズをGetし、以降の動作を繰り返す。また、nの値が実装トレイ数(L)を超えた場合、プリンタ20は、メモリ35のトレイ情報37には、PC10から受信したデータの印刷情報51における印刷サイズと一致する用紙サイズ71がない、すなわち、印刷サイズに一致するトレイ22が見つからなかったと判断し、給紙トレイとして使用するトレイをMPトレイ26に決定する。   Subsequently, the printer 20 determines whether the value of n exceeds the number of mounted trays (L). If not, the paper size of the tray n is obtained again from the tray information, and the subsequent operations are repeated. If the value of n exceeds the number of mounted trays (L), the printer 20 does not have the paper size 71 in the tray information 37 of the memory 35 that matches the print size in the print information 51 of the data received from the PC 10. That is, it is determined that the tray 22 matching the print size has not been found, and the MP tray 26 is determined as the tray to be used as the paper feed tray.

続いて、プリンタ20は、MPトレイ26に用紙があるか否かを判断する。そして、用紙がある場合、プリンタ20は、メモリ35のMPトレイ情報36からMPトレイ26に設定されている用紙サイズ61を取得する。すなわち、MPトレイ情報からMPトレイ26の用紙サイズをGetする。続いて、プリンタ20は、MPトレイ26の用紙サイズが設定されているか否かを判断する。   Subsequently, the printer 20 determines whether or not there is a sheet on the MP tray 26. If there is a sheet, the printer 20 acquires the sheet size 61 set in the MP tray 26 from the MP tray information 36 in the memory 35. That is, the paper size of the MP tray 26 is obtained from the MP tray information. Subsequently, the printer 20 determines whether the paper size of the MP tray 26 is set.

そして、MPトレイ26の用紙サイズが設定されている場合、プリンタ20は、受信データフォーマットからGetした印刷サイズとMPトレイ情報からGetしたMPトレイ26の用紙サイズとを比較する。すなわち、印刷サイズとMPトレイサイズとを比較する。そして、印刷サイズとMPトレイサイズとが一致している場合、プリンタ20は、処理を終了する。   When the paper size of the MP tray 26 is set, the printer 20 compares the print size obtained from the received data format with the paper size of the MP tray 26 obtained from the MP tray information. That is, the print size is compared with the MP tray size. If the print size and the MP tray size match, the printer 20 ends the process.

また、MPトレイ26の用紙サイズが設定されているか否かを判断して、MPトレイ26の用紙サイズが設定されていない場合、プリンタ20は、操作パネル41の表示部42に、図5(d)に示されるようなMPトレイ26への用紙入れ替え要求を示す表示画面42dを表示する、すなわち、「MPトレイ用紙入れ替え」を表示する。なお、印刷サイズとMPトレイサイズとを比較し、印刷サイズとMPトレイサイズとが一致していない場合も、同様に、「MPトレイ用紙入れ替え」を表示する。そして、プリンタ20は、オンラインSWによって用紙の入れ替えが行われるまで待機してから、MPトレイ情報36を印刷サイズに書き換えて、すなわち、MPトレイ情報36に印刷サイズを設定して処理を終了する。   Further, it is determined whether or not the paper size of the MP tray 26 is set, and when the paper size of the MP tray 26 is not set, the printer 20 displays the display unit 42 of the operation panel 41 in FIG. ), A display screen 42d indicating a paper replacement request to the MP tray 26 is displayed, that is, “MP tray paper replacement” is displayed. Note that the print size is compared with the MP tray size, and if the print size does not match the MP tray size, “MP tray paper replacement” is displayed in the same manner. Then, the printer 20 waits until the paper is replaced by the online SW, and then rewrites the MP tray information 36 to the print size, that is, sets the print size in the MP tray information 36 and ends the process.

さらに、MPトレイ26に用紙があるか否かを判断して用紙がない場合、プリンタ20は、操作パネル41の表示部42に、図5(c)に示されるようなMPトレイ26への用紙セット要求を示す表示画面42cを表示し、すなわち、「MPトレイ用紙セット」を表示し、用紙がセットされるまで待機してから、MPトレイ情報36を印刷サイズに書き換えて、すなわち、MPトレイ情報36に印刷サイズを設定して処理を終了する。   Further, when it is determined whether or not there is paper in the MP tray 26 and there is no paper, the printer 20 displays the paper on the MP tray 26 as shown in FIG. 5C on the display unit 42 of the operation panel 41. The display screen 42c indicating the set request is displayed, that is, “MP tray paper set” is displayed, and the MP tray information 36 is rewritten to the print size after waiting until paper is set, that is, the MP tray information. The print size is set to 36, and the process ends.

一方、印刷サイズとトレイnサイズとを比較して、印刷サイズとトレイnサイズとが一致している場合、プリンタ20は、メモリ35のトレイ情報37には、PC10から受信したデータの印刷情報51における印刷サイズと一致する用紙サイズ71がある、すなわち、印刷サイズに一致するトレイ22が見つかったと判断し、トレイnに用紙があるか否かを判断する。   On the other hand, when the print size and the tray n size are compared and the print size and the tray n size match, the printer 20 stores the print information 51 of the data received from the PC 10 in the tray information 37 of the memory 35. It is determined that there is a paper size 71 that matches the print size in FIG. 5, that is, the tray 22 that matches the print size has been found, and it is determined whether or not there is paper in the tray n.

そして、トレイnに用紙がある場合、プリンタ20は、給紙トレイとして使用するトレイをトレイnに決定して処理を終了する。   If there is a sheet in the tray n, the printer 20 determines the tray to be used as the sheet feeding tray as the tray n and ends the process.

また、トレイnに用紙がない場合、プリンタ20は、現在のnの値を起点にし、カウンタmを使用して更にサーチを続ける。この場合、プリンタ20は、カウンタmを更新し、mの値をインクリメントしてm+1にする。   If there is no paper in the tray n, the printer 20 starts the current value of n and continues the search using the counter m. In this case, the printer 20 updates the counter m and increments the value of m to m + 1.

続いて、プリンタ20は、mの値が実装トレイ数(L)を超えたか否かを判断する。そして、超えていない場合、プリンタ20は、メモリ35のトレイ情報37からトレイmに設定されている用紙サイズ71を取得する。すなわち、トレイ情報からトレイmの用紙サイズをGetする。   Subsequently, the printer 20 determines whether or not the value of m exceeds the number of mounted trays (L). If not exceeded, the printer 20 acquires the paper size 71 set for the tray m from the tray information 37 of the memory 35. That is, the paper size of the tray m is obtained from the tray information.

続いて、プリンタ20は、受信データフォーマットからGetした印刷サイズとトレイ情報からGetしたトレイmの用紙サイズとを比較する。すなわち、印刷サイズとトレイmサイズとを比較する。そして、印刷サイズとトレイmサイズとが一致していない場合、再び、カウンタmの値を更新し、以降の動作を繰り返す。また、印刷サイズとトレイmサイズとが一致している場合、トレイmに用紙があるか否かを判断する。   Subsequently, the printer 20 compares the print size obtained from the received data format with the paper size of the tray m obtained from the tray information. That is, the print size is compared with the tray m size. If the print size does not match the tray m size, the value of the counter m is updated again, and the subsequent operations are repeated. If the print size matches the tray m size, it is determined whether or not there is paper in the tray m.

そして、トレイmに用紙がある場合、プリンタ20は、給紙トレイとして使用するトレイをトレイmに決定して処理を終了する。なお、トレイmに用紙がない場合には、再び、カウンタmの値を更新し、以降の動作を繰り返す。   If there is paper in the tray m, the printer 20 determines the tray to be used as the paper feed tray as the tray m, and ends the process. If there is no sheet in the tray m, the value of the counter m is updated again, and the subsequent operations are repeated.

また、mの値が実装トレイ数(L)を超えたか否かを判断して、超えている場合、プリンタ20は、メモリ35のトレイ情報37には、PC10から受信したデータの印刷情報51における印刷サイズと一致する用紙サイズ71がない、すなわち、印刷サイズに一致するトレイ22が見つからなかったと判断し、給紙トレイとして使用するトレイをトレイnに決定する。   Further, it is determined whether or not the value of m exceeds the number of mounted trays (L). If it exceeds, the printer 20 stores the tray information 37 of the memory 35 in the print information 51 of the data received from the PC 10. It is determined that there is no paper size 71 that matches the print size, that is, the tray 22 that matches the print size has not been found, and the tray to be used as the paper feed tray is determined as the tray n.

続いて、プリンタ20は、操作パネル41の表示部42に、図5(a)に示されるようなトレイnへの用紙セット要求を示す表示画面42aを表示し、すなわち、「トレイn用紙セット」を表示し、用紙がセットされるまで待機してから、処理を終了する。   Subsequently, the printer 20 displays a display screen 42a indicating a paper setting request for the tray n as shown in FIG. 5A on the display unit 42 of the operation panel 41, that is, “tray n paper setting”. Is displayed, and the process is terminated after waiting for paper to be set.

次に、フローチャートについて説明する。
ステップS3−5−1 受信データフォーマットから印刷サイズをGetする。
ステップS3−5−2 カウンタnに1を代入する。
ステップS3−5−3 トレイ情報からトレイnの用紙サイズをGetする。
ステップS3−5−4 印刷サイズとトレイnサイズとを比較する。印刷サイズとトレイnサイズとが一致している場合はステップS3−5−17に進み、印刷サイズとトレイnサイズとが一致していない場合はステップS3−5−5に進む。
ステップS3−5−5 nの値をインクリメントしてn+1にする。
ステップS3−5−6 nの値が実装トレイ数(L)を超えたか否かを判断する。nの値が実装トレイ数(L)を超えた場合はステップS3−5−7に進み、nの値が実装トレイ数(L)を超えていない場合はステップS3−5−3に戻る。
ステップS3−5−7 給紙トレイとして使用するトレイをMPトレイ26に決定する。
ステップS3−5−8 MPトレイ26に用紙があるか否かを判断する。MPトレイ26に用紙がある場合はステップS3−5−9に進み、MPトレイ26に用紙がない場合はステップS3−5−15に進む。
ステップS3−5−9 MPトレイ情報からMPトレイ26の用紙サイズをGetする。
ステップS3−5−10 MPトレイ26の用紙サイズが設定されているか否かを判断する。MPトレイ26の用紙サイズが設定されている場合はステップS3−5−11に進み、MPトレイ26の用紙サイズが設定されていない場合はステップS3−5−12に進む。
ステップS3−5−11 印刷サイズとMPトレイサイズとを比較する。印刷サイズとMPトレイサイズとが一致している場合は処理を終了し、印刷サイズとMPトレイサイズとが一致していない場合はステップS3−5−12に進む。
ステップS3−5−12 表示部42に「MPトレイ用紙入れ替え」を表示する。
ステップS3−5−13 オンラインSW待ちであるか否かを判断する。オンラインSW待ちである場合はオンラインSWによって用紙の入れ替えが行われるまで待機し、オンラインSW待ちでない場合はステップS3−4−14に進む。
ステップS3−5−14 MPトレイ情報36に印刷サイズを設定して処理を終了する。
ステップS3−5−15 表示部42に「MPトレイ用紙セット」を表示する。
ステップS3−5−16 用紙セット待ちであるか否かを判断する。用紙セット待ちである場合は用紙がセットされるまで待機し、用紙セット待ちでない場合はステップS3−5−14に進む。
ステップS3−5−17 トレイnに用紙があるか否かを判断する。トレイnに用紙がある場合はステップS3−5−18に進み、トレイnに用紙がない場合はステップS3−5−19に進む。
ステップS3−5−18 給紙トレイとして使用するトレイをトレイnに決定して処理を終了する。
ステップS3−5−19 現在のnの値を起点にし、カウンタmを使用して更にサーチを続ける。
ステップS3−5−20 mの値をインクリメントしてm+1にする。
ステップS3−5−21 mの値が実装トレイ数(L)を超えたか否かを判断する。mの値が実装トレイ数(L)を超えた場合はステップS3−5−26に進み、mの値が実装トレイ数(L)を超えていない場合はステップS3−5−22に進む。
ステップS3−5−22 トレイ情報からトレイmの用紙サイズをGetする。
ステップS3−5−23 印刷サイズとトレイmサイズとを比較する。印刷サイズとトレイmサイズとが一致している場合はステップS3−5−24に進み、印刷サイズとトレイmサイズとが一致していない場合はステップS3−5−20に戻る。
ステップS3−5−24 トレイmに用紙があるか否かを判断する。トレイmに用紙がある場合はステップS3−5−25に進み、トレイmに用紙がない場合はステップS3−5−20に戻る。
ステップS3−5−25 給紙トレイとして使用するトレイをトレイmに決定して処理を終了する。
ステップS3−5−26 給紙トレイとして使用するトレイをトレイnに決定する。
ステップS3−5−27 表示部42に「トレイn用紙セット」を表示する。
ステップS3−5−28 用紙セット待ちであるか否かを判断する。用紙セット待ちである場合は用紙がセットされるまで待機し、用紙セット待ちでない場合は処理を終了する。
Next, a flowchart will be described.
Step S3-5-1: Get the print size from the received data format.
Step S3-5-2: 1 is assigned to the counter n.
Step S3-5-3: Get the paper size of tray n from the tray information.
Step S3-5-4: The print size is compared with the tray n size. If the print size matches the tray n size, the process proceeds to step S3-5-17. If the print size does not match the tray n size, the process proceeds to step S3-5-5.
Step S3-5-5: The value of n is incremented to n + 1.
Step S3-5-6: It is determined whether or not the value of n has exceeded the number of mounted trays (L). If the value of n exceeds the number of mounted trays (L), the process proceeds to step S3-5-7. If the value of n does not exceed the number of mounted trays (L), the process returns to step S3-5-3.
Step S3-5-7: The MP tray 26 is determined as the tray to be used as the paper feed tray.
Step S3-5-8: It is determined whether or not there is paper on the MP tray 26. If there is paper in the MP tray 26, the process proceeds to step S3-5-9, and if there is no paper in the MP tray 26, the process proceeds to step S3-5-15.
Step S3-5-9: Get the paper size of the MP tray 26 from the MP tray information.
Step S3-5-10: It is determined whether the paper size of the MP tray 26 is set. If the paper size of the MP tray 26 is set, the process proceeds to step S3-5-11. If the paper size of the MP tray 26 is not set, the process proceeds to step S3-5-12.
Step S3-5-11: The print size is compared with the MP tray size. If the print size and the MP tray size match, the process ends. If the print size and the MP tray size do not match, the process proceeds to step S3-5-12.
Step S3-5-12: “MP tray paper replacement” is displayed on the display unit 42.
Step S3-5-13: It is determined whether or not waiting for online SW. When waiting for online SW, the process waits until the paper is replaced by online SW. When not waiting for online SW, the process proceeds to step S3-4-14.
Step S3-5-14: The print size is set in the MP tray information 36, and the process is terminated.
Step S3-5-15: “MP tray paper set” is displayed on the display unit 42.
Step S3-5-16: It is determined whether or not waiting for paper setting. If it is waiting for paper, it waits until paper is set. If it is not waiting for paper, the process proceeds to step S3-5-14.
Step S3-5-17—Determines whether there is a sheet in the tray n. If there is a sheet in tray n, the process proceeds to step S3-5-18, and if there is no sheet in tray n, the process proceeds to step S3-5-19.
Step S3-5-18: The tray to be used as the paper feed tray is determined as the tray n, and the process is terminated.
Step S3-5-19 Starting from the current value of n, the search is continued using the counter m.
Step S3-5-20: The value of m is incremented to m + 1.
Step S3-5-21: It is determined whether the value of m has exceeded the number of mounted trays (L). If the value of m exceeds the number of mounted trays (L), the process proceeds to step S3-5-26, and if the value of m does not exceed the number of mounted trays (L), the process proceeds to step S3-5-22.
Step S3-5-22: Gets the paper size of the tray m from the tray information.
Step S3-5-23: The print size is compared with the tray m size. If the print size matches the tray m size, the process proceeds to step S3-5-24. If the print size does not match the tray m size, the process returns to step S3-5-20.
Step S3-5-24: It is determined whether or not there is a sheet in the tray m. If there is paper in the tray m, the process proceeds to step S3-5-25, and if there is no paper in the tray m, the process returns to step S3-5-20.
Step S3-5-25: The tray to be used as the paper feed tray is determined as the tray m, and the process is terminated.
Step S3-5-26: The tray to be used as the paper feed tray is determined as the tray n.
Step S3-5-27 “Tray n paper set” is displayed on the display unit 42.
Step S3-5-28: It is determined whether or not waiting for paper setting. If it is waiting for a paper set, it waits until a paper is set. If it is not waiting for a paper set, the process is terminated.

次に、前記メイン処理における印刷処理のサブルーチンについて説明する。   Next, a printing process subroutine in the main process will be described.

図16は本発明の第1の実施の形態における印刷処理のサブルーチンを示すフローチャートである。   FIG. 16 is a flowchart showing a print processing subroutine according to the first embodiment of the present invention.

印刷処理において、プリンタ20は、印刷中のトレイで用紙がなくなったか否か、すなわち、印刷中のトレイで用紙なしであるか否かを判断する。そして、印刷中のトレイで用紙がなくなった場合、印刷中のトレイがMPトレイ26であるか否か、すなわち、MPトレイ26から印刷中であるか否かを判断する。   In the printing process, the printer 20 determines whether there is no paper in the tray being printed, that is, whether there is no paper in the tray being printed. When there is no more paper in the tray being printed, it is determined whether the tray being printed is the MP tray 26, that is, whether printing is being performed from the MP tray 26.

そして、印刷中のトレイがMPトレイ26でなければ、プリンタ20は、操作パネル41の表示部42に、図5(a)に示されるようなトレイnへの用紙セット要求を示す表示画面42aを表示し、すなわち、「トレイn用紙セット」を表示し、用紙がセットされるまで待機する。また、印刷中のトレイがMPトレイ26であれば、プリンタ20は、操作パネル41の表示部42に、図5(c)に示されるようなMPトレイへの用紙セット要求を示す表示画面42cを表示し、すなわち、「MPトレイ用紙セット」を表示し、用紙がセットされるまで待機する。   If the tray being printed is not the MP tray 26, the printer 20 displays on the display unit 42 of the operation panel 41 a display screen 42a indicating a paper setting request for the tray n as shown in FIG. Display, that is, “tray n paper set” is displayed, and it waits until paper is set. If the tray being printed is the MP tray 26, the printer 20 displays on the display unit 42 of the operation panel 41 a display screen 42c indicating a paper setting request for the MP tray as shown in FIG. Display, that is, “MP tray paper set” is displayed, and it waits until paper is set.

一方、印刷中のトレイで用紙なしであるか否かを判断して用紙がある場合にはそのまま、また、印刷中のトレイで用紙がなくなった場合には用紙がセットされた後に、プリンタ20は、PC10から受信したデータの印刷データ54を画像データに変換し、画像形成部に1ページ分の画像データに転送する。すなわち、印刷データをVideoデータに変換し、エンジンへ1Page分のデータを転送する。そして、プリンタ20は、すべてのページの印刷が終了するまで、すなわち、全Page終了まで、以上の動作を繰り返し、処理を終了する。   On the other hand, it is determined whether or not there is no paper in the tray being printed. If there is paper, the printer 20 keeps it as it is. If there is no paper in the tray being printed, the printer 20 The print data 54 received from the PC 10 is converted into image data and transferred to the image forming unit for one page of image data. That is, the print data is converted into video data, and data for one page is transferred to the engine. Then, the printer 20 repeats the above operation until the printing of all pages is completed, that is, until all pages are completed, and the processing is completed.

次に、フローチャートについて説明する。
ステップS4−1 印刷中のトレイで用紙なしであるか否かを判断する。印刷中のトレイで用紙がある場合はステップS4−7に進み、印刷中のトレイで用紙がなくなった場合はステップS4−2に進む。
ステップS4−2 MPトレイ26から印刷中であるか否かを判断する。MPトレイ26から印刷中である場合はステップS4−5に進み、MPトレイ26から印刷中でない場合はステップS4−3に進む。
ステップS4−3 表示部42に「トレイn用紙セット」を表示する。
ステップS4−4 用紙セット待ちであるか否かを判断する。用紙セット待ちである場合は用紙がセットされるまで待機し、用紙セット待ちでない場合はステップS4−7に進む。
ステップS4−5 表示部42に「MPトレイ用紙セット」を表示する。
ステップS4−6 用紙セット待ちであるか否かを判断する。用紙セット待ちである場合は用紙がセットされるまで待機し、用紙セット待ちでない場合はステップS4−7に進む。
ステップS4−7 印刷データをVideoデータに変換し、エンジンへ1Page分のデータを転送する。
ステップS4−8 全Page終了したか否かを判断する。全Page終了した場合は処理を終了し、全Page終了していない場合はステップS4−1に戻る。
Next, a flowchart will be described.
Step S4-1: It is determined whether or not there is no paper in the tray being printed. If there is a sheet in the tray being printed, the process proceeds to step S4-7. If there is no sheet in the tray being printed, the process proceeds to step S4-2.
Step S4-2: It is determined whether printing from the MP tray 26 is in progress. If printing from the MP tray 26 is in progress, the process proceeds to step S4-5. If printing from the MP tray 26 is not in progress, the process proceeds to step S4-3.
Step S4-3: “Tray n paper set” is displayed on the display unit 42.
Step S4-4: It is determined whether or not waiting for paper setting. If it is waiting for paper, it waits until paper is set. If it is not waiting for paper, the process proceeds to step S4-7.
Step S4-5: “MP tray paper set” is displayed on the display unit 42.
Step S4-6: It is determined whether or not waiting for paper setting. If it is waiting for paper, it waits until paper is set. If it is not waiting for paper, the process proceeds to step S4-7.
Step S4-7: Print data is converted into Video data, and 1 page of data is transferred to the engine.
Step S4-8: It is determined whether all pages have been completed. If all the pages have been completed, the process ends. If all the pages have not been completed, the process returns to step S4-1.

次に、エンジンセンサ読み出し処理について説明する。   Next, engine sensor reading processing will be described.

図17は本発明の第1の実施の形態におけるエンジンセンサ読み出し処理の動作を示すフローチャートである。   FIG. 17 is a flowchart showing the operation of the engine sensor reading process according to the first embodiment of the present invention.

なお、エンジンセンサ読み出し処理は、エンジン側でセンサの変化があったとき、すなわち、エンジン制御部38がカセット着脱センサ24及び用紙有無センサ25から取得する情報に変化があったときのみ起動される処理である。   The engine sensor reading process is started only when there is a sensor change on the engine side, that is, when there is a change in information acquired by the engine control unit 38 from the cassette attachment / detachment sensor 24 and the sheet presence / absence sensor 25. It is.

まず、プリンタ20は、カセット着脱センサ24及び用紙有無センサ25から取得した情報に基づいて、すなわち、各トレイ22のセンサ入力に基づいて、トレイ情報37を更新する。   First, the printer 20 updates the tray information 37 based on information acquired from the cassette attachment / detachment sensor 24 and the paper presence / absence sensor 25, that is, based on sensor input of each tray 22.

続いて、プリンタ20は、MPトレイ26上の用紙の有無を検出する用紙有無センサ25d、すなわち、MPトレイ用紙有無センサがONであるかOFFであるかを判断する。そして、用紙有無センサ25dがONである場合、プリンタ20は、MPトレイ情報36を用紙有に設定して処理を終了する。   Subsequently, the printer 20 determines whether the paper presence sensor 25d that detects the presence or absence of paper on the MP tray 26, that is, whether the MP tray paper presence sensor is ON or OFF. If the sheet presence / absence sensor 25d is ON, the printer 20 sets the MP tray information 36 to include a sheet and ends the process.

また、用紙有無センサ25dがOFFである場合、プリンタ20は、MPトレイ情報36を用紙無に設定する。続いて、プリンタ20は、印刷中のトレイがMPトレイ26であるか否か、すなわち、MPトレイ26から印刷中であるか否かを判断する。   If the paper presence / absence sensor 25d is OFF, the printer 20 sets the MP tray information 36 to no paper. Subsequently, the printer 20 determines whether the tray being printed is the MP tray 26, that is, whether printing is being performed from the MP tray 26.

そして、MPトレイ26から印刷中であれば、そのまま、処理を終了する。また、MPトレイ26から印刷中でなければ、MPトレイ情報36の用紙サイズ61に、‘なし’を設定し、すなわち、MPトレイ情報36のサイズをなしに設定し、処理を終了する。   If printing is in progress from the MP tray 26, the processing is terminated as it is. If printing is not being performed from the MP tray 26, 'None' is set for the paper size 61 of the MP tray information 36, that is, the size of the MP tray information 36 is set to None, and the processing is terminated.

次に、フローチャートについて説明する。
ステップS11 各トレイ22のセンサ入力に基づいて、トレイ情報37を更新する。
ステップS12 MPトレイ用紙有無センサがONであるかOFFであるかを判断する。MPトレイ用紙有無センサがONである場合はステップS13に進み、MPトレイ用紙有無センサがOFFである場合はステップS14に進む。
ステップS13 MPトレイ情報36を用紙有に設定して処理を終了する。
ステップS14 MPトレイ情報36を用紙無に設定する。
ステップS15 MPトレイ26から印刷中であるか否かを判断する。MPトレイ26から印刷中である場合は処理を終了し、MPトレイ26から印刷中でない場合はステップS16に進む。
ステップS16 MPトレイ情報36のサイズをなしに設定し、処理を終了する。
Next, a flowchart will be described.
Step S11: The tray information 37 is updated based on the sensor input of each tray 22.
Step S12: Determine whether the MP tray paper presence sensor is ON or OFF. If the MP tray paper presence sensor is ON, the process proceeds to step S13. If the MP tray paper presence sensor is OFF, the process proceeds to step S14.
Step S13: The MP tray information 36 is set to have paper, and the process is terminated.
Step S14: The MP tray information 36 is set to no paper.
Step S15: It is determined whether printing is in progress from the MP tray 26. If printing is in progress from the MP tray 26, the process is terminated. If printing is not in progress from the MP tray 26, the process proceeds to step S16.
Step S16: The size of the MP tray information 36 is set to none, and the process ends.

このように、本実施の形態においては、操作パネル41を操作してMPトレイ26の用紙サイズを入力する必要がない。そのため、プリンタ20の操作が容易となり、使い勝手が向上する。   Thus, in this embodiment, it is not necessary to operate the operation panel 41 and input the paper size of the MP tray 26. Therefore, the operation of the printer 20 becomes easy and the usability is improved.

また、PC10から受信したデータの印刷情報51における給紙方法53によって自動選択が指定された場合に印刷サイズに一致するトレイ22が見つからなかったときには、MPトレイ26に切り替えて通常印刷を行うことができる。このとき、トレイ22からの印刷と同様に、用紙長さチェックを行うことができる。   In addition, when automatic selection is specified by the paper feeding method 53 in the print information 51 of the data received from the PC 10, when the tray 22 matching the print size is not found, the MP tray 26 is switched to perform normal printing. it can. At this time, the paper length check can be performed in the same manner as the printing from the tray 22.

次に、本発明の第2の実施の形態について説明する。なお、第1の実施の形態と同じ構造を有するものについては、同じ符号を付与することによって、その説明を省略する。また、前記第1の実施の形態と同じ動作及び同じ効果についても、その説明を省略する。   Next, a second embodiment of the present invention will be described. In addition, about the thing which has the same structure as 1st Embodiment, the description is abbreviate | omitted by providing the same code | symbol. The description of the same operation and the same effect as those of the first embodiment is also omitted.

図18は本発明の第2の実施の形態における受信データのフォーマットを示す図である。   FIG. 18 is a diagram showing a format of received data in the second embodiment of the present invention.

本実施の形態において、受信部32がPC10から受信するデータのフォーマットは、図に示されるようになっている。具体的には、本実施の形態における印刷情報51は、“印刷サイズ”52及び“給紙方法”53に加えて、自動トレイ切替時に、用紙があって、かつ、サイズが一致するトレイ22が見つからなかった場合は、MPトレイ26を使って印刷させるか、トレイnの用紙補充待ちとするかを指定する“同一サイズがないときの処置”84を含んでいる。   In the present embodiment, the format of data received by the receiving unit 32 from the PC 10 is as shown in the figure. Specifically, the print information 51 in the present embodiment includes, in addition to the “print size” 52 and the “paper feeding method” 53, when automatic tray switching is performed, the tray 22 that has paper and has the same size is displayed. If it is not found, it includes “treatment when there is no same size” 84 for designating whether printing is performed using the MP tray 26 or waiting for paper replenishment of the tray n.

なお、その他の点の構成については、前記第1の実施の形態と同様であるので、その説明を省略する。   Since the configuration of other points is the same as that of the first embodiment, description thereof is omitted.

次に、本実施の形態における印刷処理のサブルーチンについて説明する。なお、メイン処理における初期化処理及びデータ解析処理については、前記第1の実施の形態と同様であるので説明を省略する。   Next, a print processing subroutine according to the present embodiment will be described. Note that the initialization process and the data analysis process in the main process are the same as those in the first embodiment, and a description thereof will be omitted.

図19は本発明の第2の実施の形態における印刷処理のサブルーチンを示すフローチャートである。   FIG. 19 is a flowchart showing a print processing subroutine according to the second embodiment of the present invention.

印刷処理において、プリンタ20は、印刷中のトレイで用紙がなくなったか否か、すなわち、印刷中のトレイで用紙なしであるか否かを判断する。そして、印刷中のトレイで用紙がなくなった場合、印刷中のトレイがMPトレイ26であるか否か、すなわち、MPトレイ26から印刷中であるか否かを判断する。   In the printing process, the printer 20 determines whether there is no paper in the tray being printed, that is, whether there is no paper in the tray being printed. When there is no more paper in the tray being printed, it is determined whether the tray being printed is the MP tray 26, that is, whether printing is being performed from the MP tray 26.

そして、印刷中のトレイがMPトレイ26でなければ、プリンタ20は、自動トレイ切替処理を実行する。また、印刷中のトレイがMPトレイ26であれば、プリンタ20は、操作パネル41の表示部42に、図5(c)に示されるようなMPトレイ26への用紙セット要求を示す表示画面42cを表示し、すなわち、「MPトレイ用紙セット」を表示し、用紙がセットされるまで待機する。   If the tray being printed is not the MP tray 26, the printer 20 executes automatic tray switching processing. If the tray being printed is the MP tray 26, the printer 20 displays on the display unit 42 of the operation panel 41 a display screen 42c indicating a paper setting request to the MP tray 26 as shown in FIG. Is displayed, that is, “MP tray paper set” is displayed, and it waits until paper is set.

一方、印刷中のトレイで用紙なしであるか否かを判断して用紙がある場合にはそのまま、また、印刷中のトレイで用紙がなくなった場合には自動トレイ切替処理の後又は用紙がセットされた後に、プリンタ20は、PC10から受信したデータの印刷データ54を画像データに変換し、画像形成部に1ページ分の画像データに転送する。すなわち、印刷データをVideoデータに変換し、エンジンへ1Page分のデータを転送する。そして、プリンタ20は、すべてのページの印刷が終了するまで、すなわち、全Page終了まで、以上の動作を繰り返し、処理を終了する。   On the other hand, it is determined whether or not there is no paper in the tray being printed, and if there is paper, it is left as it is. If there is no more paper in the tray being printed, the paper is set after the automatic tray switching process. After that, the printer 20 converts the print data 54 of the data received from the PC 10 into image data, and transfers the image data to one page of image data. That is, the print data is converted into video data, and data for one page is transferred to the engine. Then, the printer 20 repeats the above operation until the printing of all pages is completed, that is, until all pages are completed, and the processing is completed.

次に、フローチャートについて説明する。
ステップS4−11 印刷中のトレイで用紙なしであるか否かを判断する。印刷中のトレイで用紙がある場合はステップS4−16に進み、印刷中のトレイで用紙がなくなった場合はステップS4−12に進む。
ステップS4−12 MPトレイ26から印刷中であるか否かを判断する。MPトレイ26から印刷中である場合はステップS4−14に進み、MPトレイ26から印刷中でない場合はステップS4−13に進む。
ステップS4−13 自動トレイ切替処理を実行する。
ステップS4−14 表示部42に「MPトレイ用紙セット」を表示する。
ステップS4−15 用紙セット待ちであるか否かを判断する。用紙セット待ちである場合は用紙がセットされるまで待機し、用紙セット待ちでない場合はステップS4−16に進む。
ステップS4−16 印刷データをVideoデータに変換し、エンジンへ1Page分のデータを転送する。
ステップS4−17 全Page終了したか否かを判断する。全Page終了した場合は処理を終了し、全Page終了していない場合はステップS4−11に戻る。
Next, a flowchart will be described.
Step S4-11: It is determined whether or not there is no paper in the tray being printed. If there is a sheet in the tray being printed, the process proceeds to step S4-16. If there is no sheet in the tray being printed, the process proceeds to step S4-12.
Step S4-12: It is determined whether printing is in progress from the MP tray 26. If printing is being performed from the MP tray 26, the process proceeds to step S4-14. If printing is not being performed from the MP tray 26, the process proceeds to step S4-13.
Step S4-13: An automatic tray switching process is executed.
Step S4-14: “MP tray paper set” is displayed on the display unit 42.
Step S4-15: It is determined whether or not waiting for paper setting. If it is waiting for paper, it waits until paper is set. If it is not waiting for paper, the process proceeds to step S4-16.
Step S4-16: Print data is converted to Video data, and 1 page of data is transferred to the engine.
Step S4-17: It is determined whether all pages have been completed. If all pages have been completed, the process ends. If all pages have not been completed, the process returns to step S4-11.

次に、前記印刷処理における自動トレイ切替処理のサブルーチンについて説明する。   Next, an automatic tray switching process subroutine in the printing process will be described.

図20は本発明の第2の実施の形態における継続されるトレイのサーチ順を示す図、図21は本発明の第2の実施の形態における自動トレイ切替処理を示すフローチャートである。   FIG. 20 is a diagram showing the tray search sequence continued in the second embodiment of the present invention, and FIG. 21 is a flowchart showing automatic tray switching processing in the second embodiment of the present invention.

自動トレイ切替処理において、まず、プリンタ20は、現在のトレイnの値を起点にトレイmでサーチをする。そして、実装トレイ数(L)をカウンタkへセットする。   In the automatic tray switching process, first, the printer 20 searches for the tray m starting from the current value of the tray n. Then, the mounting tray number (L) is set in the counter k.

続いて、プリンタ20は、カウンタmを更新し、mの値をインクリメントしてm+1にする。続いて、プリンタ20は、mの値が実装トレイ数(L)を超えたか否かを判断して、超えた場合にはmの値を1に戻す。そして、プリンタ20は、カウンタkをデクリメントし、kの値をデクリメントしてk−1にする。続いて、プリンタ20は、k=0であるか否かを判断する。   Subsequently, the printer 20 updates the counter m and increments the value of m to m + 1. Subsequently, the printer 20 determines whether or not the value of m exceeds the number of mounted trays (L), and when it exceeds, returns the value of m to 1. The printer 20 decrements the counter k and decrements the value of k to k-1. Subsequently, the printer 20 determines whether or not k = 0.

そして、k=0でない場合、プリンタ20は、メモリ35のトレイ情報37からトレイmに設定されている用紙サイズ61を取得する。すなわち、トレイ情報からトレイmの用紙サイズをGetする。   If k = 0 is not satisfied, the printer 20 acquires the paper size 61 set for the tray m from the tray information 37 in the memory 35. That is, the paper size of the tray m is obtained from the tray information.

続いて、プリンタ20は、受信データフォーマットから取得した印刷サイズとトレイ情報からGetしたトレイmの用紙サイズとを比較する。すなわち、印刷サイズとトレイmサイズとを比較する。そして、印刷サイズとトレイmサイズとが一致していない場合、プリンタ20は、カウンタmを更新し、mの値をインクリメントしてm+1にし、以降の動作を繰り返す。また、印刷サイズとトレイmサイズとが一致している場合、プリンタ20は、トレイmに用紙があるか否かを判断する。   Subsequently, the printer 20 compares the print size acquired from the received data format with the paper size of the tray m obtained from the tray information. That is, the print size is compared with the tray m size. If the print size and the tray m size do not match, the printer 20 updates the counter m, increments the value of m to m + 1, and repeats the subsequent operations. If the print size matches the tray m size, the printer 20 determines whether there is a sheet in the tray m.

そして、用紙がある場合、プリンタ20は、メモリ35のトレイ情報37には、PC10から受信したデータの印刷情報51における印刷サイズと一致する用紙サイズ71がある、すなわち、印刷サイズに一致するトレイ22が見つかったと判断し、給紙トレイとして使用するトレイをトレイmに決定して処理を終了する。なお、トレイmに用紙がない場合には、再び、カウンタmの値を更新し、以降の動作を繰り返す。   If there is a sheet, the printer 20 has a sheet size 71 that matches the print size in the print information 51 of the data received from the PC 10 in the tray information 37 of the memory 35, that is, the tray 22 that matches the print size. Is determined, the tray to be used as the paper feed tray is determined as the tray m, and the process is terminated. If there is no sheet in the tray m, the value of the counter m is updated again, and the subsequent operations are repeated.

また、k=0であるか否かを判断してk=0である場合、プリンタ20は、メモリ35のトレイ情報37には、PC10から受信したデータの印刷情報51における印刷サイズと一致する用紙サイズ71がない、すなわち、印刷サイズに一致するトレイ22が見つからなかったと判断し、PC10から受信したデータの印刷情報51における“同一サイズがないときの処置”84を取得する。すなわち、受信データフォーマットから同一サイズがないときの処置をGetする。   Further, it is determined whether or not k = 0, and when k = 0, the printer 20 includes, in the tray information 37 of the memory 35, a sheet that matches the print size in the print information 51 of the data received from the PC 10. It is determined that there is no size 71, that is, the tray 22 that matches the print size has not been found, and “treatment when there is no same size” 84 in the print information 51 of the data received from the PC 10 is acquired. That is, a measure for when there is no same size from the received data format is obtained.

続いて、プリンタ20は、前記“同一サイズがないときの処置”84がMPトレイ26を使うものであるか否かを判断する。そして、MPトレイ26を使わないものである場合、プリンタ20は、操作パネル41の表示部42に、図5(a)に示されるようなトレイnへの用紙セット要求を示す表示画面42aを表示し、すなわち、「トレイn用紙なし」を表示し、用紙がセットされるまで待機してから、処理を終了する。   Subsequently, the printer 20 determines whether or not the “treatment when there is no same size” 84 uses the MP tray 26. If the MP tray 26 is not used, the printer 20 displays on the display unit 42 of the operation panel 41 a display screen 42a indicating a paper setting request for the tray n as shown in FIG. That is, “no tray n paper” is displayed, and the process is terminated after waiting until paper is set.

また、MPトレイ26を使うものである場合、すなわち、MPトレイ26を使って継続するものである場合、プリンタ20は、給紙トレイとして使用するトレイをMPトレイ26に決定し、メモリ35のMPトレイ情報36からMPトレイ26に設定されている用紙サイズ61を取得、すなわち、MPトレイ情報からMPトレイ26の用紙サイズをGetする。続いて、プリンタ20は、MPトレイ26の用紙サイズが設定されているか否かを判断する。   If the MP tray 26 is to be used, that is, if the MP tray 26 is to be used continuously, the printer 20 determines the MP tray 26 to be used as the paper feed tray, and the MP in the memory 35. The paper size 61 set in the MP tray 26 is acquired from the tray information 36, that is, the paper size of the MP tray 26 is obtained from the MP tray information. Subsequently, the printer 20 determines whether the paper size of the MP tray 26 is set.

そして、MPトレイ26の用紙サイズが設定されている場合、プリンタ20は、受信データフォーマットからGetした印刷サイズとMPトレイ情報からGetしたMPトレイ26の用紙サイズとを比較する。すなわち、印刷サイズとMPトレイサイズとを比較する。そして、印刷サイズとMPトレイサイズとが一致している場合、プリンタ20は、MPトレイ26に用紙があるか否かを判断し、用紙がある場合には処理を終了する。また、用紙がない場合には、操作パネル41の表示部42に、図5(c)に示されるようなMPトレイ26への用紙セット要求を示す表示画面42cを表示し、すなわち、「MPトレイ用紙なし」を表示し、用紙がセットされるまで待機してから、処理を終了する。   When the paper size of the MP tray 26 is set, the printer 20 compares the print size obtained from the received data format with the paper size of the MP tray 26 obtained from the MP tray information. That is, the print size is compared with the MP tray size. If the print size matches the MP tray size, the printer 20 determines whether there is a sheet in the MP tray 26, and if there is a sheet, the process ends. When there is no paper, a display screen 42c indicating a paper setting request to the MP tray 26 as shown in FIG. 5C is displayed on the display unit 42 of the operation panel 41, that is, “MP tray”. “No paper” is displayed, and the process is terminated after waiting until paper is set.

一方、MPトレイ26の用紙サイズが設定されているか否かを判断して設定されていない場合、及び、印刷サイズとMPトレイサイズとを比較して印刷サイズとMPトレイサイズとが一致していない場合、プリンタ20は、MPトレイ26に用紙があるか否かを判断する。そして、MPトレイ26に用紙がある場合、プリンタ20は、操作パネル41の表示部42に、図5(d)に示されるようなMPトレイ26への用紙入れ替え要求を示す表示画面42dを表示する、すなわち、「MPトレイ用紙入れ替え」を表示する。続いて、プリンタ20は、オンラインSWによって用紙の入れ替えが行われるまで待機してから、MPトレイ情報36を印刷サイズに書き換えて、すなわち、MPトレイ情報36に印刷サイズを設定して処理を終了する。   On the other hand, when the paper size of the MP tray 26 is determined and is not set, and when the print size is compared with the MP tray size, the print size does not match the MP tray size. In this case, the printer 20 determines whether there is a sheet on the MP tray 26. When there is paper on the MP tray 26, the printer 20 displays a display screen 42d indicating a paper replacement request to the MP tray 26 as shown in FIG. 5D on the display unit 42 of the operation panel 41. That is, “MP tray paper replacement” is displayed. Subsequently, the printer 20 waits until the paper is replaced by the online SW, and then rewrites the MP tray information 36 to the print size, that is, sets the print size in the MP tray information 36 and ends the process. .

また、MPトレイ26に用紙があるか否かを判断して用紙がない場合、プリンタ20は、操作パネル41の表示部42に、図5(c)に示されるようなMPトレイ26への用紙セット要求を示す表示画面42cを表示し、すなわち、「MPトレイ用紙なし」を表示し、用紙がセットされるまで待機してから、MPトレイ情報36を印刷サイズに書き換えて、すなわち、MPトレイ情報36に印刷サイズを設定して処理を終了する。   If it is determined whether there is paper in the MP tray 26 and there is no paper, the printer 20 displays the paper on the MP tray 26 as shown in FIG. The display screen 42c indicating the set request is displayed, that is, “MP tray paper is not displayed” is displayed, and the MP tray information 36 is rewritten to the print size after waiting until paper is set, that is, the MP tray information. The print size is set to 36, and the process ends.

次に、フローチャートについて説明する。
ステップS4−13−1 現在のトレイnの値を起点にトレイmでサーチをする。
ステップS4−13−2 実装トレイ数(L)をカウンタkへセットする。
ステップS4−13−3 mの値をインクリメントしてm+1にする。
ステップS4−13−4 mの値が実装トレイ数(L)を超えたか否かを判断する。mの値が実装トレイ数(L)を超えた場合はステップS4−13−5に進み、mの値が実装トレイ数(L)を超えていない場合はステップS4−13−6に進む。
ステップS4−13−5 mの値を1に戻す。
ステップS4−13−6 kの値をデクリメントしてk−1にする。
ステップS4−13−7 k=0であるか否かを判断する。k=0である場合はステップS4−13−12に進み、k=0でない場合はステップS4−13−8に進む。
ステップS4−13−8 トレイ情報からトレイmの用紙サイズをGetする。
ステップS4−13−9 印刷サイズとトレイmサイズとを比較する。印刷サイズとトレイmサイズとが一致している場合はステップS4−13−10に進み、印刷サイズとトレイmサイズとが一致していない場合はステップS4−13−3に戻る。
ステップS4−13−10 トレイmに用紙があるか否かを判断する。トレイmに用紙がある場合はステップS4−13−11に進み、トレイmに用紙がない場合はステップS3−13−3に戻る。
ステップS4−13−11 給紙トレイとして使用するトレイをトレイmに決定して処理を終了する。
ステップS4−13−12 受信データフォーマットから同一サイズがないときの処置をGetする。
ステップS4−13−13 MPトレイ26を使うものであるか否かを判断する。MPトレイ26を使って継続するものである場合はステップS4−13−16に進み、MPトレイ26を使わないものである場合はステップS4−13−14に進む。
ステップS4−13−14 表示部42に「トレイn用紙なし」を表示する。
ステップS4−13−15 用紙セット待ちであるか否かを判断する。用紙セット待ちである場合は用紙がセットされるまで待機し、用紙セット待ちでない場合は処理を終了する。
ステップS4−13−16 給紙トレイとして使用するトレイをMPトレイ26に決定する。
ステップS4−13−17 MPトレイ情報からMPトレイ26の用紙サイズをGetする。
ステップS4−13−18 MPトレイ26の用紙サイズが設定されているか否かを判断する。MPトレイ26の用紙サイズが設定されている場合はステップS4−13−19に進み、MPトレイ26の用紙サイズが設定されていない場合はステップS4−13−23に進む。
ステップS4−13−19 印刷サイズとMPトレイサイズとを比較する。印刷サイズとMPトレイサイズとが一致している場合はステップS4−13−20に進み、印刷サイズとMPトレイサイズとが一致していない場合はステップS4−13−23に進む。
ステップS4−13−20 MPトレイ26に用紙があるか否かを判断する。MPトレイ26に用紙がある場合は処理を終了し、MPトレイ26に用紙がない場合はステップS4−13−21に進む。
ステップS4−13−21 表示部42に「MPトレイ用紙なし」を表示する。
ステップS4−13−22 用紙セット待ちであるか否かを判断する。用紙セット待ちである場合は用紙がセットされるまで待機し、用紙セット待ちでない場合は処理を終了する。
ステップS4−13−23 MPトレイ26に用紙があるか否かを判断する。MPトレイ26に用紙がある場合はステップS4−13−24に進み、MPトレイ26に用紙がない場合はステップS4−13−27に進む。
ステップS4−13−24 表示部42に「MPトレイ用紙入れ替え」を表示する。
ステップS4−13−25 オンラインSW待ちであるか否かを判断する。オンラインSW待ちである場合はオンラインSWによって用紙の入れ替えが行われるまで待機し、オンラインSW待ちでない場合はステップS4−13−26に進む。
ステップS4−13−26 MPトレイ情報36に印刷サイズを設定して処理を終了する。
ステップS4−13−27 表示部42に「MPトレイ用紙なし」を表示する。
ステップS4−13−28 用紙セット待ちであるか否かを判断する。用紙セット待ちである場合は用紙がセットされるまで待機し、用紙セット待ちでない場合はステップS4−13−26に戻る。
Next, a flowchart will be described.
Step S4-13-1: The tray m is searched from the current value of the tray n.
Step S4-13-2: The number of mounted trays (L) is set in the counter k.
Step S4-13-3: The value of m is incremented to m + 1.
Step S4-13-4: It is determined whether the value of m has exceeded the number of mounted trays (L). If the value of m exceeds the number of mounted trays (L), the process proceeds to step S4-13-5. If the value of m does not exceed the number of mounted trays (L), the process proceeds to step S4-13-6.
Step S4-13-5: The value of m is returned to 1.
Step S4-13-6: The value of k is decremented to k-1.
Step S4-13-7: It is determined whether k = 0. If k = 0, the process proceeds to step S4-13-12. If k = 0, the process proceeds to step S4-13-8.
Step S4-13-8: Get the paper size of the tray m from the tray information.
Step S4-13-9: The print size is compared with the tray m size. If the print size matches the tray m size, the process proceeds to step S4-13-10. If the print size does not match the tray m size, the process returns to step S4-13-3.
Step S4-13-10: It is determined whether or not there is a sheet in the tray m. If there is paper in the tray m, the process proceeds to step S4-13-11. If there is no paper in the tray m, the process returns to step S3-13-3.
Step S4-13-11: The tray to be used as the paper feed tray is determined as the tray m, and the process is terminated.
Step S4-13-12: Get action when there is no same size from the received data format.
Step S4-13-13: It is determined whether or not the MP tray 26 is used. If the MP tray 26 is to be continued, the process proceeds to step S4-13-16, and if the MP tray 26 is not used, the process proceeds to step S4-13-14.
Step S4-13-14: “No tray n paper” is displayed on the display unit 42.
Step S4-13-15: It is determined whether or not waiting for paper setting. If it is waiting for a paper set, it waits until a paper is set. If it is not waiting for a paper set, the process is terminated.
Step S4-13-16: The MP tray 26 is determined as the tray to be used as the paper feed tray.
Step S4-13-17: Get the paper size of the MP tray 26 from the MP tray information.
Step S4-13-18: It is determined whether the paper size of the MP tray 26 is set. When the paper size of the MP tray 26 is set, the process proceeds to step S4-13-19, and when the paper size of the MP tray 26 is not set, the process proceeds to step S4-13-23.
Step S4-13-19: The print size is compared with the MP tray size. If the print size and the MP tray size match, the process proceeds to step S4-13-20. If the print size and the MP tray size do not match, the process proceeds to step S4-13-23.
Step S4-13-20: It is determined whether or not there is a sheet in the MP tray 26. If there is paper on the MP tray 26, the process ends. If there is no paper on the MP tray 26, the process proceeds to step S4-13-21.
Step S4-13-21: “No MP tray paper” is displayed on the display unit 42.
Step S4-13-22: It is determined whether or not waiting for paper setting. If it is waiting for a paper set, it waits until a paper is set. If it is not waiting for a paper set, the process is terminated.
Step S4-13-23: It is determined whether or not there is paper on the MP tray 26. If there is paper in the MP tray 26, the process proceeds to step S4-13-24, and if there is no paper in the MP tray 26, the process proceeds to step S4-13-27.
Step S4-13-24: “MP tray paper replacement” is displayed on the display unit 42.
Step S4-13-25: It is determined whether or not waiting for online SW. When waiting for online SW, the process waits until the paper is replaced by online SW, and when not waiting for online SW, the process proceeds to step S4-13-26.
Step S4-13-26: The print size is set in the MP tray information 36, and the process is terminated.
Step S4-13-27 “No MP tray paper” is displayed on the display unit.
Step S4-13-28: It is determined whether or not waiting for paper setting. If it is waiting for paper, it waits until paper is set. If it is not waiting for paper, it returns to step S4-13-26.

このように、本実施の形態においては、操作パネル41を操作してMPトレイ26の用紙サイズを入力する必要がない。そのため、プリンタ20の操作が容易となり、使い勝手が向上する。   Thus, in this embodiment, it is not necessary to operate the operation panel 41 and input the paper size of the MP tray 26. Therefore, the operation of the printer 20 becomes easy and the usability is improved.

また、トレイ22からの印刷中に用紙なし状態になった場合、MPトレイ26で引き続き印刷を行うことができる。このとき、トレイ22からの印刷と同様に、用紙長さチェックを行うことができる。   In addition, when the paper is out of printing during printing from the tray 22, it is possible to continue printing on the MP tray 26. At this time, the paper length check can be performed in the same manner as the printing from the tray 22.

なお、前記第1及び第2の実施の形態においては、画像形成装置がプリンタである場合について説明したが、ファクシミリ装置やプリンタ、ファクシミリ装置及び複写機の機能を併せ持つ複合機(MFP:Multi Function Printer)にも適用することができる。   In the first and second embodiments, the case where the image forming apparatus is a printer has been described. However, a multifunction machine (MFP: Multi Function Printer) having the functions of a facsimile machine, a printer, a facsimile machine, and a copier. ).

また、本発明は前記実施の形態に限定されるものではなく、本発明の趣旨に基づいて種々変形させることが可能であり、それらを本発明の範囲から排除するものではない。   The present invention is not limited to the above-described embodiment, and various modifications can be made based on the spirit of the present invention, and they are not excluded from the scope of the present invention.

本発明は、画像形成装置に利用することができる。   The present invention can be used in an image forming apparatus.

20 プリンタ
22a、22b、22c トレイ
26 MPトレイ
31 印刷制御部
32 受信部
34 パネル制御部
35 メモリ
38 エンジン制御部
51 印刷情報
54 印刷データ
61、71 用紙サイズ
20 Printer 22a, 22b, 22c Tray 26 MP tray 31 Print control unit 32 Reception unit 34 Panel control unit 35 Memory 38 Engine control unit 51 Print information 54 Print data 61, 71 Paper size

Claims (2)

(a)所定のサイズの媒体を収容する複数の媒体収容部と、
(b)手差しで給紙する媒体を載置する多目的媒体収容部と、
(c)媒体サイズ情報を含む印刷情報と印刷データとを受信する受信部と、
(d)前記複数の媒体収容部の各々に対して設定された媒体サイズ情報を格納する第1の格納部と、
(e)前記多目的媒体収容部に対して設定された媒体サイズ情報を格納する第2の格納部と、
(f)前記受信部が受信した媒体サイズ情報と第1の格納部が格納する媒体サイズ情報とを比較し、一致する媒体サイズ情報に対応する媒体収容部を選択するとともに、前記第1の格納部が格納する媒体サイズ情報のいずれもが前記受信部が受信した媒体サイズ情報と一致しない場合に前記多目的媒体収容部を選択する収容部選択部と、
(g)該収容部選択部が多目的媒体収容部を選択した場合、前記受信部が受信した媒体サイズ情報と第2の格納部が格納する媒体サイズ情報とが一致しないときに報知する報知部と、
(h)前記多目的媒体収容部に対して設定された媒体サイズ情報を前記受信部が受信した媒体サイズ情報で書き換えて、前記収容部選択部が選択した媒体収容部又は多目的媒体収容部から媒体を給紙して印刷を実行する印刷制御部とを有することを特徴とする画像形成装置。
(A) a plurality of medium accommodating portions for accommodating a medium of a predetermined size;
(B) a multipurpose medium storage unit for placing a medium to be manually fed;
(C) a receiving unit that receives print information and print data including medium size information;
(D) a first storage unit that stores medium size information set for each of the plurality of medium storage units;
(E) a second storage unit that stores medium size information set for the multipurpose medium storage unit;
(F) The medium size information received by the receiving unit is compared with the medium size information stored in the first storage unit, and the medium storage unit corresponding to the matching medium size information is selected and the first storage is performed. A storage unit selection unit that selects the multipurpose medium storage unit when none of the medium size information stored in the unit matches the medium size information received by the reception unit;
(G) a notification unit that notifies when the medium size information received by the receiving unit and the medium size information stored in the second storage unit do not match when the storage unit selection unit selects a multipurpose medium storage unit; ,
(H) Rewriting the medium size information set for the multipurpose medium accommodating unit with the medium size information received by the receiving unit, and removing the medium from the medium accommodating unit selected by the accommodating unit selecting unit or the multipurpose medium accommodating unit. An image forming apparatus comprising: a print control unit that feeds and executes printing.
前記収容部選択部は、連続印刷中に媒体切れとなって印刷を停止した後、連続印刷の媒体サイズ情報と第1の格納部が格納する媒体サイズ情報とを比較し、一致する媒体サイズ情報に対応する媒体収容部を複数の媒体収容部から選択するとともに、前記第1の格納部が格納する媒体サイズ情報のいずれもが前記連続印刷の媒体サイズ情報と一致しない場合に前記多目的媒体収容部を選択し、
前記報知部は、前記収容部選択部が多目的媒体収容部を選択した場合、前記連続印刷の媒体サイズ情報と第2の格納部が格納する媒体サイズ情報とが一致しないときに報知し、
前記印刷制御部は、前記多目的媒体収容部に対して設定された媒体サイズ情報を前記連続印刷の媒体サイズ情報で書き換えて、前記収容部選択部が選択した媒体収容部又は多目的媒体収容部から媒体を給紙して印刷を実行する請求項1に記載の画像形成装置。
The storage unit selection unit compares the medium size information of the continuous printing with the medium size information stored in the first storage unit after the medium has run out during continuous printing and stops printing, and matches the medium size information. When the medium size information stored in the first storage unit does not match the medium size information of the continuous printing, the multi-purpose medium storage unit is selected. Select
When the storage unit selection unit selects the multipurpose medium storage unit, the notification unit notifies when the medium size information of the continuous printing and the medium size information stored in the second storage unit do not match,
The print control unit rewrites the medium size information set for the multipurpose medium storage unit with the medium size information of the continuous printing, and the medium is selected from the medium storage unit selected by the storage unit selection unit or the multipurpose medium storage unit. The image forming apparatus according to claim 1, wherein printing is performed by feeding a sheet.
JP2009178189A 2009-07-30 2009-07-30 Image forming apparatus Withdrawn JP2011031431A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009178189A JP2011031431A (en) 2009-07-30 2009-07-30 Image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009178189A JP2011031431A (en) 2009-07-30 2009-07-30 Image forming apparatus

Publications (1)

Publication Number Publication Date
JP2011031431A true JP2011031431A (en) 2011-02-17

Family

ID=43761002

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009178189A Withdrawn JP2011031431A (en) 2009-07-30 2009-07-30 Image forming apparatus

Country Status (1)

Country Link
JP (1) JP2011031431A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014018975A (en) * 2012-07-12 2014-02-03 Fuji Xerox Co Ltd Image forming apparatus
JP2014195906A (en) * 2013-03-29 2014-10-16 セイコーエプソン株式会社 Printer
JP2019098572A (en) * 2017-11-30 2019-06-24 ブラザー工業株式会社 Print production program and print production device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014018975A (en) * 2012-07-12 2014-02-03 Fuji Xerox Co Ltd Image forming apparatus
JP2014195906A (en) * 2013-03-29 2014-10-16 セイコーエプソン株式会社 Printer
JP2019098572A (en) * 2017-11-30 2019-06-24 ブラザー工業株式会社 Print production program and print production device

Similar Documents

Publication Publication Date Title
JP5390658B2 (en) Image forming apparatus
JP2006256019A (en) Image forming device
CN103314353A (en) Network printing system, printing device, print data transmitting device, and computer program
JP2011031431A (en) Image forming apparatus
JP2013237205A (en) Image forming apparatus
JP4135089B2 (en) Image forming apparatus
JP2007072063A (en) Image forming apparatus and image forming method
JP5893430B2 (en) Printing apparatus, printing apparatus control method, and program
JP5658800B2 (en) Image forming apparatus
JP2007058439A (en) Image processing system
JP4497000B2 (en) Copy system, copy control method and program
JP4124024B2 (en) Image forming apparatus
JP6550031B2 (en) Image forming apparatus and control method thereof
JP3741671B2 (en) Sheet sorting apparatus and image forming apparatus
JP5826154B2 (en) Image forming apparatus
JP4473753B2 (en) Paper tray automatic selection system and image forming apparatus
JP2008049509A (en) Image forming apparatus
JP6406160B2 (en) Image forming apparatus
JP4311678B2 (en) Image forming apparatus
JP2018200486A (en) Image forming apparatus and method for controlling the same
JP3856728B2 (en) Sheet separation device
JP2005235109A (en) Image forming system
JP2005221821A (en) Image forming apparatus
JP2022090534A (en) Image processing device, control method of the same and program
JP2008006691A (en) Image forming apparatus

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20110131

A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20121002