1. Field of the Invention
The present invention relates to a data processing system, a data processing apparatus, a data processing method, an information processing apparatus, an information processing method, and a storage medium.
2. Description of the Related Art
When a user wishes to print data from an application program open on an information processing apparatus such as a personal computer (PC), the user confirms whether the data to be printed is the desired data. An example of a technique for the user to confirm this is to have the user specify the desired data and make the information processing apparatus display an image of the page specified by the user (e.g. Japanese Patent Application Laid-Open No. 2003-177905).
Further, when the user wishes to process data of the application program open on the information processing apparatus with a data processing apparatus, the user will want to confirm whether the data to be processed by the data processing apparatus is the desired data. For example, before the data processing apparatus processes that data, the user will want to preview an image that shows the data on a display unit of the data processing apparatus.
However, if the data processing apparatus receives the application program data from the information processing apparatus, and processes that data from the top page, unnecessary data processing is performed. Further, if the data processing apparatus receives the application program data from the information processing apparatus, and displays an image showing that data from the top page, it is difficult for the user to confirm whether that data is the desired data or not. For the user, displaying an image of the same page as the page opened by the application program allows the user to more easily determine whether that data is the desired data.
According to an aspect of the present invention, a data processing apparatus, capable of communicating with an information processing apparatus, comprises a receiving unit configured to receive data of an application program that is running on the information processing apparatus, and a page number of a page that is opened by the application program from the information processing apparatus, a display unit configured to display an image of a page corresponding to the page number received by the receiving unit from among the data received by the receiving unit, and a data processing unit configured to, after the image is displayed by the display unit, process data received by the receiving unit. According to an aspect of the present invention, an information processing apparatus, capable of communicating with a data processing apparatus, comprises a first specifying unit configured to specify an application program running on the information processing apparatus, a second specifying unit configured to specify a page that is opened by the application program from among data of the application program running on the information processing apparatus, and a sending unit configured to send to the data processing apparatus data corresponding to the page specified by the second specifying unit from among the data of the application program specified by the first specifying unit.
Further features and aspects of the present invention will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the invention and, together with the description, serve to explain the principles of the invention.
Various exemplary embodiments, features, and aspects of the invention will be described in detail below with reference to the drawings.
Recently, many workplaces have introduced a “free seating” type office, in which individuals do not have a fixed seating position, but use any available free seat. The merits of this type of office are that a person can only hold the minimum required amount of materials as they cannot keep materials at their own desk, and that space can be saved.
Each person is given a laptop PC, and paper materials are computerized as much as possible. Accordingly, each person can access the computerized materials from any seat via a network.
On the other hand, in this type of office, since the user's seat is not fixed, the data processing apparatus used by the user is also not fixed. When the user wishes to print a material, it is desirable that the user can simply perform the printing operation just by placing his/her laptop PC at a predetermined location for the printer. Especially, when printing data that is currently used by an application program open on the laptop PC, it is desirable that the user can print the data by a very intuitive operation.
Accordingly, an example will now be described in which the data processing apparatus processes data from an application program just by the user placing the information processing apparatus at a predetermined location to the data processing apparatus.
The data processing apparatus 100 includes a communication unit 110 and an operation unit 111. The communication unit 110 is for communicating with an external apparatus, such as a digital camera, mobile phone, and a laptop PC. Similar to the data processing apparatus 100, the information processing apparatus 150 also includes a communication unit (not illustrated). Communication between the data processing apparatus 100 and the information processing apparatus 150 may be performed by wireless communication or by wired communication. However, in the present exemplary embodiment, an example of wireless communication which enables intuitive connection for the user will be described.
Communication between the data processing apparatus 100 and the information processing apparatus 150 is enabled by the user holding the information processing apparatus 150 in his/her hands and approaching the communication unit 110.
The operation unit 111 is configured from a touch panel and keys. The operation unit 111 displays an operation screen, and receives instructions from the user. Further, the operation unit 111 also displays a status screen that shows the state of the data processing apparatus 100, and a preview screen for previewing an image that shows the image data.
A central processing unit (CPU) 200 controls operation of the data processing apparatus 100 based on a program read from a read-only memory (ROM) 206. For example, the CPU 200 controls operation of the data processing apparatus 100 to write data into a storage unit, such as a random access memory (RAM) 203 and a hard disk drive (HDD) (not illustrated), and to read data from the storage unit based on the read program.
The operation unit 111 is configured from a setting unit 201 and a display unit 202. The setting unit 201 is configured from hard keys and a liquid crystal touch panel. The setting unit 201 receives key inputs from the user. The display unit 202 is a liquid crystal panel or the like. The display unit 202 displays various operation screens, and a preview image generated by a preview image generation unit 204. A setting unit 201 and the display unit 202 may be provided as a single integrated liquid crystal touch panel, or may be provided separately.
The RAM 203 is used as a work area of the CPU 200 and as an area for storing image data.
The communication unit 110 detects that information processing apparatus 150 has approached, and transmits control data and image data to the information processing apparatus 150.
The preview image generation unit 204 generates preview image data based on the image data received from the information processing apparatus 150. The method for generating the preview image data will be described below. An image processing unit 205 performs image processing on image data received from a scanner engine (not illustrated) and on the data to be printed. A printing unit 208 prints an image based on the image data generated by the image processing unit 205.
A communication medium 207 is a close range wireless communication medium. However, the communication medium 207 may also be a wired communication medium, such as a universal serial bus (USB) or a local area network (LAN).
A CPU 250 controls operation of the information processing apparatus 150 based on a program read from a ROM 252. For example, the CPU 250 controls operation of the information processing apparatus 150 to write data into a storage unit, such as a RAM 251 and a hard disk drive (HDD) (not illustrated), and to read data from the storage unit based on the read program. The RAM 251 is used as a work area of the CPU 250 and as an area for storing image data.
A display unit 253 is a display device or the like, which displays various application program screens. An operation unit 254 is a device such as a keyboard or a mouse, which receives key inputs from the user. A communication unit 225 transmits and receives control data and image data with the data processing apparatus 100.
A communication negotiation unit 301 executes negotiation for establishing a communication connection with the data processing apparatus 100. An application selection unit 302 selects the application program that will serve as a preview target.
A page number acquisition unit 303 acquires, from among the application data opened by the application program, the page number of the page that is opened by the application program. Depending on the type of application program, the application data may be a document, a table, or a diagram.
A sending unit 304 sends the application data that is opened by the application program and the page number of the page that is opened by the application program to the data processing apparatus 100.
In step S400, the information processing apparatus 150 determines whether the data processing apparatus 100 is placed on the communication unit 110. If it is determined that the data processing apparatus 100 is placed on the communication unit 110 (YES in step S400), the processing proceeds to step S401. In step S401, the information processing apparatus 150 performs negotiation for establishing a communication connection with the data processing apparatus 100. This corresponds to the operation performed by the communication negotiation unit 301.
When the information processing apparatus 150 is placed on the communication unit 110, the information processing apparatus 150 sends a connection request to the data processing apparatus 100. The sending of a connection request is repeated until there is a response from the data processing apparatus 100. When the data processing apparatus 100 receives a connection request from the information processing apparatus 150, the data processing apparatus 100 sends a response indicating recognition of the connection request (connection request acknowledgement) to the information processing apparatus 150.
When the information processing apparatus 150 receives a connection request acknowledgement from the data processing apparatus 100, the information processing apparatus 150 sends a response indicating connection recognition (connection acknowledgement) to the data processing apparatus 100. Consequently, a communication connection between the data processing apparatus 100 and the information processing apparatus 150 is established.
In step S402, the information processing apparatus 150 determines whether there is an application program that is open on the information processing apparatus 150. If it is determined that there is an open application program (YES in step S402), the processing proceeds to step S403.
In step S403, the information processing apparatus 150 selects one application program from among a plurality of application programs operating in the information processing apparatus 150, and sets the selected program as the preview target application program. This corresponds to the operation performed by the application selection unit 302.
The method for selecting the application program will now be described referring to
In
Even if the window of application program A is not selected, since only the application program A is opened, the application selection unit 302 selects the application program A.
In this case, the application selection unit 302 preferentially selects the application program that is selected by the user from among the plurality of open application programs. More specifically, the application selection unit 302 selects the application program A.
In
In step S404, the information processing apparatus 150 acquires the page number of the page that is currently opened by the application program from among the application data currently opened by the application program selected in step S403. This corresponds to the operation performed by the page number acquisition unit 303.
In step S405, the information processing apparatus 150 sends the application data that is currently being used by the application program selected in step S403 and the page number acquired in step S404 to the data processing apparatus 100. This corresponds to the operation performed by the sending unit 304.
A printer driver, which generates the image data for printing based on the application data, is usually installed on the information processing apparatus 150 side. However, in the present exemplary embodiment, the printer driver is also installed on the data processing apparatus 100 side.
Consequently, even when the user has not installed the printer driver on the information processing apparatus 150, processing such as printing is executed by the printer driver of the data processing apparatus 100 by placing the information processing apparatus 150 on the communication unit 110. Therefore, in the present exemplary embodiment, the application data is sent from the information processing apparatus 150 to the data processing apparatus 100 along with the page number of the page opened by the application program.
Next, the data processing executed by the data processing apparatus 100, which has received the application data and the page number, will be described.
In step S700, the data processing apparatus 100 receives the application data and the page number from the information processing apparatus 150.
In step S701, the data processing apparatus 100 generates preview image data in the preview image generation unit 204 based on the application data received in step S700, and displays a preview image showing the generated preview image data on the display unit 202. In this processing, the preview image generation unit 204, first, generates preview image data for the page of the received page number, and then generates preview image data of the pages before and after that page in order of closeness.
For example, if page 45 is currently opened, the preview image generation unit 204 generates preview image data in the order of page 45, page 44, page 46, page 43, page 47 and so on. This is because the chance that the currently opened page or vicinity thereof will be printed is high.
Then, the data processing apparatus 100 displays the preview image of the page corresponding to the page number received in step S700 on the display unit 202. Since a preview image of the same page that is opened by the application of the information processing apparatus 150 is displayed on the display unit 202, the user can easily confirm whether the preview image data is the desired data.
When the user presses the box key 809, the data processing apparatus 100 stores application data received from the information processing apparatus 150 in a storage unit such as a HDD. When the user presses the transfer key 810, the data processing apparatus 100 transfers the application data to a predetermined file server and the like by using file transfer protocol (FTP).
When the user presses the print key 804, the data processing apparatus 100 displays an “all” key 805, a “current page” key 806, a “page selection” key 807, and a property key 808 on the display unit 202.
For the processing from step S702 and subsequent steps, the description will be based on the assumption that the print key 804 is pressed.
In step S702, the data processing apparatus 100 determines whether the “current page” key 806 is pressed. If it is determined that the “current page” key 806 is pressed (YES in step S702), the processing proceeds to step S703.
In step S703, the data processing apparatus 100 prints only the page displayed by the preview image in the middle of the display unit 202. More specifically, the image processing unit 205 performs image processing for printing on the portion of the relevant page from among the application data, and the printing unit 208 prints an image based on the thus-generated image data.
When the “current page” key 806 is pressed, if the generation of preview images for all of the pages is not yet finished, the preview image generation unit 204 does not have to generate preview image data for the subsequent preview images.
In step S704, the data processing apparatus 100 determines whether the “all” key 805 is pressed. If it is determined that the “all” key 805 is pressed (YES in step S704), the processing proceeds to step S705. In step S705, the data processing apparatus 100 prints all of the pages. The image processing unit 205 performs image processing for printing all the pages of the application data, and the printing unit 208 prints an image based on the thus-generated image data.
When the “all” key 805 is pressed, even if the generation of preview images for all of the pages is not yet finished, the preview image generation unit 204 does not have to generate preview image data for the subsequent preview images.
In step S706, the data processing apparatus 100 determines whether the “page selection” key 807 is pressed. If it is determined that the “page selection” key 807 was pressed (YES in step S706), the processing proceeds to step S707.
In step S707, the data processing apparatus 100 displays an image for specifying a page on the display unit 202, and also displays a preview image of the page specified by the user on the display unit 202.
On the other hand, when the CPU 200 detects that the user has touched a portion corresponding to region 902, the CPU 200 displays the preview image of the next page on the display unit 202.
Once the user determines the top page, he/she presses the “enter” key 905. Next, the data processing apparatus 100 displays an image for specifying the final page on the display unit 202.
In step S708, the data processing apparatus 100 determines whether an “enter” key 1101 is pressed. If it is determined that the “enter” key 1101 is pressed (YES in step S708), the processing proceeds to step S709.
In step S709, the data processing apparatus 100 prints the page specified by the user. The image processing unit 205 performs image processing for printing on the portion of the page specified by the user from among the application data, and the printing unit 208 prints an image based on the thus-generated image data.
If the user utilizes a printer driver, to confirm the page that he/she wishes to print, conventionally it has been necessary to temporarily close the printer driver screen, and again confirm the page on the application program screen. Based on the above-described data processing, the user can specify the page he/she wishes to print while confirming the preview image on the display unit 202 of the data processing apparatus 100.
In
Further, if the user specifies a page that is very far away from the page displayed by the preview image, the preview image generation unit 204 may not yet be able to generate the preview image data of that specified page. In such a case, first, the preview image generation unit 204 generates the preview image data of the specified page, and then returns to the order that had been generated until that point, and generates the preview image data for the subsequent pages.
In step S710, the data processing apparatus 100 determines that the property key 808 has been pressed. Then, in step S711, the data processing apparatus 100 displays a setting screen for the user to specify two-sided printing and select the image quality. The user then specifies the desired print setting.
Although the description of the processing from step S702 and the subsequent steps are performed based on the assumption that the print key 804 has been pressed, similar processing is performed if the transfer key 810 is pressed. In this case, while displaying on the display unit 202 the preview image of the page desired by the user, the data processing apparatus 100 stores the data corresponding to the page desired by the user in a storage unit such as a HDD, or transfers the data to a predetermined file server and the like by file transfer protocol (FTP).
In
In this case, the data processing apparatus 100 extracts the data corresponding to the page with the received page number from the application data, performs image processing for printing on the extracted data, and prints an image based on the thus-generated image data.
In
In such a case, the information processing apparatus 150 extracts the portion corresponding to the page number acquired in step S404 from the application data currently being used by the application selected in step S403, and sends the extracted data to the data processing apparatus 100. Consequently, the data processing apparatus 100 can display a preview image corresponding to only the currently opened page, and print only the currently opened page.
Thus, as described above, the user can intuitively perform processing, such as printing, relating to an application program open on the information processing apparatus 150 just by placing the information processing apparatus 150 on the communication unit 110. At this time, by confirming the preview image, the user can confirm whether the preview image data is the desired application data. Further, the user can confirm a preview image of each page while advancing through the pages, and specify the page that he/she wishes to perform printing or other such processing.
According to the present invention, an image indicated by data can be displayed by a display unit of a data processing apparatus so that the user can easily confirm whether the data that is about to be processed by the data processing apparatus is the desired data.
Aspects of the present invention can also be realized by a computer of a system or apparatus (or devices such as a CPU or MPU) that reads out and executes a program recorded on a memory device to perform the functions of the above-described embodiments, and by a method, the steps of which are performed by a computer of a system or apparatus by, for example, reading out and executing a program recorded on a memory device to perform the functions of the above-described embodiments. For this purpose, the program is provided to the computer for example via a network or from a recording medium of various types serving as the memory device (e.g., computer-readable medium). In such a case, the system or apparatus, and the recording medium where the program is stored, are included as being within the scope of the present invention.
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all modifications, equivalent structures, and functions.
This application claims priority from Japanese Patent Application No. 2009-284566 filed Dec. 15, 2009, which is hereby incorporated by reference herein in its entirety.
| Number | Date | Country | Kind |
|---|---|---|---|
| 2009-284566 | Dec 2009 | JP | national |