JP5838795B2 - Print data generation program, terminal device, and control method of terminal device - Google Patents

Print data generation program, terminal device, and control method of terminal device Download PDF

Info

Publication number
JP5838795B2
JP5838795B2 JP2011284411A JP2011284411A JP5838795B2 JP 5838795 B2 JP5838795 B2 JP 5838795B2 JP 2011284411 A JP2011284411 A JP 2011284411A JP 2011284411 A JP2011284411 A JP 2011284411A JP 5838795 B2 JP5838795 B2 JP 5838795B2
Authority
JP
Japan
Prior art keywords
character string
print data
web page
image
print
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
JP2011284411A
Other languages
Japanese (ja)
Other versions
JP2013134618A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2011284411A priority Critical patent/JP5838795B2/en
Publication of JP2013134618A publication Critical patent/JP2013134618A/en
Application granted granted Critical
Publication of JP5838795B2 publication Critical patent/JP5838795B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Description

本明細書に開示の技術は、ウェブページを適切に印刷することができる印刷データ生成プログラム、端末装置および端末装置の制御方法に関する。   The technology disclosed in the present specification relates to a print data generation program capable of appropriately printing a web page, a terminal device, and a control method for the terminal device.

特許文献1には、ウェブページを閲覧するためのWEB制御のプログラムや、携帯電話上で動作する各種の通常アプリケーションのプログラムなどの、複数のプログラムが搭載可能な携帯電話が開示されている。また、特許文献1の携帯電話では、WEB制御のプログラムと通常アプリケーションのプログラムとを連携させ、WEB制御のプログラム側と通常アプリケーションのプログラム側の画像データ同士、音声データ同士を合成することで、合成画像や合成音声による表現を行うことが可能とされている。   Patent Document 1 discloses a mobile phone on which a plurality of programs such as a WEB control program for browsing a web page and various normal application programs operating on the mobile phone can be mounted. In addition, in the mobile phone of Patent Document 1, a WEB control program and a normal application program are linked together to synthesize image data and audio data between the WEB control program side and the normal application program side. It is possible to express with images and synthesized speech.

特開2008−83974号公報JP 2008-83974 A

WEB制御のプログラムから、印刷データを生成するための通常アプリケーションのプログラムへ、ウェブページを特定するための情報(URL(Uniform Resource Locator)等)を受け渡すことにより、両プログラムを連携させ、ウェブページの印刷を可能にすることができる。ウェブページを特定するための情報の受け渡しには、テキストデータを用いることができる。しかし、受け渡されたテキストデータには、ウェブページを特定するための情報に加えて、その他の情報(例:住所など)が含まれている場合がある。そしてこのような場合に、ウェブページに関する情報の印刷と、その他の情報の印刷とを、どのように実行可能に制御するかについては開示がない。本明細書では、このような不便性を解消することができる技術を提供する。   By passing information (URL (Uniform Resource Locator), etc.) for specifying a web page from a web control program to a normal application program for generating print data, the two pages are linked to each other. Printing can be made possible. Text data can be used to exchange information for specifying a web page. However, the received text data may include other information (eg, address, etc.) in addition to the information for specifying the web page. In such a case, there is no disclosure as to how to control printing of information relating to the web page and printing of other information in an executable manner. In this specification, the technique which can eliminate such inconvenience is provided.

本明細書に開示の印刷データ生成プログラムは、プログラムを読み取ることで各手段として機能するコンピュータと、通信手段と、表示手段と、コンピュータを、通信手段を介してウェブサーバにアクセスしてウェブページを表示手段に表示し、データを共有する旨の入力と、コンピュータが読み取る他のプログラムの選択の入力とに応じて、アクセスしているウェブページを特定する第1文字列を含んだテキストデータを出力する表示制御手段として機能させるブラウザプログラムと、を備えた端末装置のコンピュータが読み取り可能なプログラムであって、コンピュータを、表示制御手段から出力されたテキストデータを受け取り、受け取ったテキストデータに、第1文字列と、第1文字列以外の文字列である第2文字列とが含まれていると判断される場合に、当該第1文字列に対応するウェブページに通信手段を介してアクセスして、ウェブページに対応する印刷データを生成する第1処理の実行命令の入力受け付けに関連する第1画像を表示手段に表示するとともに、第2文字列に対応する印刷データを生成する第2処理の実行命令の入力受け付けに関連する第2画像を表示手段に表示する印刷データ生成手段として機能させる
ことを特徴とする。
A print data generation program disclosed in this specification is a computer that functions as each unit by reading a program, a communication unit, a display unit, and a computer that accesses a web server via the communication unit and displays a web page. Outputs text data including a first character string that identifies the web page being accessed in response to an input for sharing data displayed on the display means and an input for selecting another program read by the computer And a browser program that functions as a display control means for readable by the computer of the terminal device, the computer receiving the text data output from the display control means, Contains a character string and a second character string that is a character string other than the first character string. The first web page corresponding to the first character string is accessed via the communication means to generate print data corresponding to the web page. While displaying one image on the display means, it functions as a print data generation means for displaying on the display means a second image related to receiving an execution command for the second process for generating print data corresponding to the second character string. It is characterized by that.

本明細書に開示の印刷データ生成プログラムでは、表示制御手段から受け取ったテキストデータに、第1文字列と、第1文字列以外の文字列である第2文字列が含まれている場合には、第1文字列に対応するウェブページに対応する印刷データを生成する第1処理の実行命令の入力受け付けに関連する第1画像と、第2文字列に対応する印刷データを生成する第2処理の実行命令の入力受け付けに関連する第2画像とを、表示手段に表示することができる。これにより、第1文字列に対応するウェブページの印刷実行と、第2文字列の印刷実行とを、選択可能に制御することができる。   In the print data generation program disclosed in this specification, when the text data received from the display control means includes a first character string and a second character string that is a character string other than the first character string. , A first image related to receiving an input of an execution instruction of the first process for generating print data corresponding to the web page corresponding to the first character string, and a second process for generating print data corresponding to the second character string The second image related to the reception of the input of the execution command can be displayed on the display means. Thereby, it is possible to control the print execution of the web page corresponding to the first character string and the print execution of the second character string so as to be selectable.

請求項2に記載の印刷データ生成プログラムでは、表示制御手段から受け取ったテキストデータに、第1文字列のみが含まれている場合には、ウェブページに対応する印刷データを生成する第1処理の実行命令の入力を受け付けることができる。また、表示制御手段から受け取ったテキストデータに、第2文字列のみが含まれている場合には、第2文字列に対応する印刷データを生成する第2処理の実行命令の入力を受け付けることができる。
これにより、テキストデータに第1文字列のみが含まれている場合、および、第2文字列のみが含まれている場合の各々に対しても、印刷実行を可能に制御することができる。
According to a second aspect of the present invention, in the print data generation program according to the first process of generating the print data corresponding to the web page when only the first character string is included in the text data received from the display control means. Input of execution instructions can be accepted. In addition, when the text data received from the display control means includes only the second character string, it is possible to accept an input of an execution command for the second process for generating print data corresponding to the second character string. it can.
Thereby, it is possible to perform control so that printing can be executed for each of the case where the text data includes only the first character string and the case where only the second character string is included.

請求項3に記載の印刷データ生成プログラムでは、表示制御手段から受け取ったテキストデータに、第1文字列が複数含まれている場合には、ウェブページに対応する印刷データを生成する第1処理の実行命令の入力を、複数の第1文字列の各々について受け付けることができる。これにより、複数のウェブページのうちから選択した少なくとも1つのウェブページの印刷を、一括して実行することが可能となるため、ユーザの利便性を向上させることができる。   According to a third aspect of the present invention, there is provided a print data generation program for generating a print data corresponding to a web page when the text data received from the display control unit includes a plurality of first character strings. An execution command input can be received for each of the plurality of first character strings. Thereby, since it becomes possible to collectively print at least one web page selected from among a plurality of web pages, it is possible to improve user convenience.

請求項4に記載の印刷データ生成プログラムでは、表示制御手段から受け取ったテキストデータに含まれている文字列から、第1文字列と第2文字列とを識別することが可能となる。   In the print data generation program according to the fourth aspect, the first character string and the second character string can be identified from the character string included in the text data received from the display control means.

請求項5に記載の印刷データ生成プログラムでは、第1画像として、第1文字列の少なくとも一部を用いることができる。これにより、アクセス先をユーザに認識させやすくすることができる。   In the print data generation program according to the fifth aspect, at least a part of the first character string can be used as the first image. This makes it easier for the user to recognize the access destination.

請求項6に記載の印刷データ生成プログラムでは、第1文字列に対応するウェブページを表示することができる。これにより、ウェブページを目視した上で印刷実行の可否を決定することが可能となるため、ユーザの利便性を向上させることができる。   In the print data generation program according to the sixth aspect, a web page corresponding to the first character string can be displayed. As a result, it is possible to determine whether or not printing can be performed after viewing the web page, thereby improving user convenience.

請求項7に記載の印刷データ生成プログラムでは、テキストデータが出力される形式に応じて、第1画像および第2画像の両方を表示するか、第1画像のみを表示するか、を決定することができる。これにより、テキストデータの出力形式に適した画面表示を実行することができる。   The print data generation program according to claim 7 determines whether to display both the first image and the second image or only the first image according to a format in which the text data is output. Can do. Thereby, screen display suitable for the output format of text data can be executed.

なお、上記の印刷データ生成プログラムを実現するための制御方法、端末装置、及び、印刷データ生成プログラムを格納するコンピュータ読取可能記録媒体も、新規で有用である。   A control method for realizing the print data generation program, a terminal device, and a computer-readable recording medium storing the print data generation program are also new and useful.

通信システムのブロック図である。1 is a block diagram of a communication system. ブラウザアプリケーションの動作フローチャートを示す図である。It is a figure which shows the operation | movement flowchart of a browser application. 印刷アプリケーションの動作フローチャートを示す図である。It is a figure which shows the operation | movement flowchart of a printing application. 印刷アプリケーションの動作フローチャートを示す図である。It is a figure which shows the operation | movement flowchart of a printing application. パネルの表示例を示す図である。It is a figure which shows the example of a display of a panel. パネルの表示例を示す図である。It is a figure which shows the example of a display of a panel. パネルの表示例を示す図である。It is a figure which shows the example of a display of a panel. パネルの表示例を示す図である。It is a figure which shows the example of a display of a panel. パネルの表示例を示す図である。It is a figure which shows the example of a display of a panel. パネルの表示例を示す図である。It is a figure which shows the example of a display of a panel. パネルの表示例を示す図である。It is a figure which shows the example of a display of a panel. パネルの表示例を示す図である。It is a figure which shows the example of a display of a panel. パネルの表示例を示す図である。It is a figure which shows the example of a display of a panel.

図1に、本願に係る実施形態として例示される通信システム1のブロック図を示す。通信システム1は、携帯電話10、MFP(Multifunction Peripheral)51、アクセスポイント62、ウェブサーバ71、基地局61を備える。MFP51は、プリンタ機能、スキャナ機能、コピー機能、ファクシミリ機能などを備える多機能周辺装置である。アクセスポイント62は、既知の中継装置である。ウェブサーバ71は、インターネット70を介して基地局61に接続される。   FIG. 1 shows a block diagram of a communication system 1 exemplified as an embodiment according to the present application. The communication system 1 includes a mobile phone 10, an MFP (Multifunction Peripheral) 51, an access point 62, a web server 71, and a base station 61. The MFP 51 is a multifunction peripheral device having a printer function, a scanner function, a copy function, a facsimile function, and the like. The access point 62 is a known relay device. The web server 71 is connected to the base station 61 via the Internet 70.

携帯電話10とアクセスポイント62とは、インフラストラクチャーモードの無線LAN接続方式により、無線通信200を行うことが可能とされている。また、MFP51とアクセスポイント62とは、インフラストラクチャーモードの無線LAN接続方式により、無線通信201を行うことが可能とされている。なお、無線通信200および201の方式の例としては、例えばIEEE802.11a/b/gの規格で定められる通信方式が挙げられる。また、携帯電話10とウェブサーバ71とは、基地局61およびインターネット70を介して通信可能に接続されている。   The mobile phone 10 and the access point 62 can perform the wireless communication 200 by the infrastructure mode wireless LAN connection method. In addition, the MFP 51 and the access point 62 can perform wireless communication 201 by an infrastructure mode wireless LAN connection method. Note that examples of the wireless communication 200 and 201 systems include communication systems defined by the IEEE 802.11a / b / g standard, for example. The mobile phone 10 and the web server 71 are communicably connected via the base station 61 and the Internet 70.

携帯電話10の構成について説明する。携帯電話10は、CPU11、記憶部12、無線LAN送受信部15、無線LANアンテナ部16、ボタン入力部17、パネル18、携帯電話送受信部22、携帯電話アンテナ部23、カメラ部27、を主に備えている。   The configuration of the mobile phone 10 will be described. The cellular phone 10 mainly includes a CPU 11, a storage unit 12, a wireless LAN transceiver unit 15, a wireless LAN antenna unit 16, a button input unit 17, a panel 18, a cellular phone transceiver unit 22, a cellular phone antenna unit 23, and a camera unit 27. I have.

CPU11は、記憶部12に記憶されるプログラムや、無線LAN送受信部15を介して送受信される各種信号などに従って、各機能の制御を行う。なお、記憶部12は、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ、HDD(ハードディスク)などが組み合わされて構成されているとしてもよい。   The CPU 11 controls each function according to a program stored in the storage unit 12 and various signals transmitted / received via the wireless LAN transmission / reception unit 15. The storage unit 12 may be configured by combining a RAM (Random Access Memory), a ROM (Read Only Memory), a flash memory, an HDD (hard disk), and the like.

無線LAN送受信部15は、無線LANアンテナ部16を介して、インフラストラクチャーモードの無線通信200を行う。そして、無線LAN送受信部15により、各種のデータを構成するデジタル信号が送受信される。また、携帯電話送受信部22は、携帯電話アンテナ部23を介して、基地局61との間で無線通信210を行う。ボタン入力部17は、携帯電話10の各機能を実行するためのキーである。ボタン入力部17は、タッチパネルとして、パネル18と一体に構成されていてもよい。パネル18は、携帯電話10の各種機能情報を表示する。   The wireless LAN transmission / reception unit 15 performs infrastructure mode wireless communication 200 via the wireless LAN antenna unit 16. The wireless LAN transmission / reception unit 15 transmits / receives digital signals constituting various data. In addition, the mobile phone transmission / reception unit 22 performs wireless communication 210 with the base station 61 via the mobile phone antenna unit 23. The button input unit 17 is a key for executing each function of the mobile phone 10. The button input unit 17 may be configured integrally with the panel 18 as a touch panel. The panel 18 displays various function information of the mobile phone 10.

記憶部12は、テキストファイルなどの各種のファイルを記憶する。また記憶部12は、プログラム21を記憶する。CPU11は、記憶部12内のプログラム21に従って処理を実行する。プログラム21は、印刷アプリケーション21a、ブラウザアプリケーション21b、テキスト編集アプリケーション21c、メールアプリケーション21d、オペレーティングシステム21eを含む。   The storage unit 12 stores various files such as text files. The storage unit 12 stores a program 21. The CPU 11 executes processing according to the program 21 in the storage unit 12. The program 21 includes a print application 21a, a browser application 21b, a text editing application 21c, a mail application 21d, and an operating system 21e.

印刷アプリケーション21aは、携帯電話10からMFP51に印刷処理などを実行させるためのアプリケーションである。ブラウザアプリケーション21bは、ウェブデータをパネル18に表示させるためのアプリケーションである。CPU11は、ブラウザアプリケーション21bに従って処理を実行することによって、ウェブサーバ71からウェブデータを取得すること、ウェブデータを記憶部12に記憶させること、及び、記憶部12内のウェブデータによって表される画像をパネル18に表示させること、を実行可能である。テキスト編集アプリケーション21cは、文字情報(テキスト)のみのファイル、すなわちテキストファイルを作成、編集、保存するためのアプリケーションである。メールアプリケーション21dは、無線通信210を介してメールを送受信するためのアプリケーションである。   The print application 21a is an application for causing the MFP 51 to execute print processing from the mobile phone 10. The browser application 21 b is an application for displaying web data on the panel 18. The CPU 11 executes processing according to the browser application 21b, thereby acquiring web data from the web server 71, storing the web data in the storage unit 12, and an image represented by the web data in the storage unit 12. Can be displayed on the panel 18. The text editing application 21c is an application for creating, editing, and saving a file containing only character information (text), that is, a text file. The mail application 21 d is an application for sending and receiving mail via the wireless communication 210.

オペレーティングシステム21eは、印刷アプリケーション21a〜メールアプリケーション21dに共通して利用される基本的な機能を提供するプログラムである。またオペレーティングシステム21eは、印刷アプリケーション21a〜メールアプリケーション21dの各々の間での、データの受け渡しを管理する。例として、印刷アプリケーション21aへのデータ受け渡しの管理方法を説明する。印刷アプリケーション21aは、印刷アプリケーション21a自身が受取可能なデータの種類がテキストデータである旨を、オペレーティングシステム21eへ入力する。この入力は、印刷アプリケーション21aのプログラム中に、テキストデータを受け取り可能である旨を記述したマークアップ言語を埋め込んでおくことで行われる。また、マークアップ言語の一例としては、XML(Extensible Markup Language)が挙げられる。オペレーティングシステム21eは、印刷アプリケーション21aのマークアップ言語を解釈し、印刷アプリケーション21aがテキストデータを受け取り可能であることを認識する。これにより、オペレーティングシステム21eは、ブラウザアプリケーション21bおよびテキスト編集アプリケーション21cから出力されたテキストデータを、印刷アプリケーション21aへ入力することができる。以上より、ブラウザアプリケーション21bと印刷アプリケーション21aとを連携させることや、テキスト編集アプリケーション21cと印刷アプリケーション21aとを連携させることが可能となる。   The operating system 21e is a program that provides basic functions that are commonly used by the print application 21a to the mail application 21d. The operating system 21e manages data exchange between the print application 21a to the mail application 21d. As an example, a method for managing data transfer to the print application 21a will be described. The print application 21a inputs to the operating system 21e that the type of data that can be received by the print application 21a itself is text data. This input is performed by embedding a markup language describing that text data can be received in the program of the printing application 21a. An example of the markup language is XML (Extensible Markup Language). The operating system 21e interprets the markup language of the print application 21a and recognizes that the print application 21a can receive text data. Thereby, the operating system 21e can input the text data output from the browser application 21b and the text editing application 21c to the printing application 21a. As described above, the browser application 21b and the print application 21a can be linked, and the text editing application 21c and the print application 21a can be linked.

ウェブサーバ71の構成について説明する。ウェブサーバ71は、CPU72、記憶部73、通信部74、を主に備えている。ウェブサーバ71は、ネットワークにおいて、クライアント装置に対し、自身の保持しているウェブデータや各種機能を提供する装置である。CPU72は、各機能の制御を行う。記憶部73は、各種のウェブデータを記憶する。通信部74は、様々な情報を携帯電話10との間で通信する。   The configuration of the web server 71 will be described. The web server 71 mainly includes a CPU 72, a storage unit 73, and a communication unit 74. The web server 71 is a device that provides web data and various functions held by itself to a client device in a network. The CPU 72 controls each function. The storage unit 73 stores various web data. The communication unit 74 communicates various information with the mobile phone 10.

本実施形態に係る通信システム1の動作を、図2ないし図4のフローを用いて説明する。図2を用いて、ブラウザアプリケーション21bから印刷アプリケーション21a〜テキスト編集アプリケーション21cへデータ共有を行わせる操作を説明する。ユーザが、ボタン入力部17を介してブラウザアプリケーション21bを起動させる操作を入力すると、CPU11は、ブラウザアプリケーション21bを起動する。S11において、CPU11は、ユーザによって指定されたURL(Uniform Resource Locator)で特定されるウェブデータを、ウェブサーバ71から取得する。CPU11は、取得されたウェブデータを、記憶部12に記憶させる。次に、CPU11は、ウェブデータによって表される画像を、パネル18に表示させる。   The operation of the communication system 1 according to the present embodiment will be described with reference to the flowcharts of FIGS. An operation for sharing data from the browser application 21b to the print application 21a to the text editing application 21c will be described with reference to FIG. When the user inputs an operation for starting the browser application 21b via the button input unit 17, the CPU 11 starts the browser application 21b. In S <b> 11, the CPU 11 acquires web data specified by a URL (Uniform Resource Locator) designated by the user from the web server 71. The CPU 11 stores the acquired web data in the storage unit 12. Next, the CPU 11 causes the panel 18 to display an image represented by the web data.

この結果、図5の表示例に示すように、ウェブブラウザ画像501がパネル18に表示される。また、パネル18には、データ共有ボタン502が表示される。データ共有ボタン502は、ブラウザアプリケーション21bと他のアプリケーションとの間で、データを共有する旨のデータ共有命令を入力するボタンである。   As a result, the web browser image 501 is displayed on the panel 18 as shown in the display example of FIG. In addition, a data sharing button 502 is displayed on the panel 18. The data sharing button 502 is a button for inputting a data sharing command for sharing data between the browser application 21b and another application.

S13において、CPU11は、ユーザによってデータ共有命令が入力されたか否かを判断する。具体的には、データ共有ボタン502がユーザによってタッチされたか否かを判断する。入力されていない場合(S13:NO)にはS11へ戻る。一方、入力された場合(S13:YES)には、CPU11は、データ共有先のアプリケーションの候補一覧をパネル18に表示する。本実施形態では、図5の表示例に示すように、印刷アプリケーション21aを選択するボタン511、テキスト編集アプリケーション21cを選択するボタン512、メールアプリケーション21dを選択するボタン513が、データ共有ボタン502に代えて表示される。   In S13, the CPU 11 determines whether or not a data sharing command is input by the user. Specifically, it is determined whether or not the data sharing button 502 has been touched by the user. If it is not input (S13: NO), the process returns to S11. On the other hand, if it is input (S13: YES), the CPU 11 displays a candidate list of data sharing destination applications on the panel 18. In this embodiment, as shown in the display example of FIG. 5, a button 511 for selecting the print application 21a, a button 512 for selecting the text editing application 21c, and a button 513 for selecting the mail application 21d are replaced with the data sharing button 502. Displayed.

S15において、CPU11は、URLデータを共有するアプリケーションとして、何れかのアプリケーションが選択されたか否かを判断する。具体的には、ボタン511がユーザによってタッチされたか否かを判断する。何れのアプリケーションも選択されない場合(S15:NO)には、S15へ戻り待機する。一方、何れかのアプリケーションが選択された場合(S15:YES)には、S17へ進む。S17において、CPU11は、ウェブブラウザ画像501として表示されているウェブページにアクセスするためのURLを、テキストデータで出力する。そしてフローを終了する。テキストデータは、URL(例えば、http://www.○○.com)のみを含んでいても良い。またテキストデータは、URLに加えて、その他の情報(例:住所、タイトルなど)を含んでいても良い。   In S15, the CPU 11 determines whether any application is selected as an application that shares URL data. Specifically, it is determined whether or not the button 511 is touched by the user. If no application is selected (S15: NO), the process returns to S15 and waits. On the other hand, if any application is selected (S15: YES), the process proceeds to S17. In S <b> 17, the CPU 11 outputs a URL for accessing a web page displayed as the web browser image 501 as text data. Then, the flow ends. The text data may include only a URL (for example, http://www.OO.com). The text data may include other information (eg, address, title, etc.) in addition to the URL.

図3を用いて、ブラウザアプリケーション21b〜メールアプリケーション21dの何れかからテキストデータが受け渡される場合における、印刷アプリケーション21aの動作を説明する。S208においてCPU11は、ブラウザアプリケーション21b〜メールアプリケーション21dの何れかから、データが受け渡されたか否かを判断する。例えば、携帯電話10がアンドロイド(登録商標)と呼ばれる携帯電話向けのプラットフォームを使用している場合には、Intentと呼ばれる、アプリケーション間でデータの受け渡しをするオブジェクトが受け渡されたか否かを判断する。データが受け渡されていない場合(S208:NO)には、フローを終了する。一方、データが受け渡された場合(S208:YES)にはS210へ進む。   The operation of the print application 21a when text data is delivered from any of the browser application 21b to the mail application 21d will be described with reference to FIG. In S208, the CPU 11 determines whether data has been delivered from any of the browser application 21b to the mail application 21d. For example, when the mobile phone 10 uses a platform for mobile phones called Android (registered trademark), it is determined whether or not an object called Intent that passes data between applications is passed. . If no data has been transferred (S208: NO), the flow ends. On the other hand, if the data has been transferred (S208: YES), the process proceeds to S210.

S210においてCPU11は、受け渡されたデータが、テキストデータであるか否かを判断する。受け渡されたデータがテキストデータでない場合(S210:NO)にはS211へ進み、CPU11は、受け渡されたデータの形式に応じた処理を実行する。例えば、JPEG(Joint Photographic Experts Group)形式の画像データが受け渡された場合には、当該画像データをパネル18に表示する処理や、画像データをMFP51に印刷させる処理などを実行する。一方、受け渡されたデータがテキストデータである場合(S210:YES)には、S212へ進む。   In S210, the CPU 11 determines whether or not the transferred data is text data. If the transferred data is not text data (S210: NO), the process proceeds to S211 and the CPU 11 executes processing according to the format of the transferred data. For example, when image data in JPEG (Joint Photographic Experts Group) format is delivered, a process for displaying the image data on the panel 18 or a process for causing the MFP 51 to print the image data is executed. On the other hand, when the transferred data is text data (S210: YES), the process proceeds to S212.

S212において、CPU11は、受け渡されたテキストデータに、URLの文字列が含まれているか否かを判断する。テキストデータにURLの文字列が含まれているか否かの判断方法の一例を説明する。CPU11は、受け取ったテキストデータに含まれている文字列のうち、スキームを先頭部分に有するとともに、制御コードを終端部分に有する文字列を、URLの文字列として認識する。スキームとは、使用するプロトコルを示す文字列である。スキームの一例としては、「http:」、「https:」、「file:」、などが挙げられる。制御コードとは、URLの文字列の終了を示す文字列である。制御コードの一例としては、スペース、改行コード(テキストデータ中での改行を意味する文字コード)、タグ、などが挙げられる。   In S <b> 212, the CPU 11 determines whether or not the passed text data includes a URL character string. An example of a method for determining whether or not a text string includes a URL character string will be described. The CPU 11 recognizes, as a URL character string, a character string having a scheme at the head portion and a control code at the end portion among character strings included in the received text data. A scheme is a character string indicating a protocol to be used. Examples of schemes include “http:”, “https:”, “file:”, and the like. The control code is a character string indicating the end of the URL character string. Examples of the control code include a space, a line feed code (a character code meaning a line feed in text data), a tag, and the like.

テキストデータにURLの文字列が含まれていない場合(S212:NO)には、URLの文字列以外の文字列(以下、所定文字列と記載する)のみがテキストデータに含まれている場合であると判断され、S250へ進む。S250においてCPU11は、所定文字列の印刷データを生成し、印刷データに基づいて印刷プレビューをパネル18に表示する。所定文字列の印刷プレビューは、所定文字列をMFP51で印刷する前に、所定文字列の印刷結果を予めパネル18に表示する処理である。またCPU11は、テキスト印刷実行ボタンをパネル18に表示する。テキスト印刷実行ボタンは、所定文字列の印刷データを印刷する印刷実行命令の入力を受け付けるボタンである。本実施形態の説明例では、図6の表示例に示すように、所定文字列の印刷プレビュー画像521と、テキスト印刷実行ボタン522が、パネル18に表示される。   When the text data does not include a URL character string (S212: NO), the text data includes only a character string other than the URL character string (hereinafter referred to as a predetermined character string). It is determined that there is, and the process proceeds to S250. In S250, the CPU 11 generates print data of a predetermined character string, and displays a print preview on the panel 18 based on the print data. The print preview of the predetermined character string is a process for displaying the print result of the predetermined character string on the panel 18 in advance before the MFP 51 prints the predetermined character string. Further, the CPU 11 displays a text print execution button on the panel 18. The text print execution button is a button for receiving an input of a print execution command for printing print data of a predetermined character string. In the example of the present embodiment, as shown in the display example of FIG. 6, a print preview image 521 of a predetermined character string and a text print execution button 522 are displayed on the panel 18.

S252において、CPU11は、ユーザによって印刷実行命令が入力されたか否かを判断する。具体的には、テキスト印刷実行ボタンがユーザによってタッチされたか否かを判断する。印刷実行命令が入力されていない場合(S252:NO)にはS252へ戻り、入力された場合(S252:YES)にはS254へ進む。   In S252, the CPU 11 determines whether or not a print execution command is input by the user. Specifically, it is determined whether or not the text print execution button has been touched by the user. If no print execution command has been input (S252: NO), the process returns to S252, and if it has been input (S252: YES), the process proceeds to S254.

S254においてCPU11は、所定文字列の印刷データを、無線通信200および201を介してMFP51に送信する。MFP51は、携帯電話10から受信した所定文字列の印刷データを、印刷用紙に印刷する。これにより、フローが終了する。   In S254, the CPU 11 transmits print data of a predetermined character string to the MFP 51 via the wireless communication 200 and 201. The MFP 51 prints print data of a predetermined character string received from the mobile phone 10 on a print sheet. Thereby, the flow ends.

一方、テキストデータにURLの文字列が含まれている場合(S212:YES)には、S216へ進む。S216においてCPU11は、テキストデータの中に、所定文字列が含まれているか否かを判断する。所定文字列が含まれている場合(S216:YES)には、S218へ進む。   On the other hand, if the text data includes a URL character string (S212: YES), the process proceeds to S216. In S216, the CPU 11 determines whether or not a predetermined character string is included in the text data. If the predetermined character string is included (S216: YES), the process proceeds to S218.

S218においてCPU11は、所定文字列、ウェブ印刷プレビュー用ハイパーリンク、および、テキスト印刷プレビューボタンをパネル18に表示する。ウェブ印刷プレビュー用ハイパーリンクは、ウェブページの印刷プレビューの実行命令の入力を受け付ける、ハイパーリンクである。ウェブページの印刷プレビューは、URLの文字列に対応するウェブページをMFP51で印刷する前に、ウェブページに対応する印刷データを生成して、印刷データに基づく印刷結果を予めパネル18に表示する処理である。また、ハイパーリンクは、URLの文字列が埋め込まれた文書である。テキスト印刷プレビューボタンは、所定文字列の印刷プレビューを表示する旨の命令入力を受け付けるボタンである。   In S218, the CPU 11 displays a predetermined character string, a web print preview hyperlink, and a text print preview button on the panel 18. The web print preview hyperlink is a hyperlink that accepts an input of a print preview execution command for a web page. The print preview of the web page is a process for generating print data corresponding to the web page before the web page corresponding to the character string of the URL is printed by the MFP 51 and displaying the print result based on the print data on the panel 18 in advance. It is. A hyperlink is a document in which a URL character string is embedded. The text print preview button is a button for receiving a command input for displaying a print preview of a predetermined character string.

本実施形態の説明例では、図7の表示例に示すように、所定文字列531、ウェブ印刷プレビュー用ハイパーリンク532、テキスト印刷プレビューボタン533が、パネル18に表示される。ウェブ印刷プレビュー用ハイパーリンク532は、URLの文字列の一部を青字で表示するとともに、下線を引いた態様で表示される。   In the example of the present embodiment, as shown in the display example of FIG. 7, a predetermined character string 531, a web print preview hyperlink 532, and a text print preview button 533 are displayed on the panel 18. The web print preview hyperlink 532 is displayed in a manner in which a part of the URL character string is displayed in blue and underlined.

S220において、CPU11は、ウェブページの印刷プレビューの表示命令が入力されたか否かを判断する。具体的には、ウェブ印刷プレビュー用ハイパーリンクがタッチされたか否かを判断する。ウェブページの印刷プレビューの表示命令が入力されていない場合(S220:NO)には、S240へ進む。S240においてCPU11は、所定文字列の印刷プレビューの表示命令が入力されたか否かを判断する。具体的には、テキスト印刷プレビューボタンがタッチされたか否かを判断する。所定文字列の印刷プレビューの表示命令が入力されていない場合(S240:NO)にはS220へ戻り、入力された場合(S240:YES)にはS250へ戻る。   In S <b> 220, the CPU 11 determines whether or not a web page print preview display command has been input. Specifically, it is determined whether or not a web print preview hyperlink has been touched. If the web page print preview display command is not input (S220: NO), the process proceeds to S240. In S240, the CPU 11 determines whether or not a print preview display command for a predetermined character string has been input. Specifically, it is determined whether or not a text print preview button has been touched. If the print preview display command for the predetermined character string has not been input (S240: NO), the process returns to S220, and if it has been input (S240: YES), the process returns to S250.

一方、S216において、テキストデータの中に所定文字列が含まれていない場合(S216:NO)には、URLの文字列のみがテキストデータに含まれている場合であると判断され、S221(図4)へ進む。S221において、CPU11は、ブラウザアプリケーション21b〜メールアプリケーション21dの何れかから出力されているテキストデータが、ファイル形式で出力されているか、ストリーム形式で出力されているかを判断する。   On the other hand, if the predetermined character string is not included in the text data in S216 (S216: NO), it is determined that only the character string of the URL is included in the text data, and S221 (FIG. Go to 4). In S221, the CPU 11 determines whether text data output from any of the browser application 21b to the mail application 21d is output in a file format or a stream format.

ファイル形式でテキストデータが出力される場合には、テキストデータには、属性情報やヘッダ情報などの付加情報として、ファイルのパスが付加されている。ファイル形式で出力されるテキストデータの一例としては、テキスト編集アプリケーション21cから出力されるテキストデータが挙げられる。一方、ストリーム形式で出力されるテキストデータの一例としては、ブラウザアプリケーション21bから出力されるテキストデータが挙げられる。ストリーム形式で出力されるテキストデータを受信する方法の一例としては、RAM等でバッファリングする方法が挙げられる。   When text data is output in a file format, a file path is added to the text data as additional information such as attribute information and header information. An example of text data output in the file format is text data output from the text editing application 21c. On the other hand, text data output from the browser application 21b is an example of text data output in the stream format. An example of a method for receiving text data output in a stream format is a method of buffering with a RAM or the like.

また、テキストデータがファイル形式で出力されているか、ストリーム形式で出力されているかを判断する方法の一例としては、テキストデータに付加情報としてファイルのパスが付加されているか否かを検出する方法が挙げられる。   An example of a method for determining whether text data is output in a file format or a stream format is a method for detecting whether a file path is added to text data as additional information. Can be mentioned.

テキストデータがファイル形式で出力されている場合(S221:ファイル形式)には、S225へ進む。S225においてCPU11は、ウェブ印刷プレビュー用ハイパーリンク、および、テキスト印刷プレビューボタンをパネル18に表示する。本実施形態の説明例では、図11の表示例に示すように、ウェブ印刷プレビュー用ハイパーリンク572、テキスト印刷プレビューボタン573が、パネル18に表示される。テキスト印刷プレビューボタン573は、ウェブ印刷プレビュー用ハイパーリンク572の表示に用いられているURLの文字列の、印刷プレビューを表示する旨の命令入力を受け付けるボタンである。そしてS220(図3)へ戻る。ここで、ウェブ印刷プレビュー用ハイパーリンク572の代わりに、URLの文字列およびウェブ印刷プレビューボタンを表示してもよい。これによっても、ウェブページの印刷プレビューの実行命令の入力を、ウェブ印刷プレビューボタンで受け付けることができる。   If the text data is output in the file format (S221: file format), the process proceeds to S225. In S225, the CPU 11 displays a web print preview hyperlink and a text print preview button on the panel 18. In the example of the present embodiment, as shown in the display example of FIG. 11, a web print preview hyperlink 572 and a text print preview button 573 are displayed on the panel 18. The text print preview button 573 is a button for accepting a command input for displaying a print preview of a URL character string used for displaying the web print preview hyperlink 572. Then, the process returns to S220 (FIG. 3). Here, instead of the web print preview hyperlink 572, a URL character string and a web print preview button may be displayed. This also allows an input of a web page print preview execution command to be accepted by the web print preview button.

一方、テキストデータがストリーム形式で出力されている場合(S221:ストリーム形式)には、S222へ進む。S222においてCPU11は、テキストデータに、URLの文字列が複数含まれているか否かを判断する。URLの文字列が複数含まれている場合(S222:YES)には、S228へ進む。S228においてCPU11は、複数のURLの文字列の各々に対応するウェブ印刷プレビュー用ハイパーリンクを、複数表示する。   On the other hand, when the text data is output in the stream format (S221: stream format), the process proceeds to S222. In S222, the CPU 11 determines whether or not the text data includes a plurality of URL character strings. If a plurality of URL character strings are included (S222: YES), the process proceeds to S228. In S228, the CPU 11 displays a plurality of web print preview hyperlinks corresponding to each of a plurality of URL character strings.

本実施形態の説明例では、テキストデータにURLの文字列が2つ含まれている場合を説明する。この場合、図8の表示例に示すように、ウェブ印刷プレビュー用ハイパーリンク541および542の2つが、パネル18に表示される。   In the explanation example of the present embodiment, a case will be described in which two URL character strings are included in text data. In this case, as shown in the display example of FIG. 8, two web print preview hyperlinks 541 and 542 are displayed on the panel 18.

S230においてCPU11は、少なくとも1つのウェブ印刷プレビュー用ハイパーリンクが選択されたか否かを判断する。選択されていない場合(S230:NO)にはS230へ戻る。一方、複数のウェブ印刷プレビュー用ハイパーリンクが選択された場合(S230:複数)には、S232へ進む。   In S230, the CPU 11 determines whether or not at least one web print preview hyperlink has been selected. If it is not selected (S230: NO), the process returns to S230. On the other hand, when a plurality of web print preview hyperlinks are selected (S230: plural), the process proceeds to S232.

S232においてCPU11は、複数のウェブ印刷プレビュー用ハイパーリンクの各々で特定される複数のウェブデータを、ウェブサーバ71から取得し、記憶部12に記憶させる。またCPU11は、複数のウェブデータの各々から、複数のウェブページの印刷データを生成する。ウェブページの印刷データを生成する処理の一例としては、印刷用紙のサイズに合わせてウェブデータを分割する処理や、解像度を変更する処理や、ポストスクリプト等のページ記述言語をヘッダ情報として付与する処理が挙げられる。そしてCPU11は、複数の印刷データに基づいて、複数のウェブページのプレビュー画像をパネル18に表示させる。またCPU11は、複数のプレビュー画像の各々に対応させて、複数のウェブページ印刷実行ボタンをパネル18に表示させる。   In S <b> 232, the CPU 11 acquires a plurality of web data specified by each of the plurality of web print preview hyperlinks from the web server 71 and causes the storage unit 12 to store the web data. Further, the CPU 11 generates print data of a plurality of web pages from each of the plurality of web data. Examples of processing for generating web page print data include processing for dividing web data according to the size of the printing paper, processing for changing the resolution, and processing for adding page description language such as postscript as header information. Is mentioned. Then, the CPU 11 displays a preview image of a plurality of web pages on the panel 18 based on the plurality of print data. Further, the CPU 11 displays a plurality of web page print execution buttons on the panel 18 in correspondence with each of the plurality of preview images.

本実施形態の説明例では、図9の表示例に示すように、ウェブページのプレビュー画像551および552がパネル18に表示される。また、ウェブページのプレビュー画像551および552の各々に対応して、ウェブページ印刷実行ボタン553および554が表示される。   In the example of this embodiment, as shown in the display example of FIG. 9, web page preview images 551 and 552 are displayed on the panel 18. Also, web page print execution buttons 553 and 554 are displayed corresponding to the web page preview images 551 and 552, respectively.

一方、S230において、1つのウェブ印刷プレビュー用ハイパーリンクが選択された場合(S230:1つ)には、S223へ進む。S223において、CPU11は、当該ウェブ印刷プレビュー用ハイパーリンクで特定される1つのウェブデータを、ウェブサーバ71から取得し、印刷データを生成する。そしてCPU11は、印刷データに基づいて、1つのウェブページのプレビュー画像と、1つのウェブページ印刷実行ボタンをパネル18に表示させる。本実施形態の説明例では、図10の表示例に示すように、ウェブページのプレビュー画像561と、ウェブページ印刷実行ボタン562が表示される。   On the other hand, when one web print preview hyperlink is selected in S230 (S230: one), the process proceeds to S223. In S223, the CPU 11 obtains one web data specified by the web print preview hyperlink from the web server 71, and generates print data. Then, the CPU 11 causes the panel 18 to display one web page preview image and one web page print execution button based on the print data. In the example of the present embodiment, as shown in the display example of FIG. 10, a web page preview image 561 and a web page print execution button 562 are displayed.

S234において、CPU11は、ウェブページの印刷実行命令がユーザによって入力されたか否かを判断する。具体的には、ウェブページ印刷実行ボタンがユーザによってタッチされたか否かを判断する。印刷実行命令が入力されていない場合(S234:NO)にはS234へ戻り、入力された場合(S234:YES)にはS236へ進む。   In S234, the CPU 11 determines whether or not a web page print execution command has been input by the user. Specifically, it is determined whether or not the web page print execution button has been touched by the user. If a print execution command has not been input (S234: NO), the process returns to S234, and if it has been input (S234: YES), the process proceeds to S236.

S236において、CPU11は、ウェブページの印刷データを、無線通信200および201を介してMFP51に送信する。MFP51は、携帯電話10から受信したウェブページの印刷データを、印刷用紙に印刷する。これにより、フローが終了する。   In step S <b> 236, the CPU 11 transmits print data of the web page to the MFP 51 via the wireless communication 200 and 201. The MFP 51 prints the print data of the web page received from the mobile phone 10 on print paper. Thereby, the flow ends.

<効果>
本実施形態に係る印刷アプリケーション21aの効果を説明する。印刷アプリケーション21aでは、他のアプリケーション(ブラウザアプリケーション21bなど)から受け取ったテキストデータに、URLの文字列と、URLの文字列以外の文字列(所定文字列)が含まれている場合には(S216:YES)、ウェブ印刷プレビュー用ハイパーリンクと、テキスト印刷プレビューボタンをパネル18に表示することができる(S218)。これにより、URLの文字列に対応するウェブページの印刷実行(S236)と、所定文字列の印刷実行(S254)とを、選択可能に制御することができる。
<Effect>
The effect of the print application 21a according to the present embodiment will be described. In the print application 21a, when text data received from another application (such as the browser application 21b) includes a character string of URL and a character string (predetermined character string) other than the character string of URL (S216). : YES), a web print preview hyperlink and a text print preview button can be displayed on the panel 18 (S218). Thereby, it is possible to control the print execution (S236) of the web page corresponding to the character string of the URL and the print execution (S254) of the predetermined character string so as to be selectable.

本実施形態に係る印刷アプリケーション21aでは、他のアプリケーションから受け取ったテキストデータに、URLの文字列のみが含まれている場合には(S216:NO)、そのURLに対応するウェブページとウェブページ印刷実行ボタンを表示することによって、ウェブページに対応する印刷データを印刷する旨の印刷実行命令の入力を受け付けることができる(S223、S232)。また、他のアプリケーションから受け取ったテキストデータに、所定文字列のみが含まれている場合には(S212:NO)、所定文字列およびテキスト印刷実行ボタンを表示することによって、所定文字列に対応する印刷データを印刷する旨の印刷実行命令の入力を受け付けることができる(S250)。これにより、テキストデータにURLの文字列のみが含まれている場合、および、テキストデータに所定文字列のみが含まれている場合、の各々に対しても、印刷実行を可能に制御することができる。   In the print application 21a according to the present embodiment, when only text strings of URLs are included in text data received from other applications (S216: NO), the web page corresponding to the URL and web page printing are included. By displaying the execution button, it is possible to accept an input of a print execution command for printing the print data corresponding to the web page (S223, S232). If the text data received from another application contains only the predetermined character string (S212: NO), the predetermined character string and the text print execution button are displayed to correspond to the predetermined character string. An input of a print execution command for printing the print data can be received (S250). As a result, it is possible to perform control so that printing can be executed for each of the text data including only the URL character string and the text data including only the predetermined character string. it can.

本実施形態に係る印刷アプリケーション21aでは、他のアプリケーションから受け取ったテキストデータに、URLの文字列が複数含まれている場合には(S222:YES)、ウェブ印刷プレビュー用ハイパーリンクを複数表示することができる(S228)。そして、ウェブページの印刷プレビューの実行命令の入力を、複数のURLの文字列の各々について受け付けることができる(S230)。これにより、複数のウェブページのうちから選択した少なくとも1つのウェブページのプレビュー表示や印刷などを、一括して実行することが可能となるため、ユーザの利便性を向上させることができる。   In the print application 21a according to the present embodiment, if the text data received from another application includes a plurality of URL character strings (S222: YES), a plurality of web print preview hyperlinks are displayed. (S228). Then, an input of a print preview execution command for a web page can be received for each of a plurality of URL character strings (S230). As a result, preview display or printing of at least one web page selected from among a plurality of web pages can be executed in a batch, so that convenience for the user can be improved.

本実施形態に係る印刷アプリケーション21aでは、ウェブページの印刷プレビューの実行命令の入力を受け付ける画像として、ウェブ印刷プレビュー用ハイパーリンクを用いることができる。これにより、URLの文字列の少なくとも一部を表示することができるため、アクセス先をユーザに認識させやすくすることができる。   In the print application 21a according to the present embodiment, a web print preview hyperlink can be used as an image that receives an input of a print preview execution command for a web page. Thereby, since at least a part of the character string of the URL can be displayed, the user can easily recognize the access destination.

本実施形態に係る印刷アプリケーション21aでは、URLの文字列に対応するウェブページを、印刷プレビュー表示することができる(S223、S232)。これにより、ウェブページを目視した上で印刷実行の可否を決定することが可能となるため、ユーザの利便性を向上させることができる。   The print application 21a according to the present embodiment can display a print preview of the web page corresponding to the URL character string (S223, S232). As a result, it is possible to determine whether or not printing can be performed after viewing the web page, thereby improving user convenience.

本実施形態に係る印刷アプリケーション21aでは、他のアプリケーションから、URLの文字列のみを含むテキストデータがファイル形式で出力されている場合には(S221:ファイル形式)、当該テキストデータをユーザが作成した可能性があるデータであると判断することができる。この場合、ウェブ印刷プレビュー用ハイパーリンクと、テキスト印刷プレビューボタンが、パネル18に表示される(S225)。一方、URLの文字列のみを含むテキストデータがストリーム形式で出力されている場合には(S221:ストリーム形式)、当該テキストデータが、ブラウザアプリケーション21bから出力されているデータであると判断することができる。この場合、URLの文字列に対応するウェブページのプレビュー画像と、ウェブページ印刷実行ボタンが、パネル18に表示される(S223、S232)。これにより、ブラウザアプリケーション21bからテキストデータが出力される場合に対応して、ウェブページのプレビュー画像を表示させることが可能となる。   In the print application 21a according to the present embodiment, when text data including only the URL character string is output in a file format from another application (S221: file format), the text data is created by the user. It can be determined that the data is possible. In this case, a web print preview hyperlink and a text print preview button are displayed on the panel 18 (S225). On the other hand, when text data including only the URL character string is output in the stream format (S221: stream format), it may be determined that the text data is data output from the browser application 21b. it can. In this case, a web page preview image corresponding to the URL character string and a web page print execution button are displayed on the panel 18 (S223, S232). Thereby, it is possible to display a preview image of the web page in response to the case where text data is output from the browser application 21b.

以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には、以上に例示した具体例を様々に変形、変更したものが含まれる。   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.

<変形例>
S232において、複数のウェブページのプレビュー画像をパネル18に表示させる方法は様々な方法であってよい。例えば、1つのウィンドウ上で、タブでの切り替えが可能なページを複数作成し、プレビュー画像を各ページに1つずつ表示してもよい。そして、タブを切り替えることによって複数のプレビュー画像を閲覧可能としてもよい。
<Modification>
In S232, there are various methods for displaying the preview images of a plurality of web pages on the panel 18. For example, a plurality of pages that can be switched with tabs may be created on one window, and one preview image may be displayed on each page. A plurality of preview images may be browsed by switching tabs.

URLの文字列に対応するウェブページの印刷実行(S236)と、所定文字列の印刷実行(S254)とを、選択可能に制御する方法は、S218および図7に示すように、ウェブ印刷プレビュー用ハイパーリンクとテキスト印刷プレビューボタンを表示する方法に限られない。例えば、S13において、データ共有先のアプリケーションの候補一覧をパネル18に表示する際に、図12に示すように、印刷アプリケーション21aにウェブページの印刷を実行させるボタン511a(ウェブ印刷アプリケーション)と、印刷アプリケーション21aに所定文字列の印刷を実行させるボタン511b(テキスト印刷アプリケーション)を、データ共有先のアプリケーションの候補一覧に表示させてもよい。これにより、データ共有先のアプリケーションを選択する操作と、印刷実行する対象を選択する操作とを同時に実行することができるため、より簡易な操作で印刷を実行することが可能となる。   As shown in S218 and FIG. 7, the method for controlling the print execution of the web page corresponding to the URL character string (S236) and the print execution of the predetermined character string (S254) is as shown in FIG. The method is not limited to displaying a hyperlink and a text print preview button. For example, when displaying a candidate list of data sharing destination applications on the panel 18 in S13, as shown in FIG. 12, a button 511a (web print application) for causing the print application 21a to print a web page, and printing are displayed. A button 511b (text print application) for causing the application 21a to print a predetermined character string may be displayed in the candidate list of applications for data sharing. As a result, the operation for selecting the data sharing destination application and the operation for selecting the target to be printed can be executed simultaneously, so that printing can be executed with a simpler operation.

S218やS225において、テキスト印刷プレビューボタンが表示されるとしたが、この形態に限られない。印刷プレビューを表示させずに即時に印刷を実行させる場合には、テキスト印刷プレビューボタンに代えて、テキスト印刷実行ボタンを表示させてもよい。また、S218、S225、S228において、ウェブ印刷プレビュー用ハイパーリンクが表示されるとしたが、この形態に限られない。ウェブ印刷プレビュー用ハイパーリンクに代えて、ウェブページ印刷実行ボタンやウェブ印刷実行用ハイパーリンクを表示させてもよい。   Although the text print preview button is displayed in S218 and S225, the present invention is not limited to this form. When printing is performed immediately without displaying a print preview, a text print execution button may be displayed instead of the text print preview button. In addition, although the web print preview hyperlink is displayed in S218, S225, and S228, the present invention is not limited to this form. Instead of the web print preview hyperlink, a web page print execution button or a web print execution hyperlink may be displayed.

S218、S225、S228において、ウェブページの印刷プレビューの実行命令の入力を受け付ける画像として、ハイパーリンク画像を表示させるとしたが、この形態に限られない。ウェブ印刷プレビュー用ハイパーリンクに代えて、ウェブ印刷プレビューボタンの画像をパネル18に表示させてもよい。例えば、図13の表示例に示すように、URLの文字列581および582、テキスト印刷プレビューボタン584に加えて、ウェブ印刷プレビューボタン583が表示されるとしてもよい。また、テキストデータにURLの文字列が複数含まれている場合には、ウェブ印刷プレビューボタンが押下されることに応じて、複数のURLのうちから少なくとも1つのURLの選択を受け付ける画像を、パネル18に表示させるとしてもよい。図13の表示例では、URLの文字列(581および582)が複数表示されているため、ウェブ印刷プレビューボタン583が押下されることに応じて、図8に示すように、ウェブ印刷プレビュー用ハイパーリンク541および542の2つが、パネル18に表示されるとしてもよい。   In S218, S225, and S228, a hyperlink image is displayed as an image for receiving an input of a print preview execution instruction for a web page. However, the present invention is not limited to this form. Instead of the web print preview hyperlink, an image of the web print preview button may be displayed on the panel 18. For example, as shown in the display example of FIG. 13, in addition to URL character strings 581 and 582 and a text print preview button 584, a web print preview button 583 may be displayed. If the text data includes a plurality of URL character strings, an image that accepts selection of at least one URL from among the plurality of URLs in response to pressing of the web print preview button is displayed on the panel. 18 may be displayed. In the display example of FIG. 13, a plurality of URL character strings (581 and 582) are displayed. Accordingly, when the web print preview button 583 is pressed, as shown in FIG. Two of the links 541 and 542 may be displayed on the panel 18.

S222において、テキストデータにURLの文字列が複数含まれているか否かを判断する際に、同一のURLの文字列が複数含まれている場合には、これら同一のURLの文字列を、1つのURLの文字列として判断してもよい。   In S222, when it is determined whether or not the text data includes a plurality of URL character strings, if a plurality of the same URL character strings are included, these same URL character strings are set to 1 It may be determined as a character string of one URL.

本実施形態では、印刷アプリケーション21aがブラウザアプリケーション21bからテキストデータを受け取った場合を説明したが、この形態に限られない。テキスト編集アプリケーション21c、メールアプリケーション21dなどのアプリケーションからテキストデータを受け取った場合においても、本実施例に記載の技術を適用することが可能である。また、プログラム21に記憶されている、印刷アプリケーション21a以外のアプリケーションは、ブラウザアプリケーション21b〜メールアプリケーション21dに限られない。これらのアプリケーションは一例である。よって、これらのアプリケーション以外の種類のアプリケーションと印刷アプリケーション21aとがデータ共有する際に、本実施例に記載の技術を適用することが可能である。   In the present embodiment, the case where the print application 21a receives text data from the browser application 21b has been described, but the present invention is not limited to this form. Even when text data is received from an application such as the text editing application 21c or the mail application 21d, the technique described in this embodiment can be applied. Further, applications other than the print application 21a stored in the program 21 are not limited to the browser application 21b to the mail application 21d. These applications are examples. Therefore, when the types of applications other than these applications and the print application 21a share data, it is possible to apply the technique described in the present embodiment.

また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。   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は端末装置の一例である。CPU11はコンピュータの一例である。携帯電話送受信部22および携帯電話アンテナ部23は、通信手段の一例である。パネル18は表示手段の一例である。URLの文字列は、第1文字列の一例である。印刷アプリケーション21aは、印刷データ生成プログラムの一例である。ブラウザアプリケーション21bは、ブラウザプログラムの一例である。所定文字列は第2文字列の一例である。S223、S232などの処理は、第1処理の一例である。ウェブ印刷プレビュー用ハイパーリンクは、第1画像の一例である。S250などの処理は、第2処理の一例である。テキスト印刷プレビューボタンやテキスト印刷プレビュー画面は、第2画像の一例である。S218を実行するCPU14は、印刷データ生成手段の一例である。ストリーム形式は、ファイル形式以外の形式の一例である。   The mobile phone 10 is an example of a terminal device. The CPU 11 is an example of a computer. The mobile phone transmission / reception unit 22 and the mobile phone antenna unit 23 are examples of communication means. The panel 18 is an example of display means. The URL character string is an example of a first character string. The print application 21a is an example of a print data generation program. The browser application 21b is an example of a browser program. The predetermined character string is an example of a second character string. Processes such as S223 and S232 are examples of the first process. The web print preview hyperlink is an example of a first image. The processing such as S250 is an example of the second processing. The text print preview button and the text print preview screen are examples of the second image. The CPU 14 that executes S218 is an example of a print data generation unit. The stream format is an example of a format other than the file format.

1:通信システム、10:携帯電話、11:CPU、12:記憶部、18:パネル、21a:印刷アプリケーション、21b:ブラウザアプリケーション、21c:テキスト編集アプリケーション、21d:メールアプリケーション、51:MFP、71:ウェブサーバ   1: communication system, 10: mobile phone, 11: CPU, 12: storage unit, 18: panel, 21a: printing application, 21b: browser application, 21c: text editing application, 21d: mail application, 51: MFP, 71: Web server

Claims (9)

プログラムを読み取ることで各手段として機能するコンピュータと、
通信手段と、
表示手段と、
前記コンピュータを、前記通信手段を介してウェブサーバにアクセスしてウェブページを前記表示手段に表示し、データを共有する旨の入力と、前記コンピュータが読み取る他のプログラムの選択の入力とに応じて、アクセスしている前記ウェブページを特定する第1文字列を含んだテキストデータを出力する表示制御手段として機能させるブラウザプログラムと、
を備えた端末装置の前記コンピュータが読み取り可能なプログラムであって、
前記コンピュータを、
前記表示制御手段から出力された前記テキストデータを受け取り、受け取った前記テキストデータに、前記第1文字列と、前記第1文字列以外の文字列である第2文字列とが含まれていると判断される場合に、当該第1文字列に対応する前記ウェブページに前記通信手段を介してアクセスして、前記ウェブページに対応する印刷データを生成する第1処理の実行命令の入力受け付けに関連する第1画像を前記表示手段に表示するとともに、前記第2文字列に対応する印刷データを生成する第2処理の実行命令の入力受け付けに関連する第2画像を前記表示手段に表示する印刷データ生成手段として機能させることを特徴とする印刷データ生成プログラム。
A computer that functions as each means by reading a program;
Communication means;
Display means;
The computer accesses a web server via the communication means, displays a web page on the display means, and according to an input for sharing data and an input for selecting another program read by the computer A browser program that functions as display control means for outputting text data including a first character string that identifies the web page being accessed;
A computer-readable program of a terminal device comprising:
The computer,
The text data output from the display control means is received, and the received text data includes the first character string and a second character string that is a character string other than the first character string. If it is determined, the web page corresponding to the first character string is accessed via the communication means and related to accepting an input of an execution instruction of the first process for generating print data corresponding to the web page Print data for displaying on the display means a second image related to receiving an input of an execution command for a second process for generating print data corresponding to the second character string, while displaying the first image to be displayed on the display means A print data generation program that functions as a generation unit.
前記印刷データ生成手段は、
前記表示制御手段から受け取った前記テキストデータに前記第1文字列のみが含まれていると判断される場合には、前記第1画像を前記表示手段に表示し、
前記表示制御手段から受け取った前記テキストデータに前記第2文字列のみが含まれていると判断される場合には、前記第2画像を前記表示手段に表示することを特徴とする請求項1に記載の印刷データ生成プログラム。
The print data generation means includes
When it is determined that only the first character string is included in the text data received from the display control means, the first image is displayed on the display means,
2. The second image is displayed on the display unit when it is determined that only the second character string is included in the text data received from the display control unit. The print data generation program described.
前記印刷データ生成手段は、前記表示制御手段から受け取った前記テキストデータに前記第1文字列が複数含まれていると判断される場合には、複数の前記第1文字列の各々に対応して複数の前記第1画像を前記表示手段に表示し、複数の前記第1画像のうち、前記第1処理の実行命令の入力を受け付けた第1画像に対応する第1処理を実行することを特徴とする請求項1または2に記載の印刷データ生成プログラム。   When it is determined that the text data received from the display control unit includes a plurality of the first character strings, the print data generation unit corresponds to each of the plurality of first character strings. A plurality of the first images are displayed on the display means, and a first process corresponding to a first image that has received an input of an execution command for the first process is executed among the plurality of first images. The print data generation program according to claim 1 or 2. 前記印刷データ生成手段は、前記表示制御手段から受け取った前記テキストデータに含まれている文字列のうち、使用するプロトコルを示すスキームを先頭部分に有するとともに、前記第1文字列の終了を示す制御コードを終端部分に有する文字列を、前記第1文字列として認識することを特徴とする請求項1〜3の何れか1項に記載の印刷データ生成プログラム。   The print data generation unit has a scheme indicating a protocol to be used among the character strings included in the text data received from the display control unit, and a control indicating the end of the first character string The print data generation program according to any one of claims 1 to 3, wherein a character string having a code at a terminal portion is recognized as the first character string. 前記第1画像は、前記第1文字列の少なくとも一部を特定の態様で表示した画像であることを特徴とする請求項1〜4の何れか1項に記載の印刷データ生成プログラム。   The print data generation program according to any one of claims 1 to 4, wherein the first image is an image in which at least a part of the first character string is displayed in a specific manner. 前記第1画像は、前記第1文字列に対応するウェブページの画像を含んでいることを特徴とする請求項1〜5の何れか1項に記載の印刷データ生成プログラム。   The print data generation program according to claim 1, wherein the first image includes a web page image corresponding to the first character string. 前記印刷データ生成手段は、前記表示制御手段から受け取った前記テキストデータに前記第1文字列のみが含まれていると判断される場合に、ファイル形式で前記表示制御手段から前記テキストデータが出力されていると判断される場合には、前記第1文字列に対応する画像および前記第1画像を前記表示手段に表示し、前記ファイル形式以外の形式で前記表示制御手段から前記テキストデータが出力されていると判断される場合には、前記第1文字列に対応するウェブページの画像を含んでいる前記第1画像を前記表示手段に表示することを特徴とする請求項1〜6の何れか1項に記載の印刷データ生成プログラム。   The print data generation unit outputs the text data from the display control unit in a file format when it is determined that only the first character string is included in the text data received from the display control unit. If it is determined that the first character string and the first image are displayed on the display means, the text data is output from the display control means in a format other than the file format. If it is determined that the first character string is included, the first image including the image of the web page corresponding to the first character string is displayed on the display means. The print data generation program according to item 1. 通信手段と、
表示手段と、
前記通信手段を介してウェブサーバにアクセスしてウェブページを前記表示手段に表示し、データを共有する旨の入力と、前記コンピュータが読み取る他のプログラムの選択の入力とに応じて、アクセスしている前記ウェブページを特定する第1文字列を含んだテキストデータを出力する表示制御手段と、
を備えた端末装置の制御方法であって、
前記表示制御手段から出力された前記テキストデータを受け取り、受け取った前記テキストデータに、前記第1文字列と、前記第1文字列以外の文字列である第2文字列とが含まれていると判断される場合に、当該第1文字列に対応する前記ウェブページに前記通信手段を介してアクセスして、前記ウェブページに対応する印刷データを生成する第1処理の実行命令の入力受け付けに関連する第1画像を前記表示手段に表示するとともに、前記第2文字列に対応する印刷データを生成する第2処理の実行命令の入力受け付けに関連する第2画像を前記表示手段に表示する印刷データ生成手段ステップを備えることを特徴とする端末装置の制御方法。
Communication means;
Display means;
The web server is accessed via the communication means, the web page is displayed on the display means, and accessed according to the input for sharing the data and the input for selecting another program to be read by the computer. Display control means for outputting text data including a first character string that identifies the web page,
A terminal device control method comprising:
The text data output from the display control means is received, and the received text data includes the first character string and a second character string that is a character string other than the first character string. If it is determined, the web page corresponding to the first character string is accessed via the communication means and related to accepting an input of an execution instruction of the first process for generating print data corresponding to the web page Print data for displaying on the display means a second image related to receiving an input of an execution command for a second process for generating print data corresponding to the second character string, while displaying the first image to be displayed on the display means A control method for a terminal device, comprising a generation means step.
プログラムを読み取ることで各手段として機能するコンピュータと、
通信手段と、
表示手段と、
前記通信手段を介してウェブサーバにアクセスしてウェブページを前記表示手段に表示し、データを共有する旨の入力と、前記コンピュータが読み取る他のプログラムの選択の入力とに応じて、アクセスしている前記ウェブページを特定する第1文字列を含んだテキストデータを出力する表示制御手段と、
前記表示制御手段から出力された前記テキストデータを受け取り、受け取った前記テキストデータに、前記第1文字列と、前記第1文字列以外の文字列である第2文字列とが含まれていると判断される場合に、当該第1文字列に対応する前記ウェブページに前記通信手段を介してアクセスして、前記ウェブページに対応する印刷データを生成する第1処理の実行命令の入力受け付けに関連する第1画像を前記表示手段に表示するとともに、前記第2文字列に対応する印刷データを生成する第2処理の実行命令の入力受け付けに関連する第2画像を前記表示手段に表示する印刷データ生成手段と、
を備えることを特徴とする端末装置。
A computer that functions as each means by reading a program;
Communication means;
Display means;
The web server is accessed via the communication means, the web page is displayed on the display means, and accessed according to the input for sharing the data and the input for selecting another program to be read by the computer. Display control means for outputting text data including a first character string that identifies the web page,
The text data output from the display control means is received, and the received text data includes the first character string and a second character string that is a character string other than the first character string. If it is determined, the web page corresponding to the first character string is accessed via the communication means and related to accepting an input of an execution instruction of the first process for generating print data corresponding to the web page Print data for displaying on the display means a second image related to receiving an input of an execution command for a second process for generating print data corresponding to the second character string, while displaying the first image to be displayed on the display means Generating means;
A terminal device comprising:
JP2011284411A 2011-12-26 2011-12-26 Print data generation program, terminal device, and control method of terminal device Active JP5838795B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011284411A JP5838795B2 (en) 2011-12-26 2011-12-26 Print data generation program, terminal device, and control method of terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011284411A JP5838795B2 (en) 2011-12-26 2011-12-26 Print data generation program, terminal device, and control method of terminal device

Publications (2)

Publication Number Publication Date
JP2013134618A JP2013134618A (en) 2013-07-08
JP5838795B2 true JP5838795B2 (en) 2016-01-06

Family

ID=48911267

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011284411A Active JP5838795B2 (en) 2011-12-26 2011-12-26 Print data generation program, terminal device, and control method of terminal device

Country Status (1)

Country Link
JP (1) JP5838795B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6451053B2 (en) * 2014-01-22 2019-01-16 ブラザー工業株式会社 Information processing program, information processing apparatus, and information processing apparatus control method
JP6458427B2 (en) 2014-09-29 2019-01-30 ブラザー工業株式会社 Information processing apparatus, recording system, and program
JP6507614B2 (en) 2014-12-11 2019-05-08 ブラザー工業株式会社 INFORMATION PROCESSING APPARATUS, RECORDING SYSTEM, PRINT PROGRAM, AND EXTERNAL PROGRAM
JP6677335B2 (en) * 2019-04-26 2020-04-08 ブラザー工業株式会社 Mobile terminal, content designation program, and output program
JP6835274B2 (en) * 2020-03-13 2021-02-24 ブラザー工業株式会社 Starter program and terminal device
JP7070728B2 (en) * 2021-02-03 2022-05-18 ブラザー工業株式会社 Startup source program and terminal device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004175020A (en) * 2002-11-28 2004-06-24 Canon Inc Image forming device
JP2005258938A (en) * 2004-03-12 2005-09-22 Nec Mobiling Ltd System and method for processing print information
JP2007018287A (en) * 2005-07-07 2007-01-25 Ricoh Co Ltd Web page printing support device, web page printing support method, program and web page printing support system

Also Published As

Publication number Publication date
JP2013134618A (en) 2013-07-08

Similar Documents

Publication Publication Date Title
JP6210130B2 (en) Relay device, relay system, and relay method
US9699332B2 (en) Information providing apparatus, terminal device, information providing system, and computer readable medium
US8896859B2 (en) Printer and scanner utilizing a file sharing protocol
US8717608B2 (en) Terminal device and method generating print data based on one set of web-page information
JP5838795B2 (en) Print data generation program, terminal device, and control method of terminal device
JP4645833B2 (en) Image forming apparatus, image forming program, and image forming system
JP5299386B2 (en) Print data generation program, terminal device, and control method of terminal device
US9160873B2 (en) Information processing system controlling image processing apparatus to display screen information, control method therefor, external control apparatus, information provision apparatus, image processing apparatus, and storage medium storing program
JP5927950B2 (en) Control device
JP2011128814A (en) Information processing apparatus, control method of the same and program
JP2017201491A (en) Printing system, printing management server, communication relay device, and program
JP6190207B2 (en) System, information processing method, processing apparatus, processing method, and program
JP5754904B2 (en) Printing apparatus, printing apparatus control method, and program
JP5900013B2 (en) Information processing apparatus, file processing method, and program
JP6631491B2 (en) Image forming system, image forming apparatus, server, and information processing method
JP4702439B2 (en) Content display system
JP6397168B2 (en) Image processing apparatus, image processing apparatus control method, and program
JP2011242967A (en) Printing control program, information processing device, computer readable recording medium, printing system, and printer
JP5619245B2 (en) Information processing apparatus, information processing apparatus control method, and program
US8537389B2 (en) DLNA device and image forming method thereof
JP5304806B2 (en) Image processing program, image processing method, and image processing apparatus
JP6582860B2 (en) Device control system, device, server, and device control method
JP2015091096A (en) Print controller, control method of print controller, and program
US20120229849A1 (en) Client apparatus and control method thereof
JP6197912B2 (en) Control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141110

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150930

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: 20151013

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151026

R150 Certificate of patent or registration of utility model

Ref document number: 5838795

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150