JP5094443B2 - Printing apparatus, printing apparatus control method, and program - Google Patents

Printing apparatus, printing apparatus control method, and program Download PDF

Info

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
print
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
Application number
JP2008014175A
Other languages
Japanese (ja)
Other versions
JP2009172877A5 (en
JP2009172877A (en
Inventor
健 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2008014175A priority Critical patent/JP5094443B2/en
Publication of JP2009172877A publication Critical patent/JP2009172877A/en
Publication of JP2009172877A5 publication Critical patent/JP2009172877A5/ja
Application granted granted Critical
Publication of JP5094443B2 publication Critical patent/JP5094443B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、印刷データに基づく画像を印刷媒体に印刷する印刷装置、印刷装置の制御方法、およびプログラムに関する。 The present invention relates to a 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 Patent Documents 1, 2, and 3).

特許文献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 Patent Document 2, it is determined what causes the mismatch error between the paper size specified by the PC and the paper size of the paper set in the printer, and different error displays are performed. This simplifies the error canceling operation and prevents repeated paper size mismatch errors.

特許文献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中に印刷パラメータが記述されている場合、こちらが優先されるので、この印刷パラメータを使用できない場合、プリンタは印刷をキャンセルしなければならない。これにより、ユーザの意図しない用紙に対する印刷が防止される。
特開平5−138976号公報 特開2004−145194号公報 特開2004−151537号公報
When the user specifies print parameters in the DTV UI, a parameter called CriticalAttribute is used. The user can specify parameters such as paper size and paper type, for example, as CriticalAttribute. The parameter specified by CriticalAttribute should not be changed by the printer at the time of printing. If the printer cannot use the print parameters specified by the DTV, it must cancel printing. In addition, when a print parameter is described in XHTML, this is prioritized, so if this print parameter cannot be used, the printer must cancel printing. This prevents printing on paper not intended by the user.
JP-A-5-138976 JP 2004-145194 A JP 2004-151537 A

前述のように、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 printer unit 400 compatible with XHTML printing and a DTV 501 compatible with XHTML printing are connected via a router 500 via a LAN. The router 500 may have functions such as a DHCP server and a DNS server. The router 500 is connected to the WEB server 502 via the WAN. Note that the router 500 and the WEB server 502 may be connected via a LAN.

次に、図4を用いて、プリンタユニット400の概略を説明する。   Next, the outline of the printer unit 400 will be described with reference to FIG.

プリンタユニット400は、プリンタ100とLANユニット300を備え、これらはUSBインタフェースを介して相互に接続されている。プリンタ100はLANインタフェースを備えないが、LANユニット300に接続されることにより、LANに接続されたネットワークプリンタとして動作することが可能となる。   The printer unit 400 includes a printer 100 and a LAN unit 300, which are connected to each other via a USB interface. Although the printer 100 does not include a LAN interface, it can operate as a network printer connected to the LAN by being connected to the LAN unit 300.

次に、図3を用いて、LANユニット300の概略を説明する。   Next, the outline of the LAN unit 300 will be described with reference to FIG.

LANユニット300は、CPU301、ROM302、RAM303、LAN通信部304、及びUSBホスト制御部305を備える。   The LAN unit 300 includes a CPU 301, a ROM 302, a RAM 303, a LAN communication unit 304, and a USB host control unit 305.

CPU301は、ROM302及びRAM303に格納されたプログラムに従って、システムバスを介してLANユニット300全体の動作を制御する。   The CPU 301 controls the operation of the entire LAN unit 300 via the system bus in accordance with programs stored in the ROM 302 and the RAM 303.

ROM302は、CPU301の制御プログラム等を格納している。   The ROM 302 stores a control program for the CPU 301 and the like.

RAM303は、一時的にプログラムや画像データを記憶する。   The RAM 303 temporarily stores programs and image data.

LAN通信部304は、LANによる通信を行う部分であり、種々のベンダから供給されているLANコントロールチップを用いて実装可能である。また、通信の認証の手間を省くため、種々のベンダから供給されているPCMCIAカード型LANアダプタを、PCMCIAカードコントローラ(不図示)を通してCPUバスに接続してもよい。本実施例では、LAN通信部304は、ルータ500に接続される。   The LAN communication unit 304 is a part that performs communication by LAN, and can be mounted using LAN control chips supplied from various vendors. In order to save time for communication authentication, PCMCIA card type LAN adapters supplied from various vendors may be connected to the CPU bus through a PCMCIA card controller (not shown). In this embodiment, the LAN communication unit 304 is connected to the router 500.

USBホスト制御部305は、USBインタフェースの通信制御を行うものであり、USB通信規格に従って、CPU301からのデータをパケットに変換し、プリンタ100のUSBファンクション制御部114(図1)にUSBパケットを送信する。また、逆にプリンタ100のUSBファンクション制御部114からのUSBパケットをデータに変換して、CPU301に送信する。通信制御方法に関しては、任意の知られている方法を使用可能であるため、説明を省略する。   The USB host control unit 305 performs communication control of the USB interface, converts data from the CPU 301 into a packet according to the USB communication standard, and transmits the USB packet to the USB function control unit 114 (FIG. 1) of the printer 100. To do. Conversely, the USB packet from the USB function control unit 114 of the printer 100 is converted into data and transmitted to the CPU 301. Since any known method can be used for the communication control method, the description thereof is omitted.

USBホスト制御部305とプリンタ100のUSBファンクション制御部114(図1)とが接続されることにより、ネットワークプリンタとして動作可能なプリンタユニット400が構成される。図4では、異なるCPUを持つプリンタ100とLANユニット300とをUSBインタフェースで接続しているが、プリンタ100がLAN通信部304の機能を備えるように構成してもよい。この場合、LANユニット300は不要である。   By connecting the USB host control unit 305 and the USB function control unit 114 (FIG. 1) of the printer 100, a printer unit 400 operable as a network printer is configured. In FIG. 4, the printer 100 having different CPUs and the LAN unit 300 are connected via the USB interface. However, the printer 100 may be configured to have the function of the LAN communication unit 304. In this case, the LAN unit 300 is not necessary.

図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 printer unit 400. The printer 100 prints a print image represented by print data (in this embodiment, XHTML data conforming to the XHTML print standard) received from a control device such as the DTV 501 on a print medium. In this embodiment, the printer 100 includes a plurality of paper feed trays (not shown), and various print media can be set in each paper feed tray. In this embodiment, the printer 100 is assumed to be a multifunction machine having a scanner function and the like, but the scanner function and the like are not essential functions.

プリンタ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 printer 100 includes a CPU 101, a ROM 102, a RAM 103, an image memory 104, a data conversion unit 105, a reading control unit 106, a reading unit 107, an operation display unit 108, a resolution conversion processing unit 109, and a code decoding processing unit 110. In addition, a recording control unit 111, a USB host control unit 112, a recording unit 113, a USB function control unit 114, an XHTML processing unit 116, and a CPU bus 121 are provided. A memory card 115 is connected to the USB host control unit 112.

CPU101は、プリンタ100の全体を制御する。   The CPU 101 controls the entire printer 100.

ROM102は、CPU101が実行する制御プログラムやデータテーブル、組み込みオペレーティングシステム(OS)プログラム等の固定データを格納する。本実施例では、ROM102に格納されている各制御プログラムは、ROM102に格納されている組み込みOSの管理下で、スケジューリングやタスクスイッチ、割り込み処理等のソフトウェア実行制御を行う。   The ROM 102 stores fixed data such as a control program executed by the CPU 101, a data table, and an embedded operating system (OS) program. In this embodiment, each control program stored in the ROM 102 performs software execution control such as scheduling, task switching, and interrupt processing under the management of the embedded OS stored in the ROM 102.

RAM103は、バックアップ電源を必要とするSRAM(Static Random Access Memory)等で構成され、データバックアップ用の一次電池(不図示)によってデータが維持されている。複数の給紙トレイにセットされている用紙の情報(用紙サイズや用紙タイプなど)もRAM103に保持されている。RAM103には、データが消去されては困るプログラム制御変数等を格納する。また、オペレータが登録した設定値やプリンタ100の管理データ等を格納するメモリエリアも設けられている。   The RAM 103 is configured by an SRAM (Static Random Access Memory) that requires a backup power source, and data is maintained by a primary battery (not shown) for data backup. Information on paper (paper size, paper type, etc.) set in a plurality of paper feed trays is also held in the RAM 103. The RAM 103 stores program control variables and the like that are difficult to delete data. A memory area is also provided for storing setting values registered by the operator, management data of the printer 100, and the like.

画像メモリ104は、DRAM(Dynamic Random Access Memory)等で構成され、画像データを蓄積する。また、一部の領域をソフトウェア処理の実行のためのワークエリアとして確保してある。   The image memory 104 is configured by a DRAM (Dynamic Random Access Memory) or the like, and stores image data. A part of the area is secured as a work area for executing software processing.

データ変換部105は、ページ記述言語(PDL:Page Description Language)等の解析や、キャラクタデータのCG(Computer Graphics)展開等、画像データの変換を行う。   The data conversion unit 105 performs conversion of image data such as analysis of a page description language (PDL) and the like, and CG (Computer Graphics) development of character data.

読取部107は、CISイメージセンサ(密着型イメージセンサ)やCCDイメージセンサ等によって構成され、原稿を光学的に読み取って電気的な画像データに変換する。   The reading unit 107 includes a CIS image sensor (contact image sensor), a CCD image sensor, and the like, and optically reads a document and converts it into electrical image data.

読取制御部106は、読取部107を制御して原稿を読み取り、電気的な画像データを取得する。そして、画像処理制御部(不図示を介して、2値化処理や中間調処理等の各種画像処理を施し、高精細な画像データを出力する。なお、本実施例では、読取制御部106及び読取部107は、原稿を搬送しながら読み取りを行うシート読取制御方式と、原稿台に固定されている原稿をスキャンするブック読取制御方式の両制御方式に対応しているものとする。   The reading control unit 106 controls the reading unit 107 to read a document and acquire electrical image data. Then, an image processing control unit (a variety of image processing such as binarization processing and halftone processing is performed via a not-illustrated image and outputs high-definition image data. In this embodiment, the reading control unit 106 and It is assumed that the reading unit 107 is compatible with both a sheet reading control method for reading while conveying a document and a book reading control method for scanning a document fixed on a document table.

操作表示部108は、各種キーを用いて様々な操作を行う操作部と、各種キー、LED(発光ダイオード)とLCD等によって構成され、オペレータによる各種入力操作を受け付ける。また、プリンタ100の動作状況、ステータス状況の表示等を行う表示部を有する(表示部は、例えばLCDによって実装される)。操作表示部108については、図2を参照して後で詳述する。   The operation display unit 108 includes an operation unit that performs various operations using various keys, various keys, an LED (light emitting diode), an LCD, and the like, and accepts various input operations by an operator. In addition, the printer 100 includes a display unit that displays the operation status and status status of the printer 100 (the display unit is implemented by an LCD, for example). The operation display unit 108 will be described in detail later with reference to FIG.

解像度変換処理部109は、ミリ系の画像データとインチ系の画像データの相互変換等の解像度変換制御を行う。なお、解像度変換処理部109において、画像データの拡大縮小処理も可能である。   The resolution conversion processing unit 109 performs resolution conversion control such as mutual conversion between millimeter image data and inch image data. Note that the resolution conversion processing unit 109 can also perform enlargement / reduction processing of image data.

符号復号化処理部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 printer 100.

記録制御部111は、印刷される画像データに対し、画像処理制御部(不図示)を介して、スムージング処理や記録濃度補正処理、色補正等の各種画像処理を施すことにより、高精細な画像データに変換し、USBホスト制御部112(後述)に出力する。記録制御部111はまた、USBホスト制御部112を制御することにより、定期的に記録部113の状態情報データを取得する。   The recording control unit 111 performs various image processing such as smoothing processing, recording density correction processing, and color correction on the image data to be printed via an image processing control unit (not shown), thereby obtaining a high-definition image. Data is converted and output to the USB host control unit 112 (described later). The recording control unit 111 also acquires the status information data of the recording unit 113 periodically by controlling the USB host control unit 112.

USBホスト制御部112は、USB通信規格で定められたプロトコルで通信を行う制御部である。USB通信規格は、双方向のデータ通信を高速に行うことが出来る規格であり、1台のホスト(マスター)に対し、複数のハブ又はファンクション(スレーブ)を接続することができる。USBホスト制御部112は、USB通信におけるホストの機能を有する。   The USB host control unit 112 is a control unit that performs communication using a protocol defined by the USB communication standard. The USB communication standard is a standard capable of performing bidirectional data communication at high speed, and a plurality of hubs or functions (slaves) can be connected to one host (master). The USB host control unit 112 has a host function in USB communication.

記録部113は、専用CPU(不図示)で制御されるレーザビームプリンタやインクジェットプリンタ等から構成される記録装置であり、USBインタフェース経由で受信したカラー画像データ、またはモノクロ画像データを印刷媒体に印刷する。記録部113は、USBファンクション機能を有し、USBホスト制御部112との間で、USB通信規格で定められたプロトコルで通信を行う。なお、記録部113をCPUバス121に直接接続するようにプリンタ100を構成してもよい。   The recording unit 113 is a recording device including a laser beam printer or an ink jet printer controlled by a dedicated CPU (not shown), and prints color image data or monochrome image data received via the USB interface on a print medium. To do. The recording unit 113 has a USB function function, and performs communication with the USB host control unit 112 using a protocol defined by the USB communication standard. Note that the printer 100 may be configured so that the recording unit 113 is directly connected to the CPU bus 121.

USBファンクション制御部114は、USBインタフェースの通信制御を行うものであり、USB通信規格に従って、プロトコル制御を行う。CPU101が実行するUSBファンクション制御タスクからのデータを、パケットに変換し、LANユニット300のUSBホスト制御部305にUSBパケットの送信を行う。また、逆にUSBホスト制御部305からのUSBパケットを、データに変換してCPU101に送信する。   The USB function control unit 114 performs communication control of the USB interface, and performs protocol control according to the USB communication standard. Data from the USB function control task executed by the CPU 101 is converted into a packet, and the USB packet is transmitted to the USB host control unit 305 of the LAN unit 300. Conversely, the USB packet from the USB host control unit 305 is converted into data and transmitted to the CPU 101.

メモリカード115は、データ記憶媒体であり、プリンタ100に接続することができる。本実施例では、メモリカード115とプリンタ100とを、USBインタフェースで接続しているが、他の方法で接続するようにしてもよい。プリンタ100は、USBホスト制御部112を通して、画像データやその他の電子データなど、メモリカード115内のデータにアクセスすることができる。   The memory card 115 is a data storage medium and can be connected to the printer 100. In this embodiment, the memory card 115 and the printer 100 are connected via the USB interface, but they may be connected by other methods. The printer 100 can access data in the memory card 115 such as image data and other electronic data through the USB host control unit 112.

XHTML処理部116は、DTV501との間でやりとりするコマンドの送受信を行う。また、USBファンクション制御部114から受信したXHTMLデータやメモリカード内に保存されたXHTMLデータを解析し、記録部113用の印刷データを生成する。XHTMLデータを解析した結果、画像ファイルやスタイルシートファイルが必要となった場合、USBファンクション制御部114経由で、その旨をLANユニット300へ通知する。そして、LANユニット300がWEBサーバ502から取得した画像ファイルやスタイルシートファイルを受け取り、印刷データの生成に使用する。そして生成した印刷データを記録制御部111、USBホスト制御部112、及び記録部113を用いて印刷する。   The XHTML processing unit 116 transmits and receives commands exchanged with the DTV 501. Further, the XHTML data received from the USB function control unit 114 and the XHTML data stored in the memory card are analyzed, and print data for the recording unit 113 is generated. As a result of analyzing the XHTML data, if an image file or a style sheet file is required, the fact is notified to the LAN unit 300 via the USB function control unit 114. Then, the LAN unit 300 receives the image file or style sheet file acquired from the WEB server 502 and uses it for generating print data. The generated print data is printed using the recording control unit 111, the USB host control unit 112, and the recording unit 113.

読取部107、記録部113、及びメモリカード115を除く各構成要素は、CPU101が管理するCPUバス121を介して、相互に接続されている。   Components other than the reading unit 107, the recording unit 113, and the memory card 115 are connected to each other via a CPU bus 121 managed by the CPU 101.

図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 operation display unit 108 provided in the printer 100.
The operation display unit 108 includes an LCD viewer 201, a power key 202, a copy mode key 203, a scan mode key 204, a photo mode key 205, an up / down / left / right key 206, a menu key 207, and a user setting key 208. Also provided are a photo index sheet key 209, a set key 210, a STOP key 211, a monochrome start key 212, and a color start key 213.

LCDビューワ201は、メッセージ、オペレーションプロンプト、各種情報を表示するディスプレイである。   The LCD viewer 201 is a display that displays messages, operation prompts, and various information.

電源キー202は、プリンタ100の電源をON/OFFするためのキーである。   A power key 202 is a key for turning on / off the power of the printer 100.

コピーモードキー203は、プリンタ100がコピーできる状態にするキーであり、コピーモードキー203を押下することによって、プリンタ100をコピーモードにすることができる。   The copy mode key 203 is a key for making the printer 100 ready for copying. By pressing the copy mode key 203, the printer 100 can be set to the copy mode.

スキャンモードキー204は、プリンタ100がスキャンできる状態にするキーであり、スキャンモードキー204を押下することによって、プリンタ100をスキャンモードにすることができる。   The scan mode key 204 is a key that enables the printer 100 to scan, and by pressing the scan mode key 204, the printer 100 can be set to the scan mode.

フォトモードキー205は、プリンタ100において、デジタル写真をメモリカード115やUSBホスト制御部112と接続されるデジタルカメラ(不図示)からのダイレクトプリントができる状態にするキーである。フォトモードキー205を押下することによって、プリンタ100をフォトモードにすることができる。   The photo mode key 205 is a key for enabling the printer 100 to directly print a digital photograph from a digital camera (not shown) connected to the memory card 115 or the USB host control unit 112. By pressing the photo mode key 205, the printer 100 can be set to the photo mode.

上下左右キー206は、メニューやユーザ設定等、ユーザが複数の選択肢から選択を行う際に使用されるキーである。   The up / down / left / right key 206 is a key used when the user selects from a plurality of options such as a menu and user settings.

メニューキー207は、コピーや、メモリカードからのダイレクトプリント等の実行時の設定値を設定するためのメニューを表示するキーである。メニューキー207を押下することによって、設定項目をLCDビューワ201に表示することができ、上下左右キー206によって選択し、セットキー210でセットすることができる。   A menu key 207 is a key for displaying a menu for setting a setting value at the time of execution such as copying or direct printing from a memory card. By pressing the menu key 207, the setting items can be displayed on the LCD viewer 201, selected with the up / down / left / right keys 206, and set with the set key 210.

ユーザ設定キー208は、ユーザがプリンタ100に設定する設定値を登録するための画面を表示するキーである。ユーザ設定キー208を押下することによって、ユーザ設定項目を、LCDビューワ201に表示することができ、上下左右キー206によって選択し、セットキー210でセットすることができる。   A user setting key 208 is a key for displaying a screen for registering setting values set by the user in the printer 100. By pressing the user setting key 208, user setting items can be displayed on the LCD viewer 201, selected by the up / down / left / right key 206, and set by the set key 210.

フォトインデックスシートキー209は、フォトインデックスシートに印刷し、またはフォトインデックスシートを読み取るための画面に移行させるキーである。   The photo index sheet key 209 is a key for printing on a photo index sheet or shifting to a screen for reading the photo index sheet.

セットキー210は、選択された項目を決定するキーである。   The set key 210 is a key for determining the selected item.

STOPキー211は、ファクシミリ送受信、コピーやその他のオペレーション操作を停止させるキーである。   The STOP key 211 is a key for stopping facsimile transmission / reception, copying, and other operation operations.

モノクロスタートキー212は、白黒コピー、白黒スキャン等を開始するキーである。   A monochrome start key 212 is a key for starting monochrome copying, monochrome scanning, and the like.

カラースタートキー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 printer unit 400 and the DTV 501.

まず、S601及びS602において、プリンタユニット400とDTV501はお互いにUPnP規格のSSDP(Simple Service Discovery Protocol)を用いて、お互いの機器を発見と機能の把握を行う。このとき、DTV501からの要求に基づいて、プリンタユニット400が、プリンタユニット400の機能を示すXMLファイルをDTV501に対して送信する。   First, in steps S601 and S602, the printer unit 400 and the DTV 501 discover each other's devices and grasp their functions using the UPnP standard SSDP (Simple Service Discovery Protocol). At this time, based on a request from the DTV 501, the printer unit 400 transmits an XML file indicating the function of the printer unit 400 to the DTV 501.

図7に、プリンタユニット400がDTV501に対して送信するXMLファイルの一部の例を示す。   FIG. 7 shows an example of a part of an XML file transmitted from the printer unit 400 to the DTV 501.

Actionlist701は、プリンタユニット400がサポートしている、プリンタユニット400とDTV501との間のコマンドを記述する。CreateJobとは、DTV501からプリンタユニット400に対して印刷を指示するためのコマンドである。また、不図示であるが、本来CreateJobで使用されるOUTとINのパラメータも記述される。また、不図示であるが、CraeteJobの他にも、キャンセルを行うCancelJobやプリンタの状態を取得するGetPrinterAttributesといったコマンドが記述される。   The Actionlist 701 describes commands between the printer unit 400 and the DTV 501 that are supported by the printer unit 400. CreateJob is a command for instructing printing from the DTV 501 to the printer unit 400. Although not shown, OUT and IN parameters that are originally used in CreateJob are also described. Although not shown, commands such as CancelJob for canceling and GetPrinterAttributes for acquiring the printer status are described in addition to CraetJob.

MediaSize702、MediaType703、及びPrintQuality704は、Actionlist701の各コマンドで使用されるパラメータの詳細を記述する。本実施例では、これらのうち、MediaSize702及びMediaType703が、印刷媒体の属性の内容を指定する媒体パラメータを示す。   A MediaSize 702, a MediaType 703, and a PrintQuality 704 describe details of parameters used in each command of the Actionlist 701. In the present embodiment, among these, MediaSize 702 and MediaType 703 indicate medium parameters for specifying the content of the print medium attribute.

図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, MediaSize 702 indicates that the MediaSize (paper size) supported by the printer unit 400 is A4 / L version / 2L / device-setting. A MediaType 703 indicates that the MediaType (paper type) supported by the printer unit 400 is plain paper / matte paper / photo paper / device-setting. Also, PrintQuality 704 indicates that the PrintQuality (print quality) supported by the printer unit 400 is fast / normal / clean / device-setting. Here, “device-setting” means that the content set in the printer unit 400 is followed.

図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 DTV 501 and instructs printing. At this time, the user sets print parameters including MediaSize / MediaType / PrintQuality / CriticalAttribute, etc. while viewing the screen of the DTV 501 using the remote control of the DTV 501. Alternatively, the DTV 501 may automatically set based on data acquired from data broadcasting. The DTV 501 transmits print parameters to the printer unit 400.

ここで設定された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 printer unit 400 receives the CreateJob command from the DTV 501, it checks the status of the printer unit 400. When printing is possible, a value called JOBID is transmitted to the DTV 501 in S604. When printing cannot be performed, a message to that effect is sent to the DTV 501, and the process ends without printing.

次に、印刷できるときには、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 printer unit 400.

その後、プリンタユニット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 printer unit 400 analyzes the received XHTML data. As a result of the analysis, if an image file or style sheet file is required, the printer unit 400 transmits a request for the image file or style sheet file to the WEB server 502 in step S606. In step S <b> 607, the WEB server 502 transmits the requested file to the printer unit 400. In addition, tags specified by @Page as shown below may be included in XHTML data and style sheet files.
@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 printer unit 400 determines whether printing is possible. In determining whether printing is possible, the following three types of medium parameters are used.

●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 printer unit 400 determines the paper size and paper type of the paper to be used. Conversely, if printing is impossible, the user is notified of the reason why printing is not possible. Details of the processing in S608 will be described later with reference to FIG.

最後に、プリンタユニット400がXHTMLデータの印刷を終了すると、S609において、DTV501に印刷ジョブが終了したことを通知する。   Finally, when the printer unit 400 finishes printing the XHTML data, it notifies the DTV 501 that the print job has ended in S609.

図8は、プリンタ100に対して、給紙トレイに用紙情報を登録する手順を示すフローチャートである。プリンタ100が複数の給紙トレイを持つ場合、各給紙トレイに対して図8の手順を実行することができる。   FIG. 8 is a flowchart showing a procedure for registering paper information in the paper feed tray for the printer 100. When the printer 100 has a plurality of paper feed trays, the procedure shown in FIG. 8 can be executed for each paper feed tray.

S801で、ユーザがユーザ設定キー208を押下することによって、プリンタ100に設定する設定値を登録するための画面をLCDビューワ201に表示する。表示された項目の中から、上下左右キー206とセットキー210を用いて、用紙登録を選択する(不図示)。   In step S <b> 801, when the user presses the user setting key 208, a screen for registering setting values to be set in the printer 100 is displayed on the LCD viewer 201. From the displayed items, paper registration is selected using the up / down / left / right key 206 and the set key 210 (not shown).

ここで、プリンタ100は、最大でA4サイズの用紙をセットできる給紙トレイを持つものとする。図9に、給紙トレイにセットすることが可能な用紙の用紙サイズ及び用紙タイプと、印刷品位とを示す。図9に示す情報は、例えばROM102に格納されている。給紙トレイにはA4/2L/Lの3種類の用紙サイズが、普通紙/写真紙/マット紙の3種類の用紙タイプがセット可能である。   Here, it is assumed that the printer 100 has a paper feed tray on which A4 size paper can be set at the maximum. FIG. 9 shows the paper size and paper type of paper that can be set in the paper feed tray, and the print quality. The information shown in FIG. 9 is stored in the ROM 102, for example. Three paper sizes of A4 / 2L / L and three paper types of plain paper / photo paper / mat paper can be set in the paper feed tray.

S802で、ユーザは、用紙サイズ、用紙タイプ、及び印刷品位について、上下左右キー206とセットキー210を用いて選択する。   In step S <b> 802, the user selects the paper size, paper type, and print quality using the up / down / left / right key 206 and the set key 210.

S803で、プリンタ100は、S802で選択された各パラメータの組み合わせが正しいかをチェックする。このとき、プリンタ100は、ROM102に格納されている情報(図9参照)を参照する。組み合わせが正しい場合、S804で、プリンタ100は、設定が成功したことをLCDビューワ201を用いてユーザに通知し、用紙情報のセットを終了する。ここで設定された用紙サイズ及び用紙タイプはそれぞれ、前述の用紙サイズ(プリンタ)、用紙タイプ(プリンタ)である。組み合わせが正しくない場合、S805で、プリンタ100は、設定が失敗したことをLCDビューワ201を用いてユーザに通知し、用紙情報のセットを終了する。   In step S803, the printer 100 checks whether the combination of parameters selected in step S802 is correct. At this time, the printer 100 refers to information stored in the ROM 102 (see FIG. 9). If the combination is correct, in step S804, the printer 100 notifies the user that the setting has been successful using the LCD viewer 201, and ends the setting of the paper information. The paper size and paper type set here are the aforementioned paper size (printer) and paper type (printer), respectively. If the combination is not correct, in step S805, the printer 100 notifies the user that the setting has failed using the LCD viewer 201, and ends the setting of the paper information.

本実施例では、操作表示部108を用いて、給紙トレイの用紙情報を登録した。しかし、プリンタユニット400がWEBサーバ機能を持ち、DTV501やプリンタユニット400とLANやWANでつながったPC(不図示)のWEBクライアントから、登録してもよい。また、給紙トレイにメディアセンサを装備し、ユーザが給紙トレイに用紙を入れることによって、プリンタ100が自動的に用紙サイズ及び用紙タイプを取得してもよい。   In this embodiment, the operation display unit 108 is used to register the paper information of the paper feed tray. However, the printer unit 400 may have a WEB server function and may be registered from a WEB client of a PC (not shown) connected to the DTV 501 or the printer unit 400 via a LAN or WAN. Further, the paper feed tray may be equipped with a media sensor, and the printer 100 may automatically acquire the paper size and paper type when the user puts paper into the paper feed tray.

次に、図10A乃至Dを用いて、プリンタ100が、印刷可否の判断を行い、使用する印刷媒体の属性(用紙サイズ/用紙タイプ)の内容を決定するプロセスについて説明する。また、図11乃至13は、図10A乃至Dで使用されるパラメータとその取り得る値をまとめて示す図である。   Next, a process in which the printer 100 determines whether printing is possible and determines the contents of the attributes (paper size / paper type) of the print medium to be used will be described with reference to FIGS. 10A to 10D. FIGS. 11 to 13 collectively show parameters used in FIGS. 10A to 10D and their possible values.

これらのパラメータの中で、用紙サイズ(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 printer 100 are used, so the content of the paper size (printer) is used as the content of the paper size (DTV). It is done. Similarly, when the paper type (DTV) is device-setting, the content of the paper type (printer) is used as the content of the paper type (DTV).

なお、本実施例では、用紙サイズ(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 printer 100 determines which one of “paper size & paper type”, “paper size”, “paper type”, and “none” shown in FIG. 11 is the value of the CriticalAttribute parameter received in step S603 in FIG. Determine. Subsequent processing changes depending on the value of CriticalAttribute.

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 printer 100 detects from the print parameters a prohibition instruction that instructs prohibition of use other than the print medium corresponding to the content of the paper size (DTV) or the paper size (XHTML). .

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 printer 100 determines whether the contents of the paper size (XHTML) and the paper size (printer) are the same. If the paper size (XHTML) is different from the paper size (printer) or there is no paper size (XHTML), the printer 100 determines in step S1005 whether the contents of the paper size (DTV) and the paper size (printer) are the same. Determine whether. Here, the paper size (XHTML), not the paper size (DTV), is compared with the paper size (printer) first, as described above, so that the paper size (XHTML) is given priority. It is because it is determined by.

なお、プリンタ100に複数種類の印刷媒体がセットされている場合、S1004では、各印刷媒体の用紙サイズ(プリンタ)について判定が行われ、1つでも内容が一致すれば、S1006に進む。換言すれば、S1004では、プリンタ100は、用紙サイズ(XHTML)が指定する内容に対応する印刷媒体がプリンタ100にセットされているか否かを判定する。このことは、用紙サイズ(プリンタ)や用紙タイプ(プリンタ)との比較が行われる全てのステップにおいて同様である。   When a plurality of types of print media are set in the printer 100, in S1004, the paper size (printer) of each print medium is determined. If even one of the contents matches, the process proceeds to S1006. In other words, in step S1004, the printer 100 determines whether a print medium corresponding to the content specified by the paper size (XHTML) is set in the printer 100. This is the same in all steps in which comparison is made with the paper size (printer) and paper type (printer).

続いて、用紙サイズ(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 printer 100 executes printing using a print medium corresponding to the paper size (printer) / paper type (printer).

なお、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 printer 100, this print medium is used for printing. The same applies to the paper type (printer). The same applies to S1010, S1013, S1015, S1020, and S1025 described later.

用紙サイズ(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 printer 100 cancels printing. Subsequently, in S1028, the user is notified of the reason for cancellation and the content to be changed. The process of S1028 will be described later with reference to FIG.

次に、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 printer 100 cancels printing because the condition of CriticalAttribute cannot be satisfied will be described with reference to FIG.

ユーザに通知する内容としては、「キャンセル理由」と「変更すべき値」の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 printer 100 determines whether the parameter CriticalAttribute value received in step S603 is “paper size & paper type” shown in FIG. If the value of CriticalAttribute is not “paper size & paper type”, it is determined in S1502 whether the value of CriticalAttribute is only “paper size”. When the value of CriticalAttribute is only “paper size”, printing can be performed by changing the paper size (printer) of the paper set in the printer 100 to the paper size (XHTML) or the paper size (DTV). In step S1503, the printer 100 sets “paper size mismatch” as the cancel reason, and sets the value to be changed (in the paper feed cassette of the printer 100) to “paper size (XHTML) or paper size (DTV)”. . Here, when both the paper size (DTV) and the paper size (XHTML) are present, the XHTML printing standard gives priority to the paper size (XHTML), so only the paper size (XHTML) is specified by the user. May be notified. Further, it is determined whether or not the printer 100 supports the paper size (XHTML) by using FIG. 13. When the printer 100 supports it, only the paper size (XHTML) is notified to the user, and when it does not support the paper size (DTV). Only the user may be notified.

続いて、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 LCD viewer 201 of the printer 100 can be mentioned. In addition, the status of the printer unit 400 may be notified to the DTV 501 using the GetPrinterStatusString command defined by the UPnP standard, and the notification content may be displayed on the DTV 501. Alternatively, when the printer unit 400 has a WEB server function, these pieces of information may be stored in the WEB server of the printer unit 400. In this case, the user can view the notification contents by accessing the WEB server of the printer unit 400 from the WEB client of the PC connected to the DTV 501 or the printer unit 400 via LAN or WAN.

また、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 printer 100 to the paper type (DTV). Therefore, in S1504, “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 “paper type (DTV)”. 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)”.

また、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 printer 100, the condition of CriticalAttribute cannot be satisfied, so there is nothing for the “value to be changed (of the paper feed cassette of the printer 100)”. Not set. In step S1505, the user is notified of the set “reason for cancellation”. In this case, no matter what the user sets in the paper size / paper type of the paper feed tray of the printer 100, the condition of CriticalAttribute cannot be satisfied, and printing cannot be performed forever. Therefore, the LCD viewer 201 of the printer 100 may be instructed to “invalidate” the designation of the CriticalAttribute. When the printer unit 400 has a WEB server function, it may be possible to instruct the DTV 501 or the WEB client of the PC connected to the printer unit 400 via a LAN or WAN to “invalidate” the designation of the Critical Attribute.

次に、図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 printer 100.

<ケース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/マット紙で印刷を行う。
<Case 2>
● 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 case 2, according to the conventional technique, since the paper size (XHTML) is B5 and the paper size (printer) is L in S1008, the paper size (XHTML) and the paper size (printer) are different, so the process proceeds to S1027. I can't print. 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 B5 and the paper type (DTV) is plain paper, referring to FIG. 9, since B5 is a non-supported paper size, the user absolutely prints. I couldn't.

一方、本発明によれば、上述の通り、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 LCD viewer 201 or the like changes the paper size (printer) / paper type (printer) of the paper feed tray of the printer 100 to A4 / plain paper. This enables printing when the user prints the same content again from the DTV 501.

ケース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 printer 100 to A4 / plain paper. By doing so, user convenience has been greatly improved. If not notified, the user did not know the reason why printing was not possible and how to deal with it, and printing was difficult.

以上説明したように、本実施例によれば、印刷データ中に印刷媒体の属性を指定する第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 printer 100 Processing different from the conventional technology is performed. Specifically, the printer 100 extracts the first medium parameter from the print parameter received from the DTV 501 and extracts the second medium parameter from the print data. Then, the printer 100 determines whether a print medium corresponding to the content of the attribute designated by the second medium parameter is set in the printer 100 (first determination). If not set, the printer 100 determines whether a print medium corresponding to the content of the attribute specified by the first medium parameter is set in the printer 100 (second determination). When set, the printer 100 performs printing using a print medium corresponding to the content of the attribute designated by the first medium parameter. If the print medium corresponding to the content of the attribute specified by the first medium parameter is not set in the printer 100, the printer 100 does not perform printing.

これにより、ユーザが意図していない印刷媒体の属性に従って印刷が行われてしまうことを低減させることが可能となる。 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.

実施例1に係るプリンタユニットを構成するプリンタの概略構成を示すブロック図である。1 is a block diagram illustrating a schematic configuration of a printer that constitutes a printer unit according to Embodiment 1. FIG. 実施例1に係るプリンタに設けられている操作表示部の具体例を示す図である。6 is a diagram illustrating a specific example of an operation display unit provided in the printer according to Embodiment 1. FIG. 実施例1に係るLANユニットの概略を示す図である。1 is a diagram illustrating an outline of a LAN unit according to Embodiment 1. FIG. 実施例1に係るプリンタユニットの概略を示す図である。1 is a diagram illustrating an outline of a printer unit according to Embodiment 1. FIG. XHTMLプリントを実現するためのシステムの概略を示す図である。It is a figure which shows the outline of the system for implement | achieving XHTML printing. 実施例1に係るプリンタユニット及びデジタルテレビ(DTV)を用いたXHTMLプリントの動作の流れを示すシーケンス図である。FIG. 6 is a sequence diagram illustrating a flow of an XHTML print operation using the printer unit and the digital television (DTV) according to the first embodiment. 実施例1に係るプリンタユニットがDTVに対して送信するXMLファイルの一部の例を示す図である。FIG. 6 is a diagram illustrating an example of a part of an XML file transmitted from the printer unit according to the first embodiment to a DTV. 実施例1に係るプリンタに対して、給紙トレイに用紙情報を登録する手順を示すフローチャートである。4 is a flowchart illustrating a procedure for registering paper information in a paper feed tray for the printer according to the first embodiment. 実施例1に係るプリンタの給紙トレイにセットすることが可能な用紙の用紙サイズ及び用紙タイプと、印刷品位とを示す図である。FIG. 4 is a diagram illustrating a paper size and a paper type of paper that can be set in a paper feed tray of the printer according to the first embodiment, and a print quality. 実施例1に係るプリンタが、印刷可否の判断を行い、使用する印刷媒体の属性(用紙サイズ/用紙タイプ)の内容を決定する処理の流れを示すフローチャートである。5 is a flowchart illustrating a flow of processing in which the printer according to the first embodiment determines whether printing is possible and determines the contents of attributes (paper size / paper type) of a printing medium to be used. 実施例1に係るプリンタが、印刷可否の判断を行い、使用する印刷媒体の属性(用紙サイズ/用紙タイプ)の内容を決定する処理の流れを示すフローチャートである。5 is a flowchart illustrating a flow of processing in which the printer according to the first embodiment determines whether printing is possible and determines the contents of attributes (paper size / paper type) of a printing medium to be used. 実施例1に係るプリンタが、印刷可否の判断を行い、使用する印刷媒体の属性(用紙サイズ/用紙タイプ)の内容を決定する処理の流れを示すフローチャートである。5 is a flowchart illustrating a flow of processing in which the printer according to the first embodiment determines whether printing is possible and determines the contents of attributes (paper size / paper type) of a printing medium to be used. 実施例1に係るプリンタが、印刷可否の判断を行い、使用する印刷媒体の属性(用紙サイズ/用紙タイプ)の内容を決定する処理の流れを示すフローチャートである。5 is a flowchart illustrating a flow of processing in which the printer according to the first embodiment determines whether printing is possible and determines the contents of attributes (paper size / paper type) of a printing medium to be used. 図10A乃至Dで使用されるパラメータとその取り得る値をまとめて示す図である。It is a figure which shows collectively the parameter used by FIG. 10A thru | or D, and its possible value. 図10A乃至Dで使用されるパラメータとその取り得る値をまとめて示す図である。It is a figure which shows collectively the parameter used by FIG. 10A thru | or D, and its possible value. 図10A乃至Dで使用されるパラメータとその取り得る値をまとめて示す図である。It is a figure which shows collectively the parameter used by FIG. 10A thru | or D, and its possible value. CriticalAttributeの条件を満たせないためにプリンタが印刷キャンセルを行った場合に、ユーザに通知する内容を示す図である。FIG. 10 is a diagram illustrating contents to be notified to a user when a printer cancels printing because the condition of CriticalAttribute cannot be satisfied. 実施例1に係るプリンタが、印刷キャンセルの理由及び変更すべき値をユーザに通知する処理の流れを示すフローチャートである。6 is a flowchart illustrating a flow of processing in which the printer according to the first embodiment notifies a user of a reason for canceling printing and a value to be changed.

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媒体パラメータが指定する属性とは異なる属性を有する印刷媒体を使用した印刷を禁止する禁止指示を、前記外部装置から更に受信し、  The receiving unit further receives a prohibition instruction for prohibiting printing using a print medium having an attribute different from the attribute specified by the second medium parameter extracted by the extracting unit from the external device;
前記印刷手段は、前記受信手段により前記禁止指示が受信されて、前記第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.
ユーザによる指示に応じて、前記印刷装置にセットされる印刷媒体の属性を前記印刷装置に登録する登録手段を有し、  In accordance with an instruction from a user, the printing apparatus has a registration unit for registering an attribute of a print medium set in the printing apparatus in the printing apparatus,
前記判定手段は、前記登録手段により登録された印刷媒体の属性に基づき、前記印刷装置にセットされている印刷媒体の属性を判定することを特徴とする請求項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.
前記印刷装置にセットされている印刷媒体の属性を検知する検知手段を有し、  Detecting means for detecting attributes of a print medium set in the printing apparatus;
前記判定手段は、前記検知手段により検知された印刷媒体の属性に基づき、前記印刷装置にセットされている印刷媒体の属性を判定することを特徴とする請求項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に記載の印刷装置。  The determination means determines that both the print medium corresponding to the attribute specified by the first medium parameter and the print medium corresponding to the attribute specified by the second medium parameter are not set in the printing apparatus. The printing apparatus according to claim 2, wherein the printing unit is controlled not to perform printing based on the print data received by the receiving unit. 前記判定手段により、前記第1媒体パラメータが指定する属性に対応する印刷媒体と、前記第2媒体パラメータが指定する属性に対応する印刷媒体との両方とも当該印刷装置にセットされていないと判定された場合に、前記第1媒体パラメータが指定する属性、及び前記第2媒体パラメータが指定する属性の少なくとも一方をユーザに通知する通知手段を更に備えることを特徴とする請求項に記載の印刷装置。 The determination means determines that both the print medium corresponding to the attribute specified by the first medium parameter and the print medium corresponding to the attribute specified by the second medium parameter are not set in the printing apparatus. If the, according to claim 5, wherein the first medium parameter that specifies an attribute, and characterized by further comprising a notification means for notifying at least one user of the second medium parameter that specifies attributes Printing device. 前記印刷データは、XHTMLプリント規格に準拠したデータであることを特徴とする請求項1乃至のいずれか1項に記載の印刷装置。 The print data to a printing apparatus according to any one of claims 1 to 6, characterized in that the data conforming to the XHTML print standard. 前記第1媒体パラメータと前記第2媒体パラメータは、印刷媒体のサイズを指定するためのパラメータであることを特徴とする請求項1乃至のいずれか1項に記載の印刷装置。 The first medium parameter and the second medium parameter, the printing apparatus according to any one of claims 1 to 7, characterized in that a parameter for specifying the size of the print medium. 印刷データに基づく画像を印刷媒体に印刷する印刷装置の制御方法であって、
前記印刷装置の受信手段が、印刷データ、及び当該印刷データに基づく画像が印刷される印刷媒体の属性を指定するための第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.
コンピュータに、請求項9に記載の制御方法の各工程を実行させるためのプログラム。  The program for making a computer perform each process of the control method of Claim 9.
JP2008014175A 2008-01-24 2008-01-24 Printing apparatus, printing apparatus control method, and program Active JP5094443B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

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