JP2010089288A - Printing apparatus and controlling method thereof - Google Patents
Printing apparatus and controlling method thereof Download PDFInfo
- Publication number
- JP2010089288A JP2010089288A JP2008259025A JP2008259025A JP2010089288A JP 2010089288 A JP2010089288 A JP 2010089288A JP 2008259025 A JP2008259025 A JP 2008259025A JP 2008259025 A JP2008259025 A JP 2008259025A JP 2010089288 A JP2010089288 A JP 2010089288A
- Authority
- JP
- Japan
- Prior art keywords
- printing
- file
- unit
- printing apparatus
- external device
- 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
Links
Images
Landscapes
- Record Information Processing For Printing (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
Description
本発明は印刷装置及びその制御方法に関し、特に、接続された外部装置から参照可能な領域を有する記憶装置を備え、外部装置に対して記憶装置として振る舞うことが可能な印刷装置及びその制御方法に関する。 The present invention relates to a printing apparatus and a control method therefor, and more particularly, to a printing apparatus that includes a storage device having an area that can be referred to from a connected external device and can behave as a storage device with respect to the external device and a control method therefor. .
プリンタを代表とする印刷装置は、印刷するデータをコンピュータなどの外部装置から受け取るための通信インタフェースを備えている。印刷装置が備える通信インタフェースの例としては、USB(Universal Serial Bus)、IEEE1394、IEEE802.11xなどがある。 A printing apparatus typified by a printer includes a communication interface for receiving data to be printed from an external apparatus such as a computer. Examples of communication interfaces provided in the printing apparatus include USB (Universal Serial Bus), IEEE1394, IEEE802.11x, and the like.
しかしながら、外部装置から印刷装置を用いて印刷を行うためには、印刷装置固有の命令などを与えるためのデバイスドライバソフトウェア(以下、単にドライバという)を外部装置にインストールする必要がある。 However, in order to perform printing from an external apparatus using a printing apparatus, it is necessary to install device driver software (hereinafter simply referred to as a driver) for giving a command unique to the printing apparatus to the external apparatus.
ドライバは通常印刷装置とともにCD-ROMなどの形態で提供されたり、印刷装置のメーカから例えばインターネットを通じて提供されたりしている。しかし、印刷装置に接続可能な外部装置が全てインターネットに接続可能なわけではなく、また、インターネットに接続する機能は備えていても、インターネットに接続できる環境にあるとは限らない。また、CD-ROMが印刷装置と別の場所に保管されていたり、紛失されている場合もある。このように、必要な際にドライバが手に入らない状況が起こりうる。 The driver is usually provided in the form of a CD-ROM or the like together with the printing apparatus, or is provided from the manufacturer of the printing apparatus via the Internet, for example. However, not all external devices that can be connected to the printing apparatus can be connected to the Internet, and even if a function to connect to the Internet is provided, the environment is not necessarily connected to the Internet. Also, the CD-ROM may be stored in a different location from the printing device or lost. In this way, a situation may arise where the driver is not available when needed.
そのため、印刷装置の記憶装置に外部装置から参照可能な領域を設け、その領域に印刷したいデータをコピーすることで、外部装置からの印刷指示を可能とする印刷装置が知られている(特許文献1及び特許文献2参照)。 For this reason, there is known a printing apparatus in which a storage device of a printing apparatus is provided with an area that can be referred to from an external apparatus, and data to be printed can be copied to the area, thereby enabling a print instruction from the external apparatus (Patent Document). 1 and Patent Document 2).
このような印刷装置を用いる場合、印刷装置の記憶装置に印刷したいファイルをコピーするだけで印刷指示が可能であるため、印刷装置のドライバソフトウェアがインストールされていない外部装置からも印刷が可能となる。 When using such a printing apparatus, it is possible to instruct printing simply by copying a file to be printed to the storage device of the printing apparatus, so printing can also be performed from an external apparatus in which the driver software of the printing apparatus is not installed. .
ところが、外部装置から見ると、この操作は記憶装置に対するファイルコピーであり、印刷指示であるとは認識しない。そのため、プリンタが実際に印刷を行っているのか、またエラーが発生しているのか否かといった、プリンタの状態を外部装置に通知する方法が存在しなかった。そのため、プリンタでエラーが発生した場合であっても、ユーザはプリンタのある場所まで出向かないとエラー発生を知ることができない。また、印刷中であるのか、印刷が終わったかも知ることができないため、使い勝手の点で改善の余地があった。 However, when viewed from the external device, this operation is a file copy to the storage device and is not recognized as a print instruction. For this reason, there has been no method for notifying an external device of the status of the printer, such as whether the printer is actually printing or whether an error has occurred. For this reason, even if an error occurs in the printer, the user cannot know the error occurrence unless he / she goes to a place where the printer is located. Further, since it is impossible to know whether printing is in progress or whether printing has been completed, there is room for improvement in terms of usability.
本発明はこのような課題に鑑みなされたものであり、外部装置から参照可能な記憶領域を有し、この記憶領域へのファイルコピー操作により印刷が可能な印刷装置において、ユーザの使い勝手を改善することを目的とする。 The present invention has been made in view of such a problem, and improves the usability of a user in a printing apparatus that has a storage area that can be referred to from an external device, and that can perform printing by file copy operations to this storage area. For the purpose.
上述の目的は、外部装置と接続するための接続手段と、接続手段を介して接続された外部装置が参照可能な領域であって、印刷設定に対応づけられたフォルダを有する記憶手段と、記録媒体に印刷を行う印刷手段と、接続された外部装置からフォルダへ書き込まれたデータファイルを、当データファイルが書き込まれたフォルダに対応づけられた印刷設定に従って印刷手段に印刷させる制御手段とを有する印刷装置であって、印刷装置の動作状態を検出する検出手段と、検出手段が検出した動作状態を表す状態ファイルを、領域に生成する生成手段を有することを特徴とする印刷装置によって達成される。 The above-described object is to provide a connection unit for connecting to an external device, a storage unit having a folder associated with a print setting, an area that can be referred to by the external device connected via the connection unit, and a recording Printing means for printing on a medium; and control means for causing a printing means to print a data file written to a folder from a connected external device in accordance with a print setting associated with the folder in which the data file is written. A printing apparatus comprising: a detection unit that detects an operation state of the printing apparatus; and a generation unit that generates a state file representing the operation state detected by the detection unit in an area. .
また、上述の目的は、外部装置と接続するための接続手段と、接続手段を介して接続された外部装置が参照可能な領域であって、印刷設定に対応づけられたフォルダを有する記憶手段と、記録媒体に印刷を行う印刷手段とを有する印刷装置の制御方法であって、接続された外部装置からフォルダへ書き込まれたデータファイルを、当データファイルが書き込まれたフォルダに対応づけられた印刷設定に従って印刷手段に印刷させる制御工程と、印刷装置の動作状態を検出する検出工程と、検出工程で検出された動作状態を表す状態ファイルを、領域に生成する生成工程を有することを特徴とする印刷装置の制御方法によっても達成される。 Further, the above-described object is to provide connection means for connecting to an external device, storage means having a folder associated with print settings, which is an area that can be referred to by the external device connected via the connection means. , A printing apparatus control method having printing means for printing on a recording medium, wherein a data file written from a connected external device to a folder is associated with the folder in which the data file is written A control process for causing the printing unit to print in accordance with the setting, a detection process for detecting an operation state of the printing apparatus, and a generation process for generating a state file representing the operation state detected in the detection process in the region. This is also achieved by a method for controlling the printing apparatus.
このような構成により、本発明によれば、外部装置から参照可能な記憶領域を有し、この記憶領域へのファイルコピー操作により印刷が可能な印刷装置において、ユーザの使い勝手を改善することができる。 With such a configuration, according to the present invention, the user-friendliness can be improved in a printing apparatus that has a storage area that can be referred to from an external device and that can perform printing by file copy operations to this storage area. .
以下、図面を参照して本発明の好適かつ例示的な実施形態について詳細に説明する。
(第1の実施形態)
(プリンタ1の構成)
図1は本発明の実施形態に係る印刷装置の一例としてのプリンタ1の構成例を示すブロック図である。
Hereinafter, preferred and exemplary embodiments of the present invention will be described in detail with reference to the drawings.
(First embodiment)
(Configuration of printer 1)
FIG. 1 is a block diagram illustrating a configuration example of a printer 1 as an example of a printing apparatus according to an embodiment of the present invention.
図において、制御部109は例えばCPUであり、プリンタ1の全体動作を制御する。また、制御部109は、プリンタ1の各部の動作状態を検出する。RAM105は、各種データや、制御部109が実行するプログラムを読み込んだり、制御部109のワークエリアとして用いられるメモリである。ROM103は、制御部109が実行するプログラムを格納する不揮発性メモリである。通信I/F104は、後述するPC2のような外部装置と通信するためのインタフェースであり、本実施形態ではUSBインタフェースであるとするが、それに限定されない。具体的には、通信I/F104は、プリンタ1が、接続された外部装置(本実施形態ではPC2)からみて記憶装置として振る舞うことが可能なプロトコルをサポートするインタフェースを1つ以上含めばよい。
In the figure, a
記憶装置106は半導体メモリやハードディスクドライブであってよい。記憶装置106はその少なくとも一部として、通信I/F104を通じて通信可能に接続された外部装置から読み書き可能な外部参照可能領域4を含む。後述するように、本実施形態のプリンタ1は、外部装置(本実施形態ではPC2)に接続された際、この外部参照可能領域4を有する外部記憶装置として振る舞うことが可能である。記憶装置106は、例えばFAT(File Allocation Table)を用いるファイルシステム107によって管理されている。記憶装置106に記憶されたデータファイルには、ファイルシステム107を通してアクセスする。
The
アクセス監視部110はファイルシステム107を監視し、記憶装置106のフォルダやファイルに対して外部装置からアクセス(開閉、読み出し、書き込み)があった場合、その状況を把握している。
The
印刷部108は、所謂プリントエンジンであり、制御部109の制御と印刷データ徒に基づき、紙などの記録媒体に画像形成を行う。印刷部108が用いる記録方式に制限はなく、電子写真方式、インクジェット記録方式、熱転写方式など任意の方式を採用することができるが、本実施形態においてはインクジェット記録方式であるとする。
The
表示部111は例えばカラーLCDを備え、制御部109の制御に基づき、印刷データ、操作ガイダンスなどのGUI画面などを表示する。
The
操作部112はキーやボタン、表示部111上に設けられたタッチパネルなど、ユーザからプリンタ1に対する各種指示や設定を受け付けるための入力デバイス群からなる。操作部112の操作内容は、制御部109に伝達され、制御部109は操作内容に応じた制御を行う。
The
制御部109は例えばCPUであり、ROM103に記憶されたプログラムを実行してプリンタ1全体の動作を統括する。
バス102は、上述の各部を相互に接続する。
The
The
(PC2の構成)
図2は本実施形態における外部装置の一例としてのPC(汎用コンピュータ装置)2の構成例を示すブロック図である。
図において、ディスプレイ201は、CRT(Cathode Ray Tube)、LCD(Liquid Crystal Display)等から構成され、各種のGUI(Graphical User Interface)やデータなどを表示する。キーボード203及びポインティングデバイス204は、文字などを入力したり、GUIにおけるアイコンやボタンなどを指し示すためなどに用いられる。CPU205はPC2全体の制御を司る。
(Configuration of PC2)
FIG. 2 is a block diagram illustrating a configuration example of a PC (general-purpose computer apparatus) 2 as an example of the external apparatus in the present embodiment.
In the figure, a
ROM206(Read Only Memory)はCPU205が実行するプログラム(主にブートプログラム)やパラメータ等を記憶している。RAM(Random Access Memory)207は各種プログラムをCPU205が実行する時のワークエリア、エラー処理時の一時退避エリア等として用いられる。
A ROM 206 (Read Only Memory) stores a program (mainly a boot program) executed by the
ハードディスクドライプ(HDD)208はOSやアプリケーションプログラムなど、CPU205が実行するプログラムを記憶したり、ユーザデータを記憶したりする。また、仮想記憶領域としても用いられる。本実施形態において説明するPC2の各種機能を実現するプログラムは、HDD208に記憶されているものとする。
A hard disk drive (HDD) 208 stores programs executed by the
リムーバブルメディアドライプ(RMD)209は、着脱可能な記録媒体の読み書き又は読み出しを行う装置である。RMD209の具体例としては、フレキシブルディスクドライブ、光ディスクドライブ、光磁気ディスクドライブ、メモリカードリーダ、着脱式HDDなどがある。 A removable media drive (RMD) 209 is a device that reads / writes or reads a removable recording medium. Specific examples of the RMD 209 include a flexible disk drive, an optical disk drive, a magneto-optical disk drive, a memory card reader, and a removable HDD.
USB/IEEE1394インタフェース210は、印刷装置を始めとした各種周辺機器を接続するためのインタフェースの一例である。より具体的には、USB/IEEE1394インタフェース210は、接続された印刷装置がPC2から記憶装置として取り扱い可能なプロトコルをサポートするインタフェースの一例である。従って、同様のプロトコルをサポートする任意の1種類以上のインタフェースであってよい。以下では、説明及び理解を容易にするため、USBインタフェースであるものとして説明する。
The USB / IEEE 1394
ネットワークインタフェース(I/F)211はPC2をコンピュータネットワークに接続するためのインタフェースである。バス212はアドレスバス、データバスおよび制御バスからなり、上述した各ユニット間を接続する。
A network interface (I / F) 211 is an interface for connecting the
(プリンタ1のファイル構成)
図3は、本実施形態のプリンタ1が有する記憶装置106のうち、外部装置から読み書き可能な記憶領域(外部参照可能領域)4に形成されたファイル構成の例を示す図である。このファイル構成は、ファイルシステム107によって形成され、管理されている。
(File structure of printer 1)
FIG. 3 is a diagram illustrating an example of a file configuration formed in a storage area (externally referable area) 4 that can be read and written from an external apparatus, among the
図3に示すように、本実施形態では、最上位にプリンタフォルダ301を形成し、そのサブフォルダとして印刷開始フォルダ302及びプリンタ状態フォルダ303を、またエラー表示コマンドファイル310を設けている。また、プリンタ状態フォルダ303にはプリンタ状態ファイル311を設けている。
As shown in FIG. 3, in this embodiment, a
プリンタフォルダ301内に設けるサブフォルダの種類は、プリンタ1の機能及び印刷部108の構成に応じて変化しうる。また、プリンタ状態フォルダ303を除き、他のフォルダを内包しないフォルダ(最下位にディレクトリに存在するフォルダ)は、格納されたデータファイルに対して予め対応づけられた印刷設定による印刷が実行される所謂ホットフォルダとして機能する。
The type of subfolder provided in the
具体的には、印刷開始フォルダ302は、通常の印刷に対応づけられており、書き込まれたデータファイルを一般的な印刷設定で印刷するホットフォルダである。
本実施形態では便宜上、他の印刷設定に対応づけられたフォルダを示していないが、カレンダー印刷、フレーム印刷、N-up印刷など、様々な印刷設定に対応づけたフォルダを設けることが可能である。
Specifically, the
In the present embodiment, for convenience, folders associated with other print settings are not shown, but folders associated with various print settings such as calendar printing, frame printing, and N-up printing can be provided. .
エラー表示コマンドファイル310は、印刷時にエラーが発生すると生成されるコマンドファイルであり、実行すると、プリンタ状態フォルダ303の中に存在するプリンタ状態ファイル311を表示する。
The error
プリンタ状態フォルダ303は、プリンタ1の動作状態を表すプリンタ状態ファイル311を格納するためのフォルダである。本実施形態ではプリンタ1の動作状態の一例として、実行中の印刷処理の状態を表すプリンタ状態ファイル311の管理に関して説明する。
The
図3には、プリンタ状態フォルダ303を開いた際の表示例も示している。
図3の例では、プリンタ1がエラー状態(用紙切れ)であることを示すプリンタ状態ファイル311を示している。プリンタ状態ファイル311の内容は、プリンタ1の動作状態に応じて変化する。プリンタ1で印刷処理を実行中であり、かつエラーが発生していないときは例えば印刷中であることを示す内容になる。
FIG. 3 also shows a display example when the
In the example of FIG. 3, a
なお、プリンタ状態ファイル311は、PC2で内容を表示可能な任意の形式を有することができる。一般的なPCで表示可能なファイル形式としては、例えば、テキスト形式、html形式、PDF(Portable Document Format)形式などを例示することができる。また、プリンタ状態ファイル311の内容は、プリンタ1の言語設定に対応した言語で記述される。
The
また、後述するように、プリンタ状態ファイル311の内容はプリンタ1の動作状態に応じて動的に変化する。例えばプリンタ1で発生したエラーが解消されると、エラーを示す状態からエラーが解消された状態(例えば印刷が再開されたならば印刷中状態)に変化する。
また、印刷処理が終了すると、プリンタ状態ファイル311はプリンタ状態フォルダ303から削除される。
As will be described later, the contents of the
When the printing process is completed, the
(接続時の動作)
PC2のUSBインタフェース210とプリンタ1の通信I/F104とがUSBケーブル3によって接続されると、PC2がUSBホスト、プリンタ1がUSBデバイスとしてデスクリプタ情報の取得が行われる。
(Operation when connected)
When the
プリンタ1からデスクリプタ情報中で自身がUSBマスストレージクラスであることをPC2に通知する。これによりPC2はプリンタ1をUSBマスストレージクラスの装置として認識する。
The printer 1 notifies the
また、制御部109は、一般的な印刷設定に対応づけた印刷開始フォルダ302とプリンタ状態フォルダ303を、ファイルシステム107を用いて外部参照可能領域4に生成させる。なお、制御部109は、1つの印刷開始フォルダ302を生成させる代わりに、印刷部108の構成によって可能な印刷形式に対応する印刷設定に対応づけた複数のフォルダをファイルシステム107に生成させてもよい。
In addition, the
PC2では、プリンタ1からのデスクリプタ情報に基づいてプリンタ1を外部記憶装置としてマウントする。これにより、プリンタ1に対応するディスクアイコンがディスプレイ201に表示される。現在一般的に用いられているOSは、USBやIEEE1394プロトコルのドライバを標準で備えている。従って、このPC2における一連の動作は、OSの機能として通常に提供されるものであり、ドライバのインストールは不要である。
これにより、PC2のユーザは、一般的な記憶装置としてプリンタ1を取り扱うことができる。
In the
Thus, the user of the
従って、ポインティングデバイス204によってプリンタ1に対応するディスクアイコンをダブルクリックすると、プリンタフォルダ301が表示される。さらにプリンタフォルダ301をダブルクリックすると、図3の上段に示したような表示がなされる。
Accordingly, when the disk icon corresponding to the printer 1 is double-clicked by the
ユーザが、PC2からアクセス可能なボリューム(HDD208あるいはRMD209など)に存在する、印刷を希望するデータファイル(画像データファイル10とする)のアイコンを、印刷開始フォルダ302にドラッグアンドドロップする。CPU205が実行するOSは、この操作をファイルコピー動作と認識し、画像データファイル10を読み出してリムーバブルディスクとして振る舞うプリンタ1に書き込む。
これにより、プリンタ1では印刷動作を開始する。
The user drags and drops an icon of a data file (image data file 10) desired to be printed, which exists in a volume (such as
As a result, the printer 1 starts a printing operation.
(印刷動作の概要)
図4は、本実施形態のプリンタ1の印刷動作を説明するフローチャートである。
S401においてプリンタ1のアクセス監視部110は印刷開始フォルダ302内に印刷すべきデータファイルが存在するか否かを調べる。
(Overview of printing operation)
FIG. 4 is a flowchart for explaining the printing operation of the printer 1 of this embodiment.
In step S <b> 401, the
具体的には、印刷指示を認識したデータファイルを印刷開始フォルダ302から別のフォルダ(例えば「印刷中」フォルダ)に移す場合、アクセス監視部110は印刷開始フォルダ302にデータファイルが存在するか否かを調べる。
Specifically, when the data file that has recognized the print instruction is moved from the
一方、印刷指示を認識したデータファイルを移動しない場合、アクセス監視部110は印刷開始フォルダ302に新たなデータファイルが書き込まれたか(コピーされたか)否かを調べる。本実施形態では、前者の場合を説明する。この場合、「印刷中」フォルダは、プリンタフォルダ301内に設けてもよい(但し、内包するフォルダが無くてもホットフォルダとは見なされない)し、記憶装置106のPC2からアクセスできない領域に設けてもよい。
On the other hand, when the data file that has recognized the print instruction is not moved, the
印刷すべきデータファイルが存在しなければ、アクセス監視部110はS401を繰り返し実行し、印刷開始フォルダ302を監視する。
印刷すべきデータファイルが存在した場合、制御部109は、そのデータファイルを印刷中フォルダに移動する(S402)。
If there is no data file to be printed, the
If there is a data file to be printed, the
S403において、制御部109は、印刷パラメータを設定する。印刷パラメータはデータファイルが最初にコピーされたホットフォルダによって異なる。本実施形態では印刷開始フォルダ302のみが存在するため、制御部109は、予め定められた通常の印刷設定に従った印刷パラメータを設定する。
In step S403, the
S404で制御部109は、データファイルを必要に応じてデコードし、印刷用データを生成する。デジタルカメラなどで撮影された画像ファイルは圧縮符号化されていることが多いため、印刷するためには復号化(デコード)処理が必要である。デコード後、制御部109は印刷パラメータ及び印刷部108の構成(記録媒体やインクの種類など)に応じた印刷データを生成する。なお、データファイルが例えばビットマップ形式である場合のように、デコードが不要であれば、デコード処理を行わずに直ちに印刷データを生成することができる。
In step S404, the
S405で制御部109は、生成した印刷データを印刷部108へ転送する。そして、印刷部108は、インクジェット記録ヘッドや媒体の搬送機構などを制御して印刷を実行する。
In step S <b> 405, the
S406で制御部109は、印刷が終了したデータファイルを「印刷中」フォルダから削除する。なお、「印刷中」フォルダを用いない場合、S406で制御部109は印刷開始フォルダ302から印刷済みのデータファイルを削除する。
In step S406, the
次に、図4のS405における印刷処理中におけるプリンタ状態フォルダの管理処理について、図5に示すフローチャートを用いて説明する。
ここでは、S405で印刷処理が開始されたことにより、印刷部108で印刷が開始されていることを制御部109が検出しているものとする。
Next, the printer status folder management process during the printing process in S405 of FIG. 4 will be described with reference to the flowchart shown in FIG.
Here, it is assumed that the
S505において、制御部109は印刷中であることを示すプリンタ状態ファイル311を生成し、ファイルシステム107によってプリンタ状態フォルダ303内に保存させる。本実施形態のプリンタ1において、操作部112には設定ボタン(非図示)があり設定ボタンを押すと表示部111に設定メニューが表示される。設定メニューには言語設定メニューが含まれ、言語設定メニューで複数の言語から1つの言語を選択可能で選択した言語でGUIメニューなどが表示される。設定された言語は、設定情報の一部として図示しない不揮発性メモリに保存される。
In step S <b> 505, the
プリンタ状態ファイル311を生成する際、制御部109は、例えば図示しない不揮発性メモリを参照し、プリンタ1の言語設定を取得する。そして、設定されている言語でプリンタの状態を記述したプリンタ状態ファイル311を生成する。言語設定は、プリンタ状態ファイル311の内容のみならず、ファイル名に反映することもできる。
印刷中であることを示すプリンタ状態ファイル311は、言語毎に予め用意しておくこともできる。
When generating the
A
S506において制御部109は、印刷部108でエラーが発生したか判定する。エラーが発生していなければ、S507において制御部109は、印刷部108での印刷処理が継続中であるかを判定する。そして、印刷中でなければS510において、制御部109は、S505で生成した印刷中であることを示すプリンタ状態ファイル311をファイルシステム107によって削除し、処理を終了する。
In step S <b> 506, the
一方、S507において印刷中であると判定されたら、制御部109は処理をS506に戻し、エラーの発生又は印刷の終了の監視を継続する。
S506において、印刷部108でエラーが発生したことが検出された場合、制御部109はS508において、S505で生成した印刷中であることを示すプリンタ状態ファイル311をファイルシステム107によって削除する。
On the other hand, if it is determined in S507 that printing is in progress, the
If it is detected in S506 that an error has occurred in the
そして、S509において制御部は、エラー発生を示すプリンタ状態ファイル311を生成し、ファイルシステム107によってプリンタ状態フォルダ303内に保存させる。このプリンタ状態ファイル311には、少なくとも発生したエラーの内容が、言語設定に応じた言語で記述されている。また、エラーの内容に加え、エラーを解除するための方法の説明を加えたプリンタ状態ファイル311を生成してもよい。
In step S <b> 509, the control unit generates a
このプリンタ状態ファイル311は、印刷部108からエラー発生時に通知されてくるエラー種別に対応づけて、設定可能な言語ごとに予め用意しておくことができる。そして、制御部109は、エラー発生時には種別と設定言語とに対応するプリンタ状態ファイル311を取得し、ファイルシステム107に転送する。
あるいは、エラー発生時に表示部111に表示するために記憶されているエラーメッセージを用いて、エラー発生時にプリンタ状態ファイル311を生成してもよい。
The
Alternatively, the
次に、S511において制御部109は、エラー表示コマンドファイル310を生成する。上述の通り、エラー表示コマンドファイル310は、実行形式のコマンドファイルであり、PC2から実行を指示すると、プリンタ状態フォルダ303の中に存在するプリンタ状態ファイル311の内容をPC2のディスプレイ201に表示する。
Next, in S511, the
制御部109は、エラー表示コマンドファイル310を、ファイルシステム107によってプリンタフォルダ301の直下に保存させる。
プリンタフォルダ301の直下にエラー表示コマンドファイル310を生成することにより、プリンタ状態フォルダ303を開き、さらにプリンタ状態ファイル311を開いてエラーの内容を確認する手間を省くことができる。
また、プリンタ状態フォルダ303が閉じた状態(図3上段に示すの状態)でも、エラー発生をユーザに報知することが可能になる。
The
By generating the error
Even when the
エラー表示コマンドファイル310は、コマンドファイルであるため、その機能がファイル名からユーザに認識できる必要がある。そのため、本実施形態で制御部109は、エラー表示コマンドファイル310を”エラー表示.BAT”というファイル名で生成している。また、制御部109は、言語設定に応じた言語でファイル名を生成する。
Since the error
S512において制御部109は、印刷部108のエラー状態が解除されているかを判定する。例えば用紙なしエラーの場合、印刷部108にユーザが用紙を補充することでエラー状態は解除される。制御部109は、印刷部108からの、エラーが解除された旨の通知を検出するか、もしくは印刷部108の状態を定期的に取得し、エラー状態が解消されたことを検出することで、エラー状態の解除を検出することができる。
制御部109は、エラーが解除されていると判定されるまで、S512で監視を継続する。
In step S512, the
The
S512においてエラーが解除されていると判定されたら、制御部109は、S513において、S509で生成したプリンタ状態ファイル311を削除する。さらに、S514において制御部109は、S511で生成したエラー表示コマンドファイル310を削除して、処理をS506に戻す。
If it is determined in S512 that the error has been cancelled, the
以上説明したように本実施形態の印刷装置は、外部装置に接続された際、外部装置からアクセス可能な記憶装置として振る舞うとともに、外部装置から記憶装置へ書き込まれたファイルを印刷する。そのため、外部装置にドライバソフトウェアがインストールされていなくても、外部装置から印刷を行うことが可能な印刷装置を提供することができる。 As described above, when connected to an external device, the printing apparatus of this embodiment behaves as a storage device accessible from the external device and prints a file written from the external device to the storage device. Therefore, it is possible to provide a printing apparatus that can perform printing from an external apparatus even if driver software is not installed in the external apparatus.
また、印刷装置の状態に応じて、印刷装置の状態を示すファイル(プリンタ状態ファイル)を、外部装置からアクセス可能に生成するので、ドライバソフトウェアを用いないで印刷を行う環境であっても、ユーザは印刷装置の状態を知ることが可能になる。
また、印刷装置でエラーが発生した場合には、エラーの内容を外部装置に表示させるためのファイル操作(プリンタ状態ファイルの表示)を実行するコマンドファイルを生成するので、ユーザはよりエラー発生時にその内容を簡便に知ることが可能になる。
In addition, since a file indicating the status of the printing device (printer status file) is generated in accordance with the status of the printing device so as to be accessible from an external device, even in an environment where printing is performed without using driver software, the user can Can know the status of the printing device.
In addition, when an error occurs in the printing device, a command file for executing a file operation (displaying the printer status file) for displaying the error content on the external device is generated. It becomes possible to know the contents easily.
また、印刷装置の状態を示すファイルを、印刷装置の言語設定に応じて言語で生成するので、ユーザは印刷装置の言語設定を適切に設定することで、自身が理解できる言語で印刷装置の状態を把握することが可能になる。これは、設定可能な言語の各々で記述したプリンタ状態ファイルを外部装置から参照可能に生成し、ユーザが自身で所望の言語によるファイルを探す場合よりも使い勝手がよい。 In addition, since the file indicating the status of the printing device is generated in a language according to the language setting of the printing device, the user can appropriately set the language setting of the printing device, so that the user can understand the status of the printing device in a language that he can understand It becomes possible to grasp. This is more convenient than the case where a printer status file described in each of the settable languages is generated so that it can be referred from an external device, and the user searches for a file in a desired language by himself / herself.
(他の実施形態)
上述の実施形態においては、プリンタ状態ファイルが表すプリンタの状態として、PCから指示された印刷処理の状態を例示して説明した。しかし、プリンタ状態ファイルが表す状態は印刷処理の状態に限らず、プリンタに関する任意の動作状態であってよいことは言うまでもない。
(Other embodiments)
In the above-described embodiment, the state of the printing process instructed from the PC has been described as an example of the state of the printer represented by the printer state file. However, it goes without saying that the status represented by the printer status file is not limited to the status of the printing process, but may be any operation status related to the printer.
例えば印刷処理とは独立して印刷部108で発生したエラーや、電源回路の異常といった内部回路の異常を始め、プリンタが表示部111で表示可能な任意のエラーを表すプリンタ状態ファイル311を生成することができる。また、待機状態であってエラーも発生していない場合に、待機状態であることを示すプリンタ状態ファイル311を生成するようにしてもよい。
For example, a
また、上述の実施形態では、エラーが発生した場合にのみ、プリンタ状態ファイル311の内容を外部装置で表示させるコマンドファイル(エラー表示コマンドファイル310)を生成するものとした。しかし、プリンタ状態ファイル311の表す状態とは無関係に、プリンタ状態ファイル311の生成時にはその内容を外部装置で表示させるコマンドファイルを生成してもよい。
In the above embodiment, the command file (error display command file 310) for displaying the contents of the
上述の実施形態においては、外部装置の一例として汎用コンピュータを説明したが、印刷装置が記憶装置として振る舞うことのできるプロトコルをサポートする任意の機器を外部装置として用いることができる。上述のように、このようなプロトコルには例えばUSBプロトコルやIEEE1394プロトコルが含まれるので、これらプロトコルのいずれかをサポートする機器であれば外部装置として利用可能である。具体的には、デジタルスチルカメラやデジタルビデオカメラなどであってよい。 In the above-described embodiment, a general-purpose computer has been described as an example of an external device. However, any device that supports a protocol that allows a printing apparatus to behave as a storage device can be used as an external device. As described above, such a protocol includes, for example, the USB protocol and the IEEE 1394 protocol. Therefore, any device that supports one of these protocols can be used as an external device. Specifically, a digital still camera or a digital video camera may be used.
また、上述の実施形態では印刷装置がUSBマスストレージクラスデバイスとして振る舞う例についてのみ説明した。しかし、外部装置がIEEE1394プロトコルをサポートし、印刷装置がAV/Cコマンドにより読み書き可能な記憶装置(カメラストレージサブユニットなど)として振る舞ってもよい。 In the above embodiment, only the example in which the printing apparatus behaves as a USB mass storage class device has been described. However, the external device may support the IEEE 1394 protocol, and the printing device may behave as a storage device (such as a camera storage subunit) that can be read and written by an AV / C command.
上述の実施形態は、印刷装置が有するコンピュータ(或いはCPU、MPU等)によりソフトウェア的に実現することも可能である。
従って、上述の実施形態をコンピュータで実現するために、該コンピュータに供給されるコンピュータプログラム自体も本発明を実現するものである。つまり、上述の実施形態の機能を実現するためのコンピュータプログラム自体も本発明の一つである。
The above-described embodiment can also be realized in software by a computer (or CPU, MPU, etc.) included in the printing apparatus.
Therefore, the computer program itself supplied to the computer in order to implement the above-described embodiment by the computer also realizes the present invention. That is, the computer program itself for realizing the functions of the above-described embodiments is also one aspect of the present invention.
なお、上述の実施形態を実現するためのコンピュータプログラムは、コンピュータで読み取り可能であれば、どのような形態であってもよい。例えば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等で構成することができるが、これらに限るものではない。 The computer program for realizing the above-described embodiment may be in any form as long as it can be read by a computer. For example, it can be composed of object code, a program executed by an interpreter, script data supplied to the OS, but is not limited thereto.
上述の実施形態を実現するためのコンピュータプログラムは、記憶媒体又は有線/無線通信によりコンピュータに供給される。プログラムを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、磁気テープ等の磁気記憶媒体、MO、CD、DVD等の光/光磁気記憶媒体、不揮発性の半導体メモリなどがある。 A computer program for realizing the above-described embodiment is supplied to a computer via a storage medium or wired / wireless communication. Examples of the storage medium for supplying the program include a magnetic storage medium such as a flexible disk, a hard disk, and a magnetic tape, an optical / magneto-optical storage medium such as an MO, CD, and DVD, and a nonvolatile semiconductor memory.
有線/無線通信を用いたコンピュータプログラムの供給方法としては、コンピュータネットワーク上のサーバを利用する方法がある。この場合、本発明を形成するコンピュータプログラムとなりうるデータファイル(プログラムファイル)をサーバに記憶しておく。プログラムファイルとしては、実行形式のものであっても、ソースコードであっても良い。 As a computer program supply method using wired / wireless communication, there is a method of using a server on a computer network. In this case, a data file (program file) that can be a computer program forming the present invention is stored in the server. The program file may be an executable format or a source code.
そして、このサーバにアクセスしたクライアントコンピュータに、プログラムファイルをダウンロードすることによって供給する。この場合、プログラムファイルを複数のセグメントファイルに分割し、セグメントファイルを異なるサーバに分散して配置することも可能である。
つまり、上述の実施形態を実現するためのプログラムファイルをクライアントコンピュータに提供するサーバ装置も本発明の一つである。
Then, the program file is supplied by downloading to a client computer that has accessed the server. In this case, the program file can be divided into a plurality of segment files, and the segment files can be distributed and arranged on different servers.
That is, a server apparatus that provides a client computer with a program file for realizing the above-described embodiment is also one aspect of the present invention.
また、上述の実施形態を実現するためのコンピュータプログラムを暗号化して格納した記憶媒体を配布し、所定の条件を満たしたユーザに、暗号化を解く鍵情報を供給し、ユーザの有するコンピュータへのインストールを許可してもよい。鍵情報は、例えばインターネットを介してホームページからダウンロードさせることによって供給することができる。 In addition, a storage medium in which the computer program for realizing the above-described embodiment is encrypted and distributed is distributed, and key information for decrypting is supplied to a user who satisfies a predetermined condition, and the user's computer Installation may be allowed. The key information can be supplied by being downloaded from a homepage via the Internet, for example.
また、上述の実施形態を実現するためのコンピュータプログラムは、すでにコンピュータ上で稼働するOSの機能を利用するものであってもよい。
さらに、上述の実施形態を実現するためのコンピュータプログラムは、その一部をコンピュータに装着される拡張ボード等のファームウェアで構成してもよいし、拡張ボード等が備えるCPUで実行するようにしてもよい。
Further, the computer program for realizing the above-described embodiment may use an OS function already running on the computer.
Further, a part of the computer program for realizing the above-described embodiment may be configured by firmware such as an expansion board attached to the computer, or may be executed by a CPU provided in the expansion board. Good.
Claims (9)
前記接続手段を介して接続された外部装置が参照可能な領域であって、印刷設定に対応づけられたフォルダを有する記憶手段と、
記録媒体に印刷を行う印刷手段と、
前記接続された外部装置から前記フォルダへ書き込まれたデータファイルを、当該データファイルが書き込まれたフォルダに対応づけられた印刷設定に従って前記印刷手段に印刷させる制御手段とを有する印刷装置であって、
前記印刷装置の動作状態を検出する検出手段と、
前記検出手段が検出した前記動作状態を表す状態ファイルを、前記領域に生成する生成手段を有することを特徴とする印刷装置。 Connection means for connecting to an external device;
A storage unit having a folder associated with a print setting in an area that can be referred to by an external device connected through the connection unit;
Printing means for printing on a recording medium;
A printing apparatus comprising: a control unit that causes the printing unit to print a data file written to the folder from the connected external device according to a print setting associated with the folder in which the data file is written;
Detecting means for detecting an operating state of the printing apparatus;
A printing apparatus comprising: a generation unit configured to generate a state file representing the operation state detected by the detection unit in the area.
前記接続手段を介して接続された外部装置が参照可能な領域であって、印刷設定に対応づけられたフォルダを有する記憶手段と、
記録媒体に印刷を行う印刷手段とを有する印刷装置の制御方法であって、
前記接続された外部装置から前記フォルダへ書き込まれたデータファイルを、当該データファイルが書き込まれたフォルダに対応づけられた印刷設定に従って前記印刷手段に印刷させる制御工程と、
前記印刷装置の動作状態を検出する検出工程と、
前記検出工程で検出された前記動作状態を表す状態ファイルを、前記領域に生成する生成工程を有することを特徴とする印刷装置の制御方法。 Connection means for connecting to an external device;
A storage unit having a folder associated with a print setting in an area that can be referred to by an external device connected through the connection unit;
A control method for a printing apparatus having printing means for printing on a recording medium,
A control step of causing the printing means to print a data file written to the folder from the connected external device according to a print setting associated with the folder in which the data file is written;
A detection step of detecting an operating state of the printing apparatus;
A method for controlling a printing apparatus, comprising: generating a state file representing the operation state detected in the detecting step in the area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008259025A JP2010089288A (en) | 2008-10-03 | 2008-10-03 | Printing apparatus and controlling method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008259025A JP2010089288A (en) | 2008-10-03 | 2008-10-03 | Printing apparatus and controlling method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010089288A true JP2010089288A (en) | 2010-04-22 |
Family
ID=42252485
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008259025A Withdrawn JP2010089288A (en) | 2008-10-03 | 2008-10-03 | Printing apparatus and controlling method thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010089288A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012118735A (en) * | 2010-11-30 | 2012-06-21 | Canon Inc | Information processing apparatus, information processing method and program |
JP2013097499A (en) * | 2011-10-31 | 2013-05-20 | Brother Ind Ltd | Electronic apparatus, electronic apparatus file processing program, electronic apparatus file processing method and electronic apparatus system |
JP2014238798A (en) * | 2012-07-10 | 2014-12-18 | 株式会社リコー | Information storage apparatus, information processing system, information storage system, information storage method, and program |
JP2016167158A (en) * | 2015-03-09 | 2016-09-15 | キヤノン株式会社 | Image forming apparatus, control method of image forming apparatus, and program |
US9513854B2 (en) | 2013-03-29 | 2016-12-06 | Seiko Epson Corporation | Network device for handling process request in a folder |
JP2017052173A (en) * | 2015-09-09 | 2017-03-16 | 株式会社日立産機システム | Ink jet recording device and ink information display method of ink jet recording device |
CN111610939A (en) * | 2019-02-26 | 2020-09-01 | 佳能株式会社 | Image forming apparatus, method of controlling the same, and computer-readable storage medium |
-
2008
- 2008-10-03 JP JP2008259025A patent/JP2010089288A/en not_active Withdrawn
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012118735A (en) * | 2010-11-30 | 2012-06-21 | Canon Inc | Information processing apparatus, information processing method and program |
JP2013097499A (en) * | 2011-10-31 | 2013-05-20 | Brother Ind Ltd | Electronic apparatus, electronic apparatus file processing program, electronic apparatus file processing method and electronic apparatus system |
JP2014238798A (en) * | 2012-07-10 | 2014-12-18 | 株式会社リコー | Information storage apparatus, information processing system, information storage system, information storage method, and program |
US9513854B2 (en) | 2013-03-29 | 2016-12-06 | Seiko Epson Corporation | Network device for handling process request in a folder |
US20180239566A1 (en) | 2015-03-09 | 2018-08-23 | Canon Kabushiki Kaisha | Image forming apparatus, control method of image forming apparatus, and storage medium |
JP2016167158A (en) * | 2015-03-09 | 2016-09-15 | キヤノン株式会社 | Image forming apparatus, control method of image forming apparatus, and program |
US10540123B2 (en) | 2015-03-09 | 2020-01-21 | Canon Kabushiki Kaisha | Image forming apparatus having a folder accessible from an external apparatus, control method of image forming apparatus, and storage medium |
JP2017052173A (en) * | 2015-09-09 | 2017-03-16 | 株式会社日立産機システム | Ink jet recording device and ink information display method of ink jet recording device |
US10399343B2 (en) | 2015-09-09 | 2019-09-03 | Hitachi Industrial Equipment Systems Co., Ltd. | Inkjet recording apparatus and ink information display method for inkjet recording apparatus |
CN111610939A (en) * | 2019-02-26 | 2020-09-01 | 佳能株式会社 | Image forming apparatus, method of controlling the same, and computer-readable storage medium |
JP2020140254A (en) * | 2019-02-26 | 2020-09-03 | キヤノン株式会社 | Image forming device and control method thereof |
US11625209B2 (en) | 2019-02-26 | 2023-04-11 | Canon Kabushiki Kaisha | Image formation apparatus and for transmitting print data to a folder |
JP7330717B2 (en) | 2019-02-26 | 2023-08-22 | キヤノン株式会社 | Image forming apparatus and its control method |
CN111610939B (en) * | 2019-02-26 | 2024-06-11 | 佳能株式会社 | Image forming apparatus, control method thereof, and computer-readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8867077B2 (en) | Information processing apparatus, system | |
JP5321929B2 (en) | Universal device driver, device control program, information processing apparatus, server apparatus, and method | |
JP2010089288A (en) | Printing apparatus and controlling method thereof | |
JP2006293771A (en) | Driver setting method, driver setting program, recording medium, and information processor | |
JP5458747B2 (en) | Information processing apparatus and program | |
JP2011059958A (en) | Information processing apparatus, information processing system, image forming apparatus and program | |
JP2007110518A (en) | Image forming apparatus, image forming method, image processor, and image forming program | |
JP2008191883A (en) | Print system, print program and storage medium | |
JP5314976B2 (en) | Printing apparatus and control method thereof | |
JP5184998B2 (en) | Printing apparatus and control method thereof | |
JP2007109211A (en) | Printing system | |
JP2015007964A (en) | System and method | |
JP4933302B2 (en) | Printing system, printing apparatus, and reprint control method | |
JP2008165291A (en) | Information processing device and program | |
JP5294795B2 (en) | Print control apparatus, print control method, and computer program | |
JP2014174679A (en) | Information processing device and its method | |
JP5215802B2 (en) | Printing device | |
JP2007219969A (en) | Removable medium device, removable medium device-control program, and network equipment-control program | |
JP2016159427A (en) | Apparatus, information processing device, information processing system, information processing method, and program | |
JP5725830B2 (en) | Information processing apparatus, control method thereof, and control program | |
JP2019219818A (en) | Program, information processing equipment and information processing method | |
JP2005313413A (en) | Image processing system, image processor and program | |
JP6252060B2 (en) | Program, information processing apparatus, and image processing system | |
JP2009080793A (en) | Printing method and device initiated by printer | |
JP6107231B2 (en) | Image processing 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: 20111206 |