JP5843180B2 - Control device mounted on portable terminal device - Google Patents
Control device mounted on portable terminal device Download PDFInfo
- Publication number
- JP5843180B2 JP5843180B2 JP2014215114A JP2014215114A JP5843180B2 JP 5843180 B2 JP5843180 B2 JP 5843180B2 JP 2014215114 A JP2014215114 A JP 2014215114A JP 2014215114 A JP2014215114 A JP 2014215114A JP 5843180 B2 JP5843180 B2 JP 5843180B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- display
- web
- terminal device
- partial image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Description
本明細書によって開示される技術は、携帯電話、PDA(Personal Digital Assistant)、携帯型音楽プレーヤー、ノートPC、タブレットPC等の可搬型の端末装置に搭載される制御装置に関する。 The technology disclosed in this specification relates to a control device mounted on a portable terminal device such as a mobile phone, a PDA (Personal Digital Assistant), a portable music player, a notebook PC, or a tablet PC.
特許文献1には、本体と、本体に対して回転可能なディスプレイと、を備える携帯電話が開示されている。この携帯電話は、ディスプレイが縦長の位置に存在する状態では、画像の左右方向がディスプレイの短辺に沿うように画像を表示させ、ディスプレイが横長の位置に存在する状態では、画像の左右方向がディスプレイの長辺に沿うように画像を表示させる。 Patent Document 1 discloses a mobile phone including a main body and a display that can rotate with respect to the main body. This mobile phone displays an image so that the horizontal direction of the image is along the short side of the display when the display is in a vertically long position, and the horizontal direction of the image is when the display is in a horizontally long position. An image is displayed along the long side of the display.
特許文献1の技術では、ディスプレイで表示されている画像をプリンタに印刷させることについて、何ら考慮されていない。本明細書では、ディスプレイに対して画像の向きを切り替え可能な可搬型の端末装置で当該画像の印刷が指示される場合に、適切な印刷結果物をユーザに提供し得る技術を開示する。 In the technique of Patent Document 1, no consideration is given to causing a printer to print an image displayed on a display. The present specification discloses a technique capable of providing an appropriate print result to a user when a portable terminal device capable of switching the orientation of an image with respect to a display is instructed to print the image.
本明細書では、可搬型の端末装置に搭載される制御装置を開示する。可搬型の端末装置は、矩形形状のディスプレイと、表示制御部と、を備える。ディスプレイは、第1方向に沿った第1の長さと、第1方向に直交する第2方向に沿った第2の長さであって、第1の長さと異なる第2の長さと、を有する。表示制御部は、特定のデータによって表わされる特定の画像の上下方向が第1方向に沿うと共に特定の画像の左右方向が第2方向に沿って、特定の画像がディスプレイに表示される第1の状態と、特定の画像の上下方向が第2方向に沿うと共に特定の画像の左右方向が第1方向に沿って、特定の画像がディスプレイに表示される第2の状態と、を切り替える。 In this specification, the control apparatus mounted in a portable terminal device is disclosed. The portable terminal device includes a rectangular display and a display control unit. The display has a first length along the first direction and a second length along a second direction orthogonal to the first direction, the second length being different from the first length. . The display control unit is configured to display a first specific image displayed on the display in a vertical direction of the specific image represented by the specific data along the first direction and a horizontal direction of the specific image along the second direction. The state is switched between the second state in which the vertical direction of the specific image is along the second direction and the horizontal direction of the specific image is along the first direction, and the specific image is displayed on the display.
制御装置は、特定の画像の印刷が指示される場合に、特定のデータを用いて、プリンタが解釈可能なフォーマットを有する印刷データを生成する印刷データ生成部と、印刷データをプリンタに送信する送信部と、を備える。印刷データ生成部は、第1の状態で特定の画像の印刷が指示される第1の場合と、第2の状態で特定の画像の印刷が指示される第2の場合と、のどちらでも、特定の画像の左右方向が印刷媒体の短辺に沿う第1種の印刷であって、特定の画像の左右方向の全長が印刷媒体の短辺の長さに対応する第1種の印刷を、プリンタに実行させるための第1種の印刷データを生成する。 The control device, when instructed to print a specific image, uses the specific data to generate print data having a format interpretable by the printer, and transmission for transmitting the print data to the printer A section. In either the first case where the printing of the specific image is instructed in the first state or the second case where the printing of the specific image is instructed in the second state, the print data generation unit The first type of printing in which the right and left direction of the specific image is along the short side of the print medium, and the total length of the specific image in the left and right direction corresponds to the length of the short side of the print medium, First type print data to be executed by the printer is generated.
上記の構成では、第1の状態で特定の画像の印刷が指示されても、第2の状態で特定の画像の印刷が指示されても、特定の画像の左右方向が短辺に沿っている印刷媒体が得られる。即ち、ディスプレイに対する特定の画像の向きに関わらず、特定の画像の左右方向が短辺に沿っている印刷媒体が得られる。従って、ユーザが統一性を感じ得る印刷結果物をユーザに提供することができる。特に、特定の画像の左右方向が印刷媒体の短辺に沿うために、特定の画像の左右方向が印刷媒体の長辺に沿う構成と比べて、印刷に必要な印刷媒
体数を低減し得る。
In the above configuration, even if printing of a specific image is instructed in the first state or printing of a specific image is instructed in the second state, the horizontal direction of the specific image is along the short side. A print medium is obtained. That is, a print medium in which the right and left direction of the specific image is along the short side regardless of the direction of the specific image with respect to the display is obtained. Therefore, it is possible to provide the user with a print result that allows the user to feel unity. In particular, since the left-right direction of a specific image is along the short side of the print medium, the number of print media required for printing can be reduced as compared with a configuration in which the left-right direction of the specific image is along the long side of the print medium.
なお、上記の制御装置の機能を実現するための制御方法、コンピュータプログラム、及び、当該コンピュータプログラムを格納するコンピュータ読取可能記憶媒体も新規で有用である。また、上記の制御装置を備える可搬型の端末装置も新規で有用である。 A control method, a computer program, and a computer-readable storage medium for storing the computer program for realizing the functions of the control device are also novel and useful. A portable terminal device including the above-described control device is also new and useful.
(第1実施例)
(システムの構成)
図面を参照して第1実施例を説明する。図1に示されるように、通信システム2は、携帯端末装置10と、プリンタ60と、Webサーバ72と、を備える。携帯端末装置10とプリンタ60とは、ネットワーク50を介して、通信可能に接続されている。ネットワーク50は、Wi−Fi(登録商標)等に準拠したローカルエリアネットワーク(LAN)であり、アクセスポイント(AP)52と、ネットワークケーブル54と、を備える。ネットワーク50は、インターネット70に接続されている。Webサーバ72は、インターネット70に接続されている。携帯端末装置10は、AP52を介して、ネットワーク50に無線接続されることが可能である。この場合には、携帯端末装置10は、ネットワーク50を介して、プリンタ60と通信可能であり、さらに、ネットワーク50及びインターネット70を介して、Webサーバ72と通信可能である。
(First embodiment)
(System configuration)
A first embodiment will be described with reference to the drawings. As shown in FIG. 1, the communication system 2 includes a
(携帯端末装置10の構成)
携帯端末装置10は、ユーザが容易に持ち運ぶことができる端末装置(即ち可搬型の端末装置)である。携帯端末装置10は、例えば、携帯電話、PDA、携帯型音楽プレーヤー、ノートPC、タブレットPC等である。携帯端末装置10は、ディスプレイ12と、通信インターフェース(通信I/F)16と、制御部20と、を備える。各部12,16,20は、バス線18に接続されている。通信I/F16は、携帯端末装置10が無線通信を実行するためのI/Fである。
(Configuration of mobile terminal device 10)
The
ディスプレイ12は、様々な情報を表示するためのディスプレイである。図2には、携帯端末装置10の外観が示されている。図2に示されるように、ディスプレイ12は、短辺の長さがL1であると共に長辺の長さがL2である矩形形状(即ち(L2がL1より大きい長方形状)を有する。なお、図2に示される2つの携帯端末装置10のうちの上の図は、ディスプレイ12の長辺が、地表面に対して鉛直方向(即ち重力方向)に沿って伸びている様子を示す。また、下の図は、ディスプレイ12の短辺が、地表面に対して鉛直方向(即ち重力方向)に沿って伸びている様子を示す。以下では、図2のうちの上の図の状態について、「携帯端末装置10が縦向きの姿勢である」と表現することあり、図2のうちの下の図の状態について、「携帯端末装置10が横向きの姿勢である」と表現することがある。なお、本実施例のディスプレイ12は、いわゆるタッチパネルであり、ユーザに
よって操作される操作部を兼ねている。
The
制御部20は、CPU22と、プログラム記憶領域24と、を備える。CPU22は、プログラム記憶領域24に格納されているプログラム26,28に従って、様々な処理を実行する。CPU22がOSプログラム26に従って処理を実行することによって、表示制御部30の機能が実現される。また、CPU22が印刷アプリケーション28に従って処理を実行することによって、印刷データ生成部40、送信部42、及び、表示データ生成部44の各機能が実現される。なお、OSプログラム26は、携帯端末装置10の出荷段階において、携帯端末装置10に予めインストールされている。また、印刷アプリケーション28は、例えば、プリンタ60のベンダによって提供されるサーバからダウンロードされることによって、携帯端末装置10にインストールされる。なお、本実施例に代えて、印刷アプリケーション28は、携帯端末装置10の出荷段階において、携帯端末装置10に予めインストールされていてもよいし、CD等の記憶媒体(メディア)から携帯端末装置10にインストールされてもよい。
The
(OSプログラム26に従って実行される処理)
次いで、図2を参照して、OSプログラム26に従って実行される処理の内容について説明する。なお、以下では、Webデータによって表わされる画像をディスプレイ12に表示するための処理を中心に説明する。実際には、OSプログラム26は、他の様々な機能を実現するが、それらの機能についての説明を省略する。
(Processes executed according to the OS program 26)
Next, the contents of processing executed according to the OS program 26 will be described with reference to FIG. In the following description, the processing for displaying an image represented by Web data on the
ユーザは、ディスプレイ12を操作することによって、Webサーバ72にアクセスするための指示を携帯端末装置10に与えることができる。この場合、S2において、表示制御部30(図1参照)は、Webサーバ72にアクセスして、Webサーバ72からHTML(Hyper Text Markup Language)形式のWebデータを取得する。
The user can give the mobile
次いで、S4において、表示制御部30は、携帯端末装置10に内蔵されている図示省略の姿勢センサ(例えば加速度センサ)の検出値に基づいて、携帯端末装置10の姿勢を判断する。具体的に言うと、表示制御部30は、携帯端末装置10が、縦向きの姿勢(図2のうちの上の図の状態)であるのか、横向きの姿勢で(図2のうちの下の図の状態)あるのか、を判断する。なお、S4では、表示制御部30は、携帯端末装置10が縦向き及び横向きのどちらの姿勢であるのかを厳密に判断するのではなく、携帯端末装置10が縦向き及び横向きのどちらの姿勢に近いのかを判断する。従って、例えば、携帯端末装置10が、ディスプレイ12の中央を回転中心として、縦向きの姿勢から時計回りに30度回転した状態では、表示制御部30は、S4でYES(縦向きの姿勢に近い)と判断する。また、例えば、携帯端末装置10が、ディスプレイ12の中央を回転中心として、縦向きの姿勢から時計回りに60度回転した状態では、表示制御部30は、S4でNO(横向きの姿勢に近い)と判断する。なお、以下の処理でも、携帯端末装置10の姿勢が判断される場合(例えば図4のS42、図5のS62)には、S4と同様の判断が実行される。
Next, in S <b> 4, the
S4でYESの場合(縦向きの姿勢に近い場合)には、S6において、表示制御部30は、S2で取得されたHTML形式のWebデータを用いて、RGBのBMP形式の縦向き用画像データを生成する。Webデータでは、通常、Webデータ(テキストデータ、画像データ等)によって表わされる画像(図2の例では「A」〜「L」のアルファベット)の上下方向及び左右方向が予め決められている。本実施例では、「A」、「B」、「C」の順に左から右に配列され、「A」、「D」、「G」、「J」の順に上から下に配列される。即ち、図2の上下方向が画像の上下方向であり、図2の左右方向が画像の左右方向である。S6では、表示制御部30は、Webデータによって表わされる画像の上下方向がディスプレイ12の長辺に沿うとともに、当該画像の左右方向がディスプレイ12の短辺に沿うように、縦向き用画像データを生成する。なお、本実施例では、ディスプレイ1
2に表示される画像80の左右方向の全長(「A」の左端から「C」の右端までの長さ)が、ディスプレイ12の短辺の長さにほぼ等しくなるように、縦向き用画像データが生成される。
In the case of YES in S4 (when the posture is close to the portrait orientation), in S6, the
The image for portrait orientation is such that the total length (the length from the left end of “A” to the right end of “C”) of the
S6では、表示制御部30は、さらに、縦向き用画像データをディスプレイ12に供給する。この結果、図2のうちの上の図に示されるように、各アルファベットを含む画像80がディスプレイ12に表示される。なお、ユーザがディスプレイ12の表示を下方向にスクロールさせれば、「A」〜「L」のアルファベットの代わりに、「A」〜「L」のアルファベットよりも下に配置されるべき他の画像が、ディスプレイ12に表示される。S6を終えると、S9に進む。
In S <b> 6, the
一方において、S4でNOの場合(横向きの姿勢に近い場合)には、S8において、表示制御部30は、S2で取得されたHTML形式のWebデータを用いて、RGBのBMP形式の横向き用画像データを生成する。S8では、表示制御部30は、Webデータによって表わされる画像の上下方向がディスプレイ12の短辺に沿うとともに、当該画像の左右方向がディスプレイ12の長辺に沿うように、横向き用画像データを生成する。S8では、表示制御部30は、さらに、横向き用画像データをディスプレイ12に供給する。この結果、図2のうちの下の図に示されるように、各アルファベットを含む画像90がディスプレイ12に表示される。
On the other hand, in the case of NO in S4 (when the posture is close to the landscape orientation), in S8, the
なお、本実施例では、ディスプレイ12に表示される画像90の左右方向の全長(「A」の左端から「C」の右端までの長さ)が、ディスプレイ12の長辺の長さにほぼ等しくなるように、横向き用画像データが生成される。当然のことながら、ディスプレイ12の長辺は、ディスプレイ12の短辺よりも長い。このために、横向き用画像データによって表わされる画像90を構成する部分画像(例えば1個のアルファベット「A」)のサイズは、縦向き用画像データによって表わされる画像80を構成する同じ部分画像のサイズよりも大きい。従って、図2のうちの上の図に示されるように、縦向き用画像データがディスプレイ12に供給される場合には、アルファベット「A」〜「L」が表示されるが、図2のうちの下の図に示されるように、横向き用画像データがディスプレイ12に供給される場合には、アルファベット「A」〜「F」のみが表示される。なお、変形例では、横向き用画像データによって表わされる画像90を構成する部分画像のサイズと、縦向き用画像データによって表わされる画像80を構成する同じ部分画像のサイズと、が同じでもよい。S8を終えると、S9に進む。
In this embodiment, the total length (the length from the left end of “A” to the right end of “C”) of the
S9では、表示制御部30は、Webデータによって表わされる画像80,90をディスプレイ12に表示するのを終了するための操作が実行されたのか否かを判断する。ここでNOの場合、表示制御部30は、S4に戻って、携帯端末装置10の姿勢が変化することを監視する。例えば、携帯端末装置10が縦向きの姿勢から横向きの姿勢に変化する場合には、表示制御部30は、S4でNOと判断し、S8において、横向き用画像データを生成して、ディスプレイ12に供給する。また、例えば、携帯端末装置10が横向きの姿勢から縦向きの姿勢に変化する場合には、表示制御部30は、S4でYESと判断し、S6において、縦向き用画像データを生成して、ディスプレイ12に供給する。即ち、携帯端末装置10は、携帯端末装置10の姿勢に応じて、ディスプレイ12に対する画像80,90の向きを切り替える。なお、S9でYESの場合には、Webデータによって表わされる画像80,90の表示が終了する。
In S9, the
(印刷アプリケーション28に従って実行される処理)
次いで、図3を参照して、印刷アプリケーション28に従って実行される処理の内容について説明する。ユーザは、図2のうちの上の図又は下の図に示されるように、Webデータによって表わされる画像80,90がディスプレイ12に表示されている状態で、デ
ィスプレイ12を操作することによって、印刷アプリケーション28を起動するための指示を携帯端末装置10に与えることができる。この場合、図3の処理が開始される。
(Processes executed according to the print application 28)
Next, the contents of processing executed according to the
(プレビュー画像表示処理)
まず、S10において、表示データ生成部44(図1参照)は、プレビュー画像表示処理を実行する。図4は、プレビュー画像表示処理のフローチャートを示す。S42では、表示データ生成部44は、携帯端末装置10の姿勢を判断する。携帯端末装置10が縦向きの姿勢である場合には、表示データ生成部44は、S42でYESと判断し、S44に進む。S44では、表示データ生成部44は、Webデータによって表わされる画像80(図2参照)のポートレート印刷(即ち印刷対象の画像の左右方向が印刷媒体の短辺に沿う印刷)の結果を示すプレビュー画像を表わす縦向き用プレビュー画像データを生成して、ディスプレイ12に供給する。この結果、プレビュー画像100がディスプレイ12に表示される。プレビュー画像100は、印刷媒体の輪郭102と、Webデータによって表わされる画像80に対応する画像104(即ちアルファベット「A」〜「L」)と、を示す。
(Preview image display processing)
First, in S10, the display data generation unit 44 (see FIG. 1) executes a preview image display process. FIG. 4 shows a flowchart of the preview image display process. In S <b> 42, the display data generation unit 44 determines the attitude of the mobile
S44の処理の内容について、より具体的に説明する。S44の段階では、ユーザによって印刷条件が未だに選択されていないために、表示データ生成部44は、予め決められている印刷条件(以下では「所定の印刷条件」と呼ぶ)を用いて、プレビュー画像データを生成する。本実施例では、上記の所定の印刷条件は、A4サイズの印刷媒体を用いたカラー印刷である。従って、表示データ生成部44は、プレビュー画像100内の輪郭102の縦横比が、A4サイズの縦横比である1:ルート2になるように、プレビュー画像データを生成する。また、表示データ生成部44は、プレビュー画像100内の画像104がカラー画像になるように、プレビュー画像データを生成する。なお、本実施例では、さらに、上記の所定の印刷条件として、予め決められた余白のサイズを採用している。印刷媒体の短辺の両端のそれぞれの余白のサイズは、印刷媒体の短辺の長さの1/10よりも小さい。従って、画像104の左右方向の全長(「A」の左端から「C」の右端までの長さ)は、輪郭102の短辺の長さにほぼ等しい。なお、変形例では、上記の所定の印刷条件として、余白なしを採用してもよい。この変形例では、画像104の左右方向の全長は、輪郭102の短辺の長さに一致する。なお、短辺方向の余白と同様に、印刷媒体の長辺の両端のそれぞれの余白のサイズは、印刷媒体の長辺の長さの1/10よりも小さい。従って、画像104の上下方向の全長(「A」の上端から「J」の下端までの長さ)は、輪郭102の長辺の長さにほぼ等しい。
The contents of the process of S44 will be described more specifically. In step S44, since the printing conditions have not yet been selected by the user, the display data generation unit 44 uses the predetermined printing conditions (hereinafter referred to as “predetermined printing conditions”) to preview images. Generate data. In this embodiment, the predetermined printing condition is color printing using an A4 size printing medium. Accordingly, the display data generation unit 44 generates preview image data so that the aspect ratio of the
S44では、さらに、表示データ生成部44は、プレビュー画像100の左右方向がディスプレイ12の短辺に沿うとともに、プレビュー画像100の上下方向がディスプレイ12の長辺に沿うように、プレビュー画像データを生成する。なお、プレビュー画像100の左右方向は、プレビュー画像100内の画像104の左右方向(即ち「A」、「B」、「C」が並ぶ方向)に対応し、プレビュー画像100の上下方向は、プレビュー画像100内の画像104の上下方向(即ち「A」、「D」、「G」、「J」が並ぶ方向)に対応する。さらに、S44では、表示データ生成部44は、1枚の印刷媒体に対する印刷結果を示すプレビュー画像100の全体がディスプレイ12内に収まるように、プレビュー画像データを生成する。なお、表示データ生成部44は、プレビュー画像100の全体がディスプレイ12内に収まる範囲内で可能な限り、プレビュー画像100の全体のサイズが大きくなるように、プレビュー画像データを生成する。S44を終えると、プレビュー画像表示処理が終了する。
In S <b> 44, the display data generation unit 44 further generates preview image data so that the horizontal direction of the
一方において、携帯端末装置10が横向きの姿勢である場合には、表示データ生成部44は、S42でNOと判断し、S46に進む。S46では、表示データ生成部44は、Webデータによって表わされる画像80(図2参照)のポートレート印刷の結果を示すプ
レビュー画像を表わす横向き用プレビュー画像データを生成して、ディスプレイ12に供給する。この結果、プレビュー画像110がディスプレイ12に表示される。プレビュー画像110は、印刷媒体の輪郭112と、Webデータによって表わされる画像80に対応する画像114(即ちアルファベット「A」〜「L」)と、を示す。
On the other hand, when the mobile
S46では、S44と同様に、表示データ生成部44は、上記の所定の印刷条件を用いて、プレビュー画像データを生成する。従って、プレビュー画像110内の輪郭112の縦横比は、1:ルート2であり、プレビュー画像110内の画像114は、カラー画像である。S46では、さらに、表示データ生成部44は、プレビュー画像110の左右方向(即ち「A」、「B」、「C」が並ぶ方向)がディスプレイ12の長辺に沿うとともに、プレビュー画像110の上下方向(即ち「A」、「D」、「G」、「J」が並ぶ方向)がディスプレイ12の短辺に沿うように、プレビュー画像データを生成する。その他の点は、S44と同様である。S46を終えると、プレビュー画像表示処理が終了する。
In S46, as in S44, the display data generation unit 44 generates preview image data using the predetermined printing conditions. Therefore, the aspect ratio of the
上述したように、本実施例では、プレビュー画像表示処理が実行されるために、ユーザは、ディスプレイ12で表示されている画像80,90が実際に印刷される前に、印刷結果を確認することができる。特に、ユーザによって印刷条件が設定される前に(即ち印刷アプリケーション28が起動された直後に)、プレビュー画像100等が表示されるために、ユーザは、プレビュー画像100等を迅速に確認することができる。また、1枚の印刷媒体に対応するプレビュー画像100等の全体がディスプレイ12に収まるように表示されるために、ユーザは、プレビュー画像100等を確認し易い。
As described above, in this embodiment, since the preview image display process is executed, the user confirms the print result before the
(プレビュー画像表示処理後の処理)
プレビュー画像表示処理が終了すると、図3のS12に進む。S12では、制御部20は、検索パケットをネットワーク50(図1参照)に送信する。この結果、ネットワーク50に接続されているプリンタ60は、応答パケットを携帯端末装置10に送信する。ネットワーク50に他のプリンタ(図示省略)がさらに接続されている場合には、当該他のプリンタも、応答パケットを携帯端末装置10に送信する。応答パケットは、送信元のプリンタのノード名、IPアドレス等を含む。制御部20は、各プリンタのノード名をディスプレイ12に表示させる。ユーザは、ディスプレイ12を操作することによって、1個のプリンタのノード名を選択することができる。この場合、制御部20は、S14でYESと判断し、S16に進む。本実施例では、プリンタ60のノード名が選択されたものとして、以下の説明を続ける。
(Process after preview image display processing)
When the preview image display process ends, the process proceeds to S12 in FIG. In S12, the
S16では、制御部20は、プリンタ60が実行可能な印刷条件をプリンタ60に問い合わせる。この結果、制御部20は、プリンタ60が実行可能な印刷条件を示す情報を取得する。なお、プリンタ60が実行可能な印刷条件は、例えば、印刷媒体のサイズ(A4サイズ、Letterサイズ等)、印刷媒体の種類(普通紙、光沢紙等)、印刷の色数(カラー印刷、モノクロ印刷)、両面印刷の可否等を含む。
In S <b> 16, the
次いで、S18において、制御部20は、S16で取得された情報に基づいて、プリンタ60が実行可能な印刷条件をディスプレイ12に表示させる。ユーザは、ディスプレイ12を操作することによって、所望の印刷条件を設定(即ち選択)することができる。この場合、制御部20は、S20でYESと判断し、S22に進む。なお、本実施例では、印刷媒体のサイズとして「Letterサイズ」が設定され、印刷の色数として「モノクロ印刷」が設定されたものとして、以下の説明を続ける。
Next, in S18, the
(プレビュー画像更新処理)
次いで、S22のプレビュー画像更新処理の内容について説明する。図5は、プレビュー画像更新処理のフローチャートを示す。携帯端末装置10が縦向きの姿勢である場合に
は、表示データ生成部44は、S62でYESと判断し、S64に進む。S64の処理は、設定済みの印刷条件(即ちモノクロ印刷、Letterサイズ)が利用される点を除くと、図4のS44の処理と同様である。S64の処理の結果、図4のプレビュー画像100に代えて、プレビュー画像200がディスプレイ12に表示される。プレビュー画像200内の輪郭202の縦横比は、Letterサイズの縦横比である8.5:11であり、プレビュー画像200内の画像204は、モノクロ画像である。なお、図4のプレビュー画像表示処理の場合と比べて、印刷媒体の縦横比が変わるために、プレビュー画像200内の画像204の一部(「J」、「K」、「L」の一部)が欠損している。S64を終えると、プレビュー画像更新処理が終了する。
(Preview image update process)
Next, the contents of the preview image update process in S22 will be described. FIG. 5 shows a flowchart of the preview image update process. If the mobile
一方において、携帯端末装置10が横向きの姿勢である場合には、表示データ生成部44は、S62でNOと判断し、S66に進む。S66の処理は、設定済みの印刷条件(即ちモノクロ印刷、Letterサイズ)が利用される点を除くと、図4のS46の処理と同様である。S66の処理の結果、図4のプレビュー画像110に代えて、8.5:11の縦横比を有する輪郭212と、モノクロ画像である画像214と、を示すプレビュー画像210が、ディスプレイ12に表示される。S66を終えると、プレビュー画像更新処理が終了する。
On the other hand, when the mobile
上述したように、本実施例では、プレビュー画像更新処理が実行されるために、例えば、ユーザによってモノクロ印刷が設定される場合には、モノクロ印刷の印刷結果を示すプレビュー画像200等が表示される。また、例えば、ユーザによって印刷媒体のサイズ(例えばLetterサイズ)が設定される場合には、そのサイズの縦横比に従ったプレビュー画像200等が表示される。ユーザは、自身が希望する印刷条件に従った印刷結果を示すプレビュー画像200等を確認することができる。
As described above, in this embodiment, since the preview image update process is executed, for example, when monochrome printing is set by the user, the
(プレビュー画像更新処理後の処理)
プレビュー画像更新処理が終了すると、図3のS24に進む。S24では、制御部20は、ユーザによって印刷開始が指示されることを監視する。ユーザは、図5のプレビュー画像更新処理で表示されるプレビュー画像200等を見た後に、ディスプレイ12を操作することによって、印刷開始を指示することができる。この場合、制御部20は、S24でYESと判断し、S28に進む。なお、ユーザは、印刷開始を指示する前に、携帯端末装置10の姿勢を変化させることができる。制御部20は、携帯端末装置10の姿勢が変化すること(即ち、縦向きの姿勢に近い状態から横向きの姿勢に近い状態に変化すること、又は、横向きの姿勢に近い状態から縦向きの姿勢に近い状態に変化すること)を監視している(S26)。ここでYESの場合、表示データ生成部44は、S22のプレビュー画像更新処理(図5参照)を再び実行する。この結果、例えば、縦向きの姿勢から横向きの姿勢に変化した場合には、プレビュー画像200に代えて、プレビュー画像210が新たに表示される。
(Process after preview image update processing)
When the preview image update process ends, the process proceeds to S24 in FIG. In S <b> 24, the
(印刷データ生成処理)
続いて、S28の印刷データ生成処理の内容について説明する。図6は、印刷データ生成処理のフローチャートを示す。S82では、印刷データ生成部40は、ポートレート印刷用の印刷データを生成する。さらに、S82では、送信部42は、図3のS12で取得されたプリンタ60のIPアドレスを送信先として、ポートレート印刷用の印刷データを送信する。この結果、プリンタ60は、ポートレート印刷用の印刷データを用いて、印刷媒体300に画像302を印刷する。
(Print data generation process)
Next, the contents of the print data generation process in S28 will be described. FIG. 6 shows a flowchart of the print data generation process. In S82, the print
S82の処理の内容について、詳しく説明する。プリンタ60は、通常、JPEG形式のデータを解釈可能である。従って、本実施例では、印刷データ生成部40は、図2のS2で取得されたWebデータを用いて、RGBのビットマップデータを生成し、そのビッ
トマップデータを圧縮することによってJPEG形式の印刷データを生成する。
The contents of the process of S82 will be described in detail. The
さらに、印刷データ生成部40は、設定済みの印刷条件(即ち、モノクロ印刷、Letterサイズ)を用いて、ポートレート印刷用の印刷データを生成する。即ち、モノクロ印刷をプリンタ60に実行させるために、印刷データ生成部40は、ビットマップデータを構成する各画素のRGB値が同じになるように、ビットマップデータを生成する。また、Letterサイズの印刷媒体に対する印刷をプリンタ60に実行させるために、印刷データ生成部40は、Letterサイズの印刷媒体の短辺の長さ及び長辺の長さに対応する画素数を有するビットマップデータを生成する。さらに、Webデータによって表わされる画像80(図2参照)のポートレート印刷をプリンタ60に実行させるために、印刷データ生成部40は、印刷されるべき画像302の左右方向(即ち「A」、「B」、「C」が並ぶ方向)が印刷媒体の短辺に沿うとともに、当該画像302の上下方向(即ち「A」、「D」、「G」、「H」が並ぶ方向)が印刷媒体の長辺に沿うように、ビットマップデータを生成する。なお、印刷データ生成部40は、予め決められた余白のサイズを用いて、ビットマップデータを生成する。ここでの余白のサイズは、プレビュー画像の場合と同様である(例えば、短辺方向の余白のサイズは、短辺の長さの1/10よりも小さい)。従って、画像302の左右方向の全長(「A」の左端から「C」の右端までの長さ)は、印刷媒体300の短辺の長さにほぼ等しい。なお、変形例では、余白なしを採用してもよい。この変形例では、画像302の左右方向の全長は、印刷媒体300の短辺の長さに等しい。S82を終えると、印刷データ生成処理が終了する。
Further, the print
(本実施例の効果)
図7は、携帯端末装置10の姿勢に応じて、ディスプレイ12に表示される画像と、印刷媒体300に印刷される画像と、が変化する様子を示す。なお、図7内の複数個の図のうち、「ポートレート印刷固定モード」に対応する各図は、第1実施例で実現される。図7内の「表示依存モード」は、後述の第2実施例で利用される。携帯端末装置10が縦向きの姿勢である状態で、印刷アプリケーション28の起動指示が与えられると、プレビュー画像100が表示される(図4のS44)。次いで、印刷条件が設定されると、プレビュー画像200が表示され(図5のS64)、印刷開始指示が与えられると、印刷媒体300に対するポートレート印刷が実行される(図6のS82)。また、携帯端末装置10が横向きの姿勢である状態で、印刷アプリケーション28の起動指示が与えられると、プレビュー画像110が表示される(図4のS46)。次いで、印刷条件が設定されると、プレビュー画像210が表示され(図5のS66)、印刷開始指示が与えられると、印刷媒体300に対するポートレート印刷が実行される(図6のS82)。即ち、本実施例では、端末装置10が縦向きの姿勢である状態と、端末装置10が横向きの姿勢である状態と、のどちらの状態で印刷アプリケーション28の起動指示が与えられても、ポートレート印刷が実行される。
(Effect of this embodiment)
FIG. 7 shows how the image displayed on the
例えば、携帯端末装置10が縦向きの姿勢である状態で印刷アプリケーション28の起動指示が与えられる場合に、ポートレート印刷をプリンタ60に実行させ、携帯端末装置10が横向きの姿勢である状態で印刷アプリケーション28の起動指示が与えられる場合に、ランドスケープ印刷(即ち印刷対象の画像の左右方向が印刷媒体の長辺に沿う印刷)をプリンタ60に実行させる構成(以下では「比較例の携帯端末装置」と呼ぶ)が考えられる。比較例の携帯端末装置では、ディスプレイに対する画像の向きに応じて、印刷媒体に対する画像の向きが変わる。従って、例えば、ユーザが、比較例の携帯端末装置が縦向きの姿勢である状態で表示されている第1の画像の印刷を指示し、次いで、比較例の携帯端末装置が横向きの姿勢である状態で表示されている第2の画像の印刷を指示すれば、第1の画像の左右方向が短辺に沿っている第1の印刷媒体(即ちポートレート印刷の結果物)が得られるともに、第2の画像の左右方向が長辺に沿っている第2の印刷媒体(即ちランドスケープ印刷の結果物)が得られる。例えば、上記の第1の画像が上位層のWebペ
ージ(例えばトップページ)であり、上記の第2の画像が上位層のWebページからリンクしている下位層のWebページである場合には、第1の印刷媒体に対する上位層のWebページの向きと、第2の印刷媒体に対する下位層のWebページの向きと、が変わってしまう。即ち、上記の比較例の携帯端末装置では、第1の印刷媒体と第2の印刷媒体とで、印刷媒体に対する画像の向きが変わってしまい、ユーザが統一性を感じ得ない印刷結果物がユーザに提供される。
For example, when the activation instruction of the
これに対し、本実施例の携帯端末装置10では、携帯端末装置10が縦向きの姿勢である状態で表示されている画像80(図2参照)の印刷の指示が与えられても、携帯端末装置10が横向きの状態で表示されている画像90(図2参照)の印刷の指示が与えられても、画像80等の左右方向が短辺に沿っている印刷媒体300が得られる。即ち、ディスプレイ12に対する画像80等の向きに関わらず、ポートレート印刷が実行される。従って、ユーザが統一性を感じ得る印刷結果物をユーザに提供することができる。特に、画像80等の左右方向が印刷媒体300の短辺に沿うために、即ち、画像80等の上下方向が印刷媒体300の長辺に沿うために、画像80等の左右方向が印刷媒体300の長辺に沿う構成(ランドスケープ印刷)と比べて、印刷に必要な印刷媒体数を低減し得る。さらに、本実施例での印刷の対象であるWebデータは、上下方向に比較的に長いデータ構成を有している可能性が高い。従って、印刷に必要な印刷媒体数を低減するという効果が顕著に現われる。さらに、本実施例では、画像80等の左右方向の全長が印刷媒体300の短辺の長さにほぼ等しいために、画像80等の左右方向の全長が印刷媒体300の短辺の長さよりも大幅に小さくなること(即ち印刷媒体に対して画像80等が大幅に小さく印刷されること)を抑制することができる。本実施例によると、ディスプレイ12に対して画像80等の向きを切り替え可能な可搬型の端末装置10で印刷が指示される場合に、適切な印刷結果物をユーザに提供し得る。
On the other hand, in the mobile
本実施例の各要素と本発明の各要素との対応関係を記載しておく。図2のS2で取得される「Webデータ」が「特定のデータ」の一例である。図7において、画像80が表示されている状態で印刷アプリケーション28が起動される場合、画像90が表示されている状態で印刷アプリケーション28が起動される場合が、それぞれ、「第1の場合」、「第2の場合」の一例である。また、図6のS82で生成される印刷データが、「第1種の印刷データ」の一例である。また、図4のプレビュー画像100、プレビュー画像110、図5のプレビュー画像200が、それぞれ、「第1種のプレビュー画像」、「第2種のプレビュー画像」、「第3種のプレビュー画像」の一例である。
The correspondence between each element of the present embodiment and each element of the present invention will be described. “Web data” acquired in S2 of FIG. 2 is an example of “specific data”. In FIG. 7, when the
(第2実施例)
第1実施例と異なる点を中心に説明する。本実施例では、印刷アプリケーション28を用いて、プリンタ60に印刷を実行させるための2つのモードが存在する。一方のモードは、ディスプレイ12に対する画像の向き(即ち携帯端末装置10の姿勢)に関わらず、ポートレート印刷をプリンタ60に実行させるためのモード(以下では「ポートレート印刷固定モード」と呼ぶ)である。他方のモードは、ディスプレイ12に対する画像の向き(即ち携帯端末装置10の姿勢)に応じて、ポートレート印刷とランドスケープ印刷とのどちらかをプリンタ60に実行させるためのモード(以下では「表示依存モード」と呼ぶ)である。ユーザは、ディスプレイ12を操作(タッチ)することによって、ポートレート印刷固定モードと表示依存モードとのうちの1つのモードを選択することができる。制御部20内の図示省略のメモリには、ユーザによって選択されたモードを示す情報が格納される。
(Second embodiment)
A description will be given centering on differences from the first embodiment. In this embodiment, there are two modes for causing the
(プレビュー画像表示処理)
本実施例では、図3のS10で実行されるプレビュー画像表示処理(図4)の内容が、第1実施例と異なる。図8は、本実施例のプレビュー画像表示処理のフローチャートを示
す。S40において、表示データ生成部44は、図示省略のメモリ内の情報を読み込むことによって、ポートレート印刷固定モードと表示依存モードとのうちのどちらのモードがユーザによって選択されているのかを判断する。ポートレート印刷固定モードが選択されている場合には、表示データ生成部44は、S40でYESと判断し、S42に進む。また、表示依存モードが選択されている場合には、表示データ生成部44は、S40でNOと判断し、S48に進む。ポートレート印刷固定モードの場合に実行されるS42〜S46は、第1実施例の図4のS42〜S46と同様である。
(Preview image display processing)
In the present embodiment, the contents of the preview image display process (FIG. 4) executed in S10 of FIG. 3 are different from those of the first embodiment. FIG. 8 shows a flowchart of the preview image display process of the present embodiment. In S <b> 40, the display data generation unit 44 reads information in a memory (not shown) to determine which mode is selected between the portrait print fixed mode and the display dependent mode. When the portrait print fixed mode is selected, the display data generation unit 44 determines YES in S40, and proceeds to S42. If the display dependent mode is selected, the display data generation unit 44 determines NO in S40, and proceeds to S48. S42 to S46 executed in the portrait print fixed mode are the same as S42 to S46 of FIG. 4 of the first embodiment.
(表示依存モード)
S48では、表示データ生成部44は、携帯端末装置10の姿勢を判断する。携帯端末装置10が縦向きの姿勢である場合には、表示データ生成部44は、S48でYESと判断し、S44に進む。一方において、携帯端末装置10が横向きの姿勢である場合には、表示データ生成部44は、S48でNOと判断し、S50に進む。S50では、表示データ生成部44は、Webデータによって表わされる画像90(図2参照)のランドスケープ印刷の結果を示すプレビュー画像を表わす横向き用プレビュー画像データを生成して、ディスプレイ12に供給する。この結果、プレビュー画像120がディスプレイ12に表示される。プレビュー画像120は、印刷媒体の輪郭122と、Webデータによって表わされる画像90に対応する画像124(即ちアルファベット「A」〜「F」)と、を示す。
(Display dependent mode)
In S <b> 48, the display data generation unit 44 determines the attitude of the mobile
S50では、S44と同様に、表示データ生成部44は、上記の所定の印刷条件(A4の印刷媒体を用いたカラー印刷)を用いて、プレビュー画像データを生成する。従って、プレビュー画像120内の輪郭122の縦横比は、1:ルート2であり、プレビュー画像120内の画像124は、カラー画像である。S50では、さらに、表示データ生成部44は、プレビュー画像120の左右方向(即ち「A」、「B」、「C」が並ぶ方向)がディスプレイ12の長辺に沿うとともに、プレビュー画像120の上下方向(即ち「A」、「D」が並ぶ方向)がディスプレイ12の短辺に沿うように、プレビュー画像データを生成する。なお、本実施例では、上記の所定の印刷条件として、予め決められた余白のサイズを採用している。この結果、画像124の左右方向の全長(「A」の左端から「C」の右端までの長さ)は、輪郭122の長辺の長さにほぼ等しくなる。従って、プレビュー画像120内の画像124の左右方向の全長は、S44で表示されるプレビュー画像100内の画像104の左右方向の全長よりも大きくなる。その結果、プレビュー画像120内の画像124を構成する部分画像(例えば1個のアルファベット「A」)のサイズは、プレビュー画像100内の画像104を構成する同じ部分画像のサイズよりも大きくなる。その他の点は、S44と同様である。S50を終えると、プレビュー画像表示処理が終了する。
In S50, as in S44, the display data generation unit 44 generates preview image data using the predetermined printing conditions (color printing using the A4 print medium). Therefore, the aspect ratio of the
(プレビュー画像更新処理)
本実施例では、図3のS22で実行されるプレビュー画像更新処理の内容が、第1実施例と異なる。図9は、本実施例のプレビュー画像更新処理のフローチャートを示す。S60では、表示データ生成部44は、ポートレート印刷固定モードと表示依存モードとのうちのどちらのモードがユーザによって選択されているのかを判断する。ポートレート印刷固定モードが選択されている場合には、表示データ生成部44は、S60でYESと判断し、S62に進む。また、表示依存モードが選択されている場合には、表示データ生成部44は、S60でNOと判断し、S68に進む。ポートレート印刷固定モードの場合に実行されるS62〜S66は、第1実施例の図5のS62〜S66と同様である。
(Preview image update process)
In the present embodiment, the content of the preview image update process executed in S22 of FIG. 3 is different from that of the first embodiment. FIG. 9 shows a flowchart of the preview image update process of the present embodiment. In S60, the display data generation unit 44 determines which mode is selected between the portrait print fixed mode and the display dependent mode. When the portrait print fixed mode is selected, the display data generation unit 44 determines YES in S60, and proceeds to S62. If the display dependent mode is selected, the display data generation unit 44 determines NO in S60, and proceeds to S68. S62 to S66 executed in the portrait print fixed mode are the same as S62 to S66 in FIG. 5 of the first embodiment.
(表示依存モード)
S68では、表示データ生成部44は、携帯端末装置10の姿勢を判断する。携帯端末装置10が縦向きの姿勢である場合には、表示データ生成部44は、S68でYESと判
断し、S64に進む。一方において、携帯端末装置10が横向きの姿勢である場合には、表示データ生成部44は、S68でNOと判断し、S70に進む。S70の処理は、設定済みの印刷条件(即ちモノクロ印刷、Letterサイズ)が利用される点を除くと、図8のS50の処理と同様である。S70の処理の結果、図8のプレビュー画像120に代えて、8.5:11の縦横比を有する輪郭222と、モノクロ画像である画像224と、を示すプレビュー画像220が、ディスプレイ12に表示される。なお、図8のプレビュー画像表示処理の場合と比べて、印刷媒体の縦横比が変わるために、プレビュー画像220内の画像224の一部(「C」、「F」の一部)が欠損している。S70を終えると、プレビュー画像更新処理が終了する。
(Display dependent mode)
In S <b> 68, the display data generation unit 44 determines the attitude of the mobile
(印刷データ生成処理)
本実施例では、図3のS28で実行される印刷データ生成処理の内容が、第1実施例と異なる。図10は、本実施例の印刷データ生成処理のフローチャートを示す。S80では、印刷データ生成部40(図1参照)は、ポートレート印刷固定モードと表示依存モードとのうちのどちらのモードがユーザによって選択されているのかを判断する。ポートレート印刷固定モードが選択されている場合には、印刷データ生成部40は、S80でYESと判断し、S82に進む。ポートレート印刷固定モードの場合に実行されるS82は、第1実施例の図6のS82と同様である。また、表示依存モードが選択されている場合には、印刷データ生成部40は、S80でNOと判断し、S84に進む。
(Print data generation process)
In the present embodiment, the contents of the print data generation process executed in S28 of FIG. 3 are different from those in the first embodiment. FIG. 10 shows a flowchart of the print data generation process of this embodiment. In S80, the print data generation unit 40 (see FIG. 1) determines which mode is selected between the portrait print fixed mode and the display dependent mode. If the portrait print fixed mode is selected, the print
(表示依存モード)
S84では、印刷データ生成部40は、携帯端末装置10の姿勢を判断する。携帯端末装置10が縦向きの姿勢である場合には、印刷データ生成部40は、S84でYESと判断し、S82に進む。この結果、プリンタ60は、印刷媒体300に対する画像302のポートレート印刷を実行する。一方において、携帯端末装置10が横向きの姿勢である場合には、印刷データ生成部40は、S84でNOと判断し、S86に進む。S86の処理では、印刷データ生成部40は、ランドスケープ印刷用の印刷データを生成する。さらに、S86では、送信部42は、図3のS12で取得されたプリンタ60のIPアドレスを送信先として、ランドスケープ印刷用の印刷データを送信する。この結果、プリンタ60は、ランドスケープ印刷用の印刷データを用いて、印刷媒体300に画像402を印刷する。
(Display dependent mode)
In S <b> 84, the print
S86の処理は、基本的には、S82の処理と同様である。ただし、Webデータによって表わされる画像90(図2参照)のランドスケープ印刷をプリンタ60に実行させるために、印刷データ生成部40は、印刷されるべき画像402の左右方向(即ち「A」、「B」、「C」が並ぶ方向)が印刷媒体の長辺に沿うとともに、当該画像402の上下方向(即ち「A」、「D」が並ぶ方向)が印刷媒体の短辺に沿うように、ビットマップデータを生成する。なお、S82の処理と同様に、予め決められている余白が利用されるために、画像402の左右方向の全長(「A」の左端から「C」の右端までの長さ)は、印刷媒体300の長辺の長さにほぼ等しくなる。当然ながら、印刷媒体300の長辺の長さは、印刷媒体300の短辺の長さよりも長い。従って、ランドスケープ印刷によって得られる画像402の左右方向の全長は、ポートレート印刷によって得られる画像302の左右方向の全長よりも長くなる。その結果、画像402を構成する部分画像(例えば1個のアルファベット「A」)のサイズは、画像302を構成する同じ部分画像のサイズよりも大きくなる。
The process of S86 is basically the same as the process of S82. However, in order to cause the
なお、S86で生成される印刷データでは、個々の部分画像(個々のアルファベット「A」等)のサイズが大きいために、1枚の印刷媒体300に「A」〜「F」のみしか印刷されず、「G」〜「L」が印刷されない。従って、S86では、印刷データ生成部40は、さらに、「G」〜「L」を他の印刷媒体に印刷するための印刷データを生成する。即ち
、S86の処理が実行される場合には、S82の処理が実行される場合と比べて、必要な印刷媒体数が多くなる。S86を終えると、印刷データ生成処理が終了する。
In the print data generated in S86, since only the size of each partial image (individual alphabet “A”, etc.) is large, only “A” to “F” are printed on one
(本実施例の効果)
図7に示されるように、表示依存モードでは、携帯端末装置10が縦向きの姿勢である状態で、印刷アプリケーション28の起動指示が与えられると、プレビュー画像100が表示される(図8のS44)。次いで、印刷条件が設定されると、プレビュー画像200が表示され(図9のS64)、印刷開始指示が与えられると、印刷媒体300に対するポートレート印刷が実行される(図10のS82)。また、表示依存モードでは、携帯端末装置10が横向きの姿勢である状態で、印刷アプリケーション28の起動指示が与えられると、プレビュー画像120が表示される(図8のS50)。次いで、印刷条件が設定されると、プレビュー画像220が表示され(図9のS70)、印刷開始指示が与えられると、印刷媒体300に対するランドスケープ印刷が実行される(図10のS86)。即ち、表示依存モードでは、端末装置10が縦向きの姿勢である状態と、端末装置10が横向きの姿勢である状態と、のどちらの状態で印刷アプリケーション28の起動指示が与えられるのかに応じて、ポートレート印刷とランドスケープ印刷とが切り替えられる。
(Effect of this embodiment)
As shown in FIG. 7, in the display dependent mode, when an instruction to start the
本実施例では、ポートレート印刷固定モードのみを採用しているのではなく、表示依存モードも採用している。ユーザがモードを選択可能であるために、ユーザが望む印刷結果物をユーザに提供し得る。なお、本実施例では、図10のS86で生成される印刷データが、「第2種の印刷データ」の一例である。 In the present embodiment, not only the portrait print fixed mode but also the display dependent mode is adopted. Since the user can select a mode, the user can be provided with a print result desired by the user. In the present embodiment, the print data generated in S86 of FIG. 10 is an example of “second type print data”.
(変形例1)上記の実施例では、「特定のデータ」のデータ形式として、HTMLを採用しているが、それに代えて、XHTML形式のWebデータ、JPEG形式のデータ、BMP形式のデータ等を採用してもよい。 (Modification 1) In the above embodiment, HTML is adopted as the data format of “specific data”, but instead, Web data in XHTML format, data in JPEG format, data in BMP format, etc. are used. It may be adopted.
(変形例2)上記の実施例では、「印刷データ」のデータ形式として、JPEGを採用しているが、それに代えて、PS(Post Script)、XPS、PDF等を採用してもよい。
一般的に言うと、印刷データは、プリンタが解釈可能なフォーマットを有していればよい。なお、例えば、印刷データ生成部40は、プリンタ60が解釈可能なフォーマットをプリンタ60に問い合わせた結果として得られるフォーマットを有する印刷データを生成してもよい。
(Modification 2) In the above embodiment, JPEG is adopted as the data format of “print data”, but PS (Post Script), XPS, PDF, etc. may be adopted instead.
Generally speaking, the print data only needs to have a format that can be interpreted by the printer. For example, the print
(変形例3)上記の実施例では、表示制御部30は、携帯端末装置10の姿勢に応じて、ディスプレイ12に対する画像の向きを切り替えるが、それに代えて、表示制御部30は、所定のボタンが操作された場合に、ディスプレイ12に対する画像の向きを切り替えてもよい。また、表示制御部30は、本体に対してディスプレイ12が移動(例えば回転)する場合に、ディスプレイ12に対する画像の向きを切り替えてもよい。
(Modification 3) In the above embodiment, the
(変形例4)なお、上記の実施例では、図4のS44等で採用される所定の印刷条件は、A4サイズの印刷媒体を用いたカラー印刷であるが、それに代えて、制御部20は、ユーザによって印刷条件が設定される毎に印刷条件を記憶し、図4のS44等では、前回に設定された印刷条件を、所定の印刷条件として採用してもよい。 (Modification 4) In the above embodiment, the predetermined printing condition adopted in S44 of FIG. 4 is color printing using an A4 size printing medium. Each time the printing condition is set by the user, the printing condition may be stored, and in S44 of FIG. 4 or the like, the printing condition set last time may be adopted as the predetermined printing condition.
(変形例5)なお、本明細書で開示される各部(例えば、表示制御部30、印刷データ生成部40、送信部42、表示データ生成部44)の機能は、実施例に示されるように、ソフトウェア26,28によって実現されてもよいが、それに代えて、論理回路等のハードウェアによって実現されてもよい。
(Modification 5) The functions of the units disclosed in this specification (for example, the
以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を
限定するものではない。特許請求の範囲に記載の技術には、以上に例示した具体例を様々に変形、変更したものが含まれる。
Specific examples of the present invention have been described in detail above, but these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and changes of the specific examples illustrated above.
また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。 The technical elements described in this specification or the drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technology illustrated in the present specification or the drawings achieves a plurality of objects at the same time, and has technical utility by achieving one of the objects.
10:携帯端末装置、12:ディスプレイ、28:印刷アプリケーション、60:プリンタ、80,90:画像、100,110,120:プレビュー画像、200,210,220:更新後のプレビュー画像、300:印刷媒体 10: mobile terminal device, 12: display, 28: print application, 60: printer, 80, 90: image, 100, 110, 120: preview image, 200, 210, 220: updated preview image, 300: print medium
Claims (9)
ネットワークを介して接続されたウェブサーバにアクセスしてウェブデータを取得するデータ取得部と、 A data acquisition unit for acquiring web data by accessing a web server connected via a network;
前記端末装置が、前記ディスプレイの長辺が地表面に対して鉛直方向である第1の姿勢と前記ディスプレイの短辺が地表面に対して鉛直方向である第2の姿勢とのいずれの姿勢であるかを示す姿勢情報を取得する姿勢情報取得部と、 The terminal device has any of a first posture in which the long side of the display is perpendicular to the ground surface and a second posture in which the short side of the display is perpendicular to the ground surface. An attitude information acquisition unit that acquires attitude information indicating whether there is,
前記データ取得部により取得したウェブデータによって表されるウェブ画像を、前記ディスプレイに表示させるウェブ画像表示制御部であって、前記姿勢情報取得部により取得した姿勢情報が前記第1の姿勢の場合に、取得した前記ウェブデータによって表されるウェブ画像の一部である第1部分画像を前記ディスプレイに表示し、かつ、前記姿勢情報取得部により取得した姿勢情報が前記第2の姿勢のときに、前記ウェブデータによって表される前記ウェブ画像の一部であり前記第1部分画像で表される領域とは異なる領域の第2部分画像を前記ディスプレイに表示する、前記ウェブ画像表示制御部と、 A web image display control unit for displaying a web image represented by web data acquired by the data acquisition unit on the display, wherein the posture information acquired by the posture information acquisition unit is the first posture. , When a first partial image that is a part of a web image represented by the acquired web data is displayed on the display and the posture information acquired by the posture information acquisition unit is the second posture, The web image display control unit for displaying on the display a second partial image that is a part of the web image represented by the web data and is different from the region represented by the first partial image;
前記第1部分画像が前記ディスプレイに表示された状態で、第1の所定指示が入力されると、前記ディスプレイに、前記第1方向に沿った第2の長辺と前記第2方向に沿った第2の短辺と有する第1矩形およびその第1矩形内に前記ウェブデータによって表されるウェブ画像の一部である第3部分画像を含む第1プレビュー画像を表示し、前記第2部分画像が前記ディスプレイに表示された状態で、前記第1の所定指示が入力されると、前記ディスプレイに、前記第1方向に沿った第3の短辺と前記第2方向に沿った第3の長辺とを有する第2矩形およびその第2矩形内に前記ウェブデータによって表されるウェブ画像の一部である第4部分画像を含む第2プレビュー画像を表示するプレビュー画像表示制御部と、を備え、 When a first predetermined instruction is input in a state where the first partial image is displayed on the display, a second long side along the first direction and a second direction along the second direction are input to the display. A first preview image including a first rectangle having a second short side and a third partial image that is a part of a web image represented by the web data in the first rectangle; Is displayed on the display, and the first predetermined instruction is input, a third short side along the first direction and a third long side along the second direction are displayed on the display. A preview image display control unit for displaying a second preview image including a second rectangle having a side and a fourth partial image that is a part of the web image represented by the web data in the second rectangle. ,
前記第1矩形を表す前記第2の長辺と前記第2の短辺との縦横比と、前記第2矩形を表す前記第3の長辺と前記第3の短辺との縦横比とは同じであり、 The aspect ratio between the second long side representing the first rectangle and the second short side, and the aspect ratio between the third long side representing the second rectangle and the third short side are: The same,
前記第3部分画像は、前記第2の短辺に前記ウェブ画像の左右方向の全長を含み前記第2の長辺に前記ウェブ画像の上下方向の全長の一部の画像を含み、前記第4部分画像は、前記第3の短辺に前記ウェブ画像の左右方向の全長を含み前記第3の長辺に前記ウェブ画像の上下方向の全長の一部の画像を含み、前記第3部分画像と前記第4部分画像とは前記ウェブ画像の一部であって同じ領域の部分画像である、端末装置。 The third partial image includes a full length in the left-right direction of the web image on the second short side, and a partial image of the full length in the vertical direction of the web image on the second long side. The partial image includes a full length in the left-right direction of the web image on the third short side, a partial image of the full length in the vertical direction of the web image on the third long side, and the third partial image The fourth partial image is a terminal device that is a part of the web image and is a partial image of the same region.
前記第1矩形および前記第2矩形の縦横比は、前記印刷条件として記憶する印刷媒体の種類情報で示される印刷媒体の縦横比と同じである、請求項1または2に記載の端末装置。 The terminal device according to claim 1, wherein an aspect ratio of the first rectangle and the second rectangle is the same as an aspect ratio of a print medium indicated by print medium type information stored as the print condition.
前記ウェブサーバから取得したウェブデータによって表されるウェブ画像を表示するための表示用プログラムと、プリンタに画像データを印刷させるための印刷用プログラムと、を記憶し、 Storing a display program for displaying a web image represented by the web data acquired from the web server, and a printing program for causing the printer to print the image data;
前記第1の所定指示は、前記表示用プログラムを実行中に前記印刷用プログラムを実行するための指示である、請求項1から7のいずれかに記載の端末装置。 The terminal device according to claim 1, wherein the first predetermined instruction is an instruction for executing the printing program while the display program is being executed.
ネットワークを介して接続されたウェブサーバにアクセスしてウェブデータを取得するデータ取得処理、 A data acquisition process for acquiring web data by accessing a web server connected via a network,
前記端末装置が、前記ディスプレイの長辺が地表面に対して鉛直方向である第1の姿勢と前記ディスプレイの短辺が地表面に対して鉛直方向である第2の姿勢とのいずれの姿勢であるかを示す姿勢情報を取得する姿勢情報取得処理、 The terminal device has any of a first posture in which the long side of the display is perpendicular to the ground surface and a second posture in which the short side of the display is perpendicular to the ground surface. Posture information acquisition processing for acquiring posture information indicating whether there is,
取得したウェブデータによって表されるウェブ画像を、前記ディスプレイに表示させるウェブ画像表示制御処理であって、取得した姿勢情報が前記第1の姿勢の場合に、取得した前記ウェブデータによって表されるウェブ画像の一部である第1部分画像を前記ディスプレイに表示し、かつ、取得した姿勢情報が前記第2の姿勢のときに、前記ウェブデータによって表される前記ウェブ画像の一部であり前記第1部分画像とは異なる第2部分画像を前記ディスプレイに表示する、前記ウェブ画像表示制御処理、 A web image display control process for displaying a web image represented by the obtained web data on the display, and the web represented by the obtained web data when the obtained posture information is the first posture. A first partial image that is a part of an image is displayed on the display, and the acquired posture information is a part of the web image represented by the web data when the posture information is the second posture. Displaying the second partial image different from the first partial image on the display;
前記第1部分画像が前記ディスプレイに表示された状態で、第1の所定指示が入力されると、前記ディスプレイに、前記第1方向に沿った第2の長辺と前記第2方向に沿った第2の短辺と有する第1矩形およびその第1矩形内に前記ウェブデータによって表されるウェブ画像の一部である第3部分画像を含む第1プレビュー画像を表示し、前記第2部分画像が前記ディスプレイに表示された状態で、前記第1の所定指示が入力されると、前記ディスプレイに、前記第1方向に沿った第3の短辺と前記第2方向に沿った第3の長辺とを有する第2矩形およびその第2矩形内に前記ウェブデータによって表されるウェブ画像の一部である第4部分画像を含む第2プレビュー画像を表示するプレビュー画像表示制御処理、を実行させ、 When a first predetermined instruction is input in a state where the first partial image is displayed on the display, a second long side along the first direction and a second direction along the second direction are input to the display. A first preview image including a first rectangle having a second short side and a third partial image that is a part of a web image represented by the web data in the first rectangle; Is displayed on the display, and the first predetermined instruction is input, a third short side along the first direction and a third long side along the second direction are displayed on the display. A preview image display control process for displaying a second preview image including a second rectangle having sides and a fourth preview image that is a part of the web image represented by the web data in the second rectangle. ,
前記第1矩形を表す前記第2の長辺と前記第2の短辺との縦横比と、前記第2矩形を表す前記第3の長辺と前記第3の短辺との縦横比とは同じであり、 The aspect ratio between the second long side representing the first rectangle and the second short side, and the aspect ratio between the third long side representing the second rectangle and the third short side are: The same,
前記第3部分画像は、前記第2の短辺に前記ウェブ画像の左右方向の全長を含み前記第2の長辺に前記ウェブ画像の上下方向の全長の一部の画像を含み、前記第4部分画像は、前記第3の短辺に前記ウェブ画像の左右方向の全長を含み前記第3の長辺に前記ウェブ画像の上下方向の全長の一部の画像を含み、前記第3部分画像と前記第4部分画像とは前記ウェブ画像の一部であって同じ領域の部分画像である、コンピュータプログラム。 The third partial image includes a full length in the left-right direction of the web image on the second short side, and a partial image of the full length in the vertical direction of the web image on the second long side. The partial image includes a full length in the left-right direction of the web image on the third short side, a partial image of the full length in the vertical direction of the web image on the third long side, and the third partial image The fourth partial image is a computer program that is a part of the web image and is a partial image of the same region.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014215114A JP5843180B2 (en) | 2014-10-22 | 2014-10-22 | Control device mounted on portable terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014215114A JP5843180B2 (en) | 2014-10-22 | 2014-10-22 | Control device mounted on portable terminal device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013073009A Division JP5637242B2 (en) | 2013-03-29 | 2013-03-29 | Control device mounted on portable terminal device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015026393A JP2015026393A (en) | 2015-02-05 |
JP5843180B2 true JP5843180B2 (en) | 2016-01-13 |
Family
ID=52490938
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014215114A Active JP5843180B2 (en) | 2014-10-22 | 2014-10-22 | Control device mounted on portable terminal device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5843180B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6649832B2 (en) | 2016-03-30 | 2020-02-19 | キヤノン株式会社 | Information processing apparatus, control method therefor, and program |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006027017A (en) * | 2004-07-14 | 2006-02-02 | Fuji Photo Film Co Ltd | Printer unit |
JP2007251750A (en) * | 2006-03-17 | 2007-09-27 | Nikon Corp | Camera with radio communication function |
WO2009141966A1 (en) * | 2008-05-19 | 2009-11-26 | Canon Kabushiki Kaisha | Print control method and print control apparatus for controlling printing of structured document |
JP5155117B2 (en) * | 2008-11-21 | 2013-02-27 | ラピスセミコンダクタ株式会社 | Gravity axis determination device and mobile terminal device using the same |
-
2014
- 2014-10-22 JP JP2014215114A patent/JP5843180B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2015026393A (en) | 2015-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2012038067A (en) | Control device mounted on portable terminal device | |
US11132151B2 (en) | Communication device and non-transitory computer-readable medium for communication device | |
JP5371726B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
JP2009075677A (en) | IMAGE FORMING SYSTEM, NETWORK CARD, IMAGE-FORMING APPARATUS, AND Web SERVER PROCESSING PROGRAM | |
JP4656215B2 (en) | Printing system, printing apparatus and terminal device constituting the printing system | |
JP2011131382A (en) | Image forming system and image forming apparatus | |
JP2019040564A (en) | Printer driver, and information processing device | |
US9286017B2 (en) | Technique for displaying thumbnail images on an information processing device | |
JP5843180B2 (en) | Control device mounted on portable terminal device | |
US20150248259A1 (en) | Information processing apparatus, print system, and recording medium | |
JP6149684B2 (en) | Portable terminal, image processing apparatus, and program | |
JP6513337B2 (en) | Electronic book display processing program and electronic book system | |
JP5637242B2 (en) | Control device mounted on portable terminal device | |
JP5590203B2 (en) | Control device mounted on portable terminal device | |
JP5754904B2 (en) | Printing apparatus, printing apparatus control method, and program | |
JP2009053789A (en) | Information processor, program, and computer-readable recording medium | |
JP2019020892A (en) | Printing system and printer used in the same | |
US20150277828A1 (en) | Image Forming System, Portable Terminal, and Recording Medium That Ensure Intuitive Setting of Page Orientation from Portable Terminal | |
JP6977516B2 (en) | Printer | |
JP5619245B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
JP6828520B2 (en) | Communication systems, computer programs for terminal equipment, and function execution devices | |
JP6816602B2 (en) | Programs, main programs and subprograms, and information processing terminals | |
JP2021040223A (en) | Print controller, method, and program | |
JP7346862B2 (en) | Information processing equipment, systems, and programs | |
JP5900387B2 (en) | Printing control apparatus, printing instruction apparatus, printing system, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20141119 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20141119 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20151013 |
|
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: 20151023 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20151105 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5843180 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |