JP4677229B2 - Printing apparatus and printing method - Google Patents

Printing apparatus and printing method Download PDF

Info

Publication number
JP4677229B2
JP4677229B2 JP2004377245A JP2004377245A JP4677229B2 JP 4677229 B2 JP4677229 B2 JP 4677229B2 JP 2004377245 A JP2004377245 A JP 2004377245A JP 2004377245 A JP2004377245 A JP 2004377245A JP 4677229 B2 JP4677229 B2 JP 4677229B2
Authority
JP
Japan
Prior art keywords
printing
mail
downloaded
image based
download
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.)
Expired - Fee Related
Application number
JP2004377245A
Other languages
Japanese (ja)
Other versions
JP2006185112A5 (en
JP2006185112A (en
Inventor
建 宇都宮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2004377245A priority Critical patent/JP4677229B2/en
Publication of JP2006185112A publication Critical patent/JP2006185112A/en
Publication of JP2006185112A5 publication Critical patent/JP2006185112A5/ja
Application granted granted Critical
Publication of JP4677229B2 publication Critical patent/JP4677229B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、ネットワーク接続可能な印刷装置に関するものであり、より具体的には、電子メールを受信し印刷する装置に関するものである。   The present invention relates to a network-connectable printing apparatus, and more specifically to an apparatus for receiving and printing an electronic mail.

近年、オフィスで使用される印刷装置の中には電子メールを受信し、電子メールに添付されたファイルを印刷する機能を持つ装置ものがある。電子メールの場合、通信距離は無関係であるので、回線の通信費が大幅に削減できる等のメリットがあるためである。   In recent years, some printing apparatuses used in offices have a function of receiving an electronic mail and printing a file attached to the electronic mail. This is because, in the case of electronic mail, the communication distance is irrelevant, so there is a merit that the communication cost of the line can be greatly reduced.

通常、電子メールを受信した時点で、メールサーバからその電子メールを削除することが行われている。しかし、電子メールを受信が完了した後の印刷処理中に、何らかの原因で電源がOFFになってしまうと、もはやその電子メールのデータは消滅してしまうことになってしまう。   Usually, when an electronic mail is received, the electronic mail is deleted from the mail server. However, if the power is turned off for some reason during the printing process after the reception of the e-mail is completed, the e-mail data will no longer exist.

かかる点に鑑み、この種の印刷装置の中には受信した印刷データを、一旦、内部のハードディスク等の不揮発性記憶装置に記憶することによって、受信完了から印刷完了の間に電源が切られてしまった場合でも、印刷未完了のページの印刷を再開するものもあった(特許文献1)。
特開平5−112060号公報
In view of this point, in this type of printing apparatus, the received print data is temporarily stored in a non-volatile storage device such as an internal hard disk so that the power is turned off between completion of reception and completion of printing. In some cases, the printing of an unfinished page is resumed even if it has stopped (Patent Document 1).
Japanese Patent Laid-Open No. 5-112060

しかしながら、大容量の不揮発性記憶装置を有することで、装置のコスト高は避けられないし、その装置を内蔵することによる大型化は避けられない。   However, by having a large-capacity nonvolatile memory device, the cost of the device cannot be avoided, and an increase in size due to the incorporation of the device is unavoidable.

本発明はかかる問題点に鑑みなされたものであり、電子メールを記憶保存するための大容量の不揮発性の記憶手段を不要としつつ、予期せぬ電源断が発生したとしても、電子メールの印刷処理を完了し、尚且つ、記録紙等の記録媒体を無駄に消費しない技術を提供しようとするものである。   The present invention has been made in view of such a problem, and eliminates the need for a large-capacity non-volatile storage means for storing and storing an e-mail, and printing an e-mail even if an unexpected power interruption occurs. An object of the present invention is to provide a technique that completes the process and does not waste recording media such as recording paper.

この課題を解決するため、例えば本発明の印刷装置は以下の構成を備える。すなわち、
電子メールに基づく画像を印刷する印刷装置であって、
電子メールサーバから電子メールをダウンロードするダウンロード手段と、
前記ダウンロード手段がダウンロードした電子メールに基づく画像を所定の記録媒体上に印刷する印刷手段と、
前記ダウンロード手段がダウンロードした電子メールに基づく画像の印刷状況を示す情報を記憶する記憶手段であって、前記印刷装置の電源が切られた場合であっても記憶された情報を保持可能な記憶手段と、
前記印刷装置の電源が投入された場合であって、前記記憶手段に記憶された前記印刷状況を示す情報が前記ダウンロード手段によりダウンロードされた電子メールに基づく画像の印刷が完了していないことを示す場合、ダウンロード済みの電子メールを前記電子メールサーバから再度ダウンロードするよう前記ダウンロード手段を制御するとともに、前記ダウンロード手段により再度ダウンロードされた電子メールに基づく画像を所定の記録媒体上に印刷するよう前記印刷手段を制御する制御手段と、
前記ダウンロード手段によりダウンロードされた電子メールに基づく画像の印刷が完了する前に前記印刷装置の電源が切られない場合は前記ダウンロード手段によりダウンロードされた電子メールに基づく画像の印刷が完了したことに応じて前記電子メールサーバへ前記ダウンロードされた電子メールの削除を要求し、前記ダウンロード手段によりダウンロードされた電子メールに基づく画像の印刷が完了する前に前記印刷装置の電源が切られた場合は前記ダウンロード手段により再度ダウンロードされた電子メールに基づく画像の印刷が完了したことに応じて前記電子メールサーバへ前記再度ダウンロードされた電子メールの削除を要求する要求手段とを備える。
In order to solve this problem, for example, a printing apparatus of the present invention has the following configuration. That is,
A printing device for printing an image based on an email,
Download means for downloading email from an email server;
Printing means for printing an image based on the electronic mail downloaded by the download means on a predetermined recording medium;
Storage means for storing information indicating the printing status of an image based on an electronic mail downloaded by the download means, the storage means capable of holding the stored information even when the printing apparatus is turned off When,
When the power of the printing apparatus is turned on, the information indicating the printing status stored in the storage means indicates that printing of an image based on the email downloaded by the download means is not completed. when the printing to print controls the downloading means to re-download the downloaded e-mail from the e-mail server, an image based on the electronic mail downloaded again by the downloading means on a predetermined recording medium Control means for controlling the means;
Depending particular printing an image based on downloaded e-mail when the power of the printing apparatus before completing is not cut is completed the printing of images based on the downloaded e-mail by the download unit by the downloading means the electronic mail requesting the deletion of the downloaded e-mail server, wherein the download if the power of the printing device before printing the image is completed based on the downloaded e-mail has been cut by the downloading means Te Request means for requesting the e-mail server to delete the re-downloaded e-mail in response to completion of printing of the image based on the e-mail downloaded again by the means.

本発明によれば、印刷装置の電源が切られた場合であっても印刷が完了していないダウンロード済みの電子メールを電子メールサーバから再度ダウンロードして印刷するとともに、印刷が完了した電子メールを電子メールサーバから削除することを要求する印刷装置を提供することができる。 According to the present invention, to print the e-mail already downloaded even printed even when the power source of the printing apparatus is turned off is not completed by again downloading the e-mail server, the printing is completed email It is possible to provide a printing apparatus that requests deletion from an electronic mail server.

以下、添付図面に従って本発明に係る実施形態を詳細に説明する。   Hereinafter, embodiments according to the present invention will be described in detail with reference to the accompanying drawings.

図1は、本実施形態に係る印刷装置のシステム構成の概略を示す図である。   FIG. 1 is a diagram illustrating an outline of a system configuration of a printing apparatus according to the present embodiment.

図において、情報処理装置101は、例えば、パーソナルコンピュータであり、画像情報の供給源、あるいはプリンタの制御装置として機能する。また、106はメールサーバであり、インターネット上に設けられるものである。この実施の形態においては、印刷装置102として、レーザビームプリンタ(プリンタ)を用いている。ただし、レーザビームプリンタに限られるものではなく、インクジェットプリンタ等他のプリント方式のプリンタでもよいことは言うまでもない。   In the figure, an information processing apparatus 101 is a personal computer, for example, and functions as a source of image information or a printer control apparatus. A mail server 106 is provided on the Internet. In this embodiment, a laser beam printer (printer) is used as the printing apparatus 102. However, it is needless to say that the printer is not limited to the laser beam printer, and may be a printer of another printing method such as an ink jet printer.

印刷装置102内のプリンタコントローラ103は、情報処理装置101から供給される画像情報(例えば、イメージデータ、ページ記述言語等)、或いはメールサーバ106から受信したメール並びに添付ファイルに基づいて、ページ毎にラスタデータを生成し、プリンタエンジン105に送出する。   The printer controller 103 in the printing apparatus 102 performs page-by-page processing based on image information (for example, image data, page description language, etc.) supplied from the information processing apparatus 101 or mail and attached files received from the mail server 106. Raster data is generated and sent to the printer engine 105.

プリンタエンジン105は、プリンタコントローラ103から供給されるラスタデータに基づいて、感光ドラム上に潜像を形成し、その潜像を記録媒体上に転写・定着(電子写真方式)することにより画像を記録する。   The printer engine 105 forms a latent image on the photosensitive drum based on the raster data supplied from the printer controller 103, and records the image by transferring and fixing the latent image on a recording medium (electrophotographic method). To do.

パネル部104は、ユーザインタフェースとして使用される。ユーザは、パネル部104を操作することにより、所望の動作を指示することができる。また、メールクライアントとしての設定もこのパネル部104を用いて設定することになる。   The panel unit 104 is used as a user interface. The user can instruct a desired operation by operating the panel unit 104. The setting as a mail client is also set using this panel unit 104.

図2は、印刷装置102の構成を説明する断面図である。図において、201は、プリンタ筐体である。202は、ユーザが各種指示を与えるためのスイッチ、メッセージやプリンタの設定内容等を表示するためのLED表示器やLCD表示器等が配された操作パネルであり、図1に示すパネル部104の一態様である。203は、ボードを収容部であり、プリンタコントローラ103及びプリンタエンジン105の電子回路部分を構成するボードを収容する。   FIG. 2 is a cross-sectional view illustrating the configuration of the printing apparatus 102. In the figure, 201 is a printer housing. Reference numeral 202 denotes an operation panel on which a switch for giving various instructions by the user, an LED display, an LCD display, and the like for displaying messages, printer settings, and the like are arranged. It is one mode. Reference numeral 203 denotes a board accommodating portion that accommodates boards constituting the electronic circuit portions of the printer controller 103 and the printer engine 105.

220及び250は、用紙(記録媒体)Sを保持する用紙カセットであり、不図示の仕切り板によって電気的に用紙サイズを検知する機構を有する。221及び251は、カセットクラッチであり、それぞれ用紙カセット220及び250上に載置された用紙Sの最上位の一枚を取り出して、取り出した用紙Sを不図示の駆動手段から伝達される駆動力によって給紙ローラ222及び252まで搬送するカムを有する。このカムは、給紙の度に間欠的に回転し、1回転に対応して1枚の用紙Sを給紙する。221s及び251sは用紙検知センサで、それぞれ用紙カセット220及び250に保持されている用紙Sの量を検知する。   220 and 250 are paper cassettes for holding paper (recording medium) S, and have a mechanism for electrically detecting the paper size by a partition plate (not shown). Reference numerals 221 and 251 denote cassette clutches, which take out the uppermost sheet S of the paper S placed on the paper cassettes 220 and 250, respectively, and drive force for transmitting the taken-out paper S from a driving means (not shown). Therefore, the sheet feeding rollers 222 and 252 are conveyed. The cam rotates intermittently each time paper is fed, and feeds one sheet S corresponding to one rotation. 221 s and 251 s are paper detection sensors that detect the amount of paper S held in the paper cassettes 220 and 250, respectively.

給紙ローラ222は、用紙Sの先端部をレジストシャッタ224まで搬送するローラである。また、給紙ローラ252は、用紙Sの先端部を給紙ローラ222まで搬送するローラである。260は、オプション給紙ローラ(給紙中継搬送ローラ)であり、不図示の給紙オプションユニットから給紙された用紙Sをプリンタ102本体内へ供給する。224は、レジストシャッタであり、用紙Sを押圧することにより給紙を停止することができる。   The paper feed roller 222 is a roller that conveys the leading edge of the paper S to the registration shutter 224. The paper feed roller 252 is a roller that conveys the leading edge of the paper S to the paper feed roller 222. Reference numeral 260 denotes an optional paper feed roller (paper feed relay transport roller), which supplies the paper S fed from a paper feed option unit (not shown) into the printer 102 main body. Reference numeral 224 denotes a registration shutter that can stop paper feeding by pressing the paper S.

231は、手差しトレイであり、225は、手差し給紙クラッチである。給紙クラッチ225は、用紙Sの先端をレジストシャッタ224まで搬送するために使用される。画像記録に供する用紙Sは、用紙カセット220及び250及び手差しトレイ225のいずれかの給紙手段を選択して給紙される。   Reference numeral 231 denotes a manual feed tray, and 225 denotes a manual paper feed clutch. The paper feed clutch 225 is used to convey the leading edge of the paper S to the registration shutter 224. The paper S to be used for image recording is fed by selecting one of the paper cassettes 220 and 250 and the manual feed tray 225.

プリンタエンジン105は、プリンタコントローラ103と所定の通信プロトコルにしたがって通信を行い、プリンタコントローラ部103からの指示にしたがって用紙カセット220及び250及び手差しトレイ225の中からいずれかの給紙手段を選択し、印刷の開始指示に応じて該当する給紙手段よりレジストシャッタ224まで用紙Sを搬送する。なお、プリンタエンジン105は、給紙手段、潜像の形成、転写、定着等の電子写真プロセスに関する機構、排紙手段及びそれらの制御手段を含む。   The printer engine 105 communicates with the printer controller 103 according to a predetermined communication protocol, selects one of the sheet cassettes 220 and 250 and the manual feed tray 225 according to an instruction from the printer controller unit 103, In response to the print start instruction, the paper S is transported from the corresponding paper feeding means to the registration shutter 224. The printer engine 105 includes a sheet feeding unit, a mechanism relating to an electrophotographic process such as formation, transfer, and fixing of a latent image, a sheet discharge unit, and a control unit thereof.

204は、感光ドラム205やトナー保持部等を有する画像記録部であり、電子写真プロセスにより、用紙S上にトナー像を形成する。一方、206は、レーザスキャナ部であり、画像記録部にレーザビームによる画像情報を供給する。   An image recording unit 204 includes a photosensitive drum 205, a toner holding unit, and the like, and forms a toner image on the paper S by an electrophotographic process. On the other hand, 206 is a laser scanner unit that supplies image information by a laser beam to the image recording unit.

レーザスキャナ部206において、207は、レーザユニットであり、ビデオコントローラ203から送出される画像信号(/VIDEO信号)に応じて、内蔵の半導体レーザを駆動し、レーザビームを発射する。レーザユニット207から発せられたレーザビームは、ポリゴンミラー(回転多面鏡)208により走査され、結像レンズ群209及び反射ミラー211を介して感光ドラム205上に潜像を形成する。210は、ビーム検出器で、レーザユニット207から発せられたレーザビームを検知して主走査同期信号を出力する。212は、光量センサで、レーザユニット207から発せられたレーザビームの光量を検知する。   In the laser scanner unit 206, reference numeral 207 denotes a laser unit that drives a built-in semiconductor laser and emits a laser beam in accordance with an image signal (/ VIDEO signal) sent from the video controller 203. The laser beam emitted from the laser unit 207 is scanned by a polygon mirror (rotating polygon mirror) 208 and forms a latent image on the photosensitive drum 205 via the imaging lens group 209 and the reflection mirror 211. A beam detector 210 detects a laser beam emitted from the laser unit 207 and outputs a main scanning synchronization signal. A light amount sensor 212 detects the light amount of the laser beam emitted from the laser unit 207.

また、画像記録部204において、241は、一次帯電器で、感光ドラム205上を均一に帯電させる。240は、現像器で、一次帯電器241により帯電され、レーザスキャナ部206によりレーザ露光された感光ドラム205に形成された潜像をトナー現像する。244は、転写帯電器で、現像器240により現像された感光ドラム上のトナー像をレジストローラ223により給紙される用紙Sに転写する。243は、クリーナで、感光ドラム205上の残存トナーを取り除く。242は、前露光ランプで、感光ドラム205を光除電する。226は、定着器で、画像記録部204により用紙Sに形成されたトナー画像を記録紙Sに熱定着させる。227は、搬送ローラで、用紙Sを排紙搬送する。227sは、排紙センサで、用紙Sの排紙状態を検知する。228は、排紙フラッパで、画像記録が完了した用紙Sの搬送方向をフェースダウン排紙トレイ232側に切り換えるか、不図示のフェースアップ排紙トレイあるいは不図示の排紙オプションユニット側に切り換える。229及び230は、排紙ローラで、排紙フラッパ228の切り換えにより搬送される用紙Sをフェースダウン排紙トレイ230に排紙する。230sは排紙積載量検知センサで、フェースダウン排紙トレイ230上に積載された用紙Sの積載量を検知する。   In the image recording unit 204, reference numeral 241 denotes a primary charger that uniformly charges the photosensitive drum 205. Reference numeral 240 denotes a developing unit that develops toner on the latent image formed on the photosensitive drum 205 that is charged by the primary charger 241 and laser-exposed by the laser scanner unit 206. Reference numeral 244 denotes a transfer charger, which transfers the toner image on the photosensitive drum developed by the developing unit 240 onto the sheet S fed by the registration roller 223. Reference numeral 243 denotes a cleaner that removes residual toner on the photosensitive drum 205. Reference numeral 242 denotes a pre-exposure lamp that performs static electricity removal on the photosensitive drum 205. A fixing device 226 heat-fixes the toner image formed on the paper S by the image recording unit 204 on the recording paper S. Reference numeral 227 denotes a conveyance roller that discharges and conveys the paper S. Reference numeral 227s denotes a paper discharge sensor that detects a paper discharge state of the paper S. A paper discharge flapper 228 switches the transport direction of the paper S on which image recording has been completed to the face-down paper discharge tray 232 side, or switches to the face-up paper discharge tray (not shown) or the paper discharge option unit side (not shown). Reference numerals 229 and 230 denote discharge rollers that discharge the sheet S conveyed by switching the discharge flapper 228 to the face-down discharge tray 230. Reference numeral 230 s denotes a discharge stack amount detection sensor that detects the stack amount of the sheets S stacked on the face-down discharge tray 230.

プリンタ102には、さらにオプションカセットや封筒フィーダ等のオプションユニットを装備することができる。また、本プリンタには不図示のジャム検知センサが複数装着されているものとする。   The printer 102 can be further equipped with optional units such as an optional cassette and an envelope feeder. Further, it is assumed that a plurality of jam detection sensors (not shown) are mounted on the printer.

図3は、プリンタコントローラ103の構成例を示すブロック図である。図中、301はパネル部104とのデータ通信を行うパネルインタフェース部である。CPU309はパネルインタフェース部301を介して、ユーザがパネル部104においていずれのスイッチ、ボタン、或いは、タッチパネルが備わっていればその座標を検出することができる。302はホストコンピュータ等の情報処理装置101と双方向に通信接続するためのホストインタフェース部である。306はプリンタエンジン105と通信接続するためのエンジンインタフェース部である。CPU309はエンジンインタフェース部306を介して、信号を制御し、信号の状態、すなわち、プリンタエンジン105の状態を検出することができる。   FIG. 3 is a block diagram illustrating a configuration example of the printer controller 103. In the figure, reference numeral 301 denotes a panel interface unit that performs data communication with the panel unit 104. The CPU 309 can detect the coordinates of any switch, button, or touch panel provided on the panel unit 104 by the user via the panel interface unit 301. Reference numeral 302 denotes a host interface unit for two-way communication connection with the information processing apparatus 101 such as a host computer. Reference numeral 306 denotes an engine interface unit for communication connection with the printer engine 105. The CPU 309 can control a signal via the engine interface unit 306 and detect the state of the signal, that is, the state of the printer engine 105.

303は情報処理装置101より供給された画像情報に基づいて、プリンタエンジン105に供給するラスタデータを生成(ラスタライズ)する画像データ発生部である。305は生成したラスタデータを一時的に保持するための画像メモリである。309はROM304に保持された制御プログラムコードに基づいて、バス311に接続されたデバイスを制御するCPUである。307はCPU309が使用する一時記憶用メモリとしてのRAMであり、後述するように受信したメールの一時格納にも利用される。310は例えば、濃度補正テーブル等の制御情報を保持するための不揮発性メモリで構成される。308はDMA制御部であり、CPU309からの指示により画像メモリ305内のラスタデータをエンジンインタフェース部306に転送する。また、ネットワークインタフェース312は、本装置がインターネット上のメールサーバとの通信を行なうため、或いは、本装置がネットワークプリンタとしても機能するためのものである。   Reference numeral 303 denotes an image data generation unit that generates (rasterizes) raster data to be supplied to the printer engine 105 based on image information supplied from the information processing apparatus 101. Reference numeral 305 denotes an image memory for temporarily storing the generated raster data. A CPU 309 controls a device connected to the bus 311 based on a control program code stored in the ROM 304. Reference numeral 307 denotes a RAM as a temporary storage memory used by the CPU 309, and is also used for temporary storage of received mail as will be described later. For example, 310 includes a non-volatile memory for holding control information such as a density correction table. A DMA control unit 308 transfers raster data in the image memory 305 to the engine interface unit 306 according to an instruction from the CPU 309. The network interface 312 is for the apparatus to communicate with a mail server on the Internet, or for the apparatus to function as a network printer.

311はアドレス、データ、コントロールバスを含むバスである。CPU310は、バス311を介して、パネルインタフェース部301、ホストインタフェース部302、画像データ発生部303、ROM304、画像メモリ305、エンジンインタフェース部306、RAM307、DMA制御部308、不揮発性記憶手段としてのEEPROM310、ネットワークインタフェース312をアクセス可能である。なお、EEPROM310は、そのメモリ容量はHDD等のディスク記憶装置と比較して遥かに容量は少なく、且つ、基板上に設けられるものであるので実装スペースの問題も発生しない。   Reference numeral 311 denotes a bus including an address, data, and control bus. The CPU 310 is connected to the panel interface unit 301, the host interface unit 302, the image data generation unit 303, the ROM 304, the image memory 305, the engine interface unit 306, the RAM 307, the DMA control unit 308, and the EEPROM 310 as a nonvolatile storage unit via the bus 311. The network interface 312 can be accessed. Note that the EEPROM 310 has a memory capacity far smaller than that of a disk storage device such as an HDD, and is provided on a substrate, so that there is no problem of mounting space.

図4は実施形態における印刷装置102の主にCPU310の通常の印刷処理における機能ブロック構成図である。   FIG. 4 is a functional block configuration diagram mainly illustrating normal printing processing of the CPU 310 of the printing apparatus 102 according to the embodiment.

ホストコンピュータ101とプリンタ本体102はインタフェースケーブルを介して接続されている。プリンタコントローラ103の内部はソフトウェアの構造を示している。入力部401はホストコンピュータ101との通信を司る部分であり、通信プロトコルの解析を行い、ホストコンピュータから入力されたデータをRAM307に確保された受信バッファ402に格納する。受信バッファ402にデータが格納されると解析部403が動作する。解析部403は受信バッファ402に格納されているデータを読み込み、データを解析して各コマンドに対応するオブジェクト(中間コード)を生成し中間バッファ404(RAM307に確保されている)に格納する。   The host computer 101 and the printer main body 102 are connected via an interface cable. The inside of the printer controller 103 shows the software structure. The input unit 401 controls communication with the host computer 101, analyzes a communication protocol, and stores data input from the host computer in the reception buffer 402 secured in the RAM 307. When data is stored in the reception buffer 402, the analysis unit 403 operates. The analysis unit 403 reads the data stored in the reception buffer 402, analyzes the data, generates an object (intermediate code) corresponding to each command, and stores it in the intermediate buffer 404 (secured in the RAM 307).

本実施形態ではプリンタがサポートしているコマンドはPDL(Page Description Language)とするが、PDLでなくてもページ毎に印刷を行うことが可能データはすべて同様である。中間データはページ毎に管理される。中間バッファ404にデータが格納されると描画処理部405が動作する。描画処理部405は、画像データ発生部303を利用して、中間バッファ404から中間データをページ毎に読み出し、1ページ分の印刷イメージデータを生成しイメージバッファ406(画像メモリ305に確保される)に格納する。1ページ分の印刷イメージデータが生成されると出力部407が動作する。出力部407はイメージバッファ406からイメージデータを読み出し、ビデオ信号に変換してプリンタエンジン105に転送し、公知の手順に従って印刷が行われる。   In this embodiment, the command supported by the printer is PDL (Page Description Language), but all the data that can be printed for each page is the same even if it is not PDL. Intermediate data is managed for each page. When data is stored in the intermediate buffer 404, the drawing processing unit 405 operates. The drawing processing unit 405 uses the image data generation unit 303 to read the intermediate data from the intermediate buffer 404 for each page, generate print image data for one page, and the image buffer 406 (secured in the image memory 305). To store. When print image data for one page is generated, the output unit 407 operates. The output unit 407 reads image data from the image buffer 406, converts it into a video signal, transfers it to the printer engine 105, and performs printing according to a known procedure.

図5は一般的な電子メールの構造を示す図である。電子メール501はメールヘッダ502と、メール本文503と、添付ファイル504,505から構成される。添付ファイルは複数添付可能である。また添付ファイルの形式としては汎用的な画像ファイルであるJPEGファイルやTIFF−F形式のファイル等を用いるものとする。   FIG. 5 is a diagram showing the structure of a general electronic mail. The e-mail 501 includes a mail header 502, a mail body 503, and attached files 504 and 505. Multiple attachment files can be attached. Further, as a format of the attached file, a general-purpose image file such as a JPEG file or a TIFF-F format file is used.

次に、実施形態における印刷装置102の、電子メールの印刷処理を図6に従って説明する。   Next, an e-mail printing process of the printing apparatus 102 according to the embodiment will be described with reference to FIG.

図6は実施形態の印刷装置102の処理の概要を示す図である。   FIG. 6 is a diagram illustrating an outline of processing of the printing apparatus 102 according to the embodiment.

同図(a)はプリンタにエラー等が発生せず、印刷開始から印刷完了の間に電源を切られることもなく正常に印刷が行われた場合を示している。本実施形態では電子メールの受信形態はPOP受信を用いるものとする。   FIG. 5A shows a case where printing is normally performed without any power being turned off between the start of printing and the completion of printing without causing an error or the like in the printer. In this embodiment, it is assumed that POP reception is used as the reception form of the e-mail.

まずメールサーバ106からメールを読み込み、メールを解析してメールに添付されている添付ファイルがある場合、本文並びに添付ファイルの印刷を行う。図示ではPage1(602)からPage5(606)まで5枚の印刷を行った例を示している。印刷完了後、メールサーバ106と再び通信し、印刷済みのメールデータの削除を要求する。   First, a mail is read from the mail server 106, the mail is analyzed, and if there is an attached file attached to the mail, the text and the attached file are printed. In the figure, an example is shown in which five pages from Page 1 (602) to Page 5 (606) are printed. After the printing is completed, the communication with the mail server 106 is performed again, and the deletion of the printed mail data is requested.

図6(b)は印刷が完了する前に何らかの原因で電源がOFFになった場合を示している。すなわち、図6(a)と同様の電子メールデータを受信し、Page1(602)からPage3(604)の3ページを印刷した時点で何らかの原因により電源が切られた場合である。この場合、印刷が完了していないのでメールサーバからのメールデータの削除は行われないので、印刷未完のメールが消滅することはない。   FIG. 6B shows a case where the power is turned off for some reason before printing is completed. That is, this is a case where the power is turned off for some reason when the same e-mail data as in FIG. 6A is received and three pages from Page 1 (602) to Page 3 (604) are printed. In this case, since the printing is not completed and the mail data is not deleted from the mail server, the unfinished mail does not disappear.

図6(c)は、同図(b)の後に、再度電源が投入された場合を示している。電源投入後、印刷装置は再度同じ電子メールデータをサーバから読み込み、Page1(602)からPage3(604)の分のデータを読み飛ばし、Page4(605)とPage5(606)を印刷し、全ページの印刷が完了した後、メールサーバ106に対して電子メールデータの削除要求を行なう。   FIG. 6C shows a case where the power is turned on again after FIG. 6B. After the power is turned on, the printing apparatus reads the same e-mail data from the server again, skips the data for Page 1 (602) to Page 3 (604), prints Page 4 (605) and Page 5 (606), and prints all pages. After the printing is completed, an e-mail data deletion request is made to the mail server 106.

上記処理を実現するため、本実施形態では、書き込み可能な不揮発性メモリであるEEPROM310に、リカバリ用の管理テーブルを構築するようにした。   In order to realize the above processing, in this embodiment, a recovery management table is constructed in the EEPROM 310 which is a writable nonvolatile memory.

図7は、本実施形態におけるリカバリ用の管理テーブルのデータ構造を示している。リカバリ用管理テーブル700は1メール分の情報に関する構造体701を最低1個分(複数でも良い)だけEEPROM310に確保される。メールサーバ106より電子メールの読み込みを完了した時点で本テーブルに登録され、全ページの印刷が完了した時点で削除される。この管理テーブル700は、1つの構造体を格納するとした場合に必要な容量はせいぜい数KB程度で済むので、HDD等の大容量の記憶装置を設ける場合と比較してコスト、スペース上の問題は発生しない。特に、最近の印刷装置の場合には、ファームウェアを格納しているROMは、バージョンアップを許容するため書き込み可能なメモリを採用していることが多く、上記テーブル700はこのようなプログラムを格納するメモリに設けると、実質上、それを設けるコスト、スペースは無視できる程度になる。   FIG. 7 shows the data structure of the management table for recovery in this embodiment. In the recovery management table 700, at least one (or more) structures 701 related to information for one mail are secured in the EEPROM 310. It is registered in this table when the reading of the e-mail from the mail server 106 is completed, and is deleted when the printing of all pages is completed. Since this management table 700 requires only a few KB when storing one structure, there are no problems in terms of cost and space compared to the case where a large-capacity storage device such as an HDD is provided. Does not occur. In particular, in the case of a recent printing apparatus, the ROM storing firmware often employs a writable memory to allow version upgrade, and the table 700 stores such a program. If it is provided in the memory, the cost and space for providing it will be negligible.

この管理テーブルの構造体701は以下の情報(フィールド)から構成されている。   This management table structure 701 is composed of the following information (fields).

登録の有無フィールド703、メールSubjectフィールド704、送信元アドレスフィールド705、送信時刻フィールド706、添付ファイル数フィールド707、印刷完了ファイル数フィールド708、印刷完了ページ数フィールド709から構成される。登録有無フィールド703は該当する構造体にデータが登録されているか否かを示す。初期状態では登録は「無」が設定されている。メールSubject、送信アドレス、送信時刻は該当するメールを特定するために使用される情報である。添付ファイル数、印刷完了ファイル数は本実施例では使用しない。印刷完了ページ数フィールド709は実際に紙を印刷、排紙完了したページ数(ジョブ内でのページ数)である。   A registration presence / absence field 703, a mail subject field 704, a transmission source address field 705, a transmission time field 706, an attached file number field 707, a print completion file number field 708, and a print completion page number field 709 are configured. The registration presence / absence field 703 indicates whether data is registered in the corresponding structure. In the initial state, registration is set to “none”. The mail subject, transmission address, and transmission time are information used to identify the corresponding mail. The number of attached files and the number of print completed files are not used in this embodiment. The print completion page number field 709 is the number of pages actually printed and discharged (number of pages in the job).

そして、新規にメールを受信した場合には、先ず、登録有無703に登録されている旨の情報「有」をセットし、印刷完了ページ数709に“0”をセットする。この後、印刷を開始するが、1ページ印刷処理が完了(排紙を含む)する毎に、印刷完了ページ数709の値を“1”だけ増加させる。こうして、全ページの印刷が完了した場合(印刷すべきデータが無くなった場合)、メールサーバ106に対して、該当する電子メールの削除を要求すると共に、登録有無フィールド703を「無」にセットする。   When a new mail is received, first, information “present” indicating that it is registered in the presence / absence of registration 703 is set, and “0” is set as the number of print completed pages 709. After this, printing is started, but every time one-page printing process is completed (including paper discharge), the value of the number of printed pages 709 is increased by “1”. In this way, when printing of all pages is completed (when there is no more data to be printed), the mail server 106 is requested to delete the corresponding e-mail, and the registration presence / absence field 703 is set to “none”. .

また、印刷処理中に、電源断が発生し、その後、電源が再投入された場合、先ず、この仮テーブル700を参照し、登録有無フィールド703に“有”がセットされている構造体701が存在するか否かを判定し、もしそのような構造体が存在する場合には、他のフィールドを参照して、メールサーバ106の該当する電子メールを再ダウンロードし、印刷完了ページ数フィールド709に格納された次のページから印刷を継続する。この後は、先に説明したのと同様である。   Further, when the power is cut off during the printing process and then the power is turned on again, the temporary table 700 is first referred to, and the structure 701 in which “present” is set in the registration presence / absence field 703 is displayed. It is determined whether or not such a structure exists. If such a structure exists, the corresponding e-mail of the mail server 106 is re-downloaded with reference to other fields, and the number of print completed pages field 709 is displayed. Continue printing from the next stored page. The subsequent steps are the same as described above.

以上を実現するため、実施形態における印刷装置のメイン処理を図8に示し、以下に説明する。   In order to realize the above, the main processing of the printing apparatus in the embodiment is shown in FIG. 8 and will be described below.

本装置に電源が投入されると、先ず、各種初期化処理を行い、次いで、ステップS800のリカバリ印刷チェック処理を行う。リカバリ印刷チェック処理とはリカバリ印刷が必要か否か(前回の電源オフ時に印刷完了していない電子メールが存在するか)を判定する処理であるが、その詳細は後述する。   When the power of the apparatus is turned on, first, various initialization processes are performed, and then the recovery print check process in step S800 is performed. The recovery printing check processing is processing for determining whether or not recovery printing is necessary (whether there is an e-mail that has not been printed when the power is turned off last time), and details thereof will be described later.

ステップS801では、データ入力待ちループに入る。ネットワークで接続された情報処理装置から印刷データの入力が行われると、このデータ入力待ちループS801から抜けてステップS802へ進む。   In step S801, a data input waiting loop is entered. When print data is input from the information processing apparatuses connected via the network, the process exits from the data input waiting loop S801 and proceeds to step S802.

ステップS802では印刷データの入力処理を行う。入力したデータは受信バッファに記憶される。より具体的には、印刷装置には、予めメールサーバであるメールサーバ(POPサーバ)106のアドレス、自分のメールアドレスなどがパネル操作またはコマンド等によって設定されており、印刷装置は定期的にメールサーバ106にアクセスし、自分のメールアドレスにメールが届いているかをチェックする。メールが届いている場合はメールを読み込む。この時、メールを読み込むだけでサーバからメールの削除は行わない。   In step S802, print data input processing is performed. The input data is stored in the reception buffer. More specifically, the address of the mail server (POP server) 106 that is a mail server, the user's own mail address, and the like are set in advance in the printing apparatus by a panel operation or a command. The server 106 is accessed, and it is checked whether the mail has arrived at its own mail address. If an email has arrived, read the email. At this time, the mail is not deleted from the server only by reading the mail.

ステップS803では受信バッファに記憶されているデータを解析し、コマンドに応じて内部処理に適した形式の中間コードを生成する。中間コードは前述のようにページ毎に管理され、記憶領域に記憶される(詳細は後述)。   In step S803, the data stored in the reception buffer is analyzed, and an intermediate code in a format suitable for internal processing is generated according to the command. As described above, the intermediate code is managed for each page and stored in a storage area (details will be described later).

ステップS804では解析すべきデータが受信バッファに存在するかチェックを行う。解析すべきデータが存在する場合はデータ解析処理(S803)を繰り返す。解析すべきデータが受信バッファに無くなった場合ステップS805へ進む。   In step S804, it is checked whether data to be analyzed exists in the reception buffer. If there is data to be analyzed, the data analysis process (S803) is repeated. If there is no more data to be analyzed in the reception buffer, the process proceeds to step S805.

ステップS805では1ページ分以上の中間コードが存在するか否かをチェックする。1ページ分以上の中間コードが存在する場合は、ステップS806へ進み、1ページ分の中間コードを読み出し、中間コードから印刷イメージ(ビットマップ)を生成する。このステップS806ではページのスキップ処理も行う。スキップ処理とは、リカバリ印刷時に設定されたスキップページ数分、ページ毎に生成された中間データを印刷せずに読み飛ばす処理である。これによってリカバリ印刷時にページが重複して印刷されることなく印刷することができる(電源断前に既に印刷されたページも再度印刷してしまうことを防ぐ)。本実施形態ではリカバリ印刷時に中間データを生成してから中間データをスキップする方式であるが、中間データを生成する前に読み飛ばす方式でもよい。 リカバリ印刷とは電子メールを受信完了して電子メールおよび添付ファイルの印刷出力を完了する前に電源をオフされた場合、電源再投入後に同一電子メールの印刷完了していないページを印刷する処理である。生成した印刷イメージは記憶領域に一時記憶される。   In step S805, it is checked whether there is an intermediate code for one page or more. If there is an intermediate code for one page or more, the process proceeds to step S806, where the intermediate code for one page is read, and a print image (bitmap) is generated from the intermediate code. In step S806, page skip processing is also performed. The skip process is a process of skipping the intermediate data generated for each page without printing for the number of skip pages set at the time of recovery printing. As a result, the pages can be printed without being duplicated at the time of recovery printing (a page that has already been printed before turning off the power is prevented from being printed again). In this embodiment, the intermediate data is generated at the time of recovery printing, and then the intermediate data is skipped. However, a method of skipping before generating the intermediate data may be used. Recovery printing is a process that prints a page where the same email has not been printed after the power is turned on again when the power is turned off before the email is received and the output of the email and attached file is completed. is there. The generated print image is temporarily stored in the storage area.

ステップS807では給紙選択処理を行う。給紙選択処理については後述する。ステップS808では前記1ページ分の印刷イメージをビデオ信号に変換しプリンタエンジンに転送する。ビデオ信号をプリンタエンジンに転送することによって実際に用紙に印刷が行われ、用紙が排紙されるようになっている。用紙を排紙完了(排紙部にセンサを設け、このセンサでの検出を利用して判定する)したらステップS808のジョブエンドチェック処理に移行する。ジョブエンドチェック処理の詳細は後述する。ジョブエンドチェック処理が終了したらステップS805へ戻る。   In step S807, a paper feed selection process is performed. The paper feed selection process will be described later. In step S808, the print image for one page is converted into a video signal and transferred to the printer engine. By transferring the video signal to the printer engine, printing is actually performed on the paper, and the paper is discharged. When the paper discharge is completed (a sensor is provided in the paper discharge unit and determination is made using detection by this sensor), the process proceeds to job end check processing in step S808. Details of the job end check process will be described later. When the job end check process ends, the process returns to step S805.

ステップ805で1ページ分の中間コードが完成していない場合はステップS801へ戻り続きの入力データを待つ。   If the intermediate code for one page is not completed in step 805, the process returns to step S801 and waits for subsequent input data.

図9は上記ステップS803のデータ解析処理内容の詳細を示すフローチャートである。   FIG. 9 is a flowchart showing details of the data analysis processing content in step S803.

先ず、ステップS901では入力したデータが電子メールであるか否かを判定する。これはデータの一部、または全部を調べてデータが電子メール形式(MIME形式)であるか否かを判定するが、受信プロトコル(SMTP,POP)で判定しても良い(SMTP,POP経由で入力したデータは電子メールであると判定してもよい)。電子メールであると判断した場合はステップS902へ進む。また、電子メールでないと判定した場合、ステップS908のPDLデータ解析処理に進む。   First, in step S901, it is determined whether or not the input data is an e-mail. This is done by examining part or all of the data to determine whether the data is in email format (MIME format), but may be determined by the receiving protocol (SMTP, POP) (via SMTP, POP) It may be determined that the input data is an e-mail). If it is determined to be an e-mail, the process proceeds to step S902. On the other hand, if it is determined that it is not an electronic mail, the process proceeds to a PDL data analysis process in step S908.

本実施形態の印刷装置は電子メール以外のデータ(PDLデータ等)も印刷できるものとする。ステップS902では電子メールのヘッダの解析処理を行う。そして、ステップS903では電子メールのヘッダ情報等の、電子メールを特定する情報を記憶する。ここではメールの送信時間、差出アドレス、データ長さの情報を記憶するものとする。この時の記憶領域は不揮発性のメモリとする。本実施形態では1メール分のヘッダ情報等を不揮発性メモリに記憶するものとする。ステップS904ではメール本文を解析し、本文を印刷するための中間コードを生成する。なお、本実施形態ではメール本文も印刷するが、メール本文は印刷せず、添付ファイルのみ印刷する形式であっても構わない。   Assume that the printing apparatus according to the present embodiment can also print data other than electronic mail (such as PDL data). In step S902, an e-mail header analysis process is performed. In step S903, information for specifying the e-mail such as e-mail header information is stored. Here, it is assumed that mail transmission time, sender address, and data length information are stored. The storage area at this time is a nonvolatile memory. In this embodiment, it is assumed that header information for one mail is stored in a nonvolatile memory. In step S904, the mail body is analyzed, and an intermediate code for printing the body is generated. In this embodiment, the mail text is also printed. However, the mail text may not be printed, and only the attached file may be printed.

ステップS905では受信した電子メールに添付ファイルが添付されているかをチェックする。添付ファイルが添付されていない場合は処理を終了する。添付ファイルが添付されている場合はステップS906へ進み添付ファイルの解析処理を行い。添付ファイルを解析して中間データを生成する。ステップS907では全ての添付ファイルを解析完了したかをチェックする。全ての添付ファイルを解析終了した場合、処理を終了する。解析し終わっていない添付ファイルが存在する場合はステップS906へ戻り解析処理を繰り返す。   In step S905, it is checked whether an attached file is attached to the received e-mail. If the attached file is not attached, the process is terminated. If an attached file is attached, the process proceeds to step S906 to analyze the attached file. Parse the attached file and generate intermediate data. In step S907, it is checked whether analysis of all attached files has been completed. When all the attached files have been analyzed, the process ends. If there is an attached file that has not been analyzed, the process returns to step S906 to repeat the analysis process.

図10は図9のステップS908のPDLデータ解析処理の詳細を示すフローチャートである。   FIG. 10 is a flowchart showing details of the PDL data analysis processing in step S908 of FIG.

先ず、ステップS1001ではPDLデータの解析処理を行う。PDLデータは複数のコマンド(命令)で構成されている。データ解析処理は各コマンドを解析する処理である。1コマンド毎に処理を行い、全ての印刷データを解析するまで繰り返される。解析の結果、コマンドが排紙命令であれはステップS1003へ進み、ここまでに生成した中間コードを1ページ分として認識する処理を行う。排紙命令でなければステップS1004へ進む。ステップS1004ではその他のコマンドに対応する処理を行う。文字、イメージ、図形などそれぞれのコマンドに応じて中間コードを生成し、中間バッファに格納する。   First, in step S1001, PDL data analysis processing is performed. The PDL data is composed of a plurality of commands (instructions). The data analysis process is a process for analyzing each command. Processing is performed for each command, and the process is repeated until all print data is analyzed. As a result of the analysis, if the command is a paper discharge command, the process advances to step S1003 to perform processing for recognizing the intermediate code generated so far as one page. If it is not a paper discharge command, the process proceeds to step S1004. In step S1004, processing corresponding to other commands is performed. An intermediate code is generated according to each command such as a character, an image, and a figure, and stored in the intermediate buffer.

図11は図8のステップS809のジョブエンドチェック処理の詳細を示すフローチャートである。   FIG. 11 is a flowchart showing details of the job end check process in step S809 of FIG.

ステップS1101では現在印刷中の電子メール内の全ての印刷ページを印刷完了したかをチェックする。中間コード生成時に電子メールおよび添付ファイルの解析を行うので印刷する時点では(中間コードの生成が完了した時点では)、電子メールの中に添付ファイルがいくつ添付されていてそれぞれの添付ファイルについて何ページ存在するのかが判明している。内部的にはそれぞれの添付ファイルのそれぞれのページはIDで認識され、どのページがジョブ(電子メール)の最後のページなのか判断可能である。ステップS1101のチェックで全てのページを印刷し終わっていると判定した場合はステップS1102へ進み、メールサーバ上から該当する電子メールのデータの削除を行う(削除コマンドを発行する)。印刷(出力)を完了してからサーバ上のファイルを消すため、印刷完了していない間はサーバから再度同じメールデータの読み込みが可能である。   In step S1101, it is checked whether printing of all print pages in the e-mail currently being printed has been completed. Email and attachments are analyzed when the intermediate code is generated, so at the time of printing (when the generation of the intermediate code is completed), how many attachments are attached in the email and how many pages for each attachment It is known whether it exists. Internally, each page of each attached file is recognized by the ID, and it is possible to determine which page is the last page of the job (e-mail). If it is determined in step S1101 that all pages have been printed, the process advances to step S1102 to delete the corresponding e-mail data from the mail server (issue a delete command). Since the file on the server is deleted after printing (output) is completed, the same mail data can be read again from the server while printing is not completed.

ステップS1103では不揮発性メモリに記憶していたメールヘッダ情報を削除する。本実施形態の印刷装置では不揮発性メモリにメールヘッダ情報が存在する場合は印刷中の電子メールが存在することを意味する。よって不揮発性メモリにヘッダ情報が存在するか否かによって、電源投入時に、前回の電源断時に印刷完了する前に電源断されたか判断がつく。   In step S1103, the mail header information stored in the nonvolatile memory is deleted. In the printing apparatus according to the present embodiment, when mail header information exists in the nonvolatile memory, it means that there is an electronic mail being printed. Therefore, it can be determined whether or not the power is turned off before the printing is completed when the power is turned off last time, depending on whether or not the header information exists in the nonvolatile memory.

ステップS1104ではジョブ管理テーブルから該当するジョブを削除(登録有無フィールド703を「無」にする)。   In step S1104, the corresponding job is deleted from the job management table (the registration presence / absence field 703 is set to “None”).

一方、ステップS1101で電子メール中の全てのページを印刷完了していない場合は、ステップS1105に進んで、不揮発性メモリに記憶している印刷完了ページ数フィールドを“1”だけインクリメントする。   On the other hand, if all pages in the e-mail have not been printed in step S1101, the process proceeds to step S1105 to increment the print completed page number field stored in the nonvolatile memory by “1”.

次に、図8におけるステップS800のリカバリ印刷チェック処理の詳細を図12のフローチャートに従って説明する。   Next, details of the recovery printing check process in step S800 in FIG. 8 will be described with reference to the flowchart in FIG.

先ず、ステップS1201では不揮発性メモリに印刷未完となっているメールヘッダ情報が存在するか否か、すなわち、登録有無フィールド703が「有」のものがあるか否かを判断する。ヘッダ情報が存在する場合、前回の電源断時に印刷途中のジョブ(電子メール)があったことを示すことになる。その場合はリカバリ印刷を行う準備を行うため、ステップS1202に進み、メールサーバから再度電子メール(添付ファイルを含む)をダウンロードする。読み込んだメールは不揮発性メモリに存在するヘッダ情報と一致するはずである。また、印刷が完了しなければメールサーバからメールを削除しないので前回(電源断前)に読み込んだメールが残っていることになるので、確実に再ダウンロードできる。しかしながら、確実性を増すため、ステップS1203では再度読み込んだメールのヘッダ情報と不揮発性メモリに記憶されているヘッダ情報を比較する。比較の結果、一致した場合はスへテップS1205へ進み、一致しない場合はステップS1204へ進む。ステップS1204はエラー処理であって不揮発性メモリ内の情報をクリアし、リカバリ印刷を断念する。   First, in step S1201, it is determined whether or not mail header information that has not been printed exists in the nonvolatile memory, that is, whether or not the registration presence / absence field 703 is “present”. If the header information exists, it indicates that there was a job (e-mail) in the middle of printing when the power was turned off last time. In this case, in order to prepare for recovery printing, the process proceeds to step S1202, and an e-mail (including an attached file) is downloaded again from the mail server. The read mail should match the header information present in the non-volatile memory. In addition, since the mail is not deleted from the mail server unless printing is completed, the mail read in the previous time (before power-off) remains, so that it can be reliably downloaded again. However, in order to increase certainty, in step S1203, the header information of the read mail is compared with the header information stored in the nonvolatile memory. As a result of the comparison, if they match, the process proceeds to step S1205, and if they do not match, the process proceeds to step S1204. In step S1204, error processing is performed, information in the nonvolatile memory is cleared, and recovery printing is abandoned.

また、ステップS1205に処理が進んだ場合には、リカバリ時のスキップ処理のために不揮発性メモリに記憶されている印刷完了ページ数をスキップページ数として別の記憶領域に記憶し、図8のステップS803に処理を進める(この記憶領域は不揮発性である必要性はない)。   If the process proceeds to step S1205, the number of print completed pages stored in the nonvolatile memory for the skip process at the time of recovery is stored in another storage area as the number of skip pages, and the step of FIG. The process proceeds to S803 (this storage area does not have to be non-volatile).

以上説明したように本実施形態によれば、メールサーバにアクセスして受信した電子メールを印刷する装置において、ハードディスク装置等の大容量記憶装置ではなく、ごく少量の不揮発性メモリを利用するだけで、予期せぬ電源断が発生したとしても、記録紙等の記録媒体を無駄に消費することなく、電子メールの情報を印刷することが可能になる。   As described above, according to the present embodiment, the device that accesses the mail server and prints the received e-mail only uses a very small amount of non-volatile memory instead of a mass storage device such as a hard disk device. Even if an unexpected power failure occurs, it is possible to print e-mail information without wasting a recording medium such as recording paper.

なお、実施形態では、記録方式としてレーザービームを利用した電子写真方式の印刷装置を例にしたが、他の方式、例えばインク液吐出するタイプのプリンタであっても良いし、デジタル複合機にも適用可能である。特に、デジタル複合機に適用した場合には、原稿を読込み、それを電子メールの添付ファイルとして送信する機能を付加できるようになる。   In the embodiment, an electrophotographic printing apparatus using a laser beam as a recording method is taken as an example. However, other methods, for example, a printer that ejects ink liquid may be used, and a digital multifunction peripheral may be used. Applicable. In particular, when applied to a digital multi-function peripheral, it is possible to add a function of reading a document and transmitting it as an attached file of an electronic mail.

また、実施形態では、リカバリ時のスキップ処理は中間データを生成した後にスキップするものとしたが、中間データ生成前のデータ解析部でスキップするページを決定しても良い。   In the embodiment, the skip process at the time of recovery is skipped after the intermediate data is generated, but a page to be skipped may be determined by the data analysis unit before the intermediate data is generated.

また、実施形態では、リカバリ管理テーブルに印刷が完了したページ番号を記憶するものとしたが、次に印刷すべきページ番号を記憶するようにしても構わない。   In the embodiment, the page number that has been printed is stored in the recovery management table. However, the page number to be printed next may be stored.

また、実施形態では、電子メールに添付されたファイルは画像ファイルを例にして説明したが、アプリケーションで作成された文書ファイルであっても良い。この場合、その文書ファイルを解析し、印刷データを生成するため解析プログラムをアドオンするようにすればよい。   In the embodiment, the file attached to the e-mail has been described using an image file as an example. However, the file may be a document file created by an application. In this case, the document file may be analyzed, and an analysis program may be added to generate print data.

実施形態における印刷システムの構成図である。1 is a configuration diagram of a printing system in an embodiment. 実施形態における印刷装置の断面構造図である。1 is a cross-sectional structure diagram of a printing apparatus according to an embodiment. 実施形態における印刷装置のプリンタコントローラのブロック構成図である。2 is a block configuration diagram of a printer controller of the printing apparatus according to the embodiment. FIG. 実施形態における印刷処理におけるデータの流れを模式的に示す図である。It is a figure which shows typically the data flow in the printing process in embodiment. 電子メールの構造を示す図である。It is a figure which shows the structure of an email. 電子メールの印刷処理及びリカバリ処理の流れを示す図である。It is a figure which shows the flow of the printing process and recovery process of an email. 実施形態における不揮発性メモリに確保されるリカバリ用管理テーブルの構造を示す図である。It is a figure which shows the structure of the management table for recovery ensured by the non-volatile memory in embodiment. 実施形態における印刷装置のメイン処理を示すフローチャートである。6 is a flowchart illustrating main processing of the printing apparatus according to the embodiment. 図8におけるデータ解析処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the data analysis process in FIG. 図9のPDLデータ解析処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the PDL data analysis process of FIG. 図8のジョブエンドチェック処理の詳細を示すフローチャートである。FIG. 9 is a flowchart showing details of job end check processing of FIG. 8. FIG. 図8のリカバリ印刷チェック処理の詳細を示すフローチャートである。FIG. 9 is a flowchart illustrating details of recovery print check processing in FIG. 8. FIG.

Claims (8)

電子メールに基づく画像を印刷する印刷装置であって、
電子メールサーバから電子メールをダウンロードするダウンロード手段と、
前記ダウンロード手段がダウンロードした電子メールに基づく画像を所定の記録媒体上に印刷する印刷手段と、
前記ダウンロード手段がダウンロードした電子メールに基づく画像の印刷状況を示す情報を記憶する記憶手段であって、前記印刷装置の電源が切られた場合であっても記憶された情報を保持可能な記憶手段と、
前記印刷装置の電源が投入された場合であって、前記記憶手段に記憶された前記印刷状況を示す情報が前記ダウンロード手段によりダウンロードされた電子メールに基づく画像の印刷が完了していないことを示す場合、ダウンロード済みの電子メールを前記電子メールサーバから再度ダウンロードするよう前記ダウンロード手段を制御するとともに、前記ダウンロード手段により再度ダウンロードされた電子メールに基づく画像を所定の記録媒体上に印刷するよう前記印刷手段を制御する制御手段と、
前記ダウンロード手段によりダウンロードされた電子メールに基づく画像の印刷が完了する前に前記印刷装置の電源が切られない場合は前記ダウンロード手段によりダウンロードされた電子メールに基づく画像の印刷が完了したことに応じて前記電子メールサーバへ前記ダウンロードされた電子メールの削除を要求し、前記ダウンロード手段によりダウンロードされた電子メールに基づく画像の印刷が完了する前に前記印刷装置の電源が切られた場合は前記ダウンロード手段により再度ダウンロードされた電子メールに基づく画像の印刷が完了したことに応じて前記電子メールサーバへ前記再度ダウンロードされた電子メールの削除を要求する要求手段と、
を備えることを特徴とする印刷装置。
A printing device for printing an image based on an email,
Download means for downloading email from an email server;
Printing means for printing an image based on the electronic mail downloaded by the download means on a predetermined recording medium;
Storage means for storing information indicating the printing status of an image based on an electronic mail downloaded by the download means, the storage means capable of holding the stored information even when the printing apparatus is turned off When,
When the power of the printing apparatus is turned on, the information indicating the printing status stored in the storage means indicates that printing of an image based on the email downloaded by the download means is not completed. when the printing to print controls the downloading means to re-download the downloaded e-mail from the e-mail server, an image based on the electronic mail downloaded again by the downloading means on a predetermined recording medium Control means for controlling the means;
Depending particular printing an image based on downloaded e-mail when the power of the printing apparatus before completing is not cut is completed the printing of images based on the downloaded e-mail by the download unit by the downloading means the electronic mail requesting the deletion of the downloaded e-mail server, wherein the download if the power of the printing device before printing the image is completed based on the downloaded e-mail has been cut by the downloading means Te Request means for requesting the e-mail server to delete the re-downloaded e-mail in response to completion of printing of the image based on the e-mail downloaded again by the means;
A printing apparatus comprising:
前記印刷手段は、前記ダウンロード手段がダウンロードする電子メールに添付ファイルが添付されている場合に、前記添付ファイルに基づく画像を所定の記録媒体上に印刷することを特徴とする請求項1に記載の印刷装置。   The said printing means prints the image based on the said attachment file on a predetermined recording medium, when an attachment file is attached to the electronic mail which the said download means downloads. Printing device. 前記記憶手段に記憶される前記電子メールに基づく画像の印刷状況を示す情報は、前記添付ファイルに含まれる複数ページのうちいずれのページの印刷が完了したかを示す情報を含み、
前記制御手段は、前記印刷装置の電源が投入された場合であって、前記記憶手段に記憶された前記印刷状況を示す情報が前記ダウンロード手段によりダウンロードされた電子メールに基づく画像の印刷が完了していないことを示す場合、前記ダウンロード手段により再度ダウンロードされた電子メールの添付ファイルに含まれる複数ページのうち印刷が完了していないページに基づく画像を所定の記録媒体上に印刷するよう前記印刷手段を制御することを特徴とする請求項2に記載の印刷装置。
The information indicating the print status of the image based on the e-mail stored in the storage means includes information indicating which of the plurality of pages included in the attached file has been printed,
The control means is a case where the printing apparatus is turned on, and printing of an image based on an e-mail in which the information indicating the printing status stored in the storage means is downloaded by the download means is completed. The printing means to print on the predetermined recording medium an image based on a page that has not been printed out of a plurality of pages included in the attached file of the e-mail downloaded again by the downloading means. The printing apparatus according to claim 2, wherein the printing apparatus is controlled.
前記記憶手段は、前記ダウンロード手段がダウンロードした電子メールを特定する情報を、前記印刷状況を示す情報に対応付けて記憶し、
前記制御手段は、前記ダウンロード手段により再度ダウンロードされた電子メールを特定する情報と、前記記憶手段に前記印刷状況を示す情報と対応付けて記憶された前記電子メールを特定する情報が一致する場合に、前記ダウンロード手段により再度ダウンロードされた電子メールに基づく画像を所定の記録媒体上に印刷するよう前記印刷手段を制御することを特徴とする請求項1乃至3のいずれか1項に記載の印刷装置。
The storage means stores information specifying the electronic mail downloaded by the download means in association with information indicating the printing status,
When the information for specifying the electronic mail downloaded again by the download means matches the information for specifying the electronic mail stored in association with the information indicating the printing status in the storage means, 4. The printing apparatus according to claim 1, wherein the printing unit is controlled to print an image based on the e-mail downloaded again by the downloading unit on a predetermined recording medium. 5. .
電子メールに基づく画像を印刷する印刷装置であって、前記印刷装置の電源が切られた場合であっても記憶された情報を保持可能な記憶手段を備える印刷装置における印刷方法であって、
ダウンロード手段が、電子メールサーバから電子メールをダウンロードするダウンロード工程と、
第1印刷手段が、前記ダウンロード工程でダウンロードされた電子メールに基づく画像を所定の記録媒体上に印刷する第1印刷工程と、
格納手段が、前記ダウンロード工程でダウンロードされた電子メールに基づく画像の印刷状況を示す情報を前記記憶手段に格納する格納工程と、
再ダウンロード手段が、前記印刷装置の電源が投入された場合であって、前記記憶手段に記憶された前記印刷状況を示す情報が前記ダウンロード工程でダウンロードされた電子メールに基づく画像の印刷が完了していないことを示す場合、ダウンロード済みの電子メールを前記電子メールサーバから再度ダウンロードする再ダウンロード工程と、
第2印刷手段が、前記再ダウンロード工程により再ダウンロードされた電子メールに基づく画像を所定の記録媒体上に印刷する第2印刷工程と、
要求手段が、前記ダウンロード工程によりダウンロードされた電子メールに基づく画像の印刷が完了する前に前記印刷装置の電源が切られない場合は前記ダウンロード工程によりダウンロードされた電子メールに基づく画像の印刷が完了したことに応じて前記電子メールサーバへ前記ダウンロードされた電子メールの削除を要求し、前記ダウンロード工程によりダウンロードされた電子メールに基づく画像の印刷が完了する前に前記印刷装置の電源が切られた場合は前記再ダウンロード手段により再度ダウンロードされた電子メールに基づく画像の印刷が完了したことに応じて前記電子メールサーバへ前記再度ダウンロードされた電子メールの削除を要求する要求工程と、
を備えることを特徴とする印刷方法。
A printing apparatus for printing an image based on an email, wherein the printing apparatus includes a storage unit capable of holding stored information even when the printing apparatus is turned off.
A download process in which the download means downloads an email from the email server;
A first printing means for printing an image based on the electronic mail downloaded in the download step on a predetermined recording medium;
A storage step of storing in the storage unit information indicating a print status of an image based on the email downloaded in the download step;
The re-downloading means is a case where the printing apparatus is turned on, and printing of the image based on the e-mail in which the information indicating the printing status stored in the storage means is downloaded in the downloading step is completed. If it shows that not, and re-download process to re-download already downloaded e-mail from the e-mail server,
A second printing unit that prints an image based on the e-mail re-downloaded in the re-downloading step on a predetermined recording medium;
Print request means, when the printing of an image based on a more downloaded e-mail as the download Engineering is not powered off of the printing device before the completion of the image based on the e-mail downloaded by the download process The electronic mail server is requested to delete the downloaded electronic mail in response to completion of the printing, and the printing apparatus is turned off before printing of the image based on the electronic mail downloaded by the downloading process is completed. A requesting step for requesting deletion of the re-downloaded e-mail to the e-mail server in response to completion of printing of the image based on the e-mail re-downloaded by the re-downloading unit ,
A printing method comprising:
前記第1印刷工程及び前記第2印刷工程は、前記ダウンロード工程でダウンロードされた電子メールに添付ファイルが添付されている場合に、前記添付ファイルに基づく画像を所定の記録媒体上に印刷することを特徴とする請求項5に記載の印刷方法。   In the first printing step and the second printing step, when an attached file is attached to the email downloaded in the downloading step, an image based on the attached file is printed on a predetermined recording medium. The printing method according to claim 5, wherein: 前記記憶手段に記憶される前記電子メールに基づく画像の印刷状況を示す情報は、前記添付ファイルに含まれる複数ページにふくまれるいずれのページの印刷が完了したかを示す情報を含み、
前記第2印刷工程は、前記再ダウンロード工程により再度ダウンロードされた電子メールの添付ファイルに含まれる複数ページのうち印刷が完了していないページに基づく画像を所定の記録媒体上に印刷するよう前記印刷手段を制御することを特徴とする請求項6に記載の印刷方法。
The information indicating the print status of the image based on the e-mail stored in the storage means includes information indicating which page included in the plurality of pages included in the attached file has been printed,
In the second printing step, the printing is performed such that an image based on a page that has not been printed out of a plurality of pages included in the attached file of the e-mail downloaded again in the re-downloading step is printed on a predetermined recording medium. The printing method according to claim 6, wherein the means is controlled.
前記格納工程は、前記ダウンロード工程でダウンロードされた電子メールを特定する情報を、前記印刷状況を示す情報に対応付けて前記記憶手段に格納し、
前記第2印刷工程は、前記再ダウンロード工程により再度ダウンロードされた電子メールを特定する情報と、前記記憶手段に印刷が完了していないことを示す情報と対応付けて記憶された前記電子メールを特定する情報が一致する場合に、前記再ダウンロード工程により再度ダウンロードされた電子メールに基づく画像を所定の記録媒体上に印刷することを特徴とする請求項5乃至7のいずれか1項に記載の印刷方法。
The storing step stores information specifying the electronic mail downloaded in the downloading step in the storage unit in association with information indicating the printing status,
The second printing step specifies the e-mail stored in association with information identifying the e-mail downloaded again in the re-downloading step and information indicating that printing is not completed in the storage unit. The printing according to any one of claims 5 to 7, wherein an image based on the e-mail downloaded again by the re-downloading step is printed on a predetermined recording medium when the information to be matched matches. Method.
JP2004377245A 2004-12-27 2004-12-27 Printing apparatus and printing method Expired - Fee Related JP4677229B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004377245A JP4677229B2 (en) 2004-12-27 2004-12-27 Printing apparatus and printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004377245A JP4677229B2 (en) 2004-12-27 2004-12-27 Printing apparatus and printing method

Publications (3)

Publication Number Publication Date
JP2006185112A JP2006185112A (en) 2006-07-13
JP2006185112A5 JP2006185112A5 (en) 2008-02-14
JP4677229B2 true JP4677229B2 (en) 2011-04-27

Family

ID=36738189

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004377245A Expired - Fee Related JP4677229B2 (en) 2004-12-27 2004-12-27 Printing apparatus and printing method

Country Status (1)

Country Link
JP (1) JP4677229B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5453745B2 (en) * 2007-07-31 2014-03-26 セイコーエプソン株式会社 Posting server, content transmission system, and posting server control method
JP5245612B2 (en) * 2007-07-31 2013-07-24 セイコーエプソン株式会社 Posting server and posting server control method
JP5328389B2 (en) * 2009-01-21 2013-10-30 キヤノン株式会社 Image forming apparatus, image forming system, and image forming method
JP5445093B2 (en) * 2009-12-14 2014-03-19 富士ゼロックス株式会社 Image forming system and information setting program
JP2014226897A (en) * 2013-05-27 2014-12-08 大日本印刷株式会社 Printer capable of guaranteeing continuity of pages when resuming printing and method for resuming printing by printer
JP6732408B2 (en) * 2015-04-23 2020-07-29 キヤノン株式会社 Image forming apparatus, control method of image forming apparatus, and program

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11212740A (en) * 1998-01-22 1999-08-06 Canon Inc Printer and its printing control method
JPH11312068A (en) * 1998-04-28 1999-11-09 Nissin Electric Co Ltd Printer server
JP2000118090A (en) * 1998-10-15 2000-04-25 Fuji Photo Film Co Ltd Printing control method and printer
JP2002152450A (en) * 2000-11-10 2002-05-24 Ricoh Co Ltd Network facsimile equipment
JP2002207676A (en) * 2001-01-10 2002-07-26 Matsushita Graphic Communication Systems Inc Electronic mail receiver and method for it
JP2003099218A (en) * 2001-09-21 2003-04-04 Minolta Co Ltd Device, method, and program for image formation, and computer-readable recording medium where the same is recorded
JP2003288195A (en) * 2002-03-27 2003-10-10 Brother Ind Ltd Printer, network server, and communication method
JP2004288005A (en) * 2003-03-24 2004-10-14 Fuji Xerox Co Ltd Printer and its control method
JP2004304310A (en) * 2003-03-28 2004-10-28 Minolta Co Ltd Image processing apparatus

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11212740A (en) * 1998-01-22 1999-08-06 Canon Inc Printer and its printing control method
JPH11312068A (en) * 1998-04-28 1999-11-09 Nissin Electric Co Ltd Printer server
JP2000118090A (en) * 1998-10-15 2000-04-25 Fuji Photo Film Co Ltd Printing control method and printer
JP2002152450A (en) * 2000-11-10 2002-05-24 Ricoh Co Ltd Network facsimile equipment
JP2002207676A (en) * 2001-01-10 2002-07-26 Matsushita Graphic Communication Systems Inc Electronic mail receiver and method for it
JP2003099218A (en) * 2001-09-21 2003-04-04 Minolta Co Ltd Device, method, and program for image formation, and computer-readable recording medium where the same is recorded
JP2003288195A (en) * 2002-03-27 2003-10-10 Brother Ind Ltd Printer, network server, and communication method
JP2004288005A (en) * 2003-03-24 2004-10-14 Fuji Xerox Co Ltd Printer and its control method
JP2004304310A (en) * 2003-03-28 2004-10-28 Minolta Co Ltd Image processing apparatus

Also Published As

Publication number Publication date
JP2006185112A (en) 2006-07-13

Similar Documents

Publication Publication Date Title
US8441657B2 (en) Print job management method and image forming apparatus
JP4988980B2 (en) Printing apparatus, control method, and storage medium
JP2006203808A (en) Image processing device, information processor, information processing system, information processing method, program and storage medium
US7151900B2 (en) Image formation device, image formation method, information processing device, and information processing method
JP3595665B2 (en) Image input / output device and management method
JP4677229B2 (en) Printing apparatus and printing method
JP4136103B2 (en) Printing system, printing system control method, and computer-readable storage medium
JP3870200B2 (en) Job management apparatus, management method, and computer-readable storage medium
JP2006159565A (en) Printing system
JP2005104614A (en) Image forming device and image forming method, and storage medium and program to store computer-readable program
JP2007055024A (en) Printing apparatus
JP2010287108A (en) Image processing apparatus
JP4419963B2 (en) Image processing apparatus and image processing system
JP4072471B2 (en) Image recording apparatus, paper feed control method, storage medium storing computer-readable program, and program
JP2000330752A (en) Device, system and method for forming image and storage medium
JP2010158777A (en) Image forming device, terminal device and printing system including those devices
JP2000259377A (en) Storage medium storing data processor, image output controller, data transfer method, image output control method and computer readable program
JP2005297324A (en) Image forming apparatus
JP7303726B2 (en) Image forming apparatus, network system including image forming apparatus, image forming apparatus control program and control method
JP2004246664A (en) Image processing system
JP3862568B2 (en) Image processing apparatus, image processing apparatus control method, computer-readable storage medium, and program
JP2009208277A (en) Printer, terminal system, printing side print control method, terminal side printing control method, printing side print control program, terminal side printing control program, and recording medium
JP2004195872A (en) Image recording apparatus
JP4560172B2 (en) Partition information update system, partition information update device, partition information update method, and storage medium
JP2001277605A (en) Image output system and method for controlling data transfer

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071219

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071219

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20071219

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100129

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100329

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100521

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100716

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100917

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101216

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20101224

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110121

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110131

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140204

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees