JP5094443B2 - Printing apparatus, printing apparatus control method, and program - Google Patents
Printing apparatus, printing apparatus control method, and program Download PDFInfo
- Publication number
- JP5094443B2 JP5094443B2 JP2008014175A JP2008014175A JP5094443B2 JP 5094443 B2 JP5094443 B2 JP 5094443B2 JP 2008014175 A JP2008014175 A JP 2008014175A JP 2008014175 A JP2008014175 A JP 2008014175A JP 5094443 B2 JP5094443 B2 JP 5094443B2
- Authority
- JP
- Japan
- Prior art keywords
- printing
- medium
- printer
- paper
- 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.)
- Active
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Description
本発明は、印刷データに基づく画像を印刷媒体に印刷する印刷装置、印刷装置の制御方法、およびプログラムに関する。 The present invention relates to a printing apparatus that prints an image based on print data on a printing medium, a control method for the printing apparatus , and a program .
従来、PC(パーソナルコンピュータ)がプリンタを利用して印刷を行うためには、PCにプリンタドライバをインストール必要があった。しかしながら、携帯電話やデジタルテレビ(DTV)などといった電子機器では、電子機器のリソースが限られていることや電子機器毎のOSの違いなどが原因で、プリンタドライバをインストールすることが難しかった。このため、携帯電話やDTV(以下、まとめて単に「DTV」と呼ぶ)がプリンタを利用して印刷を行うことは容易ではなかった。 Conventionally, in order for a PC (personal computer) to perform printing using a printer, it is necessary to install a printer driver in the PC. However, in an electronic device such as a mobile phone or a digital television (DTV), it is difficult to install a printer driver due to limited resources of the electronic device and a difference in OS for each electronic device. For this reason, it is not easy for a mobile phone or a DTV (hereinafter simply referred to as “DTV”) to print using a printer.
この問題を解決するために、近年、XHTMLプリントと呼ばれる印刷規格が注目されてきている。XHTMLプリントによれば、DTVは、DTVのブラウザ上で表示可能なXHTMLと呼ばれる規格に従ったデータ(XHTMLデータ)を直接プリンタへ送信する。プリンタは、XHTMLデータを解釈して、印刷を行う。 In order to solve this problem, a printing standard called XHTML printing has been attracting attention in recent years. According to the XHTML printing, the DTV directly transmits data (XHTML data) conforming to a standard called XHTML that can be displayed on the DTV browser to the printer. The printer interprets the XHTML data and performs printing.
XHTMLプリントでは、用紙サイズ、用紙タイプ、印刷品位、レイアウト、部数などの印刷パラメータを、DTVのユーザインタフェース(UI)を用いてユーザが指定する。DTVは、ユーザが指定した印刷パラメータをXHTMLデータと共にプリンタへ送信する。ここで指定される用紙サイズを、以下、「用紙サイズ(DTV)」と呼ぶ。 In XHTML printing, a user specifies print parameters such as paper size, paper type, print quality, layout, and number of copies using a user interface (UI) of the DTV. The DTV transmits the print parameters designated by the user to the printer together with the XHTML data. The designated paper size is hereinafter referred to as “paper size (DTV)”.
次に、プリンタは受信したXHTMLデータを解析する。この時、XHTMLデータ中に用紙サイズの指定が記述されている場合がある。このXHTMLデータ中に記述されている用紙サイズを、以下、「用紙サイズ(XHTML)」と呼ぶ。XHTMLデータ中で用紙サイズ(XHTML)が指定されている場合、用紙サイズ(DTV)と用紙サイズ(XHTML)の両方が存在することになるが、用紙サイズ(XHTML)を優先するようにXHTMLプリントの規格で定められている。また、規格では、DTV又はXHTMLデータによって指定された用紙サイズや用紙タイプと、プリンタの用紙トレイに入っている用紙(印刷媒体)の用紙サイズや用紙タイプとが異なる場合でも印刷を実行しなければならないと定められている。即ち、プリンタは、印刷をキャンセルしてはならない。このため、プリンタは、指定された用紙サイズ及び用紙タイプと、プリンタの用紙トレイに入っている用紙の用紙サイズ及び用紙タイプを考慮して、最適な用紙サイズ及び用紙タイプの用紙を決定し、印刷を実行する。 Next, the printer analyzes the received XHTML data. At this time, the specification of the paper size may be described in the XHTML data. The paper size described in the XHTML data is hereinafter referred to as “paper size (XHTML)”. When the paper size (XHTML) is specified in the XHTML data, both the paper size (DTV) and the paper size (XHTML) exist, but the XHTML print is given priority over the paper size (XHTML). It is defined in the standard. Also, according to the standard, even if the paper size or paper type specified by the DTV or XHTML data is different from the paper size or paper type of the paper (printing medium) in the paper tray of the printer, printing must be executed. It is stipulated that it should not be. That is, the printer must not cancel printing. For this reason, the printer determines the optimum paper size and paper type in consideration of the specified paper size and paper type and the paper size and paper type of the paper in the paper tray of the printer, and prints. Execute.
また、従来のPCを用いた印刷では、PCで指定された用紙サイズや用紙タイプと、プリンタの用紙トレイに入っている用紙の用紙サイズや用紙タイプとが異なる場合に対処する、以下のような技術が知られている(特許文献1、2、及び3参照)。
Also, in the case of printing using a conventional PC, a case where the paper size or paper type specified by the PC is different from the paper size or paper type of the paper in the paper tray of the printer is handled as follows. Techniques are known (see
特許文献1では、PCで指定された用紙サイズと、プリンタにセットされている用紙サイズの大小関係を判断し、プリンタにセットされている用紙サイズの方が大きい時のみ印刷を行う。プリンタにセットされている用紙サイズの方が小さい時は、印刷をキャンセルする。これにより、印刷結果の欠落を防止することを実現している。 In Patent Document 1, the size relationship between the paper size specified by the PC and the paper size set in the printer is determined, and printing is performed only when the paper size set in the printer is larger. When the paper size set in the printer is smaller, printing is canceled. Thus, it is possible to prevent missing print results.
特許文献2では、PCで指定された用紙サイズと、プリンタにセットされている用紙の用紙サイズの不一致エラーがどのような原因で生じたかを判断し、それぞれ異なるエラー表示を行う。これにより、エラーの解除操作の簡便化を図ると共に、用紙サイズの不一致エラーが繰り返し発生することを防止している。
In
特許文献3では、PCで指定された用紙サイズの用紙がプリンタにセットされていない場合には、PCで指定された用紙サイズに近い用紙サイズの用紙を用いて印刷を続行している。 In Patent Document 3, when a sheet having a paper size designated by the PC is not set in the printer, printing is continued using a paper having a paper size close to the paper size designated by the PC.
しかしながら、プリンタが最適な用紙サイズ及び用紙タイプを決定する場合、ユーザの意図しない用紙サイズ及び用紙タイプの用紙に対して印刷が行われる可能性がある。この対策として、DTVがXHTMLプリントを実行する際に、以下に説明するような、UPnP(Universal Plug And Play)を利用した方法が提案されている。 However, when the printer determines the optimum paper size and paper type, there is a possibility that printing will be performed on paper of a paper size and paper type not intended by the user. As a countermeasure, a method using UPnP (Universal Plug And Play) as described below has been proposed when the DTV executes XHTML printing.
DTVのUIでユーザが印刷パラメータを指定する際に、CriticalAttributeというパラメータを使用する。ユーザは、CriticalAttributeとして、例えば用紙サイズや用紙タイプといったパラメータを指定することができる。CriticalAttributeで指定されたパラメ−タについては、印刷時にプリンタが変更してはならない。プリンタは、DTVで指定された印刷パラメータを使用できない場合、印刷をキャンセルしなければならない。また、XHTML中に印刷パラメータが記述されている場合、こちらが優先されるので、この印刷パラメータを使用できない場合、プリンタは印刷をキャンセルしなければならない。これにより、ユーザの意図しない用紙に対する印刷が防止される。
前述のように、DTVで指定した用紙サイズ(DTV)とXHTML中に記述されている用紙サイズ(XHTML)の両方が存在する場合、用紙サイズ(XHTML)が優先される。この時、XHTML中に記述されている用紙サイズ(XHTML)が、プリンタが対応しない用紙サイズであった場合、プリンタにセットされている用紙の用紙サイズをXHTML中に記述されている用紙サイズ(XHTML)の用紙に変更できない。そのため、用紙サイズの不一致に起因するエラーを解消することができず、そのXHTMLデータに基づく印刷が不可能である。 As described above, when both the paper size specified by DTV (DTV) and the paper size (XHTML) described in XHTML exist, the paper size (XHTML) has priority. At this time, if the paper size (XHTML) described in XHTML is a paper size not supported by the printer, the paper size of the paper set in the printer is changed to the paper size (XHTML) described in XHTML. ) Paper cannot be changed. For this reason, errors due to paper size mismatch cannot be resolved, and printing based on the XHTML data is impossible.
DTVとプリンタとは、ネットワーク上で接続される際に、プリンタが対応する用紙サイズをDTVに通知するのが一般的である。また、プリンタにセットされている用紙の用紙サイズをユーザが知っている可能性も高い。このため、用紙サイズ(DTV)としてプリンタが対応していないものが指定される可能性はそれほど高くない。しかしながら、用紙サイズ(XHTML)については、プリンタの性能を知らないコンテンツメーカが作成するため、上記のような現象がおきる可能性が高い。 When a DTV and a printer are connected on a network, the DTV and the printer generally notify the DTV of the paper size supported by the printer. In addition, there is a high possibility that the user knows the paper size of the paper set in the printer. For this reason, the possibility that the printer does not support the paper size (DTV) is not so high. However, since the paper size (XHTML) is created by a content maker who does not know the performance of the printer, there is a high possibility that the above phenomenon will occur.
また、用紙サイズ(XHTML)をプリンタがサポートしている場合であっても、対応する用紙がプリンタにセットされていない場合は印刷がキャンセルされる。印刷を続行するためには、ユーザはプリンタにセットされている用紙を変更する必要があるが、この作業はユーザにとって煩雑である。 Even if the printer supports the paper size (XHTML), printing is canceled if the corresponding paper is not set in the printer. In order to continue printing, the user needs to change the paper set in the printer, but this operation is complicated for the user.
本発明はこのような状況に鑑みてなされたものであり、ユーザが意図していない印刷媒体の属性に従って印刷が行われてしまうことを低減させるための技術を提供することを目的とする。 The present invention has been made in view of such a situation, and an object thereof is to provide a technique for reducing the occurrence of printing in accordance with the attributes of a print medium not intended by the user .
上記課題を解決するために、第1の本発明は、印刷データに基づく画像を印刷媒体に印刷する印刷装置であって、印刷データ、及び当該印刷データに基づく画像が印刷される印刷媒体の属性を指定するための第1媒体パラメータを外部装置から受信する受信手段と、前記受信手段により受信された印刷データに基づく画像が印刷される印刷媒体の属性を指定するための第2媒体パラメータを、当該印刷データから抽出する抽出手段と、前記受信手段により受信された印刷データに基づく画像を印刷媒体に印刷する印刷手段と、前記印刷装置にセットされている印刷媒体の属性を判定する判定手段と、を有し、前記印刷手段は、前記第2媒体パラメータが指定する属性に対応する印刷媒体が当該印刷装置にセットされておらず、前記第1媒体パラメータが指定する属性に対応する印刷媒体が当該印刷装置にセットされていると判定された場合に、前記受信手段により受信された印刷データに基づく画像を、前記第1媒体パラメータが指定する属性に従って、当該属性に対応する印刷媒体に印刷することを特徴とする印刷装置を提供する。 In order to solve the above problems, a first aspect of the present invention is a printing apparatus that prints an image based on print data on a print medium, the print data and an attribute of the print medium on which the image based on the print data is printed receiving means for receiving a first medium parameter for specifying an external device, a second medium parameters for specifying the attributes of the medium with the image based on the received print data by the pre-Symbol receiving means is printed the, you determine an extraction means for extracting from the print data, and printing means for printing an image based on received print data by said receiving means into a print medium, the attribute of the print medium set in the printing device It has a determine constant means, said printing means, said second medium parameters print medium corresponding to the attribute that specifies is not set in the printing device, wherein the first medium path When it is determined that the print medium corresponding to the attribute specified by the meter is set in the printing apparatus, an image based on the print data received by the receiving unit is determined according to the attribute specified by the first medium parameter. , to provide a printing apparatus which is characterized that you print on the print medium corresponding to the attribute.
また、第2の本発明は、印刷データに基づく画像を印刷媒体に印刷する印刷装置の制御方法であって、前記印刷装置の受信手段が、印刷データ、及び当該印刷データに基づく画像が印刷される印刷媒体の属性を指定するための第1媒体パラメータを外部装置から受信する受信工程と、前記印刷装置の抽出手段が、前記受信工程において受信された印刷データに基づく画像が印刷される印刷媒体の属性を指定するための第2媒体パラメータを、当該印刷データから抽出する抽出工程と、前記印刷装置の印刷手段が、前記受信工程において受信された印刷データに基づく画像を印刷媒体に印刷する印刷工程と、前記印刷装置の判定手段が、前記印刷装置にセットされている印刷媒体の属性を判定する判定工程と、を有し、前記印刷手段は前記印刷工程において、前記第2媒体パラメータが指定する属性に対応する印刷媒体が当該印刷装置にセットされておらず、前記第1媒体パラメータが指定する属性に対応する印刷媒体が当該印刷装置にセットされていると判定された場合に、前記受信工程において受信された印刷データに基づく画像を、前記第1媒体パラメータが指定する属性に従って、当該属性に対応する印刷媒体に印刷することを特徴とする制御方法を提供する。 According to a second aspect of the present invention, there is provided a printing apparatus control method for printing an image based on print data on a print medium, wherein the receiving unit of the printing apparatus prints the print data and the image based on the print data. Receiving a first medium parameter for designating an attribute of the printing medium to be received from an external device, and a printing medium on which an extracting unit of the printing device prints an image based on the print data received in the receiving step the second medium parameters for specifying the attributes of an extraction step of extracting from the print data, the printing unit of the printing apparatus, which prints an image based on print data received in the reception step to a printing medium and printing step, the determination means of the printing device, anda determine the constant step you determine the attributes of the print medium set in the printing device, the printing means the print The print medium corresponding to the attribute specified by the second medium parameter is not set in the printing apparatus, and the print medium corresponding to the attribute specified by the first medium parameter is set in the printing apparatus. when it is determined that there, an image based on print data received in the reception step, according to the attributes of the first medium parameter specifies the control which is characterized that you print on the print medium corresponding to the attribute Provide a method.
なお、その他の本発明の特徴は、添付図面及び以下の発明を実施するための最良の形態における記載によって更に明らかになるものである。 Other features of the present invention will become more apparent from the accompanying drawings and the following description of the best mode for carrying out the invention.
以上の構成により、本発明によれば、ユーザが意図していない印刷媒体の属性に従って印刷が行われてしまうことを低減させることが可能となる。 With the configuration described above, according to the present invention, it is possible to reduce the fact that printing is performed according to the attributes of the print medium that are not intended by the user .
以下、添付図面を参照して、本発明の実施例を説明する。以下で説明される個別の実施例は、本発明の上位概念から下位概念までの種々の概念を理解するために役立つであろう。 Embodiments of the present invention will be described below with reference to the accompanying drawings. The individual embodiments described below will help to understand various concepts from the superordinate concept to the subordinate concept of the present invention.
なお、本発明の技術的範囲は、特許請求の範囲によって確定されるのであって、以下の個別の実施例によって限定されるわけではない。また、実施例の中で説明されている特徴の組み合わせすべてが、本発明に必須とは限らない。 The technical scope of the present invention is determined by the scope of the claims, and is not limited by the following individual embodiments. In addition, all combinations of features described in the embodiments are not necessarily essential to the present invention.
また、実施例のいくつかの構成によれば、以下の2つの課題が解決される。 In addition, according to some configurations of the embodiments, the following two problems are solved.
第1の課題は、ユーザがプリンタにどの用紙サイズや用紙タイプの用紙をセットすればよいか分からないという課題である。例えば、10種類の用紙サイズ、及び10種類の用紙タイプをサポートするプリンタを考える。CriticalAttributeで用紙サイズ又は用紙タイプの片方が指定された場合、1/10の確率で印刷できるようになる。CriticalAttributeで用紙サイズ及び用紙タイプの両方が指定された場合、1/100の確率で印刷できるようになる。このため、ユーザにどの用紙サイズ及び用紙タイプの用紙に変更すればよいかを通知する構成を提供することは有用である。 The first problem is that the user does not know which paper size or paper type should be set in the printer. For example, consider a printer that supports 10 paper sizes and 10 paper types. When one of the paper size or the paper type is designated in CriticalAttribute, printing can be performed with a probability of 1/10. If both the paper size and the paper type are specified in CriticalAttribute, printing can be performed with a probability of 1/100. For this reason, it is useful to provide a configuration for notifying the user of which paper size and paper type the paper should be changed to.
第2の課題は、DTVがプリンタからの通知を必ずしも理解できないという課題である。UPnPの規格では、変更すべき用紙サイズや用紙タイプをDTVに通知するために、GetPrinterStatusStringコマンドを使用することができる。しかしながら、このコマンドはオプションであるため、DTVとプリンタの両方がサポートしなければならない。従って、ユーザにどの用紙サイズ及び用紙タイプの用紙に変更すればよいかをより確実に通知するための構成を提供することは有用である。 The second problem is that the DTV cannot always understand the notification from the printer. In the UPnP standard, the GetPrinterStatusString command can be used to notify the DTV of the paper size or paper type to be changed. However, this command is optional and must be supported by both the DTV and the printer. Therefore, it is useful to provide a configuration for more reliably notifying the user which paper size and paper type should be changed.
最初に、図5を用いて、XHTMLプリントを実現するためのシステムの概略を説明する。 First, an outline of a system for realizing XHTML printing will be described with reference to FIG.
図5において、XHTMLプリントに対応したプリンタユニット400と、XHTMLプリントに対応したDTV501とが、ルータ500を介してLANで接続されている。ルータ500は、DHCPサーバやDNSサーバ等の機能を備えていてもよい。また、ルータ500は、WANを経由してWEBサーバ502と接続されている。なお、ルータ500とWEBサーバ502とはLANを経由して接続されていてもよい。
In FIG. 5, a
次に、図4を用いて、プリンタユニット400の概略を説明する。
Next, the outline of the
プリンタユニット400は、プリンタ100とLANユニット300を備え、これらはUSBインタフェースを介して相互に接続されている。プリンタ100はLANインタフェースを備えないが、LANユニット300に接続されることにより、LANに接続されたネットワークプリンタとして動作することが可能となる。
The
次に、図3を用いて、LANユニット300の概略を説明する。
Next, the outline of the
LANユニット300は、CPU301、ROM302、RAM303、LAN通信部304、及びUSBホスト制御部305を備える。
The
CPU301は、ROM302及びRAM303に格納されたプログラムに従って、システムバスを介してLANユニット300全体の動作を制御する。
The
ROM302は、CPU301の制御プログラム等を格納している。
The
RAM303は、一時的にプログラムや画像データを記憶する。
The
LAN通信部304は、LANによる通信を行う部分であり、種々のベンダから供給されているLANコントロールチップを用いて実装可能である。また、通信の認証の手間を省くため、種々のベンダから供給されているPCMCIAカード型LANアダプタを、PCMCIAカードコントローラ(不図示)を通してCPUバスに接続してもよい。本実施例では、LAN通信部304は、ルータ500に接続される。
The
USBホスト制御部305は、USBインタフェースの通信制御を行うものであり、USB通信規格に従って、CPU301からのデータをパケットに変換し、プリンタ100のUSBファンクション制御部114(図1)にUSBパケットを送信する。また、逆にプリンタ100のUSBファンクション制御部114からのUSBパケットをデータに変換して、CPU301に送信する。通信制御方法に関しては、任意の知られている方法を使用可能であるため、説明を省略する。
The USB
USBホスト制御部305とプリンタ100のUSBファンクション制御部114(図1)とが接続されることにより、ネットワークプリンタとして動作可能なプリンタユニット400が構成される。図4では、異なるCPUを持つプリンタ100とLANユニット300とをUSBインタフェースで接続しているが、プリンタ100がLAN通信部304の機能を備えるように構成してもよい。この場合、LANユニット300は不要である。
By connecting the USB
図1は、プリンタユニット400を構成するプリンタ100(印刷装置)の概略構成を示すブロック図である。プリンタ100は、DTV501などの制御装置から受信した印刷データ(本実施例では、XHTMLプリント規格に準拠したXHTMLデータ)が表す印刷画像を印刷媒体に印刷する。本実施例では、プリンタ100は複数の給紙トレイ(不図示)を備え、各給紙トレイに種々の印刷媒体をセットすることが可能である。本実施例では、プリンタ100は、スキャナ機能等を備える複合機であるものとするが、スキャナ機能等は必須の機能ではない。
FIG. 1 is a block diagram showing a schematic configuration of a printer 100 (printing apparatus) constituting the
プリンタ100は、CPU101、ROM102、RAM103、画像メモリ104、データ変換部105、読取制御部106、読取部107、操作表示部108、解像度変換処理部109、及び符号復号化処理部110を備える。また、記録制御部111、USBホスト制御部112、記録部113、USBファンクション制御部114、XHTML処理部116、及びCPUバス121を備える。また、USBホスト制御部112には、メモリカード115が接続されている。
The
CPU101は、プリンタ100の全体を制御する。
The
ROM102は、CPU101が実行する制御プログラムやデータテーブル、組み込みオペレーティングシステム(OS)プログラム等の固定データを格納する。本実施例では、ROM102に格納されている各制御プログラムは、ROM102に格納されている組み込みOSの管理下で、スケジューリングやタスクスイッチ、割り込み処理等のソフトウェア実行制御を行う。
The
RAM103は、バックアップ電源を必要とするSRAM(Static Random Access Memory)等で構成され、データバックアップ用の一次電池(不図示)によってデータが維持されている。複数の給紙トレイにセットされている用紙の情報(用紙サイズや用紙タイプなど)もRAM103に保持されている。RAM103には、データが消去されては困るプログラム制御変数等を格納する。また、オペレータが登録した設定値やプリンタ100の管理データ等を格納するメモリエリアも設けられている。
The
画像メモリ104は、DRAM(Dynamic Random Access Memory)等で構成され、画像データを蓄積する。また、一部の領域をソフトウェア処理の実行のためのワークエリアとして確保してある。
The
データ変換部105は、ページ記述言語(PDL:Page Description Language)等の解析や、キャラクタデータのCG(Computer Graphics)展開等、画像データの変換を行う。
The
読取部107は、CISイメージセンサ(密着型イメージセンサ)やCCDイメージセンサ等によって構成され、原稿を光学的に読み取って電気的な画像データに変換する。
The
読取制御部106は、読取部107を制御して原稿を読み取り、電気的な画像データを取得する。そして、画像処理制御部(不図示を介して、2値化処理や中間調処理等の各種画像処理を施し、高精細な画像データを出力する。なお、本実施例では、読取制御部106及び読取部107は、原稿を搬送しながら読み取りを行うシート読取制御方式と、原稿台に固定されている原稿をスキャンするブック読取制御方式の両制御方式に対応しているものとする。
The
操作表示部108は、各種キーを用いて様々な操作を行う操作部と、各種キー、LED(発光ダイオード)とLCD等によって構成され、オペレータによる各種入力操作を受け付ける。また、プリンタ100の動作状況、ステータス状況の表示等を行う表示部を有する(表示部は、例えばLCDによって実装される)。操作表示部108については、図2を参照して後で詳述する。
The
解像度変換処理部109は、ミリ系の画像データとインチ系の画像データの相互変換等の解像度変換制御を行う。なお、解像度変換処理部109において、画像データの拡大縮小処理も可能である。
The resolution
符号復号化処理部110は、プリンタ100で扱う画像データ(非圧縮、MH、MR、MMR、JBIG、JPEG等)を相互に符号復号化処理したり、拡大縮小処理を行ったりする。
The code decoding processing unit 110 mutually performs code decoding processing or enlargement / reduction processing on image data (uncompressed, MH, MR, MMR, JBIG, JPEG, etc.) handled by the
記録制御部111は、印刷される画像データに対し、画像処理制御部(不図示)を介して、スムージング処理や記録濃度補正処理、色補正等の各種画像処理を施すことにより、高精細な画像データに変換し、USBホスト制御部112(後述)に出力する。記録制御部111はまた、USBホスト制御部112を制御することにより、定期的に記録部113の状態情報データを取得する。
The
USBホスト制御部112は、USB通信規格で定められたプロトコルで通信を行う制御部である。USB通信規格は、双方向のデータ通信を高速に行うことが出来る規格であり、1台のホスト(マスター)に対し、複数のハブ又はファンクション(スレーブ)を接続することができる。USBホスト制御部112は、USB通信におけるホストの機能を有する。
The USB
記録部113は、専用CPU(不図示)で制御されるレーザビームプリンタやインクジェットプリンタ等から構成される記録装置であり、USBインタフェース経由で受信したカラー画像データ、またはモノクロ画像データを印刷媒体に印刷する。記録部113は、USBファンクション機能を有し、USBホスト制御部112との間で、USB通信規格で定められたプロトコルで通信を行う。なお、記録部113をCPUバス121に直接接続するようにプリンタ100を構成してもよい。
The
USBファンクション制御部114は、USBインタフェースの通信制御を行うものであり、USB通信規格に従って、プロトコル制御を行う。CPU101が実行するUSBファンクション制御タスクからのデータを、パケットに変換し、LANユニット300のUSBホスト制御部305にUSBパケットの送信を行う。また、逆にUSBホスト制御部305からのUSBパケットを、データに変換してCPU101に送信する。
The USB
メモリカード115は、データ記憶媒体であり、プリンタ100に接続することができる。本実施例では、メモリカード115とプリンタ100とを、USBインタフェースで接続しているが、他の方法で接続するようにしてもよい。プリンタ100は、USBホスト制御部112を通して、画像データやその他の電子データなど、メモリカード115内のデータにアクセスすることができる。
The
XHTML処理部116は、DTV501との間でやりとりするコマンドの送受信を行う。また、USBファンクション制御部114から受信したXHTMLデータやメモリカード内に保存されたXHTMLデータを解析し、記録部113用の印刷データを生成する。XHTMLデータを解析した結果、画像ファイルやスタイルシートファイルが必要となった場合、USBファンクション制御部114経由で、その旨をLANユニット300へ通知する。そして、LANユニット300がWEBサーバ502から取得した画像ファイルやスタイルシートファイルを受け取り、印刷データの生成に使用する。そして生成した印刷データを記録制御部111、USBホスト制御部112、及び記録部113を用いて印刷する。
The
読取部107、記録部113、及びメモリカード115を除く各構成要素は、CPU101が管理するCPUバス121を介して、相互に接続されている。
Components other than the
図2は、プリンタ100に設けられている操作表示部108の具体例を示す図である。
操作表示部108は、LCDビューワ201、電源キー202、コピーモードキー203、スキャンモードキー204、フォトモードキー205、上下左右キー206、メニューキー207、及びユーザ設定キー208を備える。また、フォトインデックスシートキー209、セットキー210、STOPキー211、モノクロスタートキー212、及びカラースタートキー213を備える。
FIG. 2 is a diagram illustrating a specific example of the
The
LCDビューワ201は、メッセージ、オペレーションプロンプト、各種情報を表示するディスプレイである。
The
電源キー202は、プリンタ100の電源をON/OFFするためのキーである。
A
コピーモードキー203は、プリンタ100がコピーできる状態にするキーであり、コピーモードキー203を押下することによって、プリンタ100をコピーモードにすることができる。
The
スキャンモードキー204は、プリンタ100がスキャンできる状態にするキーであり、スキャンモードキー204を押下することによって、プリンタ100をスキャンモードにすることができる。
The
フォトモードキー205は、プリンタ100において、デジタル写真をメモリカード115やUSBホスト制御部112と接続されるデジタルカメラ(不図示)からのダイレクトプリントができる状態にするキーである。フォトモードキー205を押下することによって、プリンタ100をフォトモードにすることができる。
The
上下左右キー206は、メニューやユーザ設定等、ユーザが複数の選択肢から選択を行う際に使用されるキーである。
The up / down / left /
メニューキー207は、コピーや、メモリカードからのダイレクトプリント等の実行時の設定値を設定するためのメニューを表示するキーである。メニューキー207を押下することによって、設定項目をLCDビューワ201に表示することができ、上下左右キー206によって選択し、セットキー210でセットすることができる。
A
ユーザ設定キー208は、ユーザがプリンタ100に設定する設定値を登録するための画面を表示するキーである。ユーザ設定キー208を押下することによって、ユーザ設定項目を、LCDビューワ201に表示することができ、上下左右キー206によって選択し、セットキー210でセットすることができる。
A
フォトインデックスシートキー209は、フォトインデックスシートに印刷し、またはフォトインデックスシートを読み取るための画面に移行させるキーである。
The photo
セットキー210は、選択された項目を決定するキーである。
The
STOPキー211は、ファクシミリ送受信、コピーやその他のオペレーション操作を停止させるキーである。
The
モノクロスタートキー212は、白黒コピー、白黒スキャン等を開始するキーである。
A
カラースタートキー213は、カラーコピー、カラープッシュスキャン、カラー写真印刷等を開始するキーである。 A color start key 213 is a key for starting color copying, color push scanning, color photo printing, and the like.
図6は、プリンタユニット400及びDTV501を用いたXHTMLプリントの動作の流れを示すシーケンス図である。
FIG. 6 is a sequence diagram showing the flow of the operation of XHTML printing using the
まず、S601及びS602において、プリンタユニット400とDTV501はお互いにUPnP規格のSSDP(Simple Service Discovery Protocol)を用いて、お互いの機器を発見と機能の把握を行う。このとき、DTV501からの要求に基づいて、プリンタユニット400が、プリンタユニット400の機能を示すXMLファイルをDTV501に対して送信する。
First, in steps S601 and S602, the
図7に、プリンタユニット400がDTV501に対して送信するXMLファイルの一部の例を示す。
FIG. 7 shows an example of a part of an XML file transmitted from the
Actionlist701は、プリンタユニット400がサポートしている、プリンタユニット400とDTV501との間のコマンドを記述する。CreateJobとは、DTV501からプリンタユニット400に対して印刷を指示するためのコマンドである。また、不図示であるが、本来CreateJobで使用されるOUTとINのパラメータも記述される。また、不図示であるが、CraeteJobの他にも、キャンセルを行うCancelJobやプリンタの状態を取得するGetPrinterAttributesといったコマンドが記述される。
The
MediaSize702、MediaType703、及びPrintQuality704は、Actionlist701の各コマンドで使用されるパラメータの詳細を記述する。本実施例では、これらのうち、MediaSize702及びMediaType703が、印刷媒体の属性の内容を指定する媒体パラメータを示す。
A
図7の例では、MediaSize702は、プリンタユニット400がサポートするMediaSize(用紙サイズ)が、A4/L版/2L/device−settingであることを示している。また、MediaType703は、プリンタユニット400がサポートするMediaType(用紙タイプ)が、普通紙/マット紙/写真紙/device−settingであることを示している。また、PrintQuality704は、プリンタユニット400がサポートするPrintQuality(印刷品位)が、はやい/ふつう/きれい/device−settingであることを示している。ここで、「device−setting」は、プリンタユニット400に設定されている内容に従うということを意味する。
In the example of FIG. 7,
図6に戻り、S603で、ユーザがDTV501から印刷対象のXHTMLデータを選択して印刷を指示する。このとき、ユーザは、MediaSize/MediaType/PrintQuality/CriticalAttribiuteなどを含む印刷パラメータをDTV501のリモコンを用いて、DTV501の画面を見ながら設定する。或いは、DTV501が、データ放送から取得したデータに基づいて自動的に設定してもよい。DTV501は、印刷パラメータをプリンタユニット400へ送信する。
Returning to FIG. 6, in step S <b> 603, the user selects XHTML data to be printed from the
ここで設定されたMediaSizeを用紙サイズ(DTV)とする。また、MediaTypeを用紙タイプ(DTV)とする。プリンタユニット400が、DTV501からのCreatJobコマンドを受信すると、プリンタユニット400の状態をチェックする。そして、印刷できる時には、S604において、JOBIDと呼ばれる値をDTV501に送信する。印刷できないときには、その旨をDTV501に送信し、印刷せずに処理を終了する。
The MediaSize set here is set as the paper size (DTV). Also, MediaType is a paper type (DTV). When the
次に、印刷できるときには、S605において、ユーザが選択した印刷対象のXHTMLデータをプリンタユニット400に送信する。
Next, when printing is possible, in step S605, the XHTML data to be printed selected by the user is transmitted to the
その後、プリンタユニット400は受信したXHTMLデータを解析する。解析した結果、画像ファイルやスタイルシートファイルが必要になった場合、S606において、プリンタユニット400は画像ファイルやスタイルシートファイルのリクエストをWEBサーバ502に送信する。WEBサーバ502は、S607において、リクエストされたファイルをプリンタユニット400に送信する。また、XHTMLデータやスタイルシートファイル中に、下記のような@Pageで指定されたタグが含まれる場合がある。
@page {
size:210mm 297mm portrait;
margin:1mm;
}
ここで「size:」として記載されたパラメータを、用紙サイズ(XHTML)とする。この例の場合、幅210mm/高さ297mmであるため、用紙サイズ(XHTML)はA4である。
Thereafter, the
@page {
size: 210mm 297mm portrait;
margin: 1mm;
}
Here, a parameter described as “size:” is a paper size (XHTML). In this example, since the width is 210 mm / height is 297 mm, the paper size (XHTML) is A4.
次に、S608で、プリンタユニット400は、印刷可否判断を行う。印刷可否判断に際しては、以下の3種類の媒体パラメータが使用される。
In step S <b> 608, the
●S603で取得した用紙サイズ(DTV)及び用紙タイプ(DTV)
●S605又はS607において@Pageのタグが存在した場合に取得した用紙サイズ(XHTML)
●プリンタ100にセットされた用紙の用紙サイズ(以下、「用紙サイズ(プリンタ)」と呼ぶ)及び用紙タイプ(以下、「用紙タイプ(プリンタ)」と呼ぶ)
印刷可能の場合、プリンタユニット400は、使用する用紙の用紙サイズ及び用紙タイプを決定する。逆に、印刷不可能の場合、印刷不可能な理由をユーザに通知する。S608における処理の詳細は、図10を参照して後述する。
● Paper size (DTV) and paper type (DTV) acquired in S603
● Paper size (XHTML) acquired when the tag “@Page” exists in S605 or S607
The paper size of the paper set in the printer 100 (hereinafter referred to as “paper size (printer)”) and paper type (hereinafter referred to as “paper type (printer)”)
If printing is possible, the
最後に、プリンタユニット400がXHTMLデータの印刷を終了すると、S609において、DTV501に印刷ジョブが終了したことを通知する。
Finally, when the
図8は、プリンタ100に対して、給紙トレイに用紙情報を登録する手順を示すフローチャートである。プリンタ100が複数の給紙トレイを持つ場合、各給紙トレイに対して図8の手順を実行することができる。
FIG. 8 is a flowchart showing a procedure for registering paper information in the paper feed tray for the
S801で、ユーザがユーザ設定キー208を押下することによって、プリンタ100に設定する設定値を登録するための画面をLCDビューワ201に表示する。表示された項目の中から、上下左右キー206とセットキー210を用いて、用紙登録を選択する(不図示)。
In step S <b> 801, when the user presses the
ここで、プリンタ100は、最大でA4サイズの用紙をセットできる給紙トレイを持つものとする。図9に、給紙トレイにセットすることが可能な用紙の用紙サイズ及び用紙タイプと、印刷品位とを示す。図9に示す情報は、例えばROM102に格納されている。給紙トレイにはA4/2L/Lの3種類の用紙サイズが、普通紙/写真紙/マット紙の3種類の用紙タイプがセット可能である。
Here, it is assumed that the
S802で、ユーザは、用紙サイズ、用紙タイプ、及び印刷品位について、上下左右キー206とセットキー210を用いて選択する。
In step S <b> 802, the user selects the paper size, paper type, and print quality using the up / down / left /
S803で、プリンタ100は、S802で選択された各パラメータの組み合わせが正しいかをチェックする。このとき、プリンタ100は、ROM102に格納されている情報(図9参照)を参照する。組み合わせが正しい場合、S804で、プリンタ100は、設定が成功したことをLCDビューワ201を用いてユーザに通知し、用紙情報のセットを終了する。ここで設定された用紙サイズ及び用紙タイプはそれぞれ、前述の用紙サイズ(プリンタ)、用紙タイプ(プリンタ)である。組み合わせが正しくない場合、S805で、プリンタ100は、設定が失敗したことをLCDビューワ201を用いてユーザに通知し、用紙情報のセットを終了する。
In step S803, the
本実施例では、操作表示部108を用いて、給紙トレイの用紙情報を登録した。しかし、プリンタユニット400がWEBサーバ機能を持ち、DTV501やプリンタユニット400とLANやWANでつながったPC(不図示)のWEBクライアントから、登録してもよい。また、給紙トレイにメディアセンサを装備し、ユーザが給紙トレイに用紙を入れることによって、プリンタ100が自動的に用紙サイズ及び用紙タイプを取得してもよい。
In this embodiment, the
次に、図10A乃至Dを用いて、プリンタ100が、印刷可否の判断を行い、使用する印刷媒体の属性(用紙サイズ/用紙タイプ)の内容を決定するプロセスについて説明する。また、図11乃至13は、図10A乃至Dで使用されるパラメータとその取り得る値をまとめて示す図である。
Next, a process in which the
これらのパラメータの中で、用紙サイズ(XHTML)は、XHTMLデータやCSSファイルに@Pageのタグが存在しない場合、使用されない。また、用紙サイズ(DTV)がdevice−settingの場合、プリンタ100の給紙トレイに登録されているパラメータが使用されるため、用紙サイズ(DTV)の内容として、用紙サイズ(プリンタ)の内容が用いられる。同様に、用紙タイプ(DTV)がdevice−settingの場合、用紙タイプ(DTV)の内容に用紙タイプ(プリンタ)の内容が用いられる。
Among these parameters, the paper size (XHTML) is not used when the @Page tag does not exist in the XHTML data or CSS file. Further, when the paper size (DTV) is device-setting, the parameters registered in the paper feed tray of the
なお、本実施例では、用紙サイズ(DTV)を第1媒体パラメータ、用紙サイズ(XHTML)を第2媒体パラメータ、用紙サイズ(プリンタ)を第3媒体パラメータとする。従って、媒体パラメータが指定する属性は、印刷媒体のサイズを規定する。しかし、これに限られない。例えば、XHTMLデータが用紙タイプ(以下、「用紙タイプ(XHTML)」と呼ぶ)を記述可能な場合を考える。この場合、用紙タイプ(DTV)を第1媒体パラメータ、用紙タイプ(XHTML)を第2媒体パラメータ、用紙タイプ(プリンタ)を第3媒体パラメータとして、本発明を実施することができる。 In this embodiment, the paper size (DTV) is the first medium parameter, the paper size (XHTML) is the second medium parameter, and the paper size (printer) is the third medium parameter. Therefore, the attribute specified by the medium parameter defines the size of the print medium. However, it is not limited to this. For example, consider a case where XHTML data can describe a paper type (hereinafter referred to as “paper type (XHTML)”). In this case, the present invention can be implemented with the paper type (DTV) as the first medium parameter, the paper type (XHTML) as the second medium parameter, and the paper type (printer) as the third medium parameter.
プリンタ100は、S1001乃至S1003において、図6のS603において受信したパラメータのCriticalAttributeの値が、図11に示す「用紙サイズ&用紙タイプ」「用紙サイズ」「用紙タイプ」「なし」のどれであるかを判定する。このCriticalAttributeの値によって、以後の処理が変化する。
In steps S1001 to S1003, the
CriticalAttributeの値が「用紙サイズ&用紙タイプ」又は「用紙サイズ」である場合、用紙サイズ(DTV)又は用紙サイズ(XHTML)の内容に対応する印刷媒体以外の使用が禁止される。従って、換言すれば、S1001及びS1002において、プリンタ100は、用紙サイズ(DTV)又は用紙サイズ(XHTML)の内容に対応する印刷媒体以外の使用の禁止を指示する禁止指示を、印刷パラメータから検出する。
When the value of CriticalAttribute is “paper size & paper type” or “paper size”, use of a print medium other than the paper size (DTV) or paper size (XHTML) is prohibited. Therefore, in other words, in S1001 and S1002, the
CriticalAttributeの値で「用紙サイズ&用紙タイプ」の両方が指定された場合、S1004で、プリンタ100は、用紙サイズ(XHTML)と用紙サイズ(プリンタ)の内容が同じか否かを判定する。用紙サイズ(XHTML)と用紙サイズ(プリンタ)とが異なる場合や用紙サイズ(XHTML)が存在しない場合、S1005において、プリンタ100は、用紙サイズ(DTV)と用紙サイズ(プリンタ)の内容が同じか否かを判定する。ここで、用紙サイズ(DTV)ではなく用紙サイズ(XHTML)を先に用紙サイズ(プリンタ)と比較しているのは、前述したように用紙サイズ(XHTML)を優先するように、XHTMLプリントの規格で定められているからである。
If both “paper size & paper type” are specified as the value of CriticalAttribute, in step S1004, the
なお、プリンタ100に複数種類の印刷媒体がセットされている場合、S1004では、各印刷媒体の用紙サイズ(プリンタ)について判定が行われ、1つでも内容が一致すれば、S1006に進む。換言すれば、S1004では、プリンタ100は、用紙サイズ(XHTML)が指定する内容に対応する印刷媒体がプリンタ100にセットされているか否かを判定する。このことは、用紙サイズ(プリンタ)や用紙タイプ(プリンタ)との比較が行われる全てのステップにおいて同様である。
When a plurality of types of print media are set in the
続いて、用紙サイズ(DTV)と用紙サイズ(XHTML)のどちらかが用紙サイズ(プリンタ)と同じ値の場合、S1006において、用紙タイプ(DTV)と用紙タイプ(プリンタ)が同じ値かどうかを判定する。同じ値の場合、S1007において、印刷に使用する用紙サイズ/用紙タイプを、用紙サイズ(プリンタ)/用紙タイプ(プリンタ)に決定する。そして、S1026で、プリンタ100は、用紙サイズ(プリンタ)/用紙タイプ(プリンタ)に対応する印刷媒体を使用して印刷を実行する。
Subsequently, when either the paper size (DTV) or the paper size (XHTML) has the same value as the paper size (printer), it is determined in S1006 whether the paper type (DTV) and the paper type (printer) are the same value. To do. If the values are the same, in S1007, the paper size / paper type used for printing is determined as paper size (printer) / paper type (printer). In step S <b> 1026, the
なお、S1007では、説明の便宜上、用紙サイズ(プリンタ)/用紙タイプ(プリンタ)に決定するものとした。しかし、実質的には、用紙サイズについては、S1004又はS1005において用紙サイズ(プリンタ)と同じであると判断された用紙サイズ(DTV)又は用紙サイズ(XHTML)に決定される。従って、例えば用紙サイズ(XHTML)に対応する印刷媒体がプリンタ100にセットされている場合、この印刷媒体が印刷のために使用される。これは、用紙タイプ(プリンタ)についても同様である。また、後述するS1010、S1013、S1015、S1020、及びS1025においても同様である。
In S1007, for convenience of explanation, the paper size (printer) / paper type (printer) is determined. However, the paper size is substantially determined to be the paper size (DTV) or the paper size (XHTML) determined to be the same as the paper size (printer) in S1004 or S1005. Therefore, for example, when a print medium corresponding to the paper size (XHTML) is set in the
用紙サイズ(DTV)と用紙サイズ(XHTML)のどちらも用紙サイズ(プリンタ)と異なる値の場合や、用紙タイプ(DTV)と用紙タイプ(プリンタ)が異なる値の場合、CriticalAttributeの条件を満たせない。そこで、S1027において、プリンタ100は、印刷キャンセルを行う。続いて、S1028において、キャンセル理由および変更すべき内容をユーザに通知する。S1028の処理については、図15を参照して後述する。
When both the paper size (DTV) and the paper size (XHTML) are different from the paper size (printer), or when the paper type (DTV) and the paper type (printer) are different values, the condition of CriticalAttribute cannot be satisfied. In step S1027, the
次に、CriticalAttributeの値で「用紙サイズ」のみが指定された場合、S1008において、用紙サイズ(XHTML)と用紙サイズ(プリンタ)が同じ値かどうかを判定する。用紙サイズ(XHTML)と用紙サイズ(プリンタ)が異なる場合や用紙サイズ(XHTML)が存在しない場合、S1009において、用紙サイズ(DTV)と用紙サイズ(プリンタ)が同じ値かどうかを判定する。用紙サイズ(DTV)と用紙サイズ(XHTML)のどちらかが用紙サイズ(プリンタ)と同じ値の場合、S1010において、印刷に使用する用紙サイズを、用紙サイズ(プリンタ)に決定する。続いて、S1011において、用紙サイズ(プリンタ)と用紙タイプ(DTV)の組み合わせが正しいかどうかを、図9を用いて判定する。組み合わせが正しい場合、S1012において、印刷に使用する用紙タイプを、用紙タイプ(DTV)に決定し、S1026において、用紙サイズ(プリンタ)/用紙タイプ(DTV)を使用して印刷を実行する。また、組み合わせが正しくない場合、S1013において、印刷に使用する用紙タイプを、用紙タイプ(プリンタ)に決定し、S1026において、用紙サイズ(プリンタ)/用紙タイプ(プリンタ)を使用して印刷を実行する。 Next, when only “paper size” is designated as the value of CriticalAttribute, it is determined in step S1008 whether the paper size (XHTML) and the paper size (printer) are the same value. If the paper size (XHTML) is different from the paper size (printer) or there is no paper size (XHTML), it is determined in step S1009 whether the paper size (DTV) and the paper size (printer) are the same value. If either the paper size (DTV) or the paper size (XHTML) is the same value as the paper size (printer), the paper size used for printing is determined as the paper size (printer) in S1010. Subsequently, in S1011, it is determined using FIG. 9 whether the combination of the paper size (printer) and the paper type (DTV) is correct. If the combination is correct, the paper type used for printing is determined to be the paper type (DTV) in S1012, and printing is executed using the paper size (printer) / paper type (DTV) in S1026. If the combination is not correct, the paper type used for printing is determined as the paper type (printer) in S1013, and printing is executed using the paper size (printer) / paper type (printer) in S1026. .
また、S1009の判定でNOの場合、つまり、用紙サイズ(DTV)と用紙サイズ(XHTML)のどちらも用紙サイズ(プリンタ)と異なる値の場合、CriticalAttributeの条件を満たせない。そこで、S1027において、印刷キャンセルを行う。続いて、S1028において、キャンセル理由および変更すべき内容をユーザに通知する。 If the determination in S1009 is NO, that is, if both the paper size (DTV) and the paper size (XHTML) are different values from the paper size (printer), the condition of CriticalAttribute cannot be satisfied. Therefore, in S1027, print cancellation is performed. Subsequently, in S1028, the user is notified of the reason for cancellation and the content to be changed.
次に、CriticalAttributeの値で「用紙タイプ」のみが指定された場合、S1014において、用紙タイプ(DTV)と用紙タイプ(プリンタ)が同じ値かどうかを判定する。用紙タイプ(DTV)と用紙タイプ(プリンタ)が異なる場合、CriticalAttributeの条件を満たせない。そこで、S1027において、印刷キャンセルを行う。続いて、S1028において、キャンセル理由および変更すべき内容をユーザに通知する。 Next, when only “paper type” is specified as the value of CriticalAttribute, in S1014, it is determined whether or not the paper type (DTV) and the paper type (printer) are the same value. When the paper type (DTV) and the paper type (printer) are different, the condition of CriticalAttribute cannot be satisfied. Therefore, in S1027, print cancellation is performed. Subsequently, in S1028, the user is notified of the reason for cancellation and the content to be changed.
一方、S1014において、用紙タイプ(DTV)と用紙タイプ(プリンタ)が同じ場合、S1015において、印刷に使用する用紙タイプを、用紙タイプ(プリンタ)に決定する。続いて、S1016において、用紙サイズ(XHTML)と用紙タイプ(プリンタ)の組み合わせが正しいかどうかを、図9を用いて判定する。組み合わせが正しい場合、S1017において、印刷に使用する用紙サイズを、用紙サイズ(XHTML)に決定し、S1026において、用紙サイズ(XHTML)/用紙タイプ(プリンタ)を使用して印刷を実行する。また、組み合わせが正しくない場合や用紙サイズ(XHTML)が存在しない場合、S1018において、用紙サイズ(DTV)と用紙タイプ(プリンタ)の組み合わせが正しいかどうかを、図9を用いて判定する。組み合わせが正しい場合、S1019において、印刷に使用する用紙サイズを、用紙サイズ(DTV)に決定し、S1026において、用紙サイズ(DTV)/用紙タイプ(プリンタ)を使用して印刷を実行する。また、組み合わせが正しくない場合、S1020において、印刷に使用する用紙サイズを、用紙サイズ(プリンタ)に決定し、S1026において、用紙サイズ(プリンタ)/用紙タイプ(プリンタ)を使用して印刷を実行する。 On the other hand, if the paper type (DTV) and the paper type (printer) are the same in S1014, the paper type used for printing is determined to be the paper type (printer) in S1015. Subsequently, in S1016, it is determined using FIG. 9 whether the combination of the paper size (XHTML) and the paper type (printer) is correct. If the combination is correct, the paper size used for printing is determined as the paper size (XHTML) in S1017, and printing is executed using the paper size (XHTML) / paper type (printer) in S1026. If the combination is not correct or the sheet size (XHTML) does not exist, it is determined in step S1018 whether or not the combination of the sheet size (DTV) and the sheet type (printer) is correct. If the combination is correct, the paper size used for printing is determined as the paper size (DTV) in S1019, and printing is executed using the paper size (DTV) / paper type (printer) in S1026. If the combination is not correct, the paper size used for printing is determined as the paper size (printer) in S1020, and printing is executed using the paper size (printer) / paper type (printer) in S1026. .
次に、CriticalAttributeの値で、何も指定されていない場合、S1021において、用紙サイズ(XHTML)と用紙タイプ(DTV)の組み合わせが正しいかどうかを、図9を用いて判定する。組み合わせが正しい場合、S1022において、印刷に使用する用紙サイズ/用紙タイプを、用紙サイズ(XHTML)/用紙タイプ(DTV)に決定し、S1026において、用紙サイズ(XHTML)/用紙タイプ(DTV)を使用して印刷を実行する。また、組み合わせが正しくない場合や用紙サイズ(XHTML)が存在しない場合、S1023において、用紙サイズ(DTV)と用紙タイプ(DTV)の組み合わせが正しいかどうかを、図9を用いて判定する。組み合わせが正しい場合、S1024において、印刷に使用する用紙サイズ/用紙タイプを、用紙サイズ(DTV)/用紙タイプ(DTV)に決定し、S1026において、用紙サイズ(DTV)/用紙タイプ(DTV)を使用して印刷を実行する。また、組み合わせが正しくない場合、S1025において、印刷に使用する用紙サイズ/用紙タイプを、用紙サイズ(プリンタ)/用紙タイプ(プリンタ)に決定し、S1026において、用紙サイズ(プリンタ)/用紙タイプ(プリンタ)を使用して印刷を実行する。 Next, when nothing is specified as the value of CriticalAttribute, in S1021, it is determined using FIG. 9 whether the combination of the paper size (XHTML) and the paper type (DTV) is correct. If the combination is correct, the paper size / paper type used for printing is determined as paper size (XHTML) / paper type (DTV) in S1022, and the paper size (XHTML) / paper type (DTV) is used in S1026. And execute printing. If the combination is not correct or the sheet size (XHTML) does not exist, it is determined in step S1023 whether the combination of the sheet size (DTV) and the sheet type (DTV) is correct. If the combination is correct, the paper size / paper type used for printing is determined as paper size (DTV) / paper type (DTV) in S1024, and the paper size (DTV) / paper type (DTV) is used in S1026. And execute printing. If the combination is not correct, the paper size / paper type used for printing is determined to be paper size (printer) / paper type (printer) in S1025, and in S1026, the paper size (printer) / paper type (printer) is determined. ) To print.
次に、図15を参照して、CriticalAttributeの条件を満たせないためにプリンタ100が印刷キャンセルを行った後に、その理由をユーザに通知するプロセスについて説明する。
Next, a process for notifying the user of the reason after the
ユーザに通知する内容としては、「キャンセル理由」と「変更すべき値」の2つが挙げられる。図14に、これらの内容についてまとめた。「キャンセル理由」と「変更すべき値」の組み合わせとしては、4種類考えられ、それぞれをエラーA、エラーB、エラーC、エラーDと呼ぶ。 There are two contents to be notified to the user: “cancellation reason” and “value to be changed”. FIG. 14 summarizes these contents. There are four possible combinations of “reason for cancellation” and “value to be changed”, which are referred to as error A, error B, error C, and error D, respectively.
まず、S1501において、プリンタ100がS603において受信したパラメータのCriticalAttributeの値が、図11に示す「用紙サイズ&用紙タイプ」であるかどうかを判定する。CriticalAttributeの値が「用紙サイズ&用紙タイプ」でない場合、S1502において、CriticalAttributeの値が、「用紙サイズ」のみかどうかを判断する。CriticalAttributeの値が、「用紙サイズ」のみである場合、プリンタ100にセットされた用紙の用紙サイズ(プリンタ)を、用紙サイズ(XHTML)または用紙サイズ(DTV)に変更すれば、印刷可能となる。そこで、S1503で、プリンタ100は、キャンセル理由に「用紙サイズのミスマッチ」を、変更すべき(プリンタ100の給紙カセットの)値を「用紙サイズ(XHTML)or用紙サイズ(DTV)」に設定する。ここで、用紙サイズ(DTV)と用紙サイズ(XHTML)の両方ある場合には、用紙サイズ(XHTML)を優先するようにXHTMLプリントの規格で定められているので、用紙サイズ(XHTML)のみをユーザに通知してもよい。また、プリンタ100が用紙サイズ(XHTML)をサポートするか否かを図13を用いて判断し、サポートする場合は用紙サイズ(XHTML)のみをユーザに通知し、サポートしない場合は用紙サイズ(DTV)のみをユーザに通知してもよい。
First, in step S1501, the
続いて、S1505において、設定した「キャンセル理由」と「変更すべき(プリンタ100の給紙カセットの)値」をユーザに通知する。通知の方法としては、プリンタ100の持つLCDビューワ201に表示することが挙げられる。また、前述のUPnPの規格で定められたGetPrinterStatusStringコマンドを使用してプリンタユニット400の状態をDTV501に通知し、DTV501に通知内容を表示してもよい。または、プリンタユニット400がWEBサーバ機能を持つ場合、プリンタユニット400のWEBサーバにこれらの情報を格納してもよい。この場合、DTV501やプリンタユニット400とLANやWANでつながったPCのWEBクライアントから、プリンタユニット400のWEBサーバにアクセスすることにより、ユーザは通知内容を見ることができる。
In step S <b> 1505, the user is notified of the set “reason for cancellation” and “value to be changed (for the paper feed cassette of the printer 100)”. As a notification method, displaying on the
また、S1502において、CriticalAttributeの値が、「用紙サイズ」のみでない場合、CriticalAttributeの値が、「用紙タイプ」のみであることが分かる。この場合、プリンタ100にセットされた用紙タイプ(プリンタ)を、用紙タイプ(DTV)に変更すれば、印刷可能となる。そこで、S1504において、キャンセル理由に「用紙タイプのミスマッチ」を、変更すべき(プリンタ100の給紙カセットの)値を「用紙タイプ(DTV)」に設定する。続いて、S1505において、設定した「キャンセル理由」と「変更すべき(プリンタ100の給紙カセットの)値」をユーザに通知する。
Also, in S1502, if the value of CriticalAttribute is not only “paper size”, it can be seen that the value of CriticalAttribute is only “paper type”. In this case, printing can be performed by changing the paper type (printer) set in the
また、S1501において、CriticalAttributeの値が「用紙サイズ&用紙タイプ」である場合、S1506において、用紙サイズ(XHTML)と用紙タイプ(DTV)の組み合わせが正しいかどうかを、図9を用いて判定する。これは、組み合わせが正しくない場合に、給紙トレイに用紙サイズ/用紙タイプをセットできないからである。組み合わせが正しい場合、S1507において、キャンセル理由に「用紙サイズ&用紙タイプのミスマッチ」を、変更すべき(プリンタ100の給紙カセットの)値を「用紙サイズ(XHTML)/用紙タイプ(DTV)」に設定する。続いて、S1505において、設定した「キャンセル理由」と「変更すべき(プリンタ100の給紙カセットの)値」をユーザに通知する。 If the value of CriticalAttribute is “paper size & paper type” in S1501, it is determined in S1506 whether or not the combination of the paper size (XHTML) and the paper type (DTV) is correct. This is because the paper size / paper type cannot be set in the paper feed tray when the combination is not correct. If the combination is correct, in S1507, “mismatch of paper size & paper type” is set as the reason for cancellation, and the value to be changed (in the paper feed cassette of the printer 100) is changed to “paper size (XHTML) / paper type (DTV)”. Set. In step S <b> 1505, the user is notified of the set “reason for cancellation” and “value to be changed (for the paper feed cassette of the printer 100)”.
S1506において、用紙サイズ(XHTML)と用紙タイプ(DTV)の組み合わせが正しくない場合、S1508において、用紙サイズ(DTV)と用紙タイプ(DTV)の組み合わせが正しいかどうかを、図9を用いて判定する。組み合わせが正しい場合、S1509において、キャンセル理由に「用紙サイズ&用紙タイプのミスマッチ」を、変更すべき(プリンタ100の給紙カセットの)値を「用紙サイズ(DTV)/用紙タイプ(DTV)」に設定する。続いて、S1505において、設定した「キャンセル理由」と「変更すべき(プリンタ100の給紙カセットの)値」をユーザに通知する。 If the combination of the paper size (XHTML) and the paper type (DTV) is not correct in S1506, it is determined in S1508 whether the combination of the paper size (DTV) and the paper type (DTV) is correct using FIG. . If the combination is correct, in S1509, “mismatch of paper size & paper type” is set as the reason for cancellation, and the value to be changed (in the paper feed cassette of the printer 100) is changed to “paper size (DTV) / paper type (DTV)”. Set. In step S <b> 1505, the user is notified of the set “reason for cancellation” and “value to be changed (for the paper feed cassette of the printer 100)”.
S1508において、用紙サイズ(DTV)と用紙タイプ(DTV)の組み合わせが正しくない場合、S1510において、キャンセル理由に「用紙サイズ&用紙タイプの組み合わせのミスマッチ」を設定する。この場合、プリンタ100の給紙トレイの用紙サイズ/用紙タイプに何を設定しても、CriticalAttributeの条件を満たせないため、「変更すべき(プリンタ100の給紙カセットの)値」には何も設定しない。続いて、S1505において、設定した「キャンセル理由」をユーザに通知する。この場合、ユーザがプリンタ100の給紙トレイの用紙サイズ/用紙タイプに何を設定しても、CriticalAttributeの条件を満たせないため、永遠に印刷できなくなってしまう。そこで、プリンタ100の持つLCDビューワ201から、CriticalAttributeの指定を「無効」にするように指示できるようにしてもよい。また、プリンタユニット400がWEBサーバ機能を持つ場合、DTV501やプリンタユニット400とLANやWANでつながったPCのWEBクライアントから、CriticalAttributeの指定を「無効」にするように指示できるようにしてもよい。
If the combination of paper size (DTV) and paper type (DTV) is not correct in S1508, “mismatch of paper size & paper type combination” is set as the reason for cancellation in S1510. In this case, no matter what value is set for the paper size / paper type of the paper feed tray of the
次に、図10A乃至D及び図15の処理に関して、具体例を説明する。まず前提として、プリンタ100の給紙トレイに用紙サイズ(プリンタ)としてLが、用紙タイプ(プリンタ)としてマット紙が登録されているものとする。
Next, a specific example will be described regarding the processing of FIGS. 10A to 10D and FIG. First, it is assumed that L is registered as the paper size (printer) and matte paper is registered as the paper type (printer) in the paper feed tray of the
<ケース1>
●用紙サイズ(DTV):L
●用紙サイズ(XHTML):2L
●用紙タイプ(DTV):マット紙
●CriticalAttribute:用紙サイズ&用紙タイプ
CriticalAttributeで用紙サイズ&用紙タイプが指定されているため、図10AにおいてS1001からS1004に進む。用紙サイズ(XHTML)が2Lで、用紙サイズ(プリンタ)がLのため、用紙サイズ(XHTML)と用紙サイズ(プリンタ)が異なるため、S1005に進む。用紙サイズ(DTV)がLで、用紙サイズ(プリンタ)がLのため、用紙サイズ(DTV)と用紙サイズ(プリンタ)が同じため、S1006に進む。用紙タイプ(DTV)と用紙タイプ(プリンタ)が共にマット紙のため、S1007に進み、印刷に使用する用紙サイズ/用紙タイプを用紙サイズ(プリンタ)/用紙タイプ(プリンタ)に決定する。続いてS1026において、L/マット紙で印刷を行う。
<Case 1>
● Paper size (DTV): L
● Paper size (XHTML): 2L
● Paper Type (DTV): Matte Paper ● Critical Attribute: Paper Size & Paper Type Since the paper size & paper type is specified in the Critical Attribute, the process advances from S1001 to S1004 in FIG. 10A. Since the paper size (XHTML) is 2L and the paper size (printer) is L, the paper size (XHTML) and the paper size (printer) are different, and the process advances to S1005. Since the paper size (DTV) is L and the paper size (printer) is L, the paper size (DTV) and the paper size (printer) are the same, and the process advances to step S1006. Since both the paper type (DTV) and the paper type (printer) are matte paper, the process proceeds to S1007, and the paper size / paper type used for printing is determined as paper size (printer) / paper type (printer). In step S1026, printing is performed using L / matte paper.
従来技術においては、XHTMLデータ中に用紙サイズ(XHTML)が記述されている場合、用紙サイズ(DTV)は使用されない。従って、図10A乃至Dにおいて、S1005、S1009、S1018、及びS1023が存在しない。このため、S1004において、用紙サイズ(XHTML)が2Lで、用紙サイズ(プリンタ)がLのため、用紙サイズ(XHTML)と用紙サイズ(プリンタ)が異なるため、S1027に進み、印刷ができなった。また、ユーザが印刷できるようにするためには、給紙トレイにセットされた用紙を、用紙サイズ(XHTML)と用紙タイプ(DTV)の値に設定しなければならない。しかしながら、このケースの場合、用紙サイズ(XHTML)が2Lで、用紙タイプ(DTV)がマット紙であるため、図9を参照すると、2L/マット紙は非対応の組み合わせであるため、ユーザは絶対に印刷することができなかった。 In the prior art, when the paper size (XHTML) is described in the XHTML data, the paper size (DTV) is not used. Therefore, in FIGS. 10A to 10D, S1005, S1009, S1018, and S1023 do not exist. For this reason, since the paper size (XHTML) is 2L and the paper size (printer) is L in S1004, the paper size (XHTML) and the paper size (printer) are different, so the process proceeds to S1027 and printing is not possible. In order to allow the user to print, the paper set in the paper feed tray must be set to the paper size (XHTML) and paper type (DTV) values. However, in this case, since the paper size (XHTML) is 2L and the paper type (DTV) is matte paper, referring to FIG. 9, since the 2L / matte paper is an unsupported combination, the user must Could not be printed.
一方、本発明によれば、上述の通り、L/マット紙で印刷が行われる。 On the other hand, according to the present invention, as described above, printing is performed using L / matte paper.
<ケース2>
●用紙サイズ(DTV):L
●用紙サイズ(XHTML):B5
●用紙タイプ(DTV):普通紙
●CriticalAttribute:用紙サイズ
CriticalAttributeで用紙サイズのみが指定されているため、図10Aにおいて、S1002からS1008に進む。用紙サイズ(XHTML)がB5で、用紙サイズ(プリンタ)がLのため、用紙サイズ(XHTML)と用紙サイズ(プリンタ)が異なるため、S1009に進む。用紙サイズ(DTV)がLで、用紙サイズ(プリンタ)がLのため、用紙サイズ(DTV)と用紙サイズ(プリンタ)が同じため、S1010に進み、印刷に使用する用紙サイズをLに決定する。続いて、S1011において、用紙サイズ(プリンタ)と用紙タイプ(DTV)の組み合わせが正しいかどうかを判断する。用紙サイズ(プリンタ)がLで、用紙タイプ(DTV)が普通紙であるため、図9より、この組み合わせが正しくないことが分かる。そのため、S1013へと進み、印刷に使用する用紙タイプに、用紙タイプ(プリンタ)のマット紙に決定する。続いてS1026において、L/マット紙で印刷を行う。
<
● Paper size (DTV): L
● Paper size (XHTML): B5
● Paper Type (DTV): Plain Paper ● Critical Attribute: Paper Size Since only the paper size is specified in the Critical Attribute, the process advances from S1002 to S1008 in FIG. 10A. Since the paper size (XHTML) is B5 and the paper size (printer) is L, the paper size (XHTML) is different from the paper size (printer), so the process proceeds to S1009. Since the paper size (DTV) is L and the paper size (printer) is L, the paper size (DTV) is the same as the paper size (printer). In step S1011, it is determined whether the combination of the paper size (printer) and the paper type (DTV) is correct. Since the paper size (printer) is L and the paper type (DTV) is plain paper, FIG. 9 shows that this combination is not correct. Therefore, the process proceeds to S1013, and the paper type used for printing is determined to be the mat type paper of the paper type (printer). In step S1026, printing is performed using L / matte paper.
ケース2においても、従来技術に従うと、S1008において、用紙サイズ(XHTML)がB5で、用紙サイズ(プリンタ)がLのため、用紙サイズ(XHTML)と用紙サイズ(プリンタ)が異なるため、S1027に進み、印刷ができなった。また、ユーザが印刷できるようにするためには、給紙トレイにセットされた用紙を、用紙サイズ(XHTML)と用紙タイプ(DTV)の値に設定しなければならない。しかしながら、このケースの場合、用紙サイズ(XHTML)がB5で、用紙タイプ(DTV)が普通紙であるため、図9を参照すると、B5は非対応の用紙サイズであるため、ユーザは絶対に印刷することができなかった。
Also in
一方、本発明によれば、上述の通り、L/マット紙で印刷が行われる。 On the other hand, according to the present invention, as described above, printing is performed using L / matte paper.
<ケース3>
●用紙サイズ(DTV):A4
●用紙サイズ(XHTML):2L
●用紙タイプ(DTV):普通紙
●CriticalAttribute:用紙サイズ&用紙タイプ
CriticalAttributeで用紙サイズ&用紙タイプが指定されているため、S1004に進む。用紙サイズ(XHTML)が2L、用紙サイズ(プリンタ)がLのため、用紙サイズ(XHTML)と用紙サイズ(プリンタ)が異なるため、図10Aにおいて、S1001からS1004を経由してS1005に進む。用紙サイズ(DTV)がA4で、用紙サイズ(プリンタ)がLのため、用紙サイズ(DTV)と用紙サイズ(プリンタ)が異なるため、S1027に進み、印刷をキャンセルする。その後、S1028の処理の中に入る。図15のS1501において、CriticalAttributeで用紙サイズ&用紙タイプが指定されているため、S1506に進む。用紙サイズ(XHTML)2L、用紙タイプ(DTV)が普通紙のため、図9より2L/普通紙の組み合わせが正しくないため、S1508に進む。用紙サイズ(DTV)がA4で、用紙タイプ(DTV)が普通紙のため、図9より組み合わせが正しいので、S1509に進む。S1509において、キャンセル理由に「用紙サイズ&用紙タイプのミスマッチ」を、変更すべき(プリンタ100の給紙カセットの)値を「A4/普通紙」に設定する。続いて、S1505において、設定した「キャンセル理由」と「変更すべき(プリンタ100の給紙カセットの)値」をユーザに通知する。この通知をLCDビューワ201等で見たユーザが、プリンタ100の給紙トレイの用紙サイズ(プリンタ)/用紙タイプ(プリンタ)を、A4/普通紙に変更する。これにより、ユーザが再び同じコンテンツをDTV501から印刷を行った時に、印刷が可能となる。
<Case 3>
● Paper size (DTV): A4
● Paper size (XHTML): 2L
● Paper Type (DTV): Plain Paper ● Critical Attribute: Paper Size & Paper Type Since the paper size & paper type is specified in the Critical Attribute, the process proceeds to S1004. Since the paper size (XHTML) is 2L and the paper size (printer) is L, the paper size (XHTML) is different from the paper size (printer). Therefore, in FIG. 10A, the process proceeds from S1001 to S1004 to S1005. Since the paper size (DTV) is A4 and the paper size (printer) is L, the paper size (DTV) is different from the paper size (printer), so the process proceeds to S1027 and printing is canceled. Thereafter, the process enters S1028. In S1501 of FIG. 15, since the paper size & paper type is specified in CriticalAttribute, the process advances to S1506. Since the paper size (XHTML) 2L and the paper type (DTV) are plain paper, the combination of 2L / plain paper is not correct as shown in FIG. Since the paper size (DTV) is A4 and the paper type (DTV) is plain paper, the combination is correct from FIG. In S1509, “paper size & paper type mismatch” is set as the reason for cancellation, and the value to be changed (in the paper feed cassette of the printer 100) is set to “A4 / plain paper”. In step S <b> 1505, the user is notified of the set “reason for cancellation” and “value to be changed (for the paper cassette of the printer 100)”. A user who sees this notification on the
ケース3においても、従来技術に従うと、図10AのS1004において、用紙サイズ(XHTML)が2Lで、用紙サイズ(プリンタ)がLのため、用紙サイズ(XHTML)と用紙サイズ(プリンタ)が異なるため、S1027に進み、印刷ができなった。また、ユーザが印刷できるようにしようとしても、ケース1と同様、2L/マット紙は非対応の組み合わせであるため、ユーザは絶対に印刷することができなかった。 Also in case 3, according to the conventional technique, in S1004 of FIG. 10A, the paper size (XHTML) is 2L and the paper size (printer) is L, so the paper size (XHTML) and the paper size (printer) are different. Proceeding to S1027, printing is not possible. In addition, even when trying to allow the user to print, the 2L / matte paper is a non-corresponding combination, as in Case 1, and the user could never print.
一方、本発明によれば、上述の通り、A4/普通紙で印刷が行われる。 On the other hand, according to the present invention, as described above, printing is performed with A4 / plain paper.
また、ユーザに対して、印刷できなかった理由と、プリンタ100の給紙トレイの用紙サイズ(プリンタ)/用紙タイプ(プリンタ)を、A4/普通紙に変更すれば印刷できるようになることを通知することによって、ユーザの使い勝手が大幅に改善された。もし、通知しない場合、ユーザは印刷できない理由や、どう対処すればいいのかが分からず、印刷を行うことが難しかった。
In addition, the user is notified of the reason why printing could not be performed and that printing can be performed by changing the paper size (printer) / paper type (printer) of the paper feed tray of the
以上説明したように、本実施例によれば、印刷データ中に印刷媒体の属性を指定する第2媒体パラメータが記述されており、且つその属性がCriticalAttributeに指定されている場合に、プリンタ100は従来技術と異なる処理を行う。具体的には、プリンタ100は、DTV501から受信した印刷パラメータから第1媒体パラメータを抽出し、印刷データから第2媒体パラメータを抽出する。そして、プリンタ100は、第2媒体パラメータが指定する属性の内容に対応する印刷媒体がプリンタ100にセットされているか否かを判定する(第1判定)。セットされていない場合、プリンタ100は、第1媒体パラメータが指定する属性の内容に対応する印刷媒体がプリンタ100にセットされているか否かを判定する(第2判定)。セットされている場合、プリンタ100は、第1媒体パラメータが指定する属性の内容に対応する印刷媒体を使用して印刷を行う。第1媒体パラメータが指定する属性の内容に対応する印刷媒体がプリンタ100にセットされていない場合、プリンタ100は、印刷を行わない。
As described above, according to the present embodiment, when the second medium parameter that specifies the attribute of the print medium is described in the print data, and the attribute is specified in the CriticalAttribute, the
これにより、ユーザが意図していない印刷媒体の属性に従って印刷が行われてしまうことを低減させることが可能となる。 As a result, it is possible to reduce that printing is performed in accordance with attributes of the print medium that are not intended by the user .
[その他の実施例]
上述した各実施例の機能を実現するためには、各機能を具現化したソフトウェアのプログラムコードを記録した記録媒体をシステム或は装置に提供してもよい。そして、そのシステム或は装置のコンピュータ(又はCPUやMPU)が記録媒体に格納されたプログラムコードを読み出し実行することによって、上述した各実施例の機能が実現される。この場合、記録媒体から読み出されたプログラムコード自体が上述した各実施例の機能を実現することになり、そのプログラムコードを記録した記録媒体は本発明を構成することになる。このようなプログラムコードを供給するための記録媒体としては、例えば、フロッピィ(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスクなどを用いることができる。或いは、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることもできる。
[Other Examples]
In order to realize the functions of the above-described embodiments, a recording medium in which a program code of software embodying each function is recorded may be provided to the system or apparatus. Then, the function of each embodiment described above is realized by the computer (or CPU or MPU) of the system or apparatus reading and executing the program code stored in the recording medium. In this case, the program code itself read from the recording medium realizes the functions of the above-described embodiments, and the recording medium on which the program code is recorded constitutes the present invention. As a recording medium for supplying such a program code, for example, a floppy (registered trademark) disk, a hard disk, an optical disk, a magneto-optical disk, or the like can be used. Alternatively, a CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, or the like can be used.
また、上述した各実施例の機能を実現するための構成は、コンピュータが読み出したプログラムコードを実行することだけには限られない。そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部又は全部を行い、その処理によって上述した各実施例の機能が実現される場合も含まれている。 The configuration for realizing the functions of the above-described embodiments is not limited to executing the program code read by the computer. Including the case where the OS (operating system) running on the computer performs part or all of the actual processing based on the instruction of the program code, and the functions of the above-described embodiments are realized by the processing. It is.
更に、記録媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書きこまれてもよい。その後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部又は全部を行い、その処理によって上述した各実施例の機能が実現される場合も含むものである。 Further, the program code read from the recording medium may be written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Thereafter, the CPU of the function expansion board or function expansion unit performs part or all of the actual processing based on the instruction of the program code, and the functions of the above-described embodiments may be realized by the processing. Is included.
Claims (10)
印刷データ、及び当該印刷データに基づく画像が印刷される印刷媒体の属性を指定するための第1媒体パラメータを外部装置から受信する受信手段と、
前記受信手段により受信された印刷データに基づく画像が印刷される印刷媒体の属性を指定するための第2媒体パラメータを、当該印刷データから抽出する抽出手段と、
前記受信手段により受信された印刷データに基づく画像を印刷媒体に印刷する印刷手段と、
前記印刷装置にセットされている印刷媒体の属性を判定する判定手段と、を有し、
前記印刷手段は、前記第2媒体パラメータが指定する属性に対応する印刷媒体が当該印刷装置にセットされておらず、前記第1媒体パラメータが指定する属性に対応する印刷媒体が当該印刷装置にセットされていると判定された場合に、前記受信手段により受信された印刷データに基づく画像を、前記第1媒体パラメータが指定する属性に従って、当該属性に対応する印刷媒体に印刷する
ことを特徴とする印刷装置。 A printing apparatus for printing an image based on print data on a print medium,
Receiving means for receiving print data, and the first medium parameters for image based on the print data specifies the attribute of the print medium to be printed from an external device,
Extracting means for image based on the print data received by the pre-Symbol receiving means of the second medium parameters for specifying the attribute of the print medium to be printed, it is extracted from the print data,
Printing means for printing an image based on the print data received by the receiving means on a print medium;
Anda determine constant means you determine an attribute of the print medium set in the printing device,
In the printing unit, the print medium corresponding to the attribute specified by the second medium parameter is not set in the printing apparatus, and the print medium corresponding to the attribute specified by the first medium parameter is set in the printing apparatus. If it is determined that the image has been printed, an image based on the print data received by the receiving unit is printed on a print medium corresponding to the attribute according to the attribute specified by the first medium parameter.
Printing device comprising a call.
前記印刷手段は、前記受信手段により前記禁止指示が受信されて、前記第2媒体パラメータが指定する属性に対応する印刷媒体が当該印刷装置にセットされておらず、前記第1媒体パラメータが指定する属性と前記第2媒体パラメータが指定する属性とが異なる場合であっても、前記受信手段により受信された印刷データに基づく画像を、前記第1媒体パラメータが指定する属性に従って、当該属性に対応する印刷媒体に印刷することを特徴とする請求項1に記載の印刷装置。 The printing means receives the prohibition instruction from the receiving means, and the printing medium corresponding to the attribute designated by the second medium parameter is not set in the printing apparatus, and the first medium parameter designates the printing means. Even when the attribute and the attribute specified by the second medium parameter are different, the image based on the print data received by the receiving unit corresponds to the attribute according to the attribute specified by the first medium parameter. The printing apparatus according to claim 1, wherein printing is performed on a print medium.
前記判定手段は、前記登録手段により登録された印刷媒体の属性に基づき、前記印刷装置にセットされている印刷媒体の属性を判定することを特徴とする請求項1または2に記載の印刷装置。 The printing apparatus according to claim 1, wherein the determination unit determines an attribute of the print medium set in the printing apparatus based on the attribute of the print medium registered by the registration unit.
前記判定手段は、前記検知手段により検知された印刷媒体の属性に基づき、前記印刷装置にセットされている印刷媒体の属性を判定することを特徴とする請求項1または2に記載の印刷装置。 The printing apparatus according to claim 1, wherein the determination unit determines an attribute of the print medium set in the printing apparatus based on the attribute of the print medium detected by the detection unit.
前記印刷装置の受信手段が、印刷データ、及び当該印刷データに基づく画像が印刷される印刷媒体の属性を指定するための第1媒体パラメータを外部装置から受信する受信工程と、
前記印刷装置の抽出手段が、前記受信工程において受信された印刷データに基づく画像が印刷される印刷媒体の属性を指定するための第2媒体パラメータを、当該印刷データから抽出する抽出工程と、
前記印刷装置の印刷手段が、前記受信工程において受信された印刷データに基づく画像を印刷媒体に印刷する印刷工程と、
前記印刷装置の判定手段が、前記印刷装置にセットされている印刷媒体の属性を判定する判定工程と、を有し、
前記印刷手段は前記印刷工程において、前記第2媒体パラメータが指定する属性に対応する印刷媒体が当該印刷装置にセットされておらず、前記第1媒体パラメータが指定する属性に対応する印刷媒体が当該印刷装置にセットされていると判定された場合に、前記受信工程において受信された印刷データに基づく画像を、前記第1媒体パラメータが指定する属性に従って、当該属性に対応する印刷媒体に印刷する
ことを特徴とする制御方法。 A control method of a printing apparatus for printing an image based on print data on a print medium,
A receiving step receiving means of the printing device, for receiving print data, and the first medium parameters for image based on the print data specifies the attribute of the print medium to be printed from an external device,
Extraction means of the printing device, a second medium parameters for specifying the attributes of the print medium on which an image based on the print data received in said receiving step is printed, an extraction step of extracting from the print data,
A printing process in which a printing unit of the printing apparatus prints an image based on the print data received in the receiving process on a print medium;
Determination means of the printing device, anda determine the constant step you determine an attribute of the print medium set in the printing device,
In the printing step, the printing means does not have a printing medium corresponding to the attribute specified by the second medium parameter set in the printing apparatus, and the printing medium corresponding to the attribute specified by the first medium parameter is When it is determined that it is set in the printing apparatus, an image based on the print data received in the reception step is printed on a print medium corresponding to the attribute according to the attribute specified by the first medium parameter.
Control wherein a call.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008014175A JP5094443B2 (en) | 2008-01-24 | 2008-01-24 | Printing apparatus, printing apparatus control method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008014175A JP5094443B2 (en) | 2008-01-24 | 2008-01-24 | Printing apparatus, printing apparatus control method, and program |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2009172877A JP2009172877A (en) | 2009-08-06 |
JP2009172877A5 JP2009172877A5 (en) | 2011-03-10 |
JP5094443B2 true JP5094443B2 (en) | 2012-12-12 |
Family
ID=41028537
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008014175A Active JP5094443B2 (en) | 2008-01-24 | 2008-01-24 | Printing apparatus, printing apparatus control method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5094443B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3603408A4 (en) | 2017-03-21 | 2021-01-20 | Fuji Oil Holdings Inc. | Method for producing plant-derived cheese-like food product |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001018494A (en) * | 1999-07-13 | 2001-01-23 | Canon Inc | Printing output device, paper feed control method and recording medium readable by computer storing control program |
JP4449398B2 (en) * | 2003-10-03 | 2010-04-14 | セイコーエプソン株式会社 | Printing apparatus, printing method, and program for printing apparatus |
JP2007069371A (en) * | 2005-09-05 | 2007-03-22 | Fujifilm Corp | Printer |
JP2007329734A (en) * | 2006-06-08 | 2007-12-20 | Fuji Xerox Co Ltd | Image forming device and contention control program |
-
2008
- 2008-01-24 JP JP2008014175A patent/JP5094443B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2009172877A (en) | 2009-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5854654B2 (en) | Printing system, printing method, print server, control method, and program | |
JP5680926B2 (en) | Printing system, printing method, print server, control method therefor, and program | |
JP5473267B2 (en) | Workflow execution system and workflow execution method | |
US20080094650A1 (en) | Print processing apparatus and method of controlling print processing apparatus | |
JP5719198B2 (en) | Print system, information processing apparatus, control method, and program | |
JP6462977B2 (en) | PRINT CONTROL DEVICE, PRINT CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM | |
JP2010021896A (en) | Information processing apparatus, image input apparatus, document distribution system, and control method therefor | |
US8179538B2 (en) | Image processing apparatus, information processing apparatus and control method | |
JP5328327B2 (en) | Workflow system, image processing apparatus, and control method for image processing apparatus | |
JP2010219630A (en) | Workflow execution system, workflow execution method, and program | |
US8823980B2 (en) | Printing system, image forming apparatus, data generation apparatus, storage apparatus, and control method | |
US8127178B2 (en) | Image forming apparatus, method of controlling image forming apparatus, program, and storage medium | |
JP2011238136A (en) | Information processing device, linkage function setting control method and program | |
JP5137858B2 (en) | Image processing apparatus, image processing method, storage medium, and program | |
JP6412353B2 (en) | Image reading apparatus, control method therefor, program, and system | |
JP2012231431A (en) | Image processing system, image processing apparatus and server in the image processing system, and data control method and program | |
JP2006350556A (en) | Electronic apparatus, network system and control method therefor | |
JP5528075B2 (en) | Image processing apparatus, image processing apparatus control method, and program | |
JP5094443B2 (en) | Printing apparatus, printing apparatus control method, and program | |
JP2008283441A (en) | Image processing system, image reader, and control program | |
JP2005301890A (en) | Extended control unit, image formation system, application start change method, control method of image formation system, program, and recording medium | |
JP2012080519A (en) | Image processing device | |
JP5609264B2 (en) | Image forming system, image forming apparatus, image forming method, and image forming program | |
JP2007281658A (en) | Data processing apparatus, output apparatus, image processing apparatus, print system, job processing method, and program | |
JP2005352901A (en) | Information processor and output status management method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110124 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110124 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120809 |
|
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: 20120817 |
|
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: 20120918 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5094443 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150928 Year of fee payment: 3 |