1. Field of the Invention
The present invention relates to a system, a control method therefor and an image processing apparatus.
2. Description of the Related Art
Some image forming apparatuses have a main body thereof equipped with only LEDs and operation keys without a display panel such as a liquid crystal panel. For such an image forming apparatus, a display of a host computer (hereafter referred to as a “host PC”) that operates the image forming apparatus is provided with a means for displaying a status of the image forming apparatus.
For example, there is known a method using a Web browser-based application that displays, on a Web browser operating on a host PC, information held in an image forming apparatus. According to this method, when HTML information generated by the image forming apparatus is sent to the host PC or the like, a status of the image forming apparatus is displayed on the Web browser operating on the host PC. A user can, for example, perform operations on the image forming apparatus (operations on a job being currently executed) through the Web browser.
There is known another method in which operations on an image forming apparatus are performed and function settings on an image forming apparatus are configured from a user interface (UI) application that operates on a host PC independently of a Web browser-based application. The UI application is a utility application that is installed in the host PC together with drivers for the image forming apparatus. Thus, by starting the UI application on the host PC, operations on an image forming apparatus are performed and function settings on an image forming apparatus can be configured through the UI application without requiring log-in operations.
Here, an image forming apparatus is provided with various functions, but some of the functions may be required to restrict users. Particularly, in recent years, a utilization form in which an image forming apparatus is shared by a plurality of users has been becoming widespread, and accordingly, there has been an increasing demand for establishing an environment in which conditions for use of an image forming apparatus can be managed on a user-by-user basis.
However, although the conventional Web browser-based application and UI application described above can perform operations on an image forming apparatus and configure function settings on the image forming apparatus, they do not set conditions for use of the image forming apparatus with respect to each administrator or user. For this reason, there has been proposed a method in which a server connected to an image forming apparatus manages conditions for use of the image forming apparatus with respect to each administrator or user (see Japanese Laid-Open Patent Publication (Kokai) No. H09-130532).
However, the method described in Japanese Laid-Open Patent Publication (Kokai) No. H09-130532 has a problem that an administrator of the image forming apparatus is required to, on a user-by-user basis, set conditions for permission to use the image forming apparatus with respect to specific functions offered by the image forming apparatus, and hence it takes a lot of time and effort to manage and use user accounts.
The present invention provides a system that enhance operability and convenience when use of specific functions is desired, a control method therefor and an image processing apparatus.
Accordingly, a first aspect of the present invention provides a system, comprising an image forming apparatus, and at least one image processing apparatus configured to be connected to the image forming apparatus and in which a first application and a second application that can issue an operating instruction to the image forming apparatus are installed, wherein the image forming apparatus comprises a holding unit that holds information on an image processing apparatus which has been shifted to a mode in which the first application can carry out a predetermined operation to the image forming apparatus among the at least one image processing apparatus while the image processing apparatus is shifted to the mode, and wherein the at least one image processing apparatus comprises a first obtaining unit that obtains information as to whether a process corresponding to a predetermined operation instruction is disabled in the image forming apparatus, a second obtaining unit that obtains, in a case where the first obtaining unit obtains the information indicative of execution of the process corresponding to the predetermined operation instruction being disabled when the second application issues the predetermined operation instruction to the image forming apparatus, the information on the image processing apparatus which is held by the holding unit of the image forming apparatus, and a control unit that determines whether the predetermined operation instruction to the image forming apparatus by the second application is enabled based on the information obtained by the second obtaining unit.
Accordingly, a second aspect of the present invention provides a control method for a system comprising an image forming apparatus and at least one image processing apparatus configured to be connected to the image forming apparatus and in which a first application and a second application that can issue an operating instruction to the image forming apparatus are installed, the method comprising a holding step of holding in the image forming apparatus information on an image processing apparatus which has been shifted to a mode in which the first application can carry out a predetermined operation to the image forming apparatus among the at least one image processing apparatus while the image processing apparatus is shifted to the mode, and a first obtaining step of obtaining information as to whether a process corresponding to a predetermined operation instruction by the second application is disabled in the image forming apparatus, a second obtaining step of, in a case where the information indicative of execution of the process corresponding to the predetermined operation instruction being disabled is obtained in the first obtaining step when the second application issues the predetermined operation instruction to the image forming apparatus, obtaining the information held in the image forming apparatus in the holding step, and a control step of determining whether the predetermined operation instruction to the image forming apparatus by the second application is enabled based on the information obtained in the second obtaining step.
Accordingly, a third aspect of the present invention provides an image processing apparatus that is connected to an image forming apparatus and in which a first application and a second application that can issue an operating instruction to the image forming apparatus are installed, comprising an obtaining unit configured to obtain from the image forming apparatus information as to whether a process corresponding to a predetermined operation instruction is disabled in the image forming apparatus, and a control unit configured to, in a case where the obtaining unit has been obtained the information indicating that the process corresponding to the predetermined operation instruction is disabled, enables the predetermined operation instruction to the image forming apparatus by the second application when the first application is in a mode in which the first application can carry out a predetermined operation to the image forming apparatus, and disables the predetermined operation instruction to the image forming apparatus by the second application when the first application is not in the mode.
According to the present invention, operability and convenience can be enhanced when use of specific functions offered by the image forming apparatus is desired, such as functions requiring authorization and functions for which usage is limited, is desired.
Further features of the present invention will become apparent from the following description of exemplary embodiments (with reference to the attached drawings).
The present invention will now be described with reference to the drawings showing embodiments thereof.
The operation system in
A remote user interface (hereafter referred to as a “RUI”) that is a Web browser (first application), which is a Web-based application capable of giving operating instructions to the printer 102, is installed and available in each host PC 101. Also, a status window, which is a UI application (second application) capable of issuing operational instructions to the printer 102, is installed and available in each host PC 101. The RUI and the status window are independent applications, and they need to be launched individually.
It should be noted that an exemplary UI screen of the RUI will be described later with reference to
A keyboard I/F 205 controls key input from a keyboard 210. A display I/F 206 controls a display 211. A disk controller 207 controls access to the HDD 212. A network interface card (NIC) 208 carries out two-way communications with other equipment. A USB I/F 209 allows connection with a USB device. These devices are placed on a system bus 204.
Image data to be printed sent from the host PC 101 is output to a printing unit 308 via a printing unit I/F 306. An operation unit 307 has switches, LED display, and so on for operation on an operation panel. An NVMEM 309, which is a nonvolatile memory, in which setting information such as a password, to be described later, is stored. A LAN I/F 310 allows LAN connection with the host PC 101. A USB I/F 311 allows USB connection with the host PC 101. These devices are placed on a system bus 304.
The RUI 401 has a function of enabling a user to log in as an administrator by inputting a user name and a password. This function will be described later in detail with reference to
As will be described later in detail with reference to
User information 403, to be described later with reference to
When the user 104 inputs a user name and a password in a user name input field 501a and a password input field 501b, respectively, on the login screen 500 and depresses an administrator login button 502a, the input user name and password are sent to the printer 102. In the printer 102, the received user name and password are collated with a user name and a password included in setting information stored in the NVMEM 309 to determine whether or not the user 104 matches an administrator, and when it is determined that the user 104 matches an administrator, he or she is permitted to log in as an administrator. In this way, the RUI 401 shifts into an administrator mode.
On the other hand, to log in as a general user other than an administrator, the user 104 should depress a general user login button 502b without inputting a user name and a password, and as a result, he or she is permitted to log in as a general user. In this way, the RUI 401 shifts into a general user mode.
It should be noted that whether the user 104 logs in as either an administrator or a general user via login screen 500, the RUI 401 sends a PC name and an IP address of the host PC 101 on which the RUI 401 is launched. The printer 102 holds the received PC name and IP address as user information 403 in the NVMEM 309 until the printer 102 receives a logout signal from the host PC 101.
Because the RUI 401 is a Web browser-based application as described earlier, it receives HTML data or the like created by the printer 102 and displays a status of the printer 102 on a Web browser.
In a status display field 503, a current status of the printer 102, sheet feed information, toner information, and so on are displayed. When a job list button 504 is depressed, a current job list 505 for the printer 102 is displayed in the status display field 503. By selecting a job displayed in the current job list 505, the user 104 who has logged in as an administrator can request the printer 102 to perform a predetermined operation such as cancellation. For example, when a job is selected, a transition to a screen on which more detailed information on the selected job (the number of pages, time of job input, user name, and so on) is displayed takes place, and on this screen, the job can be cancelled, for example.
In the present embodiment, a job operation disable setting button 506 is displayed on only the administrator mode screen 510, and a user who has logged in an administrator (that is, a user who is authorized as an administrator) can depress the job operation disable setting button 506. Namely, in the present embodiment, as a specific operation that cannot be performed in the general user mode, a setting to disable job operation on the printer 102 can be made in the administrator mode. When the job operation disable setting button 506 is depressed, this command is sent to the printer 102, and the CPU 301 of the printer 102 sets a job operation disable flag in the NVMEM 309.
When job operations are disabled, for example, characters and a background in the job operation disable setting button 506 are reversed (characters are outlined on a colored background) to make the user who has logged in as an administrator recognize that job operations are disabled. On the other hand, when job operations are not disabled, for example, a background in the job operation disable setting button 506 is turned into colorless to make the user who has logged in as an administrator recognize that job operations are not disabled.
It should be noted that on a general user mode screen (not shown) displayed when the user 104 logs in as a general user, the “job operation disable setting button 506” is not displayed. Namely, in the present embodiment, a difference between the administrator mode screen 510 and the general user mode screen is in whether or not the “job operation disable setting button 506” is displayed. Thus, a user who has logged in as a general user is not authorized to disable job operations in the printer 102.
The UI screen of the status window 402 is displayed based on information such as commands sent and received to and from the printer 102 by the status window 402. A current status of the printer 102 is displayed in a status display field 602. A list of print jobs sent to the printer 102 (in the present embodiment, a job 1604, a job 2605, and a job 3606), the number of print pages, and so on are displayed in the job list 603.
When the job operation disable setting on the RUI 401 is not enabled, the user can cancel a desired one of the jobs 604 to 606, which are displayed in the job list 603, by depressing a job cancel button 607. Even when the job operation disable setting on the RUI 401 is enabled, the user can cancel execution of a desired job by depressing the job cancel button 607 of the status window 402 as long as predetermined conditions are satisfied. The “predetermined conditions” will be described later in detail with reference to
It should be noted that there may be cases where, when execution of job cancellation from the status window 402 is disabled, the user would like to cancel a job by logging in on the RUI 401 as an administrator. In this case, by depressing an option button 601 of the status window 402, the login screen 500 of the RUI 401 is opened.
A user name and password 704 included in the setting information is identification information on the user, which is held in advance in the printer 102 and used for authentication when the user logs in as an administrator from the login screen 500. A job operation setting 705 is information indicative of whether it is possible to perform operations on jobs in the printer 102, and for example, information indicative of “job operations enabled” and “job operations disabled” is held.
When “job operations enabled” is set, the user can perform job operations such as a job cancellation from either the RUI 401 or the status window 402. In the present embodiment, even when “job operations disabled” is set, the user can perform job operations from the RUI 401 as long as he or she has successfully logged in as an administrator from the RUI 401.
The CPU 301 of the printer 102 performs authentication by collating the received user name and password with a user name and a password held as setting information (step S803). When authentication is successful, the CPU 301 of the printer 102 holds, as the user information 403, the PC name and the IP address of the host PC 101 on which the RUI 401 that has sent the user name and the password is operating (step S804). Then, the CPU 301 of the printer 102 notifies the RUI 401 that the user 104 has successfully logged in as an administrator (step S805). In response to the notification in the step S805, the RUI 401 displays the administrator mode screen 510 (step S806).
The user 104 starts the status window 402 and requests a job operation via the status window 402 (step S807). In the present embodiment, a “job operation” corresponds to selecting a predetermined job and then depressing the job cancel button 607.
According to predetermined conditions, the status window 402 determines whether or not job operations are disabled (step S808). The “predetermined conditions” will be described later with reference to
When job operations are not disabled, the status window 402 requests the printer 102 to perform the job operation (step S809), and in response to the job operation request, the printer 102 performs the job operation as requested (step S810). Thereafter, the printer 102 provides the status window 402 with notification of completion in response to the job operation request (step S811). The UI screen of the status window 402 is updated in accordance with the received notice of completion to notify the user that the job operation has been performed (step S812).
Then, the RUI 401 receives a result of authentication by the printer 102 and determines whether or not authentication is successful (step S902). Specifically, in the step S902, the RUI 401 determines whether or not to permit shifting into the administrator mode in which an instruction to perform a specific operation is allowed to be issued to the printer 102.
When authentication is successful (YES in the step S902), the RUI 401 shifts into the administrator mode to display the administrator mode screen 510 (step S903) and terminates the process. On the other hand, authentication is not successful (NO in the step S902), the RUI 401 displays a message saying that authentication is not successful (for example, “incorrect user name or password”) (step S904) and returns control to the login screen 500 (step S905). As a result, the RUI 401 prompts the user to input a user name and a password again on the login screen 500 and log in as an administrator.
When launched on a predetermined host PC 101, the status window 402 queries the printer 102 as to details of the job operation setting 705 included in setting information held by the printer 102 and obtains a response to this (step S1001). Specifically, in the step S1001, the status window 402 acts as a first obtaining unit to query the printer 102 as to whether or not the job operation disable flag is set and obtain a response to this.
The status window 402 determines whether or not the job operation setting 705 is configured at “disabled” (whether or not the job operation disable flag is set) (step S1002). When the job operation setting 705 is not configured at “disabled” (NO in the step S1002), the status window 402 returns to the step S1001. Namely, the status window 402 monitors the job operation setting 705 included in the setting information held by the printer 102. Thus, an environmental change can be dealt with when a job operation disable setting is made from the RUI 401 launched on another host PC 101.
When the job operation setting 705 is configured at “disabled” (YES in the step S1002), the status window 402 acts as a second obtaining unit to obtain user information held by the printer 102 (step S1003). The user information obtained by the status window 402 in the step S1003 is comprised of a PC name and an IP address held as the PC name 702 and the IP address 703 which are elements of the user information 403.
Then, the status window 402 determines whether or not the user information obtained in the step S1003 (the PC name and the IP address) matches an environment of the host PC 101 on which the status window 402 is operating (step S1004). Namely, the status window 402 determines whether or not the user information obtained in the step S1003 is indicative of the host PC 101 on which the status window 402 is operating.
When the status window 402 determines that the user information obtained in the step S1003 matches the environment of the host PC 101 (YES in the step S1004), the status window 402 enables job operations from the status window 402 (step S1005). On the other hand, when the status window 402 determines that the user information obtained in the step S1003 does not match the environment of the host PC 101 (NO in the step S1004), the status window 402 disables job operations from the status window 402 (step S1006).
Concrete examples of the case where job operations are enabled include a case where a user starts the status window 402 on the host PC 101 in which the user has logged in as an administrator via the RUI 401. On the other hand, examples of the case where job operations are disabled include a case where the user information 403 in the printer 102 is null when the status window 402 obtains the user information 403 from the printer 102. Namely, examples of the case where job operation is disabled include a case where, even when the status window 402 is launched on the host PC 101 on which the RUI 401 has been launched, a user has already logged out of the RUI 401 when the status window 402 is launched. Examples of the case where job operations are disabled include another case where the status window 402 is launched on the host PC different from the host PC 101 on which the RUI 401 has been launched.
After carrying out the processes in the steps S1005 and S1006, the status window 402 returns to the step S1001.
Upon receiving a job operation from the user, the status window 402 determines whether or not job operations from the status window 402 are enabled according to whether or not the process has proceeded to the step S1005 or the step S1006 (step S1101).
When job operations from the status window 402 are not enabled (NO in the step S1101), no job operation can be accepted even when a job operation is requested (even when the job cancel button 607 is depressed). For example, the status window 402 makes the job cancel button 607 provide an indication of being disabled or displays a message saying, for example, that “job cancellation is disabled”, thus making the user recognize that no job operation can be accepted.
When job operations from the status window 402 are enabled (YES in the step S1101), the status window 402 notifies the printer 102 of the job operation (step S1102). Upon completing a process for the received job operation, the printer 102 sends a job operation completion notice to the status window 402 (see the step S811), and hence the status window 402 receives the job operation completion notice (step S1103). As a result, the UI screen of the status window 402 is updated so that the user can know that the job operation he or she had requested has been accepted and processed.
The CPU 301 performs authentication for the user 104, that is, determines whether or not the received user name and password are present in the stored user name and password 704 (step S1202). When authentication is successful, the CPU 301 notifies the RUI 401 that authentication is successful (step S1203) and holds, in the user information 403, the PC name and the IP address received in the step S1201 (step S1205). Namely, in the step S1205, the PC name and the IP address of the host PC 101 that has shifted into the administrator mode are held in the printer 102.
It should be noted that when the host PC 101 has logged out of the administrator mode, the PC name and the IP address held in the printer 102 are deleted. Namely, the printer 102 holds the PC name and the IP address of the host PC 101 only while the RUI 401 is held in the administrator mode.
When authentication is not successful (NO in the step S1202), the CPU 301 notifies the RUI 401 that authentication is not successful (step S1204). The user information 403 held in the step S1205 is used in the steps S1003 and S1004 of the flowchart in
Because the usability of the status window 402 is higher than that of the RUI 401, users would like to operate the printer 102 from the status window 402 in many cases. Conventionally, however, if the user 104 who has logged in on the RUI 401 as an administrator disables job operations on the printer 102, even an administrator cannot operate the printer 102 from the status window 402. This is because the status window 402 cannot discriminate between an administrator and general users other than the administrator.
On the other hand, in the operation system according to the first embodiment, even when the job operation setting 705 is configured at “disabled” in the printer 102, the user 104 can perform operations from the status window 402 as long as he or she has logged in on the RUI 401 as an administrator. Namely, the user 104 is allowed to perform operations, for which authority is required, on the printer 102 without the need to provide the status window 402 with a function of authenticating the user 104 as an administrator.
In the first embodiment, in the state where the job operation setting 705 is configured at “disabled”, the user 104 cannot request a job operation from the status window 402 unless he or she has logged in on the RUI 401 as an administrator. Accordingly, in the second embodiment, when job operations are disabled on the status window 402, a message prompting a user to log in on the RUI 401 as an administrator is displayed.
When job operations are not enabled (NO in the step S1401), the status window 402 displays on the UI screen thereof a message prompting a user to log in on the RUI 401 as an administrator (step S1404). Because as a result of the process in
In a third embodiment described hereafter, usage conditions of the printer 102 are managed on a division-by-division basis. Examples of a method to manage usage conditions of the printer 102 include a method that counts the total number of print pages on a division-by-division basis. According to this method, a user name (division name) and a password of each division are input before the start of printing, and then printing is started. On this occasion, which division is to perform printing can be ascertained based on the input division name and password, and hence the number of pages can be counted.
It should be noted that although in the third embodiment, a UI screen equivalent to the login screen 500 in
Then, the CPU 301 receives a printing request (step S1506). It should be noted that the printing request is issued by, for example, selecting a “print” command by various applications operating on the host PC 101. The CPU 301 compares the held user information 403 with the information (the PC name and the IP address) on the host PC 101 that has issued the printing request (step S1507).
When the user information 403 and the information on the host PC 101 do not mach each other (NO in the step S1507), the process is terminated without printing being performed. In this case, a message saying that printing will not be executed may be displayed. When the user information 403 and the information on the host PC 101 mach each other (YES in the step S1507), the CPU 301 performs printing and counts the number of pages (step S1508). After that, the CPU 301 notifies the host PC 101 that printing has been completed (step S1509) and terminates the process. Thus, to perform printing a plurality of times from the host PC 101 which a user has logged in on the RUI 401, there is no need to enter a division name and a password for the purpose of division-by-division management each time printing is performed, and hence, convenience for users can be enhanced.
In the first embodiment, after a user logs in as an administrator on the RUI 401, the printer 102 holds the user information 403, and the status window 402 determines whether or not it is possible to perform a job operation. On the other hand, after a user logs in as an administrator on the RUI 401, informant on the administrator may be held on the host PC 101, and the status window 402 may refer to the information to determine whether or not it is possible to perform a job operation. Moreover, although in the third embodiment, a division name and a password are entered on the RUI 401, the number of pages can be counted with respect to each division by performing authentication through only a password.
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 embodiment(s), 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 embodiment(s). 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).
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 such modifications and equivalent structures and functions.
This application claims the benefit of Japanese Patent Application No. 2012-038531 filed Feb. 24, 2012, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2012-038531 | Feb 2012 | JP | national |