JP2009083122A - Image recording apparatus - Google Patents

Image recording apparatus Download PDF

Info

Publication number
JP2009083122A
JP2009083122A JP2007252220A JP2007252220A JP2009083122A JP 2009083122 A JP2009083122 A JP 2009083122A JP 2007252220 A JP2007252220 A JP 2007252220A JP 2007252220 A JP2007252220 A JP 2007252220A JP 2009083122 A JP2009083122 A JP 2009083122A
Authority
JP
Japan
Prior art keywords
medium
size
unit
printing
control 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
JP2007252220A
Other languages
Japanese (ja)
Inventor
Noritaka Suzuki
紀隆 鈴木
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 JP2007252220A priority Critical patent/JP2009083122A/en
Publication of JP2009083122A publication Critical patent/JP2009083122A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Paper Feeding For Electrophotography (AREA)
  • Controlling Sheets Or Webs (AREA)
  • Conveyance By Endless Belt Conveyors (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image recording apparatus capable of restarting printing without having an operator intervene even when a recording medium having a different size is mixed. <P>SOLUTION: This image recording apparatus includes a size determination part for determining the size of a medium based on printing data, a size detection part for detecting the size of the medium conveyed for printing, a size check part for comparing the medium size determined by the size determination part with the medium size detected by the size detection part and performing a size check, and a medium paper feeding part for, when the size check part determines that the medium does not match, discharging the unmatched medium and feeding the next medium. When it is determined that there is a match by the size check part, printing is continued. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、画像記録時に記録媒体のサイズチェックを行う画像記録装置に関する。   The present invention relates to an image recording apparatus that checks the size of a recording medium during image recording.

従来、画像記録装置として例えば電子写真プリンタにおいては、帯電された感光体ドラムの表面を画像データに基づいて露光手段により露光して静電潜像を形成し、形成した静電潜像にトナーを付着させて現像し、得られたトナー像を媒体トレイから搬送された記録媒体に転写し、さらに定着を行うようにしている。このような電子写真プリンタにおいて、記録媒体の搬送中にジャムが発生したり、また記録媒体のサイズの不一致が発生したりする。   2. Description of the Related Art Conventionally, in an electrophotographic printer as an image recording apparatus, for example, an electrostatic latent image is formed by exposing the surface of a charged photosensitive drum by exposure means based on image data, and toner is applied to the formed electrostatic latent image. The toner image is adhered and developed, and the resulting toner image is transferred to a recording medium conveyed from the medium tray, and further fixed. In such an electrophotographic printer, a jam occurs during the conveyance of the recording medium, or the recording medium size mismatch occurs.

例えば特許文献1には、媒体ジャムが発生した場合、ジャムした記録媒体を速やかに装置外へ除去する必要があるため、転写ベルトを含む転写搬送ユニットを揺動可能に形成し、定着ユニットのヒートローラと加圧ローラを離間させる加圧解除部材を設けて、転写搬送ユニットを揺動させると、それと連動して加圧解除部材でヒートローラと加圧ローラを離間させることにより、ジャム媒体の除去を容易にした装置が開示されている。   For example, in Patent Document 1, when a medium jam occurs, it is necessary to quickly remove the jammed recording medium from the apparatus. Therefore, a transfer conveyance unit including a transfer belt is formed so as to be able to swing, and the fixing unit heats up. When a pressure release member that separates the roller and the pressure roller is provided and the transfer conveyance unit is swung, the heat roller and the pressure roller are separated by the pressure release member in conjunction with this, thereby removing the jammed medium. An apparatus that facilitates the above is disclosed.

一方、上位装置から送られる画像データの中には画像記録を行う媒体のサイズを指定する情報が含まれており、プリンタは指定された媒体サイズに従って印刷データを形成して印刷を行う。そして、プリンタの制御部は、実際に繰り出された記録媒体のサイズを検出し、検出した媒体サイズが指定した媒体サイズと異なった場合、媒体サイズの不一致が発生した記録媒体まで印刷を行ってこの記録媒体を排出し、排出後にアラーム表示を行う。そしてアラーム表示を見たユーザがプリンタカバーの開閉を行うことにより、印刷を再開させている。
特開2004−341288号公報
On the other hand, the image data sent from the host device includes information specifying the size of the medium on which the image is recorded, and the printer forms the print data according to the specified medium size and performs printing. Then, the control unit of the printer detects the size of the recording medium actually fed out, and if the detected medium size is different from the specified medium size, the printer performs printing up to the recording medium in which the medium size mismatch has occurred. Eject the recording medium and display an alarm after ejection. The user who sees the alarm display opens and closes the printer cover to resume printing.
JP 2004-341288 A

しかしながら前記従来の電子写真プリンタにおいては、サイズの異なる記録媒体が媒体トレイに混入していた場合、媒体サイズ不一致を検出し、サイズの異なる記録媒体を排出した後は、次の記録媒体が正常サイズのものであっても操作者の介在がなければ印刷を再開できないという問題があった。 However, in the conventional electrophotographic printer, when recording media of different sizes are mixed in the media tray, after the medium size mismatch is detected and the recording media of different sizes are discharged, the next recording medium is the normal size. However, there is a problem that printing cannot be resumed without operator intervention.

従って本発明は、サイズの異なる記録媒体が混入した場合でも、次の記録媒体のサイズが正常であれば、操作者を介在させることなく印刷を継続できる画像記録装置を提供することを目的とする。   Accordingly, an object of the present invention is to provide an image recording apparatus capable of continuing printing without intervention of an operator if the size of the next recording medium is normal even when recording media of different sizes are mixed. .

前記課題を解決するために本発明の請求項1に係る発明は、印刷データに基づき画像を形成する印刷装置において、印刷データに基づき媒体サイズを判定するサイズ判定部と、印刷のために搬送する媒体の媒体サイズを検出するサイズ検出部と、前記サイズ判定部で判定された媒体サイズと、前記サイズ検出部で検出された媒体サイズを比較し、サイズチェックを行なうサイズチェック部と、当該サイズチェック部で不一致と判断されたとき、不一致を起こした媒体を排出するとともに、次の媒体を給紙する媒体給紙部とを有し、前記サイズチェック部にて一致が確認されたとき、印刷を継続して行なう印刷制御部を備えたことを特徴とする印刷装置である。   In order to solve the above-described problems, according to a first aspect of the present invention, in a printing apparatus that forms an image based on print data, a size determination unit that determines a medium size based on the print data, and conveys the image for printing. A size detection unit that detects a medium size of the medium, a size check unit that performs a size check by comparing the medium size determined by the size determination unit and the medium size detected by the size detection unit, and the size check A medium feeding unit that feeds the next medium and discharges the medium when the size check unit confirms the match. A printing apparatus including a continuous print control unit.

前記構成を有する本発明によれば、前記サイズチェック部で不一致と判断されたとき、不一致を起こした媒体を排出するとともに、次の媒体を給紙し、更に前記サイズチェック部にて一致が確認されたとき、継続して印刷を行なうようにしたので、ユーザのカバー開閉動作を要求することなく印刷を続行することができる。   According to the present invention having the above configuration, when the size check unit determines that there is a mismatch, the medium causing the mismatch is discharged, the next medium is fed, and the size check unit further confirms the match. In this case, since the printing is continuously performed, the printing can be continued without requiring the user to open and close the cover.

(実施例1)
以下、図面に従って本発明を実施するための最良の形態を説明する。なお各図面に共通する要素には同一の符号を付す。図1は本発明の実施例1の印刷装置を示すブロック図である。
Example 1
Hereinafter, the best mode for carrying out the present invention will be described with reference to the drawings. In addition, the same code | symbol is attached | subjected to the element common to each drawing. FIG. 1 is a block diagram illustrating a printing apparatus according to a first embodiment of the present invention.

図1において印刷装置1はシステム制御部2、接続インターフェイス(I/F)部3、画像データ記憶部4、印刷制御部5、媒体給紙部6、媒体搬送部7、サイズ判定部8、サイズ検出部9、サイズチェック部10、メモリ部11および操作・表示部12を有する。システム制御部2は印刷装置1全体の動作を制御する。接続I/F部3は、LAN(Local Aria Network)回線の接続を行い、TCP/IP(Transmission/Internet Protocol)制御を行い、図示しない上位装置からコマンドを受信する。   In FIG. 1, a printing apparatus 1 includes a system control unit 2, a connection interface (I / F) unit 3, an image data storage unit 4, a print control unit 5, a medium feeding unit 6, a medium transport unit 7, a size determination unit 8, and a size. It has a detection unit 9, a size check unit 10, a memory unit 11, and an operation / display unit 12. The system control unit 2 controls the overall operation of the printing apparatus 1. The connection I / F unit 3 connects a LAN (Local Area Network) line, performs TCP / IP (Transmission / Internet Protocol) control, and receives a command from a host device (not shown).

画像データ記憶部4は内蔵されているハードディスクで構成され、受信した画像データを格納する。印刷制御部5は印刷動作を制御するもので、媒体給紙部6、媒体搬送部7を起動して後述する記録媒体Pの搬送制御を行うとともに、サイズ検出部9、サイズチェック部10を起動して媒体サイズの検出及び媒体サイズの比較を実行させる。   The image data storage unit 4 is composed of a built-in hard disk and stores received image data. The print control unit 5 controls the printing operation. The medium feeding unit 6 and the medium conveyance unit 7 are activated to control the conveyance of the recording medium P described later, and the size detection unit 9 and the size check unit 10 are activated. Thus, medium size detection and medium size comparison are executed.

媒体給紙部6は媒体給紙機構を制御し、後述する給紙トレイから記録媒体Pを給紙する。媒体搬送部7は、媒体給紙部6により給紙された記録媒体Pを装置外に排出するまで搬送する。サイズ判定部8は、受信した画像データのヘッダにて指定される媒体サイズを判定する。サイズ検出部9は、媒体給紙部6により給紙され、媒体搬送部7により搬送される記録媒体Pのサイズを検出する。サイズチェック部10は、サイズ判定部8で判定された媒体サイズとサイズ検出部9で検出した媒体サイズとを比較する。   The medium feeding unit 6 controls the medium feeding mechanism and feeds the recording medium P from a sheet feeding tray described later. The medium conveying unit 7 conveys the recording medium P fed by the medium feeding unit 6 until it is discharged out of the apparatus. The size determination unit 8 determines the medium size specified by the header of the received image data. The size detection unit 9 detects the size of the recording medium P fed by the medium feeding unit 6 and conveyed by the medium conveyance unit 7. The size check unit 10 compares the medium size determined by the size determination unit 8 with the medium size detected by the size detection unit 9.

メモリ部11は揮発性の記憶装置からなり、印刷装置1が使用するデータを格納する。図2は当該メモリ部11の構成を示すブロック図である。当該メモリ部11は印刷制御データ部13を備えている。印刷制御データ部13は図2に示すように、印刷サイズ部13a、印刷形態部13b、リカバリー印刷部13c、アラームページ部13d、使用トレイ部13e、トレイサイズ情報部13f、パルスカウント部13gおよび印刷ページ部13hを有する。   The memory unit 11 includes a volatile storage device and stores data used by the printing apparatus 1. FIG. 2 is a block diagram showing the configuration of the memory unit 11. The memory unit 11 includes a print control data unit 13. As shown in FIG. 2, the print control data portion 13 includes a print size portion 13a, a print form portion 13b, a recovery print portion 13c, an alarm page portion 13d, a used tray portion 13e, a tray size information portion 13f, a pulse count portion 13g, and a print. It has a page portion 13h.

また図1における操作・表示部12は、印刷装置1を操作する為に必要なメニューキーや操作の決定や開始をする為の設定キー、操作を停止させるキャンセルキーがある操作部と、入力した情報やアラーム情報を表示する表示部からなる。   Further, the operation / display unit 12 in FIG. 1 is input with an operation unit having a menu key necessary for operating the printing apparatus 1, a setting key for determining and starting the operation, and a cancel key for stopping the operation. It consists of a display unit that displays information and alarm information.

図3は発明の実施例1の印刷装置1を示す概略構成図である。図3において、媒体トレイ21は記録媒体Pを収納するもので、その先端側上方に配設された給紙ローラ22により記録媒体Pが繰出される。給紙ローラ22は前記媒体給紙部6に含まれる。   FIG. 3 is a schematic configuration diagram illustrating the printing apparatus 1 according to the first embodiment of the invention. In FIG. 3, the medium tray 21 accommodates the recording medium P, and the recording medium P is fed out by a paper feed roller 22 disposed on the upper end side of the medium tray 21. The sheet feeding roller 22 is included in the medium sheet feeding unit 6.

給紙ローラ22を基点として媒体搬送路23が形成されており、この媒体搬送路23に沿ってレジストローラ対24、感光体ドラム25、転写ローラ26、定着ローラ対27、切替ブレード28、排出ローラ対29、30が設けられている。   A medium conveyance path 23 is formed with the paper feed roller 22 as a base point. A registration roller pair 24, a photosensitive drum 25, a transfer roller 26, a fixing roller pair 27, a switching blade 28, a discharge roller are formed along the medium conveyance path 23. Pairs 29 and 30 are provided.

媒体搬送路23は、切替ブレード28の配置点においてフェイスダウン排出路31とフェイスアップ排出路32に分岐している。また媒体搬送路23には、レジストローラ対24の手前側(媒体搬送方向上流側)に入口センサ33が設けられ、感光体ドラム25および転写ローラ26の手前側に書出センサ34が設けられ、さらに切替ブレード28の手前側に出口センサ35が設けられている。   The medium conveyance path 23 branches into a face-down discharge path 31 and a face-up discharge path 32 at the arrangement point of the switching blade 28. The medium conveyance path 23 is provided with an inlet sensor 33 on the front side of the registration roller pair 24 (upstream side in the medium conveyance direction), and a writing sensor 34 is provided on the front side of the photosensitive drum 25 and the transfer roller 26. Further, an outlet sensor 35 is provided on the front side of the switching blade 28.

次に本発明の実施例1の動作を説明する。図4は実施例1における印刷処理全体の動作を示すフローチャートである。当該印刷処理全体の動作は前記システム制御部2により制御される。先ず印刷装置1が図示しない上位装置からコマンドを受信すると、接続I/F部3は受信したコマンドの解析を行い、要求コマンドが印刷要求である場合、印刷要求コマンドを受信したことをシステム制御部2へ通知する。システム制御部2はこの通知を受けると(ステップ1)、受信データのヘッダにて指定される印刷サイズ(媒体サイズを含む)をメモリ部11の印刷制御データ部13の印刷サイズ部13aに格納するとともに、同様に受信データで指定される印刷形態を印刷形態部13bに格納する(ステップ2)。ここで印刷形態指定とは、パンチ穴やステープル等の指定のことである。   Next, the operation of the first embodiment of the present invention will be described. FIG. 4 is a flowchart illustrating the operation of the entire printing process according to the first embodiment. The overall operation of the printing process is controlled by the system control unit 2. First, when the printing apparatus 1 receives a command from a host device (not shown), the connection I / F unit 3 analyzes the received command. If the request command is a print request, the system control unit indicates that the print request command has been received. 2 is notified. Upon receiving this notification (step 1), the system control unit 2 stores the print size (including the medium size) specified by the header of the received data in the print size unit 13a of the print control data unit 13 of the memory unit 11. At the same time, the print form designated by the received data is stored in the print form section 13b (step 2). Here, the designation of printing form is designation of punch holes, staples, and the like.

指定データを格納したシステム制御部2は、印刷制御部5に印刷開始指示を通知する(ステップ3)とともに、メモリ部11の印刷制御データ部13の印刷ページ部13hをクリアする。なお、ステップ3において印刷開始指示を受けた印刷制御部5による印刷動作は図5において説明する。印刷制御部5による印刷動作中、システム制御部2はその終了を待つ。印刷制御部5から印刷動作終了が通知されると(ステップ4)、システム制御部2は、終了状態を確認する(ステップ5)。即ち、システム制御部2は、印刷動作がサイズエラーで終了したのか又は、正常終了したのかを確認する。   The system control unit 2 storing the designated data notifies the print control unit 5 of a print start instruction (step 3), and clears the print page unit 13h of the print control data unit 13 of the memory unit 11. The printing operation performed by the print control unit 5 that has received a print start instruction in step 3 will be described with reference to FIG. During the printing operation by the print controller 5, the system controller 2 waits for the end. When the end of the printing operation is notified from the print control unit 5 (step 4), the system control unit 2 confirms the end state (step 5). In other words, the system control unit 2 confirms whether the printing operation has ended due to a size error or has ended normally.

システム制御部2は、印刷制御部5から正常終了が通知された場合、メモリ部11の印刷制御データ部13のリカバリー印刷部13cを参照し、当該正常終了がサイズエラー後のリカバリー印刷における正常終了なのかどうかを判定する(ステップ6)。なお後述するようにリカバリー印刷が行われた場合には、リカバリー印刷部13cにリカバリー印刷である旨の情報が登録される。リカバリー印刷の終了ではないと制定した場合、システム制御部2は、処理の全てを終了し、待機状態に移行する。   When the normal end is notified from the print control unit 5, the system control unit 2 refers to the recovery printing unit 13c of the print control data unit 13 of the memory unit 11, and the normal end is a normal end in recovery printing after the size error. (Step 6). As described later, when recovery printing is performed, information indicating that recovery printing is performed is registered in the recovery printing unit 13c. When it is established that the recovery printing is not finished, the system control unit 2 finishes all the processes and shifts to a standby state.

ステップ6においてリカバリー印刷であると判定した場合、システム制御部2は、操作・表示部12へアラームページ表示要求を通知して(ステップ7)、処理を終了する。アラームページ表示要求を受けた操作・表示部12は、メモリ部11の印刷制御データ部13のアラームページ部13dを読出し、サイズエラーで排出されたページを表示する。   If it is determined in step 6 that recovery printing is to be performed, the system control unit 2 notifies the operation / display unit 12 of an alarm page display request (step 7), and the process ends. The operation / display unit 12 that has received the alarm page display request reads the alarm page unit 13d of the print control data unit 13 of the memory unit 11 and displays the page ejected due to the size error.

ステップ5において印刷制御部5からサイズエラー終了が通知された場合、システム制御部2は、再計測可能印刷か否か判定する(ステップ8)。ここで再計測可能印刷とは、メモリ部11の印刷制御データ部13の印刷形態部13bを確認してパンチ穴やステープルが設定されていない場合と、印刷制御データ部13のリカバリー印刷部13cを確認してリカバリー印刷が登録されていない場合に、媒体サイズを計測可能な印刷であるとする。再計測可能印刷ではないと判断した場合、システム制御部2は、操作・表示部12へサイズエラー表示要求を通知して(ステップ12)、処理を終了する。   When the end of the size error is notified from the print control unit 5 in step 5, the system control unit 2 determines whether or not re-measurable printing is performed (step 8). Here, re-measurable printing refers to the case where no punch holes or staples are set by checking the print form portion 13b of the print control data portion 13 of the memory portion 11, and the recovery printing portion 13c of the print control data portion 13 If it is confirmed that recovery printing is not registered, it is assumed that the print can measure the medium size. When determining that the printing is not re-measurable printing, the system control unit 2 notifies the operation / display unit 12 of a size error display request (step 12) and ends the process.

ステップ8で再計測可能印刷であると判断した場合、システム制御部2は印刷制御部5へ媒体サイズ測定指示を通知する(ステップ9)。なお、測定指示を受けた印刷制御部5による媒体サイズ測定については図6において説明する。媒体サイズ測定指示を出したシステム制御部2は、印刷制御部5からの測定終了通知を待ち、測定終了通知を受けると(ステップ10)、測定結果を確認する(ステップ11)。即ち、システム制御部2は、印刷制御部5から媒体サイズ一致結果が通知された場合は、メモリ部11の印刷制御データ部13のリカバリー印刷部13cにリカバリー印刷である旨を登録し、ステップ3へ戻り、印刷制御部5に印刷開始指示を通知し印刷を継続する。ステップ11において印刷制御部5から媒体サイズ不一致結果が通知されると、システム制御部2は操作・表示部12へサイズエラー表示要求を通知して(ステップ12)、処理を終了する。サイズエラー表示要求を受けた操作・表示部12は、サイズエラーを表示する。   When it is determined in step 8 that the re-measurable printing is performed, the system control unit 2 notifies the print control unit 5 of a medium size measurement instruction (step 9). The medium size measurement by the print control unit 5 that receives the measurement instruction will be described with reference to FIG. The system control unit 2 that has issued the medium size measurement instruction waits for the measurement end notification from the print control unit 5 and receives the measurement end notification (step 10), and confirms the measurement result (step 11). That is, when the medium control unit 5 is notified from the print control unit 5, the system control unit 2 registers that the recovery printing is performed in the recovery printing unit 13 c of the print control data unit 13 of the memory unit 11. Returning to FIG. 5, the print control unit 5 is notified of a print start instruction and printing is continued. When the medium size mismatch result is notified from the print control unit 5 in step 11, the system control unit 2 notifies the operation / display unit 12 of a size error display request (step 12) and ends the processing. The operation / display unit 12 that has received the size error display request displays a size error.

次に、前記ステップ3において印刷開始指示を受けた印刷制御部5による印刷動作を図5に従って説明する。図5は印刷動作を示すフローチャートである。ステップ20においてシステム制御部2から印刷開始指示を受けた印刷制御部5は、まず媒体給紙部6に媒体給紙開始指示を通知する(ステップ21)。媒体給紙開始指示を受けた媒体給紙部6は、メモリ部11の印刷制御データ部13の使用トレイ部13e読出し、指定されているトレイ(例えば図3の21)から給紙ローラ22を回転させて記録媒体Pの給紙を開始する。媒体給紙部6は、媒体搬送路23に設けられている入口センサ33がオンになる(記録媒体Pを検知する)のを待ち、入口センサ33がオンになると、印刷制御部5へ給紙完了を通知する。   Next, the printing operation performed by the print control unit 5 that has received a print start instruction in Step 3 will be described with reference to FIG. FIG. 5 is a flowchart showing the printing operation. The print control unit 5 that has received the print start instruction from the system control unit 2 in step 20 first notifies the medium paper supply unit 6 of the medium paper supply start instruction (step 21). Receiving the medium feeding start instruction, the medium feeding unit 6 reads the used tray unit 13e of the print control data unit 13 of the memory unit 11 and rotates the feeding roller 22 from the designated tray (for example, 21 in FIG. 3). Thus, the feeding of the recording medium P is started. The medium feeding unit 6 waits for an inlet sensor 33 provided in the medium conveyance path 23 to be turned on (detects the recording medium P), and when the inlet sensor 33 is turned on, feeds the paper to the print control unit 5. Notify completion.

給紙完了が通知されると(ステップ22)、印刷制御部5は、媒体搬送部7に媒体搬送開始指示を通知する(ステップ23)とともにサイズ検出部9に媒体サイズ測定開始指示を通知する(ステップ24)。媒体搬送開始指示を受けた媒体搬送部7は、レジストローラ対24、転写ローラ26、定着ローラ対27および排出ローラ対29、30を起動することにより、媒体給紙部6により給紙された記録媒体Pの搬送を開始する。そして媒体搬送路23上の書出センサ34がオンになるのを待つ。   When the completion of paper feeding is notified (step 22), the print control unit 5 notifies the medium conveyance unit 7 of a medium conveyance start instruction (step 23) and notifies the size detection unit 9 of a medium size measurement start instruction (step 23). Step 24). In response to the medium conveyance start instruction, the medium conveyance unit 7 activates the registration roller pair 24, the transfer roller 26, the fixing roller pair 27, and the discharge roller pairs 29 and 30, thereby recording the sheet fed by the medium sheet feeding unit 6. The conveyance of the medium P is started. Then, it waits for the writing sensor 34 on the medium conveyance path 23 to be turned on.

また、前記ステップ9において媒体サイズ測定開始指示を受けたサイズ検出部9は、メモリ部11の印刷制御データ部13のパルスカウント部13gをクリアする。パルスカウント部13gは、図示しない搬送データを1パルス動作させる毎に1カウントアップされることにより、媒体サイズの測定に使用される。媒体サイズの測定方法は、搬送モータの1パルス駆動に対する記録媒体Pの進み量にパルスカウント値を乗算することにより記録媒体Pの長さを算出する。書出センサ34がオンしたことを媒体搬送部7が検出すると、印刷制御部5へ記録媒体Pの印刷位置到達を通知するとともに、媒体搬送路23上の入口センサ33がオフになる(記録媒体Pの後端検出)のを待つ。   Further, the size detection unit 9 that has received the medium size measurement start instruction in Step 9 clears the pulse count unit 13 g of the print control data unit 13 of the memory unit 11. The pulse count unit 13g is used for measurement of the medium size by incrementing the count by 1 every time the conveyance data (not shown) is operated by one pulse. In the medium size measurement method, the length of the recording medium P is calculated by multiplying the advance amount of the recording medium P with respect to one pulse drive of the conveyance motor by the pulse count value. When the medium conveyance unit 7 detects that the writing sensor 34 is turned on, the print control unit 5 is notified of the arrival of the print position of the recording medium P, and the inlet sensor 33 on the medium conveyance path 23 is turned off (recording medium). Wait for P's trailing edge detection).

印刷制御部5は記録媒体Pの印刷開始位置到達通知を受けると(ステップ25)、感光体ドラム25における露光、現像、転写の各動作および定着動作を制御して画像形成を開始するとともに、メモリ部11の印刷制御データ部13の印刷ページ部13hに「1」を加算する(ステップ26)。媒体搬送部7は、入口センサ33がオフになったことを検出すると、記録媒体Pの後端検出を印刷制御部5に通知する。印刷制御部5は、後端検出の通知を受けると(ステップ27)、サイズ検出部9へ媒体サイズ測定終了を通知し、サイズチェック部10へ媒体サイズチェック要求を通知する(ステップ28)。   Upon receiving the print start position arrival notification of the recording medium P (step 25), the print control unit 5 controls the exposure, development, and transfer operations and the fixing operation on the photosensitive drum 25 to start image formation, and the memory. "1" is added to the print page portion 13h of the print control data portion 13 of the portion 11 (step 26). When the medium transport unit 7 detects that the entrance sensor 33 is turned off, the medium transport unit 7 notifies the print control unit 5 of the detection of the trailing edge of the recording medium P. Upon receiving notification of trailing edge detection (step 27), the print control unit 5 notifies the size detection unit 9 of the end of medium size measurement, and notifies the size check unit 10 of a medium size check request (step 28).

媒体サイズ測定終了通知を受けたサイズ検出部9は、メモリ部11の印刷制御データ部13のパルスカウント部13gへの搬送モータの駆動パルスカウント値の書込みを終了する。また媒体サイズチェック要求を受けたサイズチェック部10は、メモリ部11の印刷制御データ部13のパルスカウント部13gのカウント値を読み込み、上述したサイズ測定方法により記録媒体Pの長さを求め、求めた長さと、メモリ部11の印刷制御データ部13の印刷サイズ部13aに格納されている媒体サイズとを比較する。比較の結果、両方の媒体サイズが一致した場合、媒体サイズ一致を印刷制御部5に通知する。また両方の媒体サイズが一致しなかった場合、媒体サイズ不一致を印刷制御部5に通知する。   Upon receiving the medium size measurement end notification, the size detection unit 9 ends the writing of the drive motor drive pulse count value to the pulse count unit 13 g of the print control data unit 13 of the memory unit 11. In response to the medium size check request, the size check unit 10 reads the count value of the pulse count unit 13g of the print control data unit 13 of the memory unit 11 and obtains the length of the recording medium P by the size measurement method described above. And the medium size stored in the print size portion 13a of the print control data portion 13 of the memory portion 11 are compared. As a result of the comparison, if both the media sizes match, the print control unit 5 is notified of the media size match. If the two media sizes do not match, the print control unit 5 is notified of the media size mismatch.

印刷制御部5は媒体サイズ一致通知を受けると(ステップ29)、全ての印刷データを印刷したかを判断し(ステップ30)、印刷データが残っている場合はステップ21に戻り、次のページの印刷を開始する。印刷データを全て印刷したと判断した場合は、媒体搬送部7に媒体排出要求を通知する。媒体排出要求を受けた媒体搬送部7は、媒体搬送路23上の出口センサ35がオフになる(記録媒体Pの後端が通過する)のを待つ。媒体搬送部7は、出口センサ35がオフになったことを検出すると、印刷制御部5に媒体排出終了を通知する。印刷制御部5は当該媒体排出終了通知を受けると(ステップ31)、システム制御部2へ印刷正常終了を通知して印刷処理を終了する。   Upon receiving the medium size match notification (step 29), the print control unit 5 determines whether all print data has been printed (step 30). If print data remains, the process returns to step 21, and the next page is updated. Start printing. When it is determined that all print data has been printed, the medium transport unit 7 is notified of a medium discharge request. Upon receiving the medium discharge request, the medium transport unit 7 waits for the exit sensor 35 on the medium transport path 23 to be turned off (the rear end of the recording medium P passes). When the medium transport unit 7 detects that the exit sensor 35 is turned off, the medium transport unit 7 notifies the print control unit 5 of the end of the medium discharge. When the print control unit 5 receives the medium discharge end notification (step 31), the print control unit 5 notifies the system control unit 2 of normal print end and ends the printing process.

前記ステップ29において媒体サイズ不一致の通知を受けた印刷制御部5は、出口センサ35がオンになっているか、即ち排出口の切り替えが可能か確認する(ステップ32)。出口センサ35がオンの場合は、記録媒体Pがフェイスダウン排出路31とフェイスアップ排出路32の分岐点に到達しているため排出方向を切り替えることができない。そのため印刷制御部5は、メモリ部11の印刷制御データ部13の印刷ページ部13hを読出し、アラームページ部13dへ登録する(ステップ33)とともに、システム制御部2へ印刷終了サイズエラーを通知して(ステップ34)、処理を終了する。   The print controller 5 that has received the medium size mismatch notification in the step 29 confirms whether the exit sensor 35 is turned on, that is, whether the discharge port can be switched (step 32). When the exit sensor 35 is on, the discharge direction cannot be switched because the recording medium P has reached the branch point between the face-down discharge path 31 and the face-up discharge path 32. Therefore, the print control unit 5 reads out the print page unit 13h of the print control data unit 13 of the memory unit 11, registers it in the alarm page unit 13d (step 33), and notifies the system control unit 2 of a print end size error. (Step 34), the process ends.

ステップ32において出口センサ35がオフである場合は、媒体搬送部7へ排出口切り替え指示を通知する(ステップ35)。通知を受けた媒体搬送部7は、図3に示す切替ブレード28を切り替えて記録媒体Pが排出される排出口を切り替え、印刷制御部5へ排出口切り替え終了を通知する。排出口切り替え終了通知を受けた印刷制御部5は、システム制御部2へ印刷終了サイズエラーを通知して(ステップ34)、処理を終了する。   When the exit sensor 35 is off in step 32, the medium transport unit 7 is notified of a discharge port switching instruction (step 35). Upon receiving the notification, the medium transport unit 7 switches the switching blade 28 shown in FIG. 3 to switch the discharge port from which the recording medium P is discharged, and notifies the print control unit 5 of the end of the discharge port switching. The print control unit 5 that has received the notification of exit end switching notifies the system control unit 2 of a print end size error (step 34) and ends the process.

次に前記図4のステップ9において、システム制御部2より媒体サイズ測定指示を受けた場合の媒体サイズ測定動作を図6のフローチャートに従って説明する。図6は媒体サイズ測定動作を示すフローチャートである。ステップ40においてシステム制御部2から媒体サイズ測定指示を受けた印刷制御部5は、媒体給紙部6へ媒体給紙開始指示を通知する(ステップ41)。媒体給紙開始指示を受けた媒体給紙部6は、メモリ部11の印刷制御データ部13の使用トレイ部13eで指定された給紙トレイ21から給紙ローラ22を回転させて記録媒体Pの給紙を開始する。媒体給紙部6は媒体搬送路23上の入口センサ33がオンになるのを待ち、入口センサ33がオンになったところで、印刷制御部5へ給紙完了を通知する。   Next, the medium size measuring operation when receiving a medium size measuring instruction from the system control unit 2 in step 9 of FIG. 4 will be described with reference to the flowchart of FIG. FIG. 6 is a flowchart showing the medium size measuring operation. Upon receiving the medium size measurement instruction from the system control unit 2 in step 40, the print control unit 5 notifies the medium sheet feeding unit 6 of a medium sheet feeding start instruction (step 41). Receiving the medium feeding start instruction, the medium feeding unit 6 rotates the feeding roller 22 from the feeding tray 21 designated by the use tray unit 13e of the printing control data unit 13 of the memory unit 11 to record the recording medium P. Start feeding paper. The medium feeding unit 6 waits for the entrance sensor 33 on the medium conveyance path 23 to be turned on, and notifies the print control unit 5 of the completion of feeding when the entrance sensor 33 is turned on.

印刷制御部5は、給紙完了通知を受けると(ステップ42)、媒体搬送部7へ媒体搬送開始を通知する(ステップ43)とともに、サイズ検出部9へ媒体サイズ測定開始を通知する(ステップ44)。媒体搬送開始通知を受けた媒体搬送部7は、レジストローラ対24、転写ローラ26、定着ローラ対27及び排出ローラ対29、30を起動することにより、媒体給紙部6により給紙された記録媒体Pの搬送を開始する。そして媒体搬送路23上の書出センサ34がオンになるのを待つ。また媒体サイズ測定開始通知を受けたサイズ検出部9は、メモリ部11の印刷制御データ部13のパルスカウント部13gをクリアする。書出センサ34がオンしたことを媒体搬送部7が検出すると、印刷制御部5へ記録媒体Pの印刷位置到達を通知するとともに、媒体搬送路23上の入口センサ33がオフになるのを待つ。   Upon receiving the paper feed completion notification (step 42), the print control unit 5 notifies the medium conveyance unit 7 of the start of medium conveyance (step 43) and notifies the size detection unit 9 of the start of medium size measurement (step 44). ). Upon receiving the medium conveyance start notification, the medium conveyance unit 7 activates the registration roller pair 24, the transfer roller 26, the fixing roller pair 27, and the discharge roller pairs 29 and 30, thereby recording the sheet fed by the medium sheet feeding unit 6. The conveyance of the medium P is started. Then, it waits for the writing sensor 34 on the medium conveyance path 23 to be turned on. Upon receiving the medium size measurement start notification, the size detection unit 9 clears the pulse count unit 13 g of the print control data unit 13 of the memory unit 11. When the medium conveyance unit 7 detects that the writing sensor 34 is turned on, the print control unit 5 is notified of the arrival of the printing position of the recording medium P and waits for the entrance sensor 33 on the medium conveyance path 23 to be turned off. .

印刷制御部5は、記録媒体Pの印刷位置到達通知を受けると(ステップ45)、ここでは印刷制御を行わずに媒体サイズ測定のみを行うために、媒体後端検出待ちへ移行する。印刷搬送部7は、媒体搬送路23上の入口センサ33がオフになったことを検出すると、記録媒体Pの後端部検出を印刷制御部5へ通知する。印刷制御部5は、媒体後端部検出通知を受けると(ステップ46)、サイズ検出部9へ媒体サイズ測定終了を通知し、サイズチェック部10へ媒体サイズチェック要求を通知する(ステップ47)。媒体サイズ測定終了通知を受けたサイズ検出部9は、メモリ部11の印刷制御データ部13のパルスカウント部13gへのパルスカウント値の書込みを終了する。また媒体サイズチェック要求を受けたサイズチェック部10は、メモリ部11の印刷制御データ部13のパルスカウント部13gのカウント値を読み込み、上述したサイズ測定方法により記録媒体Pの長さを求め、求めた長さと、メモリ部11の印刷制御データ部13の印刷サイズ部13aに格納されている媒体サイズを比較する(ステップ48)。比較の結果、両方の媒体サイズが一致した場合、媒体サイズ一致を印刷制御部5に通知する。また両方の媒体サイズが一致しなかった場合、媒体サイズ不一致を印刷制御部5に通知する。印刷制御部5では、媒体サイズ一致通知を受けると、システム制御部2へ媒体サイズ一致を通知して(ステップ49)、処理を終了する。   When the print control unit 5 receives the print position arrival notification of the recording medium P (step 45), the print control unit 5 shifts to a medium rear end detection waiting in order to perform only the medium size measurement without performing the print control here. When the print conveyance unit 7 detects that the inlet sensor 33 on the medium conveyance path 23 is turned off, the print conveyance unit 7 notifies the print control unit 5 of the detection of the trailing edge of the recording medium P. Upon receiving the medium rear end detection notification (step 46), the print control unit 5 notifies the size detection unit 9 of the end of the medium size measurement, and notifies the size check unit 10 of the medium size check request (step 47). Upon receiving the medium size measurement end notification, the size detection unit 9 finishes writing the pulse count value to the pulse count unit 13g of the print control data unit 13 of the memory unit 11. In response to the medium size check request, the size check unit 10 reads the count value of the pulse count unit 13g of the print control data unit 13 of the memory unit 11 and obtains the length of the recording medium P by the size measurement method described above. Is compared with the media size stored in the print size portion 13a of the print control data portion 13 of the memory portion 11 (step 48). As a result of the comparison, if both the media sizes match, the print control unit 5 is notified of the media size match. If the two media sizes do not match, the print control unit 5 is notified of the media size mismatch. When the print control unit 5 receives the medium size match notification, the print control unit 5 notifies the system control unit 2 of the medium size match (step 49) and ends the process.

また媒体サイズ不一致通知を受けた印刷制御部5は、媒体搬送部7へ媒体排出要求を通知する。媒体排出要求を受けた媒体搬送部7は、媒体搬送路23上の出口センサ35がオフになるのを待つ。出口センサ35がオフになったことを検出した媒体搬送部7は、印刷制御部5へ媒体排出終了を通知する。印刷制御部5は、媒体排出終了通知を受けると(ステップ50)、システム制御部2へ媒体サイズ不一致を通知して(ステップ51)、処理を終了する。   In response to the medium size mismatch notification, the print control unit 5 notifies the medium transport unit 7 of a medium discharge request. Upon receiving the medium discharge request, the medium transport unit 7 waits for the outlet sensor 35 on the medium transport path 23 to be turned off. The medium transport unit 7 that has detected that the exit sensor 35 has been turned off notifies the print control unit 5 of the end of the medium discharge. Upon receiving the medium discharge end notification (step 50), the print control unit 5 notifies the system control unit 2 of the medium size mismatch (step 51) and ends the process.

以上のように実施例1によれば、給紙トレイ21にサイズの異なる記録媒体が混入していた場合でも、次の記録媒体のサイズを計測可能か否か確認し(ステップ8参照)、計測可能な場合に次の記録媒体のサイズを測定し(ステップ9参照)、測定の結果サイズが印刷すべきサイズと一致した場合は(ステップ11参照)、ユーザのカバー開閉動作を要求することなく印刷を継続できる(ステップ3参照)という効果を得ることができる。また印刷中にサイズ不一致を検出した場合、不一致を起こした記録媒体を、排出口を切り替えて排出するようにしたので(ステップ35参照)、サイズ不一致の記録媒体だけ異なる排出口に排出されて、これにより、操作者は正常印刷の記録媒体の排出と、サイズエラーによる記録媒体の排出とを区別することができ、該記録媒体の処理が容易になる。   As described above, according to the first embodiment, it is confirmed whether or not the size of the next recording medium can be measured even when recording media having different sizes are mixed in the paper feed tray 21 (see step 8). If possible, the size of the next recording medium is measured (see step 9), and if the result of the measurement matches the size to be printed (see step 11), printing is performed without requiring the user to open and close the cover. Can be obtained (see step 3). In addition, when a size mismatch is detected during printing, the recording medium in which the mismatch has occurred is discharged by switching the discharge port (see step 35), so only the size mismatched recording medium is discharged to a different discharge port, Thereby, the operator can distinguish between the discharge of the recording medium for normal printing and the discharge of the recording medium due to the size error, and the processing of the recording medium becomes easy.

(実施例2)
次に実施例2を説明する。図7は実施例2の印刷装置41を示すブロック図である。図7において、印刷装置41はシステム制御部42、接続インターフェイス(I/F)部43、画像データ記憶部44、印刷制御部45、媒体給紙部46、媒体搬送部47、サイズ判定部48、サイズ検出部49、サイズチェック部50、メモリ部51、操作・表示部52および両面機構制御部53を有する。システム制御部42は、印刷装置41全体の動作を制御する。接続I/F部43は、LAN回線の接続を行い、TCP/IP制御を行い、図示しない上位装置からコマンドを受信する。
(Example 2)
Next, Example 2 will be described. FIG. 7 is a block diagram illustrating the printing apparatus 41 according to the second embodiment. In FIG. 7, a printing apparatus 41 includes a system control unit 42, a connection interface (I / F) unit 43, an image data storage unit 44, a print control unit 45, a medium feeding unit 46, a medium transport unit 47, a size determination unit 48, A size detection unit 49, a size check unit 50, a memory unit 51, an operation / display unit 52, and a double-sided mechanism control unit 53 are included. The system control unit 42 controls the overall operation of the printing apparatus 41. The connection I / F unit 43 connects a LAN line, performs TCP / IP control, and receives a command from a host device (not shown).

画像データ記憶部44は、内蔵されているハードディスクで構成され、受信した画像データを格納する。印刷制御部45は、印刷動作を制御するもので、媒体給紙部46、媒体搬送部47を起動して記録媒体Pの搬送制御を行うとともに、サイズ検出部49、サイズチェック部50を起動して媒体サイズの検出及び媒体サイズの比較を実行させる。   The image data storage unit 44 is composed of a built-in hard disk and stores received image data. The print control unit 45 controls the printing operation. The print control unit 45 activates the medium feeding unit 46 and the medium conveyance unit 47 to control conveyance of the recording medium P, and activates the size detection unit 49 and the size check unit 50. The medium size is detected and the medium size is compared.

媒体給紙部46は媒体給紙機構を制御し、給紙トレイ21から記録媒体Pを給紙する。媒体搬送部47は、媒体給紙部46により給紙された記録媒体Pを装置外に排出するまで搬送する。サイズ判定部48は、受信した画像データのヘッダにて指定される媒体サイズを判定する。サイズ検出部49は、媒体給紙部46により給紙され、媒体搬送部47により搬送される記録媒体Pのサイズを検出する。サイズチェック部50は、サイズ判定部48で判定された媒体サイズとサイズ検出部49で検出した媒体サイズとを比較する。   The medium sheet feeding unit 46 controls the medium sheet feeding mechanism and feeds the recording medium P from the sheet feeding tray 21. The medium conveying unit 47 conveys the recording medium P fed by the medium feeding unit 46 until it is discharged out of the apparatus. The size determination unit 48 determines the medium size specified by the header of the received image data. The size detection unit 49 detects the size of the recording medium P that is fed by the medium feeding unit 46 and conveyed by the medium conveyance unit 47. The size check unit 50 compares the medium size determined by the size determination unit 48 with the medium size detected by the size detection unit 49.

メモリ部51は、揮発性の記憶装置からなり、印刷装置41が使用するデータを格納する。メモリ部51は印刷制御データ部54を備えている。印刷制御データ部54は、図8に示すように、印刷サイズ部54a、印刷形態部54b、リカバリー印刷部54c、アラームページ部54d、使用トレイ部54e、トレイサイズ情報部54f、パルスカウント部54g、印刷ページ部54h、排出スタッカ部54iおよびリカバリートレイ部54jを有する。なお、図8は実施例2のメモリ部51の構成を示す図である。   The memory unit 51 includes a volatile storage device and stores data used by the printing device 41. The memory unit 51 includes a print control data unit 54. As shown in FIG. 8, the print control data section 54 includes a print size section 54a, a print form section 54b, a recovery print section 54c, an alarm page section 54d, a used tray section 54e, a tray size information section 54f, a pulse count section 54g, It has a print page portion 54h, a discharge stacker portion 54i, and a recovery tray portion 54j. FIG. 8 is a diagram illustrating a configuration of the memory unit 51 according to the second embodiment.

操作・表示部52は、印刷装置41を操作する為に必要なメニューキーや操作の決定や開始をする為の設定キー、操作を停止させるキャンセルキーがある操作部と、入力した情報やアラーム情報を表示する表示部からなる。両面機構制御部53は、後述する両面ユニットを制御するもので、媒体搬送部47により搬送される記録媒体Pを両面印刷ユニットへ給紙し、給紙した記録媒体Pを両面印刷ユニットで搬送する。   The operation / display unit 52 includes a menu key necessary for operating the printing apparatus 41, a setting key for determining and starting the operation, an operation unit having a cancel key for stopping the operation, and input information and alarm information. It consists of a display unit that displays. The double-sided mechanism control unit 53 controls a double-sided unit which will be described later, and feeds the recording medium P transported by the medium transporting unit 47 to the double-sided printing unit, and transports the fed recording medium P by the double-sided printing unit. .

図9は実施例2の印刷装置41を示す概略構成図である。図9において、媒体トレイ21は記録媒体Pを収納するもので、その先端側上方に配設された給紙ローラ22により記録媒体Pが繰出される。給紙ローラ22は前記媒体給紙部46に含まれる。給紙ローラ22を基点として媒体搬送路23が形成されており、この媒体搬送路23に沿ってレジストローラ対24、感光体ドラム25、転写ローラ26、定着ローラ対27、切替ブレード28、排出ローラ対29、30が設けられている。   FIG. 9 is a schematic configuration diagram illustrating a printing apparatus 41 according to the second embodiment. In FIG. 9, the medium tray 21 accommodates the recording medium P, and the recording medium P is fed out by a paper feed roller 22 disposed on the upper end side of the medium tray 21. The paper feed roller 22 is included in the medium paper feed unit 46. A medium conveyance path 23 is formed with the paper feed roller 22 as a base point. A registration roller pair 24, a photosensitive drum 25, a transfer roller 26, a fixing roller pair 27, a switching blade 28, a discharge roller are formed along the medium conveyance path 23. Pairs 29 and 30 are provided.

媒体搬送路23は、切替ブレード28の配置点において排出路(フェイスダウン排出路)31と反転搬送路55に分岐している。また媒体搬送路23には、レジストローラ対24の手前側(媒体搬送方向上流側)に入口センサ33が設けられ、感光体ドラム25および転写ローラ26の手前側に書出センサ34が設けられ、さらに切替ブレード28の手前側に出口センサ35が設けられている。反転搬送路55には搬送手段として両面ユニット給紙ローラ対56および搬送ローラ57、58、59が設けられ、また両面ユニット給紙ローラ対56の手前に入口センサ60が設けられ、さらに搬送ローラ59の手前に給紙完了センサ61が設けられている。反転搬送路55に沿った前記ローラおよびセンサは図示しない両面印刷ユニットに設けられている。   The medium conveyance path 23 branches into a discharge path (face-down discharge path) 31 and a reverse conveyance path 55 at the arrangement point of the switching blade 28. The medium conveyance path 23 is provided with an inlet sensor 33 on the front side of the registration roller pair 24 (upstream side in the medium conveyance direction), and a writing sensor 34 is provided on the front side of the photosensitive drum 25 and the transfer roller 26. Further, an outlet sensor 35 is provided on the front side of the switching blade 28. The reverse conveyance path 55 is provided with a duplex unit paper feed roller pair 56 and conveyance rollers 57, 58, 59 as conveyance means, and an inlet sensor 60 is provided in front of the duplex unit paper feed roller pair 56. Is provided with a paper feed completion sensor 61. The rollers and sensors along the reverse conveyance path 55 are provided in a duplex printing unit (not shown).

次に実施例2の動作を説明する。図10は実施例2における印刷処理全体の動作を示すフローチャートである。当該印刷処理全体の動作は前記システム制御部42により制御される。先ず印刷装置41が図示しない上位装置からコマンドを受信すると、接続I/F部43は受信したコマンドの解析を行い、要求コマンドが印刷要求である場合、印刷要求コマンドを受信したことをシステム制御部42へ通知する。システム制御部42はこの通知を受けると(ステップ61)、受信データのヘッダにて指定される印刷サイズ(媒体サイズを含む)をメモリ部51の印刷制御データ部54の印刷サイズ部54aに格納するとともに、同様に受信データで指定される印刷形態を印刷形態部54bに格納する(ステップ62)、ここで印刷形態指定とは、パンチ穴やステープル等の指定のことである。   Next, the operation of the second embodiment will be described. FIG. 10 is a flowchart illustrating the overall operation of the printing process according to the second embodiment. The overall operation of the printing process is controlled by the system control unit 42. First, when the printing device 41 receives a command from a host device (not shown), the connection I / F unit 43 analyzes the received command. If the request command is a print request, the system control unit indicates that the print request command has been received. 42 is notified. Upon receiving this notification (step 61), the system control unit 42 stores the print size (including the medium size) specified by the header of the received data in the print size unit 54a of the print control data unit 54 of the memory unit 51. At the same time, the print form designated by the received data is stored in the print form section 54b (step 62). Here, the print form designation is designation of punch holes, staples, or the like.

データを格納したシステム制御部42は、印刷制御部45に印刷開始指示を通知する(ステップ63)とともに、メモリ部51の印刷制御データ部54の印刷ページ部54hをクリアする。なお、ステップ63において印刷開始指示を受けた印刷制御部45による印刷動作は図11において説明する。印刷制御部45による印刷動作中、システム制御部42はその終了を待つ。印刷制御部45から印刷動作終了が通知されると(ステップ64)、システム制御部42は、終了状態を確認する(ステップ65)。即ち、システム制御部42は、印刷動作がサイズエラーで終了したのか又は正常終了したのかを確認する。   The system control unit 42 storing the data notifies the print control unit 45 of a print start instruction (step 63) and clears the print page unit 54h of the print control data unit 54 of the memory unit 51. The printing operation performed by the print control unit 45 that has received a print start instruction in step 63 will be described with reference to FIG. During the printing operation by the print control unit 45, the system control unit 42 waits for the end. When the end of the printing operation is notified from the print control unit 45 (step 64), the system control unit 42 confirms the end state (step 65). In other words, the system control unit 42 confirms whether the printing operation has ended with a size error or has ended normally.

システム制御部42は、印刷制御部45から正常終了が通知された場合、メモリ部51の印刷制御データ部54のリカバリー印刷部54cを参照し、正常終了がサイズエラー後のリカバリー印刷における正常終了なのかどうかを判定する(ステップ66)。なお後述するようにリカバリー印刷が行われた場合には、リカバリー印刷部54cにリカバリー印刷である旨の情報が登録される。リカバリー印刷の終了ではないと判定した場合、システム制御部42は、処理の全てを終了し、待機状態に移行する。   When the normal end is notified from the print control unit 45, the system control unit 42 refers to the recovery printing unit 54c of the print control data unit 54 of the memory unit 51, and the normal end is normal end in recovery printing after the size error. (Step 66). As described later, when recovery printing is performed, information indicating that recovery printing is performed is registered in the recovery printing unit 54c. If it is determined that recovery printing has not ended, the system control unit 42 ends all processing and shifts to a standby state.

ステップ66においてリカバリー印刷であると判定した場合、システム制御部42は、操作・表示部52へアラームページ表示要求を通知して(ステップ67)、処理を終了する。アラームページ表示要求を受けた操作・表示部52は、メモリ部51の印刷制御データ部54のアラームページ部54dを読出し、サイズエラーで排出されたページを表示する。   If it is determined in step 66 that the printing is recovery printing, the system control unit 42 notifies the operation / display unit 52 of an alarm page display request (step 67), and the process ends. The operation / display unit 52 that has received the alarm page display request reads the alarm page unit 54d of the print control data unit 54 of the memory unit 51, and displays the page discharged due to the size error.

ステップ65において印刷制御部45からサイズエラー終了が通知された場合、システム制御部42は、再計測可能印刷か否か判定する(ステップ68)。ここで再計測可能印刷とは、メモリ部51の印刷制御データ部54の印刷形態部54bを確認してパンチ穴やステープルが設定されていない場合と、印刷制御データ部54のリカバリー印刷部54cを確認してリカバリー印刷が登録されていない場合に、媒体サイズを計測可能な印刷であるとする。   When the end of the size error is notified from the print control unit 45 in step 65, the system control unit 42 determines whether or not re-measurable printing is performed (step 68). Here, re-measurable printing refers to the case where no punch holes or staples are set by checking the print form portion 54b of the print control data portion 54 of the memory portion 51, and the recovery printing portion 54c of the print control data portion 54. If it is confirmed that recovery printing is not registered, it is assumed that the print can measure the medium size.

ステップ68において再計測可能印刷ではないと判断した場合、システム制御部42は、操作・表示部52へサイズエラー表示要求を通知して(ステップ73)、処理を終了する。サイズエラー表示要求を受けた操作・表示部52は、サイズエラーを表示する。   If it is determined in step 68 that the printing is not re-measurable printing, the system control unit 42 notifies the operation / display unit 52 of a size error display request (step 73) and ends the process. The operation / display unit 52 that has received the size error display request displays a size error.

ステップ68で再計測可能印刷であると判断した場合、システム制御部42は、両面印刷ユニットが装着されているか否かを判断し、装着されていればメモリ部51の印刷制御データ部54の排出スタッカ部54iに両面印刷ユニットを設定し、両面印刷ユニットが装着していなければ通常排出路31を設定する(ステップ69)。それとともに印刷制御部45へ媒体サイズ測定指示を通知する(ステップ70)。なお、測定指示を受けた印刷制御部45による媒体サイズ測定については図12において説明する。   If it is determined in step 68 that the re-measurable printing is performed, the system control unit 42 determines whether or not the double-sided printing unit is installed. If it is installed, the print control data unit 54 of the memory unit 51 is discharged. A double-sided printing unit is set in the stacker unit 54i. If the double-sided printing unit is not attached, the normal discharge path 31 is set (step 69). At the same time, a medium size measurement instruction is notified to the print control unit 45 (step 70). The medium size measurement by the print control unit 45 that has received the measurement instruction will be described with reference to FIG.

媒体サイズ測定指示を出したシステム制御部42は、印刷制御部45からの測定終了通知を待ち、測定終了通知を受けると(ステップ71)、測定結果を確認する(ステップ72)。即ち、システム制御部42は、印刷制御部45から媒体サイズ一致結果が通知された場合は、メモリ部51の印刷制御データ部54のリカバリー印刷部54cにリカバリー印刷である旨を登録し、メモリ部51の印刷制御データ部54の排出スタッカ部54iを読み出し、メモリ部51の印刷制御データ部54のリカバリートレイ部54jに設定する(ステップ74)。設定後、システム制御部42は、ステップ63へ戻り、印刷制御部45に印刷開始指示を通知し印刷を継続する。   The system control unit 42 that has issued the medium size measurement instruction waits for the measurement end notification from the print control unit 45, and when receiving the measurement end notification (step 71), confirms the measurement result (step 72). That is, when the medium size match result is notified from the print control unit 45, the system control unit 42 registers that the recovery printing is performed in the recovery print unit 54c of the print control data unit 54 of the memory unit 51, and the memory unit The discharge stacker unit 54i of the print control data unit 51 is read out and set in the recovery tray unit 54j of the print control data unit 54 of the memory unit 51 (step 74). After the setting, the system control unit 42 returns to step 63, notifies the print control unit 45 of a print start instruction, and continues printing.

ステップ72において印刷制御部45から媒体サイズ不一致結果が通知されると、システム制御部42は操作・表示部52へサイズエラー表示要求を通知して(ステップ73)、処理を終了する。サイズエラー表示要求を受けた操作・表示部52は、サイズエラーを表示する。   When the medium size mismatch result is notified from the print control unit 45 in step 72, the system control unit 42 notifies the operation / display unit 52 of a size error display request (step 73) and ends the processing. The operation / display unit 52 that has received the size error display request displays a size error.

次に、前記ステップ63において印刷開始指示を受けた印刷制御部45による印刷動作を図11に従って説明する。図11は実施例2の印刷動作を示すフローチャートである。ステップ80においてシステム制御部42から印刷開始指示を受けた印刷制御部45は、メモリ部51の印刷制御データ部54のリカバリートレイ部54jを判定し、リカバリー印刷かどうかを判断する(ステップ81)。リカバリー印刷と判断した場合は、メモリ部51の印刷制御データ部54のリカバリートレイ部54jを給紙トレイとし(ステップ82)、リカバリー印刷ではないと判断した場合は、メモリ部51の印刷制御データ部54の使用トレイ部54eを給紙トレイとして(ステップ83)、媒体給紙部46に媒体給紙開始指示を通知する(ステップ84)。   Next, the printing operation performed by the print control unit 45 that has received a print start instruction in step 63 will be described with reference to FIG. FIG. 11 is a flowchart illustrating a printing operation according to the second embodiment. In step 80, the print control unit 45 that has received the print start instruction from the system control unit 42 determines the recovery tray unit 54j of the print control data unit 54 of the memory unit 51, and determines whether it is recovery printing (step 81). When it is determined that recovery printing is performed, the recovery tray portion 54j of the print control data portion 54 of the memory portion 51 is used as a paper feed tray (step 82). When it is determined that recovery printing is not performed, the print control data portion of the memory portion 51 is determined. The use tray unit 54e of 54 is set as a paper feed tray (step 83), and a medium feed start instruction is notified to the medium paper feed unit 46 (step 84).

媒体給紙開始指示を受けた媒体給紙部46は、指定されたトレイが両面印刷ユニットからの給紙指示の場合、両面機構制御部53へ給紙指示を通知する。給紙指示を受けた両面機構制御部53は、図9に示す搬送ローラ57、58、59を回転させることにより記録媒体Pの排紙を開始する。指定されたトレイが両面印刷ユニットからではなく、通常の給紙トレイ21である場合は、給紙ローラ22を回転させて記録媒体Pの給紙を開始する。   The medium sheet feeding unit 46 that has received the medium sheet feeding start instruction notifies the duplex mechanism control unit 53 of the sheet feeding instruction when the designated tray is a sheet feeding instruction from the duplex printing unit. Receiving the paper feed instruction, the double-sided mechanism control unit 53 starts discharging the recording medium P by rotating the transport rollers 57, 58, and 59 shown in FIG. When the designated tray is not the duplex printing unit but the normal paper feed tray 21, the paper feed roller 22 is rotated to start feeding the recording medium P.

媒体給紙部46は、媒体搬送路23に設けられている入口センサ33がオンになるのを待ち、入口センサ33がオンになると、印刷制御部45へ給紙完了を通知する。給紙完了を通知されると(ステップ85)、印刷制御部45は、媒体搬送部47に媒体搬送開始指示を通知する(ステップ86)とともにサイズ検出部49に媒体サイズ測定開始指示を通知する(ステップ87)。媒体搬送開始指示を受けた媒体搬送部47は、レジストローラ対24、転写ローラ26、定着ローラ対27および排出ローラ対29、30を起動することにより、記録媒体Pの搬送を開始する。そして媒体搬送路23上の書出センサ34がオンになるのを待つ。   The medium feeding unit 46 waits for the entrance sensor 33 provided in the medium transport path 23 to be turned on, and notifies the print control unit 45 of the completion of feeding when the entrance sensor 33 is turned on. When the paper feed completion is notified (step 85), the print control unit 45 notifies the medium transport unit 47 of a medium transport start instruction (step 86) and notifies the size detection unit 49 of a medium size measurement start instruction (step 86). Step 87). Upon receiving the medium conveyance start instruction, the medium conveyance unit 47 starts conveyance of the recording medium P by activating the registration roller pair 24, the transfer roller 26, the fixing roller pair 27, and the discharge roller pairs 29 and 30. Then, it waits for the writing sensor 34 on the medium conveyance path 23 to be turned on.

また、前記ステップ70において媒体サイズ測定開始指示を受けたサイズ検出部49は、メモリ部51の印刷制御データ部54のパルスカウント部54gをクリアする。媒体サイズの測定は前記実施例1と同様に行う。書出センサ34がオンしたことを媒体搬送部47が検出すると、印刷制御部45へ記録媒体Pの印刷位置到達を通知するとともに、媒体搬送路23上の入口センサ33がオフになるのを待つ。   Further, the size detection unit 49 that has received the medium size measurement start instruction in Step 70 clears the pulse count unit 54 g of the print control data unit 54 of the memory unit 51. The medium size is measured in the same manner as in Example 1. When the medium transport unit 47 detects that the writing sensor 34 is turned on, the print control unit 45 is notified of the arrival of the print position of the recording medium P and waits for the entrance sensor 33 on the medium transport path 23 to be turned off. .

印刷制御部45は、記録媒体Pの印刷位置到達通知を受けると(ステップ88)、感光体ドラム25における露光、現像、転写の各動作および定着動作を制御して画像形成を開始するとともに、メモリ部51の印刷制御データ部54の印刷ページ部54hに1を加算する(ステップ89)。媒体搬送部47は、入口センサ33がオフになったことを検出すると、記録媒体Pの後端検出を印刷制御部45に通知する。印刷制御部45は、後端検出の通知を受けると(ステップ90)、サイズ検出部49へ媒体サイズ測定終了を通知し、サイズチェック部50へ媒体サイズチェック要求を通知する(ステップ91)。   Upon receiving the print position arrival notification of the recording medium P (step 88), the print control unit 45 controls the exposure, development, and transfer operations and the fixing operation on the photosensitive drum 25 to start image formation, and the memory. 1 is added to the print page portion 54h of the print control data portion 54 of the portion 51 (step 89). When the medium transport unit 47 detects that the entrance sensor 33 is turned off, the medium transport unit 47 notifies the print control unit 45 of the detection of the trailing edge of the recording medium P. Upon receiving notification of trailing edge detection (step 90), the print control unit 45 notifies the size detection unit 49 of the end of medium size measurement and notifies the size check unit 50 of a medium size check request (step 91).

媒体サイズ測定終了通知を受けたサイズ検出部49は、メモリ部51の印刷制御データ部54のパルスカウント部54gへのパルスカウント値の書込みを終了する。また媒体サイズチェック要求を受けたサイズチェック部50は、メモリ部51の印刷制御データ部54のパルスカウント部54gのカウント値を読み込み、上述したサイズ測定方法により記録媒体Pの長さを求め、求めた長さと、メモリ部51の印刷制御データ部54の印刷サイズ部54aに格納されている媒体サイズとを比較する(ステップ92)。比較の結果、両方の媒体サイズが一致した場合、媒体サイズ一致を印刷制御部45に通知する。また両方の媒体サイズが一致しなかった場合、媒体サイズ不一致を印刷制御部45に通知する。   The size detection unit 49 that has received the medium size measurement end notification finishes writing the pulse count value to the pulse count unit 54 g of the print control data unit 54 of the memory unit 51. In response to the medium size check request, the size check unit 50 reads the count value of the pulse count unit 54g of the print control data unit 54 of the memory unit 51, and obtains the length of the recording medium P by the above-described size measurement method. And the medium size stored in the print size portion 54a of the print control data portion 54 of the memory portion 51 (step 92). As a result of the comparison, if both the media sizes match, the print control unit 45 is notified of the media size match. If the two media sizes do not match, the print control unit 45 is notified of the media size mismatch.

印刷制御部45は、媒体サイズ一致通知を受けると、全ての印刷データを印刷したかを判断し(ステップ93)、印刷データが残っている場合はステップ84に戻り、次のページの印刷を開始する。印刷データを全て印刷したと判断した場合は、媒体搬送部47に媒体排出要求を通知する。媒体排出要求を受けた媒体搬送部47は、媒体搬送路23上の出口センサ35がオフになるのを待つ。媒体搬送部47は、出口センサ35がオフになったことを検出すると、印刷制御部45に媒体排出終了を通知する。印刷制御部45は、媒体排出終了通知を受けると(ステップ94)、システム制御部42へ印刷正常終了を通知して印刷処理を終了する。   Upon receiving the medium size match notification, the print control unit 45 determines whether all the print data has been printed (step 93). If print data remains, the process returns to step 84 to start printing the next page. To do. When it is determined that all print data has been printed, the medium transport unit 47 is notified of a medium discharge request. The medium transport unit 47 that has received the medium discharge request waits for the outlet sensor 35 on the medium transport path 23 to be turned off. When the medium transport unit 47 detects that the exit sensor 35 is turned off, the medium transport unit 47 notifies the print control unit 45 of the end of the medium discharge. When the print control unit 45 receives the medium discharge end notification (step 94), the print control unit 45 notifies the system control unit 42 of the normal print end and ends the printing process.

ステップ92において媒体サイズ不一致の通知を受けた印刷制御部45は、メモリ部51の印刷制御データ部54の印刷ページ部54hを読出し、アラームページ部54dへ登録する(ステップ95)とともに、システム制御部42へ印刷終了サイズエラーを通知して(ステップ96)、処理を終了する。   Upon receiving the medium size mismatch notification in step 92, the print control unit 45 reads the print page unit 54h of the print control data unit 54 of the memory unit 51 and registers it in the alarm page unit 54d (step 95) and the system control unit. 42 is notified of the print end size error (step 96), and the process is terminated.

次に前記図10に示すステップ70においてシステム制御部42より媒体サイズ測定指示を受けた場合の媒体サイズ測定動作を図12のフローチャートに従って説明する。図12は実施例2における媒体サイズ測定動作を示すフローチャートである。ステップ100においてシステム制御部42から媒体サイズ測定指示を受けた印刷制御部45は、媒体給紙部46へ媒体給紙開始指示を通知する(ステップ101)。媒体給紙開始指示を受けた媒体給紙部46は、メモリ部51の印刷制御データ部54の使用トレイ部54eを読出し、指定されている給紙トレイ21から給紙ローラ22を回転させて記録媒体Pの給紙を開始する。媒体給紙部46は媒体搬送路23上の入口センサ33がオンになるのを待ち、入口センサ33がオンになったところで、印刷制御部45へ給紙完了を通知する。   Next, the medium size measuring operation when the medium size measuring instruction is received from the system control unit 42 in step 70 shown in FIG. 10 will be described with reference to the flowchart of FIG. FIG. 12 is a flowchart showing the medium size measuring operation in the second embodiment. In step 100, the print control unit 45 that has received the medium size measurement instruction from the system control unit 42 notifies the medium sheet feeding unit 46 of the medium sheet feeding start instruction (step 101). Upon receiving the medium feeding start instruction, the medium feeding unit 46 reads the used tray unit 54e of the print control data unit 54 of the memory unit 51, and rotates the feeding roller 22 from the designated feeding tray 21 for recording. The feeding of the medium P is started. The medium feeding unit 46 waits for the entrance sensor 33 on the medium conveyance path 23 to be turned on, and notifies the print control unit 45 of the completion of feeding when the entrance sensor 33 is turned on.

印刷制御部45は、給紙完了通知を受けると(ステップ102)、媒体搬送部47へ媒体搬送開始を通知する(ステップ103)とともに、サイズ検出部49へ媒体サイズ測定開始を通知する(ステップ104)。媒体搬送開始通知を受けた媒体搬送部47は、メモリ部51の印刷制御データ部54の排出スタッカ部54iを判定し(ステップ105)、排出スタッカ部54iに両面印刷ユニットが設定されている場合は、両面機構制御部53に給紙指示を通知するとともに(ステップ106)、レジストローラ対24、転写ローラ26、定着ローラ対27及び排出ローラ対29、30を起動することにより、媒体給紙部46により給紙された記録媒体Pの搬送を開始し、媒体搬送路23上の書出センサ34がオンになるのを待つ。   Upon receiving a paper feed completion notification (step 102), the print control unit 45 notifies the medium conveyance unit 47 of the start of medium conveyance (step 103) and notifies the size detection unit 49 of the start of medium size measurement (step 104). ). Upon receiving the medium conveyance start notification, the medium conveyance unit 47 determines the discharge stacker unit 54i of the print control data unit 54 of the memory unit 51 (step 105), and when a duplex printing unit is set in the discharge stacker unit 54i. In addition, the double side mechanism control unit 53 is notified of a paper feed instruction (step 106), and the registration roller pair 24, the transfer roller 26, the fixing roller pair 27, and the discharge roller pairs 29 and 30 are activated to thereby activate the medium paper feed unit 46. Then, the conveyance of the recording medium P fed by is started, and it waits for the writing sensor 34 on the medium conveyance path 23 to be turned on.

給紙指示を受けた両面機構制御部53は、切替ブレード28を反転搬送路55側に切替え、両面ユニット給紙ローラ対56および搬送ローラ57、58、59を回転させて給紙を行う。   Receiving the paper feed instruction, the duplex mechanism control unit 53 switches the switching blade 28 to the reverse conveyance path 55 side and rotates the duplex unit paper feed roller pair 56 and the conveyance rollers 57, 58, 59 to feed paper.

またメモリ部51の印刷制御データ部54の排出スタッカ部54iを判定して排出スタッカ部54iに両面印刷ユニットが設定されていないと判断した場合は、レジストローラ対24、転写ローラ26、定着ローラ対27及び排出ローラ対29、30を起動することにより、媒体給紙部46により給紙された記録媒体Pの搬送を開始し、媒体搬送路23上の書出センサ34がオンになるのを待つ。   If the discharge stacker unit 54i of the print control data unit 54 of the memory unit 51 is determined and it is determined that no duplex printing unit is set in the discharge stacker unit 54i, the registration roller pair 24, the transfer roller 26, and the fixing roller pair 27 and the discharge roller pair 29 and 30 are activated to start the conveyance of the recording medium P fed by the medium feeding unit 46 and wait for the writing sensor 34 on the medium conveyance path 23 to be turned on. .

また媒体サイズ測定開始通知を受けたサイズ検出部49は、メモリ部51の印刷制御データ部54のパルスカウント部54gをクリアする。書出センサ34がオンしたことを媒体搬送部47が検出すると、印刷制御部45へ記録媒体Pの印刷位置到達を通知するとともに、媒体搬送路23上の入口センサ33がオフになるのを待つ。   Upon receiving the medium size measurement start notification, the size detection unit 49 clears the pulse count unit 54 g of the print control data unit 54 of the memory unit 51. When the medium transport unit 47 detects that the writing sensor 34 is turned on, the print control unit 45 is notified of the arrival of the print position of the recording medium P and waits for the entrance sensor 33 on the medium transport path 23 to be turned off. .

印刷制御部45は、記録媒体Pの印刷位置到達通知を受けると(ステップ107)、ここでは印刷動作を行わずに媒体サイズ測定のみを行うために、媒体後端検出待ちへ移行する。印刷搬送部47は、媒体搬送路23上の入口センサ33がオフになったことを検出すると、記録媒体Pの後端部検出を印刷制御部45へ通知する。印刷制御部45は、媒体後端部検出通知を受けると(ステップ108)、サイズ検出部49へ媒体サイズ測定終了を通知し、サイズチェック部50へ媒体サイズチェック要求を通知する(ステップ109)。   When the print control unit 45 receives the print position arrival notification of the recording medium P (step 107), the print control unit 45 shifts to a medium rear end detection waiting in order to perform only the medium size measurement without performing the printing operation here. When the print conveyance unit 47 detects that the inlet sensor 33 on the medium conveyance path 23 is turned off, the print conveyance unit 47 notifies the print control unit 45 of the detection of the trailing edge of the recording medium P. Upon receiving the medium rear end detection notification (step 108), the print control unit 45 notifies the size detection unit 49 of the end of the medium size measurement, and notifies the size check unit 50 of the medium size check request (step 109).

媒体サイズ測定終了通知を受けたサイズ検出部49は、メモリ部51の印刷制御データ部54のパルスカウント部54gへのパルスカウント値の書込みを終了する。また媒体サイズチェック要求を受けたサイズチェック部50は、メモリ部51の印刷制御データ部54のパルスカウント部54gのカウント値を読み込み、上述したサイズ測定方法により記録媒体Pの長さを求め、求めた長さと、メモリ部51の印刷制御データ部54の印刷サイズ部54aに格納されている媒体サイズを比較する。比較の結果、両方の媒体サイズが一致した場合、媒体サイズ一致を印刷制御部45に通知する。また両方の媒体サイズが一致しなかった場合、媒体サイズ不一致を印刷制御部45に通知する。   The size detection unit 49 that has received the medium size measurement end notification finishes writing the pulse count value to the pulse count unit 54 g of the print control data unit 54 of the memory unit 51. In response to the medium size check request, the size check unit 50 reads the count value of the pulse count unit 54g of the print control data unit 54 of the memory unit 51, and obtains the length of the recording medium P by the above-described size measurement method. And the medium size stored in the print size portion 54a of the print control data portion 54 of the memory portion 51 are compared. As a result of the comparison, if both the media sizes match, the print control unit 45 is notified of the media size match. If the two media sizes do not match, the print control unit 45 is notified of the media size mismatch.

印刷制御部45では、媒体サイズ一致通知を受けると(ステップ110)、メモリ部51の印刷制御データ部54の排出スタッカ部54iを判定し、排出スタッカ54iに両面印刷ユニットが設定されている場合は、両面印刷ユニットの給紙完了待ちへ移行する(ステップ111)。両面機構制御部53は、反転搬送路55上にある入口センサ60がオンになるのを確認し、続いて同じく反転搬送路55上にある給紙完了センサ61がオンになるのを待つ。給紙完了センサ61がオンになったところで印刷制御部45へ両面印刷ユニット給紙完了を通知する。印刷制御部45は、両面印刷ユニット給紙完了通知を受けると(ステップ112)、システム制御部42へサイズ一致を通知して(ステップ113)、処理を終了する。   When the print control unit 45 receives the medium size coincidence notification (step 110), the print control unit 45 determines the discharge stacker unit 54i of the print control data unit 54 of the memory unit 51, and if a duplex printing unit is set in the discharge stacker 54i. Then, the process shifts to waiting for completion of feeding of the duplex printing unit (step 111). The duplex mechanism controller 53 confirms that the inlet sensor 60 on the reverse conveyance path 55 is turned on, and then waits for the paper feed completion sensor 61 on the reverse conveyance path 55 to be turned on. When the paper feed completion sensor 61 is turned on, the print control unit 45 is notified of the completion of paper feeding on the duplex printing unit. When receiving the double-sided printing unit paper feed completion notification (step 112), the print control unit 45 notifies the system control unit 42 of the size match (step 113) and ends the processing.

ステップ111においてメモリ部51の印刷制御データ部54の排出スタッカ部54iを判定し、排出スタッカ54iに両面印刷ユニットが設定されていない場合は、システム制御部42へサイズ一致を通知して(ステップ113)、処理を終了する。   In step 111, the discharge stacker unit 54i of the print control data unit 54 of the memory unit 51 is determined, and when the duplex printing unit is not set in the discharge stacker 54i, the system control unit 42 is notified of the size match (step 113). ), The process is terminated.

またステップ110において媒体サイズ不一致通知を受けた印刷制御部45は、メモリ部51の印刷制御データ部54の排出スタッカ部54iを判定し、排出スタッカ54iに両面印刷ユニットが設定されている場合は、両面印刷ユニットの給紙完了待ちへ移行する(ステップ114)。両面機構制御部53は、反転搬送路55上にある入口センサ60がオンになるのを確認し、続いて同じく反転搬送路55上にある給紙完了センサ61がオンになるのを待つ。給紙完了センサ61がオンになったところで印刷制御部45へ両面印刷ユニット給紙完了を通知する。   In step 110, the print control unit 45 that has received the medium size mismatch notification determines the discharge stacker unit 54i of the print control data unit 54 of the memory unit 51, and if a duplex printing unit is set in the discharge stacker 54i, The process shifts to waiting for completion of feeding of the duplex printing unit (step 114). The duplex mechanism controller 53 confirms that the inlet sensor 60 on the reverse conveyance path 55 is turned on, and then waits for the paper feed completion sensor 61 on the reverse conveyance path 55 to be turned on. When the paper feed completion sensor 61 is turned on, the print control unit 45 is notified of the completion of paper feeding on the duplex printing unit.

印刷制御部45は、両面印刷ユニット給紙完了通知を受けると(ステップ115)、媒体搬送部47へ媒体排出要求を通知するとともに、両面機構制御部53に両面印刷ユニット媒体排出要求を通知する(ステップ116)。媒体排出要求を受けた両面機構制御部53は、両面印刷ユニットの搬送ローラ57、58、59を駆動して媒体排出を開始する。また媒体排出要求を受けた媒体搬送部47は、媒体搬送路23上の出口センサ35がオフになるのを待つ。出口センサ35がオフになったことを検出した媒体搬送部47は、印刷制御部45へ媒体排出終了を通知する。印刷制御部45は、媒体排出終了通知を受けると(ステップ117)、システム制御部42へ媒体サイズ不一致を通知して(ステップ118)、処理を終了する。   When the print control unit 45 receives the double-sided printing unit paper feed completion notification (step 115), the print control unit 45 notifies the medium conveying unit 47 of the medium discharge request and also notifies the double-sided printing unit medium discharge request to the double-sided mechanism control unit 53 ( Step 116). Receiving the medium discharge request, the duplex mechanism control unit 53 starts the medium discharge by driving the transport rollers 57, 58, 59 of the duplex printing unit. The medium transport unit 47 that has received the medium discharge request waits for the outlet sensor 35 on the medium transport path 23 to be turned off. The medium transport unit 47 that has detected that the exit sensor 35 has been turned off notifies the print control unit 45 of the end of the medium discharge. Upon receiving the medium discharge end notification (step 117), the print control unit 45 notifies the system control unit 42 of the medium size mismatch (step 118) and ends the processing.

以上のように実施例2によれば、両面印刷ユニットを具備するものにおいて、給紙トレイ21にサイズの異なる記録媒体が混入していた場合でも、次の記録媒体のサイズを測定し、測定の結果、サイズが印刷すべきサイズと一致した場合は、両面印刷ユニットに搬送した記録媒体に印刷を行うことにより、無駄に記録媒体Pを排出することなく、またユーザのカバー開閉動作を要求することなく印刷を継続できるという効果を得ることができる。   As described above, according to the second embodiment, even when a recording medium of a different size is mixed in the paper feed tray 21 in the case where the double-sided printing unit is provided, the size of the next recording medium is measured. As a result, if the size matches the size to be printed, printing is performed on the recording medium conveyed to the duplex printing unit, thereby requesting the user to open and close the cover without wastefully ejecting the recording medium P. It is possible to obtain an effect that printing can be continued.

前記各実施例では画像記録装置として電子写真プリンタを例にして説明したが、接続I/F部をファクシミリ用にITUT−T30プロトコル手順制御とモデム制御に変更すれば、ファクシミリ装置にも適用可能である。   In each of the above embodiments, an electrophotographic printer has been described as an example of an image recording apparatus. However, if the connection I / F unit is changed to ITUT-T30 protocol procedure control and modem control for facsimile, it can be applied to a facsimile apparatus. is there.

本発明の実施例1の印刷装置を示すブロック図である。1 is a block diagram illustrating a printing apparatus according to a first embodiment of the present invention. 実施例1のメモリ部の構成を示す図である。FIG. 3 is a diagram illustrating a configuration of a memory unit according to the first embodiment. 実施例1の印刷装置を示す概略構成図である。1 is a schematic configuration diagram illustrating a printing apparatus according to a first embodiment. 実施例1における印刷処理全体の動作を示すフロートである。6 is a float illustrating an operation of the entire printing process according to the first exemplary embodiment. 実施例1印刷動作を示すフローチャートである。6 is a flowchart illustrating a printing operation according to the first exemplary embodiment. 実施例1における媒体サイズ測定動作を示すフローチャートである。3 is a flowchart illustrating a medium size measurement operation in Embodiment 1. 実施例2の印刷装置を示すブロック図である。FIG. 10 is a block diagram illustrating a printing apparatus according to a second embodiment. 実施例2のメモリ部の構成を示す図である。FIG. 6 is a diagram illustrating a configuration of a memory unit according to a second embodiment. 実施例2の印刷装置を示す概略構成図である。FIG. 4 is a schematic configuration diagram illustrating a printing apparatus according to a second embodiment. 実施例2における印刷処理全体の動作を示すフロートである。10 is a float illustrating an operation of the entire printing process according to the second exemplary embodiment. 実施例2の印刷動作を示すフローチャートである。10 is a flowchart illustrating a printing operation according to the second exemplary embodiment. 実施例2における媒体サイズ測定動作を示すフローチャートである。10 is a flowchart illustrating a medium size measurement operation in the second embodiment.

符号の説明Explanation of symbols

1、41 印刷装置
2、42 システム制御部
5、45 印刷制御部
6、46 媒体給紙部
7、47 媒体搬送部
9、49 サイズ検出部
10、50 サイズチェック部
11、51 メモリ部
53 両面機構制御部
P 記録媒体
1, 41 Printing device
2, 42 System control unit 5, 45 Print control unit 6, 46 Medium feeding unit 7, 47 Medium transport unit 9, 49 Size detection unit 10, 50 Size check unit 11, 51 Memory unit 53 Double-sided mechanism control unit P Recording medium

Claims (8)

印刷データに基づき画像を形成する印刷装置において、
印刷データに基づき媒体サイズを判定するサイズ判定部と、
印刷のために搬送する媒体の媒体サイズを検出するサイズ検出部と、
前記サイズ判定部で判定された媒体サイズと、前記サイズ検出部で検出された媒体サイズを比較し、サイズチェックを行なうサイズチェック部と、
当該サイズチェック部で不一致と判断されたとき、不一致を起こした媒体を排出するとともに、次の媒体を給紙する媒体給紙部とを有し、
前記サイズチェック部にて一致が確認されたとき、印刷を継続して行なう印刷制御部を備えたことを特徴とする印刷装置。
In a printing apparatus that forms an image based on print data,
A size determination unit for determining a medium size based on print data;
A size detection unit for detecting a medium size of a medium conveyed for printing;
A size check unit that compares the medium size determined by the size determination unit with the medium size detected by the size detection unit and performs a size check;
When the size check unit determines that there is a mismatch, the medium check unit has a medium feeding unit that discharges the medium causing the mismatch and feeds the next medium,
A printing apparatus comprising: a printing control unit that continuously performs printing when a match is confirmed by the size check unit.
印刷中にサイズチェック部で不一致と判断されたとき、不一致を起こした媒体を排出するとともに、次の媒体を給紙し、
前記サイズチェック部で再度不一致が検出されると、媒体サイズエラーにより印刷を停止することを特徴とする前記請求項1に記載の印刷装置。
When it is determined that the size check section does not match during printing, the medium that caused the mismatch is ejected and the next medium is fed.
The printing apparatus according to claim 1, wherein when a mismatch is detected again by the size check unit, printing is stopped due to a medium size error.
印刷中にサイズチェック部で不一致と判断されたとき、不一致を起こした媒体を排出するとともに、次の媒体を給紙し、サイズチェック部にて一致が確認されたとき、印刷を継続するとともに、サイズ不一致を表示することを特徴とする前記請求項1に記載の印刷装置。   When it is determined that the size check unit does not match during printing, the medium causing the mismatch is discharged, the next medium is fed, and when the size check unit confirms the match, printing is continued, The printing apparatus according to claim 1, wherein a size mismatch is displayed. 印刷中にサイズチェック部で不一致と判断されたとき、不一致を起こした媒体を排出する排出口を切替えて排出するとともに、次の媒体を給紙し、サイズチェック部にて一致が確認されたとき、印刷を継続することを特徴とする前記請求項1に記載の印刷装置。 When the size check unit determines that there is a discrepancy during printing, when the media that caused the discrepancy is switched and ejected, the next media is fed, and the size check unit confirms the match The printing apparatus according to claim 1, wherein the printing is continued. 印刷データに基づき、パンチ要求が指示されたときは、サイズチェック部で不一致と判断された場合に、リカバリー印刷を行なわず、印刷を停止することを特徴とする前記請求項1に記載の印刷装置。 2. The printing apparatus according to claim 1, wherein when a punch request is instructed based on print data, the printing is stopped without performing recovery printing when the size check unit determines that there is a mismatch. . 印刷データに基づき、ステープル要求が指示されたときは、サイズチェック部で不一致と判断された場合に、リカバリー印刷を行なわず、印刷を停止することを特徴とする前記請求項1に記載の印刷装置。   2. The printing apparatus according to claim 1, wherein when a staple request is instructed based on print data, printing is stopped without performing recovery printing when it is determined that the size check unit does not match. . 印刷データに基づき画像を形成する印刷装置において、
印刷データに基づき媒体サイズを判定するサイズ判定部と、
印刷のために搬送する媒体サイズを検出するサイズ検出部と、
測定した媒体を格納するための両面印刷制御部と、
前記サイズ判定部で判定された媒体サイズと、前記サイズ検出部で検出された媒体サイズを比較し、サイズチェックを行なうサイズチェック部と、
当該サイズチェック部で不一致と判断されたとき、不一致を起こした媒体を排出するとともに、次の媒体を給紙する媒体給紙部と、
前記給紙した媒体を両面ユニットに格納し、前記サイズチェック部で一致が検出されると、両面ユニットに格納した媒体から印刷を行なう印刷制御部を備えたことを特徴とする印刷装置。
In a printing apparatus that forms an image based on print data,
A size determination unit for determining a medium size based on print data;
A size detector for detecting the size of the medium to be conveyed for printing;
A duplex printing control unit for storing the measured medium;
A size check unit that compares the medium size determined by the size determination unit with the medium size detected by the size detection unit and performs a size check;
When the size check unit determines that there is a discrepancy, the medium feeding unit ejects the medium that caused the discrepancy and feeds the next medium;
A printing apparatus comprising: a printing control unit that stores the fed medium in a duplex unit and performs printing from the medium stored in the duplex unit when the size check unit detects a match.
前記給紙した媒体を両面ユニットに格納し、前記サイズチェック部で不一致が検出されると、両面ユニットに格納した媒体を排出した後に停止することを特徴とする前記請求項7に記載の印刷装置

The printing apparatus according to claim 7, wherein the fed medium is stored in a duplex unit, and when the mismatch is detected by the size check unit, the medium stored in the duplex unit is discharged and then stopped.

JP2007252220A 2007-09-27 2007-09-27 Image recording apparatus Withdrawn JP2009083122A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007252220A JP2009083122A (en) 2007-09-27 2007-09-27 Image recording apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007252220A JP2009083122A (en) 2007-09-27 2007-09-27 Image recording apparatus

Publications (1)

Publication Number Publication Date
JP2009083122A true JP2009083122A (en) 2009-04-23

Family

ID=40657239

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007252220A Withdrawn JP2009083122A (en) 2007-09-27 2007-09-27 Image recording apparatus

Country Status (1)

Country Link
JP (1) JP2009083122A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110076076A1 (en) * 2009-09-28 2011-03-31 Brother Kogyo Kabushiki Kaisha Printing apparatus
JP2012133077A (en) * 2010-12-21 2012-07-12 Ricoh Co Ltd Image forming device and print control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110076076A1 (en) * 2009-09-28 2011-03-31 Brother Kogyo Kabushiki Kaisha Printing apparatus
US8538309B2 (en) * 2009-09-28 2013-09-17 Brother Kogyo Kabushiki Kaisha Printing apparatus
JP2012133077A (en) * 2010-12-21 2012-07-12 Ricoh Co Ltd Image forming device and print control method

Similar Documents

Publication Publication Date Title
JP6056463B2 (en) Paper transport device
JP4938964B2 (en) Image forming apparatus
JP2009083122A (en) Image recording apparatus
JP2007334077A (en) Image forming apparatus
JP6794136B2 (en) Image forming device
JP5556161B2 (en) Image forming system, paper conveyance abnormality detection method, and paper conveyance abnormality detection control program
JP2017090577A (en) Image forming system and image forming method
JP6937552B2 (en) Image forming device
JP4873926B2 (en) Image forming apparatus
JP2007230682A (en) Paper carrying device and image forming device having the device
JP6641550B2 (en) Image forming device
JP4403898B2 (en) Image forming apparatus
JPH1184955A (en) Image forming device
JP5300450B2 (en) Image forming apparatus
JP2009020299A (en) Image forming apparatus and program
JP2007147808A (en) Image forming apparatus
JP2007153486A (en) Image forming device and image forming method
JP2004099246A (en) Image forming device
JP2745843B2 (en) Paper transport control device
JP2023142026A (en) Image forming apparatus
JP2023078580A (en) Image forming apparatus
JP2023142025A (en) Image forming apparatus
JPH09183537A (en) Sheet carrying device and image forming device
JP4974719B2 (en) Printing apparatus and printing apparatus control method
JP2010058876A (en) Postprocessing device and image forming device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20101207